!function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(n,s,function(t){return e[t]}.bind(null,s));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/app/themes/ve-uas-marques/dist/",i(i.s=72)}([function(e,t,i){"use strict";i.d(t,"a",(function(){return ea})),i.d(t,"b",(function(){return dr})),i.d(t,"c",(function(){return ue})),i.d(t,"d",(function(){return Pt})),i.d(t,"e",(function(){return Ft})),i.d(t,"f",(function(){return o})),i.d(t,"g",(function(){return K})),i.d(t,"h",(function(){return Ma})),i.d(t,"i",(function(){return a})),i.d(t,"j",(function(){return x})),i.d(t,"k",(function(){return oa})),i.d(t,"l",(function(){return er})),i.d(t,"m",(function(){return r})),i.d(t,"n",(function(){return Ws})),i.d(t,"o",(function(){return ua})),i.d(t,"p",(function(){return Ca})),i.d(t,"q",(function(){return ir})),i.d(t,"r",(function(){return sr})),i.d(t,"s",(function(){return Hr})),i.d(t,"t",(function(){return g})),i.d(t,"u",(function(){return v})),i.d(t,"v",(function(){return xr})),i.d(t,"w",(function(){return gr})),i.d(t,"x",(function(){return Er})),i.d(t,"y",(function(){return Mr})),i.d(t,"z",(function(){return p})),i.d(t,"A",(function(){return m})),i.d(t,"B",(function(){return f})),i.d(t,"C",(function(){return ra})),i.d(t,"D",(function(){return Ea})),i.d(t,"E",(function(){return n})),i.d(t,"F",(function(){return St})),i.d(t,"G",(function(){return z})),i.d(t,"H",(function(){return Be})),i.d(t,"I",(function(){return ni})),i.d(t,"J",(function(){return Mt})),i.d(t,"K",(function(){return Rr})),i.d(t,"L",(function(){return Dr})),i.d(t,"M",(function(){return c})),i.d(t,"N",(function(){return h})),i.d(t,"O",(function(){return u})),i.d(t,"P",(function(){return d})),i.d(t,"Q",(function(){return Yr})),i.d(t,"R",(function(){return dt})),i.d(t,"S",(function(){return Di})),i.d(t,"T",(function(){return di})),i.d(t,"U",(function(){return Ta})),i.d(t,"V",(function(){return Or})),i.d(t,"W",(function(){return Cr})),i.d(t,"X",(function(){return Oa})),i.d(t,"Y",(function(){return oe})),i.d(t,"Z",(function(){return Kr})),i.d(t,"ab",(function(){return l})),i.d(t,"bb",(function(){return tr})),i.d(t,"cb",(function(){return mr})),i.d(t,"db",(function(){return hr})),i.d(t,"eb",(function(){return Le})),i.d(t,"fb",(function(){return Ia})),i.d(t,"gb",(function(){return ya})),i.d(t,"hb",(function(){return s})),i.d(t,"ib",(function(){return w})),i.d(t,"jb",(function(){return ne})),i.d(t,"kb",(function(){return ha})),i.d(t,"lb",(function(){return _})),i.d(t,"mb",(function(){return y})),i.d(t,"nb",(function(){return N})),i.d(t,"ob",(function(){return ce})),i.d(t,"pb",(function(){return Qr})),i.d(t,"qb",(function(){return Qs})),i.d(t,"rb",(function(){return b}));
/**
 * @license
 * Copyright 2010-2022 Three.js Authors
 * SPDX-License-Identifier: MIT
 */
const n={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},s={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},r=0,a=2,l=1e3,o=1001,c=1002,h=1003,d=1004,u=1005,p=1006,f=1007,m=1008,g=2300,v=2301,y=1,_=2,b=3001,w=0;class x{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});const i=this._listeners;void 0===i[e]&&(i[e]=[]),-1===i[e].indexOf(t)&&i[e].push(t)}hasEventListener(e,t){if(void 0===this._listeners)return!1;const i=this._listeners;return void 0!==i[e]&&-1!==i[e].indexOf(t)}removeEventListener(e,t){if(void 0===this._listeners)return;const i=this._listeners[e];if(void 0!==i){const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}dispatchEvent(e){if(void 0===this._listeners)return;const t=this._listeners[e.type];if(void 0!==t){e.target=this;const i=t.slice(0);for(let t=0,n=i.length;t<n;t++)i[t].call(this,e);e.target=null}}}const T=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];let S=1234567;const M=Math.PI/180,E=180/Math.PI;function C(){const e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,i=4294967295*Math.random()|0,n=4294967295*Math.random()|0;return(T[255&e]+T[e>>8&255]+T[e>>16&255]+T[e>>24&255]+"-"+T[255&t]+T[t>>8&255]+"-"+T[t>>16&15|64]+T[t>>24&255]+"-"+T[63&i|128]+T[i>>8&255]+"-"+T[i>>16&255]+T[i>>24&255]+T[255&n]+T[n>>8&255]+T[n>>16&255]+T[n>>24&255]).toLowerCase()}function P(e,t,i){return Math.max(t,Math.min(i,e))}function k(e,t){return(e%t+t)%t}function A(e,t,i){return(1-i)*e+i*t}function L(e){return 0==(e&e-1)&&0!==e}function O(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))}function I(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))}function D(e,t){switch(t.constructor){case Float32Array:return e;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw new Error("Invalid component type.")}}function R(e,t){switch(t.constructor){case Float32Array:return e;case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw new Error("Invalid component type.")}}var z=Object.freeze({__proto__:null,DEG2RAD:M,RAD2DEG:E,generateUUID:C,clamp:P,euclideanModulo:k,mapLinear:function(e,t,i,n,s){return n+(e-t)*(s-n)/(i-t)},inverseLerp:function(e,t,i){return e!==t?(i-e)/(t-e):0},lerp:A,damp:function(e,t,i,n){return A(e,t,1-Math.exp(-i*n))},pingpong:function(e,t=1){return t-Math.abs(k(e,2*t)-t)},smoothstep:function(e,t,i){return e<=t?0:e>=i?1:(e=(e-t)/(i-t))*e*(3-2*e)},smootherstep:function(e,t,i){return e<=t?0:e>=i?1:(e=(e-t)/(i-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(S=e);let t=S+=1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296},degToRad:function(e){return e*M},radToDeg:function(e){return e*E},isPowerOfTwo:L,ceilPowerOfTwo:O,floorPowerOfTwo:I,setQuaternionFromProperEuler:function(e,t,i,n,s){const r=Math.cos,a=Math.sin,l=r(i/2),o=a(i/2),c=r((t+n)/2),h=a((t+n)/2),d=r((t-n)/2),u=a((t-n)/2),p=r((n-t)/2),f=a((n-t)/2);switch(s){case"XYX":e.set(l*h,o*d,o*u,l*c);break;case"YZY":e.set(o*u,l*h,o*d,l*c);break;case"ZXZ":e.set(o*d,o*u,l*h,l*c);break;case"XZX":e.set(l*h,o*f,o*p,l*c);break;case"YXY":e.set(o*p,l*h,o*f,l*c);break;case"ZYZ":e.set(o*f,o*p,l*h,l*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+s)}},normalize:R,denormalize:D});class N{constructor(e=0,t=0){N.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,i=this.y,n=e.elements;return this.x=n[0]*t+n[3]*i+n[6],this.y=n[1]*t+n[4]*i+n[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,i=this.y-e.y;return t*t+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const i=Math.cos(t),n=Math.sin(t),s=this.x-e.x,r=this.y-e.y;return this.x=s*i-r*n+e.x,this.y=s*n+r*i+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class ${constructor(){$.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(e,t,i,n,s,r,a,l,o){const c=this.elements;return c[0]=e,c[1]=n,c[2]=a,c[3]=t,c[4]=s,c[5]=l,c[6]=i,c[7]=r,c[8]=o,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],this}extractBasis(e,t,i){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const i=e.elements,n=t.elements,s=this.elements,r=i[0],a=i[3],l=i[6],o=i[1],c=i[4],h=i[7],d=i[2],u=i[5],p=i[8],f=n[0],m=n[3],g=n[6],v=n[1],y=n[4],_=n[7],b=n[2],w=n[5],x=n[8];return s[0]=r*f+a*v+l*b,s[3]=r*m+a*y+l*w,s[6]=r*g+a*_+l*x,s[1]=o*f+c*v+h*b,s[4]=o*m+c*y+h*w,s[7]=o*g+c*_+h*x,s[2]=d*f+u*v+p*b,s[5]=d*m+u*y+p*w,s[8]=d*g+u*_+p*x,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],r=e[4],a=e[5],l=e[6],o=e[7],c=e[8];return t*r*c-t*a*o-i*s*c+i*a*l+n*s*o-n*r*l}invert(){const e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],r=e[4],a=e[5],l=e[6],o=e[7],c=e[8],h=c*r-a*o,d=a*l-c*s,u=o*s-r*l,p=t*h+i*d+n*u;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const f=1/p;return e[0]=h*f,e[1]=(n*o-c*i)*f,e[2]=(a*i-n*r)*f,e[3]=d*f,e[4]=(c*t-n*l)*f,e[5]=(n*s-a*t)*f,e[6]=u*f,e[7]=(i*l-o*t)*f,e[8]=(r*t-i*s)*f,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,i,n,s,r,a){const l=Math.cos(s),o=Math.sin(s);return this.set(i*l,i*o,-i*(l*r+o*a)+r+e,-n*o,n*l,-n*(-o*r+l*a)+a+t,0,0,1),this}scale(e,t){const i=this.elements;return i[0]*=e,i[3]*=e,i[6]*=e,i[1]*=t,i[4]*=t,i[7]*=t,this}rotate(e){const t=Math.cos(e),i=Math.sin(e),n=this.elements,s=n[0],r=n[3],a=n[6],l=n[1],o=n[4],c=n[7];return n[0]=t*s+i*l,n[3]=t*r+i*o,n[6]=t*a+i*c,n[1]=-i*s+t*l,n[4]=-i*r+t*o,n[7]=-i*a+t*c,this}translate(e,t){const i=this.elements;return i[0]+=e*i[2],i[3]+=e*i[5],i[6]+=e*i[8],i[1]+=t*i[2],i[4]+=t*i[5],i[7]+=t*i[8],this}equals(e){const t=this.elements,i=e.elements;for(let e=0;e<9;e++)if(t[e]!==i[e])return!1;return!0}fromArray(e,t=0){for(let i=0;i<9;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){const i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e}clone(){return(new this.constructor).fromArray(this.elements)}}function F(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array;function B(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function V(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function H(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}const U={srgb:{"srgb-linear":V},"srgb-linear":{srgb:H}},G={legacyMode:!0,get workingColorSpace(){return"srgb-linear"},set workingColorSpace(e){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(e,t,i){if(this.legacyMode||t===i||!t||!i)return e;if(U[t]&&void 0!==U[t][i]){const n=U[t][i];return e.r=n(e.r),e.g=n(e.g),e.b=n(e.b),e}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},toWorkingColorSpace:function(e,t){return this.convert(e,t,this.workingColorSpace)}},j={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},W={r:0,g:0,b:0},X={h:0,s:0,l:0},q={h:0,s:0,l:0};function Y(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+6*(t-e)*(2/3-i):e}function Z(e,t){return t.r=e.r,t.g=e.g,t.b=e.b,t}class K{constructor(e,t,i){return this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===t&&void 0===i?this.set(e):this.setRGB(e,t,i)}set(e){return e&&e.isColor?this.copy(e):"number"==typeof e?this.setHex(e):"string"==typeof e&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t="srgb"){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,G.toWorkingColorSpace(this,t),this}setRGB(e,t,i,n="srgb-linear"){return this.r=e,this.g=t,this.b=i,G.toWorkingColorSpace(this,n),this}setHSL(e,t,i,n="srgb-linear"){if(e=k(e,1),t=P(t,0,1),i=P(i,0,1),0===t)this.r=this.g=this.b=i;else{const n=i<=.5?i*(1+t):i+t-i*t,s=2*i-n;this.r=Y(s,n,e+1/3),this.g=Y(s,n,e),this.b=Y(s,n,e-1/3)}return G.toWorkingColorSpace(this,n),this}setStyle(e,t="srgb"){function i(t){void 0!==t&&parseFloat(t)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let n;if(n=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let e;const s=n[1],r=n[2];switch(s){case"rgb":case"rgba":if(e=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(r))return this.r=Math.min(255,parseInt(e[1],10))/255,this.g=Math.min(255,parseInt(e[2],10))/255,this.b=Math.min(255,parseInt(e[3],10))/255,G.toWorkingColorSpace(this,t),i(e[4]),this;if(e=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(r))return this.r=Math.min(100,parseInt(e[1],10))/100,this.g=Math.min(100,parseInt(e[2],10))/100,this.b=Math.min(100,parseInt(e[3],10))/100,G.toWorkingColorSpace(this,t),i(e[4]),this;break;case"hsl":case"hsla":if(e=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(r)){const n=parseFloat(e[1])/360,s=parseFloat(e[2])/100,r=parseFloat(e[3])/100;return i(e[4]),this.setHSL(n,s,r,t)}}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){const e=n[1],i=e.length;if(3===i)return this.r=parseInt(e.charAt(0)+e.charAt(0),16)/255,this.g=parseInt(e.charAt(1)+e.charAt(1),16)/255,this.b=parseInt(e.charAt(2)+e.charAt(2),16)/255,G.toWorkingColorSpace(this,t),this;if(6===i)return this.r=parseInt(e.charAt(0)+e.charAt(1),16)/255,this.g=parseInt(e.charAt(2)+e.charAt(3),16)/255,this.b=parseInt(e.charAt(4)+e.charAt(5),16)/255,G.toWorkingColorSpace(this,t),this}return e&&e.length>0?this.setColorName(e,t):this}setColorName(e,t="srgb"){const i=j[e.toLowerCase()];return void 0!==i?this.setHex(i,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=V(e.r),this.g=V(e.g),this.b=V(e.b),this}copyLinearToSRGB(e){return this.r=H(e.r),this.g=H(e.g),this.b=H(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e="srgb"){return G.fromWorkingColorSpace(Z(this,W),e),P(255*W.r,0,255)<<16^P(255*W.g,0,255)<<8^P(255*W.b,0,255)<<0}getHexString(e="srgb"){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t="srgb-linear"){G.fromWorkingColorSpace(Z(this,W),t);const i=W.r,n=W.g,s=W.b,r=Math.max(i,n,s),a=Math.min(i,n,s);let l,o;const c=(a+r)/2;if(a===r)l=0,o=0;else{const e=r-a;switch(o=c<=.5?e/(r+a):e/(2-r-a),r){case i:l=(n-s)/e+(n<s?6:0);break;case n:l=(s-i)/e+2;break;case s:l=(i-n)/e+4}l/=6}return e.h=l,e.s=o,e.l=c,e}getRGB(e,t="srgb-linear"){return G.fromWorkingColorSpace(Z(this,W),t),e.r=W.r,e.g=W.g,e.b=W.b,e}getStyle(e="srgb"){return G.fromWorkingColorSpace(Z(this,W),e),"srgb"!==e?`color(${e} ${W.r} ${W.g} ${W.b})`:`rgb(${255*W.r|0},${255*W.g|0},${255*W.b|0})`}offsetHSL(e,t,i){return this.getHSL(X),X.h+=e,X.s+=t,X.l+=i,this.setHSL(X.h,X.s,X.l),this}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}addColors(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}addScalar(e){return this.r+=e,this.g+=e,this.b+=e,this}sub(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}multiply(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}multiplyScalar(e){return this.r*=e,this.g*=e,this.b*=e,this}lerp(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}lerpColors(e,t,i){return this.r=e.r+(t.r-e.r)*i,this.g=e.g+(t.g-e.g)*i,this.b=e.b+(t.b-e.b)*i,this}lerpHSL(e,t){this.getHSL(X),e.getHSL(q);const i=A(X.h,q.h,t),n=A(X.s,q.s,t),s=A(X.l,q.l,t);return this.setHSL(i,n,s),this}equals(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}fromArray(e,t=0){return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}toArray(e=[],t=0){return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}fromBufferAttribute(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}let J;K.NAMES=j;class Q{static getDataURL(e){if(/^data:/i.test(e.src))return e.src;if("undefined"==typeof HTMLCanvasElement)return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{void 0===J&&(J=B("canvas")),J.width=e.width,J.height=e.height;const i=J.getContext("2d");e instanceof ImageData?i.putImageData(e,0,0):i.drawImage(e,0,0,e.width,e.height),t=J}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap){const t=B("canvas");t.width=e.width,t.height=e.height;const i=t.getContext("2d");i.drawImage(e,0,0,e.width,e.height);const n=i.getImageData(0,0,e.width,e.height),s=n.data;for(let e=0;e<s.length;e++)s[e]=255*V(s[e]/255);return i.putImageData(n,0,0),t}if(e.data){const t=e.data.slice(0);for(let e=0;e<t.length;e++)t instanceof Uint8Array||t instanceof Uint8ClampedArray?t[e]=Math.floor(255*V(t[e]/255)):t[e]=V(t[e]);return{data:t,width:e.width,height:e.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),e}}class ee{constructor(e=null){this.isSource=!0,this.uuid=C(),this.data=e,this.version=0}set needsUpdate(e){!0===e&&this.version++}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.images[this.uuid])return e.images[this.uuid];const i={uuid:this.uuid,url:""},n=this.data;if(null!==n){let e;if(Array.isArray(n)){e=[];for(let t=0,i=n.length;t<i;t++)n[t].isDataTexture?e.push(te(n[t].image)):e.push(te(n[t]))}else e=te(n);i.url=e}return t||(e.images[this.uuid]=i),i}}function te(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap?Q.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let ie=0;class ne extends x{constructor(e=ne.DEFAULT_IMAGE,t=ne.DEFAULT_MAPPING,i=o,n=o,s=p,r=m,a=1023,l=1009,c=1,h=3e3){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:ie++}),this.uuid=C(),this.name="",this.source=new ee(e),this.mipmaps=[],this.mapping=t,this.wrapS=i,this.wrapT=n,this.magFilter=s,this.minFilter=r,this.anisotropy=c,this.format=a,this.internalFormat=null,this.type=l,this.offset=new N(0,0),this.repeat=new N(1,1),this.center=new N(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new $,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=h,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(e){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.encoding=e.encoding,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];const i={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return"{}"!==JSON.stringify(this.userData)&&(i.userData=this.userData),t||(e.textures[this.uuid]=i),i}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(300!==this.mapping)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case l:e.x=e.x-Math.floor(e.x);break;case o:e.x=e.x<0?0:1;break;case c:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case l:e.y=e.y-Math.floor(e.y);break;case o:e.y=e.y<0?0:1;break;case c:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}}ne.DEFAULT_IMAGE=null,ne.DEFAULT_MAPPING=300;class se{constructor(e=0,t=0,i=0,n=1){se.prototype.isVector4=!0,this.x=e,this.y=t,this.z=i,this.w=n}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,i,n){return this.x=e,this.y=t,this.z=i,this.w=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,i=this.y,n=this.z,s=this.w,r=e.elements;return this.x=r[0]*t+r[4]*i+r[8]*n+r[12]*s,this.y=r[1]*t+r[5]*i+r[9]*n+r[13]*s,this.z=r[2]*t+r[6]*i+r[10]*n+r[14]*s,this.w=r[3]*t+r[7]*i+r[11]*n+r[15]*s,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,i,n,s;const r=e.elements,a=r[0],l=r[4],o=r[8],c=r[1],h=r[5],d=r[9],u=r[2],p=r[6],f=r[10];if(Math.abs(l-c)<.01&&Math.abs(o-u)<.01&&Math.abs(d-p)<.01){if(Math.abs(l+c)<.1&&Math.abs(o+u)<.1&&Math.abs(d+p)<.1&&Math.abs(a+h+f-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;const e=(a+1)/2,r=(h+1)/2,m=(f+1)/2,g=(l+c)/4,v=(o+u)/4,y=(d+p)/4;return e>r&&e>m?e<.01?(i=0,n=.707106781,s=.707106781):(i=Math.sqrt(e),n=g/i,s=v/i):r>m?r<.01?(i=.707106781,n=0,s=.707106781):(n=Math.sqrt(r),i=g/n,s=y/n):m<.01?(i=.707106781,n=.707106781,s=0):(s=Math.sqrt(m),i=v/s,n=y/s),this.set(i,n,s,t),this}let m=Math.sqrt((p-d)*(p-d)+(o-u)*(o-u)+(c-l)*(c-l));return Math.abs(m)<.001&&(m=1),this.x=(p-d)/m,this.y=(o-u)/m,this.z=(c-l)/m,this.w=Math.acos((a+h+f-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this.w=e.w+(t.w-e.w)*i,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class re extends x{constructor(e,t,i={}){super(),this.isWebGLRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new se(0,0,e,t),this.scissorTest=!1,this.viewport=new se(0,0,e,t);const n={width:e,height:t,depth:1};this.texture=new ne(n,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=void 0!==i.generateMipmaps&&i.generateMipmaps,this.texture.internalFormat=void 0!==i.internalFormat?i.internalFormat:null,this.texture.minFilter=void 0!==i.minFilter?i.minFilter:p,this.depthBuffer=void 0===i.depthBuffer||i.depthBuffer,this.stencilBuffer=void 0!==i.stencilBuffer&&i.stencilBuffer,this.depthTexture=void 0!==i.depthTexture?i.depthTexture:null,this.samples=void 0!==i.samples?i.samples:0}setSize(e,t,i=1){this.width===e&&this.height===t&&this.depth===i||(this.width=e,this.height=t,this.depth=i,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=i,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return(new this.constructor).copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const t=Object.assign({},e.texture.image);return this.texture.source=new ee(t),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,null!==e.depthTexture&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class ae extends ne{constructor(e=null,t=1,i=1,n=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:i,depth:n},this.magFilter=h,this.minFilter=h,this.wrapR=o,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class le extends ne{constructor(e=null,t=1,i=1,n=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:i,depth:n},this.magFilter=h,this.minFilter=h,this.wrapR=o,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class oe{constructor(e=0,t=0,i=0,n=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=i,this._w=n}static slerpFlat(e,t,i,n,s,r,a){let l=i[n+0],o=i[n+1],c=i[n+2],h=i[n+3];const d=s[r+0],u=s[r+1],p=s[r+2],f=s[r+3];if(0===a)return e[t+0]=l,e[t+1]=o,e[t+2]=c,void(e[t+3]=h);if(1===a)return e[t+0]=d,e[t+1]=u,e[t+2]=p,void(e[t+3]=f);if(h!==f||l!==d||o!==u||c!==p){let e=1-a;const t=l*d+o*u+c*p+h*f,i=t>=0?1:-1,n=1-t*t;if(n>Number.EPSILON){const s=Math.sqrt(n),r=Math.atan2(s,t*i);e=Math.sin(e*r)/s,a=Math.sin(a*r)/s}const s=a*i;if(l=l*e+d*s,o=o*e+u*s,c=c*e+p*s,h=h*e+f*s,e===1-a){const e=1/Math.sqrt(l*l+o*o+c*c+h*h);l*=e,o*=e,c*=e,h*=e}}e[t]=l,e[t+1]=o,e[t+2]=c,e[t+3]=h}static multiplyQuaternionsFlat(e,t,i,n,s,r){const a=i[n],l=i[n+1],o=i[n+2],c=i[n+3],h=s[r],d=s[r+1],u=s[r+2],p=s[r+3];return e[t]=a*p+c*h+l*u-o*d,e[t+1]=l*p+c*d+o*h-a*u,e[t+2]=o*p+c*u+a*d-l*h,e[t+3]=c*p-a*h-l*d-o*u,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,i,n){return this._x=e,this._y=t,this._z=i,this._w=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t){const i=e._x,n=e._y,s=e._z,r=e._order,a=Math.cos,l=Math.sin,o=a(i/2),c=a(n/2),h=a(s/2),d=l(i/2),u=l(n/2),p=l(s/2);switch(r){case"XYZ":this._x=d*c*h+o*u*p,this._y=o*u*h-d*c*p,this._z=o*c*p+d*u*h,this._w=o*c*h-d*u*p;break;case"YXZ":this._x=d*c*h+o*u*p,this._y=o*u*h-d*c*p,this._z=o*c*p-d*u*h,this._w=o*c*h+d*u*p;break;case"ZXY":this._x=d*c*h-o*u*p,this._y=o*u*h+d*c*p,this._z=o*c*p+d*u*h,this._w=o*c*h-d*u*p;break;case"ZYX":this._x=d*c*h-o*u*p,this._y=o*u*h+d*c*p,this._z=o*c*p-d*u*h,this._w=o*c*h+d*u*p;break;case"YZX":this._x=d*c*h+o*u*p,this._y=o*u*h+d*c*p,this._z=o*c*p-d*u*h,this._w=o*c*h-d*u*p;break;case"XZY":this._x=d*c*h-o*u*p,this._y=o*u*h-d*c*p,this._z=o*c*p+d*u*h,this._w=o*c*h+d*u*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+r)}return!1!==t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const i=t/2,n=Math.sin(i);return this._x=e.x*n,this._y=e.y*n,this._z=e.z*n,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,i=t[0],n=t[4],s=t[8],r=t[1],a=t[5],l=t[9],o=t[2],c=t[6],h=t[10],d=i+a+h;if(d>0){const e=.5/Math.sqrt(d+1);this._w=.25/e,this._x=(c-l)*e,this._y=(s-o)*e,this._z=(r-n)*e}else if(i>a&&i>h){const e=2*Math.sqrt(1+i-a-h);this._w=(c-l)/e,this._x=.25*e,this._y=(n+r)/e,this._z=(s+o)/e}else if(a>h){const e=2*Math.sqrt(1+a-i-h);this._w=(s-o)/e,this._x=(n+r)/e,this._y=.25*e,this._z=(l+c)/e}else{const e=2*Math.sqrt(1+h-i-a);this._w=(r-n)/e,this._x=(s+o)/e,this._y=(l+c)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let i=e.dot(t)+1;return i<Number.EPSILON?(i=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=i):(this._x=0,this._y=-e.z,this._z=e.y,this._w=i)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=i),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(P(this.dot(e),-1,1)))}rotateTowards(e,t){const i=this.angleTo(e);if(0===i)return this;const n=Math.min(1,t/i);return this.slerp(e,n),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const i=e._x,n=e._y,s=e._z,r=e._w,a=t._x,l=t._y,o=t._z,c=t._w;return this._x=i*c+r*a+n*o-s*l,this._y=n*c+r*l+s*a-i*o,this._z=s*c+r*o+i*l-n*a,this._w=r*c-i*a-n*l-s*o,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);const i=this._x,n=this._y,s=this._z,r=this._w;let a=r*e._w+i*e._x+n*e._y+s*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=r,this._x=i,this._y=n,this._z=s,this;const l=1-a*a;if(l<=Number.EPSILON){const e=1-t;return this._w=e*r+t*this._w,this._x=e*i+t*this._x,this._y=e*n+t*this._y,this._z=e*s+t*this._z,this.normalize(),this._onChangeCallback(),this}const o=Math.sqrt(l),c=Math.atan2(o,a),h=Math.sin((1-t)*c)/o,d=Math.sin(t*c)/o;return this._w=r*h+this._w*d,this._x=i*h+this._x*d,this._y=n*h+this._y*d,this._z=s*h+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,t,i){return this.copy(e).slerp(t,i)}random(){const e=Math.random(),t=Math.sqrt(1-e),i=Math.sqrt(e),n=2*Math.PI*Math.random(),s=2*Math.PI*Math.random();return this.set(t*Math.cos(n),i*Math.sin(s),i*Math.cos(s),t*Math.sin(n))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ce{constructor(e=0,t=0,i=0){ce.prototype.isVector3=!0,this.x=e,this.y=t,this.z=i}set(e,t,i){return void 0===i&&(i=this.z),this.x=e,this.y=t,this.z=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(de.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(de.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,i=this.y,n=this.z,s=e.elements;return this.x=s[0]*t+s[3]*i+s[6]*n,this.y=s[1]*t+s[4]*i+s[7]*n,this.z=s[2]*t+s[5]*i+s[8]*n,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,i=this.y,n=this.z,s=e.elements,r=1/(s[3]*t+s[7]*i+s[11]*n+s[15]);return this.x=(s[0]*t+s[4]*i+s[8]*n+s[12])*r,this.y=(s[1]*t+s[5]*i+s[9]*n+s[13])*r,this.z=(s[2]*t+s[6]*i+s[10]*n+s[14])*r,this}applyQuaternion(e){const t=this.x,i=this.y,n=this.z,s=e.x,r=e.y,a=e.z,l=e.w,o=l*t+r*n-a*i,c=l*i+a*t-s*n,h=l*n+s*i-r*t,d=-s*t-r*i-a*n;return this.x=o*l+d*-s+c*-a-h*-r,this.y=c*l+d*-r+h*-s-o*-a,this.z=h*l+d*-a+o*-r-c*-s,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,i=this.y,n=this.z,s=e.elements;return this.x=s[0]*t+s[4]*i+s[8]*n,this.y=s[1]*t+s[5]*i+s[9]*n,this.z=s[2]*t+s[6]*i+s[10]*n,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const i=e.x,n=e.y,s=e.z,r=t.x,a=t.y,l=t.z;return this.x=n*l-s*a,this.y=s*r-i*l,this.z=i*a-n*r,this}projectOnVector(e){const t=e.lengthSq();if(0===t)return this.set(0,0,0);const i=e.dot(this)/t;return this.copy(e).multiplyScalar(i)}projectOnPlane(e){return he.copy(this).projectOnVector(e),this.sub(he)}reflect(e){return this.sub(he.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const i=this.dot(e)/t;return Math.acos(P(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,i=this.y-e.y,n=this.z-e.z;return t*t+i*i+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,i){const n=Math.sin(t)*e;return this.x=n*Math.sin(i),this.y=Math.cos(t)*e,this.z=n*Math.cos(i),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,i){return this.x=e*Math.sin(t),this.y=i,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),i=this.setFromMatrixColumn(e,1).length(),n=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=i,this.z=n,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=2*(Math.random()-.5),t=Math.random()*Math.PI*2,i=Math.sqrt(1-e**2);return this.x=i*Math.cos(t),this.y=i*Math.sin(t),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const he=new ce,de=new oe;class ue{constructor(e=new ce(1/0,1/0,1/0),t=new ce(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){let t=1/0,i=1/0,n=1/0,s=-1/0,r=-1/0,a=-1/0;for(let l=0,o=e.length;l<o;l+=3){const o=e[l],c=e[l+1],h=e[l+2];o<t&&(t=o),c<i&&(i=c),h<n&&(n=h),o>s&&(s=o),c>r&&(r=c),h>a&&(a=h)}return this.min.set(t,i,n),this.max.set(s,r,a),this}setFromBufferAttribute(e){let t=1/0,i=1/0,n=1/0,s=-1/0,r=-1/0,a=-1/0;for(let l=0,o=e.count;l<o;l++){const o=e.getX(l),c=e.getY(l),h=e.getZ(l);o<t&&(t=o),c<i&&(i=c),h<n&&(n=h),o>s&&(s=o),c>r&&(r=c),h>a&&(a=h)}return this.min.set(t,i,n),this.max.set(s,r,a),this}setFromPoints(e){this.makeEmpty();for(let t=0,i=e.length;t<i;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const i=fe.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(i),this.max.copy(e).add(i),this}setFromObject(e,t=!1){return this.makeEmpty(),this.expandByObject(e,t)}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}expandByObject(e,t=!1){e.updateWorldMatrix(!1,!1);const i=e.geometry;if(void 0!==i)if(t&&null!=i.attributes&&void 0!==i.attributes.position){const t=i.attributes.position;for(let i=0,n=t.count;i<n;i++)fe.fromBufferAttribute(t,i).applyMatrix4(e.matrixWorld),this.expandByPoint(fe)}else null===i.boundingBox&&i.computeBoundingBox(),me.copy(i.boundingBox),me.applyMatrix4(e.matrixWorld),this.union(me);const n=e.children;for(let e=0,i=n.length;e<i;e++)this.expandByObject(n[e],t);return this}containsPoint(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y||e.z<this.min.z||e.z>this.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y||e.max.z<this.min.z||e.min.z>this.max.z)}intersectsSphere(e){return this.clampPoint(e.center,fe),fe.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,i;return e.normal.x>0?(t=e.normal.x*this.min.x,i=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,i=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,i+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,i+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,i+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,i+=e.normal.z*this.min.z),t<=-e.constant&&i>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(xe),Te.subVectors(this.max,xe),ge.subVectors(e.a,xe),ve.subVectors(e.b,xe),ye.subVectors(e.c,xe),_e.subVectors(ve,ge),be.subVectors(ye,ve),we.subVectors(ge,ye);let t=[0,-_e.z,_e.y,0,-be.z,be.y,0,-we.z,we.y,_e.z,0,-_e.x,be.z,0,-be.x,we.z,0,-we.x,-_e.y,_e.x,0,-be.y,be.x,0,-we.y,we.x,0];return!!Ee(t,ge,ve,ye,Te)&&(t=[1,0,0,0,1,0,0,0,1],!!Ee(t,ge,ve,ye,Te)&&(Se.crossVectors(_e,be),t=[Se.x,Se.y,Se.z],Ee(t,ge,ve,ye,Te)))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return fe.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return this.getCenter(e.center),e.radius=.5*this.getSize(fe).length(),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(pe[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),pe[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),pe[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),pe[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),pe[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),pe[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),pe[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),pe[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(pe)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const pe=[new ce,new ce,new ce,new ce,new ce,new ce,new ce,new ce],fe=new ce,me=new ue,ge=new ce,ve=new ce,ye=new ce,_e=new ce,be=new ce,we=new ce,xe=new ce,Te=new ce,Se=new ce,Me=new ce;function Ee(e,t,i,n,s){for(let r=0,a=e.length-3;r<=a;r+=3){Me.fromArray(e,r);const a=s.x*Math.abs(Me.x)+s.y*Math.abs(Me.y)+s.z*Math.abs(Me.z),l=t.dot(Me),o=i.dot(Me),c=n.dot(Me);if(Math.max(-Math.max(l,o,c),Math.min(l,o,c))>a)return!1}return!0}const Ce=new ue,Pe=new ce,ke=new ce,Ae=new ce;class Le{constructor(e=new ce,t=-1){this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const i=this.center;void 0!==t?i.copy(t):Ce.setFromPoints(e).getCenter(i);let n=0;for(let t=0,s=e.length;t<s;t++)n=Math.max(n,i.distanceToSquared(e[t]));return this.radius=Math.sqrt(n),this}copy(e){return this.center.copy(e.center),this.radius=e.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(e){return e.distanceTo(this.center)-this.radius}intersectsSphere(e){const t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}intersectsBox(e){return e.intersectsSphere(this)}intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}clampPoint(e,t){const i=this.center.distanceToSquared(e);return t.copy(e),i>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Ae.subVectors(e,this.center);const t=Ae.lengthSq();if(t>this.radius*this.radius){const e=Math.sqrt(t),i=.5*(e-this.radius);this.center.add(Ae.multiplyScalar(i/e)),this.radius+=i}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(!0===this.center.equals(e.center)?ke.set(0,0,1).multiplyScalar(e.radius):ke.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(Pe.copy(e.center).add(ke)),this.expandByPoint(Pe.copy(e.center).sub(ke)),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const Oe=new ce,Ie=new ce,De=new ce,Re=new ce,ze=new ce,Ne=new ce,$e=new ce;class Fe{constructor(e=new ce,t=new ce(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,Oe)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const i=t.dot(this.direction);return i<0?t.copy(this.origin):t.copy(this.direction).multiplyScalar(i).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=Oe.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(Oe.copy(this.direction).multiplyScalar(t).add(this.origin),Oe.distanceToSquared(e))}distanceSqToSegment(e,t,i,n){Ie.copy(e).add(t).multiplyScalar(.5),De.copy(t).sub(e).normalize(),Re.copy(this.origin).sub(Ie);const s=.5*e.distanceTo(t),r=-this.direction.dot(De),a=Re.dot(this.direction),l=-Re.dot(De),o=Re.lengthSq(),c=Math.abs(1-r*r);let h,d,u,p;if(c>0)if(h=r*l-a,d=r*a-l,p=s*c,h>=0)if(d>=-p)if(d<=p){const e=1/c;h*=e,d*=e,u=h*(h+r*d+2*a)+d*(r*h+d+2*l)+o}else d=s,h=Math.max(0,-(r*d+a)),u=-h*h+d*(d+2*l)+o;else d=-s,h=Math.max(0,-(r*d+a)),u=-h*h+d*(d+2*l)+o;else d<=-p?(h=Math.max(0,-(-r*s+a)),d=h>0?-s:Math.min(Math.max(-s,-l),s),u=-h*h+d*(d+2*l)+o):d<=p?(h=0,d=Math.min(Math.max(-s,-l),s),u=d*(d+2*l)+o):(h=Math.max(0,-(r*s+a)),d=h>0?s:Math.min(Math.max(-s,-l),s),u=-h*h+d*(d+2*l)+o);else d=r>0?-s:s,h=Math.max(0,-(r*d+a)),u=-h*h+d*(d+2*l)+o;return i&&i.copy(this.direction).multiplyScalar(h).add(this.origin),n&&n.copy(De).multiplyScalar(d).add(Ie),u}intersectSphere(e,t){Oe.subVectors(e.center,this.origin);const i=Oe.dot(this.direction),n=Oe.dot(Oe)-i*i,s=e.radius*e.radius;if(n>s)return null;const r=Math.sqrt(s-n),a=i-r,l=i+r;return a<0&&l<0?null:a<0?this.at(l,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;const i=-(this.origin.dot(e.normal)+e.constant)/t;return i>=0?i:null}intersectPlane(e,t){const i=this.distanceToPlane(e);return null===i?null:this.at(i,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);if(0===t)return!0;return e.normal.dot(this.direction)*t<0}intersectBox(e,t){let i,n,s,r,a,l;const o=1/this.direction.x,c=1/this.direction.y,h=1/this.direction.z,d=this.origin;return o>=0?(i=(e.min.x-d.x)*o,n=(e.max.x-d.x)*o):(i=(e.max.x-d.x)*o,n=(e.min.x-d.x)*o),c>=0?(s=(e.min.y-d.y)*c,r=(e.max.y-d.y)*c):(s=(e.max.y-d.y)*c,r=(e.min.y-d.y)*c),i>r||s>n?null:((s>i||i!=i)&&(i=s),(r<n||n!=n)&&(n=r),h>=0?(a=(e.min.z-d.z)*h,l=(e.max.z-d.z)*h):(a=(e.max.z-d.z)*h,l=(e.min.z-d.z)*h),i>l||a>n?null:((a>i||i!=i)&&(i=a),(l<n||n!=n)&&(n=l),n<0?null:this.at(i>=0?i:n,t)))}intersectsBox(e){return null!==this.intersectBox(e,Oe)}intersectTriangle(e,t,i,n,s){ze.subVectors(t,e),Ne.subVectors(i,e),$e.crossVectors(ze,Ne);let r,a=this.direction.dot($e);if(a>0){if(n)return null;r=1}else{if(!(a<0))return null;r=-1,a=-a}Re.subVectors(this.origin,e);const l=r*this.direction.dot(Ne.crossVectors(Re,Ne));if(l<0)return null;const o=r*this.direction.dot(ze.cross(Re));if(o<0)return null;if(l+o>a)return null;const c=-r*Re.dot($e);return c<0?null:this.at(c/a,s)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class Be{constructor(){Be.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(e,t,i,n,s,r,a,l,o,c,h,d,u,p,f,m){const g=this.elements;return g[0]=e,g[4]=t,g[8]=i,g[12]=n,g[1]=s,g[5]=r,g[9]=a,g[13]=l,g[2]=o,g[6]=c,g[10]=h,g[14]=d,g[3]=u,g[7]=p,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new Be).fromArray(this.elements)}copy(e){const t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],t[9]=i[9],t[10]=i[10],t[11]=i[11],t[12]=i[12],t[13]=i[13],t[14]=i[14],t[15]=i[15],this}copyPosition(e){const t=this.elements,i=e.elements;return t[12]=i[12],t[13]=i[13],t[14]=i[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,i){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(e,t,i){return this.set(e.x,t.x,i.x,0,e.y,t.y,i.y,0,e.z,t.z,i.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,i=e.elements,n=1/Ve.setFromMatrixColumn(e,0).length(),s=1/Ve.setFromMatrixColumn(e,1).length(),r=1/Ve.setFromMatrixColumn(e,2).length();return t[0]=i[0]*n,t[1]=i[1]*n,t[2]=i[2]*n,t[3]=0,t[4]=i[4]*s,t[5]=i[5]*s,t[6]=i[6]*s,t[7]=0,t[8]=i[8]*r,t[9]=i[9]*r,t[10]=i[10]*r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,i=e.x,n=e.y,s=e.z,r=Math.cos(i),a=Math.sin(i),l=Math.cos(n),o=Math.sin(n),c=Math.cos(s),h=Math.sin(s);if("XYZ"===e.order){const e=r*c,i=r*h,n=a*c,s=a*h;t[0]=l*c,t[4]=-l*h,t[8]=o,t[1]=i+n*o,t[5]=e-s*o,t[9]=-a*l,t[2]=s-e*o,t[6]=n+i*o,t[10]=r*l}else if("YXZ"===e.order){const e=l*c,i=l*h,n=o*c,s=o*h;t[0]=e+s*a,t[4]=n*a-i,t[8]=r*o,t[1]=r*h,t[5]=r*c,t[9]=-a,t[2]=i*a-n,t[6]=s+e*a,t[10]=r*l}else if("ZXY"===e.order){const e=l*c,i=l*h,n=o*c,s=o*h;t[0]=e-s*a,t[4]=-r*h,t[8]=n+i*a,t[1]=i+n*a,t[5]=r*c,t[9]=s-e*a,t[2]=-r*o,t[6]=a,t[10]=r*l}else if("ZYX"===e.order){const e=r*c,i=r*h,n=a*c,s=a*h;t[0]=l*c,t[4]=n*o-i,t[8]=e*o+s,t[1]=l*h,t[5]=s*o+e,t[9]=i*o-n,t[2]=-o,t[6]=a*l,t[10]=r*l}else if("YZX"===e.order){const e=r*l,i=r*o,n=a*l,s=a*o;t[0]=l*c,t[4]=s-e*h,t[8]=n*h+i,t[1]=h,t[5]=r*c,t[9]=-a*c,t[2]=-o*c,t[6]=i*h+n,t[10]=e-s*h}else if("XZY"===e.order){const e=r*l,i=r*o,n=a*l,s=a*o;t[0]=l*c,t[4]=-h,t[8]=o*c,t[1]=e*h+s,t[5]=r*c,t[9]=i*h-n,t[2]=n*h-i,t[6]=a*c,t[10]=s*h+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Ue,e,Ge)}lookAt(e,t,i){const n=this.elements;return Xe.subVectors(e,t),0===Xe.lengthSq()&&(Xe.z=1),Xe.normalize(),je.crossVectors(i,Xe),0===je.lengthSq()&&(1===Math.abs(i.z)?Xe.x+=1e-4:Xe.z+=1e-4,Xe.normalize(),je.crossVectors(i,Xe)),je.normalize(),We.crossVectors(Xe,je),n[0]=je.x,n[4]=We.x,n[8]=Xe.x,n[1]=je.y,n[5]=We.y,n[9]=Xe.y,n[2]=je.z,n[6]=We.z,n[10]=Xe.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const i=e.elements,n=t.elements,s=this.elements,r=i[0],a=i[4],l=i[8],o=i[12],c=i[1],h=i[5],d=i[9],u=i[13],p=i[2],f=i[6],m=i[10],g=i[14],v=i[3],y=i[7],_=i[11],b=i[15],w=n[0],x=n[4],T=n[8],S=n[12],M=n[1],E=n[5],C=n[9],P=n[13],k=n[2],A=n[6],L=n[10],O=n[14],I=n[3],D=n[7],R=n[11],z=n[15];return s[0]=r*w+a*M+l*k+o*I,s[4]=r*x+a*E+l*A+o*D,s[8]=r*T+a*C+l*L+o*R,s[12]=r*S+a*P+l*O+o*z,s[1]=c*w+h*M+d*k+u*I,s[5]=c*x+h*E+d*A+u*D,s[9]=c*T+h*C+d*L+u*R,s[13]=c*S+h*P+d*O+u*z,s[2]=p*w+f*M+m*k+g*I,s[6]=p*x+f*E+m*A+g*D,s[10]=p*T+f*C+m*L+g*R,s[14]=p*S+f*P+m*O+g*z,s[3]=v*w+y*M+_*k+b*I,s[7]=v*x+y*E+_*A+b*D,s[11]=v*T+y*C+_*L+b*R,s[15]=v*S+y*P+_*O+b*z,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],i=e[4],n=e[8],s=e[12],r=e[1],a=e[5],l=e[9],o=e[13],c=e[2],h=e[6],d=e[10],u=e[14];return e[3]*(+s*l*h-n*o*h-s*a*d+i*o*d+n*a*u-i*l*u)+e[7]*(+t*l*u-t*o*d+s*r*d-n*r*u+n*o*c-s*l*c)+e[11]*(+t*o*h-t*a*u-s*r*h+i*r*u+s*a*c-i*o*c)+e[15]*(-n*a*c-t*l*h+t*a*d+n*r*h-i*r*d+i*l*c)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,i){const n=this.elements;return e.isVector3?(n[12]=e.x,n[13]=e.y,n[14]=e.z):(n[12]=e,n[13]=t,n[14]=i),this}invert(){const e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],r=e[4],a=e[5],l=e[6],o=e[7],c=e[8],h=e[9],d=e[10],u=e[11],p=e[12],f=e[13],m=e[14],g=e[15],v=h*m*o-f*d*o+f*l*u-a*m*u-h*l*g+a*d*g,y=p*d*o-c*m*o-p*l*u+r*m*u+c*l*g-r*d*g,_=c*f*o-p*h*o+p*a*u-r*f*u-c*a*g+r*h*g,b=p*h*l-c*f*l-p*a*d+r*f*d+c*a*m-r*h*m,w=t*v+i*y+n*_+s*b;if(0===w)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const x=1/w;return e[0]=v*x,e[1]=(f*d*s-h*m*s-f*n*u+i*m*u+h*n*g-i*d*g)*x,e[2]=(a*m*s-f*l*s+f*n*o-i*m*o-a*n*g+i*l*g)*x,e[3]=(h*l*s-a*d*s-h*n*o+i*d*o+a*n*u-i*l*u)*x,e[4]=y*x,e[5]=(c*m*s-p*d*s+p*n*u-t*m*u-c*n*g+t*d*g)*x,e[6]=(p*l*s-r*m*s-p*n*o+t*m*o+r*n*g-t*l*g)*x,e[7]=(r*d*s-c*l*s+c*n*o-t*d*o-r*n*u+t*l*u)*x,e[8]=_*x,e[9]=(p*h*s-c*f*s-p*i*u+t*f*u+c*i*g-t*h*g)*x,e[10]=(r*f*s-p*a*s+p*i*o-t*f*o-r*i*g+t*a*g)*x,e[11]=(c*a*s-r*h*s-c*i*o+t*h*o+r*i*u-t*a*u)*x,e[12]=b*x,e[13]=(c*f*n-p*h*n+p*i*d-t*f*d-c*i*m+t*h*m)*x,e[14]=(p*a*n-r*f*n-p*i*l+t*f*l+r*i*m-t*a*m)*x,e[15]=(r*h*n-c*a*n+c*i*l-t*h*l-r*i*d+t*a*d)*x,this}scale(e){const t=this.elements,i=e.x,n=e.y,s=e.z;return t[0]*=i,t[4]*=n,t[8]*=s,t[1]*=i,t[5]*=n,t[9]*=s,t[2]*=i,t[6]*=n,t[10]*=s,t[3]*=i,t[7]*=n,t[11]*=s,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],i=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],n=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,i,n))}makeTranslation(e,t,i){return this.set(1,0,0,e,0,1,0,t,0,0,1,i,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),i=Math.sin(e);return this.set(1,0,0,0,0,t,-i,0,0,i,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,0,i,0,0,1,0,0,-i,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,0,i,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const i=Math.cos(t),n=Math.sin(t),s=1-i,r=e.x,a=e.y,l=e.z,o=s*r,c=s*a;return this.set(o*r+i,o*a-n*l,o*l+n*a,0,o*a+n*l,c*a+i,c*l-n*r,0,o*l-n*a,c*l+n*r,s*l*l+i,0,0,0,0,1),this}makeScale(e,t,i){return this.set(e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1),this}makeShear(e,t,i,n,s,r){return this.set(1,i,s,0,e,1,r,0,t,n,1,0,0,0,0,1),this}compose(e,t,i){const n=this.elements,s=t._x,r=t._y,a=t._z,l=t._w,o=s+s,c=r+r,h=a+a,d=s*o,u=s*c,p=s*h,f=r*c,m=r*h,g=a*h,v=l*o,y=l*c,_=l*h,b=i.x,w=i.y,x=i.z;return n[0]=(1-(f+g))*b,n[1]=(u+_)*b,n[2]=(p-y)*b,n[3]=0,n[4]=(u-_)*w,n[5]=(1-(d+g))*w,n[6]=(m+v)*w,n[7]=0,n[8]=(p+y)*x,n[9]=(m-v)*x,n[10]=(1-(d+f))*x,n[11]=0,n[12]=e.x,n[13]=e.y,n[14]=e.z,n[15]=1,this}decompose(e,t,i){const n=this.elements;let s=Ve.set(n[0],n[1],n[2]).length();const r=Ve.set(n[4],n[5],n[6]).length(),a=Ve.set(n[8],n[9],n[10]).length();this.determinant()<0&&(s=-s),e.x=n[12],e.y=n[13],e.z=n[14],He.copy(this);const l=1/s,o=1/r,c=1/a;return He.elements[0]*=l,He.elements[1]*=l,He.elements[2]*=l,He.elements[4]*=o,He.elements[5]*=o,He.elements[6]*=o,He.elements[8]*=c,He.elements[9]*=c,He.elements[10]*=c,t.setFromRotationMatrix(He),i.x=s,i.y=r,i.z=a,this}makePerspective(e,t,i,n,s,r){const a=this.elements,l=2*s/(t-e),o=2*s/(i-n),c=(t+e)/(t-e),h=(i+n)/(i-n),d=-(r+s)/(r-s),u=-2*r*s/(r-s);return a[0]=l,a[4]=0,a[8]=c,a[12]=0,a[1]=0,a[5]=o,a[9]=h,a[13]=0,a[2]=0,a[6]=0,a[10]=d,a[14]=u,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(e,t,i,n,s,r){const a=this.elements,l=1/(t-e),o=1/(i-n),c=1/(r-s),h=(t+e)*l,d=(i+n)*o,u=(r+s)*c;return a[0]=2*l,a[4]=0,a[8]=0,a[12]=-h,a[1]=0,a[5]=2*o,a[9]=0,a[13]=-d,a[2]=0,a[6]=0,a[10]=-2*c,a[14]=-u,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(e){const t=this.elements,i=e.elements;for(let e=0;e<16;e++)if(t[e]!==i[e])return!1;return!0}fromArray(e,t=0){for(let i=0;i<16;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){const i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e[t+9]=i[9],e[t+10]=i[10],e[t+11]=i[11],e[t+12]=i[12],e[t+13]=i[13],e[t+14]=i[14],e[t+15]=i[15],e}}const Ve=new ce,He=new Be,Ue=new ce(0,0,0),Ge=new ce(1,1,1),je=new ce,We=new ce,Xe=new ce,qe=new Be,Ye=new oe;class Ze{constructor(e=0,t=0,i=0,n=Ze.DefaultOrder){this.isEuler=!0,this._x=e,this._y=t,this._z=i,this._order=n}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,i,n=this._order){return this._x=e,this._y=t,this._z=i,this._order=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,i=!0){const n=e.elements,s=n[0],r=n[4],a=n[8],l=n[1],o=n[5],c=n[9],h=n[2],d=n[6],u=n[10];switch(t){case"XYZ":this._y=Math.asin(P(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-c,u),this._z=Math.atan2(-r,s)):(this._x=Math.atan2(d,o),this._z=0);break;case"YXZ":this._x=Math.asin(-P(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(a,u),this._z=Math.atan2(l,o)):(this._y=Math.atan2(-h,s),this._z=0);break;case"ZXY":this._x=Math.asin(P(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-h,u),this._z=Math.atan2(-r,o)):(this._y=0,this._z=Math.atan2(l,s));break;case"ZYX":this._y=Math.asin(-P(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(d,u),this._z=Math.atan2(l,s)):(this._x=0,this._z=Math.atan2(-r,o));break;case"YZX":this._z=Math.asin(P(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-c,o),this._y=Math.atan2(-h,s)):(this._x=0,this._y=Math.atan2(a,u));break;case"XZY":this._z=Math.asin(-P(r,-1,1)),Math.abs(r)<.9999999?(this._x=Math.atan2(d,o),this._y=Math.atan2(a,s)):(this._x=Math.atan2(-c,u),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===i&&this._onChangeCallback(),this}setFromQuaternion(e,t,i){return qe.makeRotationFromQuaternion(e),this.setFromRotationMatrix(qe,t,i)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return Ye.setFromEuler(this),this.setFromQuaternion(Ye,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error("THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead")}}Ze.DefaultOrder="XYZ",Ze.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class Ke{constructor(){this.mask=1}set(e){this.mask=(1<<e|0)>>>0}enable(e){this.mask|=1<<e|0}enableAll(){this.mask=-1}toggle(e){this.mask^=1<<e|0}disable(e){this.mask&=~(1<<e|0)}disableAll(){this.mask=0}test(e){return 0!=(this.mask&e.mask)}isEnabled(e){return 0!=(this.mask&(1<<e|0))}}let Je=0;const Qe=new ce,et=new oe,tt=new Be,it=new ce,nt=new ce,st=new ce,rt=new oe,at=new ce(1,0,0),lt=new ce(0,1,0),ot=new ce(0,0,1),ct={type:"added"},ht={type:"removed"};class dt extends x{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:Je++}),this.uuid=C(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=dt.DefaultUp.clone();const e=new ce,t=new Ze,i=new oe,n=new ce(1,1,1);t._onChange((function(){i.setFromEuler(t,!1)})),i._onChange((function(){t.setFromQuaternion(i,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:e},rotation:{configurable:!0,enumerable:!0,value:t},quaternion:{configurable:!0,enumerable:!0,value:i},scale:{configurable:!0,enumerable:!0,value:n},modelViewMatrix:{value:new Be},normalMatrix:{value:new $}}),this.matrix=new Be,this.matrixWorld=new Be,this.matrixAutoUpdate=dt.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.matrixWorldAutoUpdate=dt.DefaultMatrixWorldAutoUpdate,this.layers=new Ke,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(e){return this.quaternion.premultiply(e),this}setRotationFromAxisAngle(e,t){this.quaternion.setFromAxisAngle(e,t)}setRotationFromEuler(e){this.quaternion.setFromEuler(e,!0)}setRotationFromMatrix(e){this.quaternion.setFromRotationMatrix(e)}setRotationFromQuaternion(e){this.quaternion.copy(e)}rotateOnAxis(e,t){return et.setFromAxisAngle(e,t),this.quaternion.multiply(et),this}rotateOnWorldAxis(e,t){return et.setFromAxisAngle(e,t),this.quaternion.premultiply(et),this}rotateX(e){return this.rotateOnAxis(at,e)}rotateY(e){return this.rotateOnAxis(lt,e)}rotateZ(e){return this.rotateOnAxis(ot,e)}translateOnAxis(e,t){return Qe.copy(e).applyQuaternion(this.quaternion),this.position.add(Qe.multiplyScalar(t)),this}translateX(e){return this.translateOnAxis(at,e)}translateY(e){return this.translateOnAxis(lt,e)}translateZ(e){return this.translateOnAxis(ot,e)}localToWorld(e){return e.applyMatrix4(this.matrixWorld)}worldToLocal(e){return e.applyMatrix4(tt.copy(this.matrixWorld).invert())}lookAt(e,t,i){e.isVector3?it.copy(e):it.set(e,t,i);const n=this.parent;this.updateWorldMatrix(!0,!1),nt.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?tt.lookAt(nt,it,this.up):tt.lookAt(it,nt,this.up),this.quaternion.setFromRotationMatrix(tt),n&&(tt.extractRotation(n.matrixWorld),et.setFromRotationMatrix(tt),this.quaternion.premultiply(et.invert()))}add(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);return this}return e===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",e),this):(e&&e.isObject3D?(null!==e.parent&&e.parent.remove(e),e.parent=this,this.children.push(e),e.dispatchEvent(ct)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",e),this)}remove(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.remove(arguments[e]);return this}const t=this.children.indexOf(e);return-1!==t&&(e.parent=null,this.children.splice(t,1),e.dispatchEvent(ht)),this}removeFromParent(){const e=this.parent;return null!==e&&e.remove(this),this}clear(){for(let e=0;e<this.children.length;e++){const t=this.children[e];t.parent=null,t.dispatchEvent(ht)}return this.children.length=0,this}attach(e){return this.updateWorldMatrix(!0,!1),tt.copy(this.matrixWorld).invert(),null!==e.parent&&(e.parent.updateWorldMatrix(!0,!1),tt.multiply(e.parent.matrixWorld)),e.applyMatrix4(tt),this.add(e),e.updateWorldMatrix(!1,!0),this}getObjectById(e){return this.getObjectByProperty("id",e)}getObjectByName(e){return this.getObjectByProperty("name",e)}getObjectByProperty(e,t){if(this[e]===t)return this;for(let i=0,n=this.children.length;i<n;i++){const n=this.children[i].getObjectByProperty(e,t);if(void 0!==n)return n}}getWorldPosition(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(nt,e,st),e}getWorldScale(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(nt,rt,e),e}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}raycast(){}traverse(e){e(this);const t=this.children;for(let i=0,n=t.length;i<n;i++)t[i].traverse(e)}traverseVisible(e){if(!1===this.visible)return;e(this);const t=this.children;for(let i=0,n=t.length;i<n;i++)t[i].traverseVisible(e)}traverseAncestors(e){const t=this.parent;null!==t&&(e(t),t.traverseAncestors(e))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,e=!0);const t=this.children;for(let i=0,n=t.length;i<n;i++){const n=t[i];!0!==n.matrixWorldAutoUpdate&&!0!==e||n.updateMatrixWorld(e)}}updateWorldMatrix(e,t){const i=this.parent;if(!0===e&&null!==i&&!0===i.matrixWorldAutoUpdate&&i.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===t){const e=this.children;for(let t=0,i=e.length;t<i;t++){const i=e[t];!0===i.matrixWorldAutoUpdate&&i.updateWorldMatrix(!1,!0)}}}toJSON(e){const t=void 0===e||"string"==typeof e,i={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},i.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const n={};function s(t,i){return void 0===t[i.uuid]&&(t[i.uuid]=i.toJSON(e)),i.uuid}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),!0===this.castShadow&&(n.castShadow=!0),!0===this.receiveShadow&&(n.receiveShadow=!0),!1===this.visible&&(n.visible=!1),!1===this.frustumCulled&&(n.frustumCulled=!1),0!==this.renderOrder&&(n.renderOrder=this.renderOrder),"{}"!==JSON.stringify(this.userData)&&(n.userData=this.userData),n.layers=this.layers.mask,n.matrix=this.matrix.toArray(),!1===this.matrixAutoUpdate&&(n.matrixAutoUpdate=!1),this.isInstancedMesh&&(n.type="InstancedMesh",n.count=this.count,n.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(n.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?n.background=this.background.toJSON():this.background.isTexture&&(n.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(n.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){n.geometry=s(e.geometries,this.geometry);const t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){const i=t.shapes;if(Array.isArray(i))for(let t=0,n=i.length;t<n;t++){const n=i[t];s(e.shapes,n)}else s(e.shapes,i)}}if(this.isSkinnedMesh&&(n.bindMode=this.bindMode,n.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(s(e.skeletons,this.skeleton),n.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const t=[];for(let i=0,n=this.material.length;i<n;i++)t.push(s(e.materials,this.material[i]));n.material=t}else n.material=s(e.materials,this.material);if(this.children.length>0){n.children=[];for(let t=0;t<this.children.length;t++)n.children.push(this.children[t].toJSON(e).object)}if(this.animations.length>0){n.animations=[];for(let t=0;t<this.animations.length;t++){const i=this.animations[t];n.animations.push(s(e.animations,i))}}if(t){const t=r(e.geometries),n=r(e.materials),s=r(e.textures),a=r(e.images),l=r(e.shapes),o=r(e.skeletons),c=r(e.animations),h=r(e.nodes);t.length>0&&(i.geometries=t),n.length>0&&(i.materials=n),s.length>0&&(i.textures=s),a.length>0&&(i.images=a),l.length>0&&(i.shapes=l),o.length>0&&(i.skeletons=o),c.length>0&&(i.animations=c),h.length>0&&(i.nodes=h)}return i.object=n,i;function r(e){const t=[];for(const i in e){const n=e[i];delete n.metadata,t.push(n)}return t}}clone(e){return(new this.constructor).copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t<e.children.length;t++){const i=e.children[t];this.add(i.clone())}return this}}dt.DefaultUp=new ce(0,1,0),dt.DefaultMatrixAutoUpdate=!0,dt.DefaultMatrixWorldAutoUpdate=!0;const ut=new ce,pt=new ce,ft=new ce,mt=new ce,gt=new ce,vt=new ce,yt=new ce,_t=new ce,bt=new ce,wt=new ce;class xt{constructor(e=new ce,t=new ce,i=new ce){this.a=e,this.b=t,this.c=i}static getNormal(e,t,i,n){n.subVectors(i,t),ut.subVectors(e,t),n.cross(ut);const s=n.lengthSq();return s>0?n.multiplyScalar(1/Math.sqrt(s)):n.set(0,0,0)}static getBarycoord(e,t,i,n,s){ut.subVectors(n,t),pt.subVectors(i,t),ft.subVectors(e,t);const r=ut.dot(ut),a=ut.dot(pt),l=ut.dot(ft),o=pt.dot(pt),c=pt.dot(ft),h=r*o-a*a;if(0===h)return s.set(-2,-1,-1);const d=1/h,u=(o*l-a*c)*d,p=(r*c-a*l)*d;return s.set(1-u-p,p,u)}static containsPoint(e,t,i,n){return this.getBarycoord(e,t,i,n,mt),mt.x>=0&&mt.y>=0&&mt.x+mt.y<=1}static getUV(e,t,i,n,s,r,a,l){return this.getBarycoord(e,t,i,n,mt),l.set(0,0),l.addScaledVector(s,mt.x),l.addScaledVector(r,mt.y),l.addScaledVector(a,mt.z),l}static isFrontFacing(e,t,i,n){return ut.subVectors(i,t),pt.subVectors(e,t),ut.cross(pt).dot(n)<0}set(e,t,i){return this.a.copy(e),this.b.copy(t),this.c.copy(i),this}setFromPointsAndIndices(e,t,i,n){return this.a.copy(e[t]),this.b.copy(e[i]),this.c.copy(e[n]),this}setFromAttributeAndIndices(e,t,i,n){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,i),this.c.fromBufferAttribute(e,n),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return ut.subVectors(this.c,this.b),pt.subVectors(this.a,this.b),.5*ut.cross(pt).length()}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return xt.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return xt.getBarycoord(e,this.a,this.b,this.c,t)}getUV(e,t,i,n,s){return xt.getUV(e,this.a,this.b,this.c,t,i,n,s)}containsPoint(e){return xt.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return xt.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const i=this.a,n=this.b,s=this.c;let r,a;gt.subVectors(n,i),vt.subVectors(s,i),_t.subVectors(e,i);const l=gt.dot(_t),o=vt.dot(_t);if(l<=0&&o<=0)return t.copy(i);bt.subVectors(e,n);const c=gt.dot(bt),h=vt.dot(bt);if(c>=0&&h<=c)return t.copy(n);const d=l*h-c*o;if(d<=0&&l>=0&&c<=0)return r=l/(l-c),t.copy(i).addScaledVector(gt,r);wt.subVectors(e,s);const u=gt.dot(wt),p=vt.dot(wt);if(p>=0&&u<=p)return t.copy(s);const f=u*o-l*p;if(f<=0&&o>=0&&p<=0)return a=o/(o-p),t.copy(i).addScaledVector(vt,a);const m=c*p-u*h;if(m<=0&&h-c>=0&&u-p>=0)return yt.subVectors(s,n),a=(h-c)/(h-c+(u-p)),t.copy(n).addScaledVector(yt,a);const g=1/(m+f+d);return r=f*g,a=d*g,t.copy(i).addScaledVector(gt,r).addScaledVector(vt,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let Tt=0;class St extends x{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:Tt++}),this.uuid=C(),this.name="",this.type="Material",this.blending=1,this.side=r,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=100,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=7680,this.stencilZFail=7680,this.stencilZPass=7680,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(void 0!==e)for(const t in e){const i=e[t];if(void 0===i){console.warn("THREE.Material: '"+t+"' parameter is undefined.");continue}const n=this[t];void 0!==n?n&&n.isColor?n.set(i):n&&n.isVector3&&i&&i.isVector3?n.copy(i):this[t]=i:console.warn("THREE."+this.type+": '"+t+"' is not a property of this material.")}}toJSON(e){const t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});const i={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function n(e){const t=[];for(const i in e){const n=e[i];delete n.metadata,t.push(n)}return t}if(i.uuid=this.uuid,i.type=this.type,""!==this.name&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),void 0!==this.roughness&&(i.roughness=this.roughness),void 0!==this.metalness&&(i.metalness=this.metalness),void 0!==this.sheen&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(i.shininess=this.shininess),void 0!==this.clearcoat&&(i.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(i.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(i.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(i.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(i.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(i.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(e).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(e).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(e).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(e).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(e).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(i.combine=this.combine)),void 0!==this.envMapIntensity&&(i.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(i.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&(i.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(i.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(i.size=this.size),null!==this.shadowSide&&(i.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(i.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(i.blending=this.blending),this.side!==r&&(i.side=this.side),this.vertexColors&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),!0===this.transparent&&(i.transparent=this.transparent),i.depthFunc=this.depthFunc,i.depthTest=this.depthTest,i.depthWrite=this.depthWrite,i.colorWrite=this.colorWrite,i.stencilWrite=this.stencilWrite,i.stencilWriteMask=this.stencilWriteMask,i.stencilFunc=this.stencilFunc,i.stencilRef=this.stencilRef,i.stencilFuncMask=this.stencilFuncMask,i.stencilFail=this.stencilFail,i.stencilZFail=this.stencilZFail,i.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(i.rotation=this.rotation),!0===this.polygonOffset&&(i.polygonOffset=!0),0!==this.polygonOffsetFactor&&(i.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(i.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(i.linewidth=this.linewidth),void 0!==this.dashSize&&(i.dashSize=this.dashSize),void 0!==this.gapSize&&(i.gapSize=this.gapSize),void 0!==this.scale&&(i.scale=this.scale),!0===this.dithering&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(i.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(i.premultipliedAlpha=this.premultipliedAlpha),!0===this.wireframe&&(i.wireframe=this.wireframe),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(i.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(i.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(i.flatShading=this.flatShading),!1===this.visible&&(i.visible=!1),!1===this.toneMapped&&(i.toneMapped=!1),!1===this.fog&&(i.fog=!1),"{}"!==JSON.stringify(this.userData)&&(i.userData=this.userData),t){const t=n(e.textures),s=n(e.images);t.length>0&&(i.textures=t),s.length>0&&(i.images=s)}return i}clone(){return(new this.constructor).copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let i=null;if(null!==t){const e=t.length;i=new Array(e);for(let n=0;n!==e;++n)i[n]=t[n].clone()}return this.clippingPlanes=i,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){!0===e&&this.version++}}class Mt extends St{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new K(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const Et=new ce,Ct=new N;class Pt{constructor(e,t,i){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=!0===i,this.usage=35044,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,t,i){e*=this.itemSize,i*=t.itemSize;for(let n=0,s=this.itemSize;n<s;n++)this.array[e+n]=t.array[i+n];return this}copyArray(e){return this.array.set(e),this}applyMatrix3(e){if(2===this.itemSize)for(let t=0,i=this.count;t<i;t++)Ct.fromBufferAttribute(this,t),Ct.applyMatrix3(e),this.setXY(t,Ct.x,Ct.y);else if(3===this.itemSize)for(let t=0,i=this.count;t<i;t++)Et.fromBufferAttribute(this,t),Et.applyMatrix3(e),this.setXYZ(t,Et.x,Et.y,Et.z);return this}applyMatrix4(e){for(let t=0,i=this.count;t<i;t++)Et.fromBufferAttribute(this,t),Et.applyMatrix4(e),this.setXYZ(t,Et.x,Et.y,Et.z);return this}applyNormalMatrix(e){for(let t=0,i=this.count;t<i;t++)Et.fromBufferAttribute(this,t),Et.applyNormalMatrix(e),this.setXYZ(t,Et.x,Et.y,Et.z);return this}transformDirection(e){for(let t=0,i=this.count;t<i;t++)Et.fromBufferAttribute(this,t),Et.transformDirection(e),this.setXYZ(t,Et.x,Et.y,Et.z);return this}set(e,t=0){return this.array.set(e,t),this}getX(e){let t=this.array[e*this.itemSize];return this.normalized&&(t=D(t,this.array)),t}setX(e,t){return this.normalized&&(t=R(t,this.array)),this.array[e*this.itemSize]=t,this}getY(e){let t=this.array[e*this.itemSize+1];return this.normalized&&(t=D(t,this.array)),t}setY(e,t){return this.normalized&&(t=R(t,this.array)),this.array[e*this.itemSize+1]=t,this}getZ(e){let t=this.array[e*this.itemSize+2];return this.normalized&&(t=D(t,this.array)),t}setZ(e,t){return this.normalized&&(t=R(t,this.array)),this.array[e*this.itemSize+2]=t,this}getW(e){let t=this.array[e*this.itemSize+3];return this.normalized&&(t=D(t,this.array)),t}setW(e,t){return this.normalized&&(t=R(t,this.array)),this.array[e*this.itemSize+3]=t,this}setXY(e,t,i){return e*=this.itemSize,this.normalized&&(t=R(t,this.array),i=R(i,this.array)),this.array[e+0]=t,this.array[e+1]=i,this}setXYZ(e,t,i,n){return e*=this.itemSize,this.normalized&&(t=R(t,this.array),i=R(i,this.array),n=R(n,this.array)),this.array[e+0]=t,this.array[e+1]=i,this.array[e+2]=n,this}setXYZW(e,t,i,n,s){return e*=this.itemSize,this.normalized&&(t=R(t,this.array),i=R(i,this.array),n=R(n,this.array),s=R(s,this.array)),this.array[e+0]=t,this.array[e+1]=i,this.array[e+2]=n,this.array[e+3]=s,this}onUpload(e){return this.onUploadCallback=e,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(e.name=this.name),35044!==this.usage&&(e.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(e.updateRange=this.updateRange),e}copyColorsArray(){console.error("THREE.BufferAttribute: copyColorsArray() was removed in r144.")}copyVector2sArray(){console.error("THREE.BufferAttribute: copyVector2sArray() was removed in r144.")}copyVector3sArray(){console.error("THREE.BufferAttribute: copyVector3sArray() was removed in r144.")}copyVector4sArray(){console.error("THREE.BufferAttribute: copyVector4sArray() was removed in r144.")}}class kt extends Pt{constructor(e,t,i){super(new Uint16Array(e),t,i)}}class At extends Pt{constructor(e,t,i){super(new Uint32Array(e),t,i)}}class Lt extends Pt{constructor(e,t,i){super(new Float32Array(e),t,i)}}let Ot=0;const It=new Be,Dt=new dt,Rt=new ce,zt=new ue,Nt=new ue,$t=new ce;class Ft extends x{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Ot++}),this.uuid=C(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(F(e)?At:kt)(e,1):this.index=e,this}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return void 0!==this.attributes[e]}addGroup(e,t,i=0){this.groups.push({start:e,count:t,materialIndex:i})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){const t=this.attributes.position;void 0!==t&&(t.applyMatrix4(e),t.needsUpdate=!0);const i=this.attributes.normal;if(void 0!==i){const t=(new $).getNormalMatrix(e);i.applyNormalMatrix(t),i.needsUpdate=!0}const n=this.attributes.tangent;return void 0!==n&&(n.transformDirection(e),n.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(e){return It.makeRotationFromQuaternion(e),this.applyMatrix4(It),this}rotateX(e){return It.makeRotationX(e),this.applyMatrix4(It),this}rotateY(e){return It.makeRotationY(e),this.applyMatrix4(It),this}rotateZ(e){return It.makeRotationZ(e),this.applyMatrix4(It),this}translate(e,t,i){return It.makeTranslation(e,t,i),this.applyMatrix4(It),this}scale(e,t,i){return It.makeScale(e,t,i),this.applyMatrix4(It),this}lookAt(e){return Dt.lookAt(e),Dt.updateMatrix(),this.applyMatrix4(Dt.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Rt).negate(),this.translate(Rt.x,Rt.y,Rt.z),this}setFromPoints(e){const t=[];for(let i=0,n=e.length;i<n;i++){const n=e[i];t.push(n.x,n.y,n.z||0)}return this.setAttribute("position",new Lt(t,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new ue);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "false".',this),void this.boundingBox.set(new ce(-1/0,-1/0,-1/0),new ce(1/0,1/0,1/0));if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,i=t.length;e<i;e++){const i=t[e];zt.setFromBufferAttribute(i),this.morphTargetsRelative?($t.addVectors(this.boundingBox.min,zt.min),this.boundingBox.expandByPoint($t),$t.addVectors(this.boundingBox.max,zt.max),this.boundingBox.expandByPoint($t)):(this.boundingBox.expandByPoint(zt.min),this.boundingBox.expandByPoint(zt.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Le);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "false".',this),void this.boundingSphere.set(new ce,1/0);if(e){const i=this.boundingSphere.center;if(zt.setFromBufferAttribute(e),t)for(let e=0,i=t.length;e<i;e++){const i=t[e];Nt.setFromBufferAttribute(i),this.morphTargetsRelative?($t.addVectors(zt.min,Nt.min),zt.expandByPoint($t),$t.addVectors(zt.max,Nt.max),zt.expandByPoint($t)):(zt.expandByPoint(Nt.min),zt.expandByPoint(Nt.max))}zt.getCenter(i);let n=0;for(let t=0,s=e.count;t<s;t++)$t.fromBufferAttribute(e,t),n=Math.max(n,i.distanceToSquared($t));if(t)for(let s=0,r=t.length;s<r;s++){const r=t[s],a=this.morphTargetsRelative;for(let t=0,s=r.count;t<s;t++)$t.fromBufferAttribute(r,t),a&&(Rt.fromBufferAttribute(e,t),$t.add(Rt)),n=Math.max(n,i.distanceToSquared($t))}this.boundingSphere.radius=Math.sqrt(n),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){const e=this.index,t=this.attributes;if(null===e||void 0===t.position||void 0===t.normal||void 0===t.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const i=e.array,n=t.position.array,s=t.normal.array,r=t.uv.array,a=n.length/3;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new Pt(new Float32Array(4*a),4));const l=this.getAttribute("tangent").array,o=[],c=[];for(let e=0;e<a;e++)o[e]=new ce,c[e]=new ce;const h=new ce,d=new ce,u=new ce,p=new N,f=new N,m=new N,g=new ce,v=new ce;function y(e,t,i){h.fromArray(n,3*e),d.fromArray(n,3*t),u.fromArray(n,3*i),p.fromArray(r,2*e),f.fromArray(r,2*t),m.fromArray(r,2*i),d.sub(h),u.sub(h),f.sub(p),m.sub(p);const s=1/(f.x*m.y-m.x*f.y);isFinite(s)&&(g.copy(d).multiplyScalar(m.y).addScaledVector(u,-f.y).multiplyScalar(s),v.copy(u).multiplyScalar(f.x).addScaledVector(d,-m.x).multiplyScalar(s),o[e].add(g),o[t].add(g),o[i].add(g),c[e].add(v),c[t].add(v),c[i].add(v))}let _=this.groups;0===_.length&&(_=[{start:0,count:i.length}]);for(let e=0,t=_.length;e<t;++e){const t=_[e],n=t.start;for(let e=n,s=n+t.count;e<s;e+=3)y(i[e+0],i[e+1],i[e+2])}const b=new ce,w=new ce,x=new ce,T=new ce;function S(e){x.fromArray(s,3*e),T.copy(x);const t=o[e];b.copy(t),b.sub(x.multiplyScalar(x.dot(t))).normalize(),w.crossVectors(T,t);const i=w.dot(c[e])<0?-1:1;l[4*e]=b.x,l[4*e+1]=b.y,l[4*e+2]=b.z,l[4*e+3]=i}for(let e=0,t=_.length;e<t;++e){const t=_[e],n=t.start;for(let e=n,s=n+t.count;e<s;e+=3)S(i[e+0]),S(i[e+1]),S(i[e+2])}}computeVertexNormals(){const e=this.index,t=this.getAttribute("position");if(void 0!==t){let i=this.getAttribute("normal");if(void 0===i)i=new Pt(new Float32Array(3*t.count),3),this.setAttribute("normal",i);else for(let e=0,t=i.count;e<t;e++)i.setXYZ(e,0,0,0);const n=new ce,s=new ce,r=new ce,a=new ce,l=new ce,o=new ce,c=new ce,h=new ce;if(e)for(let d=0,u=e.count;d<u;d+=3){const u=e.getX(d+0),p=e.getX(d+1),f=e.getX(d+2);n.fromBufferAttribute(t,u),s.fromBufferAttribute(t,p),r.fromBufferAttribute(t,f),c.subVectors(r,s),h.subVectors(n,s),c.cross(h),a.fromBufferAttribute(i,u),l.fromBufferAttribute(i,p),o.fromBufferAttribute(i,f),a.add(c),l.add(c),o.add(c),i.setXYZ(u,a.x,a.y,a.z),i.setXYZ(p,l.x,l.y,l.z),i.setXYZ(f,o.x,o.y,o.z)}else for(let e=0,a=t.count;e<a;e+=3)n.fromBufferAttribute(t,e+0),s.fromBufferAttribute(t,e+1),r.fromBufferAttribute(t,e+2),c.subVectors(r,s),h.subVectors(n,s),c.cross(h),i.setXYZ(e+0,c.x,c.y,c.z),i.setXYZ(e+1,c.x,c.y,c.z),i.setXYZ(e+2,c.x,c.y,c.z);this.normalizeNormals(),i.needsUpdate=!0}}merge(){return console.error("THREE.BufferGeometry.merge() has been removed. Use THREE.BufferGeometryUtils.mergeBufferGeometries() instead."),this}normalizeNormals(){const e=this.attributes.normal;for(let t=0,i=e.count;t<i;t++)$t.fromBufferAttribute(e,t),$t.normalize(),e.setXYZ(t,$t.x,$t.y,$t.z)}toNonIndexed(){function e(e,t){const i=e.array,n=e.itemSize,s=e.normalized,r=new i.constructor(t.length*n);let a=0,l=0;for(let s=0,o=t.length;s<o;s++){a=e.isInterleavedBufferAttribute?t[s]*e.data.stride+e.offset:t[s]*n;for(let e=0;e<n;e++)r[l++]=i[a++]}return new Pt(r,n,s)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const t=new Ft,i=this.index.array,n=this.attributes;for(const s in n){const r=e(n[s],i);t.setAttribute(s,r)}const s=this.morphAttributes;for(const n in s){const r=[],a=s[n];for(let t=0,n=a.length;t<n;t++){const n=e(a[t],i);r.push(n)}t.morphAttributes[n]=r}t.morphTargetsRelative=this.morphTargetsRelative;const r=this.groups;for(let e=0,i=r.length;e<i;e++){const i=r[e];t.addGroup(i.start,i.count,i.materialIndex)}return t}toJSON(){const e={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(e.uuid=this.uuid,e.type=this.type,""!==this.name&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),void 0!==this.parameters){const t=this.parameters;for(const i in t)void 0!==t[i]&&(e[i]=t[i]);return e}e.data={attributes:{}};const t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const i=this.attributes;for(const t in i){const n=i[t];e.data.attributes[t]=n.toJSON(e.data)}const n={};let s=!1;for(const t in this.morphAttributes){const i=this.morphAttributes[t],r=[];for(let t=0,n=i.length;t<n;t++){const n=i[t];r.push(n.toJSON(e.data))}r.length>0&&(n[t]=r,s=!0)}s&&(e.data.morphAttributes=n,e.data.morphTargetsRelative=this.morphTargetsRelative);const r=this.groups;r.length>0&&(e.data.groups=JSON.parse(JSON.stringify(r)));const a=this.boundingSphere;return null!==a&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return(new this.constructor).copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const i=e.index;null!==i&&this.setIndex(i.clone(t));const n=e.attributes;for(const e in n){const i=n[e];this.setAttribute(e,i.clone(t))}const s=e.morphAttributes;for(const e in s){const i=[],n=s[e];for(let e=0,s=n.length;e<s;e++)i.push(n[e].clone(t));this.morphAttributes[e]=i}this.morphTargetsRelative=e.morphTargetsRelative;const r=e.groups;for(let e=0,t=r.length;e<t;e++){const t=r[e];this.addGroup(t.start,t.count,t.materialIndex)}const a=e.boundingBox;null!==a&&(this.boundingBox=a.clone());const l=e.boundingSphere;return null!==l&&(this.boundingSphere=l.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,void 0!==e.parameters&&(this.parameters=Object.assign({},e.parameters)),this}dispose(){this.dispatchEvent({type:"dispose"})}}const Bt=new Be,Vt=new Fe,Ht=new Le,Ut=new ce,Gt=new ce,jt=new ce,Wt=new ce,Xt=new ce,qt=new ce,Yt=new ce,Zt=new ce,Kt=new ce,Jt=new N,Qt=new N,ei=new N,ti=new ce,ii=new ce;class ni extends dt{constructor(e=new Ft,t=new Mt){super(),this.isMesh=!0,this.type="Mesh",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),void 0!==e.morphTargetInfluences&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),void 0!==e.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=e.material,this.geometry=e.geometry,this}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const i=e[t[0]];if(void 0!==i){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=i.length;e<t;e++){const t=i[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}raycast(e,t){const i=this.geometry,n=this.material,s=this.matrixWorld;if(void 0===n)return;if(null===i.boundingSphere&&i.computeBoundingSphere(),Ht.copy(i.boundingSphere),Ht.applyMatrix4(s),!1===e.ray.intersectsSphere(Ht))return;if(Bt.copy(s).invert(),Vt.copy(e.ray).applyMatrix4(Bt),null!==i.boundingBox&&!1===Vt.intersectsBox(i.boundingBox))return;let r;const a=i.index,l=i.attributes.position,o=i.morphAttributes.position,c=i.morphTargetsRelative,h=i.attributes.uv,d=i.attributes.uv2,u=i.groups,p=i.drawRange;if(null!==a)if(Array.isArray(n))for(let i=0,s=u.length;i<s;i++){const s=u[i],f=n[s.materialIndex];for(let i=Math.max(s.start,p.start),n=Math.min(a.count,Math.min(s.start+s.count,p.start+p.count));i<n;i+=3){const n=a.getX(i),u=a.getX(i+1),p=a.getX(i+2);r=si(this,f,e,Vt,l,o,c,h,d,n,u,p),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=s.materialIndex,t.push(r))}}else{for(let i=Math.max(0,p.start),s=Math.min(a.count,p.start+p.count);i<s;i+=3){const s=a.getX(i),u=a.getX(i+1),p=a.getX(i+2);r=si(this,n,e,Vt,l,o,c,h,d,s,u,p),r&&(r.faceIndex=Math.floor(i/3),t.push(r))}}else if(void 0!==l)if(Array.isArray(n))for(let i=0,s=u.length;i<s;i++){const s=u[i],a=n[s.materialIndex];for(let i=Math.max(s.start,p.start),n=Math.min(l.count,Math.min(s.start+s.count,p.start+p.count));i<n;i+=3){r=si(this,a,e,Vt,l,o,c,h,d,i,i+1,i+2),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=s.materialIndex,t.push(r))}}else{for(let i=Math.max(0,p.start),s=Math.min(l.count,p.start+p.count);i<s;i+=3){r=si(this,n,e,Vt,l,o,c,h,d,i,i+1,i+2),r&&(r.faceIndex=Math.floor(i/3),t.push(r))}}}}function si(e,t,i,n,s,r,l,o,c,h,d,u){Ut.fromBufferAttribute(s,h),Gt.fromBufferAttribute(s,d),jt.fromBufferAttribute(s,u);const p=e.morphTargetInfluences;if(r&&p){Yt.set(0,0,0),Zt.set(0,0,0),Kt.set(0,0,0);for(let e=0,t=r.length;e<t;e++){const t=p[e],i=r[e];0!==t&&(Wt.fromBufferAttribute(i,h),Xt.fromBufferAttribute(i,d),qt.fromBufferAttribute(i,u),l?(Yt.addScaledVector(Wt,t),Zt.addScaledVector(Xt,t),Kt.addScaledVector(qt,t)):(Yt.addScaledVector(Wt.sub(Ut),t),Zt.addScaledVector(Xt.sub(Gt),t),Kt.addScaledVector(qt.sub(jt),t)))}Ut.add(Yt),Gt.add(Zt),jt.add(Kt)}e.isSkinnedMesh&&(e.boneTransform(h,Ut),e.boneTransform(d,Gt),e.boneTransform(u,jt));const f=function(e,t,i,n,s,r,l,o){let c;if(c=1===t.side?n.intersectTriangle(l,r,s,!0,o):n.intersectTriangle(s,r,l,t.side!==a,o),null===c)return null;ii.copy(o),ii.applyMatrix4(e.matrixWorld);const h=i.ray.origin.distanceTo(ii);return h<i.near||h>i.far?null:{distance:h,point:ii.clone(),object:e}}(e,t,i,n,Ut,Gt,jt,ti);if(f){o&&(Jt.fromBufferAttribute(o,h),Qt.fromBufferAttribute(o,d),ei.fromBufferAttribute(o,u),f.uv=xt.getUV(ti,Ut,Gt,jt,Jt,Qt,ei,new N)),c&&(Jt.fromBufferAttribute(c,h),Qt.fromBufferAttribute(c,d),ei.fromBufferAttribute(c,u),f.uv2=xt.getUV(ti,Ut,Gt,jt,Jt,Qt,ei,new N));const e={a:h,b:d,c:u,normal:new ce,materialIndex:0};xt.getNormal(Ut,Gt,jt,e.normal),f.face=e}return f}class ri extends Ft{constructor(e=1,t=1,i=1,n=1,s=1,r=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:i,widthSegments:n,heightSegments:s,depthSegments:r};const a=this;n=Math.floor(n),s=Math.floor(s),r=Math.floor(r);const l=[],o=[],c=[],h=[];let d=0,u=0;function p(e,t,i,n,s,r,p,f,m,g,v){const y=r/m,_=p/g,b=r/2,w=p/2,x=f/2,T=m+1,S=g+1;let M=0,E=0;const C=new ce;for(let r=0;r<S;r++){const a=r*_-w;for(let l=0;l<T;l++){const d=l*y-b;C[e]=d*n,C[t]=a*s,C[i]=x,o.push(C.x,C.y,C.z),C[e]=0,C[t]=0,C[i]=f>0?1:-1,c.push(C.x,C.y,C.z),h.push(l/m),h.push(1-r/g),M+=1}}for(let e=0;e<g;e++)for(let t=0;t<m;t++){const i=d+t+T*e,n=d+t+T*(e+1),s=d+(t+1)+T*(e+1),r=d+(t+1)+T*e;l.push(i,n,r),l.push(n,s,r),E+=6}a.addGroup(u,E,v),u+=E,d+=M}p("z","y","x",-1,-1,i,t,e,r,s,0),p("z","y","x",1,-1,i,t,-e,r,s,1),p("x","z","y",1,1,e,i,t,n,r,2),p("x","z","y",1,-1,e,i,-t,n,r,3),p("x","y","z",1,-1,e,t,i,n,s,4),p("x","y","z",-1,-1,e,t,-i,n,s,5),this.setIndex(l),this.setAttribute("position",new Lt(o,3)),this.setAttribute("normal",new Lt(c,3)),this.setAttribute("uv",new Lt(h,2))}static fromJSON(e){return new ri(e.width,e.height,e.depth,e.widthSegments,e.heightSegments,e.depthSegments)}}function ai(e){const t={};for(const i in e){t[i]={};for(const n in e[i]){const s=e[i][n];s&&(s.isColor||s.isMatrix3||s.isMatrix4||s.isVector2||s.isVector3||s.isVector4||s.isTexture||s.isQuaternion)?t[i][n]=s.clone():Array.isArray(s)?t[i][n]=s.slice():t[i][n]=s}}return t}function li(e){const t={};for(let i=0;i<e.length;i++){const n=ai(e[i]);for(const e in n)t[e]=n[e]}return t}const oi={clone:ai,merge:li};class ci extends St{constructor(e){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==e&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=ai(e.uniforms),this.uniformsGroups=function(e){const t=[];for(let i=0;i<e.length;i++)t.push(e[i].clone());return t}(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){const t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(const i in this.uniforms){const n=this.uniforms[i].value;n&&n.isTexture?t.uniforms[i]={type:"t",value:n.toJSON(e).uuid}:n&&n.isColor?t.uniforms[i]={type:"c",value:n.getHex()}:n&&n.isVector2?t.uniforms[i]={type:"v2",value:n.toArray()}:n&&n.isVector3?t.uniforms[i]={type:"v3",value:n.toArray()}:n&&n.isVector4?t.uniforms[i]={type:"v4",value:n.toArray()}:n&&n.isMatrix3?t.uniforms[i]={type:"m3",value:n.toArray()}:n&&n.isMatrix4?t.uniforms[i]={type:"m4",value:n.toArray()}:t.uniforms[i]={value:n}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;const i={};for(const e in this.extensions)!0===this.extensions[e]&&(i[e]=!0);return Object.keys(i).length>0&&(t.extensions=i),t}}class hi extends dt{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Be,this.projectionMatrix=new Be,this.projectionMatrixInverse=new Be}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}class di extends hi{constructor(e=50,t=1,i=.1,n=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=i,this.far=n,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=2*E*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(.5*M*this.fov);return.5*this.getFilmHeight()/e}getEffectiveFOV(){return 2*E*Math.atan(Math.tan(.5*M*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,i,n,s,r){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=s,this.view.height=r,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(.5*M*this.fov)/this.zoom,i=2*t,n=this.aspect*i,s=-.5*n;const r=this.view;if(null!==this.view&&this.view.enabled){const e=r.fullWidth,a=r.fullHeight;s+=r.offsetX*n/e,t-=r.offsetY*i/a,n*=r.width/e,i*=r.height/a}const a=this.filmOffset;0!==a&&(s+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+n,t,t-i,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}class ui extends dt{constructor(e,t,i){super(),this.type="CubeCamera",this.renderTarget=i;const n=new di(90,1,e,t);n.layers=this.layers,n.up.set(0,-1,0),n.lookAt(new ce(1,0,0)),this.add(n);const s=new di(90,1,e,t);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new ce(-1,0,0)),this.add(s);const r=new di(90,1,e,t);r.layers=this.layers,r.up.set(0,0,1),r.lookAt(new ce(0,1,0)),this.add(r);const a=new di(90,1,e,t);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new ce(0,-1,0)),this.add(a);const l=new di(90,1,e,t);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new ce(0,0,1)),this.add(l);const o=new di(90,1,e,t);o.layers=this.layers,o.up.set(0,-1,0),o.lookAt(new ce(0,0,-1)),this.add(o)}update(e,t){null===this.parent&&this.updateMatrixWorld();const i=this.renderTarget,[n,s,r,a,l,o]=this.children,c=e.getRenderTarget(),h=e.toneMapping,d=e.xr.enabled;e.toneMapping=0,e.xr.enabled=!1;const u=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,e.setRenderTarget(i,0),e.render(t,n),e.setRenderTarget(i,1),e.render(t,s),e.setRenderTarget(i,2),e.render(t,r),e.setRenderTarget(i,3),e.render(t,a),e.setRenderTarget(i,4),e.render(t,l),i.texture.generateMipmaps=u,e.setRenderTarget(i,5),e.render(t,o),e.setRenderTarget(c),e.toneMapping=h,e.xr.enabled=d,i.texture.needsPMREMUpdate=!0}}class pi extends ne{constructor(e,t,i,n,s,r,a,l,o,c){super(e=void 0!==e?e:[],t=void 0!==t?t:301,i,n,s,r,a,l,o,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class fi extends re{constructor(e,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const i={width:e,height:e,depth:1},n=[i,i,i,i,i,i];this.texture=new pi(n,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==t.generateMipmaps&&t.generateMipmaps,this.texture.minFilter=void 0!==t.minFilter?t.minFilter:p}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const i={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",fragmentShader:"\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t"},n=new ri(5,5,5),s=new ci({name:"CubemapFromEquirect",uniforms:ai(i.uniforms),vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:1,blending:0});s.uniforms.tEquirect.value=t;const r=new ni(n,s),a=t.minFilter;t.minFilter===m&&(t.minFilter=p);return new ui(1,10,this).update(e,r),t.minFilter=a,r.geometry.dispose(),r.material.dispose(),this}clear(e,t,i,n){const s=e.getRenderTarget();for(let s=0;s<6;s++)e.setRenderTarget(this,s),e.clear(t,i,n);e.setRenderTarget(s)}}const mi=new ce,gi=new ce,vi=new $;class yi{constructor(e=new ce(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,i,n){return this.normal.set(e,t,i),this.constant=n,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,i){const n=mi.subVectors(i,t).cross(gi.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(n,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,t){const i=e.delta(mi),n=this.normal.dot(i);if(0===n)return 0===this.distanceToPoint(e.start)?t.copy(e.start):null;const s=-(e.start.dot(this.normal)+this.constant)/n;return s<0||s>1?null:t.copy(i).multiplyScalar(s).add(e.start)}intersectsLine(e){const t=this.distanceToPoint(e.start),i=this.distanceToPoint(e.end);return t<0&&i>0||i<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const i=t||vi.getNormalMatrix(e),n=this.coplanarPoint(mi).applyMatrix4(e),s=this.normal.applyMatrix3(i).normalize();return this.constant=-n.dot(s),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return(new this.constructor).copy(this)}}const _i=new Le,bi=new ce;class wi{constructor(e=new yi,t=new yi,i=new yi,n=new yi,s=new yi,r=new yi){this.planes=[e,t,i,n,s,r]}set(e,t,i,n,s,r){const a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(i),a[3].copy(n),a[4].copy(s),a[5].copy(r),this}copy(e){const t=this.planes;for(let i=0;i<6;i++)t[i].copy(e.planes[i]);return this}setFromProjectionMatrix(e){const t=this.planes,i=e.elements,n=i[0],s=i[1],r=i[2],a=i[3],l=i[4],o=i[5],c=i[6],h=i[7],d=i[8],u=i[9],p=i[10],f=i[11],m=i[12],g=i[13],v=i[14],y=i[15];return t[0].setComponents(a-n,h-l,f-d,y-m).normalize(),t[1].setComponents(a+n,h+l,f+d,y+m).normalize(),t[2].setComponents(a+s,h+o,f+u,y+g).normalize(),t[3].setComponents(a-s,h-o,f-u,y-g).normalize(),t[4].setComponents(a-r,h-c,f-p,y-v).normalize(),t[5].setComponents(a+r,h+c,f+p,y+v).normalize(),this}intersectsObject(e){const t=e.geometry;return null===t.boundingSphere&&t.computeBoundingSphere(),_i.copy(t.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(_i)}intersectsSprite(e){return _i.center.set(0,0,0),_i.radius=.7071067811865476,_i.applyMatrix4(e.matrixWorld),this.intersectsSphere(_i)}intersectsSphere(e){const t=this.planes,i=e.center,n=-e.radius;for(let e=0;e<6;e++){if(t[e].distanceToPoint(i)<n)return!1}return!0}intersectsBox(e){const t=this.planes;for(let i=0;i<6;i++){const n=t[i];if(bi.x=n.normal.x>0?e.max.x:e.min.x,bi.y=n.normal.y>0?e.max.y:e.min.y,bi.z=n.normal.z>0?e.max.z:e.min.z,n.distanceToPoint(bi)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let i=0;i<6;i++)if(t[i].distanceToPoint(e)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}function xi(){let e=null,t=!1,i=null,n=null;function s(t,r){i(t,r),n=e.requestAnimationFrame(s)}return{start:function(){!0!==t&&null!==i&&(n=e.requestAnimationFrame(s),t=!0)},stop:function(){e.cancelAnimationFrame(n),t=!1},setAnimationLoop:function(e){i=e},setContext:function(t){e=t}}}function Ti(e,t){const i=t.isWebGL2,n=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),n.get(e)},remove:function(t){t.isInterleavedBufferAttribute&&(t=t.data);const i=n.get(t);i&&(e.deleteBuffer(i.buffer),n.delete(t))},update:function(t,s){if(t.isGLBufferAttribute){const e=n.get(t);return void((!e||e.version<t.version)&&n.set(t,{buffer:t.buffer,type:t.type,bytesPerElement:t.elementSize,version:t.version}))}t.isInterleavedBufferAttribute&&(t=t.data);const r=n.get(t);void 0===r?n.set(t,function(t,n){const s=t.array,r=t.usage,a=e.createBuffer();let l;if(e.bindBuffer(n,a),e.bufferData(n,s,r),t.onUploadCallback(),s instanceof Float32Array)l=5126;else if(s instanceof Uint16Array)if(t.isFloat16BufferAttribute){if(!i)throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");l=5131}else l=5123;else if(s instanceof Int16Array)l=5122;else if(s instanceof Uint32Array)l=5125;else if(s instanceof Int32Array)l=5124;else if(s instanceof Int8Array)l=5120;else if(s instanceof Uint8Array)l=5121;else{if(!(s instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+s);l=5121}return{buffer:a,type:l,bytesPerElement:s.BYTES_PER_ELEMENT,version:t.version}}(t,s)):r.version<t.version&&(!function(t,n,s){const r=n.array,a=n.updateRange;e.bindBuffer(s,t),-1===a.count?e.bufferSubData(s,0,r):(i?e.bufferSubData(s,a.offset*r.BYTES_PER_ELEMENT,r,a.offset,a.count):e.bufferSubData(s,a.offset*r.BYTES_PER_ELEMENT,r.subarray(a.offset,a.offset+a.count)),a.count=-1)}(r.buffer,t,s),r.version=t.version)}}}class Si extends Ft{constructor(e=1,t=1,i=1,n=1){super(),this.type="PlaneGeometry",this.parameters={width:e,height:t,widthSegments:i,heightSegments:n};const s=e/2,r=t/2,a=Math.floor(i),l=Math.floor(n),o=a+1,c=l+1,h=e/a,d=t/l,u=[],p=[],f=[],m=[];for(let e=0;e<c;e++){const t=e*d-r;for(let i=0;i<o;i++){const n=i*h-s;p.push(n,-t,0),f.push(0,0,1),m.push(i/a),m.push(1-e/l)}}for(let e=0;e<l;e++)for(let t=0;t<a;t++){const i=t+o*e,n=t+o*(e+1),s=t+1+o*(e+1),r=t+1+o*e;u.push(i,n,r),u.push(n,s,r)}this.setIndex(u),this.setAttribute("position",new Lt(p,3)),this.setAttribute("normal",new Lt(f,3)),this.setAttribute("uv",new Lt(m,2))}static fromJSON(e){return new Si(e.width,e.height,e.widthSegments,e.heightSegments)}}const Mi={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n\tif ( diffuseColor.a < alphaTest ) discard;\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( V * D );\n}\n#ifdef USE_IRIDESCENCE\n\tvec3 BRDF_GGX_Iridescence( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float iridescence, const in vec3 iridescenceFresnel, const in float roughness ) {\n\t\tfloat alpha = pow2( roughness );\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\t\tvec3 F = mix( F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence );\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t\treturn F * ( V * D );\n\t}\n#endif\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n\tfloat alpha = pow2( roughness );\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\treturn sheenColor * ( D * V );\n}\n#endif",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\t}\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\t}\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\t}\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\t}\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\t\tvec3 I;\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq < 0.0 ) {\n\t\t\t return vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat R21 = R12;\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m <= 2; ++ m ) {\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\t\t}\n\t\treturn max( I, vec3( 0.0 ) );\n\t}\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = dFdx( surf_pos.xyz );\n\t\tvec3 vSigmaY = dFdy( surf_pos.xyz );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#pragma unroll_loop_end\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvarying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat luminance( const in vec3 rgb ) {\n\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\n\treturn dot( weights, rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\tvec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n\t\tif ( face > 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\t\t#ifdef texture2DGradEXT\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n\t\t#else\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\t\t#endif\n\t}\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_v0 0.339\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_v1 0.276\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_v4 0.046\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_v5 0.016\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_v6 0.0038\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= cubeUV_r1 ) {\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\t\t} else if ( roughness >= cubeUV_r4 ) {\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\t\t} else if ( roughness >= cubeUV_r5 ) {\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\t\t} else if ( roughness >= cubeUV_r6 ) {\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\tmat3 m = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n\ttransformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"vec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\t#else\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\n\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\treflectedLight.indirectDiffuse += lightMapIrradiance;\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert\n#define Material_LightProbeLOD( material )\t(0)",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\treturn irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\t#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\t\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\t\tif ( cutoffDistance > 0.0 ) {\n\t\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t\t}\n\t\treturn distanceFalloff;\n\t#else\n\t\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\t\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t\t}\n\t\treturn 1.0;\n\t#endif\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\tif ( spotAttenuation > 0.0 ) {\n\t\t\tfloat lightDistance = length( lVector );\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t\t} else {\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\treturn irradiance;\n\t}\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )\t(0)",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n\tmaterial.ior = ior;\n\t#ifdef SPECULAR\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\t\t#ifdef USE_SPECULARINTENSITYMAP\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a;\n\t\t#endif\n\t\t#ifdef USE_SPECULARCOLORMAP\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vUv ).rgb;\n\t\t#endif\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\t#else\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\t#endif\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_IRIDESCENCE\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\t#ifdef USE_IRIDESCENCEMAP\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vUv ).r;\n\t#endif\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum;\n\t#else\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\t#endif\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheenColor;\n\t#ifdef USE_SHEENCOLORMAP\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vUv ).rgb;\n\t#endif\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\t#ifdef USE_SHEENROUGHNESSMAP\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a;\n\t#endif\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n};\nvec3 clearcoatSpecular = vec3( 0.0 );\nvec3 sheenSpecular = vec3( 0.0 );\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat r2 = roughness * roughness;\n\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\treturn saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\treturn fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\treturn specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\t#ifdef USE_IRIDESCENCE\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\t#else\n\t\tvec3 Fr = specularColor;\n\t#endif\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.roughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3(    0, 1,    0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\treflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness );\n\t#else\n\t\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness );\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\n\t#endif\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\t#ifdef USE_IRIDESCENCE\n\t\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\t#endif\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\treflectedLight.indirectSpecular += radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef USE_CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence > 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometry, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometry.normal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 sampledDiffuseColor = texture2D( map, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\n\t#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n\tdiffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tuniform mat3 uvTransform;\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t#if defined( USE_COLOR_ALPHA )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\t\t#elif defined( USE_COLOR )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\t\t#endif\n\t}\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\t\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\t\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\t\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n\t#endif\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\t\tuniform sampler2DArray morphTargetsTexture;\n\t\tuniform ivec2 morphTargetsTextureSize;\n\t\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\t\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\t\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\t\t}\n\t#else\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\tuniform float morphTargetInfluences[ 8 ];\n\t\t#else\n\t\t\tuniform float morphTargetInfluences[ 4 ];\n\t\t#endif\n\t#endif\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\t\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\t\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\t\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\t\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\t\t\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t\t#endif\n\t#endif\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = dFdx( vViewPosition );\n\tvec3 fdy = dFdy( vViewPosition );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * faceDirection;\n\t\t\tbitangent = bitangent * faceDirection;\n\t\t#endif\n\t\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;",normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\n\t\treturn normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\n\t}\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\t#ifdef USE_TANGENT\n\t\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\n\t#endif\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif",output_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha + 0.1;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n  varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n  uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n  uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n  varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",shadowmap_vertex:"#if defined( USE_SHADOWMAP ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_COORDS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\n\t\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\tvec4 shadowWorldPosition;\n\t#endif\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_COORDS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\tuniform int boneTextureSize;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tfloat j = i * 4.0;\n\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\ty = dy * ( y + 0.5 );\n\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\treturn bone;\n\t}\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tmaterial.transmission *= texture2D( transmissionMap, vUv ).r;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tmaterial.thickness *= texture2D( thicknessMap, vUv ).g;\n\t#endif\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\tvec4 transmission = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tuniform sampler2D transmissionMap;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tuniform sampler2D thicknessMap;\n\t#endif\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\tvarying vec3 vWorldPosition;\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\t}\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\t}\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\t\tfloat framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\t#ifdef texture2DLodEXT\n\t\t\treturn texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod );\n\t\t#else\n\t\t\treturn texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod );\n\t\t#endif\n\t}\n\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( isinf( attenuationDistance ) ) {\n\t\t\treturn radiance;\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance * radiance;\n\t\t}\n\t}\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\trefractionCoords += 1.0;\n\t\trefractionCoords /= 2.0;\n\t\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\n\t}\n#endif",uv_pars_fragment:"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\t#ifdef UVS_VERTEX_ONLY\n\t\tvec2 vUv;\n\t#else\n\t\tvarying vec2 vUv;\n\t#endif\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n\tuniform mat3 uv2Transform;\n#endif",uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tgl_FragColor = texture2D( t2D, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tgl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w );\n\t#endif\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",cube_frag:"#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\tvec3 vReflect = vWorldDirection;\n\t#include <envmap_fragment>\n\tgl_FragColor = envColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#else\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define IOR\n\t#define SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n\tuniform float ior;\n#endif\n#ifdef SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\t#ifdef USE_SPECULARINTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n\t#ifdef USE_SPECULARCOLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\t#ifdef USE_SHEENCOLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\t#ifdef USE_SHEENROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\nvarying vec3 vViewPosition;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <bsdfs>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include <transmission_fragment>\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\t#ifdef USE_SHEEN\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;\n\t#endif\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}"},Ei={common:{diffuse:{value:new K(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new $},uv2Transform:{value:new $},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new N(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new K(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new K(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new $}},sprite:{diffuse:{value:new K(16777215)},opacity:{value:1},center:{value:new N(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new $}}},Ci={basic:{uniforms:li([Ei.common,Ei.specularmap,Ei.envmap,Ei.aomap,Ei.lightmap,Ei.fog]),vertexShader:Mi.meshbasic_vert,fragmentShader:Mi.meshbasic_frag},lambert:{uniforms:li([Ei.common,Ei.specularmap,Ei.envmap,Ei.aomap,Ei.lightmap,Ei.emissivemap,Ei.bumpmap,Ei.normalmap,Ei.displacementmap,Ei.fog,Ei.lights,{emissive:{value:new K(0)}}]),vertexShader:Mi.meshlambert_vert,fragmentShader:Mi.meshlambert_frag},phong:{uniforms:li([Ei.common,Ei.specularmap,Ei.envmap,Ei.aomap,Ei.lightmap,Ei.emissivemap,Ei.bumpmap,Ei.normalmap,Ei.displacementmap,Ei.fog,Ei.lights,{emissive:{value:new K(0)},specular:{value:new K(1118481)},shininess:{value:30}}]),vertexShader:Mi.meshphong_vert,fragmentShader:Mi.meshphong_frag},standard:{uniforms:li([Ei.common,Ei.envmap,Ei.aomap,Ei.lightmap,Ei.emissivemap,Ei.bumpmap,Ei.normalmap,Ei.displacementmap,Ei.roughnessmap,Ei.metalnessmap,Ei.fog,Ei.lights,{emissive:{value:new K(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Mi.meshphysical_vert,fragmentShader:Mi.meshphysical_frag},toon:{uniforms:li([Ei.common,Ei.aomap,Ei.lightmap,Ei.emissivemap,Ei.bumpmap,Ei.normalmap,Ei.displacementmap,Ei.gradientmap,Ei.fog,Ei.lights,{emissive:{value:new K(0)}}]),vertexShader:Mi.meshtoon_vert,fragmentShader:Mi.meshtoon_frag},matcap:{uniforms:li([Ei.common,Ei.bumpmap,Ei.normalmap,Ei.displacementmap,Ei.fog,{matcap:{value:null}}]),vertexShader:Mi.meshmatcap_vert,fragmentShader:Mi.meshmatcap_frag},points:{uniforms:li([Ei.points,Ei.fog]),vertexShader:Mi.points_vert,fragmentShader:Mi.points_frag},dashed:{uniforms:li([Ei.common,Ei.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Mi.linedashed_vert,fragmentShader:Mi.linedashed_frag},depth:{uniforms:li([Ei.common,Ei.displacementmap]),vertexShader:Mi.depth_vert,fragmentShader:Mi.depth_frag},normal:{uniforms:li([Ei.common,Ei.bumpmap,Ei.normalmap,Ei.displacementmap,{opacity:{value:1}}]),vertexShader:Mi.meshnormal_vert,fragmentShader:Mi.meshnormal_frag},sprite:{uniforms:li([Ei.sprite,Ei.fog]),vertexShader:Mi.sprite_vert,fragmentShader:Mi.sprite_frag},background:{uniforms:{uvTransform:{value:new $},t2D:{value:null}},vertexShader:Mi.background_vert,fragmentShader:Mi.background_frag},cube:{uniforms:li([Ei.envmap,{opacity:{value:1}}]),vertexShader:Mi.cube_vert,fragmentShader:Mi.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Mi.equirect_vert,fragmentShader:Mi.equirect_frag},distanceRGBA:{uniforms:li([Ei.common,Ei.displacementmap,{referencePosition:{value:new ce},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Mi.distanceRGBA_vert,fragmentShader:Mi.distanceRGBA_frag},shadow:{uniforms:li([Ei.lights,Ei.fog,{color:{value:new K(0)},opacity:{value:1}}]),vertexShader:Mi.shadow_vert,fragmentShader:Mi.shadow_frag}};function Pi(e,t,i,n,s,a){const l=new K(0);let o,c,h=!0===s?0:1,d=null,u=0,p=null;function f(e,t){i.buffers.color.setClear(e.r,e.g,e.b,t,a)}return{getClearColor:function(){return l},setClearColor:function(e,t=1){l.set(e),h=t,f(l,h)},getClearAlpha:function(){return h},setClearAlpha:function(e){h=e,f(l,h)},render:function(i,s){let a=!1,m=!0===s.isScene?s.background:null;m&&m.isTexture&&(m=t.get(m));const g=e.xr,v=g.getSession&&g.getSession();v&&"additive"===v.environmentBlendMode&&(m=null),null===m?f(l,h):m&&m.isColor&&(f(m,1),a=!0),(e.autoClear||a)&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),m&&(m.isCubeTexture||306===m.mapping)?(void 0===c&&(c=new ni(new ri(1,1,1),new ci({name:"BackgroundCubeMaterial",uniforms:ai(Ci.cube.uniforms),vertexShader:Ci.cube.vertexShader,fragmentShader:Ci.cube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),c.geometry.deleteAttribute("uv"),c.onBeforeRender=function(e,t,i){this.matrixWorld.copyPosition(i.matrixWorld)},Object.defineProperty(c.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),n.update(c)),c.material.uniforms.envMap.value=m,c.material.uniforms.flipEnvMap.value=m.isCubeTexture&&!1===m.isRenderTargetTexture?-1:1,d===m&&u===m.version&&p===e.toneMapping||(c.material.needsUpdate=!0,d=m,u=m.version,p=e.toneMapping),c.layers.enableAll(),i.unshift(c,c.geometry,c.material,0,0,null)):m&&m.isTexture&&(void 0===o&&(o=new ni(new Si(2,2),new ci({name:"BackgroundMaterial",uniforms:ai(Ci.background.uniforms),vertexShader:Ci.background.vertexShader,fragmentShader:Ci.background.fragmentShader,side:r,depthTest:!1,depthWrite:!1,fog:!1})),o.geometry.deleteAttribute("normal"),Object.defineProperty(o.material,"map",{get:function(){return this.uniforms.t2D.value}}),n.update(o)),o.material.uniforms.t2D.value=m,!0===m.matrixAutoUpdate&&m.updateMatrix(),o.material.uniforms.uvTransform.value.copy(m.matrix),d===m&&u===m.version&&p===e.toneMapping||(o.material.needsUpdate=!0,d=m,u=m.version,p=e.toneMapping),o.layers.enableAll(),i.unshift(o,o.geometry,o.material,0,0,null))}}}function ki(e,t,i,n){const s=e.getParameter(34921),r=n.isWebGL2?null:t.get("OES_vertex_array_object"),a=n.isWebGL2||null!==r,l={},o=p(null);let c=o,h=!1;function d(t){return n.isWebGL2?e.bindVertexArray(t):r.bindVertexArrayOES(t)}function u(t){return n.isWebGL2?e.deleteVertexArray(t):r.deleteVertexArrayOES(t)}function p(e){const t=[],i=[],n=[];for(let e=0;e<s;e++)t[e]=0,i[e]=0,n[e]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:i,attributeDivisors:n,object:e,attributes:{},index:null}}function f(){const e=c.newAttributes;for(let t=0,i=e.length;t<i;t++)e[t]=0}function m(e){g(e,0)}function g(i,s){const r=c.newAttributes,a=c.enabledAttributes,l=c.attributeDivisors;if(r[i]=1,0===a[i]&&(e.enableVertexAttribArray(i),a[i]=1),l[i]!==s){(n.isWebGL2?e:t.get("ANGLE_instanced_arrays"))[n.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](i,s),l[i]=s}}function v(){const t=c.newAttributes,i=c.enabledAttributes;for(let n=0,s=i.length;n<s;n++)i[n]!==t[n]&&(e.disableVertexAttribArray(n),i[n]=0)}function y(t,i,s,r,a,l){!0!==n.isWebGL2||5124!==s&&5125!==s?e.vertexAttribPointer(t,i,s,r,a,l):e.vertexAttribIPointer(t,i,s,a,l)}function _(){b(),h=!0,c!==o&&(c=o,d(c.object))}function b(){o.geometry=null,o.program=null,o.wireframe=!1}return{setup:function(s,o,u,_,b){let w=!1;if(a){const t=function(t,i,s){const a=!0===s.wireframe;let o=l[t.id];void 0===o&&(o={},l[t.id]=o);let c=o[i.id];void 0===c&&(c={},o[i.id]=c);let h=c[a];void 0===h&&(h=p(n.isWebGL2?e.createVertexArray():r.createVertexArrayOES()),c[a]=h);return h}(_,u,o);c!==t&&(c=t,d(c.object)),w=function(e,t,i,n){const s=c.attributes,r=t.attributes;let a=0;const l=i.getAttributes();for(const t in l){if(l[t].location>=0){const i=s[t];let n=r[t];if(void 0===n&&("instanceMatrix"===t&&e.instanceMatrix&&(n=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(n=e.instanceColor)),void 0===i)return!0;if(i.attribute!==n)return!0;if(n&&i.data!==n.data)return!0;a++}}return c.attributesNum!==a||c.index!==n}(s,_,u,b),w&&function(e,t,i,n){const s={},r=t.attributes;let a=0;const l=i.getAttributes();for(const t in l){if(l[t].location>=0){let i=r[t];void 0===i&&("instanceMatrix"===t&&e.instanceMatrix&&(i=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(i=e.instanceColor));const n={};n.attribute=i,i&&i.data&&(n.data=i.data),s[t]=n,a++}}c.attributes=s,c.attributesNum=a,c.index=n}(s,_,u,b)}else{const e=!0===o.wireframe;c.geometry===_.id&&c.program===u.id&&c.wireframe===e||(c.geometry=_.id,c.program=u.id,c.wireframe=e,w=!0)}null!==b&&i.update(b,34963),(w||h)&&(h=!1,function(s,r,a,l){if(!1===n.isWebGL2&&(s.isInstancedMesh||l.isInstancedBufferGeometry)&&null===t.get("ANGLE_instanced_arrays"))return;f();const o=l.attributes,c=a.getAttributes(),h=r.defaultAttributeValues;for(const t in c){const n=c[t];if(n.location>=0){let r=o[t];if(void 0===r&&("instanceMatrix"===t&&s.instanceMatrix&&(r=s.instanceMatrix),"instanceColor"===t&&s.instanceColor&&(r=s.instanceColor)),void 0!==r){const t=r.normalized,a=r.itemSize,o=i.get(r);if(void 0===o)continue;const c=o.buffer,h=o.type,d=o.bytesPerElement;if(r.isInterleavedBufferAttribute){const i=r.data,o=i.stride,u=r.offset;if(i.isInstancedInterleavedBuffer){for(let e=0;e<n.locationSize;e++)g(n.location+e,i.meshPerAttribute);!0!==s.isInstancedMesh&&void 0===l._maxInstanceCount&&(l._maxInstanceCount=i.meshPerAttribute*i.count)}else for(let e=0;e<n.locationSize;e++)m(n.location+e);e.bindBuffer(34962,c);for(let e=0;e<n.locationSize;e++)y(n.location+e,a/n.locationSize,h,t,o*d,(u+a/n.locationSize*e)*d)}else{if(r.isInstancedBufferAttribute){for(let e=0;e<n.locationSize;e++)g(n.location+e,r.meshPerAttribute);!0!==s.isInstancedMesh&&void 0===l._maxInstanceCount&&(l._maxInstanceCount=r.meshPerAttribute*r.count)}else for(let e=0;e<n.locationSize;e++)m(n.location+e);e.bindBuffer(34962,c);for(let e=0;e<n.locationSize;e++)y(n.location+e,a/n.locationSize,h,t,a*d,a/n.locationSize*e*d)}}else if(void 0!==h){const i=h[t];if(void 0!==i)switch(i.length){case 2:e.vertexAttrib2fv(n.location,i);break;case 3:e.vertexAttrib3fv(n.location,i);break;case 4:e.vertexAttrib4fv(n.location,i);break;default:e.vertexAttrib1fv(n.location,i)}}}}v()}(s,o,u,_),null!==b&&e.bindBuffer(34963,i.get(b).buffer))},reset:_,resetDefaultState:b,dispose:function(){_();for(const e in l){const t=l[e];for(const e in t){const i=t[e];for(const e in i)u(i[e].object),delete i[e];delete t[e]}delete l[e]}},releaseStatesOfGeometry:function(e){if(void 0===l[e.id])return;const t=l[e.id];for(const e in t){const i=t[e];for(const e in i)u(i[e].object),delete i[e];delete t[e]}delete l[e.id]},releaseStatesOfProgram:function(e){for(const t in l){const i=l[t];if(void 0===i[e.id])continue;const n=i[e.id];for(const e in n)u(n[e].object),delete n[e];delete i[e.id]}},initAttributes:f,enableAttribute:m,disableUnusedAttributes:v}}function Ai(e,t,i,n){const s=n.isWebGL2;let r;this.setMode=function(e){r=e},this.render=function(t,n){e.drawArrays(r,t,n),i.update(n,r,1)},this.renderInstances=function(n,a,l){if(0===l)return;let o,c;if(s)o=e,c="drawArraysInstanced";else if(o=t.get("ANGLE_instanced_arrays"),c="drawArraysInstancedANGLE",null===o)return void console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");o[c](r,n,a,l),i.update(a,r,l)}}function Li(e,t,i){let n;function s(t){if("highp"===t){if(e.getShaderPrecisionFormat(35633,36338).precision>0&&e.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(35633,36337).precision>0&&e.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const r="undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||"undefined"!=typeof WebGL2ComputeRenderingContext&&e instanceof WebGL2ComputeRenderingContext;let a=void 0!==i.precision?i.precision:"highp";const l=s(a);l!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",l,"instead."),a=l);const o=r||t.has("WEBGL_draw_buffers"),c=!0===i.logarithmicDepthBuffer,h=e.getParameter(34930),d=e.getParameter(35660),u=e.getParameter(3379),p=e.getParameter(34076),f=e.getParameter(34921),m=e.getParameter(36347),g=e.getParameter(36348),v=e.getParameter(36349),y=d>0,_=r||t.has("OES_texture_float");return{isWebGL2:r,drawBuffers:o,getMaxAnisotropy:function(){if(void 0!==n)return n;if(!0===t.has("EXT_texture_filter_anisotropic")){const i=t.get("EXT_texture_filter_anisotropic");n=e.getParameter(i.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else n=0;return n},getMaxPrecision:s,precision:a,logarithmicDepthBuffer:c,maxTextures:h,maxVertexTextures:d,maxTextureSize:u,maxCubemapSize:p,maxAttributes:f,maxVertexUniforms:m,maxVaryings:g,maxFragmentUniforms:v,vertexTextures:y,floatFragmentTextures:_,floatVertexTextures:y&&_,maxSamples:r?e.getParameter(36183):0}}function Oi(e){const t=this;let i=null,n=0,s=!1,r=!1;const a=new yi,l=new $,o={value:null,needsUpdate:!1};function c(){o.value!==i&&(o.value=i,o.needsUpdate=n>0),t.numPlanes=n,t.numIntersection=0}function h(e,i,n,s){const r=null!==e?e.length:0;let c=null;if(0!==r){if(c=o.value,!0!==s||null===c){const t=n+4*r,s=i.matrixWorldInverse;l.getNormalMatrix(s),(null===c||c.length<t)&&(c=new Float32Array(t));for(let t=0,i=n;t!==r;++t,i+=4)a.copy(e[t]).applyMatrix4(s,l),a.normal.toArray(c,i),c[i+3]=a.constant}o.value=c,o.needsUpdate=!0}return t.numPlanes=r,t.numIntersection=0,c}this.uniform=o,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t,r){const a=0!==e.length||t||0!==n||s;return s=t,i=h(e,r,0),n=e.length,a},this.beginShadows=function(){r=!0,h(null)},this.endShadows=function(){r=!1,c()},this.setState=function(t,a,l){const d=t.clippingPlanes,u=t.clipIntersection,p=t.clipShadows,f=e.get(t);if(!s||null===d||0===d.length||r&&!p)r?h(null):c();else{const e=r?0:n,t=4*e;let s=f.clippingState||null;o.value=s,s=h(d,a,t,l);for(let e=0;e!==t;++e)s[e]=i[e];f.clippingState=s,this.numIntersection=u?this.numPlanes:0,this.numPlanes+=e}}}function Ii(e){let t=new WeakMap;function i(e,t){return 303===t?e.mapping=301:304===t&&(e.mapping=302),e}function n(e){const i=e.target;i.removeEventListener("dispose",n);const s=t.get(i);void 0!==s&&(t.delete(i),s.dispose())}return{get:function(s){if(s&&s.isTexture&&!1===s.isRenderTargetTexture){const r=s.mapping;if(303===r||304===r){if(t.has(s)){return i(t.get(s).texture,s.mapping)}{const r=s.image;if(r&&r.height>0){const a=new fi(r.height/2);return a.fromEquirectangularTexture(e,s),t.set(s,a),s.addEventListener("dispose",n),i(a.texture,s.mapping)}return null}}}return s},dispose:function(){t=new WeakMap}}}Ci.physical={uniforms:li([Ci.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new N(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new K(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new N},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new K(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new K(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Mi.meshphysical_vert,fragmentShader:Mi.meshphysical_frag};class Di extends hi{constructor(e=-1,t=1,i=1,n=-1,s=.1,r=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=i,this.bottom=n,this.near=s,this.far=r,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=null===e.view?null:Object.assign({},e.view),this}setViewOffset(e,t,i,n,s,r){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=s,this.view.height=r,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),i=(this.right+this.left)/2,n=(this.top+this.bottom)/2;let s=i-e,r=i+e,a=n+t,l=n-t;if(null!==this.view&&this.view.enabled){const e=(this.right-this.left)/this.view.fullWidth/this.zoom,t=(this.top-this.bottom)/this.view.fullHeight/this.zoom;s+=e*this.view.offsetX,r=s+e*this.view.width,a-=t*this.view.offsetY,l=a-t*this.view.height}this.projectionMatrix.makeOrthographic(s,r,a,l,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,null!==this.view&&(t.object.view=Object.assign({},this.view)),t}}const Ri=[.125,.215,.35,.446,.526,.582],zi=new Di,Ni=new K;let $i=null;const Fi=(1+Math.sqrt(5))/2,Bi=1/Fi,Vi=[new ce(1,1,1),new ce(-1,1,1),new ce(1,1,-1),new ce(-1,1,-1),new ce(0,Fi,Bi),new ce(0,Fi,-Bi),new ce(Bi,0,Fi),new ce(-Bi,0,Fi),new ce(Fi,Bi,0),new ce(-Fi,Bi,0)];class Hi{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,n=100){$i=this._renderer.getRenderTarget(),this._setSize(256);const s=this._allocateTargets();return s.depthBuffer=!0,this._sceneToCubeUV(e,i,n,s),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=Wi(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=ji(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodPlanes.length;e++)this._lodPlanes[e].dispose()}_cleanup(e){this._renderer.setRenderTarget($i),e.scissorTest=!1,Gi(e,0,0,e.width,e.height)}_fromTexture(e,t){301===e.mapping||302===e.mapping?this._setSize(0===e.image.length?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),$i=this._renderer.getRenderTarget();const i=t||this._allocateTargets();return this._textureToCubeUV(e,i),this._applyPMREM(i),this._cleanup(i),i}_allocateTargets(){const e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,i={magFilter:p,minFilter:p,generateMipmaps:!1,type:1016,format:1023,encoding:3e3,depthBuffer:!1},n=Ui(e,t,i);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==e){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=Ui(e,t,i);const{_lodMax:n}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(e){const t=[],i=[],n=[];let s=e;const r=e-4+1+Ri.length;for(let a=0;a<r;a++){const r=Math.pow(2,s);i.push(r);let l=1/r;a>e-4?l=Ri[a-e+4-1]:0===a&&(l=0),n.push(l);const o=1/(r-2),c=-o,h=1+o,d=[c,c,h,c,h,h,c,c,h,h,c,h],u=6,p=6,f=3,m=2,g=1,v=new Float32Array(f*p*u),y=new Float32Array(m*p*u),_=new Float32Array(g*p*u);for(let e=0;e<u;e++){const t=e%3*2/3-1,i=e>2?0:-1,n=[t,i,0,t+2/3,i,0,t+2/3,i+1,0,t,i,0,t+2/3,i+1,0,t,i+1,0];v.set(n,f*p*e),y.set(d,m*p*e);const s=[e,e,e,e,e,e];_.set(s,g*p*e)}const b=new Ft;b.setAttribute("position",new Pt(v,f)),b.setAttribute("uv",new Pt(y,m)),b.setAttribute("faceIndex",new Pt(_,g)),t.push(b),s>4&&s--}return{lodPlanes:t,sizeLods:i,sigmas:n}}(n)),this._blurMaterial=function(e,t,i){const n=new Float32Array(20),s=new ce(0,1,0);return new ci({name:"SphericalGaussianBlur",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/i,CUBEUV_MAX_MIP:e+".0"},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:n},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:s}},vertexShader:Xi(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:0,depthTest:!1,depthWrite:!1})}(n,e,t)}return n}_compileMaterial(e){const t=new ni(this._lodPlanes[0],e);this._renderer.compile(t,zi)}_sceneToCubeUV(e,t,i,n){const s=new di(90,1,t,i),r=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],l=this._renderer,o=l.autoClear,c=l.toneMapping;l.getClearColor(Ni),l.toneMapping=0,l.autoClear=!1;const h=new Mt({name:"PMREM.Background",side:1,depthWrite:!1,depthTest:!1}),d=new ni(new ri,h);let u=!1;const p=e.background;p?p.isColor&&(h.color.copy(p),e.background=null,u=!0):(h.color.copy(Ni),u=!0);for(let t=0;t<6;t++){const i=t%3;0===i?(s.up.set(0,r[t],0),s.lookAt(a[t],0,0)):1===i?(s.up.set(0,0,r[t]),s.lookAt(0,a[t],0)):(s.up.set(0,r[t],0),s.lookAt(0,0,a[t]));const o=this._cubeSize;Gi(n,i*o,t>2?o:0,o,o),l.setRenderTarget(n),u&&l.render(d,s),l.render(e,s)}d.geometry.dispose(),d.material.dispose(),l.toneMapping=c,l.autoClear=o,e.background=p}_textureToCubeUV(e,t){const i=this._renderer,n=301===e.mapping||302===e.mapping;n?(null===this._cubemapMaterial&&(this._cubemapMaterial=Wi()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=ji());const s=n?this._cubemapMaterial:this._equirectMaterial,r=new ni(this._lodPlanes[0],s);s.uniforms.envMap.value=e;const a=this._cubeSize;Gi(t,0,0,3*a,2*a),i.setRenderTarget(t),i.render(r,zi)}_applyPMREM(e){const t=this._renderer,i=t.autoClear;t.autoClear=!1;for(let t=1;t<this._lodPlanes.length;t++){const i=Math.sqrt(this._sigmas[t]*this._sigmas[t]-this._sigmas[t-1]*this._sigmas[t-1]),n=Vi[(t-1)%Vi.length];this._blur(e,t-1,t,i,n)}t.autoClear=i}_blur(e,t,i,n,s){const r=this._pingPongRenderTarget;this._halfBlur(e,r,t,i,n,"latitudinal",s),this._halfBlur(r,e,i,i,n,"longitudinal",s)}_halfBlur(e,t,i,n,s,r,a){const l=this._renderer,o=this._blurMaterial;"latitudinal"!==r&&"longitudinal"!==r&&console.error("blur direction must be either latitudinal or longitudinal!");const c=new ni(this._lodPlanes[n],o),h=o.uniforms,d=this._sizeLods[i]-1,u=isFinite(s)?Math.PI/(2*d):2*Math.PI/39,p=s/u,f=isFinite(s)?1+Math.floor(3*p):20;f>20&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${f} samples when the maximum is set to 20`);const m=[];let g=0;for(let e=0;e<20;++e){const t=e/p,i=Math.exp(-t*t/2);m.push(i),0===e?g+=i:e<f&&(g+=2*i)}for(let e=0;e<m.length;e++)m[e]=m[e]/g;h.envMap.value=e.texture,h.samples.value=f,h.weights.value=m,h.latitudinal.value="latitudinal"===r,a&&(h.poleAxis.value=a);const{_lodMax:v}=this;h.dTheta.value=u,h.mipInt.value=v-i;const y=this._sizeLods[n];Gi(t,3*y*(n>v-4?n-v+4:0),4*(this._cubeSize-y),3*y,2*y),l.setRenderTarget(t),l.render(c,zi)}}function Ui(e,t,i){const n=new re(e,t,i);return n.texture.mapping=306,n.texture.name="PMREM.cubeUv",n.scissorTest=!0,n}function Gi(e,t,i,n,s){e.viewport.set(t,i,n,s),e.scissor.set(t,i,n,s)}function ji(){return new ci({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:Xi(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:0,depthTest:!1,depthWrite:!1})}function Wi(){return new ci({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:Xi(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:0,depthTest:!1,depthWrite:!1})}function Xi(){return"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t"}function qi(e){let t=new WeakMap,i=null;function n(e){const i=e.target;i.removeEventListener("dispose",n);const s=t.get(i);void 0!==s&&(t.delete(i),s.dispose())}return{get:function(s){if(s&&s.isTexture){const r=s.mapping,a=303===r||304===r,l=301===r||302===r;if(a||l){if(s.isRenderTargetTexture&&!0===s.needsPMREMUpdate){s.needsPMREMUpdate=!1;let n=t.get(s);return null===i&&(i=new Hi(e)),n=a?i.fromEquirectangular(s,n):i.fromCubemap(s,n),t.set(s,n),n.texture}if(t.has(s))return t.get(s).texture;{const r=s.image;if(a&&r&&r.height>0||l&&r&&function(e){let t=0;for(let i=0;i<6;i++)void 0!==e[i]&&t++;return 6===t}(r)){null===i&&(i=new Hi(e));const r=a?i.fromEquirectangular(s):i.fromCubemap(s);return t.set(s,r),s.addEventListener("dispose",n),r.texture}return null}}}return s},dispose:function(){t=new WeakMap,null!==i&&(i.dispose(),i=null)}}}function Yi(e){const t={};function i(i){if(void 0!==t[i])return t[i];let n;switch(i){case"WEBGL_depth_texture":n=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":n=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":n=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":n=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:n=e.getExtension(i)}return t[i]=n,n}return{has:function(e){return null!==i(e)},init:function(e){e.isWebGL2?i("EXT_color_buffer_float"):(i("WEBGL_depth_texture"),i("OES_texture_float"),i("OES_texture_half_float"),i("OES_texture_half_float_linear"),i("OES_standard_derivatives"),i("OES_element_index_uint"),i("OES_vertex_array_object"),i("ANGLE_instanced_arrays")),i("OES_texture_float_linear"),i("EXT_color_buffer_half_float"),i("WEBGL_multisampled_render_to_texture")},get:function(e){const t=i(e);return null===t&&console.warn("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function Zi(e,t,i,n){const s={},r=new WeakMap;function a(e){const l=e.target;null!==l.index&&t.remove(l.index);for(const e in l.attributes)t.remove(l.attributes[e]);l.removeEventListener("dispose",a),delete s[l.id];const o=r.get(l);o&&(t.remove(o),r.delete(l)),n.releaseStatesOfGeometry(l),!0===l.isInstancedBufferGeometry&&delete l._maxInstanceCount,i.memory.geometries--}function l(e){const i=[],n=e.index,s=e.attributes.position;let a=0;if(null!==n){const e=n.array;a=n.version;for(let t=0,n=e.length;t<n;t+=3){const n=e[t+0],s=e[t+1],r=e[t+2];i.push(n,s,s,r,r,n)}}else{const e=s.array;a=s.version;for(let t=0,n=e.length/3-1;t<n;t+=3){const e=t+0,n=t+1,s=t+2;i.push(e,n,n,s,s,e)}}const l=new(F(i)?At:kt)(i,1);l.version=a;const o=r.get(e);o&&t.remove(o),r.set(e,l)}return{get:function(e,t){return!0===s[t.id]||(t.addEventListener("dispose",a),s[t.id]=!0,i.memory.geometries++),t},update:function(e){const i=e.attributes;for(const e in i)t.update(i[e],34962);const n=e.morphAttributes;for(const e in n){const i=n[e];for(let e=0,n=i.length;e<n;e++)t.update(i[e],34962)}},getWireframeAttribute:function(e){const t=r.get(e);if(t){const i=e.index;null!==i&&t.version<i.version&&l(e)}else l(e);return r.get(e)}}}function Ki(e,t,i,n){const s=n.isWebGL2;let r,a,l;this.setMode=function(e){r=e},this.setIndex=function(e){a=e.type,l=e.bytesPerElement},this.render=function(t,n){e.drawElements(r,n,a,t*l),i.update(n,r,1)},this.renderInstances=function(n,o,c){if(0===c)return;let h,d;if(s)h=e,d="drawElementsInstanced";else if(h=t.get("ANGLE_instanced_arrays"),d="drawElementsInstancedANGLE",null===h)return void console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");h[d](r,o,a,n*l,c),i.update(o,r,c)}}function Ji(e){const t={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:t,programs:null,autoReset:!0,reset:function(){t.frame++,t.calls=0,t.triangles=0,t.points=0,t.lines=0},update:function(e,i,n){switch(t.calls++,i){case 4:t.triangles+=n*(e/3);break;case 1:t.lines+=n*(e/2);break;case 3:t.lines+=n*(e-1);break;case 2:t.lines+=n*e;break;case 0:t.points+=n*e;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",i)}}}}function Qi(e,t){return e[0]-t[0]}function en(e,t){return Math.abs(t[1])-Math.abs(e[1])}function tn(e,t,i){const n={},s=new Float32Array(8),r=new WeakMap,a=new se,l=[];for(let e=0;e<8;e++)l[e]=[e,0];return{update:function(o,c,h,d){const u=o.morphTargetInfluences;if(!0===t.isWebGL2){const n=c.morphAttributes.position||c.morphAttributes.normal||c.morphAttributes.color,s=void 0!==n?n.length:0;let l=r.get(c);if(void 0===l||l.count!==s){void 0!==l&&l.texture.dispose();const e=void 0!==c.morphAttributes.position,i=void 0!==c.morphAttributes.normal,n=void 0!==c.morphAttributes.color,o=c.morphAttributes.position||[],h=c.morphAttributes.normal||[],d=c.morphAttributes.color||[];let u=0;!0===e&&(u=1),!0===i&&(u=2),!0===n&&(u=3);let p=c.attributes.position.count*u,f=1;p>t.maxTextureSize&&(f=Math.ceil(p/t.maxTextureSize),p=t.maxTextureSize);const m=new Float32Array(p*f*4*s),g=new ae(m,p,f,s);g.type=1015,g.needsUpdate=!0;const v=4*u;for(let t=0;t<s;t++){const s=o[t],r=h[t],l=d[t],c=p*f*4*t;for(let t=0;t<s.count;t++){const o=t*v;!0===e&&(a.fromBufferAttribute(s,t),m[c+o+0]=a.x,m[c+o+1]=a.y,m[c+o+2]=a.z,m[c+o+3]=0),!0===i&&(a.fromBufferAttribute(r,t),m[c+o+4]=a.x,m[c+o+5]=a.y,m[c+o+6]=a.z,m[c+o+7]=0),!0===n&&(a.fromBufferAttribute(l,t),m[c+o+8]=a.x,m[c+o+9]=a.y,m[c+o+10]=a.z,m[c+o+11]=4===l.itemSize?a.w:1)}}l={count:s,texture:g,size:new N(p,f)},r.set(c,l),c.addEventListener("dispose",(function e(){g.dispose(),r.delete(c),c.removeEventListener("dispose",e)}))}let o=0;for(let e=0;e<u.length;e++)o+=u[e];const h=c.morphTargetsRelative?1:1-o;d.getUniforms().setValue(e,"morphTargetBaseInfluence",h),d.getUniforms().setValue(e,"morphTargetInfluences",u),d.getUniforms().setValue(e,"morphTargetsTexture",l.texture,i),d.getUniforms().setValue(e,"morphTargetsTextureSize",l.size)}else{const t=void 0===u?0:u.length;let i=n[c.id];if(void 0===i||i.length!==t){i=[];for(let e=0;e<t;e++)i[e]=[e,0];n[c.id]=i}for(let e=0;e<t;e++){const t=i[e];t[0]=e,t[1]=u[e]}i.sort(en);for(let e=0;e<8;e++)e<t&&i[e][1]?(l[e][0]=i[e][0],l[e][1]=i[e][1]):(l[e][0]=Number.MAX_SAFE_INTEGER,l[e][1]=0);l.sort(Qi);const r=c.morphAttributes.position,a=c.morphAttributes.normal;let o=0;for(let e=0;e<8;e++){const t=l[e],i=t[0],n=t[1];i!==Number.MAX_SAFE_INTEGER&&n?(r&&c.getAttribute("morphTarget"+e)!==r[i]&&c.setAttribute("morphTarget"+e,r[i]),a&&c.getAttribute("morphNormal"+e)!==a[i]&&c.setAttribute("morphNormal"+e,a[i]),s[e]=n,o+=n):(r&&!0===c.hasAttribute("morphTarget"+e)&&c.deleteAttribute("morphTarget"+e),a&&!0===c.hasAttribute("morphNormal"+e)&&c.deleteAttribute("morphNormal"+e),s[e]=0)}const h=c.morphTargetsRelative?1:1-o;d.getUniforms().setValue(e,"morphTargetBaseInfluence",h),d.getUniforms().setValue(e,"morphTargetInfluences",s)}}}}function nn(e,t,i,n){let s=new WeakMap;function r(e){const t=e.target;t.removeEventListener("dispose",r),i.remove(t.instanceMatrix),null!==t.instanceColor&&i.remove(t.instanceColor)}return{update:function(e){const a=n.render.frame,l=e.geometry,o=t.get(e,l);return s.get(o)!==a&&(t.update(o),s.set(o,a)),e.isInstancedMesh&&(!1===e.hasEventListener("dispose",r)&&e.addEventListener("dispose",r),i.update(e.instanceMatrix,34962),null!==e.instanceColor&&i.update(e.instanceColor,34962)),o},dispose:function(){s=new WeakMap}}}const sn=new ne,rn=new ae,an=new le,ln=new pi,on=[],cn=[],hn=new Float32Array(16),dn=new Float32Array(9),un=new Float32Array(4);function pn(e,t,i){const n=e[0];if(n<=0||n>0)return e;const s=t*i;let r=on[s];if(void 0===r&&(r=new Float32Array(s),on[s]=r),0!==t){n.toArray(r,0);for(let n=1,s=0;n!==t;++n)s+=i,e[n].toArray(r,s)}return r}function fn(e,t){if(e.length!==t.length)return!1;for(let i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0}function mn(e,t){for(let i=0,n=t.length;i<n;i++)e[i]=t[i]}function gn(e,t){let i=cn[t];void 0===i&&(i=new Int32Array(t),cn[t]=i);for(let n=0;n!==t;++n)i[n]=e.allocateTextureUnit();return i}function vn(e,t){const i=this.cache;i[0]!==t&&(e.uniform1f(this.addr,t),i[0]=t)}function yn(e,t){const i=this.cache;if(void 0!==t.x)i[0]===t.x&&i[1]===t.y||(e.uniform2f(this.addr,t.x,t.y),i[0]=t.x,i[1]=t.y);else{if(fn(i,t))return;e.uniform2fv(this.addr,t),mn(i,t)}}function _n(e,t){const i=this.cache;if(void 0!==t.x)i[0]===t.x&&i[1]===t.y&&i[2]===t.z||(e.uniform3f(this.addr,t.x,t.y,t.z),i[0]=t.x,i[1]=t.y,i[2]=t.z);else if(void 0!==t.r)i[0]===t.r&&i[1]===t.g&&i[2]===t.b||(e.uniform3f(this.addr,t.r,t.g,t.b),i[0]=t.r,i[1]=t.g,i[2]=t.b);else{if(fn(i,t))return;e.uniform3fv(this.addr,t),mn(i,t)}}function bn(e,t){const i=this.cache;if(void 0!==t.x)i[0]===t.x&&i[1]===t.y&&i[2]===t.z&&i[3]===t.w||(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),i[0]=t.x,i[1]=t.y,i[2]=t.z,i[3]=t.w);else{if(fn(i,t))return;e.uniform4fv(this.addr,t),mn(i,t)}}function wn(e,t){const i=this.cache,n=t.elements;if(void 0===n){if(fn(i,t))return;e.uniformMatrix2fv(this.addr,!1,t),mn(i,t)}else{if(fn(i,n))return;un.set(n),e.uniformMatrix2fv(this.addr,!1,un),mn(i,n)}}function xn(e,t){const i=this.cache,n=t.elements;if(void 0===n){if(fn(i,t))return;e.uniformMatrix3fv(this.addr,!1,t),mn(i,t)}else{if(fn(i,n))return;dn.set(n),e.uniformMatrix3fv(this.addr,!1,dn),mn(i,n)}}function Tn(e,t){const i=this.cache,n=t.elements;if(void 0===n){if(fn(i,t))return;e.uniformMatrix4fv(this.addr,!1,t),mn(i,t)}else{if(fn(i,n))return;hn.set(n),e.uniformMatrix4fv(this.addr,!1,hn),mn(i,n)}}function Sn(e,t){const i=this.cache;i[0]!==t&&(e.uniform1i(this.addr,t),i[0]=t)}function Mn(e,t){const i=this.cache;fn(i,t)||(e.uniform2iv(this.addr,t),mn(i,t))}function En(e,t){const i=this.cache;fn(i,t)||(e.uniform3iv(this.addr,t),mn(i,t))}function Cn(e,t){const i=this.cache;fn(i,t)||(e.uniform4iv(this.addr,t),mn(i,t))}function Pn(e,t){const i=this.cache;i[0]!==t&&(e.uniform1ui(this.addr,t),i[0]=t)}function kn(e,t){const i=this.cache;fn(i,t)||(e.uniform2uiv(this.addr,t),mn(i,t))}function An(e,t){const i=this.cache;fn(i,t)||(e.uniform3uiv(this.addr,t),mn(i,t))}function Ln(e,t){const i=this.cache;fn(i,t)||(e.uniform4uiv(this.addr,t),mn(i,t))}function On(e,t,i){const n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTexture2D(t||sn,s)}function In(e,t,i){const n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTexture3D(t||an,s)}function Dn(e,t,i){const n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTextureCube(t||ln,s)}function Rn(e,t,i){const n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTexture2DArray(t||rn,s)}function zn(e,t){e.uniform1fv(this.addr,t)}function Nn(e,t){const i=pn(t,this.size,2);e.uniform2fv(this.addr,i)}function $n(e,t){const i=pn(t,this.size,3);e.uniform3fv(this.addr,i)}function Fn(e,t){const i=pn(t,this.size,4);e.uniform4fv(this.addr,i)}function Bn(e,t){const i=pn(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,i)}function Vn(e,t){const i=pn(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,i)}function Hn(e,t){const i=pn(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,i)}function Un(e,t){e.uniform1iv(this.addr,t)}function Gn(e,t){e.uniform2iv(this.addr,t)}function jn(e,t){e.uniform3iv(this.addr,t)}function Wn(e,t){e.uniform4iv(this.addr,t)}function Xn(e,t){e.uniform1uiv(this.addr,t)}function qn(e,t){e.uniform2uiv(this.addr,t)}function Yn(e,t){e.uniform3uiv(this.addr,t)}function Zn(e,t){e.uniform4uiv(this.addr,t)}function Kn(e,t,i){const n=this.cache,s=t.length,r=gn(i,s);fn(n,r)||(e.uniform1iv(this.addr,r),mn(n,r));for(let e=0;e!==s;++e)i.setTexture2D(t[e]||sn,r[e])}function Jn(e,t,i){const n=this.cache,s=t.length,r=gn(i,s);fn(n,r)||(e.uniform1iv(this.addr,r),mn(n,r));for(let e=0;e!==s;++e)i.setTexture3D(t[e]||an,r[e])}function Qn(e,t,i){const n=this.cache,s=t.length,r=gn(i,s);fn(n,r)||(e.uniform1iv(this.addr,r),mn(n,r));for(let e=0;e!==s;++e)i.setTextureCube(t[e]||ln,r[e])}function es(e,t,i){const n=this.cache,s=t.length,r=gn(i,s);fn(n,r)||(e.uniform1iv(this.addr,r),mn(n,r));for(let e=0;e!==s;++e)i.setTexture2DArray(t[e]||rn,r[e])}class ts{constructor(e,t,i){this.id=e,this.addr=i,this.cache=[],this.setValue=function(e){switch(e){case 5126:return vn;case 35664:return yn;case 35665:return _n;case 35666:return bn;case 35674:return wn;case 35675:return xn;case 35676:return Tn;case 5124:case 35670:return Sn;case 35667:case 35671:return Mn;case 35668:case 35672:return En;case 35669:case 35673:return Cn;case 5125:return Pn;case 36294:return kn;case 36295:return An;case 36296:return Ln;case 35678:case 36198:case 36298:case 36306:case 35682:return On;case 35679:case 36299:case 36307:return In;case 35680:case 36300:case 36308:case 36293:return Dn;case 36289:case 36303:case 36311:case 36292:return Rn}}(t.type)}}class is{constructor(e,t,i){this.id=e,this.addr=i,this.cache=[],this.size=t.size,this.setValue=function(e){switch(e){case 5126:return zn;case 35664:return Nn;case 35665:return $n;case 35666:return Fn;case 35674:return Bn;case 35675:return Vn;case 35676:return Hn;case 5124:case 35670:return Un;case 35667:case 35671:return Gn;case 35668:case 35672:return jn;case 35669:case 35673:return Wn;case 5125:return Xn;case 36294:return qn;case 36295:return Yn;case 36296:return Zn;case 35678:case 36198:case 36298:case 36306:case 35682:return Kn;case 35679:case 36299:case 36307:return Jn;case 35680:case 36300:case 36308:case 36293:return Qn;case 36289:case 36303:case 36311:case 36292:return es}}(t.type)}}class ns{constructor(e){this.id=e,this.seq=[],this.map={}}setValue(e,t,i){const n=this.seq;for(let s=0,r=n.length;s!==r;++s){const r=n[s];r.setValue(e,t[r.id],i)}}}const ss=/(\w+)(\])?(\[|\.)?/g;function rs(e,t){e.seq.push(t),e.map[t.id]=t}function as(e,t,i){const n=e.name,s=n.length;for(ss.lastIndex=0;;){const r=ss.exec(n),a=ss.lastIndex;let l=r[1];const o="]"===r[2],c=r[3];if(o&&(l|=0),void 0===c||"["===c&&a+2===s){rs(i,void 0===c?new ts(l,e,t):new is(l,e,t));break}{let e=i.map[l];void 0===e&&(e=new ns(l),rs(i,e)),i=e}}}class ls{constructor(e,t){this.seq=[],this.map={};const i=e.getProgramParameter(t,35718);for(let n=0;n<i;++n){const i=e.getActiveUniform(t,n);as(i,e.getUniformLocation(t,i.name),this)}}setValue(e,t,i,n){const s=this.map[t];void 0!==s&&s.setValue(e,i,n)}setOptional(e,t,i){const n=t[i];void 0!==n&&this.setValue(e,i,n)}static upload(e,t,i,n){for(let s=0,r=t.length;s!==r;++s){const r=t[s],a=i[r.id];!1!==a.needsUpdate&&r.setValue(e,a.value,n)}}static seqWithValue(e,t){const i=[];for(let n=0,s=e.length;n!==s;++n){const s=e[n];s.id in t&&i.push(s)}return i}}function os(e,t,i){const n=e.createShader(t);return e.shaderSource(n,i),e.compileShader(n),n}let cs=0;function hs(e,t,i){const n=e.getShaderParameter(t,35713),s=e.getShaderInfoLog(t).trim();if(n&&""===s)return"";const r=/ERROR: 0:(\d+)/.exec(s);if(r){const n=parseInt(r[1]);return i.toUpperCase()+"\n\n"+s+"\n\n"+function(e,t){const i=e.split("\n"),n=[],s=Math.max(t-6,0),r=Math.min(t+6,i.length);for(let e=s;e<r;e++){const s=e+1;n.push(`${s===t?">":" "} ${s}: ${i[e]}`)}return n.join("\n")}(e.getShaderSource(t),n)}return s}function ds(e,t){const i=function(e){switch(e){case 3e3:return["Linear","( value )"];case b:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",e),["Linear","( value )"]}}(t);return"vec4 "+e+"( vec4 value ) { return LinearTo"+i[0]+i[1]+"; }"}function us(e,t){let i;switch(t){case 1:i="Linear";break;case 2:i="Reinhard";break;case 3:i="OptimizedCineon";break;case 4:i="ACESFilmic";break;case 5:i="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),i="Linear"}return"vec3 "+e+"( vec3 color ) { return "+i+"ToneMapping( color ); }"}function ps(e){return""!==e}function fs(e,t){const i=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,i).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function ms(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const gs=/^[ \t]*#include +<([\w\d./]+)>/gm;function vs(e){return e.replace(gs,ys)}function ys(e,t){const i=Mi[t];if(void 0===i)throw new Error("Can not resolve #include <"+t+">");return vs(i)}const _s=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function bs(e){return e.replace(_s,ws)}function ws(e,t,i,n){let s="";for(let e=parseInt(t);e<parseInt(i);e++)s+=n.replace(/\[\s*i\s*\]/g,"[ "+e+" ]").replace(/UNROLLED_LOOP_INDEX/g,e);return s}function xs(e){let t="precision "+e.precision+" float;\nprecision "+e.precision+" int;";return"highp"===e.precision?t+="\n#define HIGH_PRECISION":"mediump"===e.precision?t+="\n#define MEDIUM_PRECISION":"lowp"===e.precision&&(t+="\n#define LOW_PRECISION"),t}function Ts(e,t,i,n){const s=e.getContext(),r=i.defines;let a=i.vertexShader,l=i.fragmentShader;const o=function(e){let t="SHADOWMAP_TYPE_BASIC";return 1===e.shadowMapType?t="SHADOWMAP_TYPE_PCF":2===e.shadowMapType?t="SHADOWMAP_TYPE_PCF_SOFT":3===e.shadowMapType&&(t="SHADOWMAP_TYPE_VSM"),t}(i),c=function(e){let t="ENVMAP_TYPE_CUBE";if(e.envMap)switch(e.envMapMode){case 301:case 302:t="ENVMAP_TYPE_CUBE";break;case 306:t="ENVMAP_TYPE_CUBE_UV"}return t}(i),h=function(e){let t="ENVMAP_MODE_REFLECTION";if(e.envMap)switch(e.envMapMode){case 302:t="ENVMAP_MODE_REFRACTION"}return t}(i),d=function(e){let t="ENVMAP_BLENDING_NONE";if(e.envMap)switch(e.combine){case 0:t="ENVMAP_BLENDING_MULTIPLY";break;case 1:t="ENVMAP_BLENDING_MIX";break;case 2:t="ENVMAP_BLENDING_ADD"}return t}(i),u=function(e){const t=e.envMapCubeUVHeight;if(null===t)return null;const i=Math.log2(t)-2,n=1/t;return{texelWidth:1/(3*Math.max(Math.pow(2,i),112)),texelHeight:n,maxMip:i}}(i),p=i.isWebGL2?"":function(e){return[e.extensionDerivatives||e.envMapCubeUVHeight||e.bumpMap||e.tangentSpaceNormalMap||e.clearcoatNormalMap||e.flatShading||"physical"===e.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(e.extensionFragDepth||e.logarithmicDepthBuffer)&&e.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",e.extensionDrawBuffers&&e.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(e.extensionShaderTextureLOD||e.envMap||e.transmission)&&e.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(ps).join("\n")}(i),f=function(e){const t=[];for(const i in e){const n=e[i];!1!==n&&t.push("#define "+i+" "+n)}return t.join("\n")}(r),m=s.createProgram();let g,v,y=i.glslVersion?"#version "+i.glslVersion+"\n":"";i.isRawShaderMaterial?(g=[f].filter(ps).join("\n"),g.length>0&&(g+="\n"),v=[p,f].filter(ps).join("\n"),v.length>0&&(v+="\n")):(g=[xs(i),"#define SHADER_NAME "+i.shaderName,f,i.instancing?"#define USE_INSTANCING":"",i.instancingColor?"#define USE_INSTANCING_COLOR":"",i.supportsVertexTextures?"#define VERTEX_TEXTURES":"",i.useFog&&i.fog?"#define USE_FOG":"",i.useFog&&i.fogExp2?"#define FOG_EXP2":"",i.map?"#define USE_MAP":"",i.envMap?"#define USE_ENVMAP":"",i.envMap?"#define "+h:"",i.lightMap?"#define USE_LIGHTMAP":"",i.aoMap?"#define USE_AOMAP":"",i.emissiveMap?"#define USE_EMISSIVEMAP":"",i.bumpMap?"#define USE_BUMPMAP":"",i.normalMap?"#define USE_NORMALMAP":"",i.normalMap&&i.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",i.normalMap&&i.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",i.clearcoatMap?"#define USE_CLEARCOATMAP":"",i.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",i.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",i.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",i.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",i.displacementMap&&i.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",i.specularMap?"#define USE_SPECULARMAP":"",i.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",i.specularColorMap?"#define USE_SPECULARCOLORMAP":"",i.roughnessMap?"#define USE_ROUGHNESSMAP":"",i.metalnessMap?"#define USE_METALNESSMAP":"",i.alphaMap?"#define USE_ALPHAMAP":"",i.transmission?"#define USE_TRANSMISSION":"",i.transmissionMap?"#define USE_TRANSMISSIONMAP":"",i.thicknessMap?"#define USE_THICKNESSMAP":"",i.sheenColorMap?"#define USE_SHEENCOLORMAP":"",i.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",i.vertexTangents?"#define USE_TANGENT":"",i.vertexColors?"#define USE_COLOR":"",i.vertexAlphas?"#define USE_COLOR_ALPHA":"",i.vertexUvs?"#define USE_UV":"",i.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",i.flatShading?"#define FLAT_SHADED":"",i.skinning?"#define USE_SKINNING":"",i.morphTargets?"#define USE_MORPHTARGETS":"",i.morphNormals&&!1===i.flatShading?"#define USE_MORPHNORMALS":"",i.morphColors&&i.isWebGL2?"#define USE_MORPHCOLORS":"",i.morphTargetsCount>0&&i.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",i.morphTargetsCount>0&&i.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+i.morphTextureStride:"",i.morphTargetsCount>0&&i.isWebGL2?"#define MORPHTARGETS_COUNT "+i.morphTargetsCount:"",i.doubleSided?"#define DOUBLE_SIDED":"",i.flipSided?"#define FLIP_SIDED":"",i.shadowMapEnabled?"#define USE_SHADOWMAP":"",i.shadowMapEnabled?"#define "+o:"",i.sizeAttenuation?"#define USE_SIZEATTENUATION":"",i.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",i.logarithmicDepthBuffer&&i.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(ps).join("\n"),v=[p,xs(i),"#define SHADER_NAME "+i.shaderName,f,i.useFog&&i.fog?"#define USE_FOG":"",i.useFog&&i.fogExp2?"#define FOG_EXP2":"",i.map?"#define USE_MAP":"",i.matcap?"#define USE_MATCAP":"",i.envMap?"#define USE_ENVMAP":"",i.envMap?"#define "+c:"",i.envMap?"#define "+h:"",i.envMap?"#define "+d:"",u?"#define CUBEUV_TEXEL_WIDTH "+u.texelWidth:"",u?"#define CUBEUV_TEXEL_HEIGHT "+u.texelHeight:"",u?"#define CUBEUV_MAX_MIP "+u.maxMip+".0":"",i.lightMap?"#define USE_LIGHTMAP":"",i.aoMap?"#define USE_AOMAP":"",i.emissiveMap?"#define USE_EMISSIVEMAP":"",i.bumpMap?"#define USE_BUMPMAP":"",i.normalMap?"#define USE_NORMALMAP":"",i.normalMap&&i.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",i.normalMap&&i.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",i.clearcoat?"#define USE_CLEARCOAT":"",i.clearcoatMap?"#define USE_CLEARCOATMAP":"",i.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",i.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",i.iridescence?"#define USE_IRIDESCENCE":"",i.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",i.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",i.specularMap?"#define USE_SPECULARMAP":"",i.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",i.specularColorMap?"#define USE_SPECULARCOLORMAP":"",i.roughnessMap?"#define USE_ROUGHNESSMAP":"",i.metalnessMap?"#define USE_METALNESSMAP":"",i.alphaMap?"#define USE_ALPHAMAP":"",i.alphaTest?"#define USE_ALPHATEST":"",i.sheen?"#define USE_SHEEN":"",i.sheenColorMap?"#define USE_SHEENCOLORMAP":"",i.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",i.transmission?"#define USE_TRANSMISSION":"",i.transmissionMap?"#define USE_TRANSMISSIONMAP":"",i.thicknessMap?"#define USE_THICKNESSMAP":"",i.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",i.vertexTangents?"#define USE_TANGENT":"",i.vertexColors||i.instancingColor?"#define USE_COLOR":"",i.vertexAlphas?"#define USE_COLOR_ALPHA":"",i.vertexUvs?"#define USE_UV":"",i.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",i.gradientMap?"#define USE_GRADIENTMAP":"",i.flatShading?"#define FLAT_SHADED":"",i.doubleSided?"#define DOUBLE_SIDED":"",i.flipSided?"#define FLIP_SIDED":"",i.shadowMapEnabled?"#define USE_SHADOWMAP":"",i.shadowMapEnabled?"#define "+o:"",i.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",i.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",i.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",i.logarithmicDepthBuffer&&i.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==i.toneMapping?"#define TONE_MAPPING":"",0!==i.toneMapping?Mi.tonemapping_pars_fragment:"",0!==i.toneMapping?us("toneMapping",i.toneMapping):"",i.dithering?"#define DITHERING":"",i.opaque?"#define OPAQUE":"",Mi.encodings_pars_fragment,ds("linearToOutputTexel",i.outputEncoding),i.useDepthPacking?"#define DEPTH_PACKING "+i.depthPacking:"","\n"].filter(ps).join("\n")),a=vs(a),a=fs(a,i),a=ms(a,i),l=vs(l),l=fs(l,i),l=ms(l,i),a=bs(a),l=bs(l),i.isWebGL2&&!0!==i.isRawShaderMaterial&&(y="#version 300 es\n",g=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+g,v=["#define varying in","300 es"===i.glslVersion?"":"layout(location = 0) out highp vec4 pc_fragColor;","300 es"===i.glslVersion?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+v);const _=y+v+l,b=os(s,35633,y+g+a),w=os(s,35632,_);if(s.attachShader(m,b),s.attachShader(m,w),void 0!==i.index0AttributeName?s.bindAttribLocation(m,0,i.index0AttributeName):!0===i.morphTargets&&s.bindAttribLocation(m,0,"position"),s.linkProgram(m),e.debug.checkShaderErrors){const e=s.getProgramInfoLog(m).trim(),t=s.getShaderInfoLog(b).trim(),i=s.getShaderInfoLog(w).trim();let n=!0,r=!0;if(!1===s.getProgramParameter(m,35714)){n=!1;const t=hs(s,b,"vertex"),i=hs(s,w,"fragment");console.error("THREE.WebGLProgram: Shader Error "+s.getError()+" - VALIDATE_STATUS "+s.getProgramParameter(m,35715)+"\n\nProgram Info Log: "+e+"\n"+t+"\n"+i)}else""!==e?console.warn("THREE.WebGLProgram: Program Info Log:",e):""!==t&&""!==i||(r=!1);r&&(this.diagnostics={runnable:n,programLog:e,vertexShader:{log:t,prefix:g},fragmentShader:{log:i,prefix:v}})}let x,T;return s.deleteShader(b),s.deleteShader(w),this.getUniforms=function(){return void 0===x&&(x=new ls(s,m)),x},this.getAttributes=function(){return void 0===T&&(T=function(e,t){const i={},n=e.getProgramParameter(t,35721);for(let s=0;s<n;s++){const n=e.getActiveAttrib(t,s),r=n.name;let a=1;35674===n.type&&(a=2),35675===n.type&&(a=3),35676===n.type&&(a=4),i[r]={type:n.type,location:e.getAttribLocation(t,r),locationSize:a}}return i}(s,m)),T},this.destroy=function(){n.releaseStatesOfProgram(this),s.deleteProgram(m),this.program=void 0},this.name=i.shaderName,this.id=cs++,this.cacheKey=t,this.usedTimes=1,this.program=m,this.vertexShader=b,this.fragmentShader=w,this}let Ss=0;class Ms{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,i=e.fragmentShader,n=this._getShaderStage(t),s=this._getShaderStage(i),r=this._getShaderCacheForMaterial(e);return!1===r.has(n)&&(r.add(n),n.usedTimes++),!1===r.has(s)&&(r.add(s),s.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const e of t)e.usedTimes--,0===e.usedTimes&&this.shaderCache.delete(e.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let i=t.get(e);return void 0===i&&(i=new Set,t.set(e,i)),i}_getShaderStage(e){const t=this.shaderCache;let i=t.get(e);return void 0===i&&(i=new Es(e),t.set(e,i)),i}}class Es{constructor(e){this.id=Ss++,this.code=e,this.usedTimes=0}}function Cs(e,t,i,n,s,r,l){const o=new Ke,c=new Ms,h=[],d=s.isWebGL2,u=s.logarithmicDepthBuffer,p=s.vertexTextures;let f=s.precision;const m={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};return{getParameters:function(r,o,h,g,v){const y=g.fog,_=v.geometry,x=r.isMeshStandardMaterial?g.environment:null,T=(r.isMeshStandardMaterial?i:t).get(r.envMap||x),S=T&&306===T.mapping?T.image.height:null,M=m[r.type];null!==r.precision&&(f=s.getMaxPrecision(r.precision),f!==r.precision&&console.warn("THREE.WebGLProgram.getParameters:",r.precision,"not supported, using",f,"instead."));const E=_.morphAttributes.position||_.morphAttributes.normal||_.morphAttributes.color,C=void 0!==E?E.length:0;let P,k,A,L,O=0;if(void 0!==_.morphAttributes.position&&(O=1),void 0!==_.morphAttributes.normal&&(O=2),void 0!==_.morphAttributes.color&&(O=3),M){const e=Ci[M];P=e.vertexShader,k=e.fragmentShader}else P=r.vertexShader,k=r.fragmentShader,c.update(r),A=c.getVertexShaderID(r),L=c.getFragmentShaderID(r);const I=e.getRenderTarget(),D=r.alphaTest>0,R=r.clearcoat>0,z=r.iridescence>0;return{isWebGL2:d,shaderID:M,shaderName:r.type,vertexShader:P,fragmentShader:k,defines:r.defines,customVertexShaderID:A,customFragmentShaderID:L,isRawShaderMaterial:!0===r.isRawShaderMaterial,glslVersion:r.glslVersion,precision:f,instancing:!0===v.isInstancedMesh,instancingColor:!0===v.isInstancedMesh&&null!==v.instanceColor,supportsVertexTextures:p,outputEncoding:null===I?e.outputEncoding:!0===I.isXRRenderTarget?I.texture.encoding:3e3,map:!!r.map,matcap:!!r.matcap,envMap:!!T,envMapMode:T&&T.mapping,envMapCubeUVHeight:S,lightMap:!!r.lightMap,aoMap:!!r.aoMap,emissiveMap:!!r.emissiveMap,bumpMap:!!r.bumpMap,normalMap:!!r.normalMap,objectSpaceNormalMap:1===r.normalMapType,tangentSpaceNormalMap:r.normalMapType===w,decodeVideoTexture:!!r.map&&!0===r.map.isVideoTexture&&r.map.encoding===b,clearcoat:R,clearcoatMap:R&&!!r.clearcoatMap,clearcoatRoughnessMap:R&&!!r.clearcoatRoughnessMap,clearcoatNormalMap:R&&!!r.clearcoatNormalMap,iridescence:z,iridescenceMap:z&&!!r.iridescenceMap,iridescenceThicknessMap:z&&!!r.iridescenceThicknessMap,displacementMap:!!r.displacementMap,roughnessMap:!!r.roughnessMap,metalnessMap:!!r.metalnessMap,specularMap:!!r.specularMap,specularIntensityMap:!!r.specularIntensityMap,specularColorMap:!!r.specularColorMap,opaque:!1===r.transparent&&1===r.blending,alphaMap:!!r.alphaMap,alphaTest:D,gradientMap:!!r.gradientMap,sheen:r.sheen>0,sheenColorMap:!!r.sheenColorMap,sheenRoughnessMap:!!r.sheenRoughnessMap,transmission:r.transmission>0,transmissionMap:!!r.transmissionMap,thicknessMap:!!r.thicknessMap,combine:r.combine,vertexTangents:!!r.normalMap&&!!_.attributes.tangent,vertexColors:r.vertexColors,vertexAlphas:!0===r.vertexColors&&!!_.attributes.color&&4===_.attributes.color.itemSize,vertexUvs:!!(r.map||r.bumpMap||r.normalMap||r.specularMap||r.alphaMap||r.emissiveMap||r.roughnessMap||r.metalnessMap||r.clearcoatMap||r.clearcoatRoughnessMap||r.clearcoatNormalMap||r.iridescenceMap||r.iridescenceThicknessMap||r.displacementMap||r.transmissionMap||r.thicknessMap||r.specularIntensityMap||r.specularColorMap||r.sheenColorMap||r.sheenRoughnessMap),uvsVertexOnly:!(r.map||r.bumpMap||r.normalMap||r.specularMap||r.alphaMap||r.emissiveMap||r.roughnessMap||r.metalnessMap||r.clearcoatNormalMap||r.iridescenceMap||r.iridescenceThicknessMap||r.transmission>0||r.transmissionMap||r.thicknessMap||r.specularIntensityMap||r.specularColorMap||r.sheen>0||r.sheenColorMap||r.sheenRoughnessMap||!r.displacementMap),fog:!!y,useFog:!0===r.fog,fogExp2:y&&y.isFogExp2,flatShading:!!r.flatShading,sizeAttenuation:r.sizeAttenuation,logarithmicDepthBuffer:u,skinning:!0===v.isSkinnedMesh,morphTargets:void 0!==_.morphAttributes.position,morphNormals:void 0!==_.morphAttributes.normal,morphColors:void 0!==_.morphAttributes.color,morphTargetsCount:C,morphTextureStride:O,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numClippingPlanes:l.numPlanes,numClipIntersection:l.numIntersection,dithering:r.dithering,shadowMapEnabled:e.shadowMap.enabled&&h.length>0,shadowMapType:e.shadowMap.type,toneMapping:r.toneMapped?e.toneMapping:0,physicallyCorrectLights:e.physicallyCorrectLights,premultipliedAlpha:r.premultipliedAlpha,doubleSided:r.side===a,flipSided:1===r.side,useDepthPacking:!!r.depthPacking,depthPacking:r.depthPacking||0,index0AttributeName:r.index0AttributeName,extensionDerivatives:r.extensions&&r.extensions.derivatives,extensionFragDepth:r.extensions&&r.extensions.fragDepth,extensionDrawBuffers:r.extensions&&r.extensions.drawBuffers,extensionShaderTextureLOD:r.extensions&&r.extensions.shaderTextureLOD,rendererExtensionFragDepth:d||n.has("EXT_frag_depth"),rendererExtensionDrawBuffers:d||n.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:d||n.has("EXT_shader_texture_lod"),customProgramCacheKey:r.customProgramCacheKey()}},getProgramCacheKey:function(t){const i=[];if(t.shaderID?i.push(t.shaderID):(i.push(t.customVertexShaderID),i.push(t.customFragmentShaderID)),void 0!==t.defines)for(const e in t.defines)i.push(e),i.push(t.defines[e]);return!1===t.isRawShaderMaterial&&(!function(e,t){e.push(t.precision),e.push(t.outputEncoding),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.combine),e.push(t.vertexUvs),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}(i,t),function(e,t){o.disableAll(),t.isWebGL2&&o.enable(0);t.supportsVertexTextures&&o.enable(1);t.instancing&&o.enable(2);t.instancingColor&&o.enable(3);t.map&&o.enable(4);t.matcap&&o.enable(5);t.envMap&&o.enable(6);t.lightMap&&o.enable(7);t.aoMap&&o.enable(8);t.emissiveMap&&o.enable(9);t.bumpMap&&o.enable(10);t.normalMap&&o.enable(11);t.objectSpaceNormalMap&&o.enable(12);t.tangentSpaceNormalMap&&o.enable(13);t.clearcoat&&o.enable(14);t.clearcoatMap&&o.enable(15);t.clearcoatRoughnessMap&&o.enable(16);t.clearcoatNormalMap&&o.enable(17);t.iridescence&&o.enable(18);t.iridescenceMap&&o.enable(19);t.iridescenceThicknessMap&&o.enable(20);t.displacementMap&&o.enable(21);t.specularMap&&o.enable(22);t.roughnessMap&&o.enable(23);t.metalnessMap&&o.enable(24);t.gradientMap&&o.enable(25);t.alphaMap&&o.enable(26);t.alphaTest&&o.enable(27);t.vertexColors&&o.enable(28);t.vertexAlphas&&o.enable(29);t.vertexUvs&&o.enable(30);t.vertexTangents&&o.enable(31);t.uvsVertexOnly&&o.enable(32);e.push(o.mask),o.disableAll(),t.fog&&o.enable(0);t.useFog&&o.enable(1);t.flatShading&&o.enable(2);t.logarithmicDepthBuffer&&o.enable(3);t.skinning&&o.enable(4);t.morphTargets&&o.enable(5);t.morphNormals&&o.enable(6);t.morphColors&&o.enable(7);t.premultipliedAlpha&&o.enable(8);t.shadowMapEnabled&&o.enable(9);t.physicallyCorrectLights&&o.enable(10);t.doubleSided&&o.enable(11);t.flipSided&&o.enable(12);t.useDepthPacking&&o.enable(13);t.dithering&&o.enable(14);t.specularIntensityMap&&o.enable(15);t.specularColorMap&&o.enable(16);t.transmission&&o.enable(17);t.transmissionMap&&o.enable(18);t.thicknessMap&&o.enable(19);t.sheen&&o.enable(20);t.sheenColorMap&&o.enable(21);t.sheenRoughnessMap&&o.enable(22);t.decodeVideoTexture&&o.enable(23);t.opaque&&o.enable(24);e.push(o.mask)}(i,t),i.push(e.outputEncoding)),i.push(t.customProgramCacheKey),i.join()},getUniforms:function(e){const t=m[e.type];let i;if(t){const e=Ci[t];i=oi.clone(e.uniforms)}else i=e.uniforms;return i},acquireProgram:function(t,i){let n;for(let e=0,t=h.length;e<t;e++){const t=h[e];if(t.cacheKey===i){n=t,++n.usedTimes;break}}return void 0===n&&(n=new Ts(e,i,t,r),h.push(n)),n},releaseProgram:function(e){if(0==--e.usedTimes){const t=h.indexOf(e);h[t]=h[h.length-1],h.pop(),e.destroy()}},releaseShaderCache:function(e){c.remove(e)},programs:h,dispose:function(){c.dispose()}}}function Ps(){let e=new WeakMap;return{get:function(t){let i=e.get(t);return void 0===i&&(i={},e.set(t,i)),i},remove:function(t){e.delete(t)},update:function(t,i,n){e.get(t)[i]=n},dispose:function(){e=new WeakMap}}}function ks(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.material.id!==t.material.id?e.material.id-t.material.id:e.z!==t.z?e.z-t.z:e.id-t.id}function As(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function Ls(){const e=[];let t=0;const i=[],n=[],s=[];function r(i,n,s,r,a,l){let o=e[t];return void 0===o?(o={id:i.id,object:i,geometry:n,material:s,groupOrder:r,renderOrder:i.renderOrder,z:a,group:l},e[t]=o):(o.id=i.id,o.object=i,o.geometry=n,o.material=s,o.groupOrder=r,o.renderOrder=i.renderOrder,o.z=a,o.group=l),t++,o}return{opaque:i,transmissive:n,transparent:s,init:function(){t=0,i.length=0,n.length=0,s.length=0},push:function(e,t,a,l,o,c){const h=r(e,t,a,l,o,c);a.transmission>0?n.push(h):!0===a.transparent?s.push(h):i.push(h)},unshift:function(e,t,a,l,o,c){const h=r(e,t,a,l,o,c);a.transmission>0?n.unshift(h):!0===a.transparent?s.unshift(h):i.unshift(h)},finish:function(){for(let i=t,n=e.length;i<n;i++){const t=e[i];if(null===t.id)break;t.id=null,t.object=null,t.geometry=null,t.material=null,t.group=null}},sort:function(e,t){i.length>1&&i.sort(e||ks),n.length>1&&n.sort(t||As),s.length>1&&s.sort(t||As)}}}function Os(){let e=new WeakMap;return{get:function(t,i){const n=e.get(t);let s;return void 0===n?(s=new Ls,e.set(t,[s])):i>=n.length?(s=new Ls,n.push(s)):s=n[i],s},dispose:function(){e=new WeakMap}}}function Is(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let i;switch(t.type){case"DirectionalLight":i={direction:new ce,color:new K};break;case"SpotLight":i={position:new ce,direction:new ce,color:new K,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":i={position:new ce,color:new K,distance:0,decay:0};break;case"HemisphereLight":i={direction:new ce,skyColor:new K,groundColor:new K};break;case"RectAreaLight":i={color:new K,position:new ce,halfWidth:new ce,halfHeight:new ce}}return e[t.id]=i,i}}}let Ds=0;function Rs(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+(t.map?1:0)-(e.map?1:0)}function zs(e,t){const i=new Is,n=function(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let i;switch(t.type){case"DirectionalLight":case"SpotLight":i={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new N};break;case"PointLight":i={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new N,shadowCameraNear:1,shadowCameraFar:1e3}}return e[t.id]=i,i}}}(),s={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let e=0;e<9;e++)s.probe.push(new ce);const r=new ce,a=new Be,l=new Be;return{setup:function(r,a){let l=0,o=0,c=0;for(let e=0;e<9;e++)s.probe[e].set(0,0,0);let h=0,d=0,u=0,p=0,f=0,m=0,g=0,v=0,y=0,_=0;r.sort(Rs);const b=!0!==a?Math.PI:1;for(let e=0,t=r.length;e<t;e++){const t=r[e],a=t.color,w=t.intensity,x=t.distance,T=t.shadow&&t.shadow.map?t.shadow.map.texture:null;if(t.isAmbientLight)l+=a.r*w*b,o+=a.g*w*b,c+=a.b*w*b;else if(t.isLightProbe)for(let e=0;e<9;e++)s.probe[e].addScaledVector(t.sh.coefficients[e],w);else if(t.isDirectionalLight){const e=i.get(t);if(e.color.copy(t.color).multiplyScalar(t.intensity*b),t.castShadow){const e=t.shadow,i=n.get(t);i.shadowBias=e.bias,i.shadowNormalBias=e.normalBias,i.shadowRadius=e.radius,i.shadowMapSize=e.mapSize,s.directionalShadow[h]=i,s.directionalShadowMap[h]=T,s.directionalShadowMatrix[h]=t.shadow.matrix,m++}s.directional[h]=e,h++}else if(t.isSpotLight){const e=i.get(t);e.position.setFromMatrixPosition(t.matrixWorld),e.color.copy(a).multiplyScalar(w*b),e.distance=x,e.coneCos=Math.cos(t.angle),e.penumbraCos=Math.cos(t.angle*(1-t.penumbra)),e.decay=t.decay,s.spot[u]=e;const r=t.shadow;if(t.map&&(s.spotLightMap[y]=t.map,y++,r.updateMatrices(t),t.castShadow&&_++),s.spotLightMatrix[u]=r.matrix,t.castShadow){const e=n.get(t);e.shadowBias=r.bias,e.shadowNormalBias=r.normalBias,e.shadowRadius=r.radius,e.shadowMapSize=r.mapSize,s.spotShadow[u]=e,s.spotShadowMap[u]=T,v++}u++}else if(t.isRectAreaLight){const e=i.get(t);e.color.copy(a).multiplyScalar(w),e.halfWidth.set(.5*t.width,0,0),e.halfHeight.set(0,.5*t.height,0),s.rectArea[p]=e,p++}else if(t.isPointLight){const e=i.get(t);if(e.color.copy(t.color).multiplyScalar(t.intensity*b),e.distance=t.distance,e.decay=t.decay,t.castShadow){const e=t.shadow,i=n.get(t);i.shadowBias=e.bias,i.shadowNormalBias=e.normalBias,i.shadowRadius=e.radius,i.shadowMapSize=e.mapSize,i.shadowCameraNear=e.camera.near,i.shadowCameraFar=e.camera.far,s.pointShadow[d]=i,s.pointShadowMap[d]=T,s.pointShadowMatrix[d]=t.shadow.matrix,g++}s.point[d]=e,d++}else if(t.isHemisphereLight){const e=i.get(t);e.skyColor.copy(t.color).multiplyScalar(w*b),e.groundColor.copy(t.groundColor).multiplyScalar(w*b),s.hemi[f]=e,f++}}p>0&&(t.isWebGL2||!0===e.has("OES_texture_float_linear")?(s.rectAreaLTC1=Ei.LTC_FLOAT_1,s.rectAreaLTC2=Ei.LTC_FLOAT_2):!0===e.has("OES_texture_half_float_linear")?(s.rectAreaLTC1=Ei.LTC_HALF_1,s.rectAreaLTC2=Ei.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),s.ambient[0]=l,s.ambient[1]=o,s.ambient[2]=c;const w=s.hash;w.directionalLength===h&&w.pointLength===d&&w.spotLength===u&&w.rectAreaLength===p&&w.hemiLength===f&&w.numDirectionalShadows===m&&w.numPointShadows===g&&w.numSpotShadows===v&&w.numSpotMaps===y||(s.directional.length=h,s.spot.length=u,s.rectArea.length=p,s.point.length=d,s.hemi.length=f,s.directionalShadow.length=m,s.directionalShadowMap.length=m,s.pointShadow.length=g,s.pointShadowMap.length=g,s.spotShadow.length=v,s.spotShadowMap.length=v,s.directionalShadowMatrix.length=m,s.pointShadowMatrix.length=g,s.spotLightMatrix.length=v+y-_,s.spotLightMap.length=y,s.numSpotLightShadowsWithMaps=_,w.directionalLength=h,w.pointLength=d,w.spotLength=u,w.rectAreaLength=p,w.hemiLength=f,w.numDirectionalShadows=m,w.numPointShadows=g,w.numSpotShadows=v,w.numSpotMaps=y,s.version=Ds++)},setupView:function(e,t){let i=0,n=0,o=0,c=0,h=0;const d=t.matrixWorldInverse;for(let t=0,u=e.length;t<u;t++){const u=e[t];if(u.isDirectionalLight){const e=s.directional[i];e.direction.setFromMatrixPosition(u.matrixWorld),r.setFromMatrixPosition(u.target.matrixWorld),e.direction.sub(r),e.direction.transformDirection(d),i++}else if(u.isSpotLight){const e=s.spot[o];e.position.setFromMatrixPosition(u.matrixWorld),e.position.applyMatrix4(d),e.direction.setFromMatrixPosition(u.matrixWorld),r.setFromMatrixPosition(u.target.matrixWorld),e.direction.sub(r),e.direction.transformDirection(d),o++}else if(u.isRectAreaLight){const e=s.rectArea[c];e.position.setFromMatrixPosition(u.matrixWorld),e.position.applyMatrix4(d),l.identity(),a.copy(u.matrixWorld),a.premultiply(d),l.extractRotation(a),e.halfWidth.set(.5*u.width,0,0),e.halfHeight.set(0,.5*u.height,0),e.halfWidth.applyMatrix4(l),e.halfHeight.applyMatrix4(l),c++}else if(u.isPointLight){const e=s.point[n];e.position.setFromMatrixPosition(u.matrixWorld),e.position.applyMatrix4(d),n++}else if(u.isHemisphereLight){const e=s.hemi[h];e.direction.setFromMatrixPosition(u.matrixWorld),e.direction.transformDirection(d),h++}}},state:s}}function Ns(e,t){const i=new zs(e,t),n=[],s=[];return{init:function(){n.length=0,s.length=0},state:{lightsArray:n,shadowsArray:s,lights:i},setupLights:function(e){i.setup(n,e)},setupLightsView:function(e){i.setupView(n,e)},pushLight:function(e){n.push(e)},pushShadow:function(e){s.push(e)}}}function $s(e,t){let i=new WeakMap;return{get:function(n,s=0){const r=i.get(n);let a;return void 0===r?(a=new Ns(e,t),i.set(n,[a])):s>=r.length?(a=new Ns(e,t),r.push(a)):a=r[s],a},dispose:function(){i=new WeakMap}}}class Fs extends St{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class Bs extends St{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.referencePosition=new ce,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.referencePosition.copy(e.referencePosition),this.nearDistance=e.nearDistance,this.farDistance=e.farDistance,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}function Vs(e,t,i){let n=new wi;const s=new N,l=new N,o=new se,c=new Fs({depthPacking:3201}),d=new Bs,u={},p=i.maxTextureSize,f={0:1,1:r,2:a},m=new ci({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new N},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),g=m.clone();g.defines.HORIZONTAL_PASS=1;const v=new Ft;v.setAttribute("position",new Pt(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const y=new ni(v,m),_=this;function b(i,n){const r=t.update(y);m.defines.VSM_SAMPLES!==i.blurSamples&&(m.defines.VSM_SAMPLES=i.blurSamples,g.defines.VSM_SAMPLES=i.blurSamples,m.needsUpdate=!0,g.needsUpdate=!0),null===i.mapPass&&(i.mapPass=new re(s.x,s.y)),m.uniforms.shadow_pass.value=i.map.texture,m.uniforms.resolution.value=i.mapSize,m.uniforms.radius.value=i.radius,e.setRenderTarget(i.mapPass),e.clear(),e.renderBufferDirect(n,null,r,m,y,null),g.uniforms.shadow_pass.value=i.mapPass.texture,g.uniforms.resolution.value=i.mapSize,g.uniforms.radius.value=i.radius,e.setRenderTarget(i.map),e.clear(),e.renderBufferDirect(n,null,r,g,y,null)}function w(t,i,n,s,r,a){let l=null;const o=!0===n.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(l=void 0!==o?o:!0===n.isPointLight?d:c,e.localClippingEnabled&&!0===i.clipShadows&&Array.isArray(i.clippingPlanes)&&0!==i.clippingPlanes.length||i.displacementMap&&0!==i.displacementScale||i.alphaMap&&i.alphaTest>0){const e=l.uuid,t=i.uuid;let n=u[e];void 0===n&&(n={},u[e]=n);let s=n[t];void 0===s&&(s=l.clone(),n[t]=s),l=s}return l.visible=i.visible,l.wireframe=i.wireframe,l.side=3===a?null!==i.shadowSide?i.shadowSide:i.side:null!==i.shadowSide?i.shadowSide:f[i.side],l.alphaMap=i.alphaMap,l.alphaTest=i.alphaTest,l.clipShadows=i.clipShadows,l.clippingPlanes=i.clippingPlanes,l.clipIntersection=i.clipIntersection,l.displacementMap=i.displacementMap,l.displacementScale=i.displacementScale,l.displacementBias=i.displacementBias,l.wireframeLinewidth=i.wireframeLinewidth,l.linewidth=i.linewidth,!0===n.isPointLight&&!0===l.isMeshDistanceMaterial&&(l.referencePosition.setFromMatrixPosition(n.matrixWorld),l.nearDistance=s,l.farDistance=r),l}function x(i,s,r,a,l){if(!1===i.visible)return;if(i.layers.test(s.layers)&&(i.isMesh||i.isLine||i.isPoints)&&(i.castShadow||i.receiveShadow&&3===l)&&(!i.frustumCulled||n.intersectsObject(i))){i.modelViewMatrix.multiplyMatrices(r.matrixWorldInverse,i.matrixWorld);const n=t.update(i),s=i.material;if(Array.isArray(s)){const t=n.groups;for(let o=0,c=t.length;o<c;o++){const c=t[o],h=s[c.materialIndex];if(h&&h.visible){const t=w(i,h,a,r.near,r.far,l);e.renderBufferDirect(r,null,n,t,i,c)}}}else if(s.visible){const t=w(i,s,a,r.near,r.far,l);e.renderBufferDirect(r,null,n,t,i,null)}}const o=i.children;for(let e=0,t=o.length;e<t;e++)x(o[e],s,r,a,l)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1,this.render=function(t,i,r){if(!1===_.enabled)return;if(!1===_.autoUpdate&&!1===_.needsUpdate)return;if(0===t.length)return;const a=e.getRenderTarget(),c=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),u=e.state;u.setBlending(0),u.buffers.color.setClear(1,1,1,1),u.buffers.depth.setTest(!0),u.setScissorTest(!1);for(let a=0,c=t.length;a<c;a++){const c=t[a],d=c.shadow;if(void 0===d){console.warn("THREE.WebGLShadowMap:",c,"has no shadow.");continue}if(!1===d.autoUpdate&&!1===d.needsUpdate)continue;s.copy(d.mapSize);const f=d.getFrameExtents();if(s.multiply(f),l.copy(d.mapSize),(s.x>p||s.y>p)&&(s.x>p&&(l.x=Math.floor(p/f.x),s.x=l.x*f.x,d.mapSize.x=l.x),s.y>p&&(l.y=Math.floor(p/f.y),s.y=l.y*f.y,d.mapSize.y=l.y)),null===d.map){const e=3!==this.type?{minFilter:h,magFilter:h}:{};d.map=new re(s.x,s.y,e),d.map.texture.name=c.name+".shadowMap",d.camera.updateProjectionMatrix()}e.setRenderTarget(d.map),e.clear();const m=d.getViewportCount();for(let e=0;e<m;e++){const t=d.getViewport(e);o.set(l.x*t.x,l.y*t.y,l.x*t.z,l.y*t.w),u.viewport(o),d.updateMatrices(c,e),n=d.getFrustum(),x(i,r,d.camera,c,this.type)}!0!==d.isPointLightShadow&&3===this.type&&b(d,r),d.needsUpdate=!1}_.needsUpdate=!1,e.setRenderTarget(a,c,d)}}function Hs(e,t,i){const n=i.isWebGL2;const s=new function(){let t=!1;const i=new se;let n=null;const s=new se(0,0,0,0);return{setMask:function(i){n===i||t||(e.colorMask(i,i,i,i),n=i)},setLocked:function(e){t=e},setClear:function(t,n,r,a,l){!0===l&&(t*=a,n*=a,r*=a),i.set(t,n,r,a),!1===s.equals(i)&&(e.clearColor(t,n,r,a),s.copy(i))},reset:function(){t=!1,n=null,s.set(-1,0,0,0)}}},r=new function(){let t=!1,i=null,n=null,s=null;return{setTest:function(e){e?V(2929):H(2929)},setMask:function(n){i===n||t||(e.depthMask(n),i=n)},setFunc:function(t){if(n!==t){switch(t){case 0:e.depthFunc(512);break;case 1:e.depthFunc(519);break;case 2:e.depthFunc(513);break;case 3:e.depthFunc(515);break;case 4:e.depthFunc(514);break;case 5:e.depthFunc(518);break;case 6:e.depthFunc(516);break;case 7:e.depthFunc(517);break;default:e.depthFunc(515)}n=t}},setLocked:function(e){t=e},setClear:function(t){s!==t&&(e.clearDepth(t),s=t)},reset:function(){t=!1,i=null,n=null,s=null}}},l=new function(){let t=!1,i=null,n=null,s=null,r=null,a=null,l=null,o=null,c=null;return{setTest:function(e){t||(e?V(2960):H(2960))},setMask:function(n){i===n||t||(e.stencilMask(n),i=n)},setFunc:function(t,i,a){n===t&&s===i&&r===a||(e.stencilFunc(t,i,a),n=t,s=i,r=a)},setOp:function(t,i,n){a===t&&l===i&&o===n||(e.stencilOp(t,i,n),a=t,l=i,o=n)},setLocked:function(e){t=e},setClear:function(t){c!==t&&(e.clearStencil(t),c=t)},reset:function(){t=!1,i=null,n=null,s=null,r=null,a=null,l=null,o=null,c=null}}},o=new WeakMap,c=new WeakMap;let h={},d={},u=new WeakMap,p=[],f=null,m=!1,g=null,v=null,y=null,_=null,b=null,w=null,x=null,T=!1,S=null,M=null,E=null,C=null,P=null;const k=e.getParameter(35661);let A=!1,L=0;const O=e.getParameter(7938);-1!==O.indexOf("WebGL")?(L=parseFloat(/^WebGL (\d)/.exec(O)[1]),A=L>=1):-1!==O.indexOf("OpenGL ES")&&(L=parseFloat(/^OpenGL ES (\d)/.exec(O)[1]),A=L>=2);let I=null,D={};const R=e.getParameter(3088),z=e.getParameter(2978),N=(new se).fromArray(R),$=(new se).fromArray(z);function F(t,i,n){const s=new Uint8Array(4),r=e.createTexture();e.bindTexture(t,r),e.texParameteri(t,10241,9728),e.texParameteri(t,10240,9728);for(let t=0;t<n;t++)e.texImage2D(i+t,0,6408,1,1,0,6408,5121,s);return r}const B={};function V(t){!0!==h[t]&&(e.enable(t),h[t]=!0)}function H(t){!1!==h[t]&&(e.disable(t),h[t]=!1)}B[3553]=F(3553,3553,1),B[34067]=F(34067,34069,6),s.setClear(0,0,0,1),r.setClear(1),l.setClear(0),V(2929),r.setFunc(3),W(!1),X(1),V(2884),j(0);const U={100:32774,101:32778,102:32779};if(n)U[103]=32775,U[104]=32776;else{const e=t.get("EXT_blend_minmax");null!==e&&(U[103]=e.MIN_EXT,U[104]=e.MAX_EXT)}const G={200:0,201:1,202:768,204:770,210:776,208:774,206:772,203:769,205:771,209:775,207:773};function j(t,i,n,s,r,a,l,o){if(0!==t){if(!1===m&&(V(3042),m=!0),5===t)r=r||i,a=a||n,l=l||s,i===v&&r===b||(e.blendEquationSeparate(U[i],U[r]),v=i,b=r),n===y&&s===_&&a===w&&l===x||(e.blendFuncSeparate(G[n],G[s],G[a],G[l]),y=n,_=s,w=a,x=l),g=t,T=null;else if(t!==g||o!==T){if(100===v&&100===b||(e.blendEquation(32774),v=100,b=100),o)switch(t){case 1:e.blendFuncSeparate(1,771,1,771);break;case 2:e.blendFunc(1,1);break;case 3:e.blendFuncSeparate(0,769,0,1);break;case 4:e.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}else switch(t){case 1:e.blendFuncSeparate(770,771,1,771);break;case 2:e.blendFunc(770,1);break;case 3:e.blendFuncSeparate(0,769,0,1);break;case 4:e.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}y=null,_=null,w=null,x=null,g=t,T=o}}else!0===m&&(H(3042),m=!1)}function W(t){S!==t&&(t?e.frontFace(2304):e.frontFace(2305),S=t)}function X(t){0!==t?(V(2884),t!==M&&(1===t?e.cullFace(1029):2===t?e.cullFace(1028):e.cullFace(1032))):H(2884),M=t}function q(t,i,n){t?(V(32823),C===i&&P===n||(e.polygonOffset(i,n),C=i,P=n)):H(32823)}return{buffers:{color:s,depth:r,stencil:l},enable:V,disable:H,bindFramebuffer:function(t,i){return d[t]!==i&&(e.bindFramebuffer(t,i),d[t]=i,n&&(36009===t&&(d[36160]=i),36160===t&&(d[36009]=i)),!0)},drawBuffers:function(n,s){let r=p,a=!1;if(n)if(r=u.get(s),void 0===r&&(r=[],u.set(s,r)),n.isWebGLMultipleRenderTargets){const e=n.texture;if(r.length!==e.length||36064!==r[0]){for(let t=0,i=e.length;t<i;t++)r[t]=36064+t;r.length=e.length,a=!0}}else 36064!==r[0]&&(r[0]=36064,a=!0);else 1029!==r[0]&&(r[0]=1029,a=!0);a&&(i.isWebGL2?e.drawBuffers(r):t.get("WEBGL_draw_buffers").drawBuffersWEBGL(r))},useProgram:function(t){return f!==t&&(e.useProgram(t),f=t,!0)},setBlending:j,setMaterial:function(e,t){e.side===a?H(2884):V(2884);let i=1===e.side;t&&(i=!i),W(i),1===e.blending&&!1===e.transparent?j(0):j(e.blending,e.blendEquation,e.blendSrc,e.blendDst,e.blendEquationAlpha,e.blendSrcAlpha,e.blendDstAlpha,e.premultipliedAlpha),r.setFunc(e.depthFunc),r.setTest(e.depthTest),r.setMask(e.depthWrite),s.setMask(e.colorWrite);const n=e.stencilWrite;l.setTest(n),n&&(l.setMask(e.stencilWriteMask),l.setFunc(e.stencilFunc,e.stencilRef,e.stencilFuncMask),l.setOp(e.stencilFail,e.stencilZFail,e.stencilZPass)),q(e.polygonOffset,e.polygonOffsetFactor,e.polygonOffsetUnits),!0===e.alphaToCoverage?V(32926):H(32926)},setFlipSided:W,setCullFace:X,setLineWidth:function(t){t!==E&&(A&&e.lineWidth(t),E=t)},setPolygonOffset:q,setScissorTest:function(e){e?V(3089):H(3089)},activeTexture:function(t){void 0===t&&(t=33984+k-1),I!==t&&(e.activeTexture(t),I=t)},bindTexture:function(t,i,n){void 0===n&&(n=null===I?33984+k-1:I);let s=D[n];void 0===s&&(s={type:void 0,texture:void 0},D[n]=s),s.type===t&&s.texture===i||(I!==n&&(e.activeTexture(n),I=n),e.bindTexture(t,i||B[t]),s.type=t,s.texture=i)},unbindTexture:function(){const t=D[I];void 0!==t&&void 0!==t.type&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)},compressedTexImage2D:function(){try{e.compressedTexImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage2D:function(){try{e.texImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage3D:function(){try{e.texImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},updateUBOMapping:function(t,i){let n=c.get(i);void 0===n&&(n=new WeakMap,c.set(i,n));let s=n.get(t);void 0===s&&(s=e.getUniformBlockIndex(i,t.name),n.set(t,s))},uniformBlockBinding:function(t,i){const n=c.get(i).get(t);o.get(t)!==n&&(e.uniformBlockBinding(i,n,t.__bindingPointIndex),o.set(t,n))},texStorage2D:function(){try{e.texStorage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texStorage3D:function(){try{e.texStorage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texSubImage2D:function(){try{e.texSubImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texSubImage3D:function(){try{e.texSubImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexSubImage2D:function(){try{e.compressedTexSubImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},scissor:function(t){!1===N.equals(t)&&(e.scissor(t.x,t.y,t.z,t.w),N.copy(t))},viewport:function(t){!1===$.equals(t)&&(e.viewport(t.x,t.y,t.z,t.w),$.copy(t))},reset:function(){e.disable(3042),e.disable(2884),e.disable(2929),e.disable(32823),e.disable(3089),e.disable(2960),e.disable(32926),e.blendEquation(32774),e.blendFunc(1,0),e.blendFuncSeparate(1,0,1,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(513),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(519,0,4294967295),e.stencilOp(7680,7680,7680),e.clearStencil(0),e.cullFace(1029),e.frontFace(2305),e.polygonOffset(0,0),e.activeTexture(33984),e.bindFramebuffer(36160,null),!0===n&&(e.bindFramebuffer(36009,null),e.bindFramebuffer(36008,null)),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),h={},I=null,D={},d={},u=new WeakMap,p=[],f=null,m=!1,g=null,v=null,y=null,_=null,b=null,w=null,x=null,T=!1,S=null,M=null,E=null,C=null,P=null,N.set(0,0,e.canvas.width,e.canvas.height),$.set(0,0,e.canvas.width,e.canvas.height),s.reset(),r.reset(),l.reset()}}}function Us(e,t,i,n,s,r,a){const g=s.isWebGL2,v=s.maxTextures,y=s.maxCubemapSize,_=s.maxTextureSize,w=s.maxSamples,x=t.has("WEBGL_multisampled_render_to_texture")?t.get("WEBGL_multisampled_render_to_texture"):null,T=/OculusBrowser/g.test(navigator.userAgent),S=new WeakMap;let M;const E=new WeakMap;let C=!1;try{C="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function P(e,t){return C?new OffscreenCanvas(e,t):B("canvas")}function k(e,t,i,n){let s=1;if((e.width>n||e.height>n)&&(s=n/Math.max(e.width,e.height)),s<1||!0===t){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap){const n=t?I:Math.floor,r=n(s*e.width),a=n(s*e.height);void 0===M&&(M=P(r,a));const l=i?P(r,a):M;l.width=r,l.height=a;return l.getContext("2d").drawImage(e,0,0,r,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+e.width+"x"+e.height+") to ("+r+"x"+a+")."),l}return"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+e.width+"x"+e.height+")."),e}return e}function A(e){return L(e.width)&&L(e.height)}function O(e,t){return e.generateMipmaps&&t&&e.minFilter!==h&&e.minFilter!==p}function D(t){e.generateMipmap(t)}function R(i,n,s,r,a=!1){if(!1===g)return n;if(null!==i){if(void 0!==e[i])return e[i];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+i+"'")}let l=n;return 6403===n&&(5126===s&&(l=33326),5131===s&&(l=33325),5121===s&&(l=33321)),33319===n&&(5126===s&&(l=33328),5131===s&&(l=33327),5121===s&&(l=33323)),6408===n&&(5126===s&&(l=34836),5131===s&&(l=34842),5121===s&&(l=r===b&&!1===a?35907:32856),32819===s&&(l=32854),32820===s&&(l=32855)),33325!==l&&33326!==l&&33327!==l&&33328!==l&&34842!==l&&34836!==l||t.get("EXT_color_buffer_float"),l}function z(e,t,i){return!0===O(e,i)||e.isFramebufferTexture&&e.minFilter!==h&&e.minFilter!==p?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function N(e){return e===h||e===d||e===u?9728:9729}function $(e){const t=e.target;t.removeEventListener("dispose",$),function(e){const t=n.get(e);if(void 0===t.__webglInit)return;const i=e.source,s=E.get(i);if(s){const n=s[t.__cacheKey];n.usedTimes--,0===n.usedTimes&&V(e),0===Object.keys(s).length&&E.delete(i)}n.remove(e)}(t),t.isVideoTexture&&S.delete(t)}function F(t){const i=t.target;i.removeEventListener("dispose",F),function(t){const i=t.texture,s=n.get(t),r=n.get(i);void 0!==r.__webglTexture&&(e.deleteTexture(r.__webglTexture),a.memory.textures--);t.depthTexture&&t.depthTexture.dispose();if(t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++)e.deleteFramebuffer(s.__webglFramebuffer[t]),s.__webglDepthbuffer&&e.deleteRenderbuffer(s.__webglDepthbuffer[t]);else{if(e.deleteFramebuffer(s.__webglFramebuffer),s.__webglDepthbuffer&&e.deleteRenderbuffer(s.__webglDepthbuffer),s.__webglMultisampledFramebuffer&&e.deleteFramebuffer(s.__webglMultisampledFramebuffer),s.__webglColorRenderbuffer)for(let t=0;t<s.__webglColorRenderbuffer.length;t++)s.__webglColorRenderbuffer[t]&&e.deleteRenderbuffer(s.__webglColorRenderbuffer[t]);s.__webglDepthRenderbuffer&&e.deleteRenderbuffer(s.__webglDepthRenderbuffer)}if(t.isWebGLMultipleRenderTargets)for(let t=0,s=i.length;t<s;t++){const s=n.get(i[t]);s.__webglTexture&&(e.deleteTexture(s.__webglTexture),a.memory.textures--),n.remove(i[t])}n.remove(i),n.remove(t)}(i)}function V(t){const i=n.get(t);e.deleteTexture(i.__webglTexture);const s=t.source;delete E.get(s)[i.__cacheKey],a.memory.textures--}let H=0;function U(e,t){const s=n.get(e);if(e.isVideoTexture&&function(e){const t=a.render.frame;S.get(e)!==t&&(S.set(e,t),e.update())}(e),!1===e.isRenderTargetTexture&&e.version>0&&s.__version!==e.version){const i=e.image;if(null===i)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==i.complete)return void q(s,e,t);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}i.bindTexture(3553,s.__webglTexture,33984+t)}const G={[l]:10497,[o]:33071,[c]:33648},j={[h]:9728,[d]:9984,[u]:9986,[p]:9729,[f]:9985,[m]:9987};function W(i,r,a){if(a?(e.texParameteri(i,10242,G[r.wrapS]),e.texParameteri(i,10243,G[r.wrapT]),32879!==i&&35866!==i||e.texParameteri(i,32882,G[r.wrapR]),e.texParameteri(i,10240,j[r.magFilter]),e.texParameteri(i,10241,j[r.minFilter])):(e.texParameteri(i,10242,33071),e.texParameteri(i,10243,33071),32879!==i&&35866!==i||e.texParameteri(i,32882,33071),r.wrapS===o&&r.wrapT===o||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),e.texParameteri(i,10240,N(r.magFilter)),e.texParameteri(i,10241,N(r.minFilter)),r.minFilter!==h&&r.minFilter!==p&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),!0===t.has("EXT_texture_filter_anisotropic")){const a=t.get("EXT_texture_filter_anisotropic");if(1015===r.type&&!1===t.has("OES_texture_float_linear"))return;if(!1===g&&1016===r.type&&!1===t.has("OES_texture_half_float_linear"))return;(r.anisotropy>1||n.get(r).__currentAnisotropy)&&(e.texParameterf(i,a.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(r.anisotropy,s.getMaxAnisotropy())),n.get(r).__currentAnisotropy=r.anisotropy)}}function X(t,i){let n=!1;void 0===t.__webglInit&&(t.__webglInit=!0,i.addEventListener("dispose",$));const s=i.source;let r=E.get(s);void 0===r&&(r={},E.set(s,r));const l=function(e){const t=[];return t.push(e.wrapS),t.push(e.wrapT),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.encoding),t.join()}(i);if(l!==t.__cacheKey){void 0===r[l]&&(r[l]={texture:e.createTexture(),usedTimes:0},a.memory.textures++,n=!0),r[l].usedTimes++;const s=r[t.__cacheKey];void 0!==s&&(r[t.__cacheKey].usedTimes--,0===s.usedTimes&&V(i)),t.__cacheKey=l,t.__webglTexture=r[l].texture}return n}function q(t,s,a){let l=3553;s.isDataArrayTexture&&(l=35866),s.isData3DTexture&&(l=32879);const c=X(t,s),d=s.source;i.bindTexture(l,t.__webglTexture,33984+a);const u=n.get(d);if(d.version!==u.__version||!0===c){i.activeTexture(33984+a),e.pixelStorei(37440,s.flipY),e.pixelStorei(37441,s.premultiplyAlpha),e.pixelStorei(3317,s.unpackAlignment),e.pixelStorei(37443,0);const t=function(e){return!g&&(e.wrapS!==o||e.wrapT!==o||e.minFilter!==h&&e.minFilter!==p)}(s)&&!1===A(s.image);let n=k(s.image,t,!1,_);n=te(s,n);const f=A(n)||g,m=r.convert(s.format,s.encoding);let v,y=r.convert(s.type),b=R(s.internalFormat,m,y,s.encoding,s.isVideoTexture);W(l,s,f);const w=s.mipmaps,x=g&&!0!==s.isVideoTexture,T=void 0===u.__version||!0===c,S=z(s,n,f);if(s.isDepthTexture)b=6402,g?b=1015===s.type?36012:1014===s.type?33190:1020===s.type?35056:33189:1015===s.type&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),1026===s.format&&6402===b&&1012!==s.type&&1014!==s.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),s.type=1014,y=r.convert(s.type)),1027===s.format&&6402===b&&(b=34041,1020!==s.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),s.type=1020,y=r.convert(s.type))),T&&(x?i.texStorage2D(3553,1,b,n.width,n.height):i.texImage2D(3553,0,b,n.width,n.height,0,m,y,null));else if(s.isDataTexture)if(w.length>0&&f){x&&T&&i.texStorage2D(3553,S,b,w[0].width,w[0].height);for(let e=0,t=w.length;e<t;e++)v=w[e],x?i.texSubImage2D(3553,e,0,0,v.width,v.height,m,y,v.data):i.texImage2D(3553,e,b,v.width,v.height,0,m,y,v.data);s.generateMipmaps=!1}else x?(T&&i.texStorage2D(3553,S,b,n.width,n.height),i.texSubImage2D(3553,0,0,0,n.width,n.height,m,y,n.data)):i.texImage2D(3553,0,b,n.width,n.height,0,m,y,n.data);else if(s.isCompressedTexture){x&&T&&i.texStorage2D(3553,S,b,w[0].width,w[0].height);for(let e=0,t=w.length;e<t;e++)v=w[e],1023!==s.format?null!==m?x?i.compressedTexSubImage2D(3553,e,0,0,v.width,v.height,m,v.data):i.compressedTexImage2D(3553,e,b,v.width,v.height,0,v.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):x?i.texSubImage2D(3553,e,0,0,v.width,v.height,m,y,v.data):i.texImage2D(3553,e,b,v.width,v.height,0,m,y,v.data)}else if(s.isDataArrayTexture)x?(T&&i.texStorage3D(35866,S,b,n.width,n.height,n.depth),i.texSubImage3D(35866,0,0,0,0,n.width,n.height,n.depth,m,y,n.data)):i.texImage3D(35866,0,b,n.width,n.height,n.depth,0,m,y,n.data);else if(s.isData3DTexture)x?(T&&i.texStorage3D(32879,S,b,n.width,n.height,n.depth),i.texSubImage3D(32879,0,0,0,0,n.width,n.height,n.depth,m,y,n.data)):i.texImage3D(32879,0,b,n.width,n.height,n.depth,0,m,y,n.data);else if(s.isFramebufferTexture){if(T)if(x)i.texStorage2D(3553,S,b,n.width,n.height);else{let e=n.width,t=n.height;for(let n=0;n<S;n++)i.texImage2D(3553,n,b,e,t,0,m,y,null),e>>=1,t>>=1}}else if(w.length>0&&f){x&&T&&i.texStorage2D(3553,S,b,w[0].width,w[0].height);for(let e=0,t=w.length;e<t;e++)v=w[e],x?i.texSubImage2D(3553,e,0,0,m,y,v):i.texImage2D(3553,e,b,m,y,v);s.generateMipmaps=!1}else x?(T&&i.texStorage2D(3553,S,b,n.width,n.height),i.texSubImage2D(3553,0,0,0,m,y,n)):i.texImage2D(3553,0,b,m,y,n);O(s,f)&&D(l),u.__version=d.version,s.onUpdate&&s.onUpdate(s)}t.__version=s.version}function Y(t,s,a,l,o){const c=r.convert(a.format,a.encoding),h=r.convert(a.type),d=R(a.internalFormat,c,h,a.encoding);n.get(s).__hasExternalTextures||(32879===o||35866===o?i.texImage3D(o,0,d,s.width,s.height,s.depth,0,c,h,null):i.texImage2D(o,0,d,s.width,s.height,0,c,h,null)),i.bindFramebuffer(36160,t),ee(s)?x.framebufferTexture2DMultisampleEXT(36160,l,o,n.get(a).__webglTexture,0,J(s)):e.framebufferTexture2D(36160,l,o,n.get(a).__webglTexture,0),i.bindFramebuffer(36160,null)}function Z(t,i,n){if(e.bindRenderbuffer(36161,t),i.depthBuffer&&!i.stencilBuffer){let s=33189;if(n||ee(i)){const t=i.depthTexture;t&&t.isDepthTexture&&(1015===t.type?s=36012:1014===t.type&&(s=33190));const n=J(i);ee(i)?x.renderbufferStorageMultisampleEXT(36161,n,s,i.width,i.height):e.renderbufferStorageMultisample(36161,n,s,i.width,i.height)}else e.renderbufferStorage(36161,s,i.width,i.height);e.framebufferRenderbuffer(36160,36096,36161,t)}else if(i.depthBuffer&&i.stencilBuffer){const s=J(i);n&&!1===ee(i)?e.renderbufferStorageMultisample(36161,s,35056,i.width,i.height):ee(i)?x.renderbufferStorageMultisampleEXT(36161,s,35056,i.width,i.height):e.renderbufferStorage(36161,34041,i.width,i.height),e.framebufferRenderbuffer(36160,33306,36161,t)}else{const t=!0===i.isWebGLMultipleRenderTargets?i.texture:[i.texture];for(let s=0;s<t.length;s++){const a=t[s],l=r.convert(a.format,a.encoding),o=r.convert(a.type),c=R(a.internalFormat,l,o,a.encoding),h=J(i);n&&!1===ee(i)?e.renderbufferStorageMultisample(36161,h,c,i.width,i.height):ee(i)?x.renderbufferStorageMultisampleEXT(36161,h,c,i.width,i.height):e.renderbufferStorage(36161,c,i.width,i.height)}}e.bindRenderbuffer(36161,null)}function K(t){const s=n.get(t),r=!0===t.isWebGLCubeRenderTarget;if(t.depthTexture&&!s.__autoAllocateDepthBuffer){if(r)throw new Error("target.depthTexture not supported in Cube render targets");!function(t,s){if(s&&s.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(i.bindFramebuffer(36160,t),!s.depthTexture||!s.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");n.get(s.depthTexture).__webglTexture&&s.depthTexture.image.width===s.width&&s.depthTexture.image.height===s.height||(s.depthTexture.image.width=s.width,s.depthTexture.image.height=s.height,s.depthTexture.needsUpdate=!0),U(s.depthTexture,0);const r=n.get(s.depthTexture).__webglTexture,a=J(s);if(1026===s.depthTexture.format)ee(s)?x.framebufferTexture2DMultisampleEXT(36160,36096,3553,r,0,a):e.framebufferTexture2D(36160,36096,3553,r,0);else{if(1027!==s.depthTexture.format)throw new Error("Unknown depthTexture format");ee(s)?x.framebufferTexture2DMultisampleEXT(36160,33306,3553,r,0,a):e.framebufferTexture2D(36160,33306,3553,r,0)}}(s.__webglFramebuffer,t)}else if(r){s.__webglDepthbuffer=[];for(let n=0;n<6;n++)i.bindFramebuffer(36160,s.__webglFramebuffer[n]),s.__webglDepthbuffer[n]=e.createRenderbuffer(),Z(s.__webglDepthbuffer[n],t,!1)}else i.bindFramebuffer(36160,s.__webglFramebuffer),s.__webglDepthbuffer=e.createRenderbuffer(),Z(s.__webglDepthbuffer,t,!1);i.bindFramebuffer(36160,null)}function J(e){return Math.min(w,e.samples)}function ee(e){const i=n.get(e);return g&&e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==i.__useRenderToTexture}function te(e,i){const n=e.encoding,s=e.format,r=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||1035===e.format||3e3!==n&&(n===b?!1===g?!0===t.has("EXT_sRGB")&&1023===s?(e.format=1035,e.minFilter=p,e.generateMipmaps=!1):i=Q.sRGBToLinear(i):1023===s&&1009===r||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",n)),i}this.allocateTextureUnit=function(){const e=H;return e>=v&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+v),H+=1,e},this.resetTextureUnits=function(){H=0},this.setTexture2D=U,this.setTexture2DArray=function(e,t){const s=n.get(e);e.version>0&&s.__version!==e.version?q(s,e,t):i.bindTexture(35866,s.__webglTexture,33984+t)},this.setTexture3D=function(e,t){const s=n.get(e);e.version>0&&s.__version!==e.version?q(s,e,t):i.bindTexture(32879,s.__webglTexture,33984+t)},this.setTextureCube=function(t,s){const a=n.get(t);t.version>0&&a.__version!==t.version?function(t,s,a){if(6!==s.image.length)return;const l=X(t,s),o=s.source;i.bindTexture(34067,t.__webglTexture,33984+a);const c=n.get(o);if(o.version!==c.__version||!0===l){i.activeTexture(33984+a),e.pixelStorei(37440,s.flipY),e.pixelStorei(37441,s.premultiplyAlpha),e.pixelStorei(3317,s.unpackAlignment),e.pixelStorei(37443,0);const t=s.isCompressedTexture||s.image[0].isCompressedTexture,n=s.image[0]&&s.image[0].isDataTexture,h=[];for(let e=0;e<6;e++)h[e]=t||n?n?s.image[e].image:s.image[e]:k(s.image[e],!1,!0,y),h[e]=te(s,h[e]);const d=h[0],u=A(d)||g,p=r.convert(s.format,s.encoding),f=r.convert(s.type),m=R(s.internalFormat,p,f,s.encoding),v=g&&!0!==s.isVideoTexture,_=void 0===c.__version||!0===l;let b,w=z(s,d,u);if(W(34067,s,u),t){v&&_&&i.texStorage2D(34067,w,m,d.width,d.height);for(let e=0;e<6;e++){b=h[e].mipmaps;for(let t=0;t<b.length;t++){const n=b[t];1023!==s.format?null!==p?v?i.compressedTexSubImage2D(34069+e,t,0,0,n.width,n.height,p,n.data):i.compressedTexImage2D(34069+e,t,m,n.width,n.height,0,n.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):v?i.texSubImage2D(34069+e,t,0,0,n.width,n.height,p,f,n.data):i.texImage2D(34069+e,t,m,n.width,n.height,0,p,f,n.data)}}}else{b=s.mipmaps,v&&_&&(b.length>0&&w++,i.texStorage2D(34067,w,m,h[0].width,h[0].height));for(let e=0;e<6;e++)if(n){v?i.texSubImage2D(34069+e,0,0,0,h[e].width,h[e].height,p,f,h[e].data):i.texImage2D(34069+e,0,m,h[e].width,h[e].height,0,p,f,h[e].data);for(let t=0;t<b.length;t++){const n=b[t].image[e].image;v?i.texSubImage2D(34069+e,t+1,0,0,n.width,n.height,p,f,n.data):i.texImage2D(34069+e,t+1,m,n.width,n.height,0,p,f,n.data)}}else{v?i.texSubImage2D(34069+e,0,0,0,p,f,h[e]):i.texImage2D(34069+e,0,m,p,f,h[e]);for(let t=0;t<b.length;t++){const n=b[t];v?i.texSubImage2D(34069+e,t+1,0,0,p,f,n.image[e]):i.texImage2D(34069+e,t+1,m,p,f,n.image[e])}}}O(s,u)&&D(34067),c.__version=o.version,s.onUpdate&&s.onUpdate(s)}t.__version=s.version}(a,t,s):i.bindTexture(34067,a.__webglTexture,33984+s)},this.rebindTextures=function(e,t,i){const s=n.get(e);void 0!==t&&Y(s.__webglFramebuffer,e,e.texture,36064,3553),void 0!==i&&K(e)},this.setupRenderTarget=function(t){const l=t.texture,o=n.get(t),c=n.get(l);t.addEventListener("dispose",F),!0!==t.isWebGLMultipleRenderTargets&&(void 0===c.__webglTexture&&(c.__webglTexture=e.createTexture()),c.__version=l.version,a.memory.textures++);const h=!0===t.isWebGLCubeRenderTarget,d=!0===t.isWebGLMultipleRenderTargets,u=A(t)||g;if(h){o.__webglFramebuffer=[];for(let t=0;t<6;t++)o.__webglFramebuffer[t]=e.createFramebuffer()}else{if(o.__webglFramebuffer=e.createFramebuffer(),d)if(s.drawBuffers){const i=t.texture;for(let t=0,s=i.length;t<s;t++){const s=n.get(i[t]);void 0===s.__webglTexture&&(s.__webglTexture=e.createTexture(),a.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(g&&t.samples>0&&!1===ee(t)){const n=d?l:[l];o.__webglMultisampledFramebuffer=e.createFramebuffer(),o.__webglColorRenderbuffer=[],i.bindFramebuffer(36160,o.__webglMultisampledFramebuffer);for(let i=0;i<n.length;i++){const s=n[i];o.__webglColorRenderbuffer[i]=e.createRenderbuffer(),e.bindRenderbuffer(36161,o.__webglColorRenderbuffer[i]);const a=r.convert(s.format,s.encoding),l=r.convert(s.type),c=R(s.internalFormat,a,l,s.encoding,!0===t.isXRRenderTarget),h=J(t);e.renderbufferStorageMultisample(36161,h,c,t.width,t.height),e.framebufferRenderbuffer(36160,36064+i,36161,o.__webglColorRenderbuffer[i])}e.bindRenderbuffer(36161,null),t.depthBuffer&&(o.__webglDepthRenderbuffer=e.createRenderbuffer(),Z(o.__webglDepthRenderbuffer,t,!0)),i.bindFramebuffer(36160,null)}}if(h){i.bindTexture(34067,c.__webglTexture),W(34067,l,u);for(let e=0;e<6;e++)Y(o.__webglFramebuffer[e],t,l,36064,34069+e);O(l,u)&&D(34067),i.unbindTexture()}else if(d){const e=t.texture;for(let s=0,r=e.length;s<r;s++){const r=e[s],a=n.get(r);i.bindTexture(3553,a.__webglTexture),W(3553,r,u),Y(o.__webglFramebuffer,t,r,36064+s,3553),O(r,u)&&D(3553)}i.unbindTexture()}else{let e=3553;(t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(g?e=t.isWebGL3DRenderTarget?32879:35866:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),i.bindTexture(e,c.__webglTexture),W(e,l,u),Y(o.__webglFramebuffer,t,l,36064,e),O(l,u)&&D(e),i.unbindTexture()}t.depthBuffer&&K(t)},this.updateRenderTargetMipmap=function(e){const t=A(e)||g,s=!0===e.isWebGLMultipleRenderTargets?e.texture:[e.texture];for(let r=0,a=s.length;r<a;r++){const a=s[r];if(O(a,t)){const t=e.isWebGLCubeRenderTarget?34067:3553,s=n.get(a).__webglTexture;i.bindTexture(t,s),D(t),i.unbindTexture()}}},this.updateMultisampleRenderTarget=function(t){if(g&&t.samples>0&&!1===ee(t)){const s=t.isWebGLMultipleRenderTargets?t.texture:[t.texture],r=t.width,a=t.height;let l=16384;const o=[],c=t.stencilBuffer?33306:36096,h=n.get(t),d=!0===t.isWebGLMultipleRenderTargets;if(d)for(let t=0;t<s.length;t++)i.bindFramebuffer(36160,h.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(36160,36064+t,36161,null),i.bindFramebuffer(36160,h.__webglFramebuffer),e.framebufferTexture2D(36009,36064+t,3553,null,0);i.bindFramebuffer(36008,h.__webglMultisampledFramebuffer),i.bindFramebuffer(36009,h.__webglFramebuffer);for(let i=0;i<s.length;i++){o.push(36064+i),t.depthBuffer&&o.push(c);const u=void 0!==h.__ignoreDepthValues&&h.__ignoreDepthValues;if(!1===u&&(t.depthBuffer&&(l|=256),t.stencilBuffer&&(l|=1024)),d&&e.framebufferRenderbuffer(36008,36064,36161,h.__webglColorRenderbuffer[i]),!0===u&&(e.invalidateFramebuffer(36008,[c]),e.invalidateFramebuffer(36009,[c])),d){const t=n.get(s[i]).__webglTexture;e.framebufferTexture2D(36009,36064,3553,t,0)}e.blitFramebuffer(0,0,r,a,0,0,r,a,l,9728),T&&e.invalidateFramebuffer(36008,o)}if(i.bindFramebuffer(36008,null),i.bindFramebuffer(36009,null),d)for(let t=0;t<s.length;t++){i.bindFramebuffer(36160,h.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(36160,36064+t,36161,h.__webglColorRenderbuffer[t]);const r=n.get(s[t]).__webglTexture;i.bindFramebuffer(36160,h.__webglFramebuffer),e.framebufferTexture2D(36009,36064+t,3553,r,0)}i.bindFramebuffer(36009,h.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=K,this.setupFrameBufferTexture=Y,this.useMultisampledRTT=ee}function Gs(e,t,i){const n=i.isWebGL2;return{convert:function(i,s=null){let r;if(1009===i)return 5121;if(1017===i)return 32819;if(1018===i)return 32820;if(1010===i)return 5120;if(1011===i)return 5122;if(1012===i)return 5123;if(1013===i)return 5124;if(1014===i)return 5125;if(1015===i)return 5126;if(1016===i)return n?5131:(r=t.get("OES_texture_half_float"),null!==r?r.HALF_FLOAT_OES:null);if(1021===i)return 6406;if(1023===i)return 6408;if(1024===i)return 6409;if(1025===i)return 6410;if(1026===i)return 6402;if(1027===i)return 34041;if(1028===i)return 6403;if(1022===i)return console.warn("THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228"),6408;if(1035===i)return r=t.get("EXT_sRGB"),null!==r?r.SRGB_ALPHA_EXT:null;if(1029===i)return 36244;if(1030===i)return 33319;if(1031===i)return 33320;if(1033===i)return 36249;if(33776===i||33777===i||33778===i||33779===i)if(s===b){if(r=t.get("WEBGL_compressed_texture_s3tc_srgb"),null===r)return null;if(33776===i)return r.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(33777===i)return r.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(33778===i)return r.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(33779===i)return r.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(r=t.get("WEBGL_compressed_texture_s3tc"),null===r)return null;if(33776===i)return r.COMPRESSED_RGB_S3TC_DXT1_EXT;if(33777===i)return r.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(33778===i)return r.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(33779===i)return r.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(35840===i||35841===i||35842===i||35843===i){if(r=t.get("WEBGL_compressed_texture_pvrtc"),null===r)return null;if(35840===i)return r.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(35841===i)return r.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===i)return r.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===i)return r.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(36196===i)return r=t.get("WEBGL_compressed_texture_etc1"),null!==r?r.COMPRESSED_RGB_ETC1_WEBGL:null;if(37492===i||37496===i){if(r=t.get("WEBGL_compressed_texture_etc"),null===r)return null;if(37492===i)return s===b?r.COMPRESSED_SRGB8_ETC2:r.COMPRESSED_RGB8_ETC2;if(37496===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:r.COMPRESSED_RGBA8_ETC2_EAC}if(37808===i||37809===i||37810===i||37811===i||37812===i||37813===i||37814===i||37815===i||37816===i||37817===i||37818===i||37819===i||37820===i||37821===i){if(r=t.get("WEBGL_compressed_texture_astc"),null===r)return null;if(37808===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:r.COMPRESSED_RGBA_ASTC_4x4_KHR;if(37809===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:r.COMPRESSED_RGBA_ASTC_5x4_KHR;if(37810===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:r.COMPRESSED_RGBA_ASTC_5x5_KHR;if(37811===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:r.COMPRESSED_RGBA_ASTC_6x5_KHR;if(37812===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:r.COMPRESSED_RGBA_ASTC_6x6_KHR;if(37813===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:r.COMPRESSED_RGBA_ASTC_8x5_KHR;if(37814===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:r.COMPRESSED_RGBA_ASTC_8x6_KHR;if(37815===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:r.COMPRESSED_RGBA_ASTC_8x8_KHR;if(37816===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:r.COMPRESSED_RGBA_ASTC_10x5_KHR;if(37817===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:r.COMPRESSED_RGBA_ASTC_10x6_KHR;if(37818===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:r.COMPRESSED_RGBA_ASTC_10x8_KHR;if(37819===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:r.COMPRESSED_RGBA_ASTC_10x10_KHR;if(37820===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:r.COMPRESSED_RGBA_ASTC_12x10_KHR;if(37821===i)return s===b?r.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:r.COMPRESSED_RGBA_ASTC_12x12_KHR}if(36492===i){if(r=t.get("EXT_texture_compression_bptc"),null===r)return null;if(36492===i)return s===b?r.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:r.COMPRESSED_RGBA_BPTC_UNORM_EXT}return 1020===i?n?34042:(r=t.get("WEBGL_depth_texture"),null!==r?r.UNSIGNED_INT_24_8_WEBGL:null):void 0!==e[i]?e[i]:null}}}class js extends di{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class Ws extends dt{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Xs={type:"move"};class qs{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new Ws,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new Ws,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ce,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ce),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new Ws,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ce,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ce),this._grip}dispatchEvent(e){return null!==this._targetRay&&this._targetRay.dispatchEvent(e),null!==this._grip&&this._grip.dispatchEvent(e),null!==this._hand&&this._hand.dispatchEvent(e),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(e,t,i){let n=null,s=null,r=null;const a=this._targetRay,l=this._grip,o=this._hand;if(e&&"visible-blurred"!==t.session.visibilityState){if(o&&e.hand){r=!0;for(const n of e.hand.values()){const e=t.getJointPose(n,i);if(void 0===o.joints[n.jointName]){const e=new Ws;e.matrixAutoUpdate=!1,e.visible=!1,o.joints[n.jointName]=e,o.add(e)}const s=o.joints[n.jointName];null!==e&&(s.matrix.fromArray(e.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.jointRadius=e.radius),s.visible=null!==e}const n=o.joints["index-finger-tip"],s=o.joints["thumb-tip"],a=n.position.distanceTo(s.position),l=.02,c=.005;o.inputState.pinching&&a>l+c?(o.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!o.inputState.pinching&&a<=l-c&&(o.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==l&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),null!==s&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));null!==a&&(n=t.getPose(e.targetRaySpace,i),null===n&&null!==s&&(n=s),null!==n&&(a.matrix.fromArray(n.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),n.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(n.linearVelocity)):a.hasLinearVelocity=!1,n.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(n.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(Xs)))}return null!==a&&(a.visible=null!==n),null!==l&&(l.visible=null!==s),null!==o&&(o.visible=null!==r),this}}class Ys extends ne{constructor(e,t,i,n,s,r,a,l,o,c){if(1026!==(c=void 0!==c?c:1026)&&1027!==c)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===i&&1026===c&&(i=1014),void 0===i&&1027===c&&(i=1020),super(null,n,s,r,a,l,c,i,o),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=void 0!==a?a:h,this.minFilter=void 0!==l?l:h,this.flipY=!1,this.generateMipmaps=!1}}class Zs extends x{constructor(e,t){super();const i=this;let n=null,s=1,r=null,a="local-floor",l=null,o=null,c=null,h=null,d=null,u=null;const p=t.getContextAttributes();let f=null,m=null;const g=[],v=[],y=new di;y.layers.enable(1),y.viewport=new se;const _=new di;_.layers.enable(2),_.viewport=new se;const b=[y,_],w=new js;w.layers.enable(1),w.layers.enable(2);let x=null,T=null;function S(e){const t=v.indexOf(e.inputSource);if(-1===t)return;const i=g[t];void 0!==i&&i.dispatchEvent({type:e.type,data:e.inputSource})}function M(){n.removeEventListener("select",S),n.removeEventListener("selectstart",S),n.removeEventListener("selectend",S),n.removeEventListener("squeeze",S),n.removeEventListener("squeezestart",S),n.removeEventListener("squeezeend",S),n.removeEventListener("end",M),n.removeEventListener("inputsourceschange",E);for(let e=0;e<g.length;e++){const t=v[e];null!==t&&(v[e]=null,g[e].disconnect(t))}x=null,T=null,e.setRenderTarget(f),d=null,h=null,c=null,n=null,m=null,L.stop(),i.isPresenting=!1,i.dispatchEvent({type:"sessionend"})}function E(e){for(let t=0;t<e.removed.length;t++){const i=e.removed[t],n=v.indexOf(i);n>=0&&(v[n]=null,g[n].dispatchEvent({type:"disconnected",data:i}))}for(let t=0;t<e.added.length;t++){const i=e.added[t];let n=v.indexOf(i);if(-1===n){for(let e=0;e<g.length;e++){if(e>=v.length){v.push(i),n=e;break}if(null===v[e]){v[e]=i,n=e;break}}if(-1===n)break}const s=g[n];s&&s.dispatchEvent({type:"connected",data:i})}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=g[e];return void 0===t&&(t=new qs,g[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=g[e];return void 0===t&&(t=new qs,g[e]=t),t.getGripSpace()},this.getHand=function(e){let t=g[e];return void 0===t&&(t=new qs,g[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){s=e,!0===i.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){a=e,!0===i.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||r},this.setReferenceSpace=function(e){l=e},this.getBaseLayer=function(){return null!==h?h:d},this.getBinding=function(){return c},this.getFrame=function(){return u},this.getSession=function(){return n},this.setSession=async function(o){if(n=o,null!==n){if(f=e.getRenderTarget(),n.addEventListener("select",S),n.addEventListener("selectstart",S),n.addEventListener("selectend",S),n.addEventListener("squeeze",S),n.addEventListener("squeezestart",S),n.addEventListener("squeezeend",S),n.addEventListener("end",M),n.addEventListener("inputsourceschange",E),!0!==p.xrCompatible&&await t.makeXRCompatible(),void 0===n.renderState.layers||!1===e.capabilities.isWebGL2){const i={antialias:void 0!==n.renderState.layers||p.antialias,alpha:p.alpha,depth:p.depth,stencil:p.stencil,framebufferScaleFactor:s};d=new XRWebGLLayer(n,t,i),n.updateRenderState({baseLayer:d}),m=new re(d.framebufferWidth,d.framebufferHeight,{format:1023,type:1009,encoding:e.outputEncoding,stencilBuffer:p.stencil})}else{let i=null,r=null,a=null;p.depth&&(a=p.stencil?35056:33190,i=p.stencil?1027:1026,r=p.stencil?1020:1014);const l={colorFormat:32856,depthFormat:a,scaleFactor:s};c=new XRWebGLBinding(n,t),h=c.createProjectionLayer(l),n.updateRenderState({layers:[h]}),m=new re(h.textureWidth,h.textureHeight,{format:1023,type:1009,depthTexture:new Ys(h.textureWidth,h.textureHeight,r,void 0,void 0,void 0,void 0,void 0,void 0,i),stencilBuffer:p.stencil,encoding:e.outputEncoding,samples:p.antialias?4:0});e.properties.get(m).__ignoreDepthValues=h.ignoreDepthValues}m.isXRRenderTarget=!0,this.setFoveation(1),l=null,r=await n.requestReferenceSpace(a),L.setContext(n),L.start(),i.isPresenting=!0,i.dispatchEvent({type:"sessionstart"})}};const C=new ce,P=new ce;function k(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){if(null===n)return;w.near=_.near=y.near=e.near,w.far=_.far=y.far=e.far,x===w.near&&T===w.far||(n.updateRenderState({depthNear:w.near,depthFar:w.far}),x=w.near,T=w.far);const t=e.parent,i=w.cameras;k(w,t);for(let e=0;e<i.length;e++)k(i[e],t);w.matrixWorld.decompose(w.position,w.quaternion,w.scale),e.matrix.copy(w.matrix),e.matrix.decompose(e.position,e.quaternion,e.scale);const s=e.children;for(let e=0,t=s.length;e<t;e++)s[e].updateMatrixWorld(!0);2===i.length?function(e,t,i){C.setFromMatrixPosition(t.matrixWorld),P.setFromMatrixPosition(i.matrixWorld);const n=C.distanceTo(P),s=t.projectionMatrix.elements,r=i.projectionMatrix.elements,a=s[14]/(s[10]-1),l=s[14]/(s[10]+1),o=(s[9]+1)/s[5],c=(s[9]-1)/s[5],h=(s[8]-1)/s[0],d=(r[8]+1)/r[0],u=a*h,p=a*d,f=n/(-h+d),m=f*-h;t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(m),e.translateZ(f),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert();const g=a+f,v=l+f,y=u-m,_=p+(n-m),b=o*l/v*g,w=c*l/v*g;e.projectionMatrix.makePerspective(y,_,b,w,g,v)}(w,y,_):w.projectionMatrix.copy(y.projectionMatrix)},this.getCamera=function(){return w},this.getFoveation=function(){return null!==h?h.fixedFoveation:null!==d?d.fixedFoveation:void 0},this.setFoveation=function(e){null!==h&&(h.fixedFoveation=e),null!==d&&void 0!==d.fixedFoveation&&(d.fixedFoveation=e)};let A=null;const L=new xi;L.setAnimationLoop((function(t,i){if(o=i.getViewerPose(l||r),u=i,null!==o){const t=o.views;null!==d&&(e.setRenderTargetFramebuffer(m,d.framebuffer),e.setRenderTarget(m));let i=!1;t.length!==w.cameras.length&&(w.cameras.length=0,i=!0);for(let n=0;n<t.length;n++){const s=t[n];let r=null;if(null!==d)r=d.getViewport(s);else{const t=c.getViewSubImage(h,s);r=t.viewport,0===n&&(e.setRenderTargetTextures(m,t.colorTexture,h.ignoreDepthValues?void 0:t.depthStencilTexture),e.setRenderTarget(m))}let a=b[n];void 0===a&&(a=new di,a.layers.enable(n),a.viewport=new se,b[n]=a),a.matrix.fromArray(s.transform.matrix),a.projectionMatrix.fromArray(s.projectionMatrix),a.viewport.set(r.x,r.y,r.width,r.height),0===n&&w.matrix.copy(a.matrix),!0===i&&w.cameras.push(a)}}for(let e=0;e<g.length;e++){const t=v[e],n=g[e];null!==t&&void 0!==n&&n.update(t,i,l||r)}A&&A(t,i),u=null})),this.setAnimationLoop=function(e){A=e},this.dispose=function(){}}}function Ks(e,t){function i(i,n){i.opacity.value=n.opacity,n.color&&i.diffuse.value.copy(n.color),n.emissive&&i.emissive.value.copy(n.emissive).multiplyScalar(n.emissiveIntensity),n.map&&(i.map.value=n.map),n.alphaMap&&(i.alphaMap.value=n.alphaMap),n.bumpMap&&(i.bumpMap.value=n.bumpMap,i.bumpScale.value=n.bumpScale,1===n.side&&(i.bumpScale.value*=-1)),n.displacementMap&&(i.displacementMap.value=n.displacementMap,i.displacementScale.value=n.displacementScale,i.displacementBias.value=n.displacementBias),n.emissiveMap&&(i.emissiveMap.value=n.emissiveMap),n.normalMap&&(i.normalMap.value=n.normalMap,i.normalScale.value.copy(n.normalScale),1===n.side&&i.normalScale.value.negate()),n.specularMap&&(i.specularMap.value=n.specularMap),n.alphaTest>0&&(i.alphaTest.value=n.alphaTest);const s=t.get(n).envMap;if(s&&(i.envMap.value=s,i.flipEnvMap.value=s.isCubeTexture&&!1===s.isRenderTargetTexture?-1:1,i.reflectivity.value=n.reflectivity,i.ior.value=n.ior,i.refractionRatio.value=n.refractionRatio),n.lightMap){i.lightMap.value=n.lightMap;const t=!0!==e.physicallyCorrectLights?Math.PI:1;i.lightMapIntensity.value=n.lightMapIntensity*t}let r,a;n.aoMap&&(i.aoMap.value=n.aoMap,i.aoMapIntensity.value=n.aoMapIntensity),n.map?r=n.map:n.specularMap?r=n.specularMap:n.displacementMap?r=n.displacementMap:n.normalMap?r=n.normalMap:n.bumpMap?r=n.bumpMap:n.roughnessMap?r=n.roughnessMap:n.metalnessMap?r=n.metalnessMap:n.alphaMap?r=n.alphaMap:n.emissiveMap?r=n.emissiveMap:n.clearcoatMap?r=n.clearcoatMap:n.clearcoatNormalMap?r=n.clearcoatNormalMap:n.clearcoatRoughnessMap?r=n.clearcoatRoughnessMap:n.iridescenceMap?r=n.iridescenceMap:n.iridescenceThicknessMap?r=n.iridescenceThicknessMap:n.specularIntensityMap?r=n.specularIntensityMap:n.specularColorMap?r=n.specularColorMap:n.transmissionMap?r=n.transmissionMap:n.thicknessMap?r=n.thicknessMap:n.sheenColorMap?r=n.sheenColorMap:n.sheenRoughnessMap&&(r=n.sheenRoughnessMap),void 0!==r&&(r.isWebGLRenderTarget&&(r=r.texture),!0===r.matrixAutoUpdate&&r.updateMatrix(),i.uvTransform.value.copy(r.matrix)),n.aoMap?a=n.aoMap:n.lightMap&&(a=n.lightMap),void 0!==a&&(a.isWebGLRenderTarget&&(a=a.texture),!0===a.matrixAutoUpdate&&a.updateMatrix(),i.uv2Transform.value.copy(a.matrix))}return{refreshFogUniforms:function(e,t){e.fogColor.value.copy(t.color),t.isFog?(e.fogNear.value=t.near,e.fogFar.value=t.far):t.isFogExp2&&(e.fogDensity.value=t.density)},refreshMaterialUniforms:function(e,n,s,r,a){n.isMeshBasicMaterial||n.isMeshLambertMaterial?i(e,n):n.isMeshToonMaterial?(i(e,n),function(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}(e,n)):n.isMeshPhongMaterial?(i(e,n),function(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}(e,n)):n.isMeshStandardMaterial?(i(e,n),function(e,i){e.roughness.value=i.roughness,e.metalness.value=i.metalness,i.roughnessMap&&(e.roughnessMap.value=i.roughnessMap);i.metalnessMap&&(e.metalnessMap.value=i.metalnessMap);t.get(i).envMap&&(e.envMapIntensity.value=i.envMapIntensity)}(e,n),n.isMeshPhysicalMaterial&&function(e,t,i){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap));t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap),t.clearcoatNormalMap&&(e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),e.clearcoatNormalMap.value=t.clearcoatNormalMap,1===t.side&&e.clearcoatNormalScale.value.negate()));t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap));t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=i.texture,e.transmissionSamplerSize.value.set(i.width,i.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor));e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap);t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap)}(e,n,a)):n.isMeshMatcapMaterial?(i(e,n),function(e,t){t.matcap&&(e.matcap.value=t.matcap)}(e,n)):n.isMeshDepthMaterial?i(e,n):n.isMeshDistanceMaterial?(i(e,n),function(e,t){e.referencePosition.value.copy(t.referencePosition),e.nearDistance.value=t.nearDistance,e.farDistance.value=t.farDistance}(e,n)):n.isMeshNormalMaterial?i(e,n):n.isLineBasicMaterial?(function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity}(e,n),n.isLineDashedMaterial&&function(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}(e,n)):n.isPointsMaterial?function(e,t,i,n){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*i,e.scale.value=.5*n,t.map&&(e.map.value=t.map);t.alphaMap&&(e.alphaMap.value=t.alphaMap);t.alphaTest>0&&(e.alphaTest.value=t.alphaTest);let s;t.map?s=t.map:t.alphaMap&&(s=t.alphaMap);void 0!==s&&(!0===s.matrixAutoUpdate&&s.updateMatrix(),e.uvTransform.value.copy(s.matrix))}(e,n,s,r):n.isSpriteMaterial?function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map);t.alphaMap&&(e.alphaMap.value=t.alphaMap);t.alphaTest>0&&(e.alphaTest.value=t.alphaTest);let i;t.map?i=t.map:t.alphaMap&&(i=t.alphaMap);void 0!==i&&(!0===i.matrixAutoUpdate&&i.updateMatrix(),e.uvTransform.value.copy(i.matrix))}(e,n):n.isShadowMaterial?(e.color.value.copy(n.color),e.opacity.value=n.opacity):n.isShaderMaterial&&(n.uniformsNeedUpdate=!1)}}}function Js(e,t,i,n){let s={},r={},a=[];const l=i.isWebGL2?e.getParameter(35375):0;function o(e,t,i){const n=e.value;if(void 0===i[t])return i[t]="number"==typeof n?n:n.clone(),!0;if("number"==typeof n){if(i[t]!==n)return i[t]=n,!0}else{const e=i[t];if(!1===e.equals(n))return e.copy(n),!0}return!1}function c(e){const t=e.value,i={boundary:0,storage:0};return"number"==typeof t?(i.boundary=4,i.storage=4):t.isVector2?(i.boundary=8,i.storage=8):t.isVector3||t.isColor?(i.boundary=16,i.storage=12):t.isVector4?(i.boundary=16,i.storage=16):t.isMatrix3?(i.boundary=48,i.storage=48):t.isMatrix4?(i.boundary=64,i.storage=64):t.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",t),i}function h(t){const i=t.target;i.removeEventListener("dispose",h);const n=a.indexOf(i.__bindingPointIndex);a.splice(n,1),e.deleteBuffer(s[i.id]),delete s[i.id],delete r[i.id]}return{bind:function(e,t){const i=t.program;n.uniformBlockBinding(e,i)},update:function(i,d){let u=s[i.id];void 0===u&&(!function(e){const t=e.uniforms;let i=0;let n=0;for(let e=0,s=t.length;e<s;e++){const s=t[e],r=c(s);if(s.__data=new Float32Array(r.storage/Float32Array.BYTES_PER_ELEMENT),s.__offset=i,e>0){n=i%16;const e=16-n;0!==n&&e-r.boundary<0&&(i+=16-n,s.__offset=i)}i+=r.storage}n=i%16,n>0&&(i+=16-n);e.__size=i,e.__cache={}}(i),u=function(t){const i=function(){for(let e=0;e<l;e++)if(-1===a.indexOf(e))return a.push(e),e;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();t.__bindingPointIndex=i;const n=e.createBuffer(),s=t.__size,r=t.usage;return e.bindBuffer(35345,n),e.bufferData(35345,s,r),e.bindBuffer(35345,null),e.bindBufferBase(35345,i,n),n}(i),s[i.id]=u,i.addEventListener("dispose",h));const p=d.program;n.updateUBOMapping(i,p);const f=t.render.frame;r[i.id]!==f&&(!function(t){const i=s[t.id],n=t.uniforms,r=t.__cache;e.bindBuffer(35345,i);for(let t=0,i=n.length;t<i;t++){const i=n[t];if(!0===o(i,t,r)){const t=i.value,n=i.__offset;"number"==typeof t?(i.__data[0]=t,e.bufferSubData(35345,n,i.__data)):(i.value.isMatrix3?(i.__data[0]=i.value.elements[0],i.__data[1]=i.value.elements[1],i.__data[2]=i.value.elements[2],i.__data[3]=i.value.elements[0],i.__data[4]=i.value.elements[3],i.__data[5]=i.value.elements[4],i.__data[6]=i.value.elements[5],i.__data[7]=i.value.elements[0],i.__data[8]=i.value.elements[6],i.__data[9]=i.value.elements[7],i.__data[10]=i.value.elements[8],i.__data[11]=i.value.elements[0]):t.toArray(i.__data),e.bufferSubData(35345,n,i.__data))}}e.bindBuffer(35345,null)}(i),r[i.id]=f)},dispose:function(){for(const t in s)e.deleteBuffer(s[t]);a=[],s={},r={}}}}function Qs(e={}){this.isWebGLRenderer=!0;const t=void 0!==e.canvas?e.canvas:function(){const e=B("canvas");return e.style.display="block",e}(),i=void 0!==e.context?e.context:null,n=void 0===e.depth||e.depth,s=void 0===e.stencil||e.stencil,l=void 0!==e.antialias&&e.antialias,o=void 0===e.premultipliedAlpha||e.premultipliedAlpha,c=void 0!==e.preserveDrawingBuffer&&e.preserveDrawingBuffer,h=void 0!==e.powerPreference?e.powerPreference:"default",d=void 0!==e.failIfMajorPerformanceCaveat&&e.failIfMajorPerformanceCaveat;let u;u=null!==i?i.getContextAttributes().alpha:void 0!==e.alpha&&e.alpha;let p=null,f=null;const g=[],v=[];this.domElement=t,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=3e3,this.physicallyCorrectLights=!1,this.toneMapping=0,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaFactor has been removed."),2},set:function(){console.warn("THREE.WebGLRenderer: .gammaFactor has been removed.")}}});const y=this;let _=!1,b=0,w=0,x=null,T=-1,S=null;const M=new se,E=new se;let C=null,P=t.width,k=t.height,A=1,L=null,O=null;const D=new se(0,0,P,k),R=new se(0,0,P,k);let z=!1;const $=new wi;let F=!1,V=!1,H=null;const U=new Be,G=new N,j=new ce,W={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function X(){return null===x?A:1}let q,Y,Z,K,J,Q,ee,te,ie,ne,ae,le,oe,he,de,ue,pe,fe,me,ge,ve,ye,_e,be,we=i;function xe(e,i){for(let n=0;n<e.length;n++){const s=e[n],r=t.getContext(s,i);if(null!==r)return r}return null}try{const e={alpha:!0,depth:n,stencil:s,antialias:l,premultipliedAlpha:o,preserveDrawingBuffer:c,powerPreference:h,failIfMajorPerformanceCaveat:d};if("setAttribute"in t&&t.setAttribute("data-engine","three.js r145"),t.addEventListener("webglcontextlost",Me,!1),t.addEventListener("webglcontextrestored",Ee,!1),t.addEventListener("webglcontextcreationerror",Ce,!1),null===we){const t=["webgl2","webgl","experimental-webgl"];if(!0===y.isWebGL1Renderer&&t.shift(),we=xe(t,e),null===we)throw xe(t)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}void 0===we.getShaderPrecisionFormat&&(we.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function Te(){q=new Yi(we),Y=new Li(we,q,e),q.init(Y),ye=new Gs(we,q,Y),Z=new Hs(we,q,Y),K=new Ji,J=new Ps,Q=new Us(we,q,Z,J,Y,ye,K),ee=new Ii(y),te=new qi(y),ie=new Ti(we,Y),_e=new ki(we,q,ie,Y),ne=new Zi(we,ie,K,_e),ae=new nn(we,ne,ie,K),me=new tn(we,Y,Q),ue=new Oi(J),le=new Cs(y,ee,te,q,Y,_e,ue),oe=new Ks(y,J),he=new Os,de=new $s(q,Y),fe=new Pi(y,ee,Z,ae,u,o),pe=new Vs(y,ae,Y),be=new Js(we,K,Y,Z),ge=new Ai(we,q,K,Y),ve=new Ki(we,q,K,Y),K.programs=le.programs,y.capabilities=Y,y.extensions=q,y.properties=J,y.renderLists=he,y.shadowMap=pe,y.state=Z,y.info=K}Te();const Se=new Zs(y,we);function Me(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),_=!0}function Ee(){console.log("THREE.WebGLRenderer: Context Restored."),_=!1;const e=K.autoReset,t=pe.enabled,i=pe.autoUpdate,n=pe.needsUpdate,s=pe.type;Te(),K.autoReset=e,pe.enabled=t,pe.autoUpdate=i,pe.needsUpdate=n,pe.type=s}function Ce(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function Pe(e){const t=e.target;t.removeEventListener("dispose",Pe),function(e){(function(e){const t=J.get(e).programs;void 0!==t&&(t.forEach((function(e){le.releaseProgram(e)})),e.isShaderMaterial&&le.releaseShaderCache(e))})(e),J.remove(e)}(t)}this.xr=Se,this.getContext=function(){return we},this.getContextAttributes=function(){return we.getContextAttributes()},this.forceContextLoss=function(){const e=q.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){const e=q.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return A},this.setPixelRatio=function(e){void 0!==e&&(A=e,this.setSize(P,k,!1))},this.getSize=function(e){return e.set(P,k)},this.setSize=function(e,i,n){Se.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(P=e,k=i,t.width=Math.floor(e*A),t.height=Math.floor(i*A),!1!==n&&(t.style.width=e+"px",t.style.height=i+"px"),this.setViewport(0,0,e,i))},this.getDrawingBufferSize=function(e){return e.set(P*A,k*A).floor()},this.setDrawingBufferSize=function(e,i,n){P=e,k=i,A=n,t.width=Math.floor(e*n),t.height=Math.floor(i*n),this.setViewport(0,0,e,i)},this.getCurrentViewport=function(e){return e.copy(M)},this.getViewport=function(e){return e.copy(D)},this.setViewport=function(e,t,i,n){e.isVector4?D.set(e.x,e.y,e.z,e.w):D.set(e,t,i,n),Z.viewport(M.copy(D).multiplyScalar(A).floor())},this.getScissor=function(e){return e.copy(R)},this.setScissor=function(e,t,i,n){e.isVector4?R.set(e.x,e.y,e.z,e.w):R.set(e,t,i,n),Z.scissor(E.copy(R).multiplyScalar(A).floor())},this.getScissorTest=function(){return z},this.setScissorTest=function(e){Z.setScissorTest(z=e)},this.setOpaqueSort=function(e){L=e},this.setTransparentSort=function(e){O=e},this.getClearColor=function(e){return e.copy(fe.getClearColor())},this.setClearColor=function(){fe.setClearColor.apply(fe,arguments)},this.getClearAlpha=function(){return fe.getClearAlpha()},this.setClearAlpha=function(){fe.setClearAlpha.apply(fe,arguments)},this.clear=function(e=!0,t=!0,i=!0){let n=0;e&&(n|=16384),t&&(n|=256),i&&(n|=1024),we.clear(n)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",Me,!1),t.removeEventListener("webglcontextrestored",Ee,!1),t.removeEventListener("webglcontextcreationerror",Ce,!1),he.dispose(),de.dispose(),J.dispose(),ee.dispose(),te.dispose(),ae.dispose(),_e.dispose(),be.dispose(),le.dispose(),Se.dispose(),Se.removeEventListener("sessionstart",Ae),Se.removeEventListener("sessionend",Le),H&&(H.dispose(),H=null),Oe.stop()},this.renderBufferDirect=function(e,t,i,n,s,r){null===t&&(t=W);const a=s.isMesh&&s.matrixWorld.determinant()<0,l=function(e,t,i,n,s){!0!==t.isScene&&(t=W);Q.resetTextureUnits();const r=t.fog,a=n.isMeshStandardMaterial?t.environment:null,l=null===x?y.outputEncoding:!0===x.isXRRenderTarget?x.texture.encoding:3e3,o=(n.isMeshStandardMaterial?te:ee).get(n.envMap||a),c=!0===n.vertexColors&&!!i.attributes.color&&4===i.attributes.color.itemSize,h=!!n.normalMap&&!!i.attributes.tangent,d=!!i.morphAttributes.position,u=!!i.morphAttributes.normal,p=!!i.morphAttributes.color,m=n.toneMapped?y.toneMapping:0,g=i.morphAttributes.position||i.morphAttributes.normal||i.morphAttributes.color,v=void 0!==g?g.length:0,_=J.get(n),b=f.state.lights;if(!0===F&&(!0===V||e!==S)){const t=e===S&&n.id===T;ue.setState(n,e,t)}let w=!1;n.version===_.__version?_.needsLights&&_.lightsStateVersion!==b.state.version||_.outputEncoding!==l||s.isInstancedMesh&&!1===_.instancing?w=!0:s.isInstancedMesh||!0!==_.instancing?s.isSkinnedMesh&&!1===_.skinning?w=!0:s.isSkinnedMesh||!0!==_.skinning?_.envMap!==o||!0===n.fog&&_.fog!==r?w=!0:void 0===_.numClippingPlanes||_.numClippingPlanes===ue.numPlanes&&_.numIntersection===ue.numIntersection?(_.vertexAlphas!==c||_.vertexTangents!==h||_.morphTargets!==d||_.morphNormals!==u||_.morphColors!==p||_.toneMapping!==m||!0===Y.isWebGL2&&_.morphTargetsCount!==v)&&(w=!0):w=!0:w=!0:w=!0:(w=!0,_.__version=n.version);let M=_.currentProgram;!0===w&&(M=ze(n,t,s));let E=!1,C=!1,P=!1;const L=M.getUniforms(),O=_.uniforms;Z.useProgram(M.program)&&(E=!0,C=!0,P=!0);n.id!==T&&(T=n.id,C=!0);if(E||S!==e){if(L.setValue(we,"projectionMatrix",e.projectionMatrix),Y.logarithmicDepthBuffer&&L.setValue(we,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),S!==e&&(S=e,C=!0,P=!0),n.isShaderMaterial||n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshStandardMaterial||n.envMap){const t=L.map.cameraPosition;void 0!==t&&t.setValue(we,j.setFromMatrixPosition(e.matrixWorld))}(n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshLambertMaterial||n.isMeshBasicMaterial||n.isMeshStandardMaterial||n.isShaderMaterial)&&L.setValue(we,"isOrthographic",!0===e.isOrthographicCamera),(n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshLambertMaterial||n.isMeshBasicMaterial||n.isMeshStandardMaterial||n.isShaderMaterial||n.isShadowMaterial||s.isSkinnedMesh)&&L.setValue(we,"viewMatrix",e.matrixWorldInverse)}if(s.isSkinnedMesh){L.setOptional(we,s,"bindMatrix"),L.setOptional(we,s,"bindMatrixInverse");const e=s.skeleton;e&&(Y.floatVertexTextures?(null===e.boneTexture&&e.computeBoneTexture(),L.setValue(we,"boneTexture",e.boneTexture,Q),L.setValue(we,"boneTextureSize",e.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}const I=i.morphAttributes;(void 0!==I.position||void 0!==I.normal||void 0!==I.color&&!0===Y.isWebGL2)&&me.update(s,i,n,M);(C||_.receiveShadow!==s.receiveShadow)&&(_.receiveShadow=s.receiveShadow,L.setValue(we,"receiveShadow",s.receiveShadow));n.isMeshGouraudMaterial&&null!==n.envMap&&(O.envMap.value=o,O.flipEnvMap.value=o.isCubeTexture&&!1===o.isRenderTargetTexture?-1:1);C&&(L.setValue(we,"toneMappingExposure",y.toneMappingExposure),_.needsLights&&(R=P,(D=O).ambientLightColor.needsUpdate=R,D.lightProbe.needsUpdate=R,D.directionalLights.needsUpdate=R,D.directionalLightShadows.needsUpdate=R,D.pointLights.needsUpdate=R,D.pointLightShadows.needsUpdate=R,D.spotLights.needsUpdate=R,D.spotLightShadows.needsUpdate=R,D.rectAreaLights.needsUpdate=R,D.hemisphereLights.needsUpdate=R),r&&!0===n.fog&&oe.refreshFogUniforms(O,r),oe.refreshMaterialUniforms(O,n,A,k,H),ls.upload(we,_.uniformsList,O,Q));var D,R;n.isShaderMaterial&&!0===n.uniformsNeedUpdate&&(ls.upload(we,_.uniformsList,O,Q),n.uniformsNeedUpdate=!1);n.isSpriteMaterial&&L.setValue(we,"center",s.center);if(L.setValue(we,"modelViewMatrix",s.modelViewMatrix),L.setValue(we,"normalMatrix",s.normalMatrix),L.setValue(we,"modelMatrix",s.matrixWorld),n.isShaderMaterial||n.isRawShaderMaterial){const e=n.uniformsGroups;for(let t=0,i=e.length;t<i;t++)if(Y.isWebGL2){const i=e[t];be.update(i,M),be.bind(i,M)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return M}(e,t,i,n,s);Z.setMaterial(n,a);let o=i.index;const c=i.attributes.position;if(null===o){if(void 0===c||0===c.count)return}else if(0===o.count)return;let h,d=1;!0===n.wireframe&&(o=ne.getWireframeAttribute(i),d=2),_e.setup(s,n,l,i,o);let u=ge;null!==o&&(h=ie.get(o),u=ve,u.setIndex(h));const p=null!==o?o.count:c.count,m=i.drawRange.start*d,g=i.drawRange.count*d,v=null!==r?r.start*d:0,_=null!==r?r.count*d:1/0,b=Math.max(m,v),w=Math.min(p,m+g,v+_)-1,M=Math.max(0,w-b+1);if(0!==M){if(s.isMesh)!0===n.wireframe?(Z.setLineWidth(n.wireframeLinewidth*X()),u.setMode(1)):u.setMode(4);else if(s.isLine){let e=n.linewidth;void 0===e&&(e=1),Z.setLineWidth(e*X()),s.isLineSegments?u.setMode(1):s.isLineLoop?u.setMode(2):u.setMode(3)}else s.isPoints?u.setMode(0):s.isSprite&&u.setMode(4);if(s.isInstancedMesh)u.renderInstances(b,M,s.count);else if(i.isInstancedBufferGeometry){const e=Math.min(i.instanceCount,i._maxInstanceCount);u.renderInstances(b,M,e)}else u.render(b,M)}},this.compile=function(e,t){function i(e,t,i){!0===e.transparent&&e.side===a?(e.side=1,e.needsUpdate=!0,ze(e,t,i),e.side=r,e.needsUpdate=!0,ze(e,t,i),e.side=a):ze(e,t,i)}f=de.get(e),f.init(),v.push(f),e.traverseVisible((function(e){e.isLight&&e.layers.test(t.layers)&&(f.pushLight(e),e.castShadow&&f.pushShadow(e))})),f.setupLights(y.physicallyCorrectLights),e.traverse((function(t){const n=t.material;if(n)if(Array.isArray(n))for(let s=0;s<n.length;s++){i(n[s],e,t)}else i(n,e,t)})),v.pop(),f=null};let ke=null;function Ae(){Oe.stop()}function Le(){Oe.start()}const Oe=new xi;function Ie(e,t,i,n){const s=e.opaque,r=e.transmissive,a=e.transparent;f.setupLightsView(i),r.length>0&&function(e,t,i){const n=Y.isWebGL2;null===H&&(H=new re(1,1,{generateMipmaps:!0,type:q.has("EXT_color_buffer_half_float")?1016:1009,minFilter:m,samples:n&&!0===l?4:0}));y.getDrawingBufferSize(G),n?H.setSize(G.x,G.y):H.setSize(I(G.x),I(G.y));const s=y.getRenderTarget();y.setRenderTarget(H),y.clear();const r=y.toneMapping;y.toneMapping=0,De(e,t,i),y.toneMapping=r,Q.updateMultisampleRenderTarget(H),Q.updateRenderTargetMipmap(H),y.setRenderTarget(s)}(s,t,i),n&&Z.viewport(M.copy(n)),s.length>0&&De(s,t,i),r.length>0&&De(r,t,i),a.length>0&&De(a,t,i),Z.buffers.depth.setTest(!0),Z.buffers.depth.setMask(!0),Z.buffers.color.setMask(!0),Z.setPolygonOffset(!1)}function De(e,t,i){const n=!0===t.isScene?t.overrideMaterial:null;for(let s=0,r=e.length;s<r;s++){const r=e[s],a=r.object,l=r.geometry,o=null===n?r.material:n,c=r.group;a.layers.test(i.layers)&&Re(a,t,i,l,o,c)}}function Re(e,t,i,n,s,l){e.onBeforeRender(y,t,i,n,s,l),e.modelViewMatrix.multiplyMatrices(i.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),s.onBeforeRender(y,t,i,n,e,l),!0===s.transparent&&s.side===a?(s.side=1,s.needsUpdate=!0,y.renderBufferDirect(i,t,n,s,e,l),s.side=r,s.needsUpdate=!0,y.renderBufferDirect(i,t,n,s,e,l),s.side=a):y.renderBufferDirect(i,t,n,s,e,l),e.onAfterRender(y,t,i,n,s,l)}function ze(e,t,i){!0!==t.isScene&&(t=W);const n=J.get(e),s=f.state.lights,r=f.state.shadowsArray,a=s.state.version,l=le.getParameters(e,s.state,r,t,i),o=le.getProgramCacheKey(l);let c=n.programs;n.environment=e.isMeshStandardMaterial?t.environment:null,n.fog=t.fog,n.envMap=(e.isMeshStandardMaterial?te:ee).get(e.envMap||n.environment),void 0===c&&(e.addEventListener("dispose",Pe),c=new Map,n.programs=c);let h=c.get(o);if(void 0!==h){if(n.currentProgram===h&&n.lightsStateVersion===a)return Ne(e,l),h}else l.uniforms=le.getUniforms(e),e.onBuild(i,l,y),e.onBeforeCompile(l,y),h=le.acquireProgram(l,o),c.set(o,h),n.uniforms=l.uniforms;const d=n.uniforms;(e.isShaderMaterial||e.isRawShaderMaterial)&&!0!==e.clipping||(d.clippingPlanes=ue.uniform),Ne(e,l),n.needsLights=function(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&!0===e.lights}(e),n.lightsStateVersion=a,n.needsLights&&(d.ambientLightColor.value=s.state.ambient,d.lightProbe.value=s.state.probe,d.directionalLights.value=s.state.directional,d.directionalLightShadows.value=s.state.directionalShadow,d.spotLights.value=s.state.spot,d.spotLightShadows.value=s.state.spotShadow,d.rectAreaLights.value=s.state.rectArea,d.ltc_1.value=s.state.rectAreaLTC1,d.ltc_2.value=s.state.rectAreaLTC2,d.pointLights.value=s.state.point,d.pointLightShadows.value=s.state.pointShadow,d.hemisphereLights.value=s.state.hemi,d.directionalShadowMap.value=s.state.directionalShadowMap,d.directionalShadowMatrix.value=s.state.directionalShadowMatrix,d.spotShadowMap.value=s.state.spotShadowMap,d.spotLightMatrix.value=s.state.spotLightMatrix,d.spotLightMap.value=s.state.spotLightMap,d.pointShadowMap.value=s.state.pointShadowMap,d.pointShadowMatrix.value=s.state.pointShadowMatrix);const u=h.getUniforms(),p=ls.seqWithValue(u.seq,d);return n.currentProgram=h,n.uniformsList=p,h}function Ne(e,t){const i=J.get(e);i.outputEncoding=t.outputEncoding,i.instancing=t.instancing,i.skinning=t.skinning,i.morphTargets=t.morphTargets,i.morphNormals=t.morphNormals,i.morphColors=t.morphColors,i.morphTargetsCount=t.morphTargetsCount,i.numClippingPlanes=t.numClippingPlanes,i.numIntersection=t.numClipIntersection,i.vertexAlphas=t.vertexAlphas,i.vertexTangents=t.vertexTangents,i.toneMapping=t.toneMapping}Oe.setAnimationLoop((function(e){ke&&ke(e)})),"undefined"!=typeof self&&Oe.setContext(self),this.setAnimationLoop=function(e){ke=e,Se.setAnimationLoop(e),null===e?Oe.stop():Oe.start()},Se.addEventListener("sessionstart",Ae),Se.addEventListener("sessionend",Le),this.render=function(e,t){if(void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===_)return;!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===Se.enabled&&!0===Se.isPresenting&&(!0===Se.cameraAutoUpdate&&Se.updateCamera(t),t=Se.getCamera()),!0===e.isScene&&e.onBeforeRender(y,e,t,x),f=de.get(e,v.length),f.init(),v.push(f),U.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),$.setFromProjectionMatrix(U),V=this.localClippingEnabled,F=ue.init(this.clippingPlanes,V,t),p=he.get(e,g.length),p.init(),g.push(p),function e(t,i,n,s){if(!1===t.visible)return;if(t.layers.test(i.layers))if(t.isGroup)n=t.renderOrder;else if(t.isLOD)!0===t.autoUpdate&&t.update(i);else if(t.isLight)f.pushLight(t),t.castShadow&&f.pushShadow(t);else if(t.isSprite){if(!t.frustumCulled||$.intersectsSprite(t)){s&&j.setFromMatrixPosition(t.matrixWorld).applyMatrix4(U);const e=ae.update(t),i=t.material;i.visible&&p.push(t,e,i,n,j.z,null)}}else if((t.isMesh||t.isLine||t.isPoints)&&(t.isSkinnedMesh&&t.skeleton.frame!==K.render.frame&&(t.skeleton.update(),t.skeleton.frame=K.render.frame),!t.frustumCulled||$.intersectsObject(t))){s&&j.setFromMatrixPosition(t.matrixWorld).applyMatrix4(U);const e=ae.update(t),i=t.material;if(Array.isArray(i)){const s=e.groups;for(let r=0,a=s.length;r<a;r++){const a=s[r],l=i[a.materialIndex];l&&l.visible&&p.push(t,e,l,n,j.z,a)}}else i.visible&&p.push(t,e,i,n,j.z,null)}const r=t.children;for(let t=0,a=r.length;t<a;t++)e(r[t],i,n,s)}(e,t,0,y.sortObjects),p.finish(),!0===y.sortObjects&&p.sort(L,O),!0===F&&ue.beginShadows();const i=f.state.shadowsArray;if(pe.render(i,e,t),!0===F&&ue.endShadows(),!0===this.info.autoReset&&this.info.reset(),fe.render(p,e),f.setupLights(y.physicallyCorrectLights),t.isArrayCamera){const i=t.cameras;for(let t=0,n=i.length;t<n;t++){const n=i[t];Ie(p,e,n,n.viewport)}}else Ie(p,e,t);null!==x&&(Q.updateMultisampleRenderTarget(x),Q.updateRenderTargetMipmap(x)),!0===e.isScene&&e.onAfterRender(y,e,t),_e.resetDefaultState(),T=-1,S=null,v.pop(),f=v.length>0?v[v.length-1]:null,g.pop(),p=g.length>0?g[g.length-1]:null},this.getActiveCubeFace=function(){return b},this.getActiveMipmapLevel=function(){return w},this.getRenderTarget=function(){return x},this.setRenderTargetTextures=function(e,t,i){J.get(e.texture).__webglTexture=t,J.get(e.depthTexture).__webglTexture=i;const n=J.get(e);n.__hasExternalTextures=!0,n.__hasExternalTextures&&(n.__autoAllocateDepthBuffer=void 0===i,n.__autoAllocateDepthBuffer||!0===q.has("WEBGL_multisampled_render_to_texture")&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),n.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(e,t){const i=J.get(e);i.__webglFramebuffer=t,i.__useDefaultFramebuffer=void 0===t},this.setRenderTarget=function(e,t=0,i=0){x=e,b=t,w=i;let n=!0;if(e){const t=J.get(e);void 0!==t.__useDefaultFramebuffer?(Z.bindFramebuffer(36160,null),n=!1):void 0===t.__webglFramebuffer?Q.setupRenderTarget(e):t.__hasExternalTextures&&Q.rebindTextures(e,J.get(e.texture).__webglTexture,J.get(e.depthTexture).__webglTexture)}let s=null,r=!1,a=!1;if(e){const i=e.texture;(i.isData3DTexture||i.isDataArrayTexture)&&(a=!0);const n=J.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(s=n[t],r=!0):s=Y.isWebGL2&&e.samples>0&&!1===Q.useMultisampledRTT(e)?J.get(e).__webglMultisampledFramebuffer:n,M.copy(e.viewport),E.copy(e.scissor),C=e.scissorTest}else M.copy(D).multiplyScalar(A).floor(),E.copy(R).multiplyScalar(A).floor(),C=z;if(Z.bindFramebuffer(36160,s)&&Y.drawBuffers&&n&&Z.drawBuffers(e,s),Z.viewport(M),Z.scissor(E),Z.setScissorTest(C),r){const n=J.get(e.texture);we.framebufferTexture2D(36160,36064,34069+t,n.__webglTexture,i)}else if(a){const n=J.get(e.texture),s=t||0;we.framebufferTextureLayer(36160,36064,n.__webglTexture,i||0,s)}T=-1},this.readRenderTargetPixels=function(e,t,i,n,s,r,a){if(!e||!e.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let l=J.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==a&&(l=l[a]),l){Z.bindFramebuffer(36160,l);try{const a=e.texture,l=a.format,o=a.type;if(1023!==l&&ye.convert(l)!==we.getParameter(35739))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");const c=1016===o&&(q.has("EXT_color_buffer_half_float")||Y.isWebGL2&&q.has("EXT_color_buffer_float"));if(!(1009===o||ye.convert(o)===we.getParameter(35738)||1015===o&&(Y.isWebGL2||q.has("OES_texture_float")||q.has("WEBGL_color_buffer_float"))||c))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-n&&i>=0&&i<=e.height-s&&we.readPixels(t,i,n,s,ye.convert(l),ye.convert(o),r)}finally{const e=null!==x?J.get(x).__webglFramebuffer:null;Z.bindFramebuffer(36160,e)}}},this.copyFramebufferToTexture=function(e,t,i=0){const n=Math.pow(2,-i),s=Math.floor(t.image.width*n),r=Math.floor(t.image.height*n);Q.setTexture2D(t,0),we.copyTexSubImage2D(3553,i,0,0,e.x,e.y,s,r),Z.unbindTexture()},this.copyTextureToTexture=function(e,t,i,n=0){const s=t.image.width,r=t.image.height,a=ye.convert(i.format),l=ye.convert(i.type);Q.setTexture2D(i,0),we.pixelStorei(37440,i.flipY),we.pixelStorei(37441,i.premultiplyAlpha),we.pixelStorei(3317,i.unpackAlignment),t.isDataTexture?we.texSubImage2D(3553,n,e.x,e.y,s,r,a,l,t.image.data):t.isCompressedTexture?we.compressedTexSubImage2D(3553,n,e.x,e.y,t.mipmaps[0].width,t.mipmaps[0].height,a,t.mipmaps[0].data):we.texSubImage2D(3553,n,e.x,e.y,a,l,t.image),0===n&&i.generateMipmaps&&we.generateMipmap(3553),Z.unbindTexture()},this.copyTextureToTexture3D=function(e,t,i,n,s=0){if(y.isWebGL1Renderer)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");const r=e.max.x-e.min.x+1,a=e.max.y-e.min.y+1,l=e.max.z-e.min.z+1,o=ye.convert(n.format),c=ye.convert(n.type);let h;if(n.isData3DTexture)Q.setTexture3D(n,0),h=32879;else{if(!n.isDataArrayTexture)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");Q.setTexture2DArray(n,0),h=35866}we.pixelStorei(37440,n.flipY),we.pixelStorei(37441,n.premultiplyAlpha),we.pixelStorei(3317,n.unpackAlignment);const d=we.getParameter(3314),u=we.getParameter(32878),p=we.getParameter(3316),f=we.getParameter(3315),m=we.getParameter(32877),g=i.isCompressedTexture?i.mipmaps[0]:i.image;we.pixelStorei(3314,g.width),we.pixelStorei(32878,g.height),we.pixelStorei(3316,e.min.x),we.pixelStorei(3315,e.min.y),we.pixelStorei(32877,e.min.z),i.isDataTexture||i.isData3DTexture?we.texSubImage3D(h,s,t.x,t.y,t.z,r,a,l,o,c,g.data):i.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),we.compressedTexSubImage3D(h,s,t.x,t.y,t.z,r,a,l,o,g.data)):we.texSubImage3D(h,s,t.x,t.y,t.z,r,a,l,o,c,g),we.pixelStorei(3314,d),we.pixelStorei(32878,u),we.pixelStorei(3316,p),we.pixelStorei(3315,f),we.pixelStorei(32877,m),0===s&&n.generateMipmaps&&we.generateMipmap(h),Z.unbindTexture()},this.initTexture=function(e){e.isCubeTexture?Q.setTextureCube(e,0):e.isData3DTexture?Q.setTexture3D(e,0):e.isDataArrayTexture?Q.setTexture2DArray(e,0):Q.setTexture2D(e,0),Z.unbindTexture()},this.resetState=function(){b=0,w=0,x=null,Z.reset(),_e.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}(class extends Qs{}).prototype.isWebGL1Renderer=!0;class er{constructor(e,t=1,i=1e3){this.isFog=!0,this.name="",this.color=new K(e),this.near=t,this.far=i}clone(){return new er(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}class tr extends dt{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),t}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(e){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=e}}class ir{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=35044,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=C()}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let n=0,s=this.stride;n<s;n++)this.array[e+n]=t.array[i+n];return this}set(e,t=0){return this.array.set(e,t),this}clone(e){void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=C()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),i=new this.constructor(t,this.stride);return i.setUsage(this.usage),i}onUpload(e){return this.onUploadCallback=e,this}toJSON(e){return void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=C()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const nr=new ce;class sr{constructor(e,t,i,n=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=e,this.itemSize=t,this.offset=i,this.normalized=!0===n}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(e){this.data.needsUpdate=e}applyMatrix4(e){for(let t=0,i=this.data.count;t<i;t++)nr.fromBufferAttribute(this,t),nr.applyMatrix4(e),this.setXYZ(t,nr.x,nr.y,nr.z);return this}applyNormalMatrix(e){for(let t=0,i=this.count;t<i;t++)nr.fromBufferAttribute(this,t),nr.applyNormalMatrix(e),this.setXYZ(t,nr.x,nr.y,nr.z);return this}transformDirection(e){for(let t=0,i=this.count;t<i;t++)nr.fromBufferAttribute(this,t),nr.transformDirection(e),this.setXYZ(t,nr.x,nr.y,nr.z);return this}setX(e,t){return this.normalized&&(t=R(t,this.array)),this.data.array[e*this.data.stride+this.offset]=t,this}setY(e,t){return this.normalized&&(t=R(t,this.array)),this.data.array[e*this.data.stride+this.offset+1]=t,this}setZ(e,t){return this.normalized&&(t=R(t,this.array)),this.data.array[e*this.data.stride+this.offset+2]=t,this}setW(e,t){return this.normalized&&(t=R(t,this.array)),this.data.array[e*this.data.stride+this.offset+3]=t,this}getX(e){let t=this.data.array[e*this.data.stride+this.offset];return this.normalized&&(t=D(t,this.array)),t}getY(e){let t=this.data.array[e*this.data.stride+this.offset+1];return this.normalized&&(t=D(t,this.array)),t}getZ(e){let t=this.data.array[e*this.data.stride+this.offset+2];return this.normalized&&(t=D(t,this.array)),t}getW(e){let t=this.data.array[e*this.data.stride+this.offset+3];return this.normalized&&(t=D(t,this.array)),t}setXY(e,t,i){return e=e*this.data.stride+this.offset,this.normalized&&(t=R(t,this.array),i=R(i,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this}setXYZ(e,t,i,n){return e=e*this.data.stride+this.offset,this.normalized&&(t=R(t,this.array),i=R(i,this.array),n=R(n,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this.data.array[e+2]=n,this}setXYZW(e,t,i,n,s){return e=e*this.data.stride+this.offset,this.normalized&&(t=R(t,this.array),i=R(i,this.array),n=R(n,this.array),s=R(s,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this.data.array[e+2]=n,this.data.array[e+3]=s,this}clone(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will deinterleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const i=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[i+t])}return new Pt(new this.array.constructor(e),this.itemSize,this.normalized)}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new sr(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will deinterleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const i=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[i+t])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:e,normalized:this.normalized}}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}const rr=new ce,ar=new se,lr=new se,or=new ce,cr=new Be;class hr extends ni{constructor(e,t){super(e,t),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new Be,this.bindMatrixInverse=new Be}copy(e,t){return super.copy(e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,this}bind(e,t){this.skeleton=e,void 0===t&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const e=new se,t=this.geometry.attributes.skinWeight;for(let i=0,n=t.count;i<n;i++){e.fromBufferAttribute(t,i);const n=1/e.manhattanLength();n!==1/0?e.multiplyScalar(n):e.set(1,0,0,0),t.setXYZW(i,e.x,e.y,e.z,e.w)}}updateMatrixWorld(e){super.updateMatrixWorld(e),"attached"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}boneTransform(e,t){const i=this.skeleton,n=this.geometry;ar.fromBufferAttribute(n.attributes.skinIndex,e),lr.fromBufferAttribute(n.attributes.skinWeight,e),rr.copy(t).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(let e=0;e<4;e++){const n=lr.getComponent(e);if(0!==n){const s=ar.getComponent(e);cr.multiplyMatrices(i.bones[s].matrixWorld,i.boneInverses[s]),t.addScaledVector(or.copy(rr).applyMatrix4(cr),n)}}return t.applyMatrix4(this.bindMatrixInverse)}}class dr extends dt{constructor(){super(),this.isBone=!0,this.type="Bone"}}class ur extends ne{constructor(e=null,t=1,i=1,n,s,r,a,l,o=h,c=h,d,u){super(null,r,a,l,o,c,n,s,d,u),this.isDataTexture=!0,this.image={data:e,width:t,height:i},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const pr=new Be,fr=new Be;class mr{constructor(e=[],t=[]){this.uuid=C(),this.bones=e.slice(0),this.boneInverses=t,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(16*e.length),0===t.length)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let e=0,t=this.bones.length;e<t;e++)this.boneInverses.push(new Be)}}calculateInverses(){this.boneInverses.length=0;for(let e=0,t=this.bones.length;e<t;e++){const t=new Be;this.bones[e]&&t.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(t)}}pose(){for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&t.matrixWorld.copy(this.boneInverses[e]).invert()}for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&(t.parent&&t.parent.isBone?(t.matrix.copy(t.parent.matrixWorld).invert(),t.matrix.multiply(t.matrixWorld)):t.matrix.copy(t.matrixWorld),t.matrix.decompose(t.position,t.quaternion,t.scale))}}update(){const e=this.bones,t=this.boneInverses,i=this.boneMatrices,n=this.boneTexture;for(let n=0,s=e.length;n<s;n++){const s=e[n]?e[n].matrixWorld:fr;pr.multiplyMatrices(s,t[n]),pr.toArray(i,16*n)}null!==n&&(n.needsUpdate=!0)}clone(){return new mr(this.bones,this.boneInverses)}computeBoneTexture(){let e=Math.sqrt(4*this.bones.length);e=O(e),e=Math.max(e,4);const t=new Float32Array(e*e*4);t.set(this.boneMatrices);const i=new ur(t,e,e,1023,1015);return i.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=i,this.boneTextureSize=e,this}getBoneByName(e){for(let t=0,i=this.bones.length;t<i;t++){const i=this.bones[t];if(i.name===e)return i}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(e,t){this.uuid=e.uuid;for(let i=0,n=e.bones.length;i<n;i++){const n=e.bones[i];let s=t[n];void 0===s&&(console.warn("THREE.Skeleton: No bone found with UUID:",n),s=new dr),this.bones.push(s),this.boneInverses.push((new Be).fromArray(e.boneInverses[i]))}return this.init(),this}toJSON(){const e={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;const t=this.bones,i=this.boneInverses;for(let n=0,s=t.length;n<s;n++){const s=t[n];e.bones.push(s.uuid);const r=i[n];e.boneInverses.push(r.toArray())}return e}}class gr extends St{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new K(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const vr=new ce,yr=new ce,_r=new Be,br=new Fe,wr=new Le;class xr extends dt{constructor(e=new Ft,t=new gr){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(null===e.index){const t=e.attributes.position,i=[0];for(let e=1,n=t.count;e<n;e++)vr.fromBufferAttribute(t,e-1),yr.fromBufferAttribute(t,e),i[e]=i[e-1],i[e]+=vr.distanceTo(yr);e.setAttribute("lineDistance",new Lt(i,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(e,t){const i=this.geometry,n=this.matrixWorld,s=e.params.Line.threshold,r=i.drawRange;if(null===i.boundingSphere&&i.computeBoundingSphere(),wr.copy(i.boundingSphere),wr.applyMatrix4(n),wr.radius+=s,!1===e.ray.intersectsSphere(wr))return;_r.copy(n).invert(),br.copy(e.ray).applyMatrix4(_r);const a=s/((this.scale.x+this.scale.y+this.scale.z)/3),l=a*a,o=new ce,c=new ce,h=new ce,d=new ce,u=this.isLineSegments?2:1,p=i.index,f=i.attributes.position;if(null!==p){for(let i=Math.max(0,r.start),n=Math.min(p.count,r.start+r.count)-1;i<n;i+=u){const n=p.getX(i),s=p.getX(i+1);o.fromBufferAttribute(f,n),c.fromBufferAttribute(f,s);if(br.distanceSqToSegment(o,c,d,h)>l)continue;d.applyMatrix4(this.matrixWorld);const r=e.ray.origin.distanceTo(d);r<e.near||r>e.far||t.push({distance:r,point:h.clone().applyMatrix4(this.matrixWorld),index:i,face:null,faceIndex:null,object:this})}}else{for(let i=Math.max(0,r.start),n=Math.min(f.count,r.start+r.count)-1;i<n;i+=u){o.fromBufferAttribute(f,i),c.fromBufferAttribute(f,i+1);if(br.distanceSqToSegment(o,c,d,h)>l)continue;d.applyMatrix4(this.matrixWorld);const n=e.ray.origin.distanceTo(d);n<e.near||n>e.far||t.push({distance:n,point:h.clone().applyMatrix4(this.matrixWorld),index:i,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const i=e[t[0]];if(void 0!==i){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=i.length;e<t;e++){const t=i[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}}const Tr=new ce,Sr=new ce;class Mr extends xr{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(null===e.index){const t=e.attributes.position,i=[];for(let e=0,n=t.count;e<n;e+=2)Tr.fromBufferAttribute(t,e),Sr.fromBufferAttribute(t,e+1),i[e]=0===e?0:i[e-1],i[e+1]=i[e]+Tr.distanceTo(Sr);e.setAttribute("lineDistance",new Lt(i,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class Er extends xr{constructor(e,t){super(e,t),this.isLineLoop=!0,this.type="LineLoop"}}class Cr extends St{constructor(e){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new K(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}const Pr=new Be,kr=new Fe,Ar=new Le,Lr=new ce;class Or extends dt{constructor(e=new Ft,t=new Cr){super(),this.isPoints=!0,this.type="Points",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=e.material,this.geometry=e.geometry,this}raycast(e,t){const i=this.geometry,n=this.matrixWorld,s=e.params.Points.threshold,r=i.drawRange;if(null===i.boundingSphere&&i.computeBoundingSphere(),Ar.copy(i.boundingSphere),Ar.applyMatrix4(n),Ar.radius+=s,!1===e.ray.intersectsSphere(Ar))return;Pr.copy(n).invert(),kr.copy(e.ray).applyMatrix4(Pr);const a=s/((this.scale.x+this.scale.y+this.scale.z)/3),l=a*a,o=i.index,c=i.attributes.position;if(null!==o){for(let i=Math.max(0,r.start),s=Math.min(o.count,r.start+r.count);i<s;i++){const s=o.getX(i);Lr.fromBufferAttribute(c,s),Ir(Lr,s,l,n,e,t,this)}}else{for(let i=Math.max(0,r.start),s=Math.min(c.count,r.start+r.count);i<s;i++)Lr.fromBufferAttribute(c,i),Ir(Lr,i,l,n,e,t,this)}}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const i=e[t[0]];if(void 0!==i){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=i.length;e<t;e++){const t=i[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}}function Ir(e,t,i,n,s,r,a){const l=kr.distanceSqToPoint(e);if(l<i){const i=new ce;kr.closestPointToPoint(e,i),i.applyMatrix4(n);const o=s.ray.origin.distanceTo(i);if(o<s.near||o>s.far)return;r.push({distance:o,distanceToRay:Math.sqrt(l),point:i,index:t,face:null,object:a})}}class Dr extends St{constructor(e){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new K(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new K(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=w,this.normalScale=new N(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class Rr extends Dr{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new N(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return P(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(e){this.ior=(1+.4*e)/(1-.4*e)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new K(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new K(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new K(1,1,1),this.specularColorMap=null,this._sheen=0,this._clearcoat=0,this._iridescence=0,this._transmission=0,this.setValues(e)}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}function zr(e,t,i){return $r(e)?new e.constructor(e.subarray(t,void 0!==i?i:e.length)):e.slice(t,i)}function Nr(e,t,i){return!e||!i&&e.constructor===t?e:"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e)}function $r(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Fr(e){const t=e.length,i=new Array(t);for(let e=0;e!==t;++e)i[e]=e;return i.sort((function(t,i){return e[t]-e[i]})),i}function Br(e,t,i){const n=e.length,s=new e.constructor(n);for(let r=0,a=0;a!==n;++r){const n=i[r]*t;for(let i=0;i!==t;++i)s[a++]=e[n+i]}return s}function Vr(e,t,i,n){let s=1,r=e[0];for(;void 0!==r&&void 0===r[n];)r=e[s++];if(void 0===r)return;let a=r[n];if(void 0!==a)if(Array.isArray(a))do{a=r[n],void 0!==a&&(t.push(r.time),i.push.apply(i,a)),r=e[s++]}while(void 0!==r);else if(void 0!==a.toArray)do{a=r[n],void 0!==a&&(t.push(r.time),a.toArray(i,i.length)),r=e[s++]}while(void 0!==r);else do{a=r[n],void 0!==a&&(t.push(r.time),i.push(a)),r=e[s++]}while(void 0!==r)}class Hr{constructor(e,t,i,n){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=void 0!==n?n:new t.constructor(i),this.sampleValues=t,this.valueSize=i,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let i=this._cachedIndex,n=t[i],s=t[i-1];e:{t:{let r;i:{n:if(!(e<n)){for(let r=i+2;;){if(void 0===n){if(e<s)break n;return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}if(i===r)break;if(s=n,n=t[++i],e<n)break t}r=t.length;break i}if(e>=s)break e;{const a=t[1];e<a&&(i=2,s=a);for(let r=i-2;;){if(void 0===s)return this._cachedIndex=0,this.copySampleValue_(0);if(i===r)break;if(n=s,s=t[--i-1],e>=s)break t}r=i,i=0}}for(;i<r;){const n=i+r>>>1;e<t[n]?r=n:i=n+1}if(n=t[i],s=t[i-1],void 0===s)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===n)return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}this._cachedIndex=i,this.intervalChanged_(i,s,n)}return this.interpolate_(i,s,e,n)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){const t=this.resultBuffer,i=this.sampleValues,n=this.valueSize,s=e*n;for(let e=0;e!==n;++e)t[e]=i[s+e];return t}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class Ur extends Hr{constructor(e,t,i,n){super(e,t,i,n),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:2400,endingEnd:2400}}intervalChanged_(e,t,i){const n=this.parameterPositions;let s=e-2,r=e+1,a=n[s],l=n[r];if(void 0===a)switch(this.getSettings_().endingStart){case 2401:s=e,a=2*t-i;break;case 2402:s=n.length-2,a=t+n[s]-n[s+1];break;default:s=e,a=i}if(void 0===l)switch(this.getSettings_().endingEnd){case 2401:r=e,l=2*i-t;break;case 2402:r=1,l=i+n[1]-n[0];break;default:r=e-1,l=t}const o=.5*(i-t),c=this.valueSize;this._weightPrev=o/(t-a),this._weightNext=o/(l-i),this._offsetPrev=s*c,this._offsetNext=r*c}interpolate_(e,t,i,n){const s=this.resultBuffer,r=this.sampleValues,a=this.valueSize,l=e*a,o=l-a,c=this._offsetPrev,h=this._offsetNext,d=this._weightPrev,u=this._weightNext,p=(i-t)/(n-t),f=p*p,m=f*p,g=-d*m+2*d*f-d*p,v=(1+d)*m+(-1.5-2*d)*f+(-.5+d)*p+1,y=(-1-u)*m+(1.5+u)*f+.5*p,_=u*m-u*f;for(let e=0;e!==a;++e)s[e]=g*r[c+e]+v*r[o+e]+y*r[l+e]+_*r[h+e];return s}}class Gr extends Hr{constructor(e,t,i,n){super(e,t,i,n)}interpolate_(e,t,i,n){const s=this.resultBuffer,r=this.sampleValues,a=this.valueSize,l=e*a,o=l-a,c=(i-t)/(n-t),h=1-c;for(let e=0;e!==a;++e)s[e]=r[o+e]*h+r[l+e]*c;return s}}class jr extends Hr{constructor(e,t,i,n){super(e,t,i,n)}interpolate_(e){return this.copySampleValue_(e-1)}}class Wr{constructor(e,t,i,n){if(void 0===e)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===t||0===t.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+e);this.name=e,this.times=Nr(t,this.TimeBufferType),this.values=Nr(i,this.ValueBufferType),this.setInterpolation(n||this.DefaultInterpolation)}static toJSON(e){const t=e.constructor;let i;if(t.toJSON!==this.toJSON)i=t.toJSON(e);else{i={name:e.name,times:Nr(e.times,Array),values:Nr(e.values,Array)};const t=e.getInterpolation();t!==e.DefaultInterpolation&&(i.interpolation=t)}return i.type=e.ValueTypeName,i}InterpolantFactoryMethodDiscrete(e){return new jr(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new Gr(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new Ur(this.times,this.values,this.getValueSize(),e)}setInterpolation(e){let t;switch(e){case g:t=this.InterpolantFactoryMethodDiscrete;break;case v:t=this.InterpolantFactoryMethodLinear;break;case 2302:t=this.InterpolantFactoryMethodSmooth}if(void 0===t){const t="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(e===this.DefaultInterpolation)throw new Error(t);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",t),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return g;case this.InterpolantFactoryMethodLinear:return v;case this.InterpolantFactoryMethodSmooth:return 2302}}getValueSize(){return this.values.length/this.times.length}shift(e){if(0!==e){const t=this.times;for(let i=0,n=t.length;i!==n;++i)t[i]+=e}return this}scale(e){if(1!==e){const t=this.times;for(let i=0,n=t.length;i!==n;++i)t[i]*=e}return this}trim(e,t){const i=this.times,n=i.length;let s=0,r=n-1;for(;s!==n&&i[s]<e;)++s;for(;-1!==r&&i[r]>t;)--r;if(++r,0!==s||r!==n){s>=r&&(r=Math.max(r,1),s=r-1);const e=this.getValueSize();this.times=zr(i,s,r),this.values=zr(this.values,s*e,r*e)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const i=this.times,n=this.values,s=i.length;0===s&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let r=null;for(let t=0;t!==s;t++){const n=i[t];if("number"==typeof n&&isNaN(n)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,n),e=!1;break}if(null!==r&&r>n){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,n,r),e=!1;break}r=n}if(void 0!==n&&$r(n))for(let t=0,i=n.length;t!==i;++t){const i=n[t];if(isNaN(i)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,i),e=!1;break}}return e}optimize(){const e=zr(this.times),t=zr(this.values),i=this.getValueSize(),n=2302===this.getInterpolation(),s=e.length-1;let r=1;for(let a=1;a<s;++a){let s=!1;const l=e[a];if(l!==e[a+1]&&(1!==a||l!==e[0]))if(n)s=!0;else{const e=a*i,n=e-i,r=e+i;for(let a=0;a!==i;++a){const i=t[e+a];if(i!==t[n+a]||i!==t[r+a]){s=!0;break}}}if(s){if(a!==r){e[r]=e[a];const n=a*i,s=r*i;for(let e=0;e!==i;++e)t[s+e]=t[n+e]}++r}}if(s>0){e[r]=e[s];for(let e=s*i,n=r*i,a=0;a!==i;++a)t[n+a]=t[e+a];++r}return r!==e.length?(this.times=zr(e,0,r),this.values=zr(t,0,r*i)):(this.times=e,this.values=t),this}clone(){const e=zr(this.times,0),t=zr(this.values,0),i=new(0,this.constructor)(this.name,e,t);return i.createInterpolant=this.createInterpolant,i}}Wr.prototype.TimeBufferType=Float32Array,Wr.prototype.ValueBufferType=Float32Array,Wr.prototype.DefaultInterpolation=v;class Xr extends Wr{}Xr.prototype.ValueTypeName="bool",Xr.prototype.ValueBufferType=Array,Xr.prototype.DefaultInterpolation=g,Xr.prototype.InterpolantFactoryMethodLinear=void 0,Xr.prototype.InterpolantFactoryMethodSmooth=void 0;class qr extends Wr{}qr.prototype.ValueTypeName="color";class Yr extends Wr{}Yr.prototype.ValueTypeName="number";class Zr extends Hr{constructor(e,t,i,n){super(e,t,i,n)}interpolate_(e,t,i,n){const s=this.resultBuffer,r=this.sampleValues,a=this.valueSize,l=(i-t)/(n-t);let o=e*a;for(let e=o+a;o!==e;o+=4)oe.slerpFlat(s,0,r,o-a,r,o,l);return s}}class Kr extends Wr{InterpolantFactoryMethodLinear(e){return new Zr(this.times,this.values,this.getValueSize(),e)}}Kr.prototype.ValueTypeName="quaternion",Kr.prototype.DefaultInterpolation=v,Kr.prototype.InterpolantFactoryMethodSmooth=void 0;class Jr extends Wr{}Jr.prototype.ValueTypeName="string",Jr.prototype.ValueBufferType=Array,Jr.prototype.DefaultInterpolation=g,Jr.prototype.InterpolantFactoryMethodLinear=void 0,Jr.prototype.InterpolantFactoryMethodSmooth=void 0;class Qr extends Wr{}Qr.prototype.ValueTypeName="vector";class ea{constructor(e,t=-1,i,n=2500){this.name=e,this.tracks=i,this.duration=t,this.blendMode=n,this.uuid=C(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],i=e.tracks,n=1/(e.fps||1);for(let e=0,s=i.length;e!==s;++e)t.push(ta(i[e]).scale(n));const s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){const t=[],i=e.tracks,n={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let e=0,n=i.length;e!==n;++e)t.push(Wr.toJSON(i[e]));return n}static CreateFromMorphTargetSequence(e,t,i,n){const s=t.length,r=[];for(let e=0;e<s;e++){let a=[],l=[];a.push((e+s-1)%s,e,(e+1)%s),l.push(0,1,0);const o=Fr(a);a=Br(a,1,o),l=Br(l,1,o),n||0!==a[0]||(a.push(s),l.push(l[0])),r.push(new Yr(".morphTargetInfluences["+t[e].name+"]",a,l).scale(1/i))}return new this(e,-1,r)}static findByName(e,t){let i=e;if(!Array.isArray(e)){const t=e;i=t.geometry&&t.geometry.animations||t.animations}for(let e=0;e<i.length;e++)if(i[e].name===t)return i[e];return null}static CreateClipsFromMorphTargetSequences(e,t,i){const n={},s=/^([\w-]*?)([\d]+)$/;for(let t=0,i=e.length;t<i;t++){const i=e[t],r=i.name.match(s);if(r&&r.length>1){const e=r[1];let t=n[e];t||(n[e]=t=[]),t.push(i)}}const r=[];for(const e in n)r.push(this.CreateFromMorphTargetSequence(e,n[e],t,i));return r}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const i=function(e,t,i,n,s){if(0!==i.length){const r=[],a=[];Vr(i,r,a,n),0!==r.length&&s.push(new e(t,r,a))}},n=[],s=e.name||"default",r=e.fps||30,a=e.blendMode;let l=e.length||-1;const o=e.hierarchy||[];for(let e=0;e<o.length;e++){const s=o[e].keys;if(s&&0!==s.length)if(s[0].morphTargets){const e={};let t;for(t=0;t<s.length;t++)if(s[t].morphTargets)for(let i=0;i<s[t].morphTargets.length;i++)e[s[t].morphTargets[i]]=-1;for(const i in e){const e=[],r=[];for(let n=0;n!==s[t].morphTargets.length;++n){const n=s[t];e.push(n.time),r.push(n.morphTarget===i?1:0)}n.push(new Yr(".morphTargetInfluence["+i+"]",e,r))}l=e.length*r}else{const r=".bones["+t[e].name+"]";i(Qr,r+".position",s,"pos",n),i(Kr,r+".quaternion",s,"rot",n),i(Qr,r+".scale",s,"scl",n)}}if(0===n.length)return null;return new this(s,l,n,a)}resetDuration(){let e=0;for(let t=0,i=this.tracks.length;t!==i;++t){const i=this.tracks[t];e=Math.max(e,i.times[i.times.length-1])}return this.duration=e,this}trim(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}validate(){let e=!0;for(let t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}optimize(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}clone(){const e=[];for(let t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function ta(e){if(void 0===e.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return Yr;case"vector":case"vector2":case"vector3":case"vector4":return Qr;case"color":return qr;case"quaternion":return Kr;case"bool":case"boolean":return Xr;case"string":return Jr}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){const t=[],i=[];Vr(e.keys,t,i,"value"),e.times=t,e.values=i}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)}const ia={enabled:!1,files:{},add:function(e,t){!1!==this.enabled&&(this.files[e]=t)},get:function(e){if(!1!==this.enabled)return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};class na{constructor(e,t,i){const n=this;let s=!1,r=0,a=0,l=void 0;const o=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=i,this.itemStart=function(e){a++,!1===s&&void 0!==n.onStart&&n.onStart(e,r,a),s=!0},this.itemEnd=function(e){r++,void 0!==n.onProgress&&n.onProgress(e,r,a),r===a&&(s=!1,void 0!==n.onLoad&&n.onLoad())},this.itemError=function(e){void 0!==n.onError&&n.onError(e)},this.resolveURL=function(e){return l?l(e):e},this.setURLModifier=function(e){return l=e,this},this.addHandler=function(e,t){return o.push(e,t),this},this.removeHandler=function(e){const t=o.indexOf(e);return-1!==t&&o.splice(t,2),this},this.getHandler=function(e){for(let t=0,i=o.length;t<i;t+=2){const i=o[t],n=o[t+1];if(i.global&&(i.lastIndex=0),i.test(e))return n}return null}}}const sa=new na;class ra{constructor(e){this.manager=void 0!==e?e:sa,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(e,t){const i=this;return new Promise((function(n,s){i.load(e,n,t,s)}))}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}}const aa={};class la extends Error{constructor(e,t){super(e),this.response=t}}class oa extends ra{constructor(e){super(e)}load(e,t,i,n){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const s=ia.get(e);if(void 0!==s)return this.manager.itemStart(e),setTimeout(()=>{t&&t(s),this.manager.itemEnd(e)},0),s;if(void 0!==aa[e])return void aa[e].push({onLoad:t,onProgress:i,onError:n});aa[e]=[],aa[e].push({onLoad:t,onProgress:i,onError:n});const r=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(r).then(t=>{if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"==typeof ReadableStream||void 0===t.body||void 0===t.body.getReader)return t;const i=aa[e],n=t.body.getReader(),s=t.headers.get("Content-Length"),r=s?parseInt(s):0,a=0!==r;let l=0;const o=new ReadableStream({start(e){!function t(){n.read().then(({done:n,value:s})=>{if(n)e.close();else{l+=s.byteLength;const n=new ProgressEvent("progress",{lengthComputable:a,loaded:l,total:r});for(let e=0,t=i.length;e<t;e++){const t=i[e];t.onProgress&&t.onProgress(n)}e.enqueue(s),t()}})}()}});return new Response(o)}throw new la(`fetch for "${t.url}" responded with ${t.status}: ${t.statusText}`,t)}).then(e=>{switch(l){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then(e=>(new DOMParser).parseFromString(e,a));case"json":return e.json();default:if(void 0===a)return e.text();{const t=/charset="?([^;"\s]*)"?/i.exec(a),i=t&&t[1]?t[1].toLowerCase():void 0,n=new TextDecoder(i);return e.arrayBuffer().then(e=>n.decode(e))}}}).then(t=>{ia.add(e,t);const i=aa[e];delete aa[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];n.onLoad&&n.onLoad(t)}}).catch(t=>{const i=aa[e];if(void 0===i)throw this.manager.itemError(e),t;delete aa[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];n.onError&&n.onError(t)}this.manager.itemError(e)}).finally(()=>{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class ca extends ra{constructor(e){super(e)}load(e,t,i,n){void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,r=ia.get(e);if(void 0!==r)return s.manager.itemStart(e),setTimeout((function(){t&&t(r),s.manager.itemEnd(e)}),0),r;const a=B("img");function l(){c(),ia.add(e,this),t&&t(this),s.manager.itemEnd(e)}function o(t){c(),n&&n(t),s.manager.itemError(e),s.manager.itemEnd(e)}function c(){a.removeEventListener("load",l,!1),a.removeEventListener("error",o,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",o,!1),"data:"!==e.slice(0,5)&&void 0!==this.crossOrigin&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(e),a.src=e,a}}class ha extends ra{constructor(e){super(e)}load(e,t,i,n){const s=new ne,r=new ca(this.manager);return r.setCrossOrigin(this.crossOrigin),r.setPath(this.path),r.load(e,(function(e){s.image=e,s.needsUpdate=!0,void 0!==t&&t(s)}),i,n),s}}class da extends dt{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new K(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,void 0!==this.groundColor&&(t.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(t.object.distance=this.distance),void 0!==this.angle&&(t.object.angle=this.angle),void 0!==this.decay&&(t.object.decay=this.decay),void 0!==this.penumbra&&(t.object.penumbra=this.penumbra),void 0!==this.shadow&&(t.object.shadow=this.shadow.toJSON()),t}}class ua extends da{constructor(e,t,i){super(e,i),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(dt.DefaultUp),this.updateMatrix(),this.groundColor=new K(t)}copy(e,t){return super.copy(e,t),this.groundColor.copy(e.groundColor),this}}const pa=new Be,fa=new ce,ma=new ce;class ga{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new N(512,512),this.map=null,this.mapPass=null,this.matrix=new Be,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new wi,this._frameExtents=new N(1,1),this._viewportCount=1,this._viewports=[new se(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,i=this.matrix;fa.setFromMatrixPosition(e.matrixWorld),t.position.copy(fa),ma.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(ma),t.updateMatrixWorld(),pa.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(pa),i.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),i.multiply(pa)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return(new this.constructor).copy(this)}toJSON(){const e={};return 0!==this.bias&&(e.bias=this.bias),0!==this.normalBias&&(e.normalBias=this.normalBias),1!==this.radius&&(e.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class va extends ga{constructor(){super(new di(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(e){const t=this.camera,i=2*E*e.angle*this.focus,n=this.mapSize.width/this.mapSize.height,s=e.distance||t.far;i===t.fov&&n===t.aspect&&s===t.far||(t.fov=i,t.aspect=n,t.far=s,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class ya extends da{constructor(e,t,i=0,n=Math.PI/3,s=0,r=1){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(dt.DefaultUp),this.updateMatrix(),this.target=new dt,this.distance=i,this.angle=n,this.penumbra=s,this.decay=r,this.map=null,this.shadow=new va}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const _a=new Be,ba=new ce,wa=new ce;class xa extends ga{constructor(){super(new di(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new N(4,2),this._viewportCount=6,this._viewports=[new se(2,1,1,1),new se(0,1,1,1),new se(3,1,1,1),new se(1,1,1,1),new se(3,0,1,1),new se(1,0,1,1)],this._cubeDirections=[new ce(1,0,0),new ce(-1,0,0),new ce(0,0,1),new ce(0,0,-1),new ce(0,1,0),new ce(0,-1,0)],this._cubeUps=[new ce(0,1,0),new ce(0,1,0),new ce(0,1,0),new ce(0,1,0),new ce(0,0,1),new ce(0,0,-1)]}updateMatrices(e,t=0){const i=this.camera,n=this.matrix,s=e.distance||i.far;s!==i.far&&(i.far=s,i.updateProjectionMatrix()),ba.setFromMatrixPosition(e.matrixWorld),i.position.copy(ba),wa.copy(i.position),wa.add(this._cubeDirections[t]),i.up.copy(this._cubeUps[t]),i.lookAt(wa),i.updateMatrixWorld(),n.makeTranslation(-ba.x,-ba.y,-ba.z),_a.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse),this._frustum.setFromProjectionMatrix(_a)}}class Ta extends da{constructor(e,t,i=0,n=1){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=i,this.decay=n,this.shadow=new xa}get power(){return 4*this.intensity*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class Sa extends ga{constructor(){super(new Di(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class Ma extends da{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(dt.DefaultUp),this.updateMatrix(),this.target=new dt,this.shadow=new Sa}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class Ea{static decodeText(e){if("undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);let t="";for(let i=0,n=e.length;i<n;i++)t+=String.fromCharCode(e[i]);try{return decodeURIComponent(escape(t))}catch(e){return t}}static extractUrlBase(e){const t=e.lastIndexOf("/");return-1===t?"./":e.slice(0,t+1)}static resolveURL(e,t){return"string"!=typeof e||""===e?"":(/^https?:\/\//i.test(t)&&/^\//.test(e)&&(t=t.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e)}}class Ca extends ra{constructor(e){super(e),this.isImageBitmapLoader=!0,"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,n){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,r=ia.get(e);if(void 0!==r)return s.manager.itemStart(e),setTimeout((function(){t&&t(r),s.manager.itemEnd(e)}),0),r;const a={};a.credentials="anonymous"===this.crossOrigin?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then((function(e){return e.blob()})).then((function(e){return createImageBitmap(e,Object.assign(s.options,{colorSpaceConversion:"none"}))})).then((function(i){ia.add(e,i),t&&t(i),s.manager.itemEnd(e)})).catch((function(t){n&&n(t),s.manager.itemError(e),s.manager.itemEnd(e)})),s.manager.itemStart(e)}}const Pa=new RegExp("[\\[\\]\\.:\\/]","g"),ka="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",Aa=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]")+/(WCOD+)?/.source.replace("WCOD",ka)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]")+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]")+"$"),La=["material","materials","bones","map"];class Oa{constructor(e,t,i){this.path=t,this.parsedPath=i||Oa.parseTrackName(t),this.node=Oa.findNode(e,this.parsedPath.nodeName)||e,this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new Oa.Composite(e,t,i):new Oa(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(Pa,"")}static parseTrackName(e){const t=Aa.exec(e);if(null===t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},n=i.nodeName&&i.nodeName.lastIndexOf(".");if(void 0!==n&&-1!==n){const e=i.nodeName.substring(n+1);-1!==La.indexOf(e)&&(i.nodeName=i.nodeName.substring(0,n),i.objectName=e)}if(null===i.propertyName||0===i.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){const i=e.skeleton.getBoneByName(t);if(void 0!==i)return i}if(e.children){const i=function(e){for(let n=0;n<e.length;n++){const s=e[n];if(s.name===t||s.uuid===t)return s;const r=i(s.children);if(r)return r}return null},n=i(e.children);if(n)return n}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){const i=this.resolvedProperty;for(let n=0,s=i.length;n!==s;++n)e[t++]=i[n]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){const i=this.resolvedProperty;for(let n=0,s=i.length;n!==s;++n)i[n]=e[t++]}_setValue_array_setNeedsUpdate(e,t){const i=this.resolvedProperty;for(let n=0,s=i.length;n!==s;++n)i[n]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){const i=this.resolvedProperty;for(let n=0,s=i.length;n!==s;++n)i[n]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node;const t=this.parsedPath,i=t.objectName,n=t.propertyName;let s=t.propertyIndex;if(e||(e=Oa.findNode(this.rootNode,t.nodeName)||this.rootNode,this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e)return void console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.");if(i){let n=t.objectIndex;switch(i){case"materials":if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);e=e.material.materials;break;case"bones":if(!e.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);e=e.skeleton.bones;for(let t=0;t<e.length;t++)if(e[t].name===n){n=t;break}break;case"map":if("map"in e){e=e.map;break}if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);e=e.material.map;break;default:if(void 0===e[i])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);e=e[i]}if(void 0!==n){if(void 0===e[n])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);e=e[n]}}const r=e[n];if(void 0===r){const i=t.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+i+"."+n+" but it wasn't found.",e)}let a=this.Versioning.None;this.targetObject=e,void 0!==e.needsUpdate?a=this.Versioning.NeedsUpdate:void 0!==e.matrixWorldNeedsUpdate&&(a=this.Versioning.MatrixWorldNeedsUpdate);let l=this.BindingType.Direct;if(void 0!==s){if("morphTargetInfluences"===n){if(!e.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!e.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==e.morphTargetDictionary[s]&&(s=e.morphTargetDictionary[s])}l=this.BindingType.ArrayElement,this.resolvedProperty=r,this.propertyIndex=s}else void 0!==r.fromArray&&void 0!==r.toArray?(l=this.BindingType.HasFromToArray,this.resolvedProperty=r):Array.isArray(r)?(l=this.BindingType.EntireArray,this.resolvedProperty=r):this.propertyName=n;this.getValue=this.GetterByBindingType[l],this.setValue=this.SetterByBindingTypeAndVersioning[l][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Oa.Composite=class{constructor(e,t,i){const n=i||Oa.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,n)}getValue(e,t){this.bind();const i=this._targetGroup.nCachedObjects_,n=this._bindings[i];void 0!==n&&n.getValue(e,t)}setValue(e,t){const i=this._bindings;for(let n=this._targetGroup.nCachedObjects_,s=i.length;n!==s;++n)i[n].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}},Oa.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Oa.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Oa.prototype.GetterByBindingType=[Oa.prototype._getValue_direct,Oa.prototype._getValue_array,Oa.prototype._getValue_arrayElement,Oa.prototype._getValue_toArray],Oa.prototype.SetterByBindingTypeAndVersioning=[[Oa.prototype._setValue_direct,Oa.prototype._setValue_direct_setNeedsUpdate,Oa.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Oa.prototype._setValue_array,Oa.prototype._setValue_array_setNeedsUpdate,Oa.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Oa.prototype._setValue_arrayElement,Oa.prototype._setValue_arrayElement_setNeedsUpdate,Oa.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Oa.prototype._setValue_fromArray,Oa.prototype._setValue_fromArray_setNeedsUpdate,Oa.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];new Float32Array(1);class Ia{constructor(e=1,t=0,i=0){return this.radius=e,this.phi=t,this.theta=i,this}set(e,t,i){return this.radius=e,this.phi=t,this.theta=i,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){return this.phi=Math.max(1e-6,Math.min(Math.PI-1e-6,this.phi)),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,i){return this.radius=Math.sqrt(e*e+t*t+i*i),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,i),this.phi=Math.acos(P(t/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}}"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"145"}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__="145")},function(e,t,i){"use strict";(function(e,n){i.d(t,"k",(function(){return s})),i.d(t,"m",(function(){return a})),i.d(t,"l",(function(){return r})),i.d(t,"i",(function(){return o})),i.d(t,"a",(function(){return c})),i.d(t,"b",(function(){return h})),i.d(t,"c",(function(){return d})),i.d(t,"d",(function(){return u})),i.d(t,"e",(function(){return p})),i.d(t,"f",(function(){return f})),i.d(t,"g",(function(){return m})),i.d(t,"h",(function(){return g})),i.d(t,"j",(function(){return v}));
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 */
var s="undefined"!=typeof window?window:e.exports&&void 0!==n?n:{},r=function(e){var t={},i=e.document,n=e.GreenSockGlobals=e.GreenSockGlobals||e;if(n.TweenLite)return n.TweenLite;var s,r,a,l,o,c,h,d=function(e){var t,i=e.split("."),s=n;for(t=0;t<i.length;t++)s[i[t]]=s=s[i[t]]||{};return s},u=d("com.greensock"),p=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},f=function(){},m=(c=Object.prototype.toString,h=c.call([]),function(e){return null!=e&&(e instanceof Array||"object"==typeof e&&!!e.push&&c.call(e)===h)}),g={},v=function(e,i,s,r){this.sc=g[e]?g[e].sc:[],g[e]=this,this.gsClass=null,this.func=s;var a=[];this.check=function(l){for(var o,c,h,u,p=i.length,f=p;--p>-1;)(o=g[i[p]]||new v(i[p],[])).gsClass?(a[p]=o.gsClass,f--):l&&o.sc.push(this);if(0===f&&s)for(h=(c=("com.greensock."+e).split(".")).pop(),u=d(c.join("."))[h]=this.gsClass=s.apply(s,a),r&&(n[h]=t[h]=u),p=0;p<this.sc.length;p++)this.sc[p].check()},this.check(!0)},y=e._gsDefine=function(e,t,i,n){return new v(e,t,i,n)},_=u._class=function(e,t,i){return t=t||function(){},y(e,[],(function(){return t}),i),t};y.globals=n;var b=[0,0,1,1],w=_("easing.Ease",(function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?b.concat(t):b}),!0),x=w.map={},T=w.register=function(e,t,i,n){for(var s,r,a,l,o=t.split(","),c=o.length,h=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(r=o[c],s=n?_("easing."+r,null,!0):u.easing[r]||{},a=h.length;--a>-1;)l=h[a],x[r+"."+l]=x[l+r]=s[l]=e.getRatio?e:e[l]||new e};for((a=w.prototype)._calcEnd=!1,a.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:e<.5?n/2:1-n/2},r=(s=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--r>-1;)a=s[r]+",Power"+r,T(new w(null,null,1,r),a,"easeOut",!0),T(new w(null,null,2,r),a,"easeIn"+(0===r?",easeNone":"")),T(new w(null,null,3,r),a,"easeInOut");x.linear=u.easing.Linear.easeIn,x.swing=u.easing.Quad.easeInOut;var S=_("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(a=S.prototype).addEventListener=function(e,t,i,n,s){s=s||0;var r,a,c=this._listeners[e],h=0;for(this!==l||o||l.wake(),null==c&&(this._listeners[e]=c=[]),a=c.length;--a>-1;)(r=c[a]).c===t&&r.s===i?c.splice(a,1):0===h&&r.pr<s&&(h=a+1);c.splice(h,0,{c:t,s:i,up:n,pr:s})},a.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},a.dispatchEvent=function(e){var t,i,n,s=this._listeners[e];if(s)for((t=s.length)>1&&(s=s.slice(0)),i=this._eventTarget;--t>-1;)(n=s[t])&&(n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i))};var M=e.requestAnimationFrame,E=e.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},P=C();for(r=(s=["ms","moz","webkit","o"]).length;--r>-1&&!M;)M=e[s[r]+"RequestAnimationFrame"],E=e[s[r]+"CancelAnimationFrame"]||e[s[r]+"CancelRequestAnimationFrame"];_("Ticker",(function(e,t){var n,s,r,a,c,h=this,d=C(),u=!(!1===t||!M)&&"auto",p=500,m=33,g=function(e){var t,i,l=C()-P;l>p&&(d+=l-m),P+=l,h.time=(P-d)/1e3,t=h.time-c,(!n||t>0||!0===e)&&(h.frame++,c+=t+(t>=a?.004:a-t),i=!0),!0!==e&&(r=s(g)),i&&h.dispatchEvent("tick")};S.call(h),h.time=h.frame=0,h.tick=function(){g(!0)},h.lagSmoothing=function(e,t){if(!arguments.length)return p<1/1e-8;p=e||1/1e-8,m=Math.min(t,p,0)},h.sleep=function(){null!=r&&(u&&E?E(r):clearTimeout(r),s=f,r=null,h===l&&(o=!1))},h.wake=function(e){null!==r?h.sleep():e?d+=-P+(P=C()):h.frame>10&&(P=C()-p+5),s=0===n?f:u&&M?M:function(e){return setTimeout(e,1e3*(c-h.time)+1|0)},h===l&&(o=!0),g(2)},h.fps=function(e){if(!arguments.length)return n;a=1/((n=e)||60),c=this.time+a,h.wake()},h.useRAF=function(e){if(!arguments.length)return u;h.sleep(),u=e,h.fps(n)},h.fps(e),setTimeout((function(){"auto"===u&&h.frame<5&&"hidden"!==(i||{}).visibilityState&&h.useRAF(!1)}),1500)})),(a=u.Ticker.prototype=new u.events.EventDispatcher).constructor=u.Ticker;var k=_("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,Y){o||l.wake();var i=this.vars.useFrames?q:Y;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));l=k.ticker=new u.Ticker,(a=k.prototype)._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var A=function(){o&&C()-P>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var e=setTimeout(A,2e3);e.unref&&e.unref()};A(),a.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},a.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},a.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},a.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},a.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},a.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},a.render=function(e,t,i){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},a.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale-1e-8},a._enabled=function(e,t){return o||l.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},a._kill=function(e,t){return this._enabled(!1,!1)},a.kill=function(e,t){return this._kill(e,t),this},a._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},a._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},a._callback=function(e){var t=this.vars,i=t[e],n=t[e+"Params"],s=t[e+"Scope"]||t.callbackScope||this;switch(n?n.length:0){case 0:i.call(s);break;case 1:i.call(s,n[0]);break;case 2:i.call(s,n[0],n[1]);break;default:i.apply(s,n)}},a.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[e];null==t?delete s[e]:(s[e]=t,s[e+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},a.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},a.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},a.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},a.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},a.totalTime=function(e,t,i){if(o||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-e:e)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===e&&0!==this._duration||(D.length&&K(),this.render(e,t,!1),D.length&&K())}return this},a.progress=a.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},a.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},a.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,i;for(e=e||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(i=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/e),this._timeScale=e,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},a.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},a.paused=function(e){if(!arguments.length)return this._paused;var t,i,n=this._timeline;return e!=this._paused&&n&&(o||e||l.wake(),i=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var L=_("core.SimpleTimeline",(function(e){k.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(a=L.prototype=new k).constructor=L,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(e,t,i,n){var s,r;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),s=this._last,this._sortChildren)for(r=e._startTime;s&&s._startTime>r;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=s,this._recent=e,this._timeline&&this._uncache(!0),this},a._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},a.render=function(e,t,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;s;)n=s._next,(s._active||e>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n},a.rawTime=function(){return o||l.wake(),this._totalTime};var O=_("TweenLite",(function(t,i,n){if(k.call(this,i,n),this.render=O.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:O.selector(t)||t;var s,r,a,l=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?X[O.defaultOverwrite]:"number"==typeof o?o>>0:X[o],(l||t instanceof Array||t.push&&m(t))&&"number"!=typeof t[0])for(this._targets=a=p(t),this._propLookup=[],this._siblings=[],s=0;s<a.length;s++)(r=a[s])?"string"!=typeof r?r.length&&r!==e&&r[0]&&(r[0]===e||r[0].nodeType&&r[0].style&&!r.nodeType)?(a.splice(s--,1),this._targets=a=a.concat(p(r))):(this._siblings[s]=J(r,this,!1),1===o&&this._siblings[s].length>1&&ee(r,this,null,1,this._siblings[s])):"string"==typeof(r=a[s--]=O.selector(r))&&a.splice(s+1,1):a.splice(s--,1);else this._propLookup={},this._siblings=J(t,this,!1),1===o&&this._siblings.length>1&&ee(t,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),I=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)};(a=O.prototype=new k).constructor=O,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,O.version="2.1.3",O.defaultEase=a._ease=new w(null,null,1,1),O.defaultOverwrite="auto",O.ticker=l,O.autoSleep=120,O.lagSmoothing=function(e,t){l.lagSmoothing(e,t)},O.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(O.selector=n,n(t)):(i||(i=e.document),i?i.querySelectorAll?i.querySelectorAll(t):i.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var D=[],R={},z=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,$=function(e){for(var t,i=this._firstPT;i;)t=i.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m.call(this._tween,t,this._target||i.t,this._tween):t<1e-6&&t>-1e-6&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},F=function(e){return(1e3*e|0)/1e3+""},B=function(e,t,i,n){var s,r,a,l,o,c,h,d=[],u=0,p="",f=0;for(d.start=e,d.end=t,e=d[0]=e+"",t=d[1]=t+"",i&&(i(d),e=d[0],t=d[1]),d.length=0,s=e.match(z)||[],r=t.match(z)||[],n&&(n._next=null,n.blob=1,d._firstPT=d._applyPT=n),o=r.length,l=0;l<o;l++)h=r[l],p+=(c=t.substr(u,t.indexOf(h,u)-u))||!l?c:",",u+=c.length,f?f=(f+1)%5:"rgba("===c.substr(-5)&&(f=1),h===s[l]||s.length<=l?p+=h:(p&&(d.push(p),p=""),a=parseFloat(s[l]),d.push(a),d._firstPT={_next:d._firstPT,t:d,p:d.length-1,s:a,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-a)||0,f:0,m:f&&f<4?Math.round:F}),u+=h.length;return(p+=t.substr(u))&&d.push(p),d.setRatio=$,N.test(t)&&(d.end=null),d},V=function(e,t,i,n,s,r,a,l,o){"function"==typeof n&&(n=n(o||0,e));var c=typeof e[t],h="function"!==c?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),d="get"!==i?i:h?a?e[h](a):e[h]():e[t],u="string"==typeof n&&"="===n.charAt(1),p={t:e,p:t,s:d,f:"function"===c,pg:0,n:s||t,m:r?"function"==typeof r?r:Math.round:0,pr:0,c:u?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-d||0};if(("number"!=typeof d||"number"!=typeof n&&!u)&&(a||isNaN(d)||!u&&isNaN(n)||"boolean"==typeof d||"boolean"==typeof n?(p.fp=a,p={t:B(d,u?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):n,l||O.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||t,pr:0,m:0}):(p.s=parseFloat(d),u||(p.c=parseFloat(n)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p},H=O._internals={isArray:m,isSelector:I,lazyTweens:D,blobDif:B},U=O._plugins={},G=H.tweenLookup={},j=0,W=H.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},X={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},q=k._rootFramesTimeline=new L,Y=k._rootTimeline=new L,Z=30,K=H.lazyRender=function(){var e,t,i=D.length;for(R={},e=0;e<i;e++)(t=D[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);D.length=0};Y._startTime=l.time,q._startTime=l.frame,Y._active=q._active=!0,setTimeout(K,1),k._updateRoot=O.render=function(){var e,t,i;if(D.length&&K(),Y.render((l.time-Y._startTime)*Y._timeScale,!1,!1),q.render((l.frame-q._startTime)*q._timeScale,!1,!1),D.length&&K(),l.frame>=Z){for(i in Z=l.frame+(parseInt(O.autoSleep,10)||120),G){for(e=(t=G[i].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete G[i]}if((!(i=Y._first)||i._paused)&&O.autoSleep&&!q._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",k._updateRoot);var J=function(e,t,i){var n,s,r=e._gsTweenID;if(G[r||(e._gsTweenID=r="t"+j++)]||(G[r]={target:e,tweens:[]}),t&&((n=G[r].tweens)[s=n.length]=t,i))for(;--s>-1;)n[s]===t&&n.splice(s,1);return G[r].tweens},Q=function(e,t,i,n){var s,r,a=e.vars.onOverwrite;return a&&(s=a(e,t,i,n)),(a=O.onOverwrite)&&(r=a(e,t,i,n)),!1!==s&&!1!==r},ee=function(e,t,i,n,s){var r,a,l,o;if(1===n||n>=4){for(o=s.length,r=0;r<o;r++)if((l=s[r])!==t)l._gc||l._kill(null,e,t)&&(a=!0);else if(5===n)break;return a}var c,h=t._startTime+1e-8,d=[],u=0,p=0===t._duration;for(r=s.length;--r>-1;)(l=s[r])===t||l._gc||l._paused||(l._timeline!==t._timeline?(c=c||te(t,0,p),0===te(l,c,p)&&(d[u++]=l)):l._startTime<=h&&l._startTime+l.totalDuration()/l._timeScale>h&&((p||!l._initted)&&h-l._startTime<=2e-8||(d[u++]=l)));for(r=u;--r>-1;)if(o=(l=d[r])._firstPT,2===n&&l._kill(i,e,t)&&(a=!0),2!==n||!l._firstPT&&l._initted&&o){if(2!==n&&!Q(l,t))continue;l._enabled(!1,!1)&&(a=!0)}return a},te=function(e,t,i){for(var n=e._timeline,s=n._timeScale,r=e._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return(r/=s)>t?r-t:i&&r===t||!e._initted&&r-t<2e-8?1e-8:(r+=e.totalDuration()/e._timeScale/s)>t+1e-8?0:r-t-1e-8};a._init=function(){var e,t,i,n,s,r,a=this.vars,l=this._overwrittenProps,o=this._duration,c=!!a.immediateRender,h=a.ease,d=this._startAt;if(a.startAt){for(n in d&&(d.render(-1,!0),d.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=c&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=O.to(this.target||{},0,s),c)if(this._time>0)this._startAt=null;else if(0!==o)return}else if(a.runBackwards&&0!==o)if(d)d.render(-1,!0),d.kill(),this._startAt=null;else{for(n in 0!==this._time&&(c=!1),i={},a)W[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=c&&!1!==a.lazy,i.immediateRender=c,this._startAt=O.to(this.target,0,i),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof w?h:"function"==typeof h?new w(h,a.easeParams):x[h]||O.defaultEase:O.defaultEase,a.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,e=0;e<r;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],l?l[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,l,0);if(t&&O._onPluginEvent("_onInitAllProps",this),l&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},a._initProps=function(t,i,n,s,r){var a,l,o,c,h,d;if(null==t)return!1;for(a in R[t._gsTweenID]&&K(),this.vars.css||t.style&&t!==e&&t.nodeType&&U.css&&!1!==this.vars.autoCSS&&function(e,t){var i,n={};for(i in e)W[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n}(this.vars,t),this.vars)if(d=this.vars[a],W[a])d&&(d instanceof Array||d.push&&m(d))&&-1!==d.join("").indexOf("{self}")&&(this.vars[a]=d=this._swapSelfInParams(d,this));else if(U[a]&&(c=new U[a])._onInitTween(t,this.vars[a],this,r)){for(this._firstPT=h={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:c._priority,m:0},l=c._overwriteProps.length;--l>-1;)i[c._overwriteProps[l]]=this._firstPT;(c._priority||c._onInitAllProps)&&(o=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else i[a]=V.call(this,t,a,"get",d,a,0,null,this.vars.stringFilter,r);return s&&this._kill(s,t)?this._initProps(t,i,n,s,r):this._overwrite>1&&this._firstPT&&n.length>1&&ee(t,this,i,this._overwrite,n)?(this._kill(i,t),this._initProps(t,i,n,s,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(R[t._gsTweenID]=!0),o)},a.render=function(e,t,i){var n,s,r,a,l=this._time,o=this._duration,c=this._rawPrevTime;if(e>=o-1e-8&&e>=0)this._totalTime=this._time=o,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===o&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(c<0||e<=0&&e>=-1e-8||1e-8===c&&"isPause"!==this.data)&&c!==e&&(i=!0,c>1e-8&&(s="onReverseComplete")),this._rawPrevTime=a=!t||e||c===e?e:1e-8);else if(e<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==l||0===o&&c>0)&&(s="onReverseComplete",n=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===o&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(1e-8!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!t||e||c===e?e:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=e,this._easeType){var h=e/o,d=this._easeType,u=this._easePower;(1===d||3===d&&h>=.5)&&(h=1-h),3===d&&(h*=2),1===u?h*=h:2===u?h*=h*h:3===u?h*=h*h*h:4===u&&(h*=h*h*h*h),this.ratio=1===d?1-h:2===d?h:e/o<.5?h/2:1-h/2}else this.ratio=this._ease.getRatio(e/o);if(this._time!==l||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=l,this._rawPrevTime=c,D.push(this),void(this._lazy=[e,t]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/o):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==l&&e>=0&&(this._active=!0),0===l&&(this._startAt&&(e>=0?this._startAt.render(e,!0,i):s||(s="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==o||t||this._callback("onStart"))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(e<0&&this._startAt&&-1e-4!==e&&this._startAt.render(e,!0,i),t||(this._time!==l||n||i)&&this._callback("onUpdate")),s&&(this._gc&&!i||(e<0&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[s]&&this._callback(s),0===o&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},a._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:O.selector(t)||t;var n,s,r,a,l,o,c,h,d,u=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((m(t)||I(t))&&"number"!=typeof t[0])for(n=t.length;--n>-1;)this._kill(e,t[n],i)&&(o=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(t===this._targets[n]){l=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=e?this._overwrittenProps[n]||{}:"all";break}}else{if(t!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(l){if(c=e||l,h=e!==s&&"all"!==s&&e!==l&&("object"!=typeof e||!e._tempKill),i&&(O.onOverwrite||this.vars.onOverwrite)){for(r in c)l[r]&&(d||(d=[]),d.push(r));if((d||!e)&&!Q(this,i,t,d))return!1}for(r in c)(a=l[r])&&(u&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,o=!0),a.pg&&a.t._kill(c)&&(o=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete l[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return o},a.invalidate=function(){this._notifyPluginsOfEnabled&&O._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],k.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(e,!1,!1!==this.vars.lazy)),this},a._enabled=function(e,t){if(o||l.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=J(n[i],this,!0);else this._siblings=J(this.target,this,!0)}return k.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&O._onPluginEvent(e?"_onEnable":"_onDisable",this)},O.to=function(e,t,i){return new O(e,t,i)},O.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new O(e,t,i)},O.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new O(e,t,n)},O.delayedCall=function(e,t,i,n,s){return new O(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},O.set=function(e,t){return new O(e,0,t)},O.getTweensOf=function(e,t){if(null==e)return[];var i,n,s,r;if(e="string"!=typeof e?e:O.selector(e)||e,(m(e)||I(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(O.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(r=n[i],s=i;--s>-1;)r===n[s]&&n.splice(i,1)}else if(e._gsTweenID)for(i=(n=J(e).concat()).length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n||[]},O.killTweensOf=O.killDelayedCallsTo=function(e,t,i){"object"==typeof t&&(i=t,t=!1);for(var n=O.getTweensOf(e,t),s=n.length;--s>-1;)n[s]._kill(i,e)};var ie=_("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ie.prototype}),!0);if(a=ie.prototype,ie.version="1.19.0",ie.API=2,a._firstPT=null,a._addTween=V,a.setRatio=$,a._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},a._mod=a._roundProps=function(e){for(var t,i=this._firstPT;i;)(t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},O._onPluginEvent=function(e,t){var i,n,s,r,a,l=t._firstPT;if("_onInitAllProps"===e){for(;l;){for(a=l._next,n=s;n&&n.pr>l.pr;)n=n._next;(l._prev=n?n._prev:r)?l._prev._next=l:s=l,(l._next=n)?n._prev=l:r=l,l=a}l=t._firstPT=s}for(;l;)l.pg&&"function"==typeof l.t[e]&&l.t[e]()&&(i=!0),l=l._next;return i},ie.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===ie.API&&(U[(new e[t])._propName]=e[t]);return!0},y.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,s=e.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=_("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){ie.call(this,i,n),this._overwriteProps=s||[]}),!0===e.global),l=a.prototype=new ie(i);for(t in l.constructor=a,a.API=e.API,r)"function"==typeof e[t]&&(l[r[t]]=e[t]);return a.version=e.version,ie.activate([a]),a},s=e._gsQueue){for(r=0;r<s.length;r++)s[r]();for(a in g)g[a].func||e.console.log("GSAP encountered missing dependency: "+a)}return o=!1,O}(s),a=s.GreenSockGlobals,l=a.com.greensock,o=l.core.SimpleTimeline,c=l.core.Animation,h=a.Ease,d=a.Linear,u=d,p=a.Power1,f=a.Power2,m=a.Power3,g=a.Power4,v=a.TweenPlugin;l.events.EventDispatcher}).call(this,i(81)(e),i(7))},function(e,t){e.exports=jQuery},function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r}));var n={axians:document.body.classList.contains("theme-axians")},s={logos:{mobile:"screen and (max-width: 599px)",tablet:"screen and (min-width: 600px) and (max-width: 899px)",landscape:"screen and (min-width: 900px) and (max-width: 1023px)",netbook:"screen and (min-width: 1024px) and (max-width: 1199px)",desktop:"screen and (min-width: 1200px)"},videos:{mobile:"screen and (max-width: 499px)",tablet:"screen and (min-width: 500px) and (max-width: 799px)",landscape:"screen and (min-width: 800px) and (max-width: 899px)",netbook:"screen and (min-width: 900px) and (max-width: 1199px)",desktop:"screen and (min-width: 1200px)"},cards:{mobile:"screen and (max-width: 599px)",tablet:"screen and (min-width: 600px) and (max-width: 899px)",netbook:"screen and (min-width: 900px) and (max-width: 1199px)",desktop:"screen and (min-width: 1200px)"},expert:{mobile:"screen and (max-width: 599px)",tablet:"screen and (min-width: 600px) and (max-width: 899px)",netbook:"screen and (min-width: 900px) and (max-width: 1199px)",desktop:"screen and (min-width: 1200px)"}},r={enable:document.body.classList.contains("with-sidebar")}},function(e,t,i){"use strict";(function(e,n){i.d(t,"d",(function(){return r})),i.d(t,"e",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return c}));var s=i(3);function r(){var e=!!window.matchMedia(s.a.logos.mobile).matches,t=!!window.matchMedia(s.a.logos.tablet).matches,i=!!window.matchMedia(s.a.logos.landscape).matches,n=!!window.matchMedia(s.a.logos.netbook).matches,r=!!window.matchMedia(s.a.logos.desktop).matches;if(s.b.enable){if(!0===e)return 2;if(!0===t)return 3;if(!0===i)return 3;if(!0===n)return 3;if(!0===r)return 3}else{if(!0===e)return 2;if(!0===t)return 4;if(!0===i)return 5;if(!0===n)return 6;if(!0===r)return 7}}function a(){var e=!!window.matchMedia(s.a.videos.mobile).matches,t=!!window.matchMedia(s.a.videos.tablet).matches,i=!!window.matchMedia(s.a.videos.landscape).matches,n=!!window.matchMedia(s.a.videos.netbook).matches,r=!!window.matchMedia(s.a.videos.desktop).matches;if(s.b.enable){if(!0===e)return 2;if(!0===t)return 3;if(!0===i)return 4;if(!0===n)return 4;if(!0===r)return 4}else{if(!0===e)return 2;if(!0===t)return 3;if(!0===i)return 4;if(!0===n)return 3;if(!0===r)return 4}}function l(){var e=!!window.matchMedia(s.a.cards.mobile).matches,t=!!window.matchMedia(s.a.cards.tablet).matches,i=!!window.matchMedia(s.a.cards.netbook).matches,n=!!window.matchMedia(s.a.cards.desktop).matches;if(s.b.enable){if(!0===e)return 2;if(!0===t)return 3;if(!0===i)return 3;if(!0===n)return 3}else{if(!0===e)return 3;if(!0===t)return 2;if(!0===i)return 4;if(!0===n)return s.c.axians?3:4}}function o(t,i){if(!s.c.axians)return!1;var r=t instanceof e?t:n(t);if(0===r.length)return!1;i=i<10?"0"+i:i;var a={$slide:r.children(".nbr-slide")};a.$slide.length>0&&a.$slide.remove(),r.prepend("<span class='nbr-slide'>01</span>"),r.append("<span class='nbr-slide'>"+i+"</span>")}function c(){var e=document.getElementById("header");return e?e.offsetHeight:0}}).call(this,i(2),i(2))},function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(i){void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&s(e[i],t[i])}))}i.r(t);var r="undefined"!=typeof document?document:{},a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};s(r,a);var l="undefined"!=typeof window?window:{};s(l,{document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});class o{constructor(e){const t=this;for(let i=0;i<e.length;i+=1)t[i]=e[i];return t.length=e.length,this}}function c(e,t){const i=[];let n=0;if(e&&!t&&e instanceof o)return e;if(e)if("string"==typeof e){let s,a;const l=e.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){let e="div";for(0===l.indexOf("<li")&&(e="ul"),0===l.indexOf("<tr")&&(e="tbody"),0!==l.indexOf("<td")&&0!==l.indexOf("<th")||(e="tr"),0===l.indexOf("<tbody")&&(e="table"),0===l.indexOf("<option")&&(e="select"),a=r.createElement(e),a.innerHTML=l,n=0;n<a.childNodes.length;n+=1)i.push(a.childNodes[n])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||r).querySelectorAll(e.trim()):[r.getElementById(e.trim().split("#")[1])],n=0;n<s.length;n+=1)s[n]&&i.push(s[n])}else if(e.nodeType||e===l||e===r)i.push(e);else if(e.length>0&&e[0].nodeType)for(n=0;n<e.length;n+=1)i.push(e[n]);return new o(i)}function h(e){const t=[];for(let i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}c.fn=o.prototype,c.Class=o,c.Dom7=o;"resize scroll".split(" ");const d={addClass:function(e){if(void 0===e)return this;const t=e.split(" ");for(let e=0;e<t.length;e+=1)for(let i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[e]);return this},removeClass:function(e){const t=e.split(" ");for(let e=0;e<t.length;e+=1)for(let i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[e]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){const t=e.split(" ");for(let e=0;e<t.length;e+=1)for(let i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[e]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(const t in e)this[i][t]=e[t],this[i].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){let i;if(void 0!==t){for(let n=0;n<this.length;n+=1)i=this[n],i.dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0],i){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];const t=i.getAttribute("data-"+e);return t||void 0}},transform:function(e){for(let t=0;t<this.length;t+=1){const i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(let t=0;t<this.length;t+=1){const i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(...e){let[t,i,n,s]=e;function r(e){const t=e.target;if(!t)return;const s=e.target.dom7EventData||[];if(s.indexOf(e)<0&&s.unshift(e),c(t).is(i))n.apply(t,s);else{const e=c(t).parents();for(let t=0;t<e.length;t+=1)c(e[t]).is(i)&&n.apply(e[t],s)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof e[1]&&([t,n,s]=e,i=void 0),s||(s=!1);const l=t.split(" ");let o;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(o=0;o<l.length;o+=1){const e=l[o];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:r}),t.addEventListener(e,r,s)}else for(o=0;o<l.length;o+=1){const e=l[o];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:a}),t.addEventListener(e,a,s)}}return this},off:function(...e){let[t,i,n,s]=e;"function"==typeof e[1]&&([t,n,s]=e,i=void 0),s||(s=!1);const r=t.split(" ");for(let e=0;e<r.length;e+=1){const t=r[e];for(let e=0;e<this.length;e+=1){const r=this[e];let a;if(!i&&r.dom7Listeners?a=r.dom7Listeners[t]:i&&r.dom7LiveListeners&&(a=r.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const i=a[e];n&&i.listener===n||n&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===n?(r.removeEventListener(t,i.proxyListener,s),a.splice(e,1)):n||(r.removeEventListener(t,i.proxyListener,s),a.splice(e,1))}}}return this},trigger:function(...e){const t=e[0].split(" "),i=e[1];for(let n=0;n<t.length;n+=1){const s=t[n];for(let t=0;t<this.length;t+=1){const n=this[t];let a;try{a=new l.CustomEvent(s,{detail:i,bubbles:!0,cancelable:!0})}catch(e){a=r.createEvent("Event"),a.initEvent(s,!0,!0),a.detail=i}n.dom7EventData=e.filter((e,t)=>t>0),n.dispatchEvent(a),n.dom7EventData=[],delete n.dom7EventData}}return this},transitionEnd:function(e){const t=["webkitTransitionEnd","transitionend"],i=this;let n;function s(r){if(r.target===this)for(e.call(this,r),n=0;n<t.length;n+=1)i.off(t[n],s)}if(e)for(n=0;n<t.length;n+=1)i.on(t[n],s);return this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),i=r.body,n=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,a=e===l?l.scrollY:e.scrollTop,o=e===l?l.scrollX:e.scrollLeft;return{top:t.top+a-n,left:t.left+o-s}}return null},css:function(e,t){let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(let t in e)this[i].style[t]=e[t];return this}if(this[0])return l.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(let t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=this[0];let i,n;if(!t||void 0===e)return!1;if("string"==typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);for(i=c(e),n=0;n<i.length;n+=1)if(i[n]===t)return!0;return!1}if(e===r)return t===r;if(e===l)return t===l;if(e.nodeType||e instanceof o){for(i=e.nodeType?[e]:e,n=0;n<i.length;n+=1)if(i[n]===t)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;let i;return e>t-1?new o([]):e<0?(i=t+e,new o(i<0?[]:[this[i]])):new o([this[e]])},append:function(...e){let t;for(let i=0;i<e.length;i+=1){t=e[i];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const i=r.createElement("div");for(i.innerHTML=t;i.firstChild;)this[e].appendChild(i.firstChild)}else if(t instanceof o)for(let i=0;i<t.length;i+=1)this[e].appendChild(t[i]);else this[e].appendChild(t)}return this},prepend:function(e){let t,i;for(t=0;t<this.length;t+=1)if("string"==typeof e){const n=r.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(n.childNodes[i],this[t].childNodes[0])}else if(e instanceof o)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?new o([this[0].nextElementSibling]):new o([]):this[0].nextElementSibling?new o([this[0].nextElementSibling]):new o([]):new o([])},nextAll:function(e){const t=[];let i=this[0];if(!i)return new o([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?c(n).is(e)&&t.push(n):t.push(n),i=n}return new o(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&c(t.previousElementSibling).is(e)?new o([t.previousElementSibling]):new o([]):t.previousElementSibling?new o([t.previousElementSibling]):new o([])}return new o([])},prevAll:function(e){const t=[];let i=this[0];if(!i)return new o([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?c(n).is(e)&&t.push(n):t.push(n),i=n}return new o(t)},parent:function(e){const t=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?c(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return c(h(t))},parents:function(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?c(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return c(h(t))},closest:function(e){let t=this;return void 0===e?new o([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return new o(t)},children:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].childNodes;for(let i=0;i<n.length;i+=1)e?1===n[i].nodeType&&c(n[i]).is(e)&&t.push(n[i]):1===n[i].nodeType&&t.push(n[i])}return new o(h(t))},filter:function(e){const t=[],i=this;for(let n=0;n<i.length;n+=1)e.call(i[n],n,i[n])&&t.push(i[n]);return new o(t)},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(...e){const t=this;let i,n;for(i=0;i<e.length;i+=1){const s=c(e[i]);for(n=0;n<s.length;n+=1)t[t.length]=s[n],t.length+=1}return t},styles:function(){return this[0]?l.getComputedStyle(this[0],null):{}}};Object.keys(d).forEach(e=>{c.fn[e]=c.fn[e]||d[e]});const u={deleteProps(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:(e,t=0)=>setTimeout(e,t),now:()=>Date.now(),getTranslate(e,t="x"){let i,n,s;const r=l.getComputedStyle(e,null);return l.WebKitCSSMatrix?(n=r.transform||r.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new l.WebKitCSSMatrix("none"===n?"":n)):(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),"x"===t&&(n=l.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=l.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0},parseUrlQuery(e){const t={};let i,n,s,r,a=e||l.location.href;if("string"==typeof a&&a.length)for(a=a.indexOf("?")>-1?a.replace(/\S*\?/,""):"",n=a.split("&").filter(e=>""!==e),r=n.length,i=0;i<r;i+=1)s=n[i].replace(/#\S+/g,"").split("="),t[decodeURIComponent(s[0])]=void 0===s[1]?void 0:decodeURIComponent(s[1])||"";return t},isObject:e=>"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object,extend(...e){const t=Object(e[0]);for(let i=1;i<e.length;i+=1){const n=e[i];if(null!=n){const e=Object.keys(Object(n));for(let i=0,s=e.length;i<s;i+=1){const s=e[i],r=Object.getOwnPropertyDescriptor(n,s);void 0!==r&&r.enumerable&&(u.isObject(t[s])&&u.isObject(n[s])?u.extend(t[s],n[s]):!u.isObject(t[s])&&u.isObject(n[s])?(t[s]={},u.extend(t[s],n[s])):t[s]=n[s])}}}return t}},p={touch:!!("ontouchstart"in l||l.DocumentTouch&&r instanceof l.DocumentTouch),pointerEvents:!!l.PointerEvent&&"maxTouchPoints"in l.navigator&&l.navigator.maxTouchPoints>=0,observer:"MutationObserver"in l||"WebkitMutationObserver"in l,passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});l.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in l};class f{constructor(e={}){const t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])})}on(e,t,i){const n=this;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n}once(e,t,i){const n=this;if("function"!=typeof t)return n;function s(...i){n.off(e,s),s.f7proxy&&delete s.f7proxy,t.apply(n,i)}return s.f7proxy=t,n.on(e,s,i)}off(e,t){const i=this;return i.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((n,s)=>{(n===t||n.f7proxy&&n.f7proxy===t)&&i.eventsListeners[e].splice(s,1)})}),i):i}emit(...e){const t=this;if(!t.eventsListeners)return t;let i,n,s;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=t):(i=e[0].events,n=e[0].data,s=e[0].context||t);return(Array.isArray(i)?i:i.split(" ")).forEach(e=>{if(t.eventsListeners&&t.eventsListeners[e]){const i=[];t.eventsListeners[e].forEach(e=>{i.push(e)}),i.forEach(e=>{e.apply(s,n)})}}),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach(i=>{const n=t.modules[i];n.params&&u.extend(e,n.params)})}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach(i=>{const n=t.modules[i],s=e[i]||{};n.instance&&Object.keys(n.instance).forEach(e=>{const i=n.instance[e];t[e]="function"==typeof i?i.bind(t):i}),n.on&&t.on&&Object.keys(n.on).forEach(e=>{t.on(e,n.on[e])}),n.create&&n.create.bind(t)(s)})}static set components(e){this.use&&this.use(e)}static installModule(e,...t){const i=this;i.prototype.modules||(i.prototype.modules={});const n=e.name||`${Object.keys(i.prototype.modules).length}_${u.now()}`;return i.prototype.modules[n]=e,e.proto&&Object.keys(e.proto).forEach(t=>{i.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(t=>{i[t]=e.static[t]}),e.install&&e.install.apply(i,t),i}static use(e,...t){const i=this;return Array.isArray(e)?(e.forEach(e=>i.installModule(e)),i):i.installModule(e,...t)}}var m={updateSize:function(){const e=this;let t,i;const n=e.$el;t=void 0!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),i=i-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),u.extend(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const e=this,t=e.params,{$wrapperEl:i,size:n,rtlTranslate:s,wrongRTL:r}=e,a=e.virtual&&t.virtual.enabled,o=a?e.virtual.slides.length:e.slides.length,c=i.children("."+e.params.slideClass),h=a?e.virtual.slides.length:c.length;let d=[];const p=[],f=[];function m(e){return!t.cssMode||e!==c.length-1}let g=t.slidesOffsetBefore;"function"==typeof g&&(g=t.slidesOffsetBefore.call(e));let v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));const y=e.snapGrid.length,_=e.snapGrid.length;let b,w,x=t.spaceBetween,T=-g,S=0,M=0;if(void 0===n)return;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*n),e.virtualSize=-x,s?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(b=Math.floor(h/t.slidesPerColumn)===h/e.params.slidesPerColumn?h:Math.ceil(h/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(b=Math.max(b,t.slidesPerView*t.slidesPerColumn)));const E=t.slidesPerColumn,C=b/E,P=Math.floor(h/t.slidesPerColumn);for(let i=0;i<h;i+=1){w=0;const s=c.eq(i);if(t.slidesPerColumn>1){let n,r,a;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(i/(t.slidesPerGroup*t.slidesPerColumn)),l=i-t.slidesPerColumn*t.slidesPerGroup*e,o=0===e?t.slidesPerGroup:Math.min(Math.ceil((h-e*E*t.slidesPerGroup)/E),t.slidesPerGroup);a=Math.floor(l/o),r=l-a*o+e*t.slidesPerGroup,n=r+a*b/E,s.css({"-webkit-box-ordinal-group":n,"-moz-box-ordinal-group":n,"-ms-flex-order":n,"-webkit-order":n,order:n})}else"column"===t.slidesPerColumnFill?(r=Math.floor(i/E),a=i-r*E,(r>P||r===P&&a===E-1)&&(a+=1,a>=E&&(a=0,r+=1))):(a=Math.floor(i/C),r=i-a*C);s.css("margin-"+(e.isHorizontal()?"top":"left"),0!==a&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==s.css("display")){if("auto"===t.slidesPerView){const i=l.getComputedStyle(s[0],null),n=s[0].style.transform,r=s[0].style.webkitTransform;if(n&&(s[0].style.transform="none"),r&&(s[0].style.webkitTransform="none"),t.roundLengths)w=e.isHorizontal()?s.outerWidth(!0):s.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(i.getPropertyValue("width")),t=parseFloat(i.getPropertyValue("padding-left")),n=parseFloat(i.getPropertyValue("padding-right")),s=parseFloat(i.getPropertyValue("margin-left")),r=parseFloat(i.getPropertyValue("margin-right")),a=i.getPropertyValue("box-sizing");w=a&&"border-box"===a?e+s+r:e+t+n+s+r}else{const e=parseFloat(i.getPropertyValue("height")),t=parseFloat(i.getPropertyValue("padding-top")),n=parseFloat(i.getPropertyValue("padding-bottom")),s=parseFloat(i.getPropertyValue("margin-top")),r=parseFloat(i.getPropertyValue("margin-bottom")),a=i.getPropertyValue("box-sizing");w=a&&"border-box"===a?e+s+r:e+t+n+s+r}n&&(s[0].style.transform=n),r&&(s[0].style.webkitTransform=r),t.roundLengths&&(w=Math.floor(w))}else w=(n-(t.slidesPerView-1)*x)/t.slidesPerView,t.roundLengths&&(w=Math.floor(w)),c[i]&&(e.isHorizontal()?c[i].style.width=w+"px":c[i].style.height=w+"px");c[i]&&(c[i].swiperSlideSize=w),f.push(w),t.centeredSlides?(T=T+w/2+S/2+x,0===S&&0!==i&&(T=T-n/2-x),0===i&&(T=T-n/2-x),Math.abs(T)<.001&&(T=0),t.roundLengths&&(T=Math.floor(T)),M%t.slidesPerGroup==0&&d.push(T),p.push(T)):(t.roundLengths&&(T=Math.floor(T)),(M-Math.min(e.params.slidesPerGroupSkip,M))%e.params.slidesPerGroup==0&&d.push(T),p.push(T),T=T+w+x),e.virtualSize+=w+x,S=w,M+=1}}let k;if(e.virtualSize=Math.max(e.virtualSize,n)+v,s&&r&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(w+t.spaceBetween)*b,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){k=[];for(let i=0;i<d.length;i+=1){let n=d[i];t.roundLengths&&(n=Math.floor(n)),d[i]<e.virtualSize+d[0]&&k.push(n)}d=k}if(!t.centeredSlides){k=[];for(let i=0;i<d.length;i+=1){let s=d[i];t.roundLengths&&(s=Math.floor(s)),d[i]<=e.virtualSize-n&&k.push(s)}d=k,Math.floor(e.virtualSize-n)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-n)}if(0===d.length&&(d=[0]),0!==t.spaceBetween&&(e.isHorizontal()?s?c.filter(m).css({marginLeft:x+"px"}):c.filter(m).css({marginRight:x+"px"}):c.filter(m).css({marginBottom:x+"px"})),t.centeredSlides&&t.centeredSlidesBounds){let e=0;f.forEach(i=>{e+=i+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween;const i=e-n;d=d.map(e=>e<0?-g:e>i?i+v:e)}if(t.centerInsufficientSlides){let e=0;if(f.forEach(i=>{e+=i+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween,e<n){const t=(n-e)/2;d.forEach((e,i)=>{d[i]=e-t}),p.forEach((e,i)=>{p[i]=e+t})}}u.extend(e,{slides:c,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),h!==o&&e.emit("slidesLengthChange"),d.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==_&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,i=[];let n,s=0;if("number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e,t)=>{i.push(t)});else for(n=0;n<Math.ceil(t.params.slidesPerView);n+=1){const e=t.activeIndex+n;if(e>t.slides.length)break;i.push(t.slides.eq(e)[0])}else i.push(t.slides.eq(t.activeIndex)[0]);for(n=0;n<i.length;n+=1)if(void 0!==i[n]){const e=i[n].offsetHeight;s=e>s?e:s}s&&t.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,i=t.params,{slides:n,rtlTranslate:s}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;s&&(r=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<n.length;e+=1){const a=n[e],l=(r+(i.centeredSlides?t.minTranslate():0)-a.swiperSlideOffset)/(a.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){const s=-(r-a.swiperSlideOffset),l=s+t.slidesSizesGrid[e];(s>=0&&s<t.size-1||l>1&&l<=t.size||s<=0&&l>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(i.slideVisibleClass))}a.progress=s?-l:l}t.visibleSlides=c(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:r,isEnd:a}=t;const l=r,o=a;0===n?(s=0,r=!0,a=!0):(s=(e-t.minTranslate())/n,r=s<=0,a=s>=1),u.extend(t,{progress:s,isBeginning:r,isEnd:a}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),a&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!a)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:s,realIndex:r}=e,a=e.virtual&&i.virtual.enabled;let l;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),l=a?e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${s}"]`):t.eq(s),l.addClass(i.slideActiveClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(i.slideDuplicateActiveClass));let o=l.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0),o.addClass(i.slideNextClass));let c=l.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=t.eq(-1),c.addClass(i.slidePrevClass)),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:s,params:r,activeIndex:a,realIndex:l,snapIndex:o}=t;let c,h=e;if(void 0===h){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?h=e:i>=n[e]&&i<n[e+1]&&(h=e+1):i>=n[e]&&(h=e);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if(s.indexOf(i)>=0)c=s.indexOf(i);else{const e=Math.min(r.slidesPerGroupSkip,h);c=e+Math.floor((h-e)/r.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),h===a)return void(c!==o&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(h).attr("data-swiper-slide-index")||h,10);u.extend(t,{snapIndex:c,realIndex:d,previousIndex:a,activeIndex:h}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,i=t.params,n=c(e.target).closest("."+i.slideClass)[0];let s=!1;if(n)for(let e=0;e<t.slides.length;e+=1)t.slides[e]===n&&(s=!0);if(!n||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(c(n).attr("data-swiper-slide-index"),10):t.clickedIndex=c(n).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var g={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:i,translate:n,$wrapperEl:s}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let r=u.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:s,$wrapperEl:r,wrapperEl:a,progress:l}=i;let o,c=0,h=0;i.isHorizontal()?c=n?-e:e:h=e,s.roundLengths&&(c=Math.floor(c),h=Math.floor(h)),s.cssMode?a[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-c:-h:s.virtualTranslate||r.transform(`translate3d(${c}px, ${h}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?c:h;const d=i.maxTranslate()-i.minTranslate();o=0===d?0:(e-i.minTranslate())/d,o!==l&&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=0,t=this.params.speed,i=!0,n=!0,s){const r=this,{params:a,wrapperEl:l}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;const o=r.minTranslate(),c=r.maxTranslate();let h;if(h=n&&e>o?o:n&&e<c?c:e,r.updateProgress(h),a.cssMode){const e=r.isHorizontal();return 0===t?l[e?"scrollLeft":"scrollTop"]=-h:l.scrollTo?l.scrollTo({[e?"left":"top"]:-h,behavior:"smooth"}):l[e?"scrollLeft":"scrollTop"]=-h,!0}return 0===t?(r.setTransition(0),r.setTranslate(h),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(h),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}};var v={setTransition:function(e,t){const i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const i=this,{activeIndex:n,params:s,previousIndex:r}=i;if(s.cssMode)return;s.autoHeight&&i.updateAutoHeight();let a=t;if(a||(a=n>r?"next":n<r?"prev":"reset"),i.emit("transitionStart"),e&&n!==r){if("reset"===a)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===a?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}},transitionEnd:function(e=!0,t){const i=this,{activeIndex:n,previousIndex:s,params:r}=i;if(i.animating=!1,r.cssMode)return;i.setTransition(0);let a=t;if(a||(a=n>s?"next":n<s?"prev":"reset"),i.emit("transitionEnd"),e&&n!==s){if("reset"===a)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===a?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}};var y={slideTo:function(e=0,t=this.params.speed,i=!0,n){const s=this;let r=e;r<0&&(r=0);const{params:a,snapGrid:l,slidesGrid:o,previousIndex:c,activeIndex:h,rtlTranslate:d,wrapperEl:u}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const p=Math.min(s.params.slidesPerGroupSkip,r);let f=p+Math.floor((r-p)/s.params.slidesPerGroup);f>=l.length&&(f=l.length-1),(h||a.initialSlide||0)===(c||0)&&i&&s.emit("beforeSlideChangeStart");const m=-l[f];if(s.updateProgress(m),a.normalizeSlideIndex)for(let e=0;e<o.length;e+=1)-Math.floor(100*m)>=Math.floor(100*o[e])&&(r=e);if(s.initialized&&r!==h){if(!s.allowSlideNext&&m<s.translate&&m<s.minTranslate())return!1;if(!s.allowSlidePrev&&m>s.translate&&m>s.maxTranslate()&&(h||0)!==r)return!1}let g;if(g=r>h?"next":r<h?"prev":"reset",d&&-m===s.translate||!d&&m===s.translate)return s.updateActiveIndex(r),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(m),"reset"!==g&&(s.transitionStart(i,g),s.transitionEnd(i,g)),!1;if(a.cssMode){const e=s.isHorizontal();let i=-m;return d&&(i=u.scrollWidth-u.offsetWidth-i),0===t?u[e?"scrollLeft":"scrollTop"]=i:u.scrollTo?u.scrollTo({[e?"left":"top"]:i,behavior:"smooth"}):u[e?"scrollLeft":"scrollTop"]=i,!0}return 0===t?(s.setTransition(0),s.setTranslate(m),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,g),s.transitionEnd(i,g)):(s.setTransition(t),s.setTranslate(m),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,g),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,g))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e=0,t=this.params.speed,i=!0,n){const s=this;let r=e;return s.params.loop&&(r+=s.loopedSlides),s.slideTo(r,t,i,n)},slideNext:function(e=this.params.speed,t=!0,i){const n=this,{params:s,animating:r}=n,a=n.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(r)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return n.slideTo(n.activeIndex+a,e,t,i)},slidePrev:function(e=this.params.speed,t=!0,i){const n=this,{params:s,animating:r,snapGrid:a,slidesGrid:l,rtlTranslate:o}=n;if(s.loop){if(r)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=c(o?n.translate:-n.translate),d=a.map(e=>c(e));l.map(e=>c(e)),a[d.indexOf(h)];let u,p=a[d.indexOf(h)-1];return void 0===p&&s.cssMode&&a.forEach(e=>{!p&&h>=e&&(p=e)}),void 0!==p&&(u=l.indexOf(p),u<0&&(u=n.activeIndex-1)),n.slideTo(u,e,t,i)},slideReset:function(e=this.params.speed,t=!0,i){return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e=this.params.speed,t=!0,i,n=.5){const s=this;let r=s.activeIndex;const a=Math.min(s.params.slidesPerGroupSkip,r),l=a+Math.floor((r-a)/s.params.slidesPerGroup),o=s.rtlTranslate?s.translate:-s.translate;if(o>=s.snapGrid[l]){const e=s.snapGrid[l];o-e>(s.snapGrid[l+1]-e)*n&&(r+=s.params.slidesPerGroup)}else{const e=s.snapGrid[l-1];o-e<=(s.snapGrid[l]-e)*n&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,r=e.clickedIndex;if(t.loop){if(e.animating)return;s=parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-n/2||r>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),r=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),u.nextTick(()=>{e.slideTo(r)})):e.slideTo(r):r>e.slides.length-n?(e.loopFix(),r=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),u.nextTick(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}};var _={loopCreate:function(){const e=this,{params:t,$wrapperEl:i}=e;i.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let n=i.children("."+t.slideClass);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-n.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let n=0;n<e;n+=1){const e=c(r.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);i.append(e)}n=i.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=n.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>n.length&&(e.loopedSlides=n.length);const s=[],a=[];n.each((t,i)=>{const r=c(i);t<e.loopedSlides&&a.push(i),t<n.length&&t>=n.length-e.loopedSlides&&s.push(i),r.attr("data-swiper-slide-index",t)});for(let e=0;e<a.length;e+=1)i.append(c(a[e].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let e=s.length-1;e>=0;e-=1)i.prepend(c(s[e].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:s,allowSlideNext:r,snapGrid:a,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();if(t<n){o=i.length-3*n+t,o+=n;e.slideTo(o,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)}else if(t>=i.length-n){o=-i.length+t+n,o+=n;e.slideTo(o,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)}e.allowSlidePrev=s,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}};var b={setGrabCursor:function(e){if(p.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)return;const t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){p.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}};var w={appendSlide:function(e){const t=this,{$wrapperEl:i,params:n}=t;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&i.append(e[t]);else i.append(e);n.loop&&t.loopCreate(),n.observer&&p.observer||t.update()},prependSlide:function(e){const t=this,{params:i,$wrapperEl:n,activeIndex:s}=t;i.loop&&t.loopDestroy();let r=s+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n.prepend(e[t]);r=s+e.length}else n.prepend(e);i.loop&&t.loopCreate(),i.observer&&p.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){const i=this,{$wrapperEl:n,params:s,activeIndex:r}=i;let a=r;s.loop&&(a-=i.loopedSlides,i.loopDestroy(),i.slides=n.children("."+s.slideClass));const l=i.slides.length;if(e<=0)return void i.prependSlide(t);if(e>=l)return void i.appendSlide(t);let o=a>e?a+1:a;const c=[];for(let t=l-1;t>=e;t-=1){const e=i.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&n.append(t[e]);o=a>e?a+t.length:a}else n.append(t);for(let e=0;e<c.length;e+=1)n.append(c[e]);s.loop&&i.loopCreate(),s.observer&&p.observer||i.update(),s.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)},removeSlide:function(e){const t=this,{params:i,$wrapperEl:n,activeIndex:s}=t;let r=s;i.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=n.children("."+i.slideClass));let a,l=r;if("object"==typeof e&&"length"in e){for(let i=0;i<e.length;i+=1)a=e[i],t.slides[a]&&t.slides.eq(a).remove(),a<l&&(l-=1);l=Math.max(l,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<l&&(l-=1),l=Math.max(l,0);i.loop&&t.loopCreate(),i.observer&&p.observer||t.update(),i.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)},removeAllSlides:function(){const e=this,t=[];for(let i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}};const x=function(){const e=l.navigator.platform,t=l.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!l.cordova&&!l.phonegap),phonegap:!(!l.cordova&&!l.phonegap),electron:!1},n=l.screen.width,s=l.screen.height,r=t.match(/(Android);?[\s\/]+([\d.]+)?/);let a=t.match(/(iPad).*OS\s([\d_]+)/);const o=t.match(/(iPod)(.*OS\s([\d_]+))?/),c=!a&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,d=t.indexOf("Edge/")>=0,u=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,f="Win32"===e,m=t.toLowerCase().indexOf("electron")>=0;let g="MacIntel"===e;return!a&&g&&p.touch&&(1024===n&&1366===s||834===n&&1194===s||834===n&&1112===s||768===n&&1024===s)&&(a=t.match(/(Version)\/([\d.]+)/),g=!1),i.ie=h,i.edge=d,i.firefox=u,r&&!f&&(i.os="android",i.osVersion=r[2],i.android=!0,i.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(a||c||o)&&(i.os="ios",i.ios=!0),c&&!o&&(i.osVersion=c[2].replace(/_/g,"."),i.iphone=!0),a&&(i.osVersion=a[2].replace(/_/g,"."),i.ipad=!0),o&&(i.osVersion=o[3]?o[3].replace(/_/g,"."):null,i.ipod=!0),i.ios&&i.osVersion&&t.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),i.webView=!(!(c||a||o)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!l.navigator.standalone)||l.matchMedia&&l.matchMedia("(display-mode: standalone)").matches,i.webview=i.webView,i.standalone=i.webView,i.desktop=!(i.ios||i.android)||m,i.desktop&&(i.electron=m,i.macos=g,i.windows=f,i.macos&&(i.os="macos"),i.windows&&(i.os="windows")),i.pixelRatio=l.devicePixelRatio||1,i}();function T(e){const t=this,i=t.touchEventsData,{params:n,touches:s}=t;if(t.animating&&n.preventInteractionOnTransition)return;let a=e;a.originalEvent&&(a=a.originalEvent);const o=c(a.target);if("wrapper"===n.touchEventsTarget&&!o.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===a.type,!i.isTouchEvent&&"which"in a&&3===a.which)return;if(!i.isTouchEvent&&"button"in a&&a.button>0)return;if(i.isTouched&&i.isMoved)return;if(n.noSwiping&&o.closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])return void(t.allowClick=!0);if(n.swipeHandler&&!o.closest(n.swipeHandler)[0])return;s.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,s.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;const h=s.currentX,d=s.currentY,p=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,f=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!p||!(h<=f||h>=l.screen.width-f)){if(u.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=h,s.startY=d,i.touchStartTime=u.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,n.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==a.type){let e=!0;o.is(i.formElements)&&(e=!1),r.activeElement&&c(r.activeElement).is(i.formElements)&&r.activeElement!==o[0]&&r.activeElement.blur();const s=e&&t.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||s)&&a.preventDefault()}t.emit("touchStart",a)}}function S(e){const t=this,i=t.touchEventsData,{params:n,touches:s,rtlTranslate:a}=t;let l=e;if(l.originalEvent&&(l=l.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l));if(i.isTouchEvent&&"touchmove"!==l.type)return;const o="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),h="touchmove"===l.type?o.pageX:l.pageX,d="touchmove"===l.type?o.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=h,void(s.startY=d);if(!t.allowTouchMove)return t.allowClick=!1,void(i.isTouched&&(u.extend(s,{startX:h,startY:d,currentX:h,currentY:d}),i.touchStartTime=u.now()));if(i.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(t.isVertical()){if(d<s.startY&&t.translate<=t.maxTranslate()||d>s.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(h<s.startX&&t.translate<=t.maxTranslate()||h>s.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&r.activeElement&&l.target===r.activeElement&&c(l.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=h,s.currentY=d;const p=s.currentX-s.startX,f=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(p**2+f**2)<t.params.threshold)return;if(void 0===i.isScrolling){let e;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:p*p+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=t.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),void 0===i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;t.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),i.isMoved||(n.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!n.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",l)),t.emit("sliderMove",l),i.isMoved=!0;let m=t.isHorizontal()?p:f;s.diff=m,m*=n.touchRatio,a&&(m=-m),t.swipeDirection=m>0?"prev":"next",i.currentTranslate=m+i.startTranslate;let g=!0,v=n.resistanceRatio;if(n.touchReleaseOnEdges&&(v=0),m>0&&i.currentTranslate>t.minTranslate()?(g=!1,n.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+m)**v)):m<0&&i.currentTranslate<t.maxTranslate()&&(g=!1,n.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-m)**v)),g&&(l.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(m)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),n.freeMode&&(0===i.velocities.length&&i.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:u.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function M(e){const t=this,i=t.touchEventsData,{params:n,touches:s,rtlTranslate:r,$wrapperEl:a,slidesGrid:l,snapGrid:o}=t;let c=e;if(c.originalEvent&&(c=c.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",c),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const h=u.now(),d=h-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),d<300&&h-i.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),i.lastClickTime=u.now(),u.nextTick(()=>{t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let p;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,n.cssMode)return;if(n.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){const e=i.velocities.pop(),s=i.velocities.pop(),r=e.position-s.position,a=e.time-s.time;t.velocity=r/a,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(a>150||u.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;let e=1e3*n.freeModeMomentumRatio;const s=t.velocity*e;let l=t.translate+s;r&&(l=-l);let c,h=!1;const d=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;let p;if(l<t.maxTranslate())n.freeModeMomentumBounce?(l+t.maxTranslate()<-d&&(l=t.maxTranslate()-d),c=t.maxTranslate(),h=!0,i.allowMomentumBounce=!0):l=t.maxTranslate(),n.loop&&n.centeredSlides&&(p=!0);else if(l>t.minTranslate())n.freeModeMomentumBounce?(l-t.minTranslate()>d&&(l=t.minTranslate()+d),c=t.minTranslate(),h=!0,i.allowMomentumBounce=!0):l=t.minTranslate(),n.loop&&n.centeredSlides&&(p=!0);else if(n.freeModeSticky){let e;for(let t=0;t<o.length;t+=1)if(o[t]>-l){e=t;break}l=Math.abs(o[e]-l)<Math.abs(o[e-1]-l)||"next"===t.swipeDirection?o[e]:o[e-1],l=-l}if(p&&t.once("transitionEnd",()=>{t.loopFix()}),0!==t.velocity){if(e=r?Math.abs((-l-t.translate)/t.velocity):Math.abs((l-t.translate)/t.velocity),n.freeModeSticky){const i=Math.abs((r?-l:l)-t.translate),s=t.slidesSizesGrid[t.activeIndex];e=i<s?n.speed:i<2*s?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&h?(t.updateProgress(c),t.setTransition(e),t.setTranslate(l),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd(()=>{t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout(()=>{t.setTranslate(c),a.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(l),t.setTransition(e),t.setTranslate(l),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(l),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();return void((!n.freeModeMomentum||d>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let f=0,m=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==l[e+t]?p>=l[e]&&p<l[e+t]&&(f=e,m=l[e+t]-l[e]):p>=l[e]&&(f=e,m=l[l.length-1]-l[l.length-2])}const g=(p-l[f])/m,v=f<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(d>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=n.longSwipesRatio?t.slideTo(f+v):t.slideTo(f)),"prev"===t.swipeDirection&&(g>1-n.longSwipesRatio?t.slideTo(f+v):t.slideTo(f))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(f+v):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(f+v),"prev"===t.swipeDirection&&t.slideTo(f))}}function E(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function C(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function P(){const e=this,{wrapperEl:t,rtlTranslate:i}=e;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();n=0===s?0:(e.translate-e.minTranslate())/s,n!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let k=!1;function A(){}var L={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0};const O={update:m,translate:g,transition:v,slide:y,loop:_,grabCursor:b,manipulation:w,events:{attachEvents:function(){const e=this,{params:t,touchEvents:i,el:n,wrapperEl:s}=e;e.onTouchStart=T.bind(e),e.onTouchMove=S.bind(e),e.onTouchEnd=M.bind(e),t.cssMode&&(e.onScroll=P.bind(e)),e.onClick=C.bind(e);const a=!!t.nested;if(!p.touch&&p.pointerEvents)n.addEventListener(i.start,e.onTouchStart,!1),r.addEventListener(i.move,e.onTouchMove,a),r.addEventListener(i.end,e.onTouchEnd,!1);else{if(p.touch){const s=!("touchstart"!==i.start||!p.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(i.start,e.onTouchStart,s),n.addEventListener(i.move,e.onTouchMove,p.passiveListener?{passive:!1,capture:a}:a),n.addEventListener(i.end,e.onTouchEnd,s),i.cancel&&n.addEventListener(i.cancel,e.onTouchEnd,s),k||(r.addEventListener("touchstart",A),k=!0)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!p.touch&&x.ios)&&(n.addEventListener("mousedown",e.onTouchStart,!1),r.addEventListener("mousemove",e.onTouchMove,a),r.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&n.addEventListener("click",e.onClick,!0),t.cssMode&&s.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0):e.on("observerUpdate",E,!0)},detachEvents:function(){const e=this,{params:t,touchEvents:i,el:n,wrapperEl:s}=e,a=!!t.nested;if(!p.touch&&p.pointerEvents)n.removeEventListener(i.start,e.onTouchStart,!1),r.removeEventListener(i.move,e.onTouchMove,a),r.removeEventListener(i.end,e.onTouchEnd,!1);else{if(p.touch){const s=!("onTouchStart"!==i.start||!p.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(i.start,e.onTouchStart,s),n.removeEventListener(i.move,e.onTouchMove,a),n.removeEventListener(i.end,e.onTouchEnd,s),i.cancel&&n.removeEventListener(i.cancel,e.onTouchEnd,s)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!p.touch&&x.ios)&&(n.removeEventListener("mousedown",e.onTouchStart,!1),r.removeEventListener("mousemove",e.onTouchMove,a),r.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&n.removeEventListener("click",e.onClick,!0),t.cssMode&&s.removeEventListener("scroll",e.onScroll),e.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",E)}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:s,$el:r}=e,a=s.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const l=e.getBreakpoint(a);if(l&&e.currentBreakpoint!==l){const o=l in a?a[l]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(e=>{const t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});const c=o||e.originalParams,h=s.slidesPerColumn>1,d=c.slidesPerColumn>1;h&&!d?r.removeClass(`${s.containerModifierClass}multirow ${s.containerModifierClass}multirow-column`):!h&&d&&(r.addClass(s.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill&&r.addClass(s.containerModifierClass+"multirow-column"));const p=c.direction&&c.direction!==s.direction,f=s.loop&&(c.slidesPerView!==s.slidesPerView||p);p&&i&&e.changeDirection(),u.extend(e.params,c),u.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,f&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},getBreakpoint:function(e){if(!e)return;let t=!1;const i=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:l.innerHeight*t,point:e}}return{value:e,point:e}});i.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<i.length;e+=1){const{point:n,value:s}=i[e];s<=l.innerWidth&&(t=n)}return t||"max"}},checkOverflow:{checkOverflow:function(){const e=this,t=e.params,i=e.isLocked,n=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&n?e.isLocked=n<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:i,$el:n}=this,s=[];s.push("initialized"),s.push(t.direction),t.freeMode&&s.push("free-mode"),t.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),t.slidesPerColumn>1&&(s.push("multirow"),"column"===t.slidesPerColumnFill&&s.push("multirow-column")),x.android&&s.push("android"),x.ios&&s.push("ios"),t.cssMode&&s.push("css-mode"),s.forEach(i=>{e.push(t.containerModifierClass+i)}),n.addClass(e.join(" "))},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,n,s,r){let a;function o(){r&&r()}c(e).parent("picture")[0]||e.complete&&s?o():t?(a=new l.Image,a.onload=o,a.onerror=o,n&&(a.sizes=n),i&&(a.srcset=i),t&&(a.src=t)):o()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},I={};class D extends f{constructor(...e){let t,i;1===e.length&&e[0].constructor&&e[0].constructor===Object?i=e[0]:[t,i]=e,i||(i={}),i=u.extend({},i),t&&!i.el&&(i.el=t),super(i),Object.keys(O).forEach(e=>{Object.keys(O[e]).forEach(t=>{D.prototype[t]||(D.prototype[t]=O[e][t])})});const n=this;void 0===n.modules&&(n.modules={}),Object.keys(n.modules).forEach(e=>{const t=n.modules[e];if(t.params){const e=Object.keys(t.params)[0],n=t.params[e];if("object"!=typeof n||null===n)return;if(!(e in i)||!("enabled"in n))return;!0===i[e]&&(i[e]={enabled:!0}),"object"!=typeof i[e]||"enabled"in i[e]||(i[e].enabled=!0),i[e]||(i[e]={enabled:!1})}});const s=u.extend({},L);n.useModulesParams(s),n.params=u.extend({},s,I,i),n.originalParams=u.extend({},n.params),n.passedParams=u.extend({},i),n.$=c;const r=c(n.params.el);if(t=r[0],!t)return;if(r.length>1){const e=[];return r.each((t,n)=>{const s=u.extend({},i,{el:n});e.push(new D(s))}),e}let a;return t.swiper=n,r.data("swiper",n),t&&t.shadowRoot&&t.shadowRoot.querySelector?(a=c(t.shadowRoot.querySelector("."+n.params.wrapperClass)),a.children=e=>r.children(e)):a=r.children("."+n.params.wrapperClass),u.extend(n,{$el:r,el:t,$wrapperEl:a,wrapperEl:a[0],classNames:[],slides:c(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===n.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===a.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return p.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),n.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},p.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:u.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.useModules(),n.params.init&&n.init(),n}slidesPerViewDynamic(){const{params:e,slides:t,slidesGrid:i,size:n,activeIndex:s}=this;let r=1;if(e.centeredSlides){let e,i=t[s].swiperSlideSize;for(let a=s+1;a<t.length;a+=1)t[a]&&!e&&(i+=t[a].swiperSlideSize,r+=1,i>n&&(e=!0));for(let a=s-1;a>=0;a-=1)t[a]&&!e&&(i+=t[a].swiperSlideSize,r+=1,i>n&&(e=!0))}else for(let e=s+1;e<t.length;e+=1)i[e]-i[s]<n&&(r+=1);return r}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}let s;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(n(),e.params.autoHeight&&e.updateAutoHeight()):(s=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),s||n()),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(`${i.params.containerModifierClass}${n}`).addClass(`${i.params.containerModifierClass}${e}`),i.params.direction=e,i.slides.each((t,i)=>{"vertical"===e?i.style.width="":i.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}init(){const e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}destroy(e=!0,t=!0){const i=this,{params:n,$el:s,$wrapperEl:r,slides:a}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),u.deleteProps(i)),i.destroyed=!0),null}static extendDefaults(e){u.extend(I,e)}static get extendedDefaults(){return I}static get defaults(){return L}static get Class(){return f}static get $(){return c}}var R={name:"device",proto:{device:x},static:{device:x}},z={name:"support",proto:{support:p},static:{support:p}};const N={isEdge:!!l.navigator.userAgent.match(/Edge/g),isSafari:function(){const e=l.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(l.navigator.userAgent)};var $={name:"browser",proto:{browser:N},static:{browser:N}},F={name:"resize",create(){const e=this;u.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){l.addEventListener("resize",this.resize.resizeHandler),l.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy(){l.removeEventListener("resize",this.resize.resizeHandler),l.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}};const B={func:l.MutationObserver||l.WebkitMutationObserver,attach(e,t={}){const i=this,n=new(0,B.func)(e=>{if(1===e.length)return void i.emit("observerUpdate",e[0]);const t=function(){i.emit("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)});n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(n)},init(){const e=this;if(p.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let i=0;i<t.length;i+=1)e.observer.attach(t[i])}e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy(){this.observer.observers.forEach(e=>{e.disconnect()}),this.observer.observers=[]}};var V={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){u.extend(this,{observer:{init:B.init.bind(this),attach:B.attach.bind(this),destroy:B.destroy.bind(this),observers:[]}})},on:{init(){this.observer.init()},destroy(){this.observer.destroy()}}};const H={update(e){const t=this,{slidesPerView:i,slidesPerGroup:n,centeredSlides:s}=t.params,{addSlidesBefore:r,addSlidesAfter:a}=t.params.virtual,{from:l,to:o,slides:c,slidesGrid:h,renderSlide:d,offset:p}=t.virtual;t.updateActiveIndex();const f=t.activeIndex||0;let m,g,v;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",s?(g=Math.floor(i/2)+n+r,v=Math.floor(i/2)+n+a):(g=i+(n-1)+r,v=n+a);const y=Math.max((f||0)-v,0),_=Math.min((f||0)+g,c.length-1),b=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function w(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(u.extend(t.virtual,{from:y,to:_,offset:b,slidesGrid:t.slidesGrid}),l===y&&o===_&&!e)return t.slidesGrid!==h&&b!==p&&t.slides.css(m,b+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:b,from:y,to:_,slides:function(){const e=[];for(let t=y;t<=_;t+=1)e.push(c[t]);return e}()}),void w();const x=[],T=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(let e=l;e<=o;e+=1)(e<y||e>_)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t<c.length;t+=1)t>=y&&t<=_&&(void 0===o||e?T.push(t):(t>o&&T.push(t),t<l&&x.push(t)));T.forEach(e=>{t.$wrapperEl.append(d(c[e],e))}),x.sort((e,t)=>t-e).forEach(e=>{t.$wrapperEl.prepend(d(c[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,b+"px"),w()},renderSlide(e,t){const i=this,n=i.params.virtual;if(n.cache&&i.virtual.cache[t])return i.virtual.cache[t];const s=n.renderSlide?c(n.renderSlide.call(i,e,t)):c(`<div class="${i.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),n.cache&&(i.virtual.cache[t]=s),s},appendSlide(e){const t=this;if("object"==typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.push(e[i]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide(e){const t=this,i=t.activeIndex;let n=i+1,s=1;if(Array.isArray(e)){for(let i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.unshift(e[i]);n=i+e.length,s=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){const e=t.virtual.cache,i={};Object.keys(e).forEach(t=>{const n=e[t],r=n.attr("data-swiper-slide-index");r&&n.attr("data-swiper-slide-index",parseInt(r,10)+1),i[parseInt(t,10)+s]=n}),t.virtual.cache=i}t.virtual.update(!0),t.slideTo(n,0)},removeSlide(e){const t=this;if(null==e)return;let i=t.activeIndex;if(Array.isArray(e))for(let n=e.length-1;n>=0;n-=1)t.virtual.slides.splice(e[n],1),t.params.virtual.cache&&delete t.virtual.cache[e[n]],e[n]<i&&(i-=1),i=Math.max(i,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<i&&(i-=1),i=Math.max(i,0);t.virtual.update(!0),t.slideTo(i,0)},removeAllSlides(){const e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}};var U={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create(){u.extend(this,{virtual:{update:H.update.bind(this),appendSlide:H.appendSlide.bind(this),prependSlide:H.prependSlide.bind(this),removeSlide:H.removeSlide.bind(this),removeAllSlides:H.removeAllSlides.bind(this),renderSlide:H.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit(){const e=this;if(!e.params.virtual.enabled)return;e.classNames.push(e.params.containerModifierClass+"virtual");const t={watchSlidesProgress:!0};u.extend(e.params,t),u.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()},setTranslate(){this.params.virtual.enabled&&this.virtual.update()}}};const G={handle(e){const t=this,{rtlTranslate:i}=t;let n=e;n.originalEvent&&(n=n.originalEvent);const s=n.keyCode||n.charCode,a=t.params.keyboard.pageUpDown,o=a&&33===s,c=a&&34===s,h=37===s,d=39===s,u=38===s,p=40===s;if(!t.allowSlideNext&&(t.isHorizontal()&&d||t.isVertical()&&p||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&h||t.isVertical()&&u||o))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||r.activeElement&&r.activeElement.nodeName&&("input"===r.activeElement.nodeName.toLowerCase()||"textarea"===r.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(o||c||h||d||u||p)){let e=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;const n=l.innerWidth,s=l.innerHeight,r=t.$el.offset();i&&(r.left-=t.$el[0].scrollLeft);const a=[[r.left,r.top],[r.left+t.width,r.top],[r.left,r.top+t.height],[r.left+t.width,r.top+t.height]];for(let t=0;t<a.length;t+=1){const i=a[t];i[0]>=0&&i[0]<=n&&i[1]>=0&&i[1]<=s&&(e=!0)}if(!e)return}t.isHorizontal()?((o||c||h||d)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((c||d)&&!i||(o||h)&&i)&&t.slideNext(),((o||h)&&!i||(c||d)&&i)&&t.slidePrev()):((o||c||u||p)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(c||p)&&t.slideNext(),(o||u)&&t.slidePrev()),t.emit("keyPress",s)}},enable(){this.keyboard.enabled||(c(r).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable(){this.keyboard.enabled&&(c(r).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}};var j={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create(){u.extend(this,{keyboard:{enabled:!1,enable:G.enable.bind(this),disable:G.disable.bind(this),handle:G.handle.bind(this)}})},on:{init(){const e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy(){const e=this;e.keyboard.enabled&&e.keyboard.disable()}}};const W={lastScrollTime:u.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:()=>l.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){let e="onwheel"in r;if(!e){const t=r.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&r.implementation&&r.implementation.hasFeature&&!0!==r.implementation.hasFeature("","")&&(e=r.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize(e){let t=0,i=0,n=0,s=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,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}},handleMouseEnter(){this.mouseEntered=!0},handleMouseLeave(){this.mouseEntered=!1},handle(e){let t=e;const i=this,n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();let s=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(s=c(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!s[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let r=0;const a=i.rtlTranslate?-1:1,l=W.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;r=-l.pixelX*a}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;r=-l.pixelY}else r=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*a:-l.pixelY;if(0===r)return!0;if(n.invert&&(r=-r),i.params.freeMode){const e={time:u.now(),delta:Math.abs(r),direction:Math.sign(r)},{lastEventBeforeSnap:s}=i.mousewheel,a=s&&e.time<s.time+500&&e.delta<=s.delta&&e.direction===s.direction;if(!a){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();let s=i.getTranslate()+r*n.sensitivity;const l=i.isBeginning,o=i.isEnd;if(s>=i.minTranslate()&&(s=i.minTranslate()),s<=i.maxTranslate()&&(s=i.maxTranslate()),i.setTransition(0),i.setTranslate(s),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!l&&i.isBeginning||!o&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;const t=i.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const n=t.length?t[t.length-1]:void 0,s=t[0];if(t.push(e),n&&(e.delta>n.delta||e.direction!==n.direction))t.splice(0);else if(t.length>=15&&e.time-s.time<500&&s.delta-e.delta>=1&&e.delta<=6){const n=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=e,t.splice(0),i.mousewheel.timeout=u.nextTick(()=>{i.slideToClosest(i.params.speed,!0,void 0,n)},0)}i.mousewheel.timeout||(i.mousewheel.timeout=u.nextTick(()=>{i.mousewheel.lastEventBeforeSnap=e,t.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(a||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),s===i.minTranslate()||s===i.maxTranslate())return!0}}else{const t={time:u.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},n=i.mousewheel.recentWheelEvents;n.length>=2&&n.shift();const s=n.length?n[n.length-1]:void 0;if(n.push(t),s?(t.direction!==s.direction||t.delta>s.delta||t.time>s.time+150)&&i.mousewheel.animateSlider(t):i.mousewheel.animateSlider(t),i.mousewheel.releaseScroll(t))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider(e){const t=this;return e.delta>=6&&u.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new l.Date).getTime(),!1)},releaseScroll(e){const t=this,i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable(){const e=this,t=W.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;let i=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(i=c(e.params.mousewheel.eventsTarged)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this,t=W.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;let i=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(i=c(e.params.mousewheel.eventsTarged)),i.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}};const X={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:i,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let i,n;t.nextEl&&(i=c(t.nextEl),e.params.uniqueNavElements&&"string"==typeof t.nextEl&&i.length>1&&1===e.$el.find(t.nextEl).length&&(i=e.$el.find(t.nextEl))),t.prevEl&&(n=c(t.prevEl),e.params.uniqueNavElements&&"string"==typeof t.prevEl&&n.length>1&&1===e.$el.find(t.prevEl).length&&(n=e.$el.find(t.prevEl))),i&&i.length>0&&i.on("click",e.navigation.onNextClick),n&&n.length>0&&n.on("click",e.navigation.onPrevClick),u.extend(e.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:i}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}};const q={update(){const e=this,t=e.rtl,i=e.params.pagination;if(!i.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let r;const a=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),r>n-1-2*e.loopedSlides&&(r-=n-2*e.loopedSlides),r>a-1&&(r-=a),r<0&&"bullets"!==e.params.paginationType&&(r=a+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let a,l,o;if(i.dynamicBullets&&(e.pagination.bulletSize=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),a=r-e.pagination.dynamicBulletIndex,l=a+(Math.min(n.length,i.dynamicMainBullets)-1),o=(l+a)/2),n.removeClass(`${i.bulletActiveClass} ${i.bulletActiveClass}-next ${i.bulletActiveClass}-next-next ${i.bulletActiveClass}-prev ${i.bulletActiveClass}-prev-prev ${i.bulletActiveClass}-main`),s.length>1)n.each((e,t)=>{const n=c(t),s=n.index();s===r&&n.addClass(i.bulletActiveClass),i.dynamicBullets&&(s>=a&&s<=l&&n.addClass(i.bulletActiveClass+"-main"),s===a&&n.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),s===l&&n.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{const t=n.eq(r),s=t.index();if(t.addClass(i.bulletActiveClass),i.dynamicBullets){const t=n.eq(a),r=n.eq(l);for(let e=a;e<=l;e+=1)n.eq(e).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(s>=n.length-i.dynamicMainBullets){for(let e=i.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(i.bulletActiveClass+"-main");n.eq(n.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),r.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),r.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){const s=Math.min(n.length,i.dynamicMainBullets+4),r=(e.pagination.bulletSize*s-e.pagination.bulletSize)/2-o*e.pagination.bulletSize,a=t?"right":"left";n.css(e.isHorizontal()?a:"top",r+"px")}}if("fraction"===i.type&&(s.find("."+i.currentClass).text(i.formatFractionCurrent(r+1)),s.find("."+i.totalClass).text(i.formatFractionTotal(a))),"progressbar"===i.type){let t;t=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(r+1)/a;let l=1,o=1;"horizontal"===t?l=n:o=n,s.find("."+i.progressbarFillClass).transform(`translate3d(0,0,0) scaleX(${l}) scaleY(${o})`).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(s.html(i.renderCustom(e,r+1,a)),e.emit("paginationRender",e,s[0])):e.emit("paginationUpdate",e,s[0]),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](i.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el;let s="";if("bullets"===t.type){const r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let i=0;i<r;i+=1)t.renderBullet?s+=t.renderBullet.call(e,i,t.bulletClass):s+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;n.html(s),e.pagination.bullets=n.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,n.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,n.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let i=c(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();let i=c(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),u.extend(e.pagination,{$el:i,el:i[0]}))},destroy(){const e=this.params.pagination;if(!e.el||!this.pagination.el||!this.pagination.$el||0===this.pagination.$el.length)return;const t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}};const Y={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:i,progress:n}=e,{dragSize:s,trackSize:r,$dragEl:a,$el:l}=t,o=e.params.scrollbar;let c=s,h=(r-s)*n;i?(h=-h,h>0?(c=s-h,h=0):-h+s>r&&(c=r+h)):h<0?(c=s+h,h=0):h+s>r&&(c=r-h),e.isHorizontal()?(a.transform(`translate3d(${h}px, 0, 0)`),a[0].style.width=c+"px"):(a.transform(`translate3d(0px, ${h}px, 0)`),a[0].style.height=c+"px"),o.hide&&(clearTimeout(e.scrollbar.timeout),l[0].style.opacity=1,e.scrollbar.timeout=setTimeout(()=>{l[0].style.opacity=0,l.transition(400)},1e3))},setTransition(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:i,$el:n}=t;i[0].style.width="",i[0].style.height="";const s=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,r=e.size/e.virtualSize,a=r*(s/e.size);let l;l="auto"===e.params.scrollbar.dragSize?s*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=l+"px":i[0].style.height=l+"px",n[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),u.extend(t,{trackSize:s,divider:r,moveDivider:a,dragSize:l}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition(e){const{scrollbar:t,rtlTranslate:i}=this,{$el:n,dragSize:s,trackSize:r,dragStartPos:a}=t;let l;l=(t.getPointerPosition(e)-n.offset()[this.isHorizontal()?"left":"top"]-(null!==a?a:s/2))/(r-s),l=Math.max(Math.min(l,1),0),i&&(l=1-l);const o=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*l;this.updateProgress(o),this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart(e){const t=this,i=t.params.scrollbar,{scrollbar:n,$wrapperEl:s}=t,{$el:r,$dragEl:a}=n;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===a[0]||e.target===a?n.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),a.transition(100),n.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),i.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove(e){const{scrollbar:t,$wrapperEl:i}=this,{$el:n,$dragEl:s}=t;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,i=t.params.scrollbar,{scrollbar:n,$wrapperEl:s}=t,{$el:r}=n;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),s.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=u.nextTick(()=>{r.css("opacity",0),r.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:i,touchEventsDesktop:n,params:s}=e,a=t.$el[0],l=!(!p.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!p.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};p.touch?(a.addEventListener(i.start,e.scrollbar.onDragStart,l),a.addEventListener(i.move,e.scrollbar.onDragMove,l),a.addEventListener(i.end,e.scrollbar.onDragEnd,o)):(a.addEventListener(n.start,e.scrollbar.onDragStart,l),r.addEventListener(n.move,e.scrollbar.onDragMove,l),r.addEventListener(n.end,e.scrollbar.onDragEnd,o))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:i,touchEventsDesktop:n,params:s}=e,a=t.$el[0],l=!(!p.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!p.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};p.touch?(a.removeEventListener(i.start,e.scrollbar.onDragStart,l),a.removeEventListener(i.move,e.scrollbar.onDragMove,l),a.removeEventListener(i.end,e.scrollbar.onDragEnd,o)):(a.removeEventListener(n.start,e.scrollbar.onDragStart,l),r.removeEventListener(n.move,e.scrollbar.onDragMove,l),r.removeEventListener(n.end,e.scrollbar.onDragEnd,o))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:i}=e,n=e.params.scrollbar;let s=c(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&s.length>1&&1===i.find(n.el).length&&(s=i.find(n.el));let r=s.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=c(`<div class="${e.params.scrollbar.dragClass}"></div>`),s.append(r)),u.extend(t,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),n.draggable&&t.enableDraggable()},destroy(){this.scrollbar.disableDraggable()}};const Z={setTransform(e,t){const{rtl:i}=this,n=c(e),s=i?-1:1,r=n.attr("data-swiper-parallax")||"0";let a=n.attr("data-swiper-parallax-x"),l=n.attr("data-swiper-parallax-y");const o=n.attr("data-swiper-parallax-scale"),h=n.attr("data-swiper-parallax-opacity");if(a||l?(a=a||"0",l=l||"0"):this.isHorizontal()?(a=r,l="0"):(l=r,a="0"),a=a.indexOf("%")>=0?parseInt(a,10)*t*s+"%":a*t*s+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=h){const e=h-(h-1)*(1-Math.abs(t));n[0].style.opacity=e}if(null==o)n.transform(`translate3d(${a}, ${l}, 0px)`);else{const e=o-(o-1)*(1-Math.abs(t));n.transform(`translate3d(${a}, ${l}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:i,progress:n,snapGrid:s}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,i)=>{e.parallax.setTransform(i,n)}),i.each((t,i)=>{let r=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(t/2)-n*(s.length-1)),r=Math.min(Math.max(r,-1),1),c(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,i)=>{e.parallax.setTransform(i,r)})})},setTransition(e=this.params.speed){const{$el:t}=this;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,i)=>{const n=c(i);let s=parseInt(n.attr("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),n.transition(s)})}};const K={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(s-i)**2)},onGestureStart(e){const t=this,i=t.params.zoom,n=t.zoom,{gesture:s}=n;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!p.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,s.scaleStart=K.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=c(e.target).closest("."+t.params.slideClass),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+i.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange(e){const t=this.params.zoom,i=this.zoom,{gesture:n}=i;if(!p.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=K.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=p.gestures?e.scale*i.currentScale:n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+(i.scale-n.maxRatio+1)**.5),i.scale<t.minRatio&&(i.scale=t.minRatio+1-(t.minRatio-i.scale+1)**.5),n.$imageEl.transform(`translate3d(0,0,0) scale(${i.scale})`))},onGestureEnd(e){const t=this.params.zoom,i=this.zoom,{gesture:n}=i;if(!p.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),t.minRatio),n.$imageEl.transition(this.params.speed).transform(`translate3d(0,0,0) scale(${i.scale})`),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart(e){const t=this.zoom,{gesture:i,image:n}=t;i.$imageEl&&0!==i.$imageEl.length&&(n.isTouched||(x.android&&e.cancelable&&e.preventDefault(),n.isTouched=!0,n.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove(e){const t=this,i=t.zoom,{gesture:n,image:s,velocity:r}=i;if(!n.$imageEl||0===n.$imageEl.length)return;if(t.allowClick=!1,!s.isTouched||!n.$slideEl)return;s.isMoved||(s.width=n.$imageEl[0].offsetWidth,s.height=n.$imageEl[0].offsetHeight,s.startX=u.getTranslate(n.$imageWrapEl[0],"x")||0,s.startY=u.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));const a=s.width*i.scale,l=s.height*i.scale;if(!(a<n.slideWidth&&l<n.slideHeight)){if(s.minX=Math.min(n.slideWidth/2-a/2,0),s.maxX=-s.minX,s.minY=Math.min(n.slideHeight/2-l/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-(s.minX-s.currentX+1)**.8),s.currentX>s.maxX&&(s.currentX=s.maxX-1+(s.currentX-s.maxX+1)**.8),s.currentY<s.minY&&(s.currentY=s.minY+1-(s.minY-s.currentY+1)**.8),s.currentY>s.maxY&&(s.currentY=s.maxY-1+(s.currentY-s.maxY+1)**.8),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform(`translate3d(${s.currentX}px, ${s.currentY}px,0)`)}},onTouchEnd(){const e=this.zoom,{gesture:t,image:i,velocity:n}=e;if(!t.$imageEl||0===t.$imageEl.length)return;if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;let s=300,r=300;const a=n.x*s,l=i.currentX+a,o=n.y*r,c=i.currentY+o;0!==n.x&&(s=Math.abs((l-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((c-i.currentY)/n.y));const h=Math.max(s,r);i.currentX=l,i.currentY=c;const d=i.width*e.scale,u=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-d/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-u/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform(`translate3d(${i.currentX}px, ${i.currentY}px,0)`)},onTransitionEnd(){const e=this.zoom,{gesture:t}=e;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle(e){const t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in(e){const t=this,i=t.zoom,n=t.params.zoom,{gesture:s,image:r}=i;if(s.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?s.$slideEl=t.$wrapperEl.children("."+t.params.slideActiveClass):s.$slideEl=t.slides.eq(t.activeIndex),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+n.containerClass)),!s.$imageEl||0===s.$imageEl.length)return;let a,l,o,c,h,d,u,p,f,m,g,v,y,_,b,w,x,T;s.$slideEl.addClass(""+n.zoomedSlideClass),void 0===r.touchesStart.x&&e?(a="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,l="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(a=r.touchesStart.x,l=r.touchesStart.y),i.scale=s.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,i.currentScale=s.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,e?(x=s.$slideEl[0].offsetWidth,T=s.$slideEl[0].offsetHeight,o=s.$slideEl.offset().left,c=s.$slideEl.offset().top,h=o+x/2-a,d=c+T/2-l,f=s.$imageEl[0].offsetWidth,m=s.$imageEl[0].offsetHeight,g=f*i.scale,v=m*i.scale,y=Math.min(x/2-g/2,0),_=Math.min(T/2-v/2,0),b=-y,w=-_,u=h*i.scale,p=d*i.scale,u<y&&(u=y),u>b&&(u=b),p<_&&(p=_),p>w&&(p=w)):(u=0,p=0),s.$imageWrapEl.transition(300).transform(`translate3d(${u}px, ${p}px,0)`),s.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${i.scale})`)},out(){const e=this,t=e.zoom,i=e.params.zoom,{gesture:n}=t;n.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):n.$slideEl=e.slides.eq(e.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+i.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+i.zoomedSlideClass),n.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const i=!("touchstart"!==e.touchEvents.start||!p.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!p.passiveListener||{passive:!1,capture:!0},s="."+e.params.slideClass;p.gestures?(e.$wrapperEl.on("gesturestart",s,t.onGestureStart,i),e.$wrapperEl.on("gesturechange",s,t.onGestureChange,i),e.$wrapperEl.on("gestureend",s,t.onGestureEnd,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,s,t.onGestureStart,i),e.$wrapperEl.on(e.touchEvents.move,s,t.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,s,t.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,s,t.onGestureEnd,i)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,n)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const i=!("touchstart"!==e.touchEvents.start||!p.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!p.passiveListener||{passive:!1,capture:!0},s="."+e.params.slideClass;p.gestures?(e.$wrapperEl.off("gesturestart",s,t.onGestureStart,i),e.$wrapperEl.off("gesturechange",s,t.onGestureChange,i),e.$wrapperEl.off("gestureend",s,t.onGestureEnd,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,s,t.onGestureStart,i),e.$wrapperEl.off(e.touchEvents.move,s,t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,s,t.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,s,t.onGestureEnd,i)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,n)}};const J={loadInSlide(e,t=!0){const i=this,n=i.params.lazy;if(void 0===e)return;if(0===i.slides.length)return;const s=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children(`.${i.params.slideClass}[data-swiper-slide-index="${e}"]`):i.slides.eq(e);let r=s.find(`.${n.elementClass}:not(.${n.loadedClass}):not(.${n.loadingClass})`);!s.hasClass(n.elementClass)||s.hasClass(n.loadedClass)||s.hasClass(n.loadingClass)||(r=r.add(s[0])),0!==r.length&&r.each((e,r)=>{const a=c(r);a.addClass(n.loadingClass);const l=a.attr("data-background"),o=a.attr("data-src"),h=a.attr("data-srcset"),d=a.attr("data-sizes"),u=a.parent("picture");i.loadImage(a[0],o||l,h,d,!1,()=>{if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(l?(a.css("background-image",`url("${l}")`),a.removeAttr("data-background")):(h&&(a.attr("srcset",h),a.removeAttr("data-srcset")),d&&(a.attr("sizes",d),a.removeAttr("data-sizes")),u.length&&u.children("source").each((e,t)=>{const i=c(t);i.attr("data-srcset")&&(i.attr("srcset",i.attr("data-srcset")),i.removeAttr("data-srcset"))}),o&&(a.attr("src",o),a.removeAttr("data-src"))),a.addClass(n.loadedClass).removeClass(n.loadingClass),s.find("."+n.preloaderClass).remove(),i.params.loop&&t){const e=s.attr("data-swiper-slide-index");if(s.hasClass(i.params.slideDuplicateClass)){const t=i.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${i.params.slideDuplicateClass})`);i.lazy.loadInSlide(t.index(),!1)}else{const t=i.$wrapperEl.children(`.${i.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);i.lazy.loadInSlide(t.index(),!1)}}i.emit("lazyImageReady",s[0],a[0]),i.params.autoHeight&&i.updateAutoHeight()}}),i.emit("lazyImageLoad",s[0],a[0])})},load(){const e=this,{$wrapperEl:t,params:i,slides:n,activeIndex:s}=e,r=e.virtual&&i.virtual.enabled,a=i.lazy;let l=i.slidesPerView;function o(e){if(r){if(t.children(`.${i.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(n[e])return!0;return!1}function h(e){return r?c(e).attr("data-swiper-slide-index"):c(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((t,i)=>{const n=r?c(i).attr("data-swiper-slide-index"):c(i).index();e.lazy.loadInSlide(n)});else if(l>1)for(let t=s;t<s+l;t+=1)o(t)&&e.lazy.loadInSlide(t);else e.lazy.loadInSlide(s);if(a.loadPrevNext)if(l>1||a.loadPrevNextAmount&&a.loadPrevNextAmount>1){const t=a.loadPrevNextAmount,i=l,r=Math.min(s+i+Math.max(t,i),n.length),c=Math.max(s-Math.max(i,t),0);for(let t=s+l;t<r;t+=1)o(t)&&e.lazy.loadInSlide(t);for(let t=c;t<s;t+=1)o(t)&&e.lazy.loadInSlide(t)}else{const n=t.children("."+i.slideNextClass);n.length>0&&e.lazy.loadInSlide(h(n));const s=t.children("."+i.slidePrevClass);s.length>0&&e.lazy.loadInSlide(h(s))}}};const Q={LinearSpline:function(e,t){const i=function(){let e,t,i;return(n,s)=>{for(t=-1,e=n.length;e-t>1;)i=e+t>>1,n[i]<=s?t=i:e=i;return e}}();let n,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=i(this.x,e),n=s-1,(e-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Q.LinearSpline(t.slidesGrid,e.slidesGrid):new Q.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const i=this,n=i.controller.control;let s,r;function a(e){const t=i.rtlTranslate?-i.translate:i.translate;"slide"===i.params.controller.by&&(i.controller.getInterpolateFunction(e),r=-i.controller.spline.interpolate(-t)),r&&"container"!==i.params.controller.by||(s=(e.maxTranslate()-e.minTranslate())/(i.maxTranslate()-i.minTranslate()),r=(t-i.minTranslate())*s+e.minTranslate()),i.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,i),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(let e=0;e<n.length;e+=1)n[e]!==t&&n[e]instanceof D&&a(n[e]);else n instanceof D&&t!==n&&a(n)},setTransition(e,t){const i=this,n=i.controller.control;let s;function r(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&u.nextTick(()=>{t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(()=>{n&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(n))for(s=0;s<n.length;s+=1)n[s]!==t&&n[s]instanceof D&&r(n[s]);else n instanceof D&&t!==n&&r(n)}};const ee={makeElFocusable:e=>(e.attr("tabIndex","0"),e),makeElNotFocusable:e=>(e.attr("tabIndex","-1"),e),addElRole:(e,t)=>(e.attr("role",t),e),addElLabel:(e,t)=>(e.attr("aria-label",t),e),disableEl:e=>(e.attr("aria-disabled",!0),e),enableEl:e=>(e.attr("aria-disabled",!1),e),onEnterKey(e){const t=this,i=t.params.a11y;if(13!==e.keyCode)return;const n=c(e.target);t.navigation&&t.navigation.$nextEl&&n.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&n.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&n.is("."+t.params.pagination.bulletClass)&&n[0].click()},notify(e){const t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation(){const e=this;if(e.params.loop||!e.navigation)return;const{$nextEl:t,$prevEl:i}=e.navigation;i&&i.length>0&&(e.isBeginning?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i))),t&&t.length>0&&(e.isEnd?(e.a11y.disableEl(t),e.a11y.makeElNotFocusable(t)):(e.a11y.enableEl(t),e.a11y.makeElFocusable(t)))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((i,n)=>{const s=c(n);e.a11y.makeElFocusable(s),e.a11y.addElRole(s,"button"),e.a11y.addElLabel(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1))})},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let i,n;e.navigation&&e.navigation.$nextEl&&(i=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),i&&(e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.nextSlideMessage),i.on("keydown",e.a11y.onEnterKey)),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.prevSlideMessage),n.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy(){const e=this;let t,i;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),i&&i.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)}};const te={init(){const e=this;if(!e.params.history)return;if(!l.history||!l.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=te.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||l.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){const e=this;e.params.history.replaceState||l.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState(){this.history.paths=te.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues(){const e=l.location.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory(e,t){if(!this.history.initialized||!this.params.history.enabled)return;const i=this.slides.eq(t);let n=te.slugify(i.attr("data-history"));l.location.pathname.includes(e)||(n=`${e}/${n}`);const s=l.history.state;s&&s.value===n||(this.params.history.replaceState?l.history.replaceState({value:n},null,n):l.history.pushState({value:n},null,n))},slugify:e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),scrollToSlide(e,t,i){const n=this;if(t)for(let s=0,r=n.slides.length;s<r;s+=1){const r=n.slides.eq(s);if(te.slugify(r.attr("data-history"))===t&&!r.hasClass(n.params.slideDuplicateClass)){const t=r.index();n.slideTo(t,e,i)}}else n.slideTo(0,e,i)}};const ie={onHashCange(){const e=this;e.emit("hashChange");const t=r.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const i=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===i)return;e.slideTo(i)}},setHash(){const e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||""),e.emit("hashSet");else{const t=e.slides.eq(e.activeIndex),i=t.attr("data-hash")||t.attr("data-history");r.location.hash=i||"",e.emit("hashSet")}},init(){const e=this;if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;e.hashNavigation.initialized=!0;const t=r.location.hash.replace("#","");if(t){const i=0;for(let n=0,s=e.slides.length;n<s;n+=1){const s=e.slides.eq(n);if((s.attr("data-hash")||s.attr("data-history"))===t&&!s.hasClass(e.params.slideDuplicateClass)){const t=s.index();e.slideTo(t,i,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&c(l).on("hashchange",e.hashNavigation.onHashCange)},destroy(){const e=this;e.params.hashNavigation.watchState&&c(l).off("hashchange",e.hashNavigation.onHashCange)}};const ne={run(){const e=this,t=e.slides.eq(e.activeIndex);let i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=u.nextTick(()=>{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},i)},start(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop(){const e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause(e){const t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}};const se={setTranslate(){const e=this,{slides:t}=e;for(let i=0;i<t.length;i+=1){const t=e.slides.eq(i);let n=-t[0].swiperSlideOffset;e.params.virtualTranslate||(n-=e.translate);let s=0;e.isHorizontal()||(s=n,n=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:r}).transform(`translate3d(${n}px, ${s}px, 0px)`)}},setTransition(e){const t=this,{slides:i,$wrapperEl:n}=t;if(i.transition(e),t.params.virtualTranslate&&0!==e){let e=!1;i.transitionEnd(()=>{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const i=["webkitTransitionEnd","transitionend"];for(let e=0;e<i.length;e+=1)n.trigger(i[e])})}}};const re={setTranslate(){const{$el:e,$wrapperEl:t,slides:i,width:n,height:s,rtlTranslate:r,size:a}=this,l=this.params.cubeEffect,o=this.isHorizontal(),h=this.virtual&&this.params.virtual.enabled;let d,u=0;l.shadow&&(o?(d=t.find(".swiper-cube-shadow"),0===d.length&&(d=c('<div class="swiper-cube-shadow"></div>'),t.append(d)),d.css({height:n+"px"})):(d=e.find(".swiper-cube-shadow"),0===d.length&&(d=c('<div class="swiper-cube-shadow"></div>'),e.append(d))));for(let e=0;e<i.length;e+=1){const t=i.eq(e);let n=e;h&&(n=parseInt(t.attr("data-swiper-slide-index"),10));let s=90*n,d=Math.floor(s/360);r&&(s=-s,d=Math.floor(-s/360));const p=Math.max(Math.min(t[0].progress,1),-1);let f=0,m=0,g=0;n%4==0?(f=4*-d*a,g=0):(n-1)%4==0?(f=0,g=4*-d*a):(n-2)%4==0?(f=a+4*d*a,g=a):(n-3)%4==0&&(f=-a,g=3*a+4*a*d),r&&(f=-f),o||(m=f,f=0);const v=`rotateX(${o?0:-s}deg) rotateY(${o?s:0}deg) translate3d(${f}px, ${m}px, ${g}px)`;if(p<=1&&p>-1&&(u=90*n+90*p,r&&(u=90*-n-90*p)),t.transform(v),l.slideShadows){let e=o?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=o?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=c(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),t.append(e)),0===i.length&&(i=c(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),t.append(i)),e.length&&(e[0].style.opacity=Math.max(-p,0)),i.length&&(i[0].style.opacity=Math.max(p,0))}}if(t.css({"-webkit-transform-origin":`50% 50% -${a/2}px`,"-moz-transform-origin":`50% 50% -${a/2}px`,"-ms-transform-origin":`50% 50% -${a/2}px`,"transform-origin":`50% 50% -${a/2}px`}),l.shadow)if(o)d.transform(`translate3d(0px, ${n/2+l.shadowOffset}px, ${-n/2}px) rotateX(90deg) rotateZ(0deg) scale(${l.shadowScale})`);else{const e=Math.abs(u)-90*Math.floor(Math.abs(u)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),i=l.shadowScale,n=l.shadowScale/t,r=l.shadowOffset;d.transform(`scale3d(${i}, 1, ${n}) translate3d(0px, ${s/2+r}px, ${-s/2/n}px) rotateX(-90deg)`)}const p=N.isSafari||N.isWebView?-a/2:0;t.transform(`translate3d(0px,0,${p}px) rotateX(${this.isHorizontal()?0:u}deg) rotateY(${this.isHorizontal()?-u:0}deg)`)},setTransition(e){const{$el:t,slides:i}=this;i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}};const ae={setTranslate(){const e=this,{slides:t,rtlTranslate:i}=e;for(let n=0;n<t.length;n+=1){const s=t.eq(n);let r=s[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,1),-1));let a=-180*r,l=0,o=-s[0].swiperSlideOffset,h=0;if(e.isHorizontal()?i&&(a=-a):(h=o,o=0,l=-a,a=0),s[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){let t=e.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),i=e.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"left":"top"}"></div>`),s.append(t)),0===i.length&&(i=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"right":"bottom"}"></div>`),s.append(i)),t.length&&(t[0].style.opacity=Math.max(-r,0)),i.length&&(i[0].style.opacity=Math.max(r,0))}s.transform(`translate3d(${o}px, ${h}px, 0px) rotateX(${l}deg) rotateY(${a}deg)`)}},setTransition(e){const t=this,{slides:i,activeIndex:n,$wrapperEl:s}=t;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;i.eq(n).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const i=["webkitTransitionEnd","transitionend"];for(let e=0;e<i.length;e+=1)s.trigger(i[e])}))}}};const le={setTranslate(){const{width:e,height:t,slides:i,$wrapperEl:n,slidesSizesGrid:s}=this,r=this.params.coverflowEffect,a=this.isHorizontal(),l=this.translate,o=a?e/2-l:t/2-l,h=a?r.rotate:-r.rotate,d=r.depth;for(let e=0,t=i.length;e<t;e+=1){const t=i.eq(e),n=s[e],l=(o-t[0].swiperSlideOffset-n/2)/n*r.modifier;let u=a?h*l:0,p=a?0:h*l,f=-d*Math.abs(l),m=r.stretch;"string"==typeof m&&-1!==m.indexOf("%")&&(m=parseFloat(r.stretch)/100*n);let g=a?0:m*l,v=a?m*l:0,y=1-(1-r.scale)*Math.abs(l);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0),Math.abs(u)<.001&&(u=0),Math.abs(p)<.001&&(p=0),Math.abs(y)<.001&&(y=0);const _=`translate3d(${v}px,${g}px,${f}px)  rotateX(${p}deg) rotateY(${u}deg) scale(${y})`;if(t.transform(_),t[0].style.zIndex=1-Math.abs(Math.round(l)),r.slideShadows){let e=a?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=a?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=c(`<div class="swiper-slide-shadow-${a?"left":"top"}"></div>`),t.append(e)),0===i.length&&(i=c(`<div class="swiper-slide-shadow-${a?"right":"bottom"}"></div>`),t.append(i)),e.length&&(e[0].style.opacity=l>0?l:0),i.length&&(i[0].style.opacity=-l>0?-l:0)}}if(p.pointerEvents||p.prefixedPointerEvents){n[0].style.perspectiveOrigin=o+"px 50%"}},setTransition(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};const oe={init(){const e=this,{thumbs:t}=e.params,i=e.constructor;t.swiper instanceof i?(e.thumbs.swiper=t.swiper,u.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),u.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):u.isObject(t.swiper)&&(e.thumbs.swiper=new i(u.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const i=t.clickedIndex,n=t.clickedSlide;if(n&&c(n).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let s;if(s=t.params.loop?parseInt(c(t.clickedSlide).attr("data-swiper-slide-index"),10):i,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const i=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${s}"]`).eq(0).index(),n=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${s}"]`).eq(0).index();s=void 0===i?n:void 0===n?i:n-t<t-i?n:i}e.slideTo(s)},update(e){const t=this,i=t.thumbs.swiper;if(!i)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView,s=t.params.thumbs.autoScrollOffset,r=s&&!i.params.loop;if(t.realIndex!==i.realIndex||r){let a,l,o=i.activeIndex;if(i.params.loop){i.slides.eq(o).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,o=i.activeIndex);const e=i.slides.eq(o).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),n=i.slides.eq(o).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();a=void 0===e?n:void 0===n?e:n-o==o-e?o:n-o<o-e?n:e,l=t.activeIndex>t.previousIndex?"next":"prev"}else a=t.realIndex,l=a>t.previousIndex?"next":"prev";r&&(a+="next"===l?s:-1*s),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(a)<0&&(i.params.centeredSlides?a=a>o?a-Math.floor(n/2)+1:a+Math.floor(n/2)-1:a>o&&(a=a-n+1),i.slideTo(a,e?0:void 0))}let a=1;const l=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(a=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),i.slides.removeClass(l),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e<a;e+=1)i.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+e}"]`).addClass(l);else for(let e=0;e<a;e+=1)i.slides.eq(t.realIndex+e).addClass(l)}};const ce=[R,z,$,F,V,U,j,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create(){u.extend(this,{mousewheel:{enabled:!1,enable:W.enable.bind(this),disable:W.disable.bind(this),handle:W.handle.bind(this),handleMouseEnter:W.handleMouseEnter.bind(this),handleMouseLeave:W.handleMouseLeave.bind(this),animateSlider:W.animateSlider.bind(this),releaseScroll:W.releaseScroll.bind(this),lastScrollTime:u.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init(){const e=this;!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy(){const e=this;e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create(){u.extend(this,{navigation:{init:X.init.bind(this),update:X.update.bind(this),destroy:X.destroy.bind(this),onNextClick:X.onNextClick.bind(this),onPrevClick:X.onPrevClick.bind(this)}})},on:{init(){this.navigation.init(),this.navigation.update()},toEdge(){this.navigation.update()},fromEdge(){this.navigation.update()},destroy(){this.navigation.destroy()},click(e){const t=this,{$nextEl:i,$prevEl:n}=t.navigation;if(t.params.navigation.hideOnClick&&!c(e.target).is(n)&&!c(e.target).is(i)){let e;i?e=i.hasClass(t.params.navigation.hiddenClass):n&&(e=n.hasClass(t.params.navigation.hiddenClass)),!0===e?t.emit("navigationShow",t):t.emit("navigationHide",t),i&&i.toggleClass(t.params.navigation.hiddenClass),n&&n.toggleClass(t.params.navigation.hiddenClass)}}}},{name:"pagination",params:{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:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){u.extend(this,{pagination:{init:q.init.bind(this),render:q.render.bind(this),update:q.update.bind(this),destroy:q.destroy.bind(this),dynamicBulletIndex:0}})},on:{init(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange(){const e=this;e.params.loop||e.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){this.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!c(e.target).hasClass(t.params.pagination.bulletClass)){!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){u.extend(this,{scrollbar:{init:Y.init.bind(this),destroy:Y.destroy.bind(this),updateSize:Y.updateSize.bind(this),setTranslate:Y.setTranslate.bind(this),setTransition:Y.setTransition.bind(this),enableDraggable:Y.enableDraggable.bind(this),disableDraggable:Y.disableDraggable.bind(this),setDragPosition:Y.setDragPosition.bind(this),getPointerPosition:Y.getPointerPosition.bind(this),onDragStart:Y.onDragStart.bind(this),onDragMove:Y.onDragMove.bind(this),onDragEnd:Y.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update(){this.scrollbar.updateSize()},resize(){this.scrollbar.updateSize()},observerUpdate(){this.scrollbar.updateSize()},setTranslate(){this.scrollbar.setTranslate()},setTransition(e){this.scrollbar.setTransition(e)},destroy(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create(){u.extend(this,{parallax:{setTransform:Z.setTransform.bind(this),setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(i=>{t[i]=K[i].bind(e)}),u.extend(e,{zoom:t});let i=1;Object.defineProperty(e.zoom,"scale",{get:()=>i,set(t){if(i!==t){const i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,n)}i=t}})},on:{init(){const e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy(){this.zoom.disable()},touchStart(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){u.extend(this,{lazy:{initialImageLoaded:!1,load:J.load.bind(this),loadInSlide:J.loadInSlide.bind(this)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){const e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove(){const e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange(){const e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){u.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:Q.getInterpolateFunction.bind(this),setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{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}}"}},create(){const e=this;u.extend(e,{a11y:{liveRegion:c(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}}),Object.keys(ee).forEach(t=>{e.a11y[t]=ee[t].bind(e)})},on:{init(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){u.extend(this,{history:{init:te.init.bind(this),setHistory:te.setHistory.bind(this),setHistoryPopState:te.setHistoryPopState.bind(this),scrollToSlide:te.scrollToSlide.bind(this),destroy:te.destroy.bind(this)}})},on:{init(){const e=this;e.params.history.enabled&&e.history.init()},destroy(){const e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange(){const e=this;e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){u.extend(this,{hashNavigation:{initialized:!1,init:ie.init.bind(this),destroy:ie.destroy.bind(this),setHash:ie.setHash.bind(this),onHashCange:ie.onHashCange.bind(this)}})},on:{init(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd(){const e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange(){const e=this;e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;u.extend(e,{autoplay:{running:!1,paused:!1,run:ne.run.bind(e),start:ne.start.bind(e),stop:ne.stop.bind(e),pause:ne.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&(e.autoplay.start(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){const i=this;i.autoplay.running&&(t||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(e):i.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd(){const e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){u.extend(this,{fadeEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit(){if("fade"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"fade");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)},setTranslate(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){u.extend(this,{cubeEffect:{setTranslate:re.setTranslate.bind(this),setTransition:re.setTransition.bind(this)}})},on:{beforeInit(){if("cube"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)},setTranslate(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){u.extend(this,{flipEffect:{setTranslate:ae.setTranslate.bind(this),setTransition:ae.setTransition.bind(this)}})},on:{beforeInit(){if("flip"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)},setTranslate(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create(){u.extend(this,{coverflowEffect:{setTranslate:le.setTranslate.bind(this),setTransition:le.setTransition.bind(this)}})},on:{beforeInit(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){u.extend(this,{thumbs:{swiper:null,init:oe.init.bind(this),update:oe.update.bind(this),onThumbClick:oe.onThumbClick.bind(this)}})},on:{beforeInit(){const{thumbs:e}=this.params;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange(){this.thumbs.swiper&&this.thumbs.update()},update(){this.thumbs.swiper&&this.thumbs.update()},resize(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate(){this.thumbs.swiper&&this.thumbs.update()},setTransition(e){const t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy(){const e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===D.use&&(D.use=D.Class.use,D.installModule=D.Class.installModule),D.use(ce);t.default=D},function(e,t,i){e.exports=function e(t,i,n){function s(a,l){if(!i[a]){if(!t[a]){if(r)return r(a,!0);var o=new Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}var c=i[a]={exports:{}};t[a][0].call(c.exports,(function(e){var i=t[a][1][e];return s(i||e)}),c,c.exports,e,t,i,n)}return i[a].exports}for(var r=!1,a=0;a<n.length;a++)s(n[a]);return s}({1:[function(e,t,i){function n(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var i=this;this.listener=function(e){i.mql=e.currentTarget||e,i.assess()},this.mql.addListener(this.listener)}var s=e(3),r=e(4).each;n.prototype={constuctor:n,addHandler:function(e){var t=new s(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,(function(i,n){if(i.equals(e))return i.destroy(),!t.splice(n,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,(function(t){t[e]()}))}},t.exports=n},{3:3,4:4}],2:[function(e,t,i){function n(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var s=e(1),r=e(4),a=r.each,l=r.isFunction,o=r.isArray;n.prototype={constructor:n,register:function(e,t,i){var n=this.queries,r=i&&this.browserIsIncapable;return n[e]||(n[e]=new s(e,r)),l(t)&&(t={match:t}),o(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var i=this.queries[e];return i&&(t?i.removeHandler(t):(i.clear(),delete this.queries[e])),this}},t.exports=n},{1:1,4:4}],3:[function(e,t,i){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},t.exports=n},{}],4:[function(e,t,i){t.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var i=0,n=e.length;i<n&&!1!==t(e[i],i);i++);}}},{}],5:[function(e,t,i){var n=e(2);t.exports=new n},{2:2}]},{},[5])(5)},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return s}));var n={actemium:document.body.classList.contains("theme-actemium"),axians:document.body.classList.contains("theme-axians"),buildingSolutions:document.body.classList.contains("theme-building-solutions"),citeos:document.body.classList.contains("theme-citeos"),omexom:document.body.classList.contains("theme-omexom"),vinciFacilities:document.body.classList.contains("theme-vinci-facilities")},s=(document.body.classList.contains("with-sidebar"),{prev:'<button type="button" class="arrow arrow-prev"><span class="icon-chevron-left"></span></button>',next:'<button type="button" class="arrow arrow-next"><span class="icon-chevron-right"></span></button>'})},function(e,t,i){e.exports=function(){"use strict";function e(e,t){for(var i=e.length,n=i,s=[];i--;)s.push(t(e[n-i-1]));return s}function t(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(window.Promise)return y(e,t,i);e.recalculate(!0,!0)}function i(e){var t=e.useContainerForBreakpoints?e.container.clientWidth:window.innerWidth,i={columns:e.columns};w(e.margin)?i.margin={x:e.margin.x,y:e.margin.y}:i.margin={x:e.margin,y:e.margin};var n=Object.keys(e.breakAt);return e.mobileFirst?function(e){for(var t=e.options,i=e.responsiveOptions,n=e.keys,s=e.docWidth,r=void 0,a=0;a<n.length;a++){var l=parseInt(n[a],10);s>=l&&(r=t.breakAt[l],x(r,i))}return i}({options:e,responsiveOptions:i,keys:n,docWidth:t}):function(e){for(var t=e.options,i=e.responsiveOptions,n=e.keys,s=e.docWidth,r=void 0,a=n.length-1;a>=0;a--){var l=parseInt(n[a],10);s<=l&&(r=t.breakAt[l],x(r,i))}return i}({options:e,responsiveOptions:i,keys:n,docWidth:t})}function n(e){return i(e).columns}function s(e){return i(e).margin}function r(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=n(e),r=s(e).x,a=100/i;if(!t)return a;if(1===i)return"100%";var l="px";if("string"==typeof r){var o=parseFloat(r);l=r.replace(o,""),r=o}return r=(i-1)*r/i,"%"===l?a-r+"%":"calc("+a+"% - "+r+l+")"}function a(e,t){var i,a=n(e.options),l=0,o=void 0;if(1==++t)return 0;var c="px";if("string"==typeof(o=s(e.options).x)){var h=parseFloat(o,10);c=o.replace(h,""),o=h}return i=(o-(a-1)*o/a)*(t-1),l+=r(e.options,!1)*(t-1),"%"===c?l+i+"%":"calc("+l+"% + "+i+c+")"}function l(e){var t=0,i=e.container,n=e.rows;d(n,(function(e){t=e>t?e:t})),i.style.height=t+"px"}function o(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=n(e.options),o=s(e.options).y;S(e,a,i),d(t,(function(t){var i=0,n=parseInt(t.offsetHeight,10);isNaN(n)||(e.rows.forEach((function(t,n){t<e.rows[i]&&(i=n)})),t.style.position="absolute",t.style.top=e.rows[i]+"px",t.style.left=""+e.cols[i],e.rows[i]+=isNaN(n)?0:n+o,r&&(t.dataset.macyComplete=1))})),r&&(e.tmpRows=null),l(e)}function c(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=n(e.options),o=s(e.options).y;S(e,a,i),d(t,(function(t){e.lastcol===a&&(e.lastcol=0);var i=T(t,"height");i=parseInt(t.offsetHeight,10),isNaN(i)||(t.style.position="absolute",t.style.top=e.rows[e.lastcol]+"px",t.style.left=""+e.cols[e.lastcol],e.rows[e.lastcol]+=isNaN(i)?0:i+o,e.lastcol+=1,r&&(t.dataset.macyComplete=1))})),r&&(e.tmpRows=null),l(e)}var h=function e(t,i){if(!(this instanceof e))return new e(t,i);if(t&&t.nodeName)return t;if(t=t.replace(/^\s*/,"").replace(/\s*$/,""),i)return this.byCss(t,i);for(var n in this.selectors)if(i=n.split("/"),new RegExp(i[1],i[2]).test(t))return this.selectors[n](t);return this.byCss(t)};h.prototype.byCss=function(e,t){return(t||document).querySelectorAll(e)},h.prototype.selectors={},h.prototype.selectors[/^\.[\w\-]+$/]=function(e){return document.getElementsByClassName(e.substring(1))},h.prototype.selectors[/^\w+$/]=function(e){return document.getElementsByTagName(e)},h.prototype.selectors[/^\#[\w\-]+$/]=function(e){return document.getElementById(e.substring(1))};var d=function(e,t){for(var i=e.length,n=i;i--;)t(e[n-i-1])},u=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.running=!1,this.events=[],this.add(e)};u.prototype.run=function(){if(!this.running&&this.events.length>0){var e=this.events.shift();this.running=!0,e(),this.running=!1,this.run()}},u.prototype.add=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!!t&&(Array.isArray(t)?d(t,(function(t){return e.add(t)})):(this.events.push(t),void this.run()))},u.prototype.clear=function(){this.events=[]};var p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.instance=e,this.data=t,this},f=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.events={},this.instance=e};f.prototype.on=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e||!t)&&(Array.isArray(this.events[e])||(this.events[e]=[]),this.events[e].push(t))},f.prototype.emit=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!Array.isArray(this.events[e]))return!1;var i=new p(this.instance,t);d(this.events[e],(function(e){return e(i)}))};var m=function(e){return!("naturalHeight"in e&&e.naturalHeight+e.naturalWidth===0)||e.width+e.height!==0},g=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(e,i){if(t.complete)return m(t)?e(t):i(t);t.addEventListener("load",(function(){return m(t)?e(t):i(t)})),t.addEventListener("error",(function(){return i(t)}))})).then((function(t){i&&e.emit(e.constants.EVENT_IMAGE_LOAD,{img:t})})).catch((function(t){return e.emit(e.constants.EVENT_IMAGE_ERROR,{img:t})}))},v=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e(i,(function(e){return g(t,e,n)}))},y=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Promise.all(v(e,t,i)).then((function(){e.emit(e.constants.EVENT_IMAGE_COMPLETE)}))},_=function(e){return function(e,t){var i=void 0;return function(){i&&clearTimeout(i),i=setTimeout(e,t)}}((function(){e.emit(e.constants.EVENT_RESIZE),e.queue.add((function(){return e.recalculate(!0,!0)}))}),100)},b=function(e){(function(e){if(e.container=h(e.options.container),e.container instanceof h||!e.container)return!!e.options.debug&&console.error("Error: Container not found");e.container.length&&(e.container=e.container[0]),e.options.container=e.container,e.container.style.position="relative"})(e),function(e){e.queue=new u,e.events=new f(e),e.rows=[],e.resizer=_(e)}(e),function(e){var i=h("img",e.container);window.addEventListener("resize",e.resizer),e.on(e.constants.EVENT_IMAGE_LOAD,(function(){return e.recalculate(!1,!1)})),e.on(e.constants.EVENT_IMAGE_COMPLETE,(function(){return e.recalculate(!0,!0)})),e.options.useOwnImageLoader||t(e,i,!e.options.waitForImages),e.emit(e.constants.EVENT_INITIALIZED)}(e)},w=function(e){return e===Object(e)&&"[object Array]"!==Object.prototype.toString.call(e)},x=function(e,t){w(e)||(t.columns=e),w(e)&&e.columns&&(t.columns=e.columns),w(e)&&e.margin&&!w(e.margin)&&(t.margin={x:e.margin,y:e.margin}),w(e)&&e.margin&&w(e.margin)&&e.margin.x&&(t.margin.x=e.margin.x),w(e)&&e.margin&&w(e.margin)&&e.margin.y&&(t.margin.y=e.margin.y)},T=function(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)},S=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.lastcol||(e.lastcol=0),e.rows.length<1&&(i=!0),i){e.rows=[],e.cols=[],e.lastcol=0;for(var n=t-1;n>=0;n--)e.rows[n]=0,e.cols[n]=a(e,n)}else if(e.tmpRows)for(e.rows=[],n=t-1;n>=0;n--)e.rows[n]=e.tmpRows[n];else for(e.tmpRows=[],n=t-1;n>=0;n--)e.tmpRows[n]=e.rows[n]},M=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=t?e.container.children:h(':scope > *:not([data-macy-complete="1"])',e.container);n=Array.from(n).filter((function(e){return null!==e.offsetParent}));var s=r(e.options);return d(n,(function(e){t&&(e.dataset.macyComplete=0),e.style.width=s})),e.options.trueOrder?(c(e,n,t,i),e.emit(e.constants.EVENT_RECALCULATED)):(o(e,n,t,i),e.emit(e.constants.EVENT_RECALCULATED))},E=function(){return!!window.Promise},C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};Array.from||(Array.from=function(e){for(var t=0,i=[];t<e.length;)i.push(e[t++]);return i});var P={columns:4,margin:2,trueOrder:!1,waitForImages:!1,useImageLoader:!0,breakAt:{},useOwnImageLoader:!1,onInit:!1,cancelLegacy:!1,useContainerForBreakpoints:!1};!function(){try{document.createElement("a").querySelector(":scope *")}catch(e){!function(){function e(e){return function(i){if(i&&t.test(i)){var n=this.getAttribute("id");n||(this.id="q"+Math.floor(9e6*Math.random())+1e6),arguments[0]=i.replace(t,"#"+this.id);var s=e.apply(this,arguments);return null===n?this.removeAttribute("id"):n||(this.id=n),s}return e.apply(this,arguments)}}var t=/:scope\b/gi,i=e(Element.prototype.querySelector);Element.prototype.querySelector=function(e){return i.apply(this,arguments)};var n=e(Element.prototype.querySelectorAll);Element.prototype.querySelectorAll=function(e){return n.apply(this,arguments)}}()}}();var k=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P;if(!(this instanceof e))return new e(t);this.options={},C(this.options,P,t),this.options.cancelLegacy&&!E()||b(this)};return k.init=function(e){return console.warn("Depreciated: Macy.init will be removed in v3.0.0 opt to use Macy directly like so Macy({ /*options here*/ }) "),new k(e)},k.prototype.recalculateOnImageLoad=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t(this,h("img",this.container),!e)},k.prototype.runOnImageLoad=function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=h("img",this.container);return this.on(this.constants.EVENT_IMAGE_COMPLETE,e),i&&this.on(this.constants.EVENT_IMAGE_LOAD,e),t(this,n,i)},k.prototype.recalculate=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return i&&this.queue.clear(),this.queue.add((function(){return M(e,t,i)}))},k.prototype.remove=function(){window.removeEventListener("resize",this.resizer),d(this.container.children,(function(e){e.removeAttribute("data-macy-complete"),e.removeAttribute("style")})),this.container.removeAttribute("style")},k.prototype.reInit=function(){this.recalculate(!0,!0),this.emit(this.constants.EVENT_INITIALIZED),window.addEventListener("resize",this.resizer),this.container.style.position="relative"},k.prototype.on=function(e,t){this.events.on(e,t)},k.prototype.emit=function(e,t){this.events.emit(e,t)},k.constants={EVENT_INITIALIZED:"macy.initialized",EVENT_RECALCULATED:"macy.recalculated",EVENT_IMAGE_LOAD:"macy.image.load",EVENT_IMAGE_ERROR:"macy.image.error",EVENT_IMAGE_COMPLETE:"macy.images.complete",EVENT_RESIZE:"macy.resize"},k.prototype.constants=k.constants,k}()},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s}));var n=i(4),s=function(){this.eventFilterElement=document.querySelector(".event-filters"),this.selector={calendarToggle:'[data-js-calendar-toggle="true"]',filterTriggerOpen:'[data-js-filter-open="true"]',filterTriggerClose:'[data-js-filter-close="true"]',filterFieldToggle:'[data-js-mobile-filter-toggle="true"]'},this.isDesktop=window.innerWidth>=1200};s.prototype.init=function(){var t=this;e(document).on("click",this.selector.calendarToggle,(function(e){e.stopPropagation(),t.toggleCalendar(e)})).on("click",this.selector.filterFieldToggle,(function(e){e.stopPropagation(),t.toggleFields(e)})).on("click",this.selector.filterTriggerOpen,(function(e){e.stopPropagation(),t.openFilter()})).on("click",this.selector.filterTriggerClose,(function(e){e.stopPropagation(),t.closeFilter()}))},s.prototype.update=function(){if(window.innerWidth>=1200){if(this.isDesktop)return;this.reset(),this.isDesktop=!0}else{if(!this.isDesktop)return;this.reset(),this.isDesktop=!1}},s.prototype.reset=function(){this.preventHTMLScroll(),this.removeEventCalendarAtributes(),this.removeFilterTriggersAtributes(),this.removeFilterListsAtributes()},s.prototype.toggleFields=function(t){var i=t.currentTarget,n=i.parentElement.querySelector(".filters-list");if("true"===i.getAttribute("aria-expanded")){if(i.setAttribute("aria-expanded",!1),!n)return;e(n).slideUp(400,(function(){return n.setAttribute("aria-hidden",!0)}))}else{if(i.setAttribute("aria-expanded",!0),!n)return;e(n).slideDown(400,(function(){n.setAttribute("aria-hidden",!1),n.style.display="flex"}))}},s.prototype.toggleCalendar=function(t){var i=this,n=t.currentTarget,s=n.parentElement.querySelector(".event-calendar-content");if("true"===n.getAttribute("aria-expanded")){if(n.setAttribute("aria-expanded",!1),e(n).find("[data-text-content-opened]").hide(),e(n).find("[data-text-content-closed]").show(),!s)return;e(s).slideUp(400,(function(){i.scrollToTopOffset(n)}))}else{if(n.setAttribute("aria-expanded",!0),e(n).find("[data-text-content-closed]").hide(),e(n).find("[data-text-content-opened]").show(),!s)return;e(s).slideDown(400,(function(){s.style.display="flex",i.scrollToTopOffset(n)}))}},s.prototype.openFilter=function(){this.eventFilterElement&&(this.eventFilterElement.classList.add("--visible"),document.documentElement.setAttribute("data-mobile-filter-open",!0))},s.prototype.closeFilter=function(){this.eventFilterElement&&(this.eventFilterElement.classList.remove("--visible"),document.documentElement.setAttribute("data-mobile-filter-open",!1))},s.prototype.removeFilterTriggersAtributes=function(){var e=this.eventFilterElement.querySelectorAll(".mobile-filter-toggle");0!==e.length&&e.forEach((function(e){e.setAttribute("aria-expanded",!0)}))},s.prototype.removeFilterListsAtributes=function(){var e=this.eventFilterElement.querySelectorAll(".filters-list");0!==e.length&&e.forEach((function(e){e.removeAttribute("style"),e.removeAttribute("aria-hidden")}))},s.prototype.removeEventCalendarAtributes=function(){var e=document.querySelector(".event-calendar-toggle"),t=document.querySelector(".event-calendar-content");t&&(window.innerWidth<1200?"true"===e.getAttribute("aria-expanded")?t.style.display="flex":t.style.display="none":t.removeAttribute("style"))},s.prototype.preventHTMLScroll=function(){var e=this.eventFilterElement;window.innerWidth>=1200?document.documentElement.setAttribute("data-mobile-filter-open",!1):e.classList.contains("--visible")?document.documentElement.setAttribute("data-mobile-filter-open",!0):document.documentElement.setAttribute("data-mobile-filter-open",!1)},s.prototype.scrollToTopOffset=function(t){t&&e("html, body").animate({scrollTop:e(t).offset().top-(Object(n.b)()+40)},500)}}).call(this,i(2))},function(e,t,i){"use strict";t.a=function(e){return""+e.charAt(0).toLowerCase()+e.replace(/[\W_]/g,"|").split("|").map((function(e){return""+e.charAt(0).toUpperCase()+e.slice(1)})).join("").slice(1)}},function(e,t,i){e.exports=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(i,n){void 0===i&&(i={}),void 0===n&&(n={}),Object.keys(n).forEach((function(s){void 0===i[s]?i[s]=n[s]:e(n[s])&&e(i[s])&&Object.keys(n[s]).length>0&&t(i[s],n[s])}))}var i="undefined"!=typeof document?document:{},n={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};t(i,n);var s="undefined"!=typeof window?window:{};t(s,{document:n,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var r=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function a(e,t){var n=[],a=0;if(e&&!t&&e instanceof r)return e;if(e)if("string"==typeof e){var l,o,c=e.trim();if(c.indexOf("<")>=0&&c.indexOf(">")>=0){var h="div";for(0===c.indexOf("<li")&&(h="ul"),0===c.indexOf("<tr")&&(h="tbody"),0!==c.indexOf("<td")&&0!==c.indexOf("<th")||(h="tr"),0===c.indexOf("<tbody")&&(h="table"),0===c.indexOf("<option")&&(h="select"),(o=i.createElement(h)).innerHTML=c,a=0;a<o.childNodes.length;a+=1)n.push(o.childNodes[a])}else for(l=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||i).querySelectorAll(e.trim()):[i.getElementById(e.trim().split("#")[1])],a=0;a<l.length;a+=1)l[a]&&n.push(l[a])}else if(e.nodeType||e===s||e===i)n.push(e);else if(e.length>0&&e[0].nodeType)for(a=0;a<e.length;a+=1)n.push(e[a]);return new r(n)}function l(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}a.fn=r.prototype,a.Class=r,a.Dom7=r;var o={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===i.length)this[n].setAttribute(e,t);else for(var s in e)this[n][s]=e[s],this[n].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var n=0;n<this.length;n+=1)(i=this[n]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var s=i.getAttribute("data-"+e);return s||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=t[0],s=t[1],r=t[2],l=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),a(t).is(s))r.apply(t,i);else for(var n=a(t).parents(),l=0;l<n.length;l+=1)a(n[l]).is(s)&&r.apply(n[l],i)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(n=(e=t)[0],r=e[1],l=e[2],s=void 0),l||(l=!1);for(var h,d=n.split(" "),u=0;u<this.length;u+=1){var p=this[u];if(s)for(h=0;h<d.length;h+=1){var f=d[h];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[f]||(p.dom7LiveListeners[f]=[]),p.dom7LiveListeners[f].push({listener:r,proxyListener:o}),p.addEventListener(f,o,l)}else for(h=0;h<d.length;h+=1){var m=d[h];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[m]||(p.dom7Listeners[m]=[]),p.dom7Listeners[m].push({listener:r,proxyListener:c}),p.addEventListener(m,c,l)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=t[0],s=t[1],r=t[2],a=t[3];"function"==typeof t[1]&&(n=(e=t)[0],r=e[1],a=e[2],s=void 0),a||(a=!1);for(var l=n.split(" "),o=0;o<l.length;o+=1)for(var c=l[o],h=0;h<this.length;h+=1){var d=this[h],u=void 0;if(!s&&d.dom7Listeners?u=d.dom7Listeners[c]:s&&d.dom7LiveListeners&&(u=d.dom7LiveListeners[c]),u&&u.length)for(var p=u.length-1;p>=0;p-=1){var f=u[p];r&&f.listener===r||r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(d.removeEventListener(c,f.proxyListener,a),u.splice(p,1)):r||(d.removeEventListener(c,f.proxyListener,a),u.splice(p,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=e[0].split(" "),r=e[1],a=0;a<n.length;a+=1)for(var l=n[a],o=0;o<this.length;o+=1){var c=this[o],h=void 0;try{h=new s.CustomEvent(l,{detail:r,bubbles:!0,cancelable:!0})}catch(e){(h=i.createEvent("Event")).initEvent(l,!0,!0),h.detail=r}c.dom7EventData=e.filter((function(e,t){return t>0})),c.dispatchEvent(h),c.dom7EventData=[],delete c.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],n=this;function s(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)n.off(i[t],s)}if(e)for(t=0;t<i.length;t+=1)n.on(i[t],s);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=i.body,r=e.clientTop||n.clientTop||0,a=e.clientLeft||n.clientLeft||0,l=e===s?s.scrollY:e.scrollTop,o=e===s?s.scrollX:e.scrollLeft;return{top:t.top+l-r,left:t.left+o-a}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,l=this[0];if(!l||void 0===e)return!1;if("string"==typeof e){if(l.matches)return l.matches(e);if(l.webkitMatchesSelector)return l.webkitMatchesSelector(e);if(l.msMatchesSelector)return l.msMatchesSelector(e);for(t=a(e),n=0;n<t.length;n+=1)if(t[n]===l)return!0;return!1}if(e===i)return l===i;if(e===s)return l===s;if(e.nodeType||e instanceof r){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===l)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new r(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];for(var s=0;s<t.length;s+=1){e=t[s];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var l=i.createElement("div");for(l.innerHTML=e;l.firstChild;)this[a].appendChild(l.firstChild)}else if(e instanceof r)for(var o=0;o<e.length;o+=1)this[a].appendChild(e[o]);else this[a].appendChild(e)}return this},prepend:function(e){var t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=i.createElement("div");for(s.innerHTML=e,n=s.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(s.childNodes[n],this[t].childNodes[0])}else if(e instanceof r)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&a(this[0].nextElementSibling).is(e)?new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling?new r([this[0].nextElementSibling]):new r([]):new r([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new r([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?a(n).is(e)&&t.push(n):t.push(n),i=n}return new r(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&a(t.previousElementSibling).is(e)?new r([t.previousElementSibling]):new r([]):t.previousElementSibling?new r([t.previousElementSibling]):new r([])}return new r([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new r([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?a(n).is(e)&&t.push(n):t.push(n),i=n}return new r(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?a(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return a(l(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].parentNode;n;)e?a(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return a(l(t))},closest:function(e){var t=this;return void 0===e?new r([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].querySelectorAll(e),s=0;s<n.length;s+=1)t.push(n[s]);return new r(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].childNodes,s=0;s<n.length;s+=1)e?1===n[s].nodeType&&a(n[s]).is(e)&&t.push(n[s]):1===n[s].nodeType&&t.push(n[s]);return new r(l(t))},filter:function(e){for(var t=[],i=0;i<this.length;i+=1)e.call(this[i],i,this[i])&&t.push(this[i]);return new r(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s=this;for(i=0;i<e.length;i+=1){var r=a(e[i]);for(n=0;n<r.length;n+=1)s[s.length]=r[n],s.length+=1}return s},styles:function(){return this[0]?s.getComputedStyle(this[0],null):{}}};Object.keys(o).forEach((function(e){a.fn[e]=a.fn[e]||o[e]}));var c={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var i,n,r;void 0===t&&(t="x");var a=s.getComputedStyle(e,null);return s.WebKitCSSMatrix?((n=a.transform||a.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new s.WebKitCSSMatrix("none"===n?"":n)):i=(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=s.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=s.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0},parseUrlQuery:function(e){var t,i,n,r,a={},l=e||s.location.href;if("string"==typeof l&&l.length)for(r=(i=(l=l.indexOf("?")>-1?l.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<r;t+=1)n=i[t].replace(/#\S+/g,"").split("="),a[decodeURIComponent(n[0])]=void 0===n[1]?void 0:decodeURIComponent(n[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),n=1;n<e.length;n+=1){var s=e[n];if(null!=s)for(var r=Object.keys(Object(s)),a=0,l=r.length;a<l;a+=1){var o=r[a],h=Object.getOwnPropertyDescriptor(s,o);void 0!==h&&h.enumerable&&(c.isObject(i[o])&&c.isObject(s[o])?c.extend(i[o],s[o]):!c.isObject(i[o])&&c.isObject(s[o])?(i[o]={},c.extend(i[o],s[o])):i[o]=s[o])}}return i}},h={touch:!!("ontouchstart"in s||s.DocumentTouch&&i instanceof s.DocumentTouch),pointerEvents:!!s.PointerEvent&&"maxTouchPoints"in s.navigator&&s.navigator.maxTouchPoints>=0,observer:"MutationObserver"in s||"WebkitMutationObserver"in s,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});s.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in s},d=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},u={components:{configurable:!0}};d.prototype.on=function(e,t,i){var n=this;if("function"!=typeof t)return n;var s=i?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)})),n},d.prototype.once=function(e,t,i){var n=this;if("function"!=typeof t)return n;function s(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];n.off(e,s),s.f7proxy&&delete s.f7proxy,t.apply(n,i)}return s.f7proxy=t,n.on(e,s,i)},d.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(n,s){(n===t||n.f7proxy&&n.f7proxy===t)&&i.eventsListeners[e].splice(s,1)}))})),i):i},d.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=r):(i=e[0].events,n=e[0].data,s=e[0].context||r);var a=Array.isArray(i)?i:i.split(" ");return a.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(s,n)}))}})),r},d.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i];n.params&&c.extend(e,n.params)}))},d.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i],s=e[i]||{};n.instance&&Object.keys(n.instance).forEach((function(e){var i=n.instance[e];t[e]="function"==typeof i?i.bind(t):i})),n.on&&t.on&&Object.keys(n.on).forEach((function(e){t.on(e,n.on[e])})),n.create&&n.create.bind(t)(s)}))},u.components.set=function(e){this.use&&this.use(e)},d.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;n.prototype.modules||(n.prototype.modules={});var s=e.name||Object.keys(n.prototype.modules).length+"_"+c.now();return n.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach((function(t){n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n},d.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;return Array.isArray(e)?(e.forEach((function(e){return n.installModule(e)})),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties(d,u);var p,f,m,g,v,y,_,b,w,x,T,S,M,E,C,P={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),c.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,t=this.$wrapperEl,i=this.size,n=this.rtlTranslate,r=this.wrongRTL,a=this.virtual&&e.virtual.enabled,l=a?this.virtual.slides.length:this.slides.length,o=t.children("."+this.params.slideClass),h=a?this.virtual.slides.length:o.length,d=[],u=[],p=[];function f(t){return!e.cssMode||t!==o.length-1}var m=e.slidesOffsetBefore;"function"==typeof m&&(m=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var v=this.snapGrid.length,y=this.snapGrid.length,_=e.spaceBetween,b=-m,w=0,x=0;if(void 0!==i){var T,S;"string"==typeof _&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*i),this.virtualSize=-_,n?o.css({marginLeft:"",marginTop:""}):o.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(T=Math.floor(h/e.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(T=Math.max(T,e.slidesPerView*e.slidesPerColumn)));for(var M,E=e.slidesPerColumn,C=T/E,P=Math.floor(h/e.slidesPerColumn),k=0;k<h;k+=1){S=0;var A=o.eq(k);if(e.slidesPerColumn>1){var L=void 0,O=void 0,I=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var D=Math.floor(k/(e.slidesPerGroup*e.slidesPerColumn)),R=k-e.slidesPerColumn*e.slidesPerGroup*D,z=0===D?e.slidesPerGroup:Math.min(Math.ceil((h-D*E*e.slidesPerGroup)/E),e.slidesPerGroup);L=(O=R-(I=Math.floor(R/z))*z+D*e.slidesPerGroup)+I*T/E,A.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else"column"===e.slidesPerColumnFill?(I=k-(O=Math.floor(k/E))*E,(O>P||O===P&&I===E-1)&&(I+=1)>=E&&(I=0,O+=1)):O=k-(I=Math.floor(k/C))*C;A.css("margin-"+(this.isHorizontal()?"top":"left"),0!==I&&e.spaceBetween&&e.spaceBetween+"px")}if("none"!==A.css("display")){if("auto"===e.slidesPerView){var N=s.getComputedStyle(A[0],null),$=A[0].style.transform,F=A[0].style.webkitTransform;if($&&(A[0].style.transform="none"),F&&(A[0].style.webkitTransform="none"),e.roundLengths)S=this.isHorizontal()?A.outerWidth(!0):A.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(N.getPropertyValue("width")),V=parseFloat(N.getPropertyValue("padding-left")),H=parseFloat(N.getPropertyValue("padding-right")),U=parseFloat(N.getPropertyValue("margin-left")),G=parseFloat(N.getPropertyValue("margin-right")),j=N.getPropertyValue("box-sizing");S=j&&"border-box"===j?B+U+G:B+V+H+U+G}else{var W=parseFloat(N.getPropertyValue("height")),X=parseFloat(N.getPropertyValue("padding-top")),q=parseFloat(N.getPropertyValue("padding-bottom")),Y=parseFloat(N.getPropertyValue("margin-top")),Z=parseFloat(N.getPropertyValue("margin-bottom")),K=N.getPropertyValue("box-sizing");S=K&&"border-box"===K?W+Y+Z:W+X+q+Y+Z}$&&(A[0].style.transform=$),F&&(A[0].style.webkitTransform=F),e.roundLengths&&(S=Math.floor(S))}else S=(i-(e.slidesPerView-1)*_)/e.slidesPerView,e.roundLengths&&(S=Math.floor(S)),o[k]&&(this.isHorizontal()?o[k].style.width=S+"px":o[k].style.height=S+"px");o[k]&&(o[k].swiperSlideSize=S),p.push(S),e.centeredSlides?(b=b+S/2+w/2+_,0===w&&0!==k&&(b=b-i/2-_),0===k&&(b=b-i/2-_),Math.abs(b)<.001&&(b=0),e.roundLengths&&(b=Math.floor(b)),x%e.slidesPerGroup==0&&d.push(b),u.push(b)):(e.roundLengths&&(b=Math.floor(b)),(x-Math.min(this.params.slidesPerGroupSkip,x))%this.params.slidesPerGroup==0&&d.push(b),u.push(b),b=b+S+_),this.virtualSize+=S+_,w=S,x+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+g,n&&r&&("slide"===e.effect||"coverflow"===e.effect)&&t.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(S+e.spaceBetween)*T,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){M=[];for(var J=0;J<d.length;J+=1){var Q=d[J];e.roundLengths&&(Q=Math.floor(Q)),d[J]<this.virtualSize+d[0]&&M.push(Q)}d=M}if(!e.centeredSlides){M=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];e.roundLengths&&(te=Math.floor(te)),d[ee]<=this.virtualSize-i&&M.push(te)}d=M,Math.floor(this.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(this.virtualSize-i)}if(0===d.length&&(d=[0]),0!==e.spaceBetween&&(this.isHorizontal()?n?o.filter(f).css({marginLeft:_+"px"}):o.filter(f).css({marginRight:_+"px"}):o.filter(f).css({marginBottom:_+"px"})),e.centeredSlides&&e.centeredSlidesBounds){var ie=0;p.forEach((function(t){ie+=t+(e.spaceBetween?e.spaceBetween:0)}));var ne=(ie-=e.spaceBetween)-i;d=d.map((function(e){return e<0?-m:e>ne?ne+g:e}))}if(e.centerInsufficientSlides){var se=0;if(p.forEach((function(t){se+=t+(e.spaceBetween?e.spaceBetween:0)})),(se-=e.spaceBetween)<i){var re=(i-se)/2;d.forEach((function(e,t){d[t]=e-re})),u.forEach((function(e,t){u[t]=e+re}))}}c.extend(this,{slides:o,snapGrid:d,slidesGrid:u,slidesSizesGrid:p}),h!==l&&this.emit("slidesLengthChange"),d.length!==v&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),u.length!==y&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],n=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)if(this.params.centeredSlides)this.visibleSlides.each((function(e,t){i.push(t)}));else for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var s=this.activeIndex+t;if(s>this.slides.length)break;i.push(this.slides.eq(s)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;n=r>n?r:n}n&&this.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,n=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var s=-e;n&&(s=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var r=0;r<i.length;r+=1){var l=i[r],o=(s+(t.centeredSlides?this.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight){var c=-(s-l.swiperSlideOffset),h=c+this.slidesSizesGrid[r];(c>=0&&c<this.size-1||h>1&&h<=this.size||c<=0&&h>=this.size)&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(r),i.eq(r).addClass(t.slideVisibleClass))}l.progress=n?-o:o}this.visibleSlides=a(this.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,n=this.maxTranslate()-this.minTranslate(),s=this.progress,r=this.isBeginning,a=this.isEnd,l=r,o=a;0===n?(s=0,r=!0,a=!0):(r=(s=(e-this.minTranslate())/n)<=0,a=s>=1),c.extend(this,{progress:s,isBeginning:r,isEnd:a}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),r&&!l&&this.emit("reachBeginning toEdge"),a&&!o&&this.emit("reachEnd toEdge"),(l&&!r||o&&!a)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,n=this.$wrapperEl,s=this.activeIndex,r=this.realIndex,a=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=t.eq(0)).addClass(i.slideNextClass);var o=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===o.length&&(o=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),o.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,s=this.snapGrid,r=this.params,a=this.activeIndex,l=this.realIndex,o=this.snapIndex,h=e;if(void 0===h){for(var d=0;d<n.length;d+=1)void 0!==n[d+1]?i>=n[d]&&i<n[d+1]-(n[d+1]-n[d])/2?h=d:i>=n[d]&&i<n[d+1]&&(h=d+1):i>=n[d]&&(h=d);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if(s.indexOf(i)>=0)t=s.indexOf(i);else{var u=Math.min(r.slidesPerGroupSkip,h);t=u+Math.floor((h-u)/r.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),h!==a){var p=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);c.extend(this,{snapIndex:t,realIndex:p,previousIndex:a,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),l!==p&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")}else t!==o&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=a(e.target).closest("."+t.slideClass)[0],n=!1;if(i)for(var s=0;s<this.slides.length;s+=1)this.slides[s]===i&&(n=!0);if(!i||!n)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(a(i).attr("data-swiper-slide-index"),10):this.clickedIndex=a(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},k={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,n=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;var r=c.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,n=this.params,s=this.$wrapperEl,r=this.wrapperEl,a=this.progress,l=0,o=0;this.isHorizontal()?l=i?-e:e:o=e,n.roundLengths&&(l=Math.floor(l),o=Math.floor(o)),n.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-l:-o:n.virtualTranslate||s.transform("translate3d("+l+"px, "+o+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?l:o;var c=this.maxTranslate()-this.minTranslate();(0===c?0:(e-this.minTranslate())/c)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,s){var r;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var a=this,l=a.params,o=a.wrapperEl;if(a.animating&&l.preventInteractionOnTransition)return!1;var c,h=a.minTranslate(),d=a.maxTranslate();if(c=n&&e>h?h:n&&e<d?d:e,a.updateProgress(c),l.cssMode){var u=a.isHorizontal();return 0===t?o[u?"scrollLeft":"scrollTop"]=-c:o.scrollTo?o.scrollTo(((r={})[u?"left":"top"]=-c,r.behavior="smooth",r)):o[u?"scrollLeft":"scrollTop"]=-c,!0}return 0===t?(a.setTransition(0),a.setTranslate(c),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,i&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},A={setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.params,s=this.previousIndex;if(!n.cssMode){n.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),this.emit("transitionStart"),e&&i!==s){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.previousIndex,s=this.params;if(this.animating=!1,!s.cssMode){this.setTransition(0);var r=t;if(r||(r=i>n?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),e&&i!==n){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}}},L={slideTo:function(e,t,i,n){var s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var r=this,a=e;a<0&&(a=0);var l=r.params,o=r.snapGrid,c=r.slidesGrid,h=r.previousIndex,d=r.activeIndex,u=r.rtlTranslate,p=r.wrapperEl;if(r.animating&&l.preventInteractionOnTransition)return!1;var f=Math.min(r.params.slidesPerGroupSkip,a),m=f+Math.floor((a-f)/r.params.slidesPerGroup);m>=o.length&&(m=o.length-1),(d||l.initialSlide||0)===(h||0)&&i&&r.emit("beforeSlideChangeStart");var g,v=-o[m];if(r.updateProgress(v),l.normalizeSlideIndex)for(var y=0;y<c.length;y+=1)-Math.floor(100*v)>=Math.floor(100*c[y])&&(a=y);if(r.initialized&&a!==d){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(d||0)!==a)return!1}if(g=a>d?"next":a<d?"prev":"reset",u&&-v===r.translate||!u&&v===r.translate)return r.updateActiveIndex(a),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(v),"reset"!==g&&(r.transitionStart(i,g),r.transitionEnd(i,g)),!1;if(l.cssMode){var _=r.isHorizontal(),b=-v;return u&&(b=p.scrollWidth-p.offsetWidth-b),0===t?p[_?"scrollLeft":"scrollTop"]=b:p.scrollTo?p.scrollTo(((s={})[_?"left":"top"]=b,s.behavior="smooth",s)):p[_?"scrollLeft":"scrollTop"]=b,!0}return 0===t?(r.setTransition(0),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,g),r.transitionEnd(i,g)):(r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,g),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,g))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,r=this.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+r,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,r=this.snapGrid,a=this.slidesGrid,l=this.rtlTranslate;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function o(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,h=o(l?this.translate:-this.translate),d=r.map((function(e){return o(e)})),u=(a.map((function(e){return o(e)})),r[d.indexOf(h)],r[d.indexOf(h)-1]);return void 0===u&&n.cssMode&&r.forEach((function(e){!u&&h>=e&&(u=e)})),void 0!==u&&(c=a.indexOf(u))<0&&(c=this.activeIndex-1),this.slideTo(c,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var s=this.activeIndex,r=Math.min(this.params.slidesPerGroupSkip,s),a=r+Math.floor((s-r)/this.params.slidesPerGroup),l=this.rtlTranslate?this.translate:-this.translate;if(l>=this.snapGrid[a]){var o=this.snapGrid[a];l-o>(this.snapGrid[a+1]-o)*n&&(s+=this.params.slidesPerGroup)}else{var c=this.snapGrid[a-1];l-c<=(this.snapGrid[a]-c)*n&&(s-=this.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,this.slidesGrid.length-1),this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,s="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(a(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-s/2||r>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}},O={loopCreate:function(){var e=this,t=e.params,n=e.$wrapperEl;n.children("."+t.slideClass+"."+t.slideDuplicateClass).remove();var s=n.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var r=t.slidesPerGroup-s.length%t.slidesPerGroup;if(r!==t.slidesPerGroup){for(var l=0;l<r;l+=1){var o=a(i.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);n.append(o)}s=n.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>s.length&&(e.loopedSlides=s.length);var c=[],h=[];s.each((function(t,i){var n=a(i);t<e.loopedSlides&&h.push(i),t<s.length&&t>=s.length-e.loopedSlides&&c.push(i),n.attr("data-swiper-slide-index",t)}));for(var d=0;d<h.length;d+=1)n.append(a(h[d].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var u=c.length-1;u>=0;u-=1)n.prepend(a(c[u].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,n=this.loopedSlides,s=this.allowSlidePrev,r=this.allowSlideNext,a=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var o=-a[t]-this.getTranslate();t<n?(e=i.length-3*n+t,e+=n,this.slideTo(e,0,!1,!0)&&0!==o&&this.setTranslate((l?-this.translate:this.translate)-o)):t>=i.length-n&&(e=-i.length+t+n,e+=n,this.slideTo(e,0,!1,!0)&&0!==o&&this.setTranslate((l?-this.translate:this.translate)-o)),this.allowSlidePrev=s,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},I={setGrabCursor:function(e){if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},D={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.append(e[n]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&this.loopDestroy();var s=n+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);s=n+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(s,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,n=this.params,s=this.activeIndex;n.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var a=s>e?s+1:s,l=[],o=r-1;o>=e;o-=1){var c=this.slides.eq(o);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&i.append(t[d]);a=s>e?s+t.length:s}else i.append(t);for(var u=0;u<l.length;u+=1)i.append(l[u]);n.loop&&this.loopCreate(),n.observer&&h.observer||this.update(),n.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var s,r=n;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)s=e[a],this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},R=(p=s.navigator.platform,f=s.navigator.userAgent,m={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!s.cordova&&!s.phonegap),phonegap:!(!s.cordova&&!s.phonegap),electron:!1},g=s.screen.width,v=s.screen.height,y=f.match(/(Android);?[\s\/]+([\d.]+)?/),_=f.match(/(iPad).*OS\s([\d_]+)/),b=f.match(/(iPod)(.*OS\s([\d_]+))?/),w=!_&&f.match(/(iPhone\sOS|iOS)\s([\d_]+)/),x=f.indexOf("MSIE ")>=0||f.indexOf("Trident/")>=0,T=f.indexOf("Edge/")>=0,S=f.indexOf("Gecko/")>=0&&f.indexOf("Firefox/")>=0,M="Win32"===p,E=f.toLowerCase().indexOf("electron")>=0,C="MacIntel"===p,!_&&C&&h.touch&&(1024===g&&1366===v||834===g&&1194===v||834===g&&1112===v||768===g&&1024===v)&&(_=f.match(/(Version)\/([\d.]+)/),C=!1),m.ie=x,m.edge=T,m.firefox=S,y&&!M&&(m.os="android",m.osVersion=y[2],m.android=!0,m.androidChrome=f.toLowerCase().indexOf("chrome")>=0),(_||w||b)&&(m.os="ios",m.ios=!0),w&&!b&&(m.osVersion=w[2].replace(/_/g,"."),m.iphone=!0),_&&(m.osVersion=_[2].replace(/_/g,"."),m.ipad=!0),b&&(m.osVersion=b[3]?b[3].replace(/_/g,"."):null,m.ipod=!0),m.ios&&m.osVersion&&f.indexOf("Version/")>=0&&"10"===m.osVersion.split(".")[0]&&(m.osVersion=f.toLowerCase().split("version/")[1].split(" ")[0]),m.webView=!(!(w||_||b)||!f.match(/.*AppleWebKit(?!.*Safari)/i)&&!s.navigator.standalone)||s.matchMedia&&s.matchMedia("(display-mode: standalone)").matches,m.webview=m.webView,m.standalone=m.webView,m.desktop=!(m.ios||m.android)||E,m.desktop&&(m.electron=E,m.macos=C,m.windows=M,m.macos&&(m.os="macos"),m.windows&&(m.os="windows")),m.pixelRatio=s.devicePixelRatio||1,m);function z(e){var t=this.touchEventsData,n=this.params,r=this.touches;if(!this.animating||!n.preventInteractionOnTransition){var l=e;l.originalEvent&&(l=l.originalEvent);var o=a(l.target);if(("wrapper"!==n.touchEventsTarget||o.closest(this.wrapperEl).length)&&(t.isTouchEvent="touchstart"===l.type,(t.isTouchEvent||!("which"in l)||3!==l.which)&&!(!t.isTouchEvent&&"button"in l&&l.button>0||t.isTouched&&t.isMoved)))if(n.noSwiping&&o.closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])this.allowClick=!0;else if(!n.swipeHandler||o.closest(n.swipeHandler)[0]){r.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,r.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var h=r.currentX,d=r.currentY,u=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,p=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!u||!(h<=p||h>=s.screen.width-p)){if(c.extend(t,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=h,r.startY=d,t.touchStartTime=c.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,n.threshold>0&&(t.allowThresholdMove=!1),"touchstart"!==l.type){var f=!0;o.is(t.formElements)&&(f=!1),i.activeElement&&a(i.activeElement).is(t.formElements)&&i.activeElement!==o[0]&&i.activeElement.blur();var m=f&&this.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||m)&&l.preventDefault()}this.emit("touchStart",l)}}}}function N(e){var t=this.touchEventsData,n=this.params,s=this.touches,r=this.rtlTranslate,l=e;if(l.originalEvent&&(l=l.originalEvent),t.isTouched){if(!t.isTouchEvent||"touchmove"===l.type){var o="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),h="touchmove"===l.type?o.pageX:l.pageX,d="touchmove"===l.type?o.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=h,void(s.startY=d);if(!this.allowTouchMove)return this.allowClick=!1,void(t.isTouched&&(c.extend(s,{startX:h,startY:d,currentX:h,currentY:d}),t.touchStartTime=c.now()));if(t.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(this.isVertical()){if(d<s.startY&&this.translate<=this.maxTranslate()||d>s.startY&&this.translate>=this.minTranslate())return t.isTouched=!1,void(t.isMoved=!1)}else if(h<s.startX&&this.translate<=this.maxTranslate()||h>s.startX&&this.translate>=this.minTranslate())return;if(t.isTouchEvent&&i.activeElement&&l.target===i.activeElement&&a(l.target).is(t.formElements))return t.isMoved=!0,void(this.allowClick=!1);if(t.allowTouchCallbacks&&this.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){s.currentX=h,s.currentY=d;var u,p=s.currentX-s.startX,f=s.currentY-s.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))<this.params.threshold))if(void 0===t.isScrolling&&(this.isHorizontal()&&s.currentY===s.startY||this.isVertical()&&s.currentX===s.startX?t.isScrolling=!1:p*p+f*f>=25&&(u=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,t.isScrolling=this.isHorizontal()?u>n.touchAngle:90-u>n.touchAngle)),t.isScrolling&&this.emit("touchMoveOpposite",l),void 0===t.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(t.startMoving=!0)),t.isScrolling)t.isTouched=!1;else if(t.startMoving){this.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),t.isMoved||(n.loop&&this.loopFix(),t.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),t.allowMomentumBounce=!1,!n.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",l)),this.emit("sliderMove",l),t.isMoved=!0;var m=this.isHorizontal()?p:f;s.diff=m,m*=n.touchRatio,r&&(m=-m),this.swipeDirection=m>0?"prev":"next",t.currentTranslate=m+t.startTranslate;var g=!0,v=n.resistanceRatio;if(n.touchReleaseOnEdges&&(v=0),m>0&&t.currentTranslate>this.minTranslate()?(g=!1,n.resistance&&(t.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+t.startTranslate+m,v))):m<0&&t.currentTranslate<this.maxTranslate()&&(g=!1,n.resistance&&(t.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-t.startTranslate-m,v))),g&&(l.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&t.currentTranslate<t.startTranslate&&(t.currentTranslate=t.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&t.currentTranslate>t.startTranslate&&(t.currentTranslate=t.startTranslate),n.threshold>0){if(!(Math.abs(m)>n.threshold||t.allowThresholdMove))return void(t.currentTranslate=t.startTranslate);if(!t.allowThresholdMove)return t.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,t.currentTranslate=t.startTranslate,void(s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),n.freeMode&&(0===t.velocities.length&&t.velocities.push({position:s[this.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[this.isHorizontal()?"currentX":"currentY"],time:c.now()})),this.updateProgress(t.currentTranslate),this.setTranslate(t.currentTranslate))}}}}else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite",l)}function $(e){var t=this,i=t.touchEventsData,n=t.params,s=t.touches,r=t.rtlTranslate,a=t.$wrapperEl,l=t.slidesGrid,o=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,u=c.now(),p=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap click",h),p<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",h)),i.lastClickTime=c.now(),c.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,d=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var f=i.velocities.pop(),m=i.velocities.pop(),g=f.position-m.position,v=f.time-m.time;t.velocity=g/v,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(v>150||c.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var y=1e3*n.freeModeMomentumRatio,_=t.velocity*y,b=t.translate+_;r&&(b=-b);var w,x,T=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(b<t.maxTranslate())n.freeModeMomentumBounce?(b+t.maxTranslate()<-S&&(b=t.maxTranslate()-S),w=t.maxTranslate(),T=!0,i.allowMomentumBounce=!0):b=t.maxTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(b>t.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>S&&(b=t.minTranslate()+S),w=t.minTranslate(),T=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(n.freeModeSticky){for(var M,E=0;E<o.length;E+=1)if(o[E]>-b){M=E;break}b=-(b=Math.abs(o[M]-b)<Math.abs(o[M-1]-b)||"next"===t.swipeDirection?o[M]:o[M-1])}if(x&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(y=r?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity),n.freeModeSticky){var C=Math.abs((r?-b:b)-t.translate),P=t.slidesSizesGrid[t.activeIndex];y=C<P?n.speed:C<2*P?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&T?(t.updateProgress(w),t.setTransition(y),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout((function(){t.setTranslate(w),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(b),t.setTransition(y),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(b),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||p>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,A=t.slidesSizesGrid[0],L=0;L<l.length;L+=L<n.slidesPerGroupSkip?1:n.slidesPerGroup){var O=L<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==l[L+O]?d>=l[L]&&d<l[L+O]&&(k=L,A=l[L+O]-l[L]):d>=l[L]&&(k=L,A=l[l.length-1]-l[l.length-2])}var I=(d-l[k])/A,D=k<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(p>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=n.longSwipesRatio?t.slideTo(k+D):t.slideTo(k)),"prev"===t.swipeDirection&&(I>1-n.longSwipesRatio?t.slideTo(k+D):t.slideTo(k))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||h.target!==t.navigation.nextEl&&h.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(k+D),"prev"===t.swipeDirection&&t.slideTo(k)):h.target===t.navigation.nextEl?t.slideTo(k+D):t.slideTo(k)}}}function F(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,n=this.allowSlidePrev,s=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=i,this.params.watchOverflow&&s!==this.snapGrid&&this.checkOverflow()}}function B(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function V(){var e=this.wrapperEl,t=this.rtlTranslate;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:this.translate=-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}var H=!1;function U(){}var G={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},j={update:P,translate:k,transition:A,slide:L,loop:O,grabCursor:I,manipulation:D,events:{attachEvents:function(){var e=this.params,t=this.touchEvents,n=this.el,s=this.wrapperEl;this.onTouchStart=z.bind(this),this.onTouchMove=N.bind(this),this.onTouchEnd=$.bind(this),e.cssMode&&(this.onScroll=V.bind(this)),this.onClick=B.bind(this);var r=!!e.nested;if(!h.touch&&h.pointerEvents)n.addEventListener(t.start,this.onTouchStart,!1),i.addEventListener(t.move,this.onTouchMove,r),i.addEventListener(t.end,this.onTouchEnd,!1);else{if(h.touch){var a=!("touchstart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(t.start,this.onTouchStart,a),n.addEventListener(t.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:r}:r),n.addEventListener(t.end,this.onTouchEnd,a),t.cancel&&n.addEventListener(t.cancel,this.onTouchEnd,a),H||(i.addEventListener("touchstart",U),H=!0)}(e.simulateTouch&&!R.ios&&!R.android||e.simulateTouch&&!h.touch&&R.ios)&&(n.addEventListener("mousedown",this.onTouchStart,!1),i.addEventListener("mousemove",this.onTouchMove,r),i.addEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.addEventListener("click",this.onClick,!0),e.cssMode&&s.addEventListener("scroll",this.onScroll),e.updateOnWindowResize?this.on(R.ios||R.android?"resize orientationchange observerUpdate":"resize observerUpdate",F,!0):this.on("observerUpdate",F,!0)},detachEvents:function(){var e=this.params,t=this.touchEvents,n=this.el,s=this.wrapperEl,r=!!e.nested;if(!h.touch&&h.pointerEvents)n.removeEventListener(t.start,this.onTouchStart,!1),i.removeEventListener(t.move,this.onTouchMove,r),i.removeEventListener(t.end,this.onTouchEnd,!1);else{if(h.touch){var a=!("onTouchStart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(t.start,this.onTouchStart,a),n.removeEventListener(t.move,this.onTouchMove,r),n.removeEventListener(t.end,this.onTouchEnd,a),t.cancel&&n.removeEventListener(t.cancel,this.onTouchEnd,a)}(e.simulateTouch&&!R.ios&&!R.android||e.simulateTouch&&!h.touch&&R.ios)&&(n.removeEventListener("mousedown",this.onTouchStart,!1),i.removeEventListener("mousemove",this.onTouchMove,r),i.removeEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.removeEventListener("click",this.onClick,!0),e.cssMode&&s.removeEventListener("scroll",this.onScroll),this.off(R.ios||R.android?"resize orientationchange observerUpdate":"resize observerUpdate",F)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var n=this.params,s=this.$el,r=n.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var a=this.getBreakpoint(r);if(a&&this.currentBreakpoint!==a){var l=a in r?r[a]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var o=l||this.originalParams,h=n.slidesPerColumn>1,d=o.slidesPerColumn>1;h&&!d?s.removeClass(n.containerModifierClass+"multirow "+n.containerModifierClass+"multirow-column"):!h&&d&&(s.addClass(n.containerModifierClass+"multirow"),"column"===o.slidesPerColumnFill&&s.addClass(n.containerModifierClass+"multirow-column"));var u=o.direction&&o.direction!==n.direction,p=n.loop&&(o.slidesPerView!==n.slidesPerView||u);u&&t&&this.changeDirection(),c.extend(this.params,o),c.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=a,p&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",o)}}},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:s.innerHeight*t,point:e}}return{value:e,point:e}}));i.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var n=0;n<i.length;n+=1){var r=i[n],a=r.point;r.value<=s.innerWidth&&(t=a)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,n=this.$el,s=[];s.push("initialized"),s.push(t.direction),t.freeMode&&s.push("free-mode"),t.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),t.slidesPerColumn>1&&(s.push("multirow"),"column"===t.slidesPerColumnFill&&s.push("multirow-column")),R.android&&s.push("android"),R.ios&&s.push("ios"),t.cssMode&&s.push("css-mode"),s.forEach((function(i){e.push(t.containerModifierClass+i)})),n.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,n,r,l){var o;function c(){l&&l()}a(e).parent("picture")[0]||e.complete&&r?c():t?((o=new s.Image).onload=c,o.onerror=c,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):c()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},W={},X=function(e){function t(){for(var i,n,s,r=[],l=arguments.length;l--;)r[l]=arguments[l];1===r.length&&r[0].constructor&&r[0].constructor===Object?s=r[0]:(n=(i=r)[0],s=i[1]),s||(s={}),s=c.extend({},s),n&&!s.el&&(s.el=n),e.call(this,s),Object.keys(j).forEach((function(e){Object.keys(j[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=j[e][i])}))}));var o=this;void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach((function(e){var t=o.modules[e];if(t.params){var i=Object.keys(t.params)[0],n=t.params[i];if("object"!=typeof n||null===n)return;if(!(i in s)||!("enabled"in n))return;!0===s[i]&&(s[i]={enabled:!0}),"object"!=typeof s[i]||"enabled"in s[i]||(s[i].enabled=!0),s[i]||(s[i]={enabled:!1})}}));var d=c.extend({},G);o.useModulesParams(d),o.params=c.extend({},d,W,s),o.originalParams=c.extend({},o.params),o.passedParams=c.extend({},s),o.$=a;var u=a(o.params.el);if(n=u[0]){if(u.length>1){var p=[];return u.each((function(e,i){var n=c.extend({},s,{el:i});p.push(new t(n))})),p}var f,m,g;return n.swiper=o,u.data("swiper",o),n&&n.shadowRoot&&n.shadowRoot.querySelector?(f=a(n.shadowRoot.querySelector("."+o.params.wrapperClass))).children=function(e){return u.children(e)}:f=u.children("."+o.params.wrapperClass),c.extend(o,{$el:u,el:n,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:a(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},rtl:"rtl"===n.dir.toLowerCase()||"rtl"===u.css("direction"),rtlTranslate:"horizontal"===o.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===u.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(m=["touchstart","touchmove","touchend","touchcancel"],g=["mousedown","mousemove","mouseup"],h.pointerEvents&&(g=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:m[0],move:m[1],end:m[2],cancel:m[3]},o.touchEventsDesktop={start:g[0],move:g[1],end:g[2]},h.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:c.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.params.init&&o.init(),o}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,n=this.size,s=this.activeIndex,r=1;if(e.centeredSlides){for(var a,l=t[s].swiperSlideSize,o=s+1;o<t.length;o+=1)t[o]&&!a&&(r+=1,(l+=t[o].swiperSlideSize)>n&&(a=!0));for(var c=s-1;c>=0;c-=1)t[c]&&!a&&(r+=1,(l+=t[c].swiperSlideSize)>n&&(a=!0))}else for(var h=s+1;h<t.length;h+=1)i[h]-i[s]<n&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(n(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+i).addClass(""+this.params.containerModifierClass+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),this.emit("changeDirection"),t&&this.update()),this},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,n=i.params,s=i.$el,r=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),c.deleteProps(i)),i.destroyed=!0),null},t.extendDefaults=function(e){c.extend(W,e)},i.extendedDefaults.get=function(){return W},i.defaults.get=function(){return G},i.Class.get=function(){return e},i.$.get=function(){return a},Object.defineProperties(t,i),t}(d),q={name:"device",proto:{device:R},static:{device:R}},Y={name:"support",proto:{support:h},static:{support:h}},Z={isEdge:!!s.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=s.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent)},K={name:"browser",proto:{browser:Z},static:{browser:Z}},J={name:"resize",create:function(){var e=this;c.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){s.addEventListener("resize",this.resize.resizeHandler),s.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){s.removeEventListener("resize",this.resize.resizeHandler),s.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},Q={func:s.MutationObserver||s.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,n=new(0,Q.func)((function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}else i.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(n)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},ee={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){c.extend(this,{observer:{init:Q.init.bind(this),attach:Q.attach.bind(this),destroy:Q.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},te={update:function(e){var t=this,i=t.params,n=i.slidesPerView,s=i.slidesPerGroup,r=i.centeredSlides,a=t.params.virtual,l=a.addSlidesBefore,o=a.addSlidesAfter,h=t.virtual,d=h.from,u=h.to,p=h.slides,f=h.slidesGrid,m=h.renderSlide,g=h.offset;t.updateActiveIndex();var v,y,_,b=t.activeIndex||0;v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(y=Math.floor(n/2)+s+l,_=Math.floor(n/2)+s+o):(y=n+(s-1)+l,_=s+o);var w=Math.max((b||0)-_,0),x=Math.min((b||0)+y,p.length-1),T=(t.slidesGrid[w]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(c.extend(t.virtual,{from:w,to:x,offset:T,slidesGrid:t.slidesGrid}),d===w&&u===x&&!e)return t.slidesGrid!==f&&T!==g&&t.slides.css(v,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:w,to:x,slides:function(){for(var e=[],t=w;t<=x;t+=1)e.push(p[t]);return e}()}),void S();var M=[],E=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var C=d;C<=u;C+=1)(C<w||C>x)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+C+'"]').remove();for(var P=0;P<p.length;P+=1)P>=w&&P<=x&&(void 0===u||e?E.push(P):(P>u&&E.push(P),P<d&&M.push(P)));E.forEach((function(e){t.$wrapperEl.append(m(p[e],e))})),M.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(m(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(v,T+"px"),S()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var n=i.renderSlide?a(i.renderSlide.call(this,e,t)):a('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=n),n},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,n=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&this.virtual.slides.unshift(e[s]);i=t+e.length,n=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,a={};Object.keys(r).forEach((function(e){var t=r[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),a[parseInt(e,10)+n]=t})),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},ie={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){c.extend(this,{virtual:{update:te.update.bind(this),appendSlide:te.appendSlide.bind(this),prependSlide:te.prependSlide.bind(this),removeSlide:te.removeSlide.bind(this),removeAllSlides:te.removeAllSlides.bind(this),renderSlide:te.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};c.extend(this.params,e),c.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},ne={handle:function(e){var t=this.rtlTranslate,n=e;n.originalEvent&&(n=n.originalEvent);var r=n.keyCode||n.charCode,a=this.params.keyboard.pageUpDown,l=a&&33===r,o=a&&34===r,c=37===r,h=39===r,d=38===r,u=40===r;if(!this.allowSlideNext&&(this.isHorizontal()&&h||this.isVertical()&&u||o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&c||this.isVertical()&&d||l))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(l||o||c||h||d||u)){var p=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var f=s.innerWidth,m=s.innerHeight,g=this.$el.offset();t&&(g.left-=this.$el[0].scrollLeft);for(var v=[[g.left,g.top],[g.left+this.width,g.top],[g.left,g.top+this.height],[g.left+this.width,g.top+this.height]],y=0;y<v.length;y+=1){var _=v[y];_[0]>=0&&_[0]<=f&&_[1]>=0&&_[1]<=m&&(p=!0)}if(!p)return}this.isHorizontal()?((l||o||c||h)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((o||h)&&!t||(l||c)&&t)&&this.slideNext(),((l||c)&&!t||(o||h)&&t)&&this.slidePrev()):((l||o||d||u)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(o||u)&&this.slideNext(),(l||d)&&this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(a(i).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(a(i).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},se={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){c.extend(this,{keyboard:{enabled:!1,enable:ne.enable.bind(this),disable:ne.disable.bind(this),handle:ne.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},re={lastScrollTime:c.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return s.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in i;if(!e){var t=i.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&i.implementation&&i.implementation.hasFeature&&!0!==i.implementation.hasFeature("","")&&(e=i.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,s=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,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var s=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(s=a(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!s[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,l=i.rtlTranslate?-1:1,o=re.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=-o.pixelX*l}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=-o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*l:-o.pixelY;if(0===r)return!0;if(n.invert&&(r=-r),i.params.freeMode){var h={time:c.now(),delta:Math.abs(r),direction:Math.sign(r)},d=i.mousewheel.lastEventBeforeSnap,u=d&&h.time<d.time+500&&h.delta<=d.delta&&h.direction===d.direction;if(!u){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var p=i.getTranslate()+r*n.sensitivity,f=i.isBeginning,m=i.isEnd;if(p>=i.minTranslate()&&(p=i.minTranslate()),p<=i.maxTranslate()&&(p=i.maxTranslate()),i.setTransition(0),i.setTranslate(p),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!f&&i.isBeginning||!m&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var g=i.mousewheel.recentWheelEvents;g.length>=15&&g.shift();var v=g.length?g[g.length-1]:void 0,y=g[0];if(g.push(h),v&&(h.delta>v.delta||h.direction!==v.direction))g.splice(0);else if(g.length>=15&&h.time-y.time<500&&y.delta-h.delta>=1&&h.delta<=6){var _=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=h,g.splice(0),i.mousewheel.timeout=c.nextTick((function(){i.slideToClosest(i.params.speed,!0,void 0,_)}),0)}i.mousewheel.timeout||(i.mousewheel.timeout=c.nextTick((function(){i.mousewheel.lastEventBeforeSnap=h,g.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)}),500))}if(u||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),p===i.minTranslate()||p===i.maxTranslate())return!0}}else{var b={time:c.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},w=i.mousewheel.recentWheelEvents;w.length>=2&&w.shift();var x=w.length?w[w.length-1]:void 0;if(w.push(b),x?(b.direction!==x.direction||b.delta>x.delta||b.time>x.time+150)&&i.mousewheel.animateSlider(b):i.mousewheel.animateSlider(b),i.mousewheel.releaseScroll(b))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&c.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new s.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=re.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=a(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=re.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=a(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},ae={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=a(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=a(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),c.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},le={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,n=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,s=this.pagination.$el,r=this.params.loop?Math.ceil((n-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>n-1-2*this.loopedSlides&&(i-=n-2*this.loopedSlides),i>r-1&&(i-=r),i<0&&"bullets"!==this.params.paginationType&&(i=r+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var l,o,c,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),l=i-this.pagination.dynamicBulletIndex,c=((o=l+(Math.min(h.length,t.dynamicMainBullets)-1))+l)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),s.length>1)h.each((function(e,n){var s=a(n),r=s.index();r===i&&s.addClass(t.bulletActiveClass),t.dynamicBullets&&(r>=l&&r<=o&&s.addClass(t.bulletActiveClass+"-main"),r===l&&s.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),r===o&&s.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else{var d=h.eq(i),u=d.index();if(d.addClass(t.bulletActiveClass),t.dynamicBullets){for(var p=h.eq(l),f=h.eq(o),m=l;m<=o;m+=1)h.eq(m).addClass(t.bulletActiveClass+"-main");if(this.params.loop)if(u>=h.length-t.dynamicMainBullets){for(var g=t.dynamicMainBullets;g>=0;g-=1)h.eq(h.length-g).addClass(t.bulletActiveClass+"-main");h.eq(h.length-t.dynamicMainBullets-1).addClass(t.bulletActiveClass+"-prev")}else p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),f.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next");else p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),f.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}}if(t.dynamicBullets){var v=Math.min(h.length,t.dynamicMainBullets+4),y=(this.pagination.bulletSize*v-this.pagination.bulletSize)/2-c*this.pagination.bulletSize,_=e?"right":"left";h.css(this.isHorizontal()?_:"top",y+"px")}}if("fraction"===t.type&&(s.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),s.find("."+t.totalClass).text(t.formatFractionTotal(r))),"progressbar"===t.type){var b;b=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var w=(i+1)/r,x=1,T=1;"horizontal"===b?x=w:T=w,s.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+T+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(s.html(t.renderCustom(this,i+1,r)),this.emit("paginationRender",this,s[0])):this.emit("paginationUpdate",this,s[0]),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,n="";if("bullets"===e.type){for(var s=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<s;r+=1)e.renderBullet?n+=e.renderBullet.call(this,r,e.bulletClass):n+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=a(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=a(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),c.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},oe={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,n=e.dragSize,s=e.trackSize,r=e.$dragEl,a=e.$el,l=this.params.scrollbar,o=n,c=(s-n)*i;t?(c=-c)>0?(o=n-c,c=0):-c+n>s&&(o=s+c):c<0?(o=n+c,c=0):c+n>s&&(o=s-c),this.isHorizontal()?(r.transform("translate3d("+c+"px, 0, 0)"),r[0].style.width=o+"px"):(r.transform("translate3d(0px, "+c+"px, 0)"),r[0].style.height=o+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var n,s=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,a=r*(s/this.size);n="auto"===this.params.scrollbar.dragSize?s*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),c.extend(e,{trackSize:s,divider:r,moveDivider:a,dragSize:n}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,n=this.rtlTranslate,s=i.$el,r=i.dragSize,a=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[this.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(a-r),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var o=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(o),this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),s.transition(0),t.hide&&s.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,n=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=c.nextTick((function(){s.css("opacity",0),s.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,n=this.touchEventsDesktop,s=this.params,r=e.$el[0],a=!(!h.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.addEventListener(t.start,this.scrollbar.onDragStart,a),r.addEventListener(t.move,this.scrollbar.onDragMove,a),r.addEventListener(t.end,this.scrollbar.onDragEnd,l)):(r.addEventListener(n.start,this.scrollbar.onDragStart,a),i.addEventListener(n.move,this.scrollbar.onDragMove,a),i.addEventListener(n.end,this.scrollbar.onDragEnd,l))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,n=this.touchEventsDesktop,s=this.params,r=e.$el[0],a=!(!h.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.removeEventListener(t.start,this.scrollbar.onDragStart,a),r.removeEventListener(t.move,this.scrollbar.onDragMove,a),r.removeEventListener(t.end,this.scrollbar.onDragEnd,l)):(r.removeEventListener(n.start,this.scrollbar.onDragStart,a),i.removeEventListener(n.move,this.scrollbar.onDragMove,a),i.removeEventListener(n.end,this.scrollbar.onDragEnd,l))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,n=a(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&n.length>1&&1===t.find(i.el).length&&(n=t.find(i.el));var s=n.find("."+this.params.scrollbar.dragClass);0===s.length&&(s=a('<div class="'+this.params.scrollbar.dragClass+'"></div>'),n.append(s)),c.extend(e,{$el:n,el:n[0],$dragEl:s,dragEl:s[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},ce={setTransform:function(e,t){var i=this.rtl,n=a(e),s=i?-1:1,r=n.attr("data-swiper-parallax")||"0",l=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y"),c=n.attr("data-swiper-parallax-scale"),h=n.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):this.isHorizontal()?(l=r,o="0"):(o=r,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*s+"%":l*t*s+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=h){var d=h-(h-1)*(1-Math.abs(t));n[0].style.opacity=d}if(null==c)n.transform("translate3d("+l+", "+o+", 0px)");else{var u=c-(c-1)*(1-Math.abs(t));n.transform("translate3d("+l+", "+o+", 0px) scale("+u+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,n=e.progress,s=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,n)})),i.each((function(t,i){var r=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(t/2)-n*(s.length-1)),r=Math.min(Math.max(r,-1),1),a(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,r)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){var n=a(i),s=parseInt(n.attr("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),n.transition(s)}))}},he={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(s-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,n.scaleStart=he.getDistanceBetweenTouches(e)}n.$slideEl&&n.$slideEl.length||(n.$slideEl=a(e.target).closest("."+this.params.slideClass),0===n.$slideEl.length&&(n.$slideEl=this.slides.eq(this.activeIndex)),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass),n.maxRatio=n.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==n.$imageWrapEl.length)?(n.$imageEl&&n.$imageEl.transition(0),this.zoom.isScaling=!0):n.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=he.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=h.gestures?e.scale*i.currentScale:n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),n.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!R.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),t.minRatio),n.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,n=t.image;i.$imageEl&&0!==i.$imageEl.length&&(n.isTouched||(R.android&&e.cancelable&&e.preventDefault(),n.isTouched=!0,n.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,n=t.image,s=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=c.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=c.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var r=n.width*t.scale,a=n.height*t.scale;if(!(r<i.slideWidth&&a<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-r/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-a/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var s=300,r=300,a=n.x*s,l=i.currentX+a,o=n.y*r,c=i.currentY+o;0!==n.x&&(s=Math.abs((l-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((c-i.currentY)/n.y));var h=Math.max(s,r);i.currentX=l,i.currentY=c;var d=i.width*e.scale,u=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-d/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-u/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,s,r,a,l,o,c,h,d,u,p,f,m,g,v=this.zoom,y=this.params.zoom,_=v.gesture,b=v.image;_.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?_.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):_.$slideEl=this.slides.eq(this.activeIndex),_.$imageEl=_.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),_.$imageWrapEl=_.$imageEl.parent("."+y.containerClass)),_.$imageEl&&0!==_.$imageEl.length&&(_.$slideEl.addClass(""+y.zoomedSlideClass),void 0===b.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=b.touchesStart.x,i=b.touchesStart.y),v.scale=_.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,v.currentScale=_.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=_.$slideEl[0].offsetWidth,g=_.$slideEl[0].offsetHeight,n=_.$slideEl.offset().left+m/2-t,s=_.$slideEl.offset().top+g/2-i,l=_.$imageEl[0].offsetWidth,o=_.$imageEl[0].offsetHeight,c=l*v.scale,h=o*v.scale,p=-(d=Math.min(m/2-c/2,0)),f=-(u=Math.min(g/2-h/2,0)),(r=n*v.scale)<d&&(r=d),r>p&&(r=p),(a=s*v.scale)<u&&(a=u),a>f&&(a=f)):(r=0,a=0),_.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+a+"px,0)"),_.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+v.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?i.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):i.$slideEl=this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!h.passiveListener||{passive:!1,capture:!0},n="."+this.params.slideClass;h.gestures?(this.$wrapperEl.on("gesturestart",n,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",n,e.onGestureChange,t),this.$wrapperEl.on("gestureend",n,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,n,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,n,e.onGestureChange,i),this.$wrapperEl.on(this.touchEvents.end,n,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,n,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!h.passiveListener||{passive:!1,capture:!0},n="."+this.params.slideClass;h.gestures?(this.$wrapperEl.off("gesturestart",n,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",n,e.onGestureChange,t),this.$wrapperEl.off("gestureend",n,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,n,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,n,e.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,n,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,n,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},de={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var s=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),r=s.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!s.hasClass(n.elementClass)||s.hasClass(n.loadedClass)||s.hasClass(n.loadingClass)||(r=r.add(s[0])),0!==r.length&&r.each((function(e,r){var l=a(r);l.addClass(n.loadingClass);var o=l.attr("data-background"),c=l.attr("data-src"),h=l.attr("data-srcset"),d=l.attr("data-sizes"),u=l.parent("picture");i.loadImage(l[0],c||o,h,d,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(o?(l.css("background-image",'url("'+o+'")'),l.removeAttr("data-background")):(h&&(l.attr("srcset",h),l.removeAttr("data-srcset")),d&&(l.attr("sizes",d),l.removeAttr("data-sizes")),u.length&&u.children("source").each((function(e,t){var i=a(t);i.attr("data-srcset")&&(i.attr("srcset",i.attr("data-srcset")),i.removeAttr("data-srcset"))})),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(n.loadedClass).removeClass(n.loadingClass),s.find("."+n.preloaderClass).remove(),i.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(i.params.slideDuplicateClass)){var r=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(r.index(),!1)}else{var p=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(p.index(),!1)}}i.emit("lazyImageReady",s[0],l[0]),i.params.autoHeight&&i.updateAutoHeight()}})),i.emit("lazyImageLoad",s[0],l[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides,s=e.activeIndex,r=e.virtual&&i.virtual.enabled,l=i.lazy,o=i.slidesPerView;function c(e){if(r){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function h(e){return r?a(e).attr("data-swiper-slide-index"):a(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var n=r?a(i).attr("data-swiper-slide-index"):a(i).index();e.lazy.loadInSlide(n)}));else if(o>1)for(var d=s;d<s+o;d+=1)c(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(s);if(l.loadPrevNext)if(o>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){for(var u=l.loadPrevNextAmount,p=o,f=Math.min(s+p+Math.max(u,p),n.length),m=Math.max(s-Math.max(p,u),0),g=s+o;g<f;g+=1)c(g)&&e.lazy.loadInSlide(g);for(var v=m;v<s;v+=1)c(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+i.slideNextClass);y.length>0&&e.lazy.loadInSlide(h(y));var _=t.children("."+i.slidePrevClass);_.length>0&&e.lazy.loadInSlide(h(_))}}},ue={LinearSpline:function(e,t){var i,n,s,r,a,l=function(e,t){for(n=-1,i=e.length;i-n>1;)e[s=i+n>>1]<=t?n=s:i=s;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=l(this.x,e),r=a-1,(e-this.x[r])*(this.y[a]-this.y[r])/(this.x[a]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new ue.LinearSpline(this.slidesGrid,e.slidesGrid):new ue.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,s=this,r=s.controller.control;function a(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),n=-s.controller.spline.interpolate(-t)),n&&"container"!==s.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),n=(t-s.minTranslate())*i+e.minTranslate()),s.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var l=0;l<r.length;l+=1)r[l]!==t&&r[l]instanceof X&&a(r[l]);else r instanceof X&&t!==r&&a(r)},setTransition:function(e,t){var i,n=this,s=n.controller.control;function r(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&c.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){s&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==t&&s[i]instanceof X&&r(s[i]);else s instanceof X&&t!==s&&r(s)}},pe={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){c.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:ue.getInterpolateFunction.bind(this),setTranslate:ue.setTranslate.bind(this),setTransition:ue.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},fe={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=a(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?(this.a11y.disableEl(i),this.a11y.makeElNotFocusable(i)):(this.a11y.enableEl(i),this.a11y.makeElFocusable(i))),t&&t.length>0&&(this.isEnd?(this.a11y.disableEl(t),this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t),this.a11y.makeElFocusable(t)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i,n){var s=a(n);e.a11y.makeElFocusable(s),e.a11y.addElRole(s,"button"),e.a11y.addElLabel(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},me={init:function(){if(this.params.history){if(!s.history||!s.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=me.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||s.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||s.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=me.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=s.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(t),n=me.slugify(i.attr("data-history"));s.location.pathname.includes(e)||(n=e+"/"+n);var r=s.history.state;r&&r.value===n||(this.params.history.replaceState?s.history.replaceState({value:n},null,n):s.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,s=this.slides.length;n<s;n+=1){var r=this.slides.eq(n);if(me.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var a=r.index();this.slideTo(a,e,i)}}else this.slideTo(0,e,i)}},ge={onHashCange:function(){this.emit("hashChange");var e=i.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var t=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===t)return;this.slideTo(t)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&s.history&&s.history.replaceState)s.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1),this.emit("hashSet");else{var e=this.slides.eq(this.activeIndex),t=e.attr("data-hash")||e.attr("data-history");i.location.hash=t||"",this.emit("hashSet")}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var e=i.location.hash.replace("#","");if(e)for(var t=0,n=this.slides.length;t<n;t+=1){var r=this.slides.eq(t);if((r.attr("data-hash")||r.attr("data-history"))===e&&!r.hasClass(this.params.slideDuplicateClass)){var l=r.index();this.slideTo(l,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&a(s).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&a(s).off("hashchange",this.hashNavigation.onHashCange)}},ve={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=c.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ye={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),n=-i[0].swiperSlideOffset;this.params.virtualTranslate||(n-=this.translate);var s=0;this.isHorizontal()||(s=n,n=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+n+"px, "+s+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,n=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;i.transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)n.trigger(e[i])}}))}}},_e={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,n=this.slides,s=this.width,r=this.height,l=this.rtlTranslate,o=this.size,c=this.params.cubeEffect,h=this.isHorizontal(),d=this.virtual&&this.params.virtual.enabled,u=0;c.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=a('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:s+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=a('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var p=0;p<n.length;p+=1){var f=n.eq(p),m=p;d&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,v=Math.floor(g/360);l&&(g=-g,v=Math.floor(-g/360));var y=Math.max(Math.min(f[0].progress,1),-1),_=0,b=0,w=0;m%4==0?(_=4*-v*o,w=0):(m-1)%4==0?(_=0,w=4*-v*o):(m-2)%4==0?(_=o+4*v*o,w=o):(m-3)%4==0&&(_=-o,w=3*o+4*o*v),l&&(_=-_),h||(b=_,_=0);var x="rotateX("+(h?0:-g)+"deg) rotateY("+(h?g:0)+"deg) translate3d("+_+"px, "+b+"px, "+w+"px)";if(y<=1&&y>-1&&(u=90*m+90*y,l&&(u=90*-m-90*y)),f.transform(x),c.slideShadows){var T=h?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),S=h?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===T.length&&(T=a('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),f.append(T)),0===S.length&&(S=a('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),f.append(S)),T.length&&(T[0].style.opacity=Math.max(-y,0)),S.length&&(S[0].style.opacity=Math.max(y,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+o/2+"px","-moz-transform-origin":"50% 50% -"+o/2+"px","-ms-transform-origin":"50% 50% -"+o/2+"px","transform-origin":"50% 50% -"+o/2+"px"}),c.shadow)if(h)e.transform("translate3d(0px, "+(s/2+c.shadowOffset)+"px, "+-s/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var M=Math.abs(u)-90*Math.floor(Math.abs(u)/90),E=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),C=c.shadowScale,P=c.shadowScale/E,k=c.shadowOffset;e.transform("scale3d("+C+", 1, "+P+") translate3d(0px, "+(r/2+k)+"px, "+-r/2/P+"px) rotateX(-90deg)")}var A=Z.isSafari||Z.isWebView?-o/2:0;i.transform("translate3d(0px,0,"+A+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},be={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var n=e.eq(i),s=n[0].progress;this.params.flipEffect.limitRotation&&(s=Math.max(Math.min(n[0].progress,1),-1));var r=-180*s,l=0,o=-n[0].swiperSlideOffset,c=0;if(this.isHorizontal()?t&&(r=-r):(c=o,o=0,l=-r,r=0),n[0].style.zIndex=-Math.abs(Math.round(s))+e.length,this.params.flipEffect.slideShadows){var h=this.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===h.length&&(h=a('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),n.append(h)),0===d.length&&(d=a('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),n.append(d)),h.length&&(h[0].style.opacity=Math.max(-s,0)),d.length&&(d[0].style.opacity=Math.max(s,0))}n.transform("translate3d("+o+"px, "+c+"px, 0px) rotateX("+l+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var t=this,i=t.slides,n=t.activeIndex,s=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(n).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},we={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,n=this.$wrapperEl,s=this.slidesSizesGrid,r=this.params.coverflowEffect,l=this.isHorizontal(),o=this.translate,c=l?e/2-o:t/2-o,d=l?r.rotate:-r.rotate,u=r.depth,p=0,f=i.length;p<f;p+=1){var m=i.eq(p),g=s[p],v=(c-m[0].swiperSlideOffset-g/2)/g*r.modifier,y=l?d*v:0,_=l?0:d*v,b=-u*Math.abs(v),w=r.stretch;"string"==typeof w&&-1!==w.indexOf("%")&&(w=parseFloat(r.stretch)/100*g);var x=l?0:w*v,T=l?w*v:0,S=1-(1-r.scale)*Math.abs(v);Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(b)<.001&&(b=0),Math.abs(y)<.001&&(y=0),Math.abs(_)<.001&&(_=0),Math.abs(S)<.001&&(S=0);var M="translate3d("+T+"px,"+x+"px,"+b+"px)  rotateX("+_+"deg) rotateY("+y+"deg) scale("+S+")";if(m.transform(M),m[0].style.zIndex=1-Math.abs(Math.round(v)),r.slideShadows){var E=l?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),C=l?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===E.length&&(E=a('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),m.append(E)),0===C.length&&(C=a('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),m.append(C)),E.length&&(E[0].style.opacity=v>0?v:0),C.length&&(C[0].style.opacity=-v>0?-v:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(n[0].style.perspectiveOrigin=c+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},xe={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,c.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):c.isObject(e.swiper)&&(this.thumbs.swiper=new t(c.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&a(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var n;if(n=e.params.loop?parseInt(a(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var s=this.activeIndex;this.slides.eq(s).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,s=this.activeIndex);var r=this.slides.eq(s).prevAll('[data-swiper-slide-index="'+n+'"]').eq(0).index(),l=this.slides.eq(s).nextAll('[data-swiper-slide-index="'+n+'"]').eq(0).index();n=void 0===r?l:void 0===l?r:l-s<s-r?l:r}this.slideTo(n)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView,n=this.params.thumbs.autoScrollOffset,s=n&&!t.params.loop;if(this.realIndex!==t.realIndex||s){var r,a,l=t.activeIndex;if(t.params.loop){t.slides.eq(l).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,l=t.activeIndex);var o=t.slides.eq(l).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),c=t.slides.eq(l).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();r=void 0===o?c:void 0===c?o:c-l==l-o?l:c-l<l-o?c:o,a=this.activeIndex>this.previousIndex?"next":"prev"}else a=(r=this.realIndex)>this.previousIndex?"next":"prev";s&&(r+="next"===a?n:-1*n),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(r)<0&&(t.params.centeredSlides?r=r>l?r-Math.floor(i/2)+1:r+Math.floor(i/2)-1:r>l&&(r=r-i+1),t.slideTo(r,e?0:void 0))}var h=1,d=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(h=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(h=1),h=Math.floor(h),t.slides.removeClass(d),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var u=0;u<h;u+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+u)+'"]').addClass(d);else for(var p=0;p<h;p+=1)t.slides.eq(this.realIndex+p).addClass(d)}}},Te=[q,Y,K,J,ee,ie,se,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){c.extend(this,{mousewheel:{enabled:!1,enable:re.enable.bind(this),disable:re.disable.bind(this),handle:re.handle.bind(this),handleMouseEnter:re.handleMouseEnter.bind(this),handleMouseLeave:re.handleMouseLeave.bind(this),animateSlider:re.animateSlider.bind(this),releaseScroll:re.releaseScroll.bind(this),lastScrollTime:c.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){c.extend(this,{navigation:{init:ae.init.bind(this),update:ae.update.bind(this),destroy:ae.destroy.bind(this),onNextClick:ae.onNextClick.bind(this),onPrevClick:ae.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,n=i.$nextEl,s=i.$prevEl;!this.params.navigation.hideOnClick||a(e.target).is(s)||a(e.target).is(n)||(n?t=n.hasClass(this.params.navigation.hiddenClass):s&&(t=s.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),n&&n.toggleClass(this.params.navigation.hiddenClass),s&&s.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{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:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){c.extend(this,{pagination:{init:le.init.bind(this),render:le.render.bind(this),update:le.update.bind(this),destroy:le.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!a(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){c.extend(this,{scrollbar:{init:oe.init.bind(this),destroy:oe.destroy.bind(this),updateSize:oe.updateSize.bind(this),setTranslate:oe.setTranslate.bind(this),setTransition:oe.setTransition.bind(this),enableDraggable:oe.enableDraggable.bind(this),disableDraggable:oe.disableDraggable.bind(this),setDragPosition:oe.setDragPosition.bind(this),getPointerPosition:oe.getPointerPosition.bind(this),onDragStart:oe.onDragStart.bind(this),onDragMove:oe.onDragMove.bind(this),onDragEnd:oe.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){c.extend(this,{parallax:{setTransform:ce.setTransform.bind(this),setTranslate:ce.setTranslate.bind(this),setTransition:ce.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=he[i].bind(e)})),c.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,s)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){c.extend(this,{lazy:{initialImageLoaded:!1,load:de.load.bind(this),loadInSlide:de.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},pe,{name:"a11y",params:{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}}"}},create:function(){var e=this;c.extend(e,{a11y:{liveRegion:a('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(fe).forEach((function(t){e.a11y[t]=fe[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){c.extend(this,{history:{init:me.init.bind(this),setHistory:me.setHistory.bind(this),setHistoryPopState:me.setHistoryPopState.bind(this),scrollToSlide:me.scrollToSlide.bind(this),destroy:me.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){c.extend(this,{hashNavigation:{initialized:!1,init:ge.init.bind(this),destroy:ge.destroy.bind(this),setHash:ge.setHash.bind(this),onHashCange:ge.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;c.extend(e,{autoplay:{running:!1,paused:!1,run:ve.run.bind(e),start:ve.start.bind(e),stop:ve.stop.bind(e),pause:ve.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){c.extend(this,{fadeEffect:{setTranslate:ye.setTranslate.bind(this),setTransition:ye.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){c.extend(this,{cubeEffect:{setTranslate:_e.setTranslate.bind(this),setTransition:_e.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){c.extend(this,{flipEffect:{setTranslate:be.setTranslate.bind(this),setTransition:be.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){c.extend(this,{coverflowEffect:{setTranslate:we.setTranslate.bind(this),setTransition:we.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){c.extend(this,{thumbs:{swiper:null,init:xe.init.bind(this),update:xe.update.bind(this),onThumbClick:xe.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===X.use&&(X.use=X.Class.use,X.installModule=X.Class.installModule),X.use(Te),X}()},function(e,t,i){"use strict";(function(e){var n=i(30),s=function(){this.menu={inner:"[data-js-footer-menu-inner]",toggle:".js-footer-menu-toggle"}};s.prototype.menuToggle=function(){var t=this;e(document).on("click",this.menu.toggle,(function(i){var n={trigger:i.currentTarget,next:i.currentTarget.nextElementSibling};if(n.inner=n.trigger.parentElement,n.trigger.classList.contains("open")){if(n.trigger.classList.remove("open"),!n.next)return;e(n.next).slideUp()}else{if(n.trigger.classList.add("open"),!n.next)return;e(n.next).slideDown((function(){n.inner&&t.add_menu_toggle_inner_minWidth_value(n.inner)}))}}))},s.prototype.set_menu_toggle_inner_minWidth=function(){var e=this;document.querySelectorAll(e.menu.inner).forEach((function(t){return e.add_menu_toggle_inner_minWidth_value(t)}))},s.prototype.add_menu_toggle_inner_minWidth_value=function(e){if(window.innerWidth<600)return!1;var t=this.get_menu_toggle_inner_minWidth_value(e);e.style.minWidth=t+"px"},s.prototype.get_menu_toggle_inner_minWidth_value=function(e){if(e){var t=Array.from(e.children),i=[];if(0!==t.length){for(var s=0;s<t.length;s++){var r=t[s];i.push(r.clientWidth)}return Object(n.a)(i)}}},t.a=new s}).call(this,i(2))},function(e,t,i){var n,s;
/*!
 * ScrollMagic v2.0.8 (2020-08-14)
 * The javascript library for magical scroll interactions.
 * (c) 2020 Jan Paepke (@janpaepke)
 * Project Website: http://scrollmagic.io
 * 
 * @version 2.0.8
 * @license Dual licensed under MIT license and GPL.
 * @author Jan Paepke - e-mail@janpaepke.de
 *
 * @file ScrollMagic main library.
 */void 0===(s="function"==typeof(n=function(){"use strict";var e=function(){n.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};e.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0),e.Controller=function(i){var s,r,a="ScrollMagic.Controller",l=t.defaults,o=this,c=n.extend({},l,i),h=[],d=!1,u=0,p="PAUSED",f=!0,m=0,g=!0,v=function(){c.refreshInterval>0&&(r=window.setTimeout(S,c.refreshInterval))},y=function(){return c.vertical?n.get.scrollTop(c.container):n.get.scrollLeft(c.container)},_=function(){return c.vertical?n.get.height(c.container):n.get.width(c.container)},b=this._setScrollPos=function(e){c.vertical?f?window.scrollTo(n.get.scrollLeft(),e):c.container.scrollTop=e:f?window.scrollTo(e,n.get.scrollTop()):c.container.scrollLeft=e},w=function(){if(g&&d){var e=n.type.Array(d)?d:h.slice(0);d=!1;var t=u,i=(u=o.scrollPos())-t;0!==i&&(p=i>0?"FORWARD":"REVERSE"),"REVERSE"===p&&e.reverse(),e.forEach((function(t,i){M(3,"updating Scene "+(i+1)+"/"+e.length+" ("+h.length+" total)"),t.update(!0)})),0===e.length&&c.loglevel>=3&&M(3,"updating 0 Scenes (nothing added to controller)")}},x=function(){s=n.rAF(w)},T=function(e){M(3,"event fired causing an update:",e.type),"resize"==e.type&&(m=_(),p="PAUSED"),!0!==d&&(d=!0,x())},S=function(){if(!f&&m!=_()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(t){(e=document.createEvent("Event")).initEvent("resize",!1,!1)}c.container.dispatchEvent(e)}h.forEach((function(e,t){e.refresh()})),v()},M=this._log=function(e,t){c.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),n.log.apply(window,arguments))};this._options=c;var E=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort((function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1})),t};return this.addScene=function(t){if(n.type.Array(t))t.forEach((function(e,t){o.addScene(e)}));else if(t instanceof e.Scene){if(t.controller()!==o)t.addTo(o);else if(h.indexOf(t)<0){for(var i in h.push(t),h=E(h),t.on("shift.controller_sort",(function(){h=E(h)})),c.globalSceneOptions)t[i]&&t[i].call(t,c.globalSceneOptions[i]);M(3,"adding Scene (now "+h.length+" total)")}}else M(1,"ERROR: invalid argument supplied for '.addScene()'");return o},this.removeScene=function(e){if(n.type.Array(e))e.forEach((function(e,t){o.removeScene(e)}));else{var t=h.indexOf(e);t>-1&&(e.off("shift.controller_sort"),h.splice(t,1),M(3,"removing Scene (now "+h.length+" left)"),e.remove())}return o},this.updateScene=function(t,i){return n.type.Array(t)?t.forEach((function(e,t){o.updateScene(e,i)})):i?t.update(!0):!0!==d&&t instanceof e.Scene&&(-1==(d=d||[]).indexOf(t)&&d.push(t),d=E(d),x()),o},this.update=function(e){return T({type:"resize"}),e&&w(),o},this.scrollTo=function(t,i){if(n.type.Number(t))b.call(c.container,t,i);else if(t instanceof e.Scene)t.controller()===o?o.scrollTo(t.scrollOffset(),i):M(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",t);else if(n.type.Function(t))b=t;else{var s=n.get.elements(t)[0];if(s){for(;s.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)s=s.parentNode;var r=c.vertical?"top":"left",a=n.get.offset(c.container),l=n.get.offset(s);f||(a[r]-=o.scrollPos()),o.scrollTo(l[r]-a[r],i)}else M(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",t)}return o},this.scrollPos=function(e){return arguments.length?(n.type.Function(e)?y=e:M(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),o):y.call(o)},this.info=function(e){var t={size:m,vertical:c.vertical,scrollPos:u,scrollDirection:p,container:c.container,isDocument:f};return arguments.length?void 0!==t[e]?t[e]:void M(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(c.loglevel!=e&&(c.loglevel=e),o):c.loglevel},this.enabled=function(e){return arguments.length?(g!=e&&(g=!!e,o.updateScene(h,!0)),o):g},this.destroy=function(e){window.clearTimeout(r);for(var t=h.length;t--;)h[t].destroy(e);return c.container.removeEventListener("resize",T),c.container.removeEventListener("scroll",T),n.cAF(s),M(3,"destroyed "+a+" (reset: "+(e?"true":"false")+")"),null},function(){for(var t in c)l.hasOwnProperty(t)||(M(2,'WARNING: Unknown option "'+t+'"'),delete c[t]);if(c.container=n.get.elements(c.container)[0],!c.container)throw M(1,"ERROR creating object "+a+": No valid scroll container supplied"),a+" init failed.";(f=c.container===window||c.container===document.body||!document.body.contains(c.container))&&(c.container=window),m=_(),c.container.addEventListener("resize",T),c.container.addEventListener("scroll",T);var i=parseInt(c.refreshInterval,10);c.refreshInterval=n.type.Number(i)?i:l.refreshInterval,v(),M(3,"added new "+a+" controller (v"+e.version+")")}(),o};var t={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};e.Controller.addOption=function(e,i){t.defaults[e]=i},e.Controller.extend=function(t){var i=this;e.Controller=function(){return i.apply(this,arguments),this.$super=n.extend({},this),t.apply(this,arguments)||this},n.extend(e.Controller,i),e.Controller.prototype=i.prototype,e.Controller.prototype.constructor=e.Controller},e.Scene=function(t){var s,r,a="ScrollMagic.Scene",l=i.defaults,o=this,c=n.extend({},l,t),h="BEFORE",d=0,u={start:0,end:0},p=0,f=!0,m={};this.on=function(e,t){return n.type.Function(t)?(e=e.trim().split(" ")).forEach((function(e){var i=e.split("."),n=i[0],s=i[1];"*"!=n&&(m[n]||(m[n]=[]),m[n].push({namespace:s||"",callback:t}))})):g(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),o},this.off=function(e,t){return e?((e=e.trim().split(" ")).forEach((function(e,i){var n=e.split("."),s=n[0],r=n[1]||"";("*"===s?Object.keys(m):[s]).forEach((function(e){for(var i=m[e]||[],n=i.length;n--;){var s=i[n];!s||r!==s.namespace&&"*"!==r||t&&t!=s.callback||i.splice(n,1)}i.length||delete m[e]}))})),o):(g(1,"ERROR: Invalid event name supplied."),o)},this.trigger=function(t,i){if(t){var n=t.trim().split("."),s=n[0],r=n[1],a=m[s];g(3,"event fired:",s,i?"->":"",i||""),a&&a.forEach((function(t,n){r&&r!==t.namespace||t.callback.call(o,new e.Event(s,t.namespace,o,i))}))}else g(1,"ERROR: Invalid event name supplied.");return o},o.on("change.internal",(function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?w():"reverse"===e.what&&o.update())})).on("shift.internal",(function(e){_(),o.update()}));var g=this._log=function(e,t){c.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),n.log.apply(window,arguments))};this.addTo=function(t){return t instanceof e.Controller?r!=t&&(r&&r.removeScene(o),r=t,S(),b(!0),w(!0),_(),r.info("container").addEventListener("resize",x),t.addScene(o),o.trigger("add",{controller:r}),g(3,"added "+a+" to controller"),o.update()):g(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),o},this.enabled=function(e){return arguments.length?(f!=e&&(f=!!e,o.update(!0)),o):f},this.remove=function(){if(r){r.info("container").removeEventListener("resize",x);var e=r;r=void 0,e.removeScene(o),o.trigger("remove"),g(3,"removed "+a+" from controller")}return o},this.destroy=function(e){return o.trigger("destroy",{reset:e}),o.remove(),o.off("*.*"),g(3,"destroyed "+a+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(r)if(e)if(r.enabled()&&f){var t,i=r.info("scrollPos");t=c.duration>0?(i-u.start)/(u.end-u.start):i>=u.start?1:0,o.trigger("update",{startPos:u.start,endPos:u.end,scrollPos:i}),o.progress(t)}else v&&"DURING"===h&&C(!0);else r.updateScene(o,!1);return o},this.refresh=function(){return b(),w(),o},this.progress=function(e){if(arguments.length){var t=!1,i=h,n=r?r.info("scrollDirection"):"PAUSED",s=c.reverse||e>=d;if(0===c.duration?(t=d!=e,h=0==(d=e<1&&s?0:1)?"BEFORE":"DURING"):e<0&&"BEFORE"!==h&&s?(d=0,h="BEFORE",t=!0):e>=0&&e<1&&s?(d=e,h="DURING",t=!0):e>=1&&"AFTER"!==h?(d=1,h="AFTER",t=!0):"DURING"!==h||s||C(),t){var a={progress:d,state:h,scrollDirection:n},l=h!=i,u=function(e){o.trigger(e,a)};l&&"DURING"!==i&&(u("enter"),u("BEFORE"===i?"start":"end")),u("progress"),l&&"DURING"!==h&&(u("BEFORE"===h?"start":"end"),u("leave"))}return o}return d};var v,y,_=function(){u={start:p+c.offset},r&&c.triggerElement&&(u.start-=r.info("size")*c.triggerHook),u.end=u.start+c.duration},b=function(e){s&&M("duration",s.call(o))&&!e&&(o.trigger("change",{what:"duration",newval:c.duration}),o.trigger("shift",{reason:"duration"}))},w=function(e){var t=0,i=c.triggerElement;if(r&&(i||p>0)){if(i)if(i.parentNode){for(var s=r.info(),a=n.get.offset(s.container),l=s.vertical?"top":"left";i.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)i=i.parentNode;var h=n.get.offset(i);s.isDocument||(a[l]-=r.scrollPos()),t=h[l]-a[l]}else g(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),o.triggerElement(void 0);var d=t!=p;p=t,d&&!e&&o.trigger("shift",{reason:"triggerElementPosition"})}},x=function(e){c.triggerHook>0&&o.trigger("shift",{reason:"containerResize"})},T=n.extend(i.validate,{duration:function(e){if(n.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return r?r.info("size")*t:0}}if(n.type.Function(e)){s=e;try{e=parseFloat(s.call(o))}catch(t){e=-1}}if(e=parseFloat(e),!n.type.Number(e)||e<0)throw s?(s=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e}}),S=function(e){(e=arguments.length?[e]:Object.keys(T)).forEach((function(e,t){var i;if(T[e])try{i=T[e](c[e])}catch(t){i=l[e];var s=n.type.String(t)?[t]:t;n.type.Array(s)?(s[0]="ERROR: "+s[0],s.unshift(1),g.apply(this,s)):g(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message)}finally{c[e]=i}}))},M=function(e,t){var i=!1,n=c[e];return c[e]!=t&&(c[e]=t,S(e),i=n!=c[e]),i},E=function(e){o[e]||(o[e]=function(t){return arguments.length?("duration"===e&&(s=void 0),M(e,t)&&(o.trigger("change",{what:e,newval:c[e]}),i.shifts.indexOf(e)>-1&&o.trigger("shift",{reason:e})),o):c[e]})};this.controller=function(){return r},this.state=function(){return h},this.scrollOffset=function(){return u.start},this.triggerPosition=function(){var e=c.offset;return r&&(c.triggerElement?e+=p:e+=r.info("size")*o.triggerHook()),e},o.on("shift.internal",(function(e){var t="duration"===e.reason;("AFTER"===h&&t||"DURING"===h&&0===c.duration)&&C(),t&&P()})).on("progress.internal",(function(e){C()})).on("add.internal",(function(e){P()})).on("destroy.internal",(function(e){o.removePin(e.reset)}));var C=function(e){if(v&&r){var t=r.info(),i=y.spacer.firstChild;if(e||"DURING"!==h){var s={position:y.inFlow?"relative":"absolute",top:0,left:0},a=n.css(i,"position")!=s.position;y.pushFollowers?c.duration>0&&("AFTER"===h&&0===parseFloat(n.css(y.spacer,"padding-top"))||"BEFORE"===h&&0===parseFloat(n.css(y.spacer,"padding-bottom")))&&(a=!0):s[t.vertical?"top":"left"]=c.duration*d,n.css(i,s),a&&P()}else{"fixed"!=n.css(i,"position")&&(n.css(i,{position:"fixed"}),P());var l=n.get.offset(y.spacer,!0),o=c.reverse||0===c.duration?t.scrollPos-u.start:Math.round(d*c.duration*10)/10;l[t.vertical?"top":"left"]+=o,n.css(y.spacer.firstChild,{top:l.top,left:l.left})}}},P=function(){if(v&&r&&y.inFlow){var e="DURING"===h,t=r.info("vertical"),i=y.spacer.firstChild,s=n.isMarginCollapseType(n.css(y.spacer,"display")),a={};y.relSize.width||y.relSize.autoFullWidth?e?n.css(v,{width:n.get.width(y.spacer)}):n.css(v,{width:"100%"}):(a["min-width"]=n.get.width(t?v:i,!0,!0),a.width=e?a["min-width"]:"auto"),y.relSize.height?e?n.css(v,{height:n.get.height(y.spacer)-(y.pushFollowers?c.duration:0)}):n.css(v,{height:"100%"}):(a["min-height"]=n.get.height(t?i:v,!0,!s),a.height=e?a["min-height"]:"auto"),y.pushFollowers&&(a["padding"+(t?"Top":"Left")]=c.duration*d,a["padding"+(t?"Bottom":"Right")]=c.duration*(1-d)),n.css(y.spacer,a)}},k=function(){r&&v&&"DURING"===h&&!r.info("isDocument")&&C()},A=function(){r&&v&&"DURING"===h&&((y.relSize.width||y.relSize.autoFullWidth)&&n.get.width(window)!=n.get.width(y.spacer.parentNode)||y.relSize.height&&n.get.height(window)!=n.get.height(y.spacer.parentNode))&&P()},L=function(e){r&&v&&"DURING"===h&&!r.info("isDocument")&&(e.preventDefault(),r._setScrollPos(r.info("scrollPos")-((e.wheelDelta||e[r.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,t){var i=t&&t.hasOwnProperty("pushFollowers");if(t=n.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},t),!(e=n.get.elements(e)[0]))return g(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),o;if("fixed"===n.css(e,"position"))return g(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),o;if(v){if(v===e)return o;o.removePin()}var s=(v=e).parentNode.style.display,r=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];v.parentNode.style.display="none";var a="absolute"!=n.css(v,"position"),l=n.css(v,r.concat(["display"])),h=n.css(v,["width","height"]);v.parentNode.style.display=s,!a&&t.pushFollowers&&(g(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),t.pushFollowers=!1),window.setTimeout((function(){v&&0===c.duration&&i&&t.pushFollowers&&g(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")}),0);var d=v.parentNode.insertBefore(document.createElement("div"),v),u=n.extend(l,{position:a?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(a||n.extend(u,n.css(v,["width","height"])),n.css(d,u),d.setAttribute("data-scrollmagic-pin-spacer",""),n.addClass(d,t.spacerClass),y={spacer:d,relSize:{width:"%"===h.width.slice(-1),height:"%"===h.height.slice(-1),autoFullWidth:"auto"===h.width&&a&&n.isMarginCollapseType(l.display)},pushFollowers:t.pushFollowers,inFlow:a},!v.___origStyle){v.___origStyle={};var p=v.style;r.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach((function(e){v.___origStyle[e]=p[e]||""}))}return y.relSize.width&&n.css(d,{width:h.width}),y.relSize.height&&n.css(d,{height:h.height}),d.appendChild(v),n.css(v,{position:a?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(y.relSize.width||y.relSize.autoFullWidth)&&n.css(v,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",k),window.addEventListener("resize",k),window.addEventListener("resize",A),v.addEventListener("mousewheel",L),v.addEventListener("DOMMouseScroll",L),g(3,"added pin"),C(),o},this.removePin=function(e){if(v){if("DURING"===h&&C(!0),e||!r){var t=y.spacer.firstChild;if(t.hasAttribute("data-scrollmagic-pin-spacer")){var i=y.spacer.style,s={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach((function(e){s[e]=i[e]||""})),n.css(t,s)}y.spacer.parentNode.insertBefore(t,y.spacer),y.spacer.parentNode.removeChild(y.spacer),v.parentNode.hasAttribute("data-scrollmagic-pin-spacer")||(n.css(v,v.___origStyle),delete v.___origStyle)}window.removeEventListener("scroll",k),window.removeEventListener("resize",k),window.removeEventListener("resize",A),v.removeEventListener("mousewheel",L),v.removeEventListener("DOMMouseScroll",L),v=void 0,g(3,"removed pin (reset: "+(e?"true":"false")+")")}return o};var O,I=[];return o.on("destroy.internal",(function(e){o.removeClassToggle(e.reset)})),this.setClassToggle=function(e,t){var i=n.get.elements(e);return 0!==i.length&&n.type.String(t)?(I.length>0&&o.removeClassToggle(),O=t,I=i,o.on("enter.internal_class leave.internal_class",(function(e){var t="enter"===e.type?n.addClass:n.removeClass;I.forEach((function(e,i){t(e,O)}))})),o):(g(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),o)},this.removeClassToggle=function(e){return e&&I.forEach((function(e,t){n.removeClass(e,O)})),o.off("start.internal_class end.internal_class"),O=void 0,I=[],o},function(){for(var e in c)l.hasOwnProperty(e)||(g(2,'WARNING: Unknown option "'+e+'"'),delete c[e]);for(var t in l)E(t);S()}(),o};var i={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!n.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=n.get.elements(e)[0];if(!t||!t.parentNode)throw['Element defined in option "triggerElement" was not found:',e];e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(n.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw['Invalid value for option "triggerHook": ',e];e=t[e]}return e},reverse:function(e){return!!e},loglevel:function(e){if(e=parseInt(e),!n.type.Number(e)||e<0||e>3)throw['Invalid value for option "loglevel":',e];return e}},shifts:["duration","offset","triggerHook"]};e.Scene.addOption=function(t,n,s,r){t in i.defaults?e._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+t+"', because it already exists."):(i.defaults[t]=n,i.validate[t]=s,r&&i.shifts.push(t))},e.Scene.extend=function(t){var i=this;e.Scene=function(){return i.apply(this,arguments),this.$super=n.extend({},this),t.apply(this,arguments)||this},n.extend(e.Scene,i),e.Scene.prototype=i.prototype,e.Scene.prototype.constructor=e.Scene},e.Event=function(e,t,i,n){for(var s in n=n||{})this[s]=n[s];return this.type=e,this.target=this.currentTarget=i,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var n=e._util=function(e){var t,i={},n=function(e){return parseFloat(e)||0},s=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},r=function(t,i,r,a){if((i=i===document?e:i)===e)a=!1;else if(!f.DomElement(i))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var l=(r?i["offset"+t]||i["outer"+t]:i["client"+t]||i["inner"+t])||0;if(r&&a){var o=s(i);l+="Height"===t?n(o.marginTop)+n(o.marginBottom):n(o.marginLeft)+n(o.marginRight)}return l},a=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))};i.extend=function(e){for(e=e||{},t=1;t<arguments.length;t++)if(arguments[t])for(var i in arguments[t])arguments[t].hasOwnProperty(i)&&(e[i]=arguments[t][i]);return e},i.isMarginCollapseType=function(e){return["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1};var l=0,o=["ms","moz","webkit","o"],c=e.requestAnimationFrame,h=e.cancelAnimationFrame;for(t=0;!c&&t<o.length;++t)c=e[o[t]+"RequestAnimationFrame"],h=e[o[t]+"CancelAnimationFrame"]||e[o[t]+"CancelRequestAnimationFrame"];c||(c=function(t){var i=(new Date).getTime(),n=Math.max(0,16-(i-l)),s=e.setTimeout((function(){t(i+n)}),n);return l=i+n,s}),h||(h=function(t){e.clearTimeout(t)}),i.rAF=c.bind(e),i.cAF=h.bind(e);var d=["error","warn","log"],u=e.console||{};for(u.log=u.log||function(){},t=0;t<d.length;t++){var p=d[t];u[p]||(u[p]=u.log)}i.log=function(e){(e>d.length||e<=0)&&(e=d.length);var t=new Date,i=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),n=d[e-1],s=Array.prototype.splice.call(arguments,1),r=Function.prototype.bind.call(u[n],u);s.unshift(i),r.apply(u,s)};var f=i.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};f.String=function(e){return"string"===f(e)},f.Function=function(e){return"function"===f(e)},f.Array=function(e){return Array.isArray(e)},f.Number=function(e){return!f.Array(e)&&e-parseFloat(e)+1>=0},f.DomElement=function(e){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var m=i.get={};return m.elements=function(t){var i=[];if(f.String(t))try{t=document.querySelectorAll(t)}catch(e){return i}if("nodelist"===f(t)||f.Array(t)||t instanceof NodeList)for(var n=0,s=i.length=t.length;n<s;n++){var r=t[n];i[n]=f.DomElement(r)?r:m.elements(r)}else(f.DomElement(t)||t===document||t===e)&&(i=[t]);return i},m.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:e.pageYOffset||0},m.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0},m.width=function(e,t,i){return r("width",e,t,i)},m.height=function(e,t,i){return r("height",e,t,i)},m.offset=function(e,t){var i={top:0,left:0};if(e&&e.getBoundingClientRect){var n=e.getBoundingClientRect();i.top=n.top,i.left=n.left,t||(i.top+=m.scrollTop(),i.left+=m.scrollLeft())}return i},i.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},i.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},i.css=function(e,t){if(f.String(t))return s(e)[a(t)];if(f.Array(t)){var i={},n=s(e);return t.forEach((function(e,t){i[e]=n[a(e)]})),i}for(var r in t){var l=t[r];l==parseFloat(l)&&(l+="px"),e.style[a(r)]=l}},i}(window||{});return e.Scene.prototype.addIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.removeIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.setTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.removeTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.setVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e.Scene.prototype.removeVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e})?n.call(t,i,t,e):n)||(e.exports=s)},function(e,t,i){(function(i){var n,s=e.exports&&void 0!==i?i:this||window;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 * 
 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/(s._gsQueue||(s._gsQueue=[])).push((function(){"use strict";var e,t,i,n,r,a,l,o,c,h,d,u,p,f;s._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(e,t,i){var n=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},s=function(e,t,i){var n,s,r=e.cycle;for(n in r)s=r[n],e[n]="function"==typeof s?s(i,t[i],t):s[i%s.length];delete e.cycle},r=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},i=t.ease,n=t.from||0,s=t.base||0,r={},a=isNaN(n),l=t.axis,o={center:.5,end:1}[n]||0;return function(e,c,h){var d,u,p,f,m,g,v,y,_,b=(h||t).length,w=r[b];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=h[_++].getBoundingClientRect().left)&&_<b;);_--}for(w=r[b]=[],d=a?Math.min(_,b)*o-.5:n%_,u=a?b*o/_-.5:n/_|0,v=0,y=1/0,g=0;g<b;g++)p=g%_-d,f=u-(g/_|0),w[g]=m=l?Math.abs("y"===l?f:p):Math.sqrt(p*p+f*f),m>v&&(v=m),m<y&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b-1:l?"y"===l?b/_:_:Math.max(_,b/_))||0,w.b=b<0?s-b:s}return b=(w[e]-w.min)/w.max,w.b+(i?i.getRatio(b):b)*w.v}},a=function(e,t,n){i.call(this,e,t,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=a.prototype.render},l=i._internals,o=l.isSelector,c=l.isArray,h=a.prototype=i.to({},.1,{}),d=[];a.version="2.1.3",h.constructor=a,h.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=i.killTweensOf,a.getTweensOf=i.getTweensOf,a.lagSmoothing=i.lagSmoothing,a.ticker=i.ticker,a.render=i.render,a.distribute=r,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(e,t){var n,s=this.ratio,r=this.vars.immediateRender||e.immediateRender;for(n in t&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),e)this.vars[n]=e[n];if(this._initted||r)if(t)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||r)for(var l,o=1/(1-s),c=this._firstPT;c;)l=c.s+c.c,c.c*=o,c.s=l-c.c,c=c._next;return this},h.render=function(e,t,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,r,a,o,c,h,d,u,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,v=this._cycle,y=this._duration,_=this._rawPrevTime;if(e>=f-1e-8&&e>=0?(this._totalTime=f,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(e=0),(_<0||e<=0&&e>=-1e-8||1e-8===_&&"isPause"!==this.data)&&_!==e&&(n=!0,_>1e-8&&(r="onReverseComplete")),this._rawPrevTime=u=!t||e||_===e?e:1e-8)):e<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===y&&_>0)&&(r="onReverseComplete",s=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||n)&&(_>=0&&(n=!0),this._rawPrevTime=u=!t||e||_===e?e:1e-8)),this._initted||(n=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(o=y+this._repeatDelay,this._cycle=this._totalTime/o>>0,0!==this._cycle&&this._cycle===this._totalTime/o&&g<=e&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&0!=(1&this._cycle)&&(this._time=y-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof Ease?p:Ease.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof Ease?p:"function"==typeof p?new Ease(p,this.vars.easeParams):Ease.map[p]||i.defaultEase:i.defaultEase)),this.ratio=p?1-p.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!p?(c=this._time/y,(1===(h=this._easeType)||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===(d=this._easePower)?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:this._time/y<.5?c/2:1-c/2):p||(this.ratio=this._ease.getRatio(this._time/y))),m!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=_,this._cycle=v,l.lazyTweens.push(this),void(this._lazy=[e,t]);!this._time||s||p?s&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/y)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&e>=0&&(this._active=!0),0===g&&(2===this._initted&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==y||t||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,!0,n),t||(this._totalTime!==g||r)&&this._callback("onUpdate")),this._cycle!==v&&(t||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),r&&(this._gc&&!n||(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,!0,n),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this._callback(r),0===y&&1e-8===this._rawPrevTime&&1e-8!==u&&(this._rawPrevTime=0)))}else g!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},a.to=function(e,t,i){return new a(e,t,i)},a.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new a(e,t,i)},a.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new a(e,t,n)},a.staggerTo=a.allTo=function(e,t,l,h,u,p,f){var m,g,v,y,_=[],b=r(l.stagger||h),w=l.cycle,x=(l.startAt||d).cycle;for(c(e)||("string"==typeof e&&(e=i.selector(e)||e),o(e)&&(e=n(e))),m=(e=e||[]).length-1,v=0;v<=m;v++){for(y in g={},l)g[y]=l[y];if(w&&(s(g,e,v),null!=g.duration&&(t=g.duration,delete g.duration)),x){for(y in x=g.startAt={},l.startAt)x[y]=l.startAt[y];s(g.startAt,e,v)}g.delay=b(v,e[v],e)+(g.delay||0),v===m&&u&&(g.onComplete=function(){l.onComplete&&l.onComplete.apply(l.onCompleteScope||this,arguments),u.apply(f||l.callbackScope||this,p||d)}),_[v]=new a(e[v],t,g)}return _},a.staggerFrom=a.allFrom=function(e,t,i,n,s,r,l){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,a.staggerTo(e,t,i,n,s,r,l)},a.staggerFromTo=a.allFromTo=function(e,t,i,n,s,r,l,o){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,a.staggerTo(e,t,n,s,r,l,o)},a.delayedCall=function(e,t,i,n,s){return new a(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,useFrames:s,overwrite:0})},a.set=function(e,t){return new a(e,0,t)},a.isTweening=function(e){return i.getTweensOf(e,!0).length>0};var u=function(e,t){for(var n=[],s=0,r=e._first;r;)r instanceof i?n[s++]=r:(t&&(n[s++]=r),s=(n=n.concat(u(r,t))).length),r=r._next;return n},p=a.getAllTweens=function(t){return u(e._rootTimeline,t).concat(u(e._rootFramesTimeline,t))};a.killAll=function(e,i,n,s){null==i&&(i=!0),null==n&&(n=!0);var r,a,l,o=p(0!=s),c=o.length,h=i&&n&&s;for(l=0;l<c;l++)a=o[l],(h||a instanceof t||(r=a.target===a.vars.onComplete)&&n||i&&!r)&&(e?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},a.killChildTweensOf=function(e,t){if(null!=e){var s,r,h,d,u,p=l.tweenLookup;if("string"==typeof e&&(e=i.selector(e)||e),o(e)&&(e=n(e)),c(e))for(d=e.length;--d>-1;)a.killChildTweensOf(e[d],t);else{for(h in s=[],p)for(r=p[h].target.parentNode;r;)r===e&&(s=s.concat(p[h].tweens)),r=r.parentNode;for(u=s.length,d=0;d<u;d++)t&&s[d].totalTime(s[d].totalDuration()),s[d]._enabled(!1,!1)}}};var f=function(e,i,n,s){i=!1!==i,n=!1!==n;for(var r,a,l=p(s=!1!==s),o=i&&n&&s,c=l.length;--c>-1;)a=l[c],(o||a instanceof t||(r=a.target===a.vars.onComplete)&&n||i&&!r)&&a.paused(e)};return a.pauseAll=function(e,t,i){f(!0,e,t,i)},a.resumeAll=function(e,t,i){f(!1,e,t,i)},a.globalTimeScale=function(t){var n=e._rootTimeline,s=i.ticker.time;return arguments.length?(t=t||1e-8,n._startTime=s-(s-n._startTime)*n._timeScale/t,n=e._rootFramesTimeline,s=i.ticker.frame,n._startTime=s-(s-n._startTime)*n._timeScale/t,n._timeScale=e._rootTimeline._timeScale=t,t):n._timeScale},h.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},h.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return e>i&&(e=i),this.totalTime(this._yoyo&&1&n?i-e+s:this._repeat?e+s:e,t)},h.duration=function(t){return arguments.length?e.prototype.duration.call(this,t):this._duration},h.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},h.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},h.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},a}),!0),s._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(e,t,i){var n=function(e){t.call(this,e);var i,n,s=this.vars;for(n in this._labels={},this.autoRemoveChildren=!!s.autoRemoveChildren,this.smoothChildTiming=!!s.smoothChildTiming,this._sortChildren=!0,this._onUpdate=s.onUpdate,s)i=s[n],o(i)&&-1!==i.join("").indexOf("{self}")&&(s[n]=this._swapSelfInParams(i));o(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},r=i._internals,a=n._internals={},l=r.isSelector,o=r.isArray,c=r.lazyTweens,h=r.lazyRender,d=s._gsDefine.globals,u=function(e){var t,i={};for(t in e)i[t]=e[t];return i},p=function(e,t,i){var n,s,r=e.cycle;for(n in r)s=r[n],e[n]="function"==typeof s?s(i,t[i],t):s[i%s.length];delete e.cycle},f=a.pauseCallback=function(){},m=function(e,t,i,n){var s="immediateRender";return s in t||(t[s]=!(i&&!1===i[s]||n)),t},g=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},i=t.ease,n=t.from||0,s=t.base||0,r={},a=isNaN(n),l=t.axis,o={center:.5,end:1}[n]||0;return function(e,c,h){var d,u,p,f,m,g,v,y,_,b=(h||t).length,w=r[b];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=h[_++].getBoundingClientRect().left)&&_<b;);_--}for(w=r[b]=[],d=a?Math.min(_,b)*o-.5:n%_,u=a?b*o/_-.5:n/_|0,v=0,y=1/0,g=0;g<b;g++)p=g%_-d,f=u-(g/_|0),w[g]=m=l?Math.abs("y"===l?f:p):Math.sqrt(p*p+f*f),m>v&&(v=m),m<y&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b-1:l?"y"===l?b/_:_:Math.max(_,b/_))||0,w.b=b<0?s-b:s}return b=(w[e]-w.min)/w.max,w.b+(i?i.getRatio(b):b)*w.v}},v=n.prototype=new t;return n.version="2.1.3",n.distribute=g,v.constructor=n,v.kill()._gc=v._forcingPlayhead=v._hasPause=!1,v.to=function(e,t,n,s){var r=n.repeat&&d.TweenMax||i;return t?this.add(new r(e,t,n),s):this.set(e,n,s)},v.from=function(e,t,n,s){return this.add((n.repeat&&d.TweenMax||i).from(e,t,m(0,n)),s)},v.fromTo=function(e,t,n,s,r){var a=s.repeat&&d.TweenMax||i;return s=m(0,s,n),t?this.add(a.fromTo(e,t,n,s),r):this.set(e,s,r)},v.staggerTo=function(e,t,s,r,a,o,c,h){var d,f,m=new n({onComplete:o,onCompleteParams:c,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),v=g(s.stagger||r),y=s.startAt,_=s.cycle;for("string"==typeof e&&(e=i.selector(e)||e),l(e=e||[])&&(e=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i}(e)),f=0;f<e.length;f++)d=u(s),y&&(d.startAt=u(y),y.cycle&&p(d.startAt,e,f)),_&&(p(d,e,f),null!=d.duration&&(t=d.duration,delete d.duration)),m.to(e[f],t,d,v(f,e[f],e));return this.add(m,a)},v.staggerFrom=function(e,t,i,n,s,r,a,l){return i.runBackwards=!0,this.staggerTo(e,t,m(0,i),n,s,r,a,l)},v.staggerFromTo=function(e,t,i,n,s,r,a,l,o){return n.startAt=i,this.staggerTo(e,t,m(0,n,i),s,r,a,l,o)},v.call=function(e,t,n,s){return this.add(i.delayedCall(0,e,t,n),s)},v.set=function(e,t,n){return this.add(new i(e,0,m(0,t,null,!0)),n)},n.exportRoot=function(e,t){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var s,r,a,l,o=new n(e),c=o._timeline;for(null==t&&(t=!0),c._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=c._time,a=c._first;a;)l=a._next,t&&a instanceof i&&a.target===a.vars.onComplete||((r=a._startTime-a._delay)<0&&(s=1),o.add(a,r)),a=l;return c.add(o,0),s&&o.totalDuration(),o},v.add=function(s,r,a,l){var c,h,d,u,p,f;if("number"!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,s)),!(s instanceof e)){if(s instanceof Array||s&&s.push&&o(s)){for(a=a||"normal",l=l||0,c=r,h=s.length,d=0;d<h;d++)o(u=s[d])&&(u=new n({tweens:u})),this.add(u,c),"string"!=typeof u&&"function"!=typeof u&&("sequence"===a?c=u._startTime+u.totalDuration()/u._timeScale:"start"===a&&(u._startTime-=u.delay())),c+=l;return this._uncache(!0)}if("string"==typeof s)return this.addLabel(s,r);if("function"!=typeof s)throw"Cannot add "+s+" into the timeline; it is not a tween, timeline, function, or string.";s=i.delayedCall(0,s)}if(t.prototype.add.call(this,s,r),(s._time||!s._duration&&s._initted)&&(c=(this.rawTime()-s._startTime)*s._timeScale,(!s._duration||Math.abs(Math.max(0,Math.min(s.totalDuration(),c)))-s._totalTime>1e-5)&&s.render(c,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(f=(p=this).rawTime()>s._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},v.remove=function(t){if(t instanceof e){this._remove(t,!1);var i=t._timeline=t.vars.useFrames?e._rootFramesTimeline:e._rootTimeline;return t._startTime=(t._paused?t._pauseTime:i._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&o(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},v._remove=function(e,i){return t.prototype._remove.call(this,e,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},v.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},v.insert=v.insertMultiple=function(e,t,i,n){return this.add(e,t||0,i,n)},v.appendMultiple=function(e,t,i,n){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),i,n)},v.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},v.addPause=function(e,t,n,s){var r=i.delayedCall(0,f,n,s||this);return r.vars.onComplete=r.vars.onReverseComplete=t,r.data="isPause",this._hasPause=!0,this.add(r,e)},v.removeLabel=function(e){return delete this._labels[e],this},v.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},v._parseTimeOrLabel=function(t,i,n,s){var r,a;if(s instanceof e&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&o(s)))for(a=s.length;--a>-1;)s[a]instanceof e&&s[a].timeline===this&&this.remove(s[a]);if(r="number"!=typeof t||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof t&&null==this._labels[i]?t-r:0,n);if(i=i||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=r);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=r+i:i:this._labels[t]+i;i=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,n):r}return Number(t)+i},v.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(e,t){return this.play(e,t)},v.gotoAndStop=function(e,t){return this.pause(e,t)},v.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var n,s,r,a,l,o,d,u,p=this._time,f=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,g=this._timeScale,v=this._paused;if(p!==this._time&&(e+=this._time-p),this._hasPause&&!this._forcingPlayhead&&!t){if(e>p)for(n=this._first;n&&n._startTime<=e&&!o;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(o=n),n=n._next;else for(n=this._last;n&&n._startTime>=e&&!o;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(o=n),n=n._prev;o&&(this._time=this._totalTime=e=o._startTime,u=this._startTime+(this._reversed?this._duration-e:e)/this._timeScale)}if(e>=f-1e-8&&e>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&e>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==e&&this._first&&(l=!0,this._rawPrevTime>1e-8&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,e=f+1e-4;else if(e<1e-8)if(this._totalTime=this._time=0,e>-1e-8&&(e=0),(0!==p||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||e<0&&this._rawPrevTime>=0))&&(a="onReverseComplete",s=this._reversed),e<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,0===e&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;e=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=e;if(this._time!==p&&this._first||i||l||o){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&e>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||t||this._callback("onStart")),(d=this._time)>=p)for(n=this._first;n&&(r=n._next,d===this._time&&(!this._paused||v));)(n._active||n._startTime<=d&&!n._paused&&!n._gc)&&(o===n&&(this.pause(),this._pauseTime=u),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)),n=r;else for(n=this._last;n&&(r=n._prev,d===this._time&&(!this._paused||v));){if(n._active||n._startTime<=p&&!n._paused&&!n._gc){if(o===n){for(o=n._prev;o&&o.endTime()>this._time;)o.render(o._reversed?o.totalDuration()-(e-o._startTime)*o._timeScale:(e-o._startTime)*o._timeScale,t,i),o=o._prev;o=null,this.pause(),this._pauseTime=u}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)}n=r}this._onUpdate&&(t||(c.length&&h(),this._callback("onUpdate"))),a&&(this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||f>=this.totalDuration())&&(s&&(c.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this._callback(a)))}},v._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof n&&e._hasPausedChild())return!0;e=e._next}return!1},v.getChildren=function(e,t,n,s){s=s||-9999999999;for(var r=[],a=this._first,l=0;a;)a._startTime<s||(a instanceof i?!1!==t&&(r[l++]=a):(!1!==n&&(r[l++]=a),!1!==e&&(l=(r=r.concat(a.getChildren(!0,t,n))).length))),a=a._next;return r},v.getTweensOf=function(e,t){var n,s,r=this._gc,a=[],l=0;for(r&&this._enabled(!0,!0),s=(n=i.getTweensOf(e)).length;--s>-1;)(n[s].timeline===this||t&&this._contains(n[s]))&&(a[l++]=n[s]);return r&&this._enabled(!1,!0),a},v.recent=function(){return this._recent},v._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},v.shiftChildren=function(e,t,i){i=i||0;for(var n,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=e),s=s._next;if(t)for(n in r)r[n]>=i&&(r[n]+=e);return this._uncache(!0)},v._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),n=i.length,s=!1;--n>-1;)i[n]._kill(e,t)&&(s=!0);return s},v.clear=function(e){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},v.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},v._enabled=function(e,i){if(e===this._gc)for(var n=this._first;n;)n._enabled(e,!0),n=n._next;return t.prototype._enabled.call(this,e,i)},v.totalTime=function(t,i,n){this._forcingPlayhead=!0;var s=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},v.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,i,n=0,s=this,r=s._last,a=999999999999;r;)t=r._prev,r._dirty&&r.totalDuration(),r._startTime>a&&s._sortChildren&&!r._paused&&!s._calculatingDuration?(s._calculatingDuration=1,s.add(r,r._startTime-r._delay),s._calculatingDuration=0):a=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,s._timeline.smoothChildTiming&&(s._startTime+=r._startTime/s._timeScale,s._time-=r._startTime,s._totalTime-=r._startTime,s._rawPrevTime-=r._startTime),s.shiftChildren(-r._startTime,!1,-9999999999),a=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=t;s._duration=s._totalDuration=n,s._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},v.paused=function(t){if(!1===t&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return e.prototype.paused.apply(this,arguments)},v.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===e._rootFramesTimeline},v.rawTime=function(e){return e&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},n}),!0),s._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(e,t,i){var n=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},r=t._internals,a=r.lazyTweens,l=r.lazyRender,o=s._gsDefine.globals,c=new i(null,null,1,0),h=n.prototype=new e;return h.constructor=n,h.kill()._gc=!1,n.version="2.1.3",h.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},h.addCallback=function(e,i,n,s){return this.add(t.delayedCall(0,e,n,s),i)},h.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var i=this.getTweensOf(e,!1),n=i.length,s=this._parseTimeOrLabel(t);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},h.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},h.tweenTo=function(e,i){i=i||{};var n,s,r,a={ease:c,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},l=i.repeat&&o.TweenMax||t;for(s in i)a[s]=i[s];return a.time=this._parseTimeOrLabel(e),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,r=new l(this,n,a),a.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||n!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||r,i.onStartParams||[])},r},h.tweenFromTo=function(e,t,i){i=i||{},e=this._parseTimeOrLabel(e),i.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(t,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-e)/this._timeScale||.001)},h.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var n,s,r,o,c,h,d,u,p,f=this._time,m=this._dirty?this.totalDuration():this._totalDuration,g=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,b=this._rawPrevTime,w=this._paused,x=this._cycle;if(f!==this._time&&(e+=this._time-f),e>=m-1e-8&&e>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&e>=-1e-8||b<0||1e-8===b)&&b!==e&&this._first&&(c=!0,b>1e-8&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,this._yoyo&&1&this._cycle?this._time=e=0:(this._time=g,e=g+1e-4);else if(e<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,e>-1e-8&&(e=0),(0!==f||0===g&&1e-8!==b&&(b>0||e<0&&b>=0)&&!this._locked)&&(o="onReverseComplete",s=this._reversed),e<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=s=!0,o="onReverseComplete"):b>=0&&this._first&&(c=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=g||!t||e||this._rawPrevTime===e?e:1e-8,0===e&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;e=0,this._initted||(c=!0)}else 0===g&&b<0&&(c=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,0!==this._repeat&&(h=g+this._repeatDelay,this._cycle=this._totalTime/h>>0,this._cycle&&this._cycle===this._totalTime/h&&v<=e&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&1&this._cycle&&(this._time=g-this._time),this._time>g?(this._time=g,e=g+1e-4):this._time<0?this._time=e=0:e=this._time));if(this._hasPause&&!this._forcingPlayhead&&!t){if((e=this._time)>f||this._repeat&&x!==this._cycle)for(n=this._first;n&&n._startTime<=e&&!d;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(d=n),n=n._next;else for(n=this._last;n&&n._startTime>=e&&!d;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(d=n),n=n._prev;d&&(p=this._startTime+(this._reversed?this._duration-d._startTime:d._startTime)/this._timeScale,d._startTime<g&&(this._time=this._rawPrevTime=e=d._startTime,this._totalTime=e+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==x&&!this._locked){var T=this._yoyo&&0!=(1&x),S=T===(this._yoyo&&0!=(1&this._cycle)),M=this._totalTime,E=this._cycle,C=this._rawPrevTime,P=this._time;if(this._totalTime=x*g,this._cycle<x?T=!T:this._totalTime+=g,this._time=f,this._rawPrevTime=0===g?b-1e-4:b,this._cycle=x,this._locked=!0,f=T?0:g,this.render(f,t,0===g),t||this._gc||this.vars.onRepeat&&(this._cycle=E,this._locked=!1,this._callback("onRepeat")),f!==this._time)return;if(S&&(this._cycle=x,this._locked=!0,f=T?g+1e-4:-1e-4,this.render(f,!0,!1)),this._locked=!1,this._paused&&!w)return;this._time=P,this._totalTime=M,this._cycle=E,this._rawPrevTime=C}if(this._time!==f&&this._first||i||c||d){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&e>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||t||this._callback("onStart")),(u=this._time)>=f)for(n=this._first;n&&(r=n._next,u===this._time&&(!this._paused||w));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(d===n&&(this.pause(),this._pauseTime=p),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)),n=r;else for(n=this._last;n&&(r=n._prev,u===this._time&&(!this._paused||w));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(d===n){for(d=n._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(e-d._startTime)*d._timeScale:(e-d._startTime)*d._timeScale,t,i),d=d._prev;d=null,this.pause(),this._pauseTime=p}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)}n=r}this._onUpdate&&(t||(a.length&&l(),this._callback("onUpdate"))),o&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||m>=this.totalDuration())&&(s&&(a.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o)))}else v!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},h.getActive=function(e,t,i){var n,s,r=[],a=this.getChildren(e||null==e,t||null==e,!!i),l=0,o=a.length;for(n=0;n<o;n++)(s=a[n]).isActive()&&(r[l++]=s);return r},h.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,i=this.getLabelsArray(),n=i.length;for(t=0;t<n;t++)if(i[t].time>e)return i[t].name;return null},h.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),i=t.length;--i>-1;)if(t[i].time<e)return t[i].name;return null},h.getLabelsArray=function(){var e,t=[],i=0;for(e in this._labels)t[i++]={time:this._labels[e],name:e};return t.sort((function(e,t){return e.time-t.time})),t},h.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},h.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()||0},h.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()||0},h.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return e>i&&(e=i),this.totalTime(this._yoyo&&1&n?i-e+s:this._repeat?e+s:e,t)},h.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},h.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},h.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},h.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},n}),!0),e=180/Math.PI,t=[],i=[],n=[],r={},a=s._gsDefine.globals,l=function(e,t,i,n){i===n&&(i=n-(n-t)/1e6),e===t&&(t=e+(i-e)/1e6),this.a=e,this.b=t,this.c=i,this.d=n,this.da=n-e,this.ca=i-e,this.ba=t-e},o=function(e,t,i,n){var s={a:e},r={},a={},l={c:n},o=(e+t)/2,c=(t+i)/2,h=(i+n)/2,d=(o+c)/2,u=(c+h)/2,p=(u-d)/8;return s.b=o+(e-o)/4,r.b=d+p,s.c=r.a=(s.b+r.b)/2,r.c=a.a=(d+u)/2,a.b=u-p,l.b=h+(n-h)/4,a.c=l.a=(a.b+l.b)/2,[s,r,a,l]},c=function(e,s,r,a,l){var c,h,d,u,p,f,m,g,v,y,_,b,w,x=e.length-1,T=0,S=e[0].a;for(c=0;c<x;c++)h=(p=e[T]).a,d=p.d,u=e[T+1].d,l?(_=t[c],w=((b=i[c])+_)*s*.25/(a?.5:n[c]||.5),g=d-((f=d-(d-h)*(a?.5*s:0!==_?w/_:0))+(((m=d+(u-d)*(a?.5*s:0!==b?w/b:0))-f)*(3*_/(_+b)+.5)/4||0))):g=d-((f=d-(d-h)*s*.5)+(m=d+(u-d)*s*.5))/2,f+=g,m+=g,p.c=v=f,p.b=0!==c?S:S=p.a+.6*(p.c-p.a),p.da=d-h,p.ca=v-h,p.ba=S-h,r?(y=o(h,S,v,d),e.splice(T,1,y[0],y[1],y[2],y[3]),T+=4):T++,S=m;(p=e[T]).b=S,p.c=S+.4*(p.d-S),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=S-p.a,r&&(y=o(p.a,S,p.c,p.d),e.splice(T,1,y[0],y[1],y[2],y[3]))},h=function(e,n,s,r){var a,o,c,h,d,u,p=[];if(r)for(o=(e=[r].concat(e)).length;--o>-1;)"string"==typeof(u=e[o][n])&&"="===u.charAt(1)&&(e[o][n]=r[n]+Number(u.charAt(0)+u.substr(2)));if((a=e.length-2)<0)return p[0]=new l(e[0][n],0,0,e[0][n]),p;for(o=0;o<a;o++)c=e[o][n],h=e[o+1][n],p[o]=new l(c,0,0,h),s&&(d=e[o+2][n],t[o]=(t[o]||0)+(h-c)*(h-c),i[o]=(i[o]||0)+(d-h)*(d-h));return p[o]=new l(e[o][n],0,0,e[o+1][n]),p},d=function(e,s,a,l,o,d){var u,p,f,m,g,v,y,_,b={},w=[],x=d||e[0];for(p in o="string"==typeof o?","+o+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),e[0])w.push(p);if(e.length>1){for(_=e[e.length-1],y=!0,u=w.length;--u>-1;)if(p=w[u],Math.abs(x[p]-_[p])>.05){y=!1;break}y&&(e=e.concat(),d&&e.unshift(d),e.push(e[1]),d=e[e.length-3])}for(t.length=i.length=n.length=0,u=w.length;--u>-1;)p=w[u],r[p]=-1!==o.indexOf(","+p+","),b[p]=h(e,p,r[p],d);for(u=t.length;--u>-1;)t[u]=Math.sqrt(t[u]),i[u]=Math.sqrt(i[u]);if(!l){for(u=w.length;--u>-1;)if(r[p])for(v=(f=b[w[u]]).length-1,m=0;m<v;m++)g=f[m+1].da/i[m]+f[m].da/t[m]||0,n[m]=(n[m]||0)+g*g;for(u=n.length;--u>-1;)n[u]=Math.sqrt(n[u])}for(u=w.length,m=a?4:1;--u>-1;)f=b[p=w[u]],c(f,s,a,l,r[p]),y&&(f.splice(0,m),f.splice(f.length-m,m));return b},u=function(e,t,i){for(var n,s,r,a,l,o,c,h,d,u,p,f=1/i,m=e.length;--m>-1;)for(r=(u=e[m]).a,a=u.d-r,l=u.c-r,o=u.b-r,n=s=0,h=1;h<=i;h++)n=s-(s=((c=f*h)*c*a+3*(d=1-c)*(c*l+d*o))*c),t[p=m*i+h-1]=(t[p]||0)+n*n},p=s._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(e,t,i){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var n,s,r,a,o,c=t.values||[],h={},p=c[0],f=t.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",!0===f?0:Number(f)||0]]:null,p)this._props.push(n);for(r=this._props.length;--r>-1;)n=this._props[r],this._overwriteProps.push(n),s=this._func[n]="function"==typeof e[n],h[n]=s?e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(e[n]),o||h[n]!==c[0][n]&&(o=h);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?d(c,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,o):function(e,t,i){var n,s,r,a,o,c,h,d,u,p,f,m={},g="cubic"===(t=t||"soft")?3:2,v="soft"===t,y=[];if(v&&i&&(e=[i].concat(e)),null==e||e.length<g+1)throw"invalid Bezier data";for(u in e[0])y.push(u);for(c=y.length;--c>-1;){for(m[u=y[c]]=o=[],p=0,d=e.length,h=0;h<d;h++)n=null==i?e[h][u]:"string"==typeof(f=e[h][u])&&"="===f.charAt(1)?i[u]+Number(f.charAt(0)+f.substr(2)):Number(f),v&&h>1&&h<d-1&&(o[p++]=(n+o[p-2])/2),o[p++]=n;for(d=p-g+1,p=0,h=0;h<d;h+=g)n=o[h],s=o[h+1],r=o[h+2],a=2===g?0:o[h+3],o[p++]=f=3===g?new l(n,s,r,a):new l(n,(2*s+n)/3,(2*s+r)/3,r);o.length=p}return m}(c,t.type,h),this._segCount=this._beziers[n].length,this._timeRes){var m=function(e,t){var i,n,s,r,a=[],l=[],o=0,c=0,h=(t=t>>0||6)-1,d=[],p=[];for(i in e)u(e[i],a,t);for(s=a.length,n=0;n<s;n++)o+=Math.sqrt(a[n]),p[r=n%t]=o,r===h&&(c+=o,d[r=n/t>>0]=p,l[r]=c,o=0,p=[]);return{length:c,lengths:l,segments:d}}(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),r=f.length;--r>-1;){for(a=0;a<3;a++)n=f[r][a],this._func[n]="function"==typeof e[n]&&e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)];n=f[r][2],this._initialRotations[r]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var i,n,s,r,a,l,o,c,h,d,u,p=this._segCount,f=this._func,m=this._target,g=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,d=this._curSeg,u=t*this._length,s=this._li,u>this._l2&&s<p-1){for(c=p-1;s<c&&(this._l2=h[++s])<=u;);this._l1=h[s-1],this._li=s,this._curSeg=d=this._segments[s],this._s2=d[this._s1=this._si=0]}else if(u<this._l1&&s>0){for(;s>0&&(this._l1=h[--s])>=u;);0===s&&u<this._l1?this._l1=0:s++,this._l2=h[s],this._li=s,this._curSeg=d=this._segments[s],this._s1=d[(this._si=d.length-1)-1]||0,this._s2=d[this._si]}if(i=s,u-=this._l1,s=this._si,u>this._s2&&s<d.length-1){for(c=d.length-1;s<c&&(this._s2=d[++s])<=u;);this._s1=d[s-1],this._si=s}else if(u<this._s1&&s>0){for(;s>0&&(this._s1=d[--s])>=u;);0===s&&u<this._s1?this._s1=0:s++,this._s2=d[s],this._si=s}l=1===t?1:(s+(u-this._s1)/(this._s2-this._s1))*this._prec||0}else l=(t-(i=t<0?0:t>=1?p-1:p*t>>0)*(1/p))*p;for(n=1-l,s=this._props.length;--s>-1;)r=this._props[s],o=(l*l*(a=this._beziers[r][i]).da+3*n*(l*a.ca+n*a.ba))*l+a.a,this._mod[r]&&(o=this._mod[r](o,m)),f[r]?m[r](o):m[r]=o;if(this._autoRotate){var v,y,_,b,w,x,T,S=this._autoRotate;for(s=S.length;--s>-1;)r=S[s][2],x=S[s][3]||0,T=!0===S[s][4]?1:e,a=this._beziers[S[s][0]],v=this._beziers[S[s][1]],a&&v&&(a=a[i],v=v[i],y=a.a+(a.b-a.a)*l,y+=((b=a.b+(a.c-a.b)*l)-y)*l,b+=(a.c+(a.d-a.c)*l-b)*l,_=v.a+(v.b-v.a)*l,_+=((w=v.b+(v.c-v.b)*l)-_)*l,w+=(v.c+(v.d-v.c)*l-w)*l,o=g?Math.atan2(w-_,b-y)*T+x:this._initialRotations[s],this._mod[r]&&(o=this._mod[r](o,m)),f[r]?m[r](o):m[r]=o)}}}),f=p.prototype,p.bezierThrough=d,p.cubicToQuadratic=o,p._autoCSS=!0,p.quadraticToCubic=function(e,t,i){return new l(e,(2*t+e)/3,(2*t+i)/3,i)},p._cssRegister=function(){var e=a.CSSPlugin;if(e){var t=e._internals,i=t._parseToProxy,n=t._setPluginRatio,s=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,r,a,l,o){t instanceof Array&&(t={values:t}),o=new p;var c,h,d,u=t.values,f=u.length-1,m=[],g={};if(f<0)return l;for(c=0;c<=f;c++)d=i(e,u[c],a,l,o,f!==c),m[c]=d.end;for(h in t)g[h]=t[h];return g.values=m,(l=new s(e,"bezier",0,0,d.pt,2)).data=d,l.plugin=o,l.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=d.end.left?[["left","top","rotation",c,!1]]:null!=d.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),d.autoRotate=a._target._gsTransform,d.proxy.rotation=d.autoRotate.rotation||0,a._overwriteProps.push("rotation")),o._onInitTween(d.proxy,g,a._tween),l}})}},f._mod=function(e){for(var t,i=this._overwriteProps,n=i.length;--n>-1;)(t=e[i[n]])&&"function"==typeof t&&(this._mod[i[n]]=t)},f._kill=function(e){var t,i,n=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],i=n.length;--i>-1;)n[i]===t&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;--i>-1;)e[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,e)},s._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(e,t){var i,n,r,a,l=function(){e.call(this,"css"),this._overwriteProps.length=0,this.setRatio=l.prototype.setRatio},o=s._gsDefine.globals,c={},h=l.prototype=new e("css");h.constructor=l,l.version="2.1.3",l.API=2,l.defaultTransformPerspective=0,l.defaultSkewType="compensated",l.defaultSmoothOrigin=!0,h="px",l.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var d,u,p,f,m,g,v,y,_=/(?:\-|\.|\b)(\d|\.|e\-)+/g,b=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,T=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,S=/(?:\d|\-|\+|=|#|\.)*/g,M=/opacity *= *([^)]*)/i,E=/opacity:([^;]*)/i,C=/alpha\(opacity *=.+?\)/i,P=/^(rgb|hsl)/,k=/([A-Z])/g,A=/-([a-z])/gi,L=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(e,t){return t.toUpperCase()},I=/(?:Left|Right|Width)/i,D=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,R=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,$=Math.PI/180,F=180/Math.PI,B={},V={style:{}},H=s.document||{createElement:function(){return V}},U=function(e,t){var i=H.createElementNS?H.createElementNS(t||"http://www.w3.org/1999/xhtml",e):H.createElement(e);return i.style?i:H.createElement(e)},G=U("div"),j=U("img"),W=l._internals={_specialProps:c},X=(s.navigator||{}).userAgent||"",q=function(){var e=X.indexOf("Android"),t=U("a");return p=-1!==X.indexOf("Safari")&&-1===X.indexOf("Chrome")&&(-1===e||parseFloat(X.substr(e+8,2))>3),m=p&&parseFloat(X.substr(X.indexOf("Version/")+8,2))<6,f=-1!==X.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(X)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(X))&&(g=parseFloat(RegExp.$1)),!!t&&(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity))}(),Y=function(e){return M.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Z=function(e){s.console&&console.log(e)},K="",J="",Q=function(e,t){var i,n,s=(t=t||G).style;if(void 0!==s[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===s[i[n]+e];);return n>=0?(K="-"+(J=3===n?"ms":i[n]).toLowerCase()+"-",J+e):null},ee="undefined"!=typeof window?window:H.defaultView||{getComputedStyle:function(){}},te=function(e){return ee.getComputedStyle(e)},ie=l.getStyle=function(e,t,i,n,s){var r;return q||"opacity"!==t?(!n&&e.style[t]?r=e.style[t]:(i=i||te(e))?r=i[t]||i.getPropertyValue(t)||i.getPropertyValue(t.replace(k,"-$1").toLowerCase()):e.currentStyle&&(r=e.currentStyle[t]),null==s||r&&"none"!==r&&"auto"!==r&&"auto auto"!==r?r:s):Y(e)},ne=W.convertToPixels=function(e,i,n,s,r){if("px"===s||!s&&"lineHeight"!==i)return n;if("auto"===s||!n)return 0;var a,o,c,h=I.test(i),d=e,u=G.style,p=n<0,f=1===n;if(p&&(n=-n),f&&(n*=100),"lineHeight"!==i||s)if("%"===s&&-1!==i.indexOf("border"))a=n/100*(h?e.clientWidth:e.clientHeight);else{if(u.cssText="border:0 solid red;position:"+ie(e,"position")+";line-height:0;","%"!==s&&d.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)u[h?"borderLeftWidth":"borderTopWidth"]=n+s;else{if(d=e.parentNode||H.body,-1!==ie(d,"display").indexOf("flex")&&(u.position="absolute"),o=d._gsCache,c=t.ticker.frame,o&&h&&o.time===c)return o.width*n/100;u[h?"width":"height"]=n+s}d.appendChild(G),a=parseFloat(G[h?"offsetWidth":"offsetHeight"]),d.removeChild(G),h&&"%"===s&&!1!==l.cacheWidths&&((o=d._gsCache=d._gsCache||{}).time=c,o.width=a/n*100),0!==a||r||(a=ne(e,i,n,s,!0))}else o=te(e).lineHeight,e.style.lineHeight=n,a=parseFloat(te(e).lineHeight),e.style.lineHeight=o;return f&&(a/=100),p?-a:a},se=W.calculateOffset=function(e,t,i){if("absolute"!==ie(e,"position",i))return 0;var n="left"===t?"Left":"Top",s=ie(e,"margin"+n,i);return e["offset"+n]-(ne(e,t,parseFloat(s),s.replace(S,""))||0)},re=function(e,t){var i,n,s,r={};if(t=t||te(e))if(i=t.length)for(;--i>-1;)-1!==(s=t[i]).indexOf("-transform")&&ze!==s||(r[s.replace(A,O)]=t.getPropertyValue(s));else for(i in t)-1!==i.indexOf("Transform")&&Re!==i||(r[i]=t[i]);else if(t=e.currentStyle||e.style)for(i in t)"string"==typeof i&&void 0===r[i]&&(r[i.replace(A,O)]=t[i]);return q||(r.opacity=Y(e)),n=Ye(e,t,!1),r.rotation=n.rotation,r.skewX=n.skewX,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,$e&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},ae=function(e,t,i,n,s){var r,a,l,o={},c=e.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(t[a]!==(r=i[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"!=typeof r&&"string"!=typeof r||(o[a]="auto"!==r||"left"!==a&&"top"!==a?""!==r&&"auto"!==r&&"none"!==r||"string"!=typeof t[a]||""===t[a].replace(T,"")?r:0:se(e,a),void 0!==c[a]&&(l=new we(c,a,c[a],l))));if(n)for(a in n)"className"!==a&&(o[a]=n[a]);return{difs:o,firstMPT:l}},le={width:["Left","Right"],height:["Top","Bottom"]},oe=["marginLeft","marginRight","marginTop","marginBottom"],ce=function(e,t,i){if("svg"===(e.nodeName+"").toLowerCase())return(i||te(e))[t]||0;if(e.getCTM&&We(e))return e.getBBox()[t]||0;var n=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),s=le[t],r=s.length;for(i=i||te(e);--r>-1;)n-=parseFloat(ie(e,"padding"+s[r],i,!0))||0,n-=parseFloat(ie(e,"border"+s[r]+"Width",i,!0))||0;return n},he=function(e,t){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var i,n=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],r=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];if(n.length>3&&!t){for(n=e.split(", ").join(",").split(","),e=[],i=0;i<n.length;i++)e.push(he(n[i]));return e.join(",")}return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),e=s+" "+r+(n.length>2?" "+n[2]:""),t&&(t.oxp=-1!==s.indexOf("%"),t.oyp=-1!==r.indexOf("%"),t.oxr="="===s.charAt(1),t.oyr="="===r.charAt(1),t.ox=parseFloat(s.replace(T,"")),t.oy=parseFloat(r.replace(T,"")),t.v=e),t||e},de=function(e,t){return"function"==typeof e&&(e=e(y,v)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0},ue=function(e,t){"function"==typeof e&&(e=e(y,v));var i="string"==typeof e&&"="===e.charAt(1);return"string"==typeof e&&"v"===e.charAt(e.length-2)&&(e=(i?e.substr(0,2):0)+window["inner"+("vh"===e.substr(-2)?"Height":"Width")]*(parseFloat(i?e.substr(2):e)/100)),null==e?t:i?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0},pe=function(e,t,i,n){var s,r,a,l;return"function"==typeof e&&(e=e(y,v)),null==e?a=t:"number"==typeof e?a=e:(360,s=e.split("_"),r=((l="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===e.indexOf("rad")?1:F)-(l?0:t),s.length&&(n&&(n[i]=t+r),-1!==e.indexOf("short")&&(r%=360)!==r%180&&(r=r<0?r+360:r-360),-1!==e.indexOf("_cw")&&r<0?r=(r+3599999999640)%360-360*(r/360|0):-1!==e.indexOf("ccw")&&r>0&&(r=(r-3599999999640)%360-360*(r/360|0))),a=t+r),a<1e-6&&a>-1e-6&&(a=0),a},fe={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},me=function(e,t,i){return 255*(6*(e=e<0?e+1:e>1?e-1:e)<1?t+(i-t)*e*6:e<.5?i:3*e<2?t+(i-t)*(2/3-e)*6:t)+.5|0},ge=l.parseColor=function(e,t){var i,n,s,r,a,l,o,c,h,d,u;if(e)if("number"==typeof e)i=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),fe[e])i=fe[e];else if("#"===e.charAt(0))4===e.length&&(n=e.charAt(1),s=e.charAt(2),r=e.charAt(3),e="#"+n+n+s+s+r+r),i=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(i=u=e.match(_),t){if(-1!==e.indexOf("="))return e.match(b)}else a=Number(i[0])%360/360,l=Number(i[1])/100,n=2*(o=Number(i[2])/100)-(s=o<=.5?o*(l+1):o+l-o*l),i.length>3&&(i[3]=Number(i[3])),i[0]=me(a+1/3,n,s),i[1]=me(a,n,s),i[2]=me(a-1/3,n,s);else i=e.match(_)||fe.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=fe.black;return t&&!u&&(n=i[0]/255,s=i[1]/255,r=i[2]/255,o=((c=Math.max(n,s,r))+(h=Math.min(n,s,r)))/2,c===h?a=l=0:(d=c-h,l=o>.5?d/(2-c-h):d/(c+h),a=c===n?(s-r)/d+(s<r?6:0):c===s?(r-n)/d+2:(n-s)/d+4,a*=60),i[0]=a+.5|0,i[1]=100*l+.5|0,i[2]=100*o+.5|0),i},ve=function(e,t){var i,n,s,r=e.match(ye)||[],a=0,l="";if(!r.length)return e;for(i=0;i<r.length;i++)n=r[i],a+=(s=e.substr(a,e.indexOf(n,a)-a)).length+n.length,3===(n=ge(n,t)).length&&n.push(1),l+=s+(t?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return l+e.substr(a)},ye="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in fe)ye+="|"+h+"\\b";ye=new RegExp(ye+")","gi"),l.colorStringFilter=function(e){var t,i=e[0]+" "+e[1];ye.test(i)&&(t=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),e[0]=ve(e[0],t),e[1]=ve(e[1],t)),ye.lastIndex=0},t.defaultStringFilter||(t.defaultStringFilter=l.colorStringFilter);var _e=function(e,t,i,n){if(null==e)return function(e){return e};var s,r=t?(e.match(ye)||[""])[0]:"",a=e.split(r).join("").match(w)||[],l=e.substr(0,e.indexOf(a[0])),o=")"===e.charAt(e.length-1)?")":"",c=-1!==e.indexOf(" ")?" ":",",h=a.length,d=h>0?a[0].replace(_,""):"";return h?s=t?function(e){var t,u,p,f;if("number"==typeof e)e+=d;else if(n&&z.test(e)){for(f=e.replace(z,"|").split("|"),p=0;p<f.length;p++)f[p]=s(f[p]);return f.join(",")}if(t=(e.match(ye)||[r])[0],p=(u=e.split(t).join("").match(w)||[]).length,h>p--)for(;++p<h;)u[p]=i?u[(p-1)/2|0]:a[p];return l+u.join(c)+c+t+o+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,r,u;if("number"==typeof e)e+=d;else if(n&&z.test(e)){for(r=e.replace(z,"|").split("|"),u=0;u<r.length;u++)r[u]=s(r[u]);return r.join(",")}if(u=(t=e.match(","===c?w:x)||[]).length,h>u--)for(;++u<h;)t[u]=i?t[(u-1)/2|0]:a[u];return(l&&"none"!==e&&e.substr(0,e.indexOf(t[0]))||l)+t.join(c)+o}:function(e){return e}},be=function(e){return e=e.split(","),function(t,i,n,s,r,a,l){var o,c=(i+"").split(" ");for(l={},o=0;o<4;o++)l[e[o]]=c[o]=c[o]||c[(o-1)/2>>0];return s.parse(t,l,r,a)}},we=(W._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,i,n,s,r,a=this.data,l=a.proxy,o=a.firstMPT;o;)t=l[o.v],o.r?t=o.r(t):t<1e-6&&t>-1e-6&&(t=0),o.t[o.p]=t,o=o._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,l.rotation,this.t,this._tween):l.rotation),1===e||0===e)for(o=a.firstMPT,r=1===e?"e":"b";o;){if((i=o.t).type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)s+=i["xn"+n]+i["xs"+(n+1)];i[r]=s}}else i[r]=i.s+i.xs0;o=o._next}},function(e,t,i,n,s){this.t=e,this.p=t,this.v=i,this.r=s,n&&(n._prev=this,this._next=n)}),xe=(W._parseToProxy=function(e,t,i,n,s,r){var a,l,o,c,h,d=n,u={},p={},f=i._transform,m=B;for(i._transform=null,B=t,n=h=i.parse(e,t,n,s),B=m,r&&(i._transform=f,d&&(d._prev=null,d._prev&&(d._prev._next=null)));n&&n!==d;){if(n.type<=1&&(p[l=n.p]=n.s+n.c,u[l]=n.s,r||(c=new we(n,"s",l,c,n.r),n.c=0),1===n.type))for(a=n.l;--a>0;)o="xn"+a,p[l=n.p+"_"+o]=n.data[o],u[l]=n[o],r||(c=new we(n,o,l,c,n.rxp[o]));n=n._next}return{proxy:u,end:p,firstMPT:c,pt:h}},W.CSSPropTween=function(e,t,n,s,r,l,o,c,h,d,u){this.t=e,this.p=t,this.s=n,this.c=s,this.n=o||t,e instanceof xe||a.push(this.n),this.r=c?"function"==typeof c?c:Math.round:c,this.type=l||0,h&&(this.pr=h,i=!0),this.b=void 0===d?n:d,this.e=void 0===u?n+s:u,r&&(this._next=r,r._prev=this)}),Te=function(e,t,i,n,s,r){var a=new xe(e,t,i,n-i,s,-1,r);return a.b=i,a.e=a.xs0=n,a},Se=l.parseComplex=function(e,t,i,n,s,r,a,o,c,h){i=i||r||"","function"==typeof n&&(n=n(y,v)),a=new xe(e,t,0,0,a,h?2:1,null,!1,o,i,n),n+="",s&&ye.test(n+i)&&(n=[i,n],l.colorStringFilter(n),i=n[0],n=n[1]);var u,p,f,m,g,w,x,T,S,M,E,C,P,k=i.split(", ").join(",").split(" "),A=n.split(", ").join(",").split(" "),L=k.length,O=!1!==d;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(k=k.join(" ").replace(z,", ").split(" "),A=A.join(" ").replace(z,", ").split(" ")):(k=k.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),L=k.length),L!==A.length&&(L=(k=(r||"").split(" ")).length),a.plugin=c,a.setRatio=h,ye.lastIndex=0,u=0;u<L;u++)if(m=k[u],g=A[u]+"",(T=parseFloat(m))||0===T)a.appendXtra("",T,de(g,T),g.replace(b,""),!(!O||-1===g.indexOf("px"))&&Math.round,!0);else if(s&&ye.test(m))C=")"+((C=g.indexOf(")")+1)?g.substr(C):""),P=-1!==g.indexOf("hsl")&&q,M=g,m=ge(m,P),g=ge(g,P),(S=m.length+g.length>6)&&!q&&0===g[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(A[u]).join("transparent")):(q||(S=!1),P?a.appendXtra(M.substr(0,M.indexOf("hsl"))+(S?"hsla(":"hsl("),m[0],de(g[0],m[0]),",",!1,!0).appendXtra("",m[1],de(g[1],m[1]),"%,",!1).appendXtra("",m[2],de(g[2],m[2]),S?"%,":"%"+C,!1):a.appendXtra(M.substr(0,M.indexOf("rgb"))+(S?"rgba(":"rgb("),m[0],g[0]-m[0],",",Math.round,!0).appendXtra("",m[1],g[1]-m[1],",",Math.round).appendXtra("",m[2],g[2]-m[2],S?",":C,Math.round),S&&(m=m.length<4?1:m[3],a.appendXtra("",m,(g.length<4?1:g[3])-m,C,!1))),ye.lastIndex=0;else if(w=m.match(_)){if(!(x=g.match(b))||x.length!==w.length)return a;for(f=0,p=0;p<w.length;p++)E=w[p],M=m.indexOf(E,f),a.appendXtra(m.substr(f,M-f),Number(E),de(x[p],E),"",!(!O||"px"!==m.substr(M+E.length,2))&&Math.round,0===p),f=M+E.length;a["xs"+a.l]+=m.substr(f)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+g:g;if(-1!==n.indexOf("=")&&a.data){for(C=a.xs0+a.data.s,u=1;u<a.l;u++)C+=a["xs"+u]+a.data["xn"+u];a.e=C+a["xs"+u]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},Me=9;for((h=xe.prototype).l=h.pr=0;--Me>0;)h["xn"+Me]=0,h["xs"+Me]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(e,t,i,n,s,r){var a=this,l=a.l;return a["xs"+l]+=r&&(l||a["xs"+l])?" "+e:e||"",i||0===l||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",l>0?(a.data["xn"+l]=t+i,a.rxp["xn"+l]=s,a["xn"+l]=t,a.plugin||(a.xfirst=new xe(a,"xn"+l,t,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0),a):(a.data={s:t+i},a.rxp={},a.s=t,a.c=i,a.r=s,a)):(a["xs"+l]+=t+(n||""),a)};var Ee=function(e,t){t=t||{},this.p=t.prefix&&Q(e)||e,c[e]=c[this.p]=this,this.format=t.formatter||_e(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.allowFunc=t.allowFunc,this.pr=t.priority||0},Ce=W._registerComplexSpecialProp=function(e,t,i){"object"!=typeof t&&(t={parser:i});var n,s=e.split(","),r=t.defaultValue;for(i=i||[r],n=0;n<s.length;n++)t.prefix=0===n&&t.prefix,t.defaultValue=i[n]||r,new Ee(s[n],t)},Pe=W._registerPluginProp=function(e){if(!c[e]){var t=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";Ce(e,{parser:function(e,i,n,s,r,a,l){var h=o.com.greensock.plugins[t];return h?(h._cssRegister(),c[n].parse(e,i,n,s,r,a,l)):(Z("Error: "+t+" js file not loaded."),r)}})}};(h=Ee.prototype).parseComplex=function(e,t,i,n,s,r){var a,l,o,c,h,d,u=this.keyword;if(this.multi&&(z.test(i)||z.test(t)?(l=t.replace(z,"|").split("|"),o=i.replace(z,"|").split("|")):u&&(l=[t],o=[i])),o){for(c=o.length>l.length?o.length:l.length,a=0;a<c;a++)t=l[a]=l[a]||this.dflt,i=o[a]=o[a]||this.dflt,u&&(h=t.indexOf(u))!==(d=i.indexOf(u))&&(-1===d?l[a]=l[a].split(u).join(""):-1===h&&(l[a]+=" "+u));t=l.join(", "),i=o.join(", ")}return Se(e,this.p,t,i,this.clrs,this.dflt,n,this.pr,s,r)},h.parse=function(e,t,i,n,s,a,l){return this.parseComplex(e.style,this.format(ie(e,this.p,r,!1,this.dflt)),this.format(t),s,a)},l.registerSpecialProp=function(e,t,i){Ce(e,{parser:function(e,n,s,r,a,l,o){var c=new xe(e,s,0,0,a,2,s,!1,i);return c.plugin=l,c.setRatio=t(e,n,r._tween,s),c},priority:i})},l.useSVGTransformAttr=!0;var ke,Ae,Le,Oe,Ie,De="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Re=Q("transform"),ze=K+"transform",Ne=Q("transformOrigin"),$e=null!==Q("perspective"),Fe=W.Transform=function(){this.perspective=parseFloat(l.defaultTransformPerspective)||0,this.force3D=!(!1===l.defaultForce3D||!$e)&&(l.defaultForce3D||"auto")},Be=s.SVGElement,Ve=function(e,t,i){var n,s=H.createElementNS("http://www.w3.org/2000/svg",e),r=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(r,"$1-$2").toLowerCase(),i[n]);return t.appendChild(s),s},He=H.documentElement||{},Ue=(Ie=g||/Android/i.test(X)&&!s.chrome,H.createElementNS&&He.appendChild&&!Ie&&(Ae=Ve("svg",He),Oe=(Le=Ve("rect",Ae,{width:100,height:50,x:100})).getBoundingClientRect().width,Le.style[Ne]="50% 50%",Le.style[Re]="scaleX(0.5)",Ie=Oe===Le.getBoundingClientRect().width&&!(f&&$e),He.removeChild(Ae)),Ie),Ge=function(e,t,i,n,s,r){var a,o,c,h,d,u,p,f,m,g,v,y,_,b,w=e._gsTransform,x=qe(e,!0);w&&(_=w.xOrigin,b=w.yOrigin),(!n||(a=n.split(" ")).length<2)&&(0===(p=e.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(e.hasAttribute("x")?e.getAttribute("x"):e.hasAttribute("cx")?e.getAttribute("cx"):0)||0,y:parseFloat(e.hasAttribute("y")?e.getAttribute("y"):e.hasAttribute("cy")?e.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(t=he(t).split(" "))[0].indexOf("%")?parseFloat(t[0])/100*p.width:parseFloat(t[0]))+p.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*p.height:parseFloat(t[1]))+p.y]),i.xOrigin=h=parseFloat(a[0]),i.yOrigin=d=parseFloat(a[1]),n&&x!==Xe&&(u=x[0],p=x[1],f=x[2],m=x[3],g=x[4],v=x[5],(y=u*m-p*f)&&(o=h*(m/y)+d*(-f/y)+(f*v-m*g)/y,c=h*(-p/y)+d*(u/y)-(u*v-p*g)/y,h=i.xOrigin=a[0]=o,d=i.yOrigin=a[1]=c)),w&&(r&&(i.xOffset=w.xOffset,i.yOffset=w.yOffset,w=i),s||!1!==s&&!1!==l.defaultSmoothOrigin?(o=h-_,c=d-b,w.xOffset+=o*x[0]+c*x[2]-o,w.yOffset+=o*x[1]+c*x[3]-c):w.xOffset=w.yOffset=0),r||e.setAttribute("data-svg-origin",a.join(" "))},je=function(e){var t,i=U("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,r=this.style.cssText;if(He.appendChild(i),i.appendChild(this),this.style.display="block",e)try{t=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=je}catch(e){}else this._originalGetBBox&&(t=this._originalGetBBox());return s?n.insertBefore(this,s):n.appendChild(this),He.removeChild(i),this.style.cssText=r,t},We=function(e){return!(!Be||!e.getCTM||e.parentNode&&!e.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return je.call(e,!0)}}(e))},Xe=[1,0,0,1,0,0],qe=function(e,t){var i,n,s,r,a,l,o,c=e._gsTransform||new Fe,h=e.style;if(Re?n=ie(e,ze,null,!0):e.currentStyle&&(n=(n=e.currentStyle.filter.match(D))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),c.x||0,c.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,Re&&i&&!e.offsetParent&&e!==He&&(r=h.display,h.display="block",(o=e.parentNode)&&e.offsetParent||(a=1,l=e.nextSibling,He.appendChild(e)),i=!(n=ie(e,ze,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,r?h.display=r:Qe(h,"display"),a&&(l?o.insertBefore(e,l):o?o.appendChild(e):He.removeChild(e))),(c.svg||e.getCTM&&We(e))&&(i&&-1!==(h[Re]+"").indexOf("matrix")&&(n=h[Re],i=0),s=e.getAttribute("transform"),i&&s&&(n="matrix("+(s=e.transform.baseVal.consolidate().matrix).a+","+s.b+","+s.c+","+s.d+","+s.e+","+s.f+")",i=0)),i)return Xe;for(s=(n||"").match(_)||[],Me=s.length;--Me>-1;)r=Number(s[Me]),s[Me]=(a=r-(r|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+r:r;return t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},Ye=W.getTransform=function(e,i,n,s){if(e._gsTransform&&n&&!s)return e._gsTransform;var r,a,o,c,h,d,u=n&&e._gsTransform||new Fe,p=u.scaleX<0,f=1e5,m=$e&&(parseFloat(ie(e,Ne,i,!1,"0 0 0").split(" ")[2])||u.zOrigin)||0,g=parseFloat(l.defaultTransformPerspective)||0;if(u.svg=!(!e.getCTM||!We(e)),u.svg&&(Ge(e,ie(e,Ne,i,!1,"50% 50%")+"",u,e.getAttribute("data-svg-origin")),ke=l.useSVGTransformAttr||Ue),(r=qe(e))!==Xe){if(16===r.length){var v,y,_,b,w,x=r[0],T=r[1],S=r[2],M=r[3],E=r[4],C=r[5],P=r[6],k=r[7],A=r[8],L=r[9],O=r[10],I=r[12],D=r[13],R=r[14],z=r[11],N=Math.atan2(P,O);u.zOrigin&&(I=A*(R=-u.zOrigin)-r[12],D=L*R-r[13],R=O*R+u.zOrigin-r[14]),u.rotationX=N*F,N&&(v=E*(b=Math.cos(-N))+A*(w=Math.sin(-N)),y=C*b+L*w,_=P*b+O*w,A=E*-w+A*b,L=C*-w+L*b,O=P*-w+O*b,z=k*-w+z*b,E=v,C=y,P=_),N=Math.atan2(-S,O),u.rotationY=N*F,N&&(y=T*(b=Math.cos(-N))-L*(w=Math.sin(-N)),_=S*b-O*w,L=T*w+L*b,O=S*w+O*b,z=M*w+z*b,x=v=x*b-A*w,T=y,S=_),N=Math.atan2(T,x),u.rotation=N*F,N&&(v=x*(b=Math.cos(N))+T*(w=Math.sin(N)),y=E*b+C*w,_=A*b+L*w,T=T*b-x*w,C=C*b-E*w,L=L*b-A*w,x=v,E=y,A=_),u.rotationX&&Math.abs(u.rotationX)+Math.abs(u.rotation)>359.9&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),N=Math.atan2(E,C),u.scaleX=(Math.sqrt(x*x+T*T+S*S)*f+.5|0)/f,u.scaleY=(Math.sqrt(C*C+P*P)*f+.5|0)/f,u.scaleZ=(Math.sqrt(A*A+L*L+O*O)*f+.5|0)/f,x/=u.scaleX,E/=u.scaleY,T/=u.scaleX,C/=u.scaleY,Math.abs(N)>2e-5?(u.skewX=N*F,E=0,"simple"!==u.skewType&&(u.scaleY*=1/Math.cos(N))):u.skewX=0,u.perspective=z?1/(z<0?-z:z):0,u.x=I,u.y=D,u.z=R,u.svg&&(u.x-=u.xOrigin-(u.xOrigin*x-u.yOrigin*E),u.y-=u.yOrigin-(u.yOrigin*T-u.xOrigin*C))}else if(!$e||s||!r.length||u.x!==r[4]||u.y!==r[5]||!u.rotationX&&!u.rotationY){var $=r.length>=6,B=$?r[0]:1,V=r[1]||0,H=r[2]||0,U=$?r[3]:1;u.x=r[4]||0,u.y=r[5]||0,o=Math.sqrt(B*B+V*V),c=Math.sqrt(U*U+H*H),h=B||V?Math.atan2(V,B)*F:u.rotation||0,d=H||U?Math.atan2(H,U)*F+h:u.skewX||0,u.scaleX=o,u.scaleY=c,u.rotation=h,u.skewX=d,$e&&(u.rotationX=u.rotationY=u.z=0,u.perspective=g,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*B+u.yOrigin*H),u.y-=u.yOrigin-(u.xOrigin*V+u.yOrigin*U))}for(a in Math.abs(u.skewX)>90&&Math.abs(u.skewX)<270&&(p?(u.scaleX*=-1,u.skewX+=u.rotation<=0?180:-180,u.rotation+=u.rotation<=0?180:-180):(u.scaleY*=-1,u.skewX+=u.skewX<=0?180:-180)),u.zOrigin=m,u)u[a]<2e-5&&u[a]>-2e-5&&(u[a]=0)}return n&&(e._gsTransform=u,u.svg&&(ke&&e.style[Re]?t.delayedCall(.001,(function(){Qe(e.style,Re)})):!ke&&e.getAttribute("transform")&&t.delayedCall(.001,(function(){e.removeAttribute("transform")})))),u},Ze=function(e){var t,i,n=this.data,s=-n.rotation*$,r=s+n.skewX*$,a=1e5,l=(Math.cos(s)*n.scaleX*a|0)/a,o=(Math.sin(s)*n.scaleX*a|0)/a,c=(Math.sin(r)*-n.scaleY*a|0)/a,h=(Math.cos(r)*n.scaleY*a|0)/a,d=this.t.style,u=this.t.currentStyle;if(u){i=o,o=-c,c=-i,t=u.filter,d.filter="";var p,f,m=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==u.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+l+", M12="+o+", M21="+c+", M22="+h,b=n.x+m*n.xPercent/100,w=n.y+v*n.yPercent/100;if(null!=n.ox&&(b+=(p=(n.oxp?m*n.ox*.01:n.ox)-m/2)-(p*l+(f=(n.oyp?v*n.oy*.01:n.oy)-v/2)*o),w+=f-(p*c+f*h)),_+=y?", Dx="+((p=m/2)-(p*l+(f=v/2)*o)+b)+", Dy="+(f-(p*c+f*h)+w)+")":", sizingMethod='auto expand')",-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?d.filter=t.replace(R,_):d.filter=_+" "+t,0!==e&&1!==e||1===l&&0===o&&0===c&&1===h&&(y&&-1===_.indexOf("Dx=0, Dy=0")||M.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&d.removeAttribute("filter")),!y){var x,T,E,C=g<8?1:-1;for(p=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((m-((l<0?-l:l)*m+(o<0?-o:o)*v))/2+b),n.ieOffsetY=Math.round((v-((h<0?-h:h)*v+(c<0?-c:c)*m))/2+w),Me=0;Me<4;Me++)E=(i=-1!==(x=u[T=oe[Me]]).indexOf("px")?parseFloat(x):ne(this.t,T,parseFloat(x),x.replace(S,""))||0)!==n[T]?Me<2?-n.ieOffsetX:-n.ieOffsetY:Me<2?p-n.ieOffsetX:f-n.ieOffsetY,d[T]=(n[T]=Math.round(i-E*(0===Me||2===Me?1:C)))+"px"}}},Ke=W.set3DTransformRatio=W.setTransformRatio=function(e){var t,i,n,s,r,a,l,o,c,h,d,u,p,m,g,v,y,_,b,w,x,T=this.data,S=this.t.style,M=T.rotation,E=T.rotationX,C=T.rotationY,P=T.scaleX,k=T.scaleY,A=T.scaleZ,L=T.x,O=T.y,I=T.z,D=T.svg,R=T.perspective,z=T.force3D,N=T.skewY,F=T.skewX;if(N&&(F+=N,M+=N),!((1!==e&&0!==e||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||I||R||C||E||1!==A)||ke&&D||!$e)M||F||D?(M*=$,w=F*$,x=1e5,i=Math.cos(M)*P,r=Math.sin(M)*P,n=Math.sin(M-w)*-k,a=Math.cos(M-w)*k,w&&"simple"===T.skewType&&(t=Math.tan(w-N*$),n*=t=Math.sqrt(1+t*t),a*=t,N&&(t=Math.tan(N*$),i*=t=Math.sqrt(1+t*t),r*=t)),D&&(L+=T.xOrigin-(T.xOrigin*i+T.yOrigin*n)+T.xOffset,O+=T.yOrigin-(T.xOrigin*r+T.yOrigin*a)+T.yOffset,ke&&(T.xPercent||T.yPercent)&&(g=this.t.getBBox(),L+=.01*T.xPercent*g.width,O+=.01*T.yPercent*g.height),L<(g=1e-6)&&L>-g&&(L=0),O<g&&O>-g&&(O=0)),b=(i*x|0)/x+","+(r*x|0)/x+","+(n*x|0)/x+","+(a*x|0)/x+","+L+","+O+")",D&&ke?this.t.setAttribute("transform","matrix("+b):S[Re]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+b):S[Re]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+P+",0,0,"+k+","+L+","+O+")";else{if(f&&(P<(g=1e-4)&&P>-g&&(P=A=2e-5),k<g&&k>-g&&(k=A=2e-5),!R||T.z||T.rotationX||T.rotationY||(R=0)),M||F)M*=$,v=i=Math.cos(M),y=r=Math.sin(M),F&&(M-=F*$,v=Math.cos(M),y=Math.sin(M),"simple"===T.skewType&&(t=Math.tan((F-N)*$),v*=t=Math.sqrt(1+t*t),y*=t,T.skewY&&(t=Math.tan(N*$),i*=t=Math.sqrt(1+t*t),r*=t))),n=-y,a=v;else{if(!(C||E||1!==A||R||D))return void(S[Re]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+L+"px,"+O+"px,"+I+"px)"+(1!==P||1!==k?" scale("+P+","+k+")":""));i=a=1,n=r=0}h=1,s=l=o=c=d=u=0,p=R?-1/R:0,m=T.zOrigin,g=1e-6,",","0",(M=C*$)&&(v=Math.cos(M),o=-(y=Math.sin(M)),d=p*-y,s=i*y,l=r*y,h=v,p*=v,i*=v,r*=v),(M=E*$)&&(t=n*(v=Math.cos(M))+s*(y=Math.sin(M)),_=a*v+l*y,c=h*y,u=p*y,s=n*-y+s*v,l=a*-y+l*v,h*=v,p*=v,n=t,a=_),1!==A&&(s*=A,l*=A,h*=A,p*=A),1!==k&&(n*=k,a*=k,c*=k,u*=k),1!==P&&(i*=P,r*=P,o*=P,d*=P),(m||D)&&(m&&(L+=s*-m,O+=l*-m,I+=h*-m+m),D&&(L+=T.xOrigin-(T.xOrigin*i+T.yOrigin*n)+T.xOffset,O+=T.yOrigin-(T.xOrigin*r+T.yOrigin*a)+T.yOffset),L<g&&L>-g&&(L="0"),O<g&&O>-g&&(O="0"),I<g&&I>-g&&(I=0)),b=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",b+=(i<g&&i>-g?"0":i)+","+(r<g&&r>-g?"0":r)+","+(o<g&&o>-g?"0":o),b+=","+(d<g&&d>-g?"0":d)+","+(n<g&&n>-g?"0":n)+","+(a<g&&a>-g?"0":a),E||C||1!==A?(b+=","+(c<g&&c>-g?"0":c)+","+(u<g&&u>-g?"0":u)+","+(s<g&&s>-g?"0":s),b+=","+(l<g&&l>-g?"0":l)+","+(h<g&&h>-g?"0":h)+","+(p<g&&p>-g?"0":p)+","):b+=",0,0,0,0,1,0,",b+=L+","+O+","+I+","+(R?1+-I/R:1)+")",S[Re]=b}};(h=Fe.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Ce("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(e,t,i,n,s,a,o){if(n._lastParsedTransform===o)return s;n._lastParsedTransform=o;var c=o.scale&&"function"==typeof o.scale?o.scale:0;c&&(o.scale=c(y,e));var h,d,u,p,f,m,g,_,b,w=e._gsTransform,x=e.style,T=De.length,S=o,M={},E=Ye(e,r,!0,S.parseTransform),C=S.transform&&("function"==typeof S.transform?S.transform(y,v):S.transform);if(E.skewType=S.skewType||E.skewType||l.defaultSkewType,n._transform=E,"rotationZ"in S&&(S.rotation=S.rotationZ),C&&"string"==typeof C&&Re)(d=G.style)[Re]=C,d.display="block",d.position="absolute",-1!==C.indexOf("%")&&(d.width=ie(e,"width"),d.height=ie(e,"height")),H.body.appendChild(G),h=Ye(G,null,!1),"simple"===E.skewType&&(h.scaleY*=Math.cos(h.skewX*$)),E.svg&&(m=E.xOrigin,g=E.yOrigin,h.x-=E.xOffset,h.y-=E.yOffset,(S.transformOrigin||S.svgOrigin)&&(C={},Ge(e,he(S.transformOrigin),C,S.svgOrigin,S.smoothOrigin,!0),m=C.xOrigin,g=C.yOrigin,h.x-=C.xOffset-E.xOffset,h.y-=C.yOffset-E.yOffset),(m||g)&&(_=qe(G,!0),h.x-=m-(m*_[0]+g*_[2]),h.y-=g-(m*_[1]+g*_[3]))),H.body.removeChild(G),h.perspective||(h.perspective=E.perspective),null!=S.xPercent&&(h.xPercent=ue(S.xPercent,E.xPercent)),null!=S.yPercent&&(h.yPercent=ue(S.yPercent,E.yPercent));else if("object"==typeof S){if(h={scaleX:ue(null!=S.scaleX?S.scaleX:S.scale,E.scaleX),scaleY:ue(null!=S.scaleY?S.scaleY:S.scale,E.scaleY),scaleZ:ue(S.scaleZ,E.scaleZ),x:ue(S.x,E.x),y:ue(S.y,E.y),z:ue(S.z,E.z),xPercent:ue(S.xPercent,E.xPercent),yPercent:ue(S.yPercent,E.yPercent),perspective:ue(S.transformPerspective,E.perspective)},null!=(f=S.directionalRotation))if("object"==typeof f)for(d in f)S[d]=f[d];else S.rotation=f;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(h.x=0,h.xPercent=ue(S.x,E.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(h.y=0,h.yPercent=ue(S.y,E.yPercent)),h.rotation=pe("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":E.rotation,E.rotation,"rotation",M),$e&&(h.rotationX=pe("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",M),h.rotationY=pe("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",M)),h.skewX=pe(S.skewX,E.skewX),h.skewY=pe(S.skewY,E.skewY)}for($e&&null!=S.force3D&&(E.force3D=S.force3D,p=!0),(u=E.force3D||E.z||E.rotationX||E.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==S.scale||(h.scaleZ=1);--T>-1;)((C=h[b=De[T]]-E[b])>1e-6||C<-1e-6||null!=S[b]||null!=B[b])&&(p=!0,s=new xe(E,b,E[b],C,s),b in M&&(s.e=M[b]),s.xs0=0,s.plugin=a,n._overwriteProps.push(s.n));return C="function"==typeof S.transformOrigin?S.transformOrigin(y,v):S.transformOrigin,E.svg&&(C||S.svgOrigin)&&(m=E.xOffset,g=E.yOffset,Ge(e,he(C),h,S.svgOrigin,S.smoothOrigin),s=Te(E,"xOrigin",(w?E:h).xOrigin,h.xOrigin,s,"transformOrigin"),s=Te(E,"yOrigin",(w?E:h).yOrigin,h.yOrigin,s,"transformOrigin"),m===E.xOffset&&g===E.yOffset||(s=Te(E,"xOffset",w?m:E.xOffset,E.xOffset,s,"transformOrigin"),s=Te(E,"yOffset",w?g:E.yOffset,E.yOffset,s,"transformOrigin")),C="0px 0px"),(C||$e&&u&&E.zOrigin)&&(Re?(p=!0,b=Ne,C||(C=(C=(ie(e,b,r,!1,"50% 50%")+"").split(" "))[0]+" "+C[1]+" "+E.zOrigin+"px"),C+="",(s=new xe(x,b,0,0,s,-1,"transformOrigin")).b=x[b],s.plugin=a,$e?(d=E.zOrigin,C=C.split(" "),E.zOrigin=(C.length>2?parseFloat(C[2]):d)||0,s.xs0=s.e=C[0]+" "+(C[1]||"50%")+" 0px",(s=new xe(E,"zOrigin",0,0,s,-1,s.n)).b=d,s.xs0=s.e=E.zOrigin):s.xs0=s.e=C):he(C+"",E)),p&&(n._transformType=E.svg&&ke||!u&&3!==this._transformType?2:3),c&&(o.scale=c),s},allowFunc:!0,prefix:!0}),Ce("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ce("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:_e("inset(0% 0% 0% 0%)",!1,!0)}),Ce("borderRadius",{defaultValue:"0px",parser:function(e,t,i,s,a,l){t=this.format(t);var o,c,h,d,u,p,f,m,g,v,y,_,b,w,x,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],M=e.style;for(g=parseFloat(e.offsetWidth),v=parseFloat(e.offsetHeight),o=t.split(" "),c=0;c<S.length;c++)this.p.indexOf("border")&&(S[c]=Q(S[c])),-1!==(u=d=ie(e,S[c],r,!1,"0px")).indexOf(" ")&&(d=u.split(" "),u=d[0],d=d[1]),p=h=o[c],f=parseFloat(u),_=u.substr((f+"").length),(b="="===p.charAt(1))?(m=parseInt(p.charAt(0)+"1",10),p=p.substr(2),m*=parseFloat(p),y=p.substr((m+"").length-(m<0?1:0))||""):(m=parseFloat(p),y=p.substr((m+"").length)),""===y&&(y=n[i]||_),y!==_&&(w=ne(e,"borderLeft",f,_),x=ne(e,"borderTop",f,_),"%"===y?(u=w/g*100+"%",d=x/v*100+"%"):"em"===y?(u=w/(T=ne(e,"borderLeft",1,"em"))+"em",d=x/T+"em"):(u=w+"px",d=x+"px"),b&&(p=parseFloat(u)+m+y,h=parseFloat(d)+m+y)),a=Se(M,S[c],u+" "+d,p+" "+h,!1,"0px",a);return a},prefix:!0,formatter:_e("0px 0px 0px 0px",!1,!0)}),Ce("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,i,n,s,a){return Se(e.style,i,this.format(ie(e,i,r,!1,"0px 0px")),this.format(t),!1,"0px",s)},prefix:!0,formatter:_e("0px 0px",!1,!0)}),Ce("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,i,n,s,a){var l,o,c,h,d,u,p="background-position",f=r||te(e),m=this.format((f?g?f.getPropertyValue(p+"-x")+" "+f.getPropertyValue(p+"-y"):f.getPropertyValue(p):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),v=this.format(t);if(-1!==m.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(u=ie(e,"backgroundImage").replace(L,""))&&"none"!==u){for(l=m.split(" "),o=v.split(" "),j.setAttribute("src",u),c=2;--c>-1;)(h=-1!==(m=l[c]).indexOf("%"))!==(-1!==o[c].indexOf("%"))&&(d=0===c?e.offsetWidth-j.width:e.offsetHeight-j.height,l[c]=h?parseFloat(m)/100*d+"px":parseFloat(m)/d*100+"%");m=l.join(" ")}return this.parseComplex(e.style,m,v,s,a)},formatter:he}),Ce("backgroundSize",{defaultValue:"0 0",formatter:function(e){return"co"===(e+="").substr(0,2)?e:he(-1===e.indexOf(" ")?e+" "+e:e)}}),Ce("perspective",{defaultValue:"0px",prefix:!0}),Ce("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ce("transformStyle",{prefix:!0}),Ce("backfaceVisibility",{prefix:!0}),Ce("userSelect",{prefix:!0}),Ce("margin",{parser:be("marginTop,marginRight,marginBottom,marginLeft")}),Ce("padding",{parser:be("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ce("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,i,n,s,a){var l,o,c;return g<9?(o=e.currentStyle,c=g<8?" ":",",l="rect("+o.clipTop+c+o.clipRight+c+o.clipBottom+c+o.clipLeft+")",t=this.format(t).split(",").join(c)):(l=this.format(ie(e,this.p,r,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,l,t,s,a)}}),Ce("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ce("autoRound,strictUnits",{parser:function(e,t,i,n,s){return s}}),Ce("border",{defaultValue:"0px solid #000",parser:function(e,t,i,n,s,a){var l=ie(e,"borderTopWidth",r,!1,"0px"),o=this.format(t).split(" "),c=o[0].replace(S,"");return"px"!==c&&(l=parseFloat(l)/ne(e,"borderTopWidth",1,c)+c),this.parseComplex(e.style,this.format(l+" "+ie(e,"borderTopStyle",r,!1,"solid")+" "+ie(e,"borderTopColor",r,!1,"#000")),o.join(" "),s,a)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(ye)||["#000"])[0]}}),Ce("borderWidth",{parser:be("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ce("float,cssFloat,styleFloat",{parser:function(e,t,i,n,s,r){var a=e.style,l="cssFloat"in a?"cssFloat":"styleFloat";return new xe(a,l,0,0,s,-1,i,!1,0,a[l],t)}});var Je=function(e){var t,i=this.t,n=i.filter||ie(this.data,"filter")||"",s=this.s+this.c*e|0;100===s&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),t=!ie(this.data,"filter")):(i.filter=n.replace(C,""),t=!0)),t||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0===s&&this.xn1||(i.filter=n+" alpha(opacity="+s+")"):i.filter=n.replace(M,"opacity="+s))};Ce("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,i,n,s,a){var l=parseFloat(ie(e,"opacity",r,!1,"1")),o=e.style,c="autoAlpha"===i;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+l),c&&1===l&&"hidden"===ie(e,"visibility",r)&&0!==t&&(l=0),q?s=new xe(o,"opacity",l,t-l,s):((s=new xe(o,"opacity",100*l,100*(t-l),s)).xn1=c?1:0,o.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=e,s.plugin=a,s.setRatio=Je),c&&((s=new xe(o,"visibility",0,0,s,-1,null,!1,0,0!==l?"inherit":"hidden",0===t?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var Qe=function(e,t){t&&(e.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),e.removeProperty(t.replace(k,"-$1").toLowerCase())):e.removeAttribute(t))},et=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:Qe(i,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ce("className",{parser:function(e,t,n,s,a,l,o){var c,h,d,u,p,f=e.getAttribute("class")||"",m=e.style.cssText;if((a=s._classNamePT=new xe(e,n,0,0,a,2)).setRatio=et,a.pr=-11,i=!0,a.b=f,h=re(e,r),d=e._gsClassPT){for(u={},p=d.data;p;)u[p.p]=1,p=p._next;d.setRatio(1)}return e._gsClassPT=a,a.e="="!==t.charAt(1)?t:f.replace(new RegExp("(?:\\s|^)"+t.substr(2)+"(?![\\w-])"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),e.setAttribute("class",a.e),c=ae(e,h,re(e),o,u),e.setAttribute("class",f),a.data=c.firstMPT,e.style.cssText!==m&&(e.style.cssText=m),a=a.xfirst=s.parse(e,c.difs,a,l)}});var tt=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,i,n,s,r,a=this.t.style,l=c.transform.parse;if("all"===this.e)a.cssText="",s=!0;else for(n=(t=this.e.split(" ").join("").split(",")).length;--n>-1;)i=t[n],c[i]&&(c[i].parse===l?s=!0:i="transformOrigin"===i?Ne:c[i].p),Qe(a,i);s&&(Qe(a,Re),(r=this.t._gsTransform)&&(r.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ce("clearProps",{parser:function(e,t,n,s,r){return(r=new xe(e,n,0,0,r,2)).setRatio=tt,r.e=t,r.pr=-10,r.data=s._tween,i=!0,r}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Me=h.length;Me--;)Pe(h[Me]);(h=l.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(e,t,s,o){if(!e.nodeType)return!1;this._target=v=e,this._tween=s,this._vars=t,y=o,d=t.autoRound,i=!1,n=t.suffixMap||l.suffixMap,r=te(e),a=this._overwriteProps;var h,f,g,_,b,w,x,T,S,M=e.style;if(u&&""===M.zIndex&&("auto"!==(h=ie(e,"zIndex",r))&&""!==h||this._addLazySet(M,"zIndex",0)),"string"==typeof t&&(_=M.cssText,h=re(e,r),M.cssText=_+";"+t,h=ae(e,h,re(e)).difs,!q&&E.test(t)&&(h.opacity=parseFloat(RegExp.$1)),t=h,M.cssText=_),t.className?this._firstPT=f=c.className.parse(e,t.className,"className",this,null,null,t):this._firstPT=f=this.parse(e,t,null),this._transformType){for(S=3===this._transformType,Re?p&&(u=!0,""===M.zIndex&&("auto"!==(x=ie(e,"zIndex",r))&&""!==x||this._addLazySet(M,"zIndex",0)),m&&this._addLazySet(M,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):M.zoom=1,g=f;g&&g._next;)g=g._next;T=new xe(e,"transform",0,0,null,2),this._linkCSSP(T,null,g),T.setRatio=Re?Ke:Ze,T.data=this._transform||Ye(e,r,!0),T.tween=s,T.pr=-1,a.pop()}if(i){for(;f;){for(w=f._next,g=_;g&&g.pr>f.pr;)g=g._next;(f._prev=g?g._prev:b)?f._prev._next=f:_=f,(f._next=g)?g._prev=f:b=f,f=w}this._firstPT=_}return!0},h.parse=function(e,t,i,s){var a,l,o,h,u,p,f,m,g,_,b=e.style;for(a in t){if(p=t[a],l=c[a],"function"!=typeof p||l&&l.allowFunc||(p=p(y,v)),l)i=l.parse(e,p,a,this,i,s,t);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,e.style,"setProperty",te(e).getPropertyValue(a)+"",p+"",a,!1,a);continue}u=ie(e,a,r)+"",g="string"==typeof p,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||g&&P.test(p)?(g||(p=((p=ge(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Se(b,a,u,p,!0,"transparent",i,0,s)):g&&N.test(p)?i=Se(b,a,u,p,!0,null,i,0,s):(f=(o=parseFloat(u))||0===o?u.substr((o+"").length):"",""!==u&&"auto"!==u||("width"===a||"height"===a?(o=ce(e,a,r),f="px"):"left"===a||"top"===a?(o=se(e,a,r),f="px"):(o="opacity"!==a?0:1,f="")),(_=g&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),m=p.replace(S,"")):(h=parseFloat(p),m=g?p.replace(S,""):""),""===m&&(m=a in n?n[a]:f),p=h||0===h?(_?h+o:h)+m:t[a],f!==m&&(""===m&&"lineHeight"!==a||(h||0===h)&&o&&(o=ne(e,a,o,f),"%"===m?(o/=ne(e,a,100,"%")/100,!0!==t.strictUnits&&(u=o+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?o/=ne(e,a,1,m):"px"!==m&&(h=ne(e,a,h,m),m="px"),_&&(h||0===h)&&(p=h+o+m))),_&&(h+=o),!o&&0!==o||!h&&0!==h?void 0!==b[a]&&(p||p+""!="NaN"&&null!=p)?(i=new xe(b,a,h||o||0,0,i,-1,a,!1,0,u,p)).xs0="none"!==p||"display"!==a&&-1===a.indexOf("Style")?p:u:Z("invalid "+a+" tween value: "+t[a]):(i=new xe(b,a,o,h-o,i,0,a,!1!==d&&("px"===m||"zIndex"===a),0,u,p)).xs0=m)}s&&i&&!i.plugin&&(i.plugin=s)}return i},h.setRatio=function(e){var t,i,n,s=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(t=s.c*e+s.s,s.r?t=s.r(t):t<1e-6&&t>-1e-6&&(t=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+t+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(e);else s.t[s.p]=t+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(e),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(t=s.r(s.s+s.c),s.type){if(1===s.type){for(n=s.l,i=s.xs0+t+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}}else s.t[s.p]=t+s.xs0;else s.t[s.p]=s.e;else s.setRatio(e);s=s._next}},h._enableTransforms=function(e){this._transform=this._transform||Ye(this._target,r,!0),this._transformType=this._transform.svg&&ke||!e&&3!==this._transformType?2:3};var it=function(e){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(e,t,i){var n=this._firstPT=new xe(e,t,0,0,this._firstPT,2);n.e=i,n.setRatio=it,n.data=this},h._linkCSSP=function(e,t,i,n){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,n=!0),i?i._next=e:n||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=i),e},h._mod=function(e){for(var t=this._firstPT;t;)"function"==typeof e[t.p]&&(t.r=e[t.p]),t=t._next},h._kill=function(t){var i,n,s,r=t;if(t.autoAlpha||t.alpha){for(n in r={},t)r[n]=t[n];r.opacity=1,r.autoAlpha&&(r.visibility=1)}for(t.className&&(i=this._classNamePT)&&((s=i.xfirst)&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):s===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==n&&i.plugin._kill&&(i.plugin._kill(t),n=i.plugin),i=i._next;return e.prototype._kill.call(this,r)};var nt=function(e,t,i){var n,s,r,a;if(e.slice)for(s=e.length;--s>-1;)nt(e[s],t,i);else for(s=(n=e.childNodes).length;--s>-1;)a=(r=n[s]).type,r.style&&(t.push(re(r)),i&&i.push(r)),1!==a&&9!==a&&11!==a||!r.childNodes.length||nt(r,t,i)};return l.cascadeTo=function(e,i,n){var s,r,a,l,o=t.to(e,i,n),c=[o],h=[],d=[],u=[],p=t._internals.reservedProps;for(e=o._targets||o.target,nt(e,h,u),o.render(i,!0,!0),nt(e,d),o.render(0,!0,!0),o._enabled(!0),s=u.length;--s>-1;)if((r=ae(u[s],h[s],d[s])).firstMPT){for(a in r=r.difs,n)p[a]&&(r[a]=n[a]);for(a in l={},r)l[a]=h[s][a];c.push(t.fromTo(u[s],i,l,r))}return c},e.activate([l]),l}),!0),function(){var e=s._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(e,t,i){return this._tween=i,!0}}),t=function(e){var t=e<1?Math.pow(10,(e+"").length-2):1;return function(i){return(Math.round(i/e)*e*t|0)/t}},i=function(e,t){for(;e;)e.f||e.blob||(e.m=t||Math.round),e=e._next},n=e.prototype;n._onInitAllProps=function(){var e,n,s,r,a=this._tween,l=a.vars.roundProps,o={},c=a._propLookup.roundProps;if("object"!=typeof l||l.push)for("string"==typeof l&&(l=l.split(",")),s=l.length;--s>-1;)o[l[s]]=Math.round;else for(r in l)o[r]=t(l[r]);for(r in o)for(e=a._firstPT;e;)n=e._next,e.pg?e.t._mod(o):e.n===r&&(2===e.f&&e.t?i(e.t._firstPT,o[r]):(this._add(e.t,r,e.s,e.c,o[r]),n&&(n._prev=e._prev),e._prev?e._prev._next=n:a._firstPT===e&&(a._firstPT=n),e._next=e._prev=null,a._propLookup[r]=c)),e=n;return!1},n._add=function(e,t,i,n,s){this._addTween(e,t,i,i+n,t,s||Math.round),this._overwriteProps.push(t)}}(),s._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(e,t,i,n){var s,r;if("function"!=typeof e.setAttribute)return!1;for(s in t)"function"==typeof(r=t[s])&&(r=r(n,e)),this._addTween(e,"setAttribute",e.getAttribute(s)+"",r+"",s,!1,s),this._overwriteProps.push(s);return!0}}),s._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(e,t,i,n){"object"!=typeof t&&(t={rotation:t}),this.finals={};var s,r,a,l,o,c,h=!0===t.useRadians?2*Math.PI:360;for(s in t)"useRadians"!==s&&("function"==typeof(l=t[s])&&(l=l(n,e)),r=(c=(l+"").split("_"))[0],a=parseFloat("function"!=typeof e[s]?e[s]:e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]()),o=(l=this.finals[s]="string"==typeof r&&"="===r.charAt(1)?a+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0)-a,c.length&&(-1!==(r=c.join("_")).indexOf("short")&&(o%=h)!==o%(h/2)&&(o=o<0?o+h:o-h),-1!==r.indexOf("_cw")&&o<0?o=(o+9999999999*h)%h-(o/h|0)*h:-1!==r.indexOf("ccw")&&o>0&&(o=(o-9999999999*h)%h-(o/h|0)*h)),(o>1e-6||o<-1e-6)&&(this._addTween(e,s,a,a+o,s),this._overwriteProps.push(s)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,s._gsDefine("easing.Back",["easing.Ease"],(function(e){var t,i,n,r,a=s.GreenSockGlobals||s,l=a.com.greensock,o=2*Math.PI,c=Math.PI/2,h=l._class,d=function(t,i){var n=h("easing."+t,(function(){}),!0),s=n.prototype=new e;return s.constructor=n,s.getRatio=i,n},u=e.register||function(){},p=function(e,t,i,n,s){var r=h("easing."+e,{easeOut:new t,easeIn:new i,easeInOut:new n},!0);return u(r,e),r},f=function(e,t,i){this.t=e,this.v=t,i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-e)},m=function(t,i){var n=h("easing."+t,(function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1}),!0),s=n.prototype=new e;return s.constructor=n,s.getRatio=i,s.config=function(e){return new n(e)},n},g=p("Back",m("BackOut",(function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1})),m("BackIn",(function(e){return e*e*((this._p1+1)*e-this._p1)})),m("BackInOut",(function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)}))),v=h("easing.SlowMo",(function(e,t,i){t=t||0===t?t:.7,null==e?e=.7:e>1&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),y=v.prototype=new e;return y.constructor=v,y.getRatio=function(e){var t=e+(.5-e)*this._p;return e<this._p1?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1===e?0:1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},v.ease=new v(.7,.7),y.config=v.config=function(e,t,i){return new v(e,t,i)},(y=(t=h("easing.SteppedEase",(function(e,t){e=e||1,this._p1=1/e,this._p2=e+(t?0:1),this._p3=t?1:0}),!0)).prototype=new e).constructor=t,y.getRatio=function(e){return e<0?e=0:e>=1&&(e=.999999999),((this._p2*e|0)+this._p3)*this._p1},y.config=t.config=function(e,i){return new t(e,i)},(y=(i=h("easing.ExpoScaleEase",(function(e,t,i){this._p1=Math.log(t/e),this._p2=t-e,this._p3=e,this._ease=i}),!0)).prototype=new e).constructor=i,y.getRatio=function(e){return this._ease&&(e=this._ease.getRatio(e)),(this._p3*Math.exp(this._p1*e)-this._p3)/this._p2},y.config=i.config=function(e,t,n){return new i(e,t,n)},(y=(n=h("easing.RoughEase",(function(t){for(var i,n,s,r,a,l,o=(t=t||{}).taper||"none",c=[],h=0,d=0|(t.points||20),u=d,p=!1!==t.randomize,m=!0===t.clamp,g=t.template instanceof e?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--u>-1;)i=p?Math.random():1/d*u,n=g?g.getRatio(i):i,s="none"===o?v:"out"===o?(r=1-i)*r*v:"in"===o?i*i*v:i<.5?(r=2*i)*r*.5*v:(r=2*(1-i))*r*.5*v,p?n+=Math.random()*s-.5*s:u%2?n+=.5*s:n-=.5*s,m&&(n>1?n=1:n<0&&(n=0)),c[h++]={x:i,y:n};for(c.sort((function(e,t){return e.x-t.x})),l=new f(1,1,null),u=d;--u>-1;)a=c[u],l=new f(a.x,a.y,l);this._prev=new f(0,0,0!==l.t?l:l.next)}),!0)).prototype=new e).constructor=n,y.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},y.config=function(e){return new n(e)},n.ease=new n,p("Bounce",d("BounceOut",(function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375})),d("BounceIn",(function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)})),d("BounceInOut",(function(e){var t=e<.5;return(e=t?1-2*e:2*e-1)<1/2.75?e*=7.5625*e:e=e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5}))),p("Circ",d("CircOut",(function(e){return Math.sqrt(1-(e-=1)*e)})),d("CircIn",(function(e){return-(Math.sqrt(1-e*e)-1)})),d("CircInOut",(function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}))),p("Elastic",(r=function(t,i,n){var s=h("easing."+t,(function(e,t){this._p1=e>=1?e:1,this._p2=(t||n)/(e<1?e:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2}),!0),r=s.prototype=new e;return r.constructor=s,r.getRatio=i,r.config=function(e,t){return new s(e,t)},s})("ElasticOut",(function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(e){return(e*=2)<1?this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)*.5+1}),.45)),p("Expo",d("ExpoOut",(function(e){return 1-Math.pow(2,-10*e)})),d("ExpoIn",(function(e){return Math.pow(2,10*(e-1))-.001})),d("ExpoInOut",(function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))}))),p("Sine",d("SineOut",(function(e){return Math.sin(e*c)})),d("SineIn",(function(e){return 1-Math.cos(e*c)})),d("SineInOut",(function(e){return-.5*(Math.cos(Math.PI*e)-1)}))),h("easing.EaseLookup",{find:function(t){return e.map[t]}},!0),u(a.SlowMo,"SlowMo","ease,"),u(n,"RoughEase","ease,"),u(t,"SteppedEase","ease,"),g}),!0)})),s._gsDefine&&s._gsQueue.pop()(),function(i,s){"use strict";var r={},a=i.document,l=i.GreenSockGlobals=i.GreenSockGlobals||i,o=l.TweenMax;if(o)return e.exports&&(e.exports=o),o;var c,h,d,u,p,f,m,g=function(e){var t,i=e.split("."),n=l;for(t=0;t<i.length;t++)n[i[t]]=n=n[i[t]]||{};return n},v=g("com.greensock"),y=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},_=function(){},b=(f=Object.prototype.toString,m=f.call([]),function(e){return null!=e&&(e instanceof Array||"object"==typeof e&&!!e.push&&f.call(e)===m)}),w={},x=function(i,s,a,o){this.sc=w[i]?w[i].sc:[],w[i]=this,this.gsClass=null,this.func=a;var c=[];this.check=function(h){for(var d,u,p,f,m=s.length,v=m;--m>-1;)(d=w[s[m]]||new x(s[m],[])).gsClass?(c[m]=d.gsClass,v--):h&&d.sc.push(this);if(0===v&&a){if(p=(u=("com.greensock."+i).split(".")).pop(),f=g(u.join("."))[p]=this.gsClass=a.apply(a,c),o)if(l[p]=r[p]=f,e.exports)if("TweenMax"===i)for(m in e.exports=r.TweenMax=f,r)f[m]=r[m];else r.TweenMax&&(r.TweenMax[p]=f);else void 0===(n=function(){return f}.apply(t,[]))||(e.exports=n);for(m=0;m<this.sc.length;m++)this.sc[m].check()}},this.check(!0)},T=i._gsDefine=function(e,t,i,n){return new x(e,t,i,n)},S=v._class=function(e,t,i){return t=t||function(){},T(e,[],(function(){return t}),i),t};T.globals=l;var M=[0,0,1,1],E=S("easing.Ease",(function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?M.concat(t):M}),!0),C=E.map={},P=E.register=function(e,t,i,n){for(var s,r,a,l,o=t.split(","),c=o.length,h=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(r=o[c],s=n?S("easing."+r,null,!0):v.easing[r]||{},a=h.length;--a>-1;)l=h[a],C[r+"."+l]=C[l+r]=s[l]=e.getRatio?e:e[l]||new e};for((d=E.prototype)._calcEnd=!1,d.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:e<.5?n/2:1-n/2},h=(c=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--h>-1;)d=c[h]+",Power"+h,P(new E(null,null,1,h),d,"easeOut",!0),P(new E(null,null,2,h),d,"easeIn"+(0===h?",easeNone":"")),P(new E(null,null,3,h),d,"easeInOut");C.linear=v.easing.Linear.easeIn,C.swing=v.easing.Quad.easeInOut;var k=S("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(d=k.prototype).addEventListener=function(e,t,i,n,s){s=s||0;var r,a,l=this._listeners[e],o=0;for(this!==u||p||u.wake(),null==l&&(this._listeners[e]=l=[]),a=l.length;--a>-1;)(r=l[a]).c===t&&r.s===i?l.splice(a,1):0===o&&r.pr<s&&(o=a+1);l.splice(o,0,{c:t,s:i,up:n,pr:s})},d.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},d.dispatchEvent=function(e){var t,i,n,s=this._listeners[e];if(s)for((t=s.length)>1&&(s=s.slice(0)),i=this._eventTarget;--t>-1;)(n=s[t])&&(n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i))};var A=i.requestAnimationFrame,L=i.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},I=O();for(h=(c=["ms","moz","webkit","o"]).length;--h>-1&&!A;)A=i[c[h]+"RequestAnimationFrame"],L=i[c[h]+"CancelAnimationFrame"]||i[c[h]+"CancelRequestAnimationFrame"];S("Ticker",(function(e,t){var i,n,s,r,l,o=this,c=O(),h=!(!1===t||!A)&&"auto",d=500,f=33,m=function(e){var t,a,h=O()-I;h>d&&(c+=h-f),I+=h,o.time=(I-c)/1e3,t=o.time-l,(!i||t>0||!0===e)&&(o.frame++,l+=t+(t>=r?.004:r-t),a=!0),!0!==e&&(s=n(m)),a&&o.dispatchEvent("tick")};k.call(o),o.time=o.frame=0,o.tick=function(){m(!0)},o.lagSmoothing=function(e,t){if(!arguments.length)return d<1/1e-8;d=e||1/1e-8,f=Math.min(t,d,0)},o.sleep=function(){null!=s&&(h&&L?L(s):clearTimeout(s),n=_,s=null,o===u&&(p=!1))},o.wake=function(e){null!==s?o.sleep():e?c+=-I+(I=O()):o.frame>10&&(I=O()-d+5),n=0===i?_:h&&A?A:function(e){return setTimeout(e,1e3*(l-o.time)+1|0)},o===u&&(p=!0),m(2)},o.fps=function(e){if(!arguments.length)return i;r=1/((i=e)||60),l=this.time+r,o.wake()},o.useRAF=function(e){if(!arguments.length)return h;o.sleep(),h=e,o.fps(i)},o.fps(e),setTimeout((function(){"auto"===h&&o.frame<5&&"hidden"!==(a||{}).visibilityState&&o.useRAF(!1)}),1500)})),(d=v.Ticker.prototype=new v.events.EventDispatcher).constructor=v.Ticker;var D=S("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,ee){p||u.wake();var i=this.vars.useFrames?Q:ee;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));u=D.ticker=new v.Ticker,(d=D.prototype)._dirty=d._gc=d._initted=d._paused=!1,d._totalTime=d._time=0,d._rawPrevTime=-1,d._next=d._last=d._onUpdate=d._timeline=d.timeline=null,d._paused=!1;var R=function(){p&&O()-I>2e3&&("hidden"!==(a||{}).visibilityState||!u.lagSmoothing())&&u.wake();var e=setTimeout(R,2e3);e.unref&&e.unref()};R(),d.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},d.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},d.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},d.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},d.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},d.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},d.render=function(e,t,i){},d.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},d.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale-1e-8},d._enabled=function(e,t){return p||u.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},d._kill=function(e,t){return this._enabled(!1,!1)},d.kill=function(e,t){return this._kill(e,t),this},d._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},d._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},d._callback=function(e){var t=this.vars,i=t[e],n=t[e+"Params"],s=t[e+"Scope"]||t.callbackScope||this;switch(n?n.length:0){case 0:i.call(s);break;case 1:i.call(s,n[0]);break;case 2:i.call(s,n[0],n[1]);break;default:i.apply(s,n)}},d.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[e];null==t?delete s[e]:(s[e]=t,s[e+"Params"]=b(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},d.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},d.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},d.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},d.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},d.totalTime=function(e,t,i){if(p||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-e:e)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===e&&0!==this._duration||(F.length&&ie(),this.render(e,t,!1),F.length&&ie())}return this},d.progress=d.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},d.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},d.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},d.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,i;for(e=e||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(i=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/e),this._timeScale=e,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},d.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},d.paused=function(e){if(!arguments.length)return this._paused;var t,i,n=this._timeline;return e!=this._paused&&n&&(p||e||u.wake(),i=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var z=S("core.SimpleTimeline",(function(e){D.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(d=z.prototype=new D).constructor=z,d.kill()._gc=!1,d._first=d._last=d._recent=null,d._sortChildren=!1,d.add=d.insert=function(e,t,i,n){var s,r;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),s=this._last,this._sortChildren)for(r=e._startTime;s&&s._startTime>r;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=s,this._recent=e,this._timeline&&this._uncache(!0),this},d._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},d.render=function(e,t,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;s;)n=s._next,(s._active||e>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n},d.rawTime=function(){return p||u.wake(),this._totalTime};var N=S("TweenLite",(function(e,t,n){if(D.call(this,t,n),this.render=N.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:N.selector(e)||e;var s,r,a,l=e.jquery||e.length&&e!==i&&e[0]&&(e[0]===i||e[0].nodeType&&e[0].style&&!e.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?J[N.defaultOverwrite]:"number"==typeof o?o>>0:J[o],(l||e instanceof Array||e.push&&b(e))&&"number"!=typeof e[0])for(this._targets=a=y(e),this._propLookup=[],this._siblings=[],s=0;s<a.length;s++)(r=a[s])?"string"!=typeof r?r.length&&r!==i&&r[0]&&(r[0]===i||r[0].nodeType&&r[0].style&&!r.nodeType)?(a.splice(s--,1),this._targets=a=a.concat(y(r))):(this._siblings[s]=ne(r,this,!1),1===o&&this._siblings[s].length>1&&re(r,this,null,1,this._siblings[s])):"string"==typeof(r=a[s--]=N.selector(r))&&a.splice(s+1,1):a.splice(s--,1);else this._propLookup={},this._siblings=ne(e,this,!1),1===o&&this._siblings.length>1&&re(e,this,null,1,this._siblings);(this.vars.immediateRender||0===t&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),$=function(e){return e&&e.length&&e!==i&&e[0]&&(e[0]===i||e[0].nodeType&&e[0].style&&!e.nodeType)};(d=N.prototype=new D).constructor=N,d.kill()._gc=!1,d.ratio=0,d._firstPT=d._targets=d._overwrittenProps=d._startAt=null,d._notifyPluginsOfEnabled=d._lazy=!1,N.version="2.1.3",N.defaultEase=d._ease=new E(null,null,1,1),N.defaultOverwrite="auto",N.ticker=u,N.autoSleep=120,N.lagSmoothing=function(e,t){u.lagSmoothing(e,t)},N.selector=i.$||i.jQuery||function(e){var t=i.$||i.jQuery;return t?(N.selector=t,t(e)):(a||(a=i.document),a?a.querySelectorAll?a.querySelectorAll(e):a.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var F=[],B={},V=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,H=/[\+-]=-?[\.\d]/,U=function(e){for(var t,i=this._firstPT;i;)t=i.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m.call(this._tween,t,this._target||i.t,this._tween):t<1e-6&&t>-1e-6&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},G=function(e){return(1e3*e|0)/1e3+""},j=function(e,t,i,n){var s,r,a,l,o,c,h,d=[],u=0,p="",f=0;for(d.start=e,d.end=t,e=d[0]=e+"",t=d[1]=t+"",i&&(i(d),e=d[0],t=d[1]),d.length=0,s=e.match(V)||[],r=t.match(V)||[],n&&(n._next=null,n.blob=1,d._firstPT=d._applyPT=n),o=r.length,l=0;l<o;l++)h=r[l],p+=(c=t.substr(u,t.indexOf(h,u)-u))||!l?c:",",u+=c.length,f?f=(f+1)%5:"rgba("===c.substr(-5)&&(f=1),h===s[l]||s.length<=l?p+=h:(p&&(d.push(p),p=""),a=parseFloat(s[l]),d.push(a),d._firstPT={_next:d._firstPT,t:d,p:d.length-1,s:a,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-a)||0,f:0,m:f&&f<4?Math.round:G}),u+=h.length;return(p+=t.substr(u))&&d.push(p),d.setRatio=U,H.test(t)&&(d.end=null),d},W=function(e,t,i,n,s,r,a,l,o){"function"==typeof n&&(n=n(o||0,e));var c=typeof e[t],h="function"!==c?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),d="get"!==i?i:h?a?e[h](a):e[h]():e[t],u="string"==typeof n&&"="===n.charAt(1),p={t:e,p:t,s:d,f:"function"===c,pg:0,n:s||t,m:r?"function"==typeof r?r:Math.round:0,pr:0,c:u?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-d||0};if(("number"!=typeof d||"number"!=typeof n&&!u)&&(a||isNaN(d)||!u&&isNaN(n)||"boolean"==typeof d||"boolean"==typeof n?(p.fp=a,p={t:j(d,u?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):n,l||N.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||t,pr:0,m:0}):(p.s=parseFloat(d),u||(p.c=parseFloat(n)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p},X=N._internals={isArray:b,isSelector:$,lazyTweens:F,blobDif:j},q=N._plugins={},Y=X.tweenLookup={},Z=0,K=X.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},J={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Q=D._rootFramesTimeline=new z,ee=D._rootTimeline=new z,te=30,ie=X.lazyRender=function(){var e,t,i=F.length;for(B={},e=0;e<i;e++)(t=F[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);F.length=0};ee._startTime=u.time,Q._startTime=u.frame,ee._active=Q._active=!0,setTimeout(ie,1),D._updateRoot=N.render=function(){var e,t,i;if(F.length&&ie(),ee.render((u.time-ee._startTime)*ee._timeScale,!1,!1),Q.render((u.frame-Q._startTime)*Q._timeScale,!1,!1),F.length&&ie(),u.frame>=te){for(i in te=u.frame+(parseInt(N.autoSleep,10)||120),Y){for(e=(t=Y[i].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete Y[i]}if((!(i=ee._first)||i._paused)&&N.autoSleep&&!Q._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",D._updateRoot);var ne=function(e,t,i){var n,s,r=e._gsTweenID;if(Y[r||(e._gsTweenID=r="t"+Z++)]||(Y[r]={target:e,tweens:[]}),t&&((n=Y[r].tweens)[s=n.length]=t,i))for(;--s>-1;)n[s]===t&&n.splice(s,1);return Y[r].tweens},se=function(e,t,i,n){var s,r,a=e.vars.onOverwrite;return a&&(s=a(e,t,i,n)),(a=N.onOverwrite)&&(r=a(e,t,i,n)),!1!==s&&!1!==r},re=function(e,t,i,n,s){var r,a,l,o;if(1===n||n>=4){for(o=s.length,r=0;r<o;r++)if((l=s[r])!==t)l._gc||l._kill(null,e,t)&&(a=!0);else if(5===n)break;return a}var c,h=t._startTime+1e-8,d=[],u=0,p=0===t._duration;for(r=s.length;--r>-1;)(l=s[r])===t||l._gc||l._paused||(l._timeline!==t._timeline?(c=c||ae(t,0,p),0===ae(l,c,p)&&(d[u++]=l)):l._startTime<=h&&l._startTime+l.totalDuration()/l._timeScale>h&&((p||!l._initted)&&h-l._startTime<=2e-8||(d[u++]=l)));for(r=u;--r>-1;)if(o=(l=d[r])._firstPT,2===n&&l._kill(i,e,t)&&(a=!0),2!==n||!l._firstPT&&l._initted&&o){if(2!==n&&!se(l,t))continue;l._enabled(!1,!1)&&(a=!0)}return a},ae=function(e,t,i){for(var n=e._timeline,s=n._timeScale,r=e._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return(r/=s)>t?r-t:i&&r===t||!e._initted&&r-t<2e-8?1e-8:(r+=e.totalDuration()/e._timeScale/s)>t+1e-8?0:r-t-1e-8};d._init=function(){var e,t,i,n,s,r,a=this.vars,l=this._overwrittenProps,o=this._duration,c=!!a.immediateRender,h=a.ease,d=this._startAt;if(a.startAt){for(n in d&&(d.render(-1,!0),d.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=c&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=N.to(this.target||{},0,s),c)if(this._time>0)this._startAt=null;else if(0!==o)return}else if(a.runBackwards&&0!==o)if(d)d.render(-1,!0),d.kill(),this._startAt=null;else{for(n in 0!==this._time&&(c=!1),i={},a)K[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=c&&!1!==a.lazy,i.immediateRender=c,this._startAt=N.to(this.target,0,i),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof E?h:"function"==typeof h?new E(h,a.easeParams):C[h]||N.defaultEase:N.defaultEase,a.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,e=0;e<r;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],l?l[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,l,0);if(t&&N._onPluginEvent("_onInitAllProps",this),l&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},d._initProps=function(e,t,n,s,r){var a,l,o,c,h,d;if(null==e)return!1;for(a in B[e._gsTweenID]&&ie(),this.vars.css||e.style&&e!==i&&e.nodeType&&q.css&&!1!==this.vars.autoCSS&&function(e,t){var i,n={};for(i in e)K[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!q[i]||q[i]&&q[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n}(this.vars,e),this.vars)if(d=this.vars[a],K[a])d&&(d instanceof Array||d.push&&b(d))&&-1!==d.join("").indexOf("{self}")&&(this.vars[a]=d=this._swapSelfInParams(d,this));else if(q[a]&&(c=new q[a])._onInitTween(e,this.vars[a],this,r)){for(this._firstPT=h={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:c._priority,m:0},l=c._overwriteProps.length;--l>-1;)t[c._overwriteProps[l]]=this._firstPT;(c._priority||c._onInitAllProps)&&(o=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else t[a]=W.call(this,e,a,"get",d,a,0,null,this.vars.stringFilter,r);return s&&this._kill(s,e)?this._initProps(e,t,n,s,r):this._overwrite>1&&this._firstPT&&n.length>1&&re(e,this,t,this._overwrite,n)?(this._kill(t,e),this._initProps(e,t,n,s,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(B[e._gsTweenID]=!0),o)},d.render=function(e,t,i){var n,s,r,a,l=this._time,o=this._duration,c=this._rawPrevTime;if(e>=o-1e-8&&e>=0)this._totalTime=this._time=o,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===o&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(c<0||e<=0&&e>=-1e-8||1e-8===c&&"isPause"!==this.data)&&c!==e&&(i=!0,c>1e-8&&(s="onReverseComplete")),this._rawPrevTime=a=!t||e||c===e?e:1e-8);else if(e<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==l||0===o&&c>0)&&(s="onReverseComplete",n=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===o&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(1e-8!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!t||e||c===e?e:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=e,this._easeType){var h=e/o,d=this._easeType,u=this._easePower;(1===d||3===d&&h>=.5)&&(h=1-h),3===d&&(h*=2),1===u?h*=h:2===u?h*=h*h:3===u?h*=h*h*h:4===u&&(h*=h*h*h*h),this.ratio=1===d?1-h:2===d?h:e/o<.5?h/2:1-h/2}else this.ratio=this._ease.getRatio(e/o);if(this._time!==l||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=l,this._rawPrevTime=c,F.push(this),void(this._lazy=[e,t]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/o):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==l&&e>=0&&(this._active=!0),0===l&&(this._startAt&&(e>=0?this._startAt.render(e,!0,i):s||(s="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==o||t||this._callback("onStart"))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(e<0&&this._startAt&&-1e-4!==e&&this._startAt.render(e,!0,i),t||(this._time!==l||n||i)&&this._callback("onUpdate")),s&&(this._gc&&!i||(e<0&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[s]&&this._callback(s),0===o&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},d._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:N.selector(t)||t;var n,s,r,a,l,o,c,h,d,u=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((b(t)||$(t))&&"number"!=typeof t[0])for(n=t.length;--n>-1;)this._kill(e,t[n],i)&&(o=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(t===this._targets[n]){l=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=e?this._overwrittenProps[n]||{}:"all";break}}else{if(t!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(l){if(c=e||l,h=e!==s&&"all"!==s&&e!==l&&("object"!=typeof e||!e._tempKill),i&&(N.onOverwrite||this.vars.onOverwrite)){for(r in c)l[r]&&(d||(d=[]),d.push(r));if((d||!e)&&!se(this,i,t,d))return!1}for(r in c)(a=l[r])&&(u&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,o=!0),a.pg&&a.t._kill(c)&&(o=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete l[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return o},d.invalidate=function(){this._notifyPluginsOfEnabled&&N._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(e,!1,!1!==this.vars.lazy)),this},d._enabled=function(e,t){if(p||u.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=ne(n[i],this,!0);else this._siblings=ne(this.target,this,!0)}return D.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&N._onPluginEvent(e?"_onEnable":"_onDisable",this)},N.to=function(e,t,i){return new N(e,t,i)},N.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new N(e,t,i)},N.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new N(e,t,n)},N.delayedCall=function(e,t,i,n,s){return new N(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},N.set=function(e,t){return new N(e,0,t)},N.getTweensOf=function(e,t){if(null==e)return[];var i,n,s,r;if(e="string"!=typeof e?e:N.selector(e)||e,(b(e)||$(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(N.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(r=n[i],s=i;--s>-1;)r===n[s]&&n.splice(i,1)}else if(e._gsTweenID)for(i=(n=ne(e).concat()).length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n||[]},N.killTweensOf=N.killDelayedCallsTo=function(e,t,i){"object"==typeof t&&(i=t,t=!1);for(var n=N.getTweensOf(e,t),s=n.length;--s>-1;)n[s]._kill(i,e)};var le=S("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=le.prototype}),!0);if(d=le.prototype,le.version="1.19.0",le.API=2,d._firstPT=null,d._addTween=W,d.setRatio=U,d._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},d._mod=d._roundProps=function(e){for(var t,i=this._firstPT;i;)(t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},N._onPluginEvent=function(e,t){var i,n,s,r,a,l=t._firstPT;if("_onInitAllProps"===e){for(;l;){for(a=l._next,n=s;n&&n.pr>l.pr;)n=n._next;(l._prev=n?n._prev:r)?l._prev._next=l:s=l,(l._next=n)?n._prev=l:r=l,l=a}l=t._firstPT=s}for(;l;)l.pg&&"function"==typeof l.t[e]&&l.t[e]()&&(i=!0),l=l._next;return i},le.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===le.API&&(q[(new e[t])._propName]=e[t]);return!0},T.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,s=e.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=S("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){le.call(this,i,n),this._overwriteProps=s||[]}),!0===e.global),l=a.prototype=new le(i);for(t in l.constructor=a,a.API=e.API,r)"function"==typeof e[t]&&(l[r[t]]=e[t]);return a.version=e.version,le.activate([a]),a},c=i._gsQueue){for(h=0;h<c.length;h++)c[h]();for(d in w)w[d].func||i.console.log("GSAP encountered missing dependency: "+d)}p=!1}(e.exports&&void 0!==i?i:this||window)}).call(this,i(7))},function(e,t,i){var n,s;
/*!
 * getSize v2.0.3
 * measure size of elements
 * MIT license
 */window,void 0===(s="function"==typeof(n=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function s(e){var i=getComputedStyle(e);return i||t("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var r,a=!1;function l(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=s(t);r=200==Math.round(e(n.width)),l.isBoxSizeOuter=r,i.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=s(t);if("none"==o.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<n;t++)e[i[t]]=0;return e}();var c={};c.width=t.offsetWidth,c.height=t.offsetHeight;for(var h=c.isBorderBox="border-box"==o.boxSizing,d=0;d<n;d++){var u=i[d],p=o[u],f=parseFloat(p);c[u]=isNaN(f)?0:f}var m=c.paddingLeft+c.paddingRight,g=c.paddingTop+c.paddingBottom,v=c.marginLeft+c.marginRight,y=c.marginTop+c.marginBottom,_=c.borderLeftWidth+c.borderRightWidth,b=c.borderTopWidth+c.borderBottomWidth,w=h&&r,x=e(o.width);!1!==x&&(c.width=x+(w?0:m+_));var T=e(o.height);return!1!==T&&(c.height=T+(w?0:g+b)),c.innerWidth=c.width-(m+_),c.innerHeight=c.height-(g+b),c.outerWidth=c.width+v,c.outerHeight=c.height+y,c}}return l})?n.call(t,i,t,e):n)||(e.exports=s)},function(e,t,i){(function(t){var i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,o="object"==typeof self&&self&&self.Object===Object&&self,c=l||o||Function("return this")(),h=Object.prototype.toString,d=Math.max,u=Math.min,p=function(){return c.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var l=s.test(e);return l||r.test(e)?a(e.slice(2),l?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,i){var n,s,r,a,l,o,c=0,h=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var i=n,r=s;return n=s=void 0,c=t,a=e.apply(r,i)}function _(e){return c=e,l=setTimeout(w,t),h?y(e):a}function b(e){var i=e-o;return void 0===o||i>=t||i<0||g&&e-c>=r}function w(){var e=p();if(b(e))return x(e);l=setTimeout(w,function(e){var i=t-(e-o);return g?u(i,r-(e-c)):i}(e))}function x(e){return l=void 0,v&&n?y(e):(n=s=void 0,a)}function T(){var e=p(),i=b(e);if(n=arguments,s=this,o=e,i){if(void 0===l)return _(o);if(g)return l=setTimeout(w,t),y(o)}return void 0===l&&(l=setTimeout(w,t)),a}return t=m(t)||0,f(i)&&(h=!!i.leading,r=(g="maxWait"in i)?d(m(i.maxWait)||0,t):r,v="trailing"in i?!!i.trailing:v),T.cancel=function(){void 0!==l&&clearTimeout(l),c=0,n=o=s=l=void 0},T.flush=function(){return void 0===l?a:x(p())},T}}).call(this,i(7))},function(e,t,i){"use strict";function n(e,t){e.getMarkerClusterer().extend(n,google.maps.OverlayView),this.cluster_=e,this.className_=e.getMarkerClusterer().getClusterClass(),this.styles_=t,this.center_=null,this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(e.getMap())}function s(e){this.markerClusterer_=e,this.map_=e.getMap(),this.gridSize_=e.getGridSize(),this.minClusterSize_=e.getMinimumClusterSize(),this.averageCenter_=e.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new n(this,e.getStyles())}function r(e,t,i){this.extend(r,google.maps.OverlayView),t=t||[],i=i||{},this.markers_=[],this.clusters_=[],this.listeners_=[],this.activeMap_=null,this.ready_=!1,this.gridSize_=i.gridSize||60,this.minClusterSize_=i.minimumClusterSize||2,this.maxZoom_=i.maxZoom||null,this.styles_=i.styles||[],this.title_=i.title||"",this.zoomOnClick_=!0,void 0!==i.zoomOnClick&&(this.zoomOnClick_=i.zoomOnClick),this.averageCenter_=!1,void 0!==i.averageCenter&&(this.averageCenter_=i.averageCenter),this.ignoreHidden_=!1,void 0!==i.ignoreHidden&&(this.ignoreHidden_=i.ignoreHidden),this.enableRetinaIcons_=!1,void 0!==i.enableRetinaIcons&&(this.enableRetinaIcons_=i.enableRetinaIcons),this.imagePath_=i.imagePath||r.IMAGE_PATH,this.imageExtension_=i.imageExtension||r.IMAGE_EXTENSION,this.imageSizes_=i.imageSizes||r.IMAGE_SIZES,this.calculator_=i.calculator||r.CALCULATOR,this.batchSize_=i.batchSize||r.BATCH_SIZE,this.batchSizeIE_=i.batchSizeIE||r.BATCH_SIZE_IE,this.clusterClass_=i.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize_=this.batchSizeIE_),this.setupStyles_(),this.addMarkers(t,!0),this.setMap(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ClusterIcon=n,t.Cluster=s,t.default=r,n.prototype.onAdd=function(){var e,t,i=this;this.div_=document.createElement("div"),this.div_.className=this.className_,this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){t=e})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){e=!0,t=!1})),google.maps.event.addDomListener(this.div_,"click",(function(n){if(e=!1,!t){var s,r,a=i.cluster_.getMarkerClusterer();google.maps.event.trigger(a,"click",i.cluster_),google.maps.event.trigger(a,"clusterclick",i.cluster_),a.getZoomOnClick()&&(r=a.getMaxZoom(),s=i.cluster_.getBounds(),a.getMap().fitBounds(s),setTimeout((function(){a.getMap().fitBounds(s),null!==r&&a.getMap().getZoom()>r&&a.getMap().setZoom(r+1)}),100)),n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){var e=i.cluster_.getMarkerClusterer();google.maps.event.trigger(e,"mouseover",i.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){var e=i.cluster_.getMarkerClusterer();google.maps.event.trigger(e,"mouseout",i.cluster_)}))},n.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},n.prototype.draw=function(){if(this.visible_){var e=this.getPosFromLatLng_(this.center_);this.div_.style.top=e.y+"px",this.div_.style.left=e.x+"px"}},n.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},n.prototype.show=function(){if(this.div_){var e="",t=this.backgroundPosition_.split(" "),i=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),n=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),s=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(s),e="<img src='"+this.url_+"' style='position: absolute; top: "+n+"px; left: "+i+"px; ",this.cluster_.getMarkerClusterer().enableRetinaIcons_||(e+="clip: rect("+-1*n+"px, "+(-1*i+this.width_)+"px, "+(-1*n+this.height_)+"px, "+-1*i+"px);"),e+="'>",this.div_.innerHTML=e+"<div style='position: absolute;top: "+this.anchorText_[0]+"px;left: "+this.anchorText_[1]+"px;color: "+this.textColor_+";font-size: "+this.textSize_+"px;font-family: "+this.fontFamily_+";font-weight: "+this.fontWeight_+";font-style: "+this.fontStyle_+";text-decoration: "+this.textDecoration_+";text-align: center;width: "+this.width_+"px;line-height:"+this.height_+"px;'>"+this.sums_.text+"</div>",void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""}this.visible_=!0},n.prototype.useStyle=function(e){this.sums_=e;var t=Math.max(0,e.index-1);t=Math.min(this.styles_.length-1,t);var i=this.styles_[t];this.url_=i.url,this.height_=i.height,this.width_=i.width,this.anchorText_=i.anchorText||[0,0],this.anchorIcon_=i.anchorIcon||[parseInt(this.height_/2,10),parseInt(this.width_/2,10)],this.textColor_=i.textColor||"black",this.textSize_=i.textSize||11,this.textDecoration_=i.textDecoration||"none",this.fontWeight_=i.fontWeight||"bold",this.fontStyle_=i.fontStyle||"normal",this.fontFamily_=i.fontFamily||"Arial,sans-serif",this.backgroundPosition_=i.backgroundPosition||"0 0"},n.prototype.setCenter=function(e){this.center_=e},n.prototype.createCss=function(e){var t=[];return t.push("cursor: pointer;"),t.push("position: absolute; top: "+e.y+"px; left: "+e.x+"px;"),t.push("width: "+this.width_+"px; height: "+this.height_+"px;"),t.join("")},n.prototype.getPosFromLatLng_=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return t.x-=this.anchorIcon_[1],t.y-=this.anchorIcon_[0],t.x=parseInt(t.x,10),t.y=parseInt(t.y,10),t},s.prototype.getSize=function(){return this.markers_.length},s.prototype.getMarkers=function(){return this.markers_},s.prototype.getCenter=function(){return this.center_},s.prototype.getMap=function(){return this.map_},s.prototype.getMarkerClusterer=function(){return this.markerClusterer_},s.prototype.getBounds=function(){var e,t=new google.maps.LatLngBounds(this.center_,this.center_),i=this.getMarkers();for(e=0;e<i.length;e++)t.extend(i[e].getPosition());return t},s.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},s.prototype.addMarker=function(e){var t,i,n;if(this.isMarkerAlreadyAdded_(e))return!1;if(this.center_){if(this.averageCenter_){var s=this.markers_.length+1,r=(this.center_.lat()*(s-1)+e.getPosition().lat())/s,a=(this.center_.lng()*(s-1)+e.getPosition().lng())/s;this.center_=new google.maps.LatLng(r,a),this.calculateBounds_()}}else this.center_=e.getPosition(),this.calculateBounds_();if(e.isAdded=!0,this.markers_.push(e),i=this.markers_.length,null!==(n=this.markerClusterer_.getMaxZoom())&&this.map_.getZoom()>n)e.getMap()!==this.map_&&e.setMap(this.map_);else if(i<this.minClusterSize_)e.getMap()!==this.map_&&e.setMap(this.map_);else if(i===this.minClusterSize_)for(t=0;t<i;t++)this.markers_[t].setMap(null);else e.setMap(null);return this.updateIcon_(),!0},s.prototype.isMarkerInClusterBounds=function(e){return this.bounds_.contains(e.getPosition())},s.prototype.calculateBounds_=function(){var e=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(e)},s.prototype.updateIcon_=function(){var e=this.markers_.length,t=this.markerClusterer_.getMaxZoom();if(null!==t&&this.map_.getZoom()>t)this.clusterIcon_.hide();else if(e<this.minClusterSize_)this.clusterIcon_.hide();else{var i=this.markerClusterer_.getStyles().length,n=this.markerClusterer_.getCalculator()(this.markers_,i);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(n),this.clusterIcon_.show()}},s.prototype.isMarkerAlreadyAdded_=function(e){var t;if(this.markers_.indexOf)return-1!==this.markers_.indexOf(e);for(t=0;t<this.markers_.length;t++)if(e===this.markers_[t])return!0;return!1},r.prototype.onAdd=function(){var e=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){e.resetViewport_(!1),this.getZoom()!==(this.get("minZoom")||0)&&this.getZoom()!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")})),google.maps.event.addListener(this.getMap(),"idle",(function(){e.redraw_()}))]},r.prototype.onRemove=function(){var e;for(e=0;e<this.markers_.length;e++)this.markers_[e].getMap()!==this.activeMap_&&this.markers_[e].setMap(this.activeMap_);for(e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();for(this.clusters_=[],e=0;e<this.listeners_.length;e++)google.maps.event.removeListener(this.listeners_[e]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},r.prototype.draw=function(){},r.prototype.setupStyles_=function(){var e,t;if(!(this.styles_.length>0))for(e=0;e<this.imageSizes_.length;e++)t=this.imageSizes_[e],this.styles_.push({url:this.imagePath_+(e+1)+"."+this.imageExtension_,height:t,width:t})},r.prototype.fitMapToMarkers=function(){var e,t=this.getMarkers(),i=new google.maps.LatLngBounds;for(e=0;e<t.length;e++)i.extend(t[e].getPosition());this.getMap().fitBounds(i)},r.prototype.getGridSize=function(){return this.gridSize_},r.prototype.setGridSize=function(e){this.gridSize_=e},r.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},r.prototype.setMinimumClusterSize=function(e){this.minClusterSize_=e},r.prototype.getMaxZoom=function(){return this.maxZoom_},r.prototype.setMaxZoom=function(e){this.maxZoom_=e},r.prototype.getStyles=function(){return this.styles_},r.prototype.setStyles=function(e){this.styles_=e},r.prototype.getTitle=function(){return this.title_},r.prototype.setTitle=function(e){this.title_=e},r.prototype.getZoomOnClick=function(){return this.zoomOnClick_},r.prototype.setZoomOnClick=function(e){this.zoomOnClick_=e},r.prototype.getAverageCenter=function(){return this.averageCenter_},r.prototype.setAverageCenter=function(e){this.averageCenter_=e},r.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},r.prototype.setIgnoreHidden=function(e){this.ignoreHidden_=e},r.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},r.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons_=e},r.prototype.getImageExtension=function(){return this.imageExtension_},r.prototype.setImageExtension=function(e){this.imageExtension_=e},r.prototype.getImagePath=function(){return this.imagePath_},r.prototype.setImagePath=function(e){this.imagePath_=e},r.prototype.getImageSizes=function(){return this.imageSizes_},r.prototype.setImageSizes=function(e){this.imageSizes_=e},r.prototype.getCalculator=function(){return this.calculator_},r.prototype.setCalculator=function(e){this.calculator_=e},r.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},r.prototype.setBatchSizeIE=function(e){this.batchSizeIE_=e},r.prototype.getClusterClass=function(){return this.clusterClass_},r.prototype.setClusterClass=function(e){this.clusterClass_=e},r.prototype.getMarkers=function(){return this.markers_},r.prototype.getTotalMarkers=function(){return this.markers_.length},r.prototype.getClusters=function(){return this.clusters_},r.prototype.getTotalClusters=function(){return this.clusters_.length},r.prototype.addMarker=function(e,t){this.pushMarkerTo_(e),t||this.redraw_()},r.prototype.addMarkers=function(e,t){var i;for(i in e)e.hasOwnProperty(i)&&this.pushMarkerTo_(e[i]);t||this.redraw_()},r.prototype.pushMarkerTo_=function(e){if(e.getDraggable()){var t=this;google.maps.event.addListener(e,"dragend",(function(){t.ready_&&(this.isAdded=!1,t.repaint())}))}e.isAdded=!1,this.markers_.push(e)},r.prototype.removeMarker=function(e,t){var i=this.removeMarker_(e);return!t&&i&&this.repaint(),i},r.prototype.removeMarkers=function(e,t){var i,n,s=!1;for(i=0;i<e.length;i++)n=this.removeMarker_(e[i]),s=s||n;return!t&&s&&this.repaint(),s},r.prototype.removeMarker_=function(e){var t,i=-1;if(this.markers_.indexOf)i=this.markers_.indexOf(e);else for(t=0;t<this.markers_.length;t++)if(e===this.markers_[t]){i=t;break}return-1!==i&&(e.setMap(null),this.markers_.splice(i,1),!0)},r.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},r.prototype.repaint=function(){var e=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){var t;for(t=0;t<e.length;t++)e[t].remove()}),0)},r.prototype.getExtendedBounds=function(e){var t=this.getProjection(),i=new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()),n=new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()),s=t.fromLatLngToDivPixel(i);s.x+=this.gridSize_,s.y-=this.gridSize_;var r=t.fromLatLngToDivPixel(n);r.x-=this.gridSize_,r.y+=this.gridSize_;var a=t.fromDivPixelToLatLng(s),l=t.fromDivPixelToLatLng(r);return e.extend(a),e.extend(l),e},r.prototype.redraw_=function(){this.createClusters_(0)},r.prototype.resetViewport_=function(e){var t,i;for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();for(this.clusters_=[],t=0;t<this.markers_.length;t++)(i=this.markers_[t]).isAdded=!1,e&&i.setMap(null)},r.prototype.distanceBetweenPoints_=function(e,t){var i=(t.lat()-e.lat())*Math.PI/180,n=(t.lng()-e.lng())*Math.PI/180,s=Math.sin(i/2)*Math.sin(i/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 6371*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))},r.prototype.isMarkerInBounds_=function(e,t){return t.contains(e.getPosition())},r.prototype.addToClosestCluster_=function(e){var t,i,n,r,a=4e4,l=null;for(t=0;t<this.clusters_.length;t++)(r=(n=this.clusters_[t]).getCenter())&&(i=this.distanceBetweenPoints_(r,e.getPosition()))<a&&(a=i,l=n);l&&l.isMarkerInClusterBounds(e)?l.addMarker(e):((n=new s(this)).addMarker(e),this.clusters_.push(n))},r.prototype.createClusters_=function(e){var t,i,n,s=this;if(this.ready_){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic)),n=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625));var r=this.getExtendedBounds(n),a=Math.min(e+this.batchSize_,this.markers_.length);for(t=e;t<a;t++)!(i=this.markers_[t]).isAdded&&this.isMarkerInBounds_(i,r)&&(!this.ignoreHidden_||this.ignoreHidden_&&i.getVisible())&&this.addToClosestCluster_(i);a<this.markers_.length?this.timerRefStatic=setTimeout((function(){s.createClusters_(a)}),0):(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this))}},r.prototype.extend=function(e,t){return function(e){var t;for(t in e.prototype)this.prototype[t]=e.prototype[t];return this}.apply(e,[t])},r.CALCULATOR=function(e,t){for(var i=0,n=e.length.toString(),s=n;0!==s;)s=parseInt(s/10,10),i++;return{text:n,index:i=Math.min(i,t),title:""}},r.BATCH_SIZE=2e3,r.BATCH_SIZE_IE=500,r.IMAGE_PATH="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/images/m",r.IMAGE_EXTENSION="png",r.IMAGE_SIZES=[53,56,66,78,90]},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s}));var n=i(5).default,s=function(e,t){this.index=t,this.$block=e,this.$slider=this.$block.find(".js-slider-videos"),this.totalSlides=this.$block.find(".slide").length,this.init()};s.prototype.init=function(){var t=this;setTimeout((function(){var i,s;if(window.matchMedia("(max-width: 599px)").matches?i=2:window.matchMedia("(min-width: 600px)").matches&&window.matchMedia("(max-width: 899px)").matches?i=3:window.matchMedia("(min-width: 900px)").matches&&(i=4),e("body").hasClass("theme-building-solutions")&&window.matchMedia("(min-width: 900px)").matches&&e(".page-content-wrapper").hasClass("with-sidebar")?(i=3,s={600:{slidesPerView:2,spaceBetween:20},1200:{slidesPerView:2,spaceBetween:40}}):s={600:{slidesPerView:2,spaceBetween:20},900:{slidesPerView:3,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:40}},t.totalSlides>=i){t.$slider.siblings(".swiper-button-next").addClass("swiper-button-next-"+(t.index+1)),t.$slider.siblings(".swiper-button-prev").addClass("swiper-button-prev-"+(t.index+1)),t.$slider.siblings(".swiper-pagination").addClass("swiper-pagination-"+(t.index+1));var r={loop:!0,speed:500,slidesPerView:1,spaceBetween:0,navigation:{nextEl:".slider-videos-arrow.swiper-button-next-"+(t.index+1),prevEl:".slider-videos-arrow.swiper-button-prev-"+(t.index+1)},pagination:{el:".slider-videos-control.swiper-pagination-"+(t.index+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:s};!0===t.$slider.data("swiper-autoplay")&&(r.autoplay={delay:6e3,disableOnInteraction:!1});var a=new n(t.$slider,r);t.$slider.data("swiper",a)}else t.$slider.addClass("--no-slider")}),200)}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e,t){this.$block=e,this.type=t,this.ajaxInProgress=!1,this.$dataElement=this.$block.find("[data-js-loadmore-cards=1]"),this.$gridElement=this.$block.find(".posts-grid"),this.postsIds=!1,this.currentPage=!1,this.isGrid=!1,this.$dataElement.length>0&&(this.isGrid=this.$dataElement.data("grid"),this.postsIds=this.$dataElement.data("allpostsids"),this.currentPage=this.$dataElement.data("page")),this.init()};n.prototype.init=function(){var e=this;e.$dataElement.on("click",(function(){e.ajaxInProgress||e.loadCards({ids:e.postsIds,pagetoload:e.currentPage,type:e.type,isGrid:e.isGrid})}))},n.prototype.loadCards=function(t){var i=this;i.ajaxInProgress=!0,i.$dataElement.addClass("ajax-loading"),e.ajax({url:window.sage.ajax["block.cards.posts.load"],method:"POST",data:t,dataType:"json",success:function(e){i.$dataElement.removeClass("ajax-loading"),i.ajaxInProgress=!1,!1!==e&&void 0!==e.render&&(i.currentPage++,i.$dataElement.data("page",i.currentPage),i.$gridElement.append(e.render),e.islastpage&&(i.$dataElement.hide(),i.$dataElement.addClass("hidden")))}}).fail((function(){i.ajaxInProgress=!1}))}}).call(this,i(2))},function(e,t,i){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}return function t(i,n){function s(t,s,r){if("undefined"!=typeof document){"number"==typeof(r=e({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in r)r[l]&&(a+="; "+l,!0!==r[l]&&(a+="="+r[l].split(";")[0]));return document.cookie=t+"="+i.write(s,t)+a}}return Object.create({set:s,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},s=0;s<t.length;s++){var r=t[s].split("="),a=r.slice(1).join("=");try{var l=decodeURIComponent(r[0]);if(n[l]=i.read(a,l),e===l)break}catch(e){}}return e?n[e]:n}},remove:function(t,i){s(t,"",e({},i,{expires:-1}))},withAttributes:function(i){return t(this.converter,e({},this.attributes,i))},withConverter:function(i){return t(e({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(i)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},function(e,t,i){"use strict";(function(e,n){i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r}));var s=function(t,i,n){this.trigger="object"===t?t:e(t),this.content=i,this.closest=void 0!==n?n:null,this.init()};s.prototype.init=function(){var t=this.trigger,i=this.content,n=this.closest;t.attr("aria-expanded","false"),t.on("click",(function(s){var r=e(this),a=null===n?r.parent().next():r.closest(n).find(i),l=null===n?r:r.closest(n),o=r.attr("aria-expanded");t.attr("aria-expanded","false"),r.attr("aria-expanded",(function(e,t){return"true"==t?"false":"true"})),"true"!==o?(e(i).slideUp(),e(n).removeClass("active"),a.slideDown(),l.addClass("active")):(a.slideUp(),l.removeClass("active")),s.stopPropagation()}))};var r=function(t){this.trigger=t,this.toggle={open:function(t){(t=t instanceof n?t:e(t)).parent().addClass("is-open"),t.parent().next().slideDown()},close:function(t){(t=t instanceof n?t:e(t)).parent().removeClass("is-open"),t.parent().next().slideUp()}},this.init()};r.prototype.init=function(){var t=this;e(t.trigger).length&&(e(t.trigger).each((function(){var t=this,i=e(this).parent().next(".filters-list").find(".current").text();""==e(this).text().replace(/\s+/g,"")&&e(this).text(i);var n=e(this).closest(".filters-toggler-wrapper"),s=e(this).closest(".shell").find(".filters-list");s.find(".js-item span").on("click",(function(){var i=e(this).parent();i.siblings().each((function(e,t){t.querySelector("span").classList.remove("current")})),this.classList.add("current"),e(t).text(e(this).text()),e(this).closest(".js-filters-container").find("input").val(i.data("slug")),window.innerWidth>=1200&&s.slideUp(),n.removeClass("is-open")}))})),e(document).on("click",t.trigger,(function(i){i.preventDefault();var n=e(i.currentTarget);n.parent().hasClass("is-open")?t.toggle.close(n):(t.toggle.close(t.trigger),t.toggle.open(n))})).on("click",(function(i){if(document.body.classList.contains("post-type-archive-event"))window.innerWidth>=1200&&(e(i.target).is(t.trigger)||t.toggle.close(t.trigger));else{if(e(t.trigger).hasClass("js-formations-toggler"))return;e(i.target).is(t.trigger)||t.toggle.close(t.trigger)}})))}}).call(this,i(2),i(2))},function(e,t,i){(function(i){var n;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */!function(i,s){"use strict";var r={},a=i.document,l=i.GreenSockGlobals=i.GreenSockGlobals||i,o=l.TweenLite;if(o)return e.exports&&(e.exports=o),o;var c,h,d,u,p,f,m,g=function(e){var t,i=e.split("."),n=l;for(t=0;t<i.length;t++)n[i[t]]=n=n[i[t]]||{};return n},v=g("com.greensock"),y=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},_=function(){},b=(f=Object.prototype.toString,m=f.call([]),function(e){return null!=e&&(e instanceof Array||"object"==typeof e&&!!e.push&&f.call(e)===m)}),w={},x=function(i,s,a,o){this.sc=w[i]?w[i].sc:[],w[i]=this,this.gsClass=null,this.func=a;var c=[];this.check=function(h){for(var d,u,p,f,m=s.length,v=m;--m>-1;)(d=w[s[m]]||new x(s[m],[])).gsClass?(c[m]=d.gsClass,v--):h&&d.sc.push(this);if(0===v&&a){if(p=(u=("com.greensock."+i).split(".")).pop(),f=g(u.join("."))[p]=this.gsClass=a.apply(a,c),o)if(l[p]=r[p]=f,e.exports)if("TweenLite"===i)for(m in e.exports=r.TweenLite=f,r)f[m]=r[m];else r.TweenLite&&(r.TweenLite[p]=f);else void 0===(n=function(){return f}.apply(t,[]))||(e.exports=n);for(m=0;m<this.sc.length;m++)this.sc[m].check()}},this.check(!0)},T=i._gsDefine=function(e,t,i,n){return new x(e,t,i,n)},S=v._class=function(e,t,i){return t=t||function(){},T(e,[],(function(){return t}),i),t};T.globals=l;var M=[0,0,1,1],E=S("easing.Ease",(function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?M.concat(t):M}),!0),C=E.map={},P=E.register=function(e,t,i,n){for(var s,r,a,l,o=t.split(","),c=o.length,h=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(r=o[c],s=n?S("easing."+r,null,!0):v.easing[r]||{},a=h.length;--a>-1;)l=h[a],C[r+"."+l]=C[l+r]=s[l]=e.getRatio?e:e[l]||new e};for((d=E.prototype)._calcEnd=!1,d.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:e<.5?n/2:1-n/2},h=(c=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--h>-1;)d=c[h]+",Power"+h,P(new E(null,null,1,h),d,"easeOut",!0),P(new E(null,null,2,h),d,"easeIn"+(0===h?",easeNone":"")),P(new E(null,null,3,h),d,"easeInOut");C.linear=v.easing.Linear.easeIn,C.swing=v.easing.Quad.easeInOut;var k=S("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(d=k.prototype).addEventListener=function(e,t,i,n,s){s=s||0;var r,a,l=this._listeners[e],o=0;for(this!==u||p||u.wake(),null==l&&(this._listeners[e]=l=[]),a=l.length;--a>-1;)(r=l[a]).c===t&&r.s===i?l.splice(a,1):0===o&&r.pr<s&&(o=a+1);l.splice(o,0,{c:t,s:i,up:n,pr:s})},d.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},d.dispatchEvent=function(e){var t,i,n,s=this._listeners[e];if(s)for((t=s.length)>1&&(s=s.slice(0)),i=this._eventTarget;--t>-1;)(n=s[t])&&(n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i))};var A=i.requestAnimationFrame,L=i.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},I=O();for(h=(c=["ms","moz","webkit","o"]).length;--h>-1&&!A;)A=i[c[h]+"RequestAnimationFrame"],L=i[c[h]+"CancelAnimationFrame"]||i[c[h]+"CancelRequestAnimationFrame"];S("Ticker",(function(e,t){var i,n,s,r,l,o=this,c=O(),h=!(!1===t||!A)&&"auto",d=500,f=33,m=function(e){var t,a,h=O()-I;h>d&&(c+=h-f),I+=h,o.time=(I-c)/1e3,t=o.time-l,(!i||t>0||!0===e)&&(o.frame++,l+=t+(t>=r?.004:r-t),a=!0),!0!==e&&(s=n(m)),a&&o.dispatchEvent("tick")};k.call(o),o.time=o.frame=0,o.tick=function(){m(!0)},o.lagSmoothing=function(e,t){if(!arguments.length)return d<1/1e-8;d=e||1/1e-8,f=Math.min(t,d,0)},o.sleep=function(){null!=s&&(h&&L?L(s):clearTimeout(s),n=_,s=null,o===u&&(p=!1))},o.wake=function(e){null!==s?o.sleep():e?c+=-I+(I=O()):o.frame>10&&(I=O()-d+5),n=0===i?_:h&&A?A:function(e){return setTimeout(e,1e3*(l-o.time)+1|0)},o===u&&(p=!0),m(2)},o.fps=function(e){if(!arguments.length)return i;r=1/((i=e)||60),l=this.time+r,o.wake()},o.useRAF=function(e){if(!arguments.length)return h;o.sleep(),h=e,o.fps(i)},o.fps(e),setTimeout((function(){"auto"===h&&o.frame<5&&"hidden"!==(a||{}).visibilityState&&o.useRAF(!1)}),1500)})),(d=v.Ticker.prototype=new v.events.EventDispatcher).constructor=v.Ticker;var D=S("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,ee){p||u.wake();var i=this.vars.useFrames?Q:ee;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));u=D.ticker=new v.Ticker,(d=D.prototype)._dirty=d._gc=d._initted=d._paused=!1,d._totalTime=d._time=0,d._rawPrevTime=-1,d._next=d._last=d._onUpdate=d._timeline=d.timeline=null,d._paused=!1;var R=function(){p&&O()-I>2e3&&("hidden"!==(a||{}).visibilityState||!u.lagSmoothing())&&u.wake();var e=setTimeout(R,2e3);e.unref&&e.unref()};R(),d.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},d.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},d.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},d.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},d.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},d.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},d.render=function(e,t,i){},d.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},d.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale-1e-8},d._enabled=function(e,t){return p||u.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},d._kill=function(e,t){return this._enabled(!1,!1)},d.kill=function(e,t){return this._kill(e,t),this},d._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},d._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},d._callback=function(e){var t=this.vars,i=t[e],n=t[e+"Params"],s=t[e+"Scope"]||t.callbackScope||this;switch(n?n.length:0){case 0:i.call(s);break;case 1:i.call(s,n[0]);break;case 2:i.call(s,n[0],n[1]);break;default:i.apply(s,n)}},d.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[e];null==t?delete s[e]:(s[e]=t,s[e+"Params"]=b(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},d.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},d.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},d.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},d.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},d.totalTime=function(e,t,i){if(p||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-e:e)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===e&&0!==this._duration||(F.length&&ie(),this.render(e,t,!1),F.length&&ie())}return this},d.progress=d.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},d.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},d.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},d.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,i;for(e=e||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(i=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/e),this._timeScale=e,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},d.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},d.paused=function(e){if(!arguments.length)return this._paused;var t,i,n=this._timeline;return e!=this._paused&&n&&(p||e||u.wake(),i=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var z=S("core.SimpleTimeline",(function(e){D.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(d=z.prototype=new D).constructor=z,d.kill()._gc=!1,d._first=d._last=d._recent=null,d._sortChildren=!1,d.add=d.insert=function(e,t,i,n){var s,r;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),s=this._last,this._sortChildren)for(r=e._startTime;s&&s._startTime>r;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=s,this._recent=e,this._timeline&&this._uncache(!0),this},d._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},d.render=function(e,t,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;s;)n=s._next,(s._active||e>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n},d.rawTime=function(){return p||u.wake(),this._totalTime};var N=S("TweenLite",(function(e,t,n){if(D.call(this,t,n),this.render=N.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:N.selector(e)||e;var s,r,a,l=e.jquery||e.length&&e!==i&&e[0]&&(e[0]===i||e[0].nodeType&&e[0].style&&!e.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?J[N.defaultOverwrite]:"number"==typeof o?o>>0:J[o],(l||e instanceof Array||e.push&&b(e))&&"number"!=typeof e[0])for(this._targets=a=y(e),this._propLookup=[],this._siblings=[],s=0;s<a.length;s++)(r=a[s])?"string"!=typeof r?r.length&&r!==i&&r[0]&&(r[0]===i||r[0].nodeType&&r[0].style&&!r.nodeType)?(a.splice(s--,1),this._targets=a=a.concat(y(r))):(this._siblings[s]=ne(r,this,!1),1===o&&this._siblings[s].length>1&&re(r,this,null,1,this._siblings[s])):"string"==typeof(r=a[s--]=N.selector(r))&&a.splice(s+1,1):a.splice(s--,1);else this._propLookup={},this._siblings=ne(e,this,!1),1===o&&this._siblings.length>1&&re(e,this,null,1,this._siblings);(this.vars.immediateRender||0===t&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),$=function(e){return e&&e.length&&e!==i&&e[0]&&(e[0]===i||e[0].nodeType&&e[0].style&&!e.nodeType)};(d=N.prototype=new D).constructor=N,d.kill()._gc=!1,d.ratio=0,d._firstPT=d._targets=d._overwrittenProps=d._startAt=null,d._notifyPluginsOfEnabled=d._lazy=!1,N.version="2.1.3",N.defaultEase=d._ease=new E(null,null,1,1),N.defaultOverwrite="auto",N.ticker=u,N.autoSleep=120,N.lagSmoothing=function(e,t){u.lagSmoothing(e,t)},N.selector=i.$||i.jQuery||function(e){var t=i.$||i.jQuery;return t?(N.selector=t,t(e)):(a||(a=i.document),a?a.querySelectorAll?a.querySelectorAll(e):a.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var F=[],B={},V=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,H=/[\+-]=-?[\.\d]/,U=function(e){for(var t,i=this._firstPT;i;)t=i.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m.call(this._tween,t,this._target||i.t,this._tween):t<1e-6&&t>-1e-6&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},G=function(e){return(1e3*e|0)/1e3+""},j=function(e,t,i,n){var s,r,a,l,o,c,h,d=[],u=0,p="",f=0;for(d.start=e,d.end=t,e=d[0]=e+"",t=d[1]=t+"",i&&(i(d),e=d[0],t=d[1]),d.length=0,s=e.match(V)||[],r=t.match(V)||[],n&&(n._next=null,n.blob=1,d._firstPT=d._applyPT=n),o=r.length,l=0;l<o;l++)h=r[l],p+=(c=t.substr(u,t.indexOf(h,u)-u))||!l?c:",",u+=c.length,f?f=(f+1)%5:"rgba("===c.substr(-5)&&(f=1),h===s[l]||s.length<=l?p+=h:(p&&(d.push(p),p=""),a=parseFloat(s[l]),d.push(a),d._firstPT={_next:d._firstPT,t:d,p:d.length-1,s:a,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-a)||0,f:0,m:f&&f<4?Math.round:G}),u+=h.length;return(p+=t.substr(u))&&d.push(p),d.setRatio=U,H.test(t)&&(d.end=null),d},W=function(e,t,i,n,s,r,a,l,o){"function"==typeof n&&(n=n(o||0,e));var c=typeof e[t],h="function"!==c?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),d="get"!==i?i:h?a?e[h](a):e[h]():e[t],u="string"==typeof n&&"="===n.charAt(1),p={t:e,p:t,s:d,f:"function"===c,pg:0,n:s||t,m:r?"function"==typeof r?r:Math.round:0,pr:0,c:u?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-d||0};if(("number"!=typeof d||"number"!=typeof n&&!u)&&(a||isNaN(d)||!u&&isNaN(n)||"boolean"==typeof d||"boolean"==typeof n?(p.fp=a,p={t:j(d,u?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):n,l||N.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||t,pr:0,m:0}):(p.s=parseFloat(d),u||(p.c=parseFloat(n)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p},X=N._internals={isArray:b,isSelector:$,lazyTweens:F,blobDif:j},q=N._plugins={},Y=X.tweenLookup={},Z=0,K=X.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},J={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Q=D._rootFramesTimeline=new z,ee=D._rootTimeline=new z,te=30,ie=X.lazyRender=function(){var e,t,i=F.length;for(B={},e=0;e<i;e++)(t=F[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);F.length=0};ee._startTime=u.time,Q._startTime=u.frame,ee._active=Q._active=!0,setTimeout(ie,1),D._updateRoot=N.render=function(){var e,t,i;if(F.length&&ie(),ee.render((u.time-ee._startTime)*ee._timeScale,!1,!1),Q.render((u.frame-Q._startTime)*Q._timeScale,!1,!1),F.length&&ie(),u.frame>=te){for(i in te=u.frame+(parseInt(N.autoSleep,10)||120),Y){for(e=(t=Y[i].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete Y[i]}if((!(i=ee._first)||i._paused)&&N.autoSleep&&!Q._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",D._updateRoot);var ne=function(e,t,i){var n,s,r=e._gsTweenID;if(Y[r||(e._gsTweenID=r="t"+Z++)]||(Y[r]={target:e,tweens:[]}),t&&((n=Y[r].tweens)[s=n.length]=t,i))for(;--s>-1;)n[s]===t&&n.splice(s,1);return Y[r].tweens},se=function(e,t,i,n){var s,r,a=e.vars.onOverwrite;return a&&(s=a(e,t,i,n)),(a=N.onOverwrite)&&(r=a(e,t,i,n)),!1!==s&&!1!==r},re=function(e,t,i,n,s){var r,a,l,o;if(1===n||n>=4){for(o=s.length,r=0;r<o;r++)if((l=s[r])!==t)l._gc||l._kill(null,e,t)&&(a=!0);else if(5===n)break;return a}var c,h=t._startTime+1e-8,d=[],u=0,p=0===t._duration;for(r=s.length;--r>-1;)(l=s[r])===t||l._gc||l._paused||(l._timeline!==t._timeline?(c=c||ae(t,0,p),0===ae(l,c,p)&&(d[u++]=l)):l._startTime<=h&&l._startTime+l.totalDuration()/l._timeScale>h&&((p||!l._initted)&&h-l._startTime<=2e-8||(d[u++]=l)));for(r=u;--r>-1;)if(o=(l=d[r])._firstPT,2===n&&l._kill(i,e,t)&&(a=!0),2!==n||!l._firstPT&&l._initted&&o){if(2!==n&&!se(l,t))continue;l._enabled(!1,!1)&&(a=!0)}return a},ae=function(e,t,i){for(var n=e._timeline,s=n._timeScale,r=e._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return(r/=s)>t?r-t:i&&r===t||!e._initted&&r-t<2e-8?1e-8:(r+=e.totalDuration()/e._timeScale/s)>t+1e-8?0:r-t-1e-8};d._init=function(){var e,t,i,n,s,r,a=this.vars,l=this._overwrittenProps,o=this._duration,c=!!a.immediateRender,h=a.ease,d=this._startAt;if(a.startAt){for(n in d&&(d.render(-1,!0),d.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=c&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=N.to(this.target||{},0,s),c)if(this._time>0)this._startAt=null;else if(0!==o)return}else if(a.runBackwards&&0!==o)if(d)d.render(-1,!0),d.kill(),this._startAt=null;else{for(n in 0!==this._time&&(c=!1),i={},a)K[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=c&&!1!==a.lazy,i.immediateRender=c,this._startAt=N.to(this.target,0,i),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof E?h:"function"==typeof h?new E(h,a.easeParams):C[h]||N.defaultEase:N.defaultEase,a.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,e=0;e<r;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],l?l[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,l,0);if(t&&N._onPluginEvent("_onInitAllProps",this),l&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},d._initProps=function(e,t,n,s,r){var a,l,o,c,h,d;if(null==e)return!1;for(a in B[e._gsTweenID]&&ie(),this.vars.css||e.style&&e!==i&&e.nodeType&&q.css&&!1!==this.vars.autoCSS&&function(e,t){var i,n={};for(i in e)K[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!q[i]||q[i]&&q[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n}(this.vars,e),this.vars)if(d=this.vars[a],K[a])d&&(d instanceof Array||d.push&&b(d))&&-1!==d.join("").indexOf("{self}")&&(this.vars[a]=d=this._swapSelfInParams(d,this));else if(q[a]&&(c=new q[a])._onInitTween(e,this.vars[a],this,r)){for(this._firstPT=h={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:c._priority,m:0},l=c._overwriteProps.length;--l>-1;)t[c._overwriteProps[l]]=this._firstPT;(c._priority||c._onInitAllProps)&&(o=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else t[a]=W.call(this,e,a,"get",d,a,0,null,this.vars.stringFilter,r);return s&&this._kill(s,e)?this._initProps(e,t,n,s,r):this._overwrite>1&&this._firstPT&&n.length>1&&re(e,this,t,this._overwrite,n)?(this._kill(t,e),this._initProps(e,t,n,s,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(B[e._gsTweenID]=!0),o)},d.render=function(e,t,i){var n,s,r,a,l=this._time,o=this._duration,c=this._rawPrevTime;if(e>=o-1e-8&&e>=0)this._totalTime=this._time=o,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===o&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(c<0||e<=0&&e>=-1e-8||1e-8===c&&"isPause"!==this.data)&&c!==e&&(i=!0,c>1e-8&&(s="onReverseComplete")),this._rawPrevTime=a=!t||e||c===e?e:1e-8);else if(e<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==l||0===o&&c>0)&&(s="onReverseComplete",n=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===o&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(1e-8!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!t||e||c===e?e:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=e,this._easeType){var h=e/o,d=this._easeType,u=this._easePower;(1===d||3===d&&h>=.5)&&(h=1-h),3===d&&(h*=2),1===u?h*=h:2===u?h*=h*h:3===u?h*=h*h*h:4===u&&(h*=h*h*h*h),this.ratio=1===d?1-h:2===d?h:e/o<.5?h/2:1-h/2}else this.ratio=this._ease.getRatio(e/o);if(this._time!==l||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=l,this._rawPrevTime=c,F.push(this),void(this._lazy=[e,t]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/o):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==l&&e>=0&&(this._active=!0),0===l&&(this._startAt&&(e>=0?this._startAt.render(e,!0,i):s||(s="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==o||t||this._callback("onStart"))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(e<0&&this._startAt&&-1e-4!==e&&this._startAt.render(e,!0,i),t||(this._time!==l||n||i)&&this._callback("onUpdate")),s&&(this._gc&&!i||(e<0&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[s]&&this._callback(s),0===o&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},d._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:N.selector(t)||t;var n,s,r,a,l,o,c,h,d,u=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((b(t)||$(t))&&"number"!=typeof t[0])for(n=t.length;--n>-1;)this._kill(e,t[n],i)&&(o=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(t===this._targets[n]){l=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=e?this._overwrittenProps[n]||{}:"all";break}}else{if(t!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(l){if(c=e||l,h=e!==s&&"all"!==s&&e!==l&&("object"!=typeof e||!e._tempKill),i&&(N.onOverwrite||this.vars.onOverwrite)){for(r in c)l[r]&&(d||(d=[]),d.push(r));if((d||!e)&&!se(this,i,t,d))return!1}for(r in c)(a=l[r])&&(u&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,o=!0),a.pg&&a.t._kill(c)&&(o=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete l[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return o},d.invalidate=function(){this._notifyPluginsOfEnabled&&N._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(e,!1,!1!==this.vars.lazy)),this},d._enabled=function(e,t){if(p||u.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=ne(n[i],this,!0);else this._siblings=ne(this.target,this,!0)}return D.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&N._onPluginEvent(e?"_onEnable":"_onDisable",this)},N.to=function(e,t,i){return new N(e,t,i)},N.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new N(e,t,i)},N.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new N(e,t,n)},N.delayedCall=function(e,t,i,n,s){return new N(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},N.set=function(e,t){return new N(e,0,t)},N.getTweensOf=function(e,t){if(null==e)return[];var i,n,s,r;if(e="string"!=typeof e?e:N.selector(e)||e,(b(e)||$(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(N.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(r=n[i],s=i;--s>-1;)r===n[s]&&n.splice(i,1)}else if(e._gsTweenID)for(i=(n=ne(e).concat()).length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n||[]},N.killTweensOf=N.killDelayedCallsTo=function(e,t,i){"object"==typeof t&&(i=t,t=!1);for(var n=N.getTweensOf(e,t),s=n.length;--s>-1;)n[s]._kill(i,e)};var le=S("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=le.prototype}),!0);if(d=le.prototype,le.version="1.19.0",le.API=2,d._firstPT=null,d._addTween=W,d.setRatio=U,d._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},d._mod=d._roundProps=function(e){for(var t,i=this._firstPT;i;)(t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},N._onPluginEvent=function(e,t){var i,n,s,r,a,l=t._firstPT;if("_onInitAllProps"===e){for(;l;){for(a=l._next,n=s;n&&n.pr>l.pr;)n=n._next;(l._prev=n?n._prev:r)?l._prev._next=l:s=l,(l._next=n)?n._prev=l:r=l,l=a}l=t._firstPT=s}for(;l;)l.pg&&"function"==typeof l.t[e]&&l.t[e]()&&(i=!0),l=l._next;return i},le.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===le.API&&(q[(new e[t])._propName]=e[t]);return!0},T.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,s=e.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=S("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){le.call(this,i,n),this._overwriteProps=s||[]}),!0===e.global),l=a.prototype=new le(i);for(t in l.constructor=a,a.API=e.API,r)"function"==typeof e[t]&&(l[r[t]]=e[t]);return a.version=e.version,le.activate([a]),a},c=i._gsQueue){for(h=0;h<c.length;h++)c[h]();for(d in w)w[d].func||i.console.log("GSAP encountered missing dependency: "+d)}p=!1}(e.exports&&void 0!==i?i:this||window)}).call(this,i(7))},function(e,t,i){var n,s;"undefined"!=typeof window&&window,void 0===(s="function"==typeof(n=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,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],s=0;s<i.length;s++){var r=i[s];n&&n[r]&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?n.call(t,i,t,e):n)||(e.exports=s)},function(e,t,i){var n,s,r,a={inherits:function(e,t){function i(){}i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e,e.parentClass=t},mixin:function(e,t){var i;for(i in t.prototype)t.prototype.hasOwnProperty(i)&&(e.prototype[i]=t.prototype[i])},min:function(e){var t,i=Number.MAX_VALUE;if(e instanceof Array)for(t=0;t<e.length;t++)e[t]<i&&(i=e[t]);else for(t in e)e[t]<i&&(i=e[t]);return i},max:function(e){var t,i=Number.MIN_VALUE;if(e instanceof Array)for(t=0;t<e.length;t++)e[t]>i&&(i=e[t]);else for(t in e)e[t]>i&&(i=e[t]);return i},keys:function(e){var t,i=[];for(t in e)i.push(t);return i},values:function(e){var t,i,n=[];for(i=0;i<arguments.length;i++)for(t in e=arguments[i])n.push(e[t]);return n},whenImageLoaded:function(e){var t=new a.$.Deferred,i=a.$("<img/>");return i.on("error",(function(){t.reject()})).on("load",(function(){t.resolve(i)})),i.attr("src",e),t},isImageUrl:function(e){return/\.\w{3,4}$/.test(e)}};Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),s=n.length>>>0;if(0===s)return-1;var r=+t||0;if(Math.abs(r)===1/0&&(r=0),r>=s)return-1;for(i=Math.max(r>=0?r:s-Math.abs(r),0);i<s;){if(i in n&&n[i]===e)return i;i++}return-1}),e.exports=function(e){a.$=e;var t={set:{colors:1,values:1,backgroundColor:1,scaleColors:1,normalizeFunction:1,focus:1},get:{selectedRegions:1,selectedMarkers:1,mapObject:1,regionName:1}};e.fn.vectorMap=function(e){var i=this.children(".jvectormap-container").data("mapObject");if("addMap"===e)a.Map.maps[arguments[1]]=arguments[2];else{if(("set"===e||"get"===e)&&t[e][arguments[1]])return i[e+(arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1))].apply(i,Array.prototype.slice.call(arguments,2));(e=e||{}).container=this,i=new a.Map(e)}return this}},s=[i(2)],void 0===(r="function"==typeof(n=function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var a=n.length;a;)e.event.fixHooks[n[--a]]=e.event.mouseHooks;var l=e.event.special.mousewheel={version:"3.1.9",setup:function(){if(this.addEventListener)for(var t=s.length;t;)this.addEventListener(s[--t],o,!1);else this.onmousewheel=o;e.data(this,"mousewheel-line-height",l.getLineHeight(this)),e.data(this,"mousewheel-page-height",l.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=s.length;e;)this.removeEventListener(s[--e],o,!1);else this.onmousewheel=null},getLineHeight:function(t){return parseInt(e(t)["offsetParent"in e.fn?"offsetParent":"parent"]().css("fontSize"),10)},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0}};function o(n){var s=n||window.event,a=r.call(arguments,1),l=0,o=0,d=0,u=0;if((n=e.event.fix(s)).type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(o=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(o=-1*d,d=0),l=0===d?o:d,"deltaY"in s&&(l=d=-1*s.deltaY),"deltaX"in s&&(o=s.deltaX,0===d&&(l=-1*o)),0!==d||0!==o){if(1===s.deltaMode){var p=e.data(this,"mousewheel-line-height");l*=p,d*=p,o*=p}else if(2===s.deltaMode){var f=e.data(this,"mousewheel-page-height");l*=f,d*=f,o*=f}return u=Math.max(Math.abs(d),Math.abs(o)),(!i||u<i)&&(i=u,h(s,u)&&(i/=40)),h(s,u)&&(l/=40,o/=40,d/=40),l=Math[l>=1?"floor":"ceil"](l/i),o=Math[o>=1?"floor":"ceil"](o/i),d=Math[d>=1?"floor":"ceil"](d/i),n.deltaX=o,n.deltaY=d,n.deltaFactor=i,n.deltaMode=0,a.unshift(n,l,o,d),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function c(){i=null}function h(e,t){return l.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})})?n.apply(t,s):n)||(e.exports=r),a.AbstractElement=function(e,t){this.node=this.createElement(e),this.name=e,this.properties={},t&&this.set(t)},a.AbstractElement.prototype.set=function(e,t){var i;if("object"==typeof e)for(i in e)this.properties[i]=e[i],this.applyAttr(i,e[i]);else this.properties[e]=t,this.applyAttr(e,t)},a.AbstractElement.prototype.get=function(e){return this.properties[e]},a.AbstractElement.prototype.applyAttr=function(e,t){this.node.setAttribute(e,t)},a.AbstractElement.prototype.remove=function(){a.$(this.node).remove()},a.AbstractCanvasElement=function(e,t,i){this.container=e,this.setSize(t,i),this.rootElement=new a[this.classPrefix+"GroupElement"],this.node.appendChild(this.rootElement.node),this.container.appendChild(this.node)},a.AbstractCanvasElement.prototype.add=function(e,t){(t=t||this.rootElement).add(e),e.canvas=this},a.AbstractCanvasElement.prototype.addPath=function(e,t,i){var n=new a[this.classPrefix+"PathElement"](e,t);return this.add(n,i),n},a.AbstractCanvasElement.prototype.addCircle=function(e,t,i){var n=new a[this.classPrefix+"CircleElement"](e,t);return this.add(n,i),n},a.AbstractCanvasElement.prototype.addImage=function(e,t,i){var n=new a[this.classPrefix+"ImageElement"](e,t);return this.add(n,i),n},a.AbstractCanvasElement.prototype.addText=function(e,t,i){var n=new a[this.classPrefix+"TextElement"](e,t);return this.add(n,i),n},a.AbstractCanvasElement.prototype.addGroup=function(e){var t=new a[this.classPrefix+"GroupElement"];return e?e.node.appendChild(t.node):this.node.appendChild(t.node),t.canvas=this,t},a.AbstractShapeElement=function(e,t,i){this.style=i||{},this.style.current=this.style.current||{},this.isHovered=!1,this.isSelected=!1,this.updateStyle()},a.AbstractShapeElement.prototype.setStyle=function(e,t){var i={};"object"==typeof e?i=e:i[e]=t,a.$.extend(this.style.current,i),this.updateStyle()},a.AbstractShapeElement.prototype.updateStyle=function(){var e={};a.AbstractShapeElement.mergeStyles(e,this.style.initial),a.AbstractShapeElement.mergeStyles(e,this.style.current),this.isHovered&&a.AbstractShapeElement.mergeStyles(e,this.style.hover),this.isSelected&&(a.AbstractShapeElement.mergeStyles(e,this.style.selected),this.isHovered&&a.AbstractShapeElement.mergeStyles(e,this.style.selectedHover)),this.set(e)},a.AbstractShapeElement.mergeStyles=function(e,t){var i;for(i in t=t||{})null===t[i]?delete e[i]:e[i]=t[i]},a.SVGElement=function(e,t){a.SVGElement.parentClass.apply(this,arguments)},a.inherits(a.SVGElement,a.AbstractElement),a.SVGElement.svgns="http://www.w3.org/2000/svg",a.SVGElement.prototype.createElement=function(e){return document.createElementNS(a.SVGElement.svgns,e)},a.SVGElement.prototype.addClass=function(e){this.node.setAttribute("class",e)},a.SVGElement.prototype.getElementCtr=function(e){return a["SVG"+e]},a.SVGElement.prototype.getBBox=function(){return this.node.getBBox()},a.SVGGroupElement=function(){a.SVGGroupElement.parentClass.call(this,"g")},a.inherits(a.SVGGroupElement,a.SVGElement),a.SVGGroupElement.prototype.add=function(e){this.node.appendChild(e.node)},a.SVGCanvasElement=function(e,t,i){this.classPrefix="SVG",a.SVGCanvasElement.parentClass.call(this,"svg"),this.defsElement=new a.SVGElement("defs"),this.node.appendChild(this.defsElement.node),a.AbstractCanvasElement.apply(this,arguments)},a.inherits(a.SVGCanvasElement,a.SVGElement),a.mixin(a.SVGCanvasElement,a.AbstractCanvasElement),a.SVGCanvasElement.prototype.setSize=function(e,t){this.width=e,this.height=t,this.node.setAttribute("width",e),this.node.setAttribute("height",t)},a.SVGCanvasElement.prototype.applyTransformParams=function(e,t,i){this.scale=e,this.transX=t,this.transY=i,this.rootElement.node.setAttribute("transform","scale("+e+") translate("+t+", "+i+")")},a.SVGShapeElement=function(e,t,i){a.SVGShapeElement.parentClass.call(this,e,t),a.AbstractShapeElement.apply(this,arguments)},a.inherits(a.SVGShapeElement,a.SVGElement),a.mixin(a.SVGShapeElement,a.AbstractShapeElement),a.SVGShapeElement.prototype.applyAttr=function(e,t){var i,n,s=this;"fill"===e&&a.isImageUrl(t)?a.SVGShapeElement.images[t]?this.applyAttr("fill","url(#image"+a.SVGShapeElement.images[t]+")"):a.whenImageLoaded(t).then((function(e){(n=new a.SVGElement("image")).node.setAttributeNS("http://www.w3.org/1999/xlink","href",t),n.applyAttr("x","0"),n.applyAttr("y","0"),n.applyAttr("width",e[0].width),n.applyAttr("height",e[0].height),(i=new a.SVGElement("pattern")).applyAttr("id","image"+a.SVGShapeElement.imageCounter),i.applyAttr("x",0),i.applyAttr("y",0),i.applyAttr("width",e[0].width/2),i.applyAttr("height",e[0].height/2),i.applyAttr("viewBox","0 0 "+e[0].width+" "+e[0].height),i.applyAttr("patternUnits","userSpaceOnUse"),i.node.appendChild(n.node),s.canvas.defsElement.node.appendChild(i.node),a.SVGShapeElement.images[t]=a.SVGShapeElement.imageCounter++,s.applyAttr("fill","url(#image"+a.SVGShapeElement.images[t]+")")})):a.SVGShapeElement.parentClass.prototype.applyAttr.apply(this,arguments)},a.SVGShapeElement.imageCounter=1,a.SVGShapeElement.images={},a.SVGPathElement=function(e,t){a.SVGPathElement.parentClass.call(this,"path",e,t),this.node.setAttribute("fill-rule","evenodd")},a.inherits(a.SVGPathElement,a.SVGShapeElement),a.SVGCircleElement=function(e,t){a.SVGCircleElement.parentClass.call(this,"circle",e,t)},a.inherits(a.SVGCircleElement,a.SVGShapeElement),a.SVGImageElement=function(e,t){a.SVGImageElement.parentClass.call(this,"image",e,t)},a.inherits(a.SVGImageElement,a.SVGShapeElement),a.SVGImageElement.prototype.applyAttr=function(e,t){var i,n=this;"image"==e?("object"==typeof t?(i=t.url,this.offset=t.offset):(i=t,this.offset=[0,0]),a.whenImageLoaded(i).then((function(e){n.node.setAttributeNS("http://www.w3.org/1999/xlink","href",i),n.width=e[0].width,n.height=e[0].height,n.applyAttr("width",n.width),n.applyAttr("height",n.height),n.applyAttr("x",n.cx-n.width/2+n.offset[0]),n.applyAttr("y",n.cy-n.height/2+n.offset[1]),a.$(n.node).trigger("imageloaded",[e])}))):"cx"==e?(this.cx=t,this.width&&this.applyAttr("x",t-this.width/2+this.offset[0])):"cy"==e?(this.cy=t,this.height&&this.applyAttr("y",t-this.height/2+this.offset[1])):a.SVGImageElement.parentClass.prototype.applyAttr.apply(this,arguments)},a.SVGTextElement=function(e,t){a.SVGTextElement.parentClass.call(this,"text",e,t)},a.inherits(a.SVGTextElement,a.SVGShapeElement),a.SVGTextElement.prototype.applyAttr=function(e,t){"text"===e?this.node.textContent=t:a.SVGTextElement.parentClass.prototype.applyAttr.apply(this,arguments)},a.VMLElement=function(e,t){a.VMLElement.VMLInitialized||a.VMLElement.initializeVML(),a.VMLElement.parentClass.apply(this,arguments)},a.inherits(a.VMLElement,a.AbstractElement),a.VMLElement.VMLInitialized=!1,a.VMLElement.initializeVML=function(){try{document.namespaces.rvml||document.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),a.VMLElement.prototype.createElement=function(e){return document.createElement("<rvml:"+e+' class="rvml">')}}catch(e){a.VMLElement.prototype.createElement=function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}document.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"),a.VMLElement.VMLInitialized=!0},a.VMLElement.prototype.getElementCtr=function(e){return a["VML"+e]},a.VMLElement.prototype.addClass=function(e){a.$(this.node).addClass(e)},a.VMLElement.prototype.applyAttr=function(e,t){this.node[e]=t},a.VMLElement.prototype.getBBox=function(){var e=a.$(this.node);return{x:e.position().left/this.canvas.scale,y:e.position().top/this.canvas.scale,width:e.width()/this.canvas.scale,height:e.height()/this.canvas.scale}},a.VMLGroupElement=function(){a.VMLGroupElement.parentClass.call(this,"group"),this.node.style.left="0px",this.node.style.top="0px",this.node.coordorigin="0 0"},a.inherits(a.VMLGroupElement,a.VMLElement),a.VMLGroupElement.prototype.add=function(e){this.node.appendChild(e.node)},a.VMLCanvasElement=function(e,t,i){this.classPrefix="VML",a.VMLCanvasElement.parentClass.call(this,"group"),a.AbstractCanvasElement.apply(this,arguments),this.node.style.position="absolute"},a.inherits(a.VMLCanvasElement,a.VMLElement),a.mixin(a.VMLCanvasElement,a.AbstractCanvasElement),a.VMLCanvasElement.prototype.setSize=function(e,t){var i,n,s,r;if(this.width=e,this.height=t,this.node.style.width=e+"px",this.node.style.height=t+"px",this.node.coordsize=e+" "+t,this.node.coordorigin="0 0",this.rootElement){for(s=0,r=(i=this.rootElement.node.getElementsByTagName("shape")).length;s<r;s++)i[s].coordsize=e+" "+t,i[s].style.width=e+"px",i[s].style.height=t+"px";for(s=0,r=(n=this.node.getElementsByTagName("group")).length;s<r;s++)n[s].coordsize=e+" "+t,n[s].style.width=e+"px",n[s].style.height=t+"px"}},a.VMLCanvasElement.prototype.applyTransformParams=function(e,t,i){this.scale=e,this.transX=t,this.transY=i,this.rootElement.node.coordorigin=this.width-t-this.width/100+","+(this.height-i-this.height/100),this.rootElement.node.coordsize=this.width/e+","+this.height/e},a.VMLShapeElement=function(e,t){a.VMLShapeElement.parentClass.call(this,e,t),this.fillElement=new a.VMLElement("fill"),this.strokeElement=new a.VMLElement("stroke"),this.node.appendChild(this.fillElement.node),this.node.appendChild(this.strokeElement.node),this.node.stroked=!1,a.AbstractShapeElement.apply(this,arguments)},a.inherits(a.VMLShapeElement,a.VMLElement),a.mixin(a.VMLShapeElement,a.AbstractShapeElement),a.VMLShapeElement.prototype.applyAttr=function(e,t){switch(e){case"fill":this.node.fillcolor=t;break;case"fill-opacity":this.fillElement.node.opacity=Math.round(100*t)+"%";break;case"stroke":this.node.stroked="none"!==t,this.node.strokecolor=t;break;case"stroke-opacity":this.strokeElement.node.opacity=Math.round(100*t)+"%";break;case"stroke-width":0===parseInt(t,10)?this.node.stroked=!1:this.node.stroked=!0,this.node.strokeweight=t;break;case"d":this.node.path=a.VMLPathElement.pathSvgToVml(t);break;default:a.VMLShapeElement.parentClass.prototype.applyAttr.apply(this,arguments)}},a.VMLPathElement=function(e,t){var i=new a.VMLElement("skew");a.VMLPathElement.parentClass.call(this,"shape",e,t),this.node.coordorigin="0 0",i.node.on=!0,i.node.matrix="0.01,0,0,0.01,0,0",i.node.offset="0,0",this.node.appendChild(i.node)},a.inherits(a.VMLPathElement,a.VMLShapeElement),a.VMLPathElement.prototype.applyAttr=function(e,t){"d"===e?this.node.path=a.VMLPathElement.pathSvgToVml(t):a.VMLShapeElement.prototype.applyAttr.call(this,e,t)},a.VMLPathElement.pathSvgToVml=function(e){var t,i,n=0,s=0;return(e=e.replace(/(-?\d+)e(-?\d+)/g,"0")).replace(/([MmLlHhVvCcSs])\s*((?:-?\d*(?:\.\d+)?\s*,?\s*)+)/g,(function(e,r,a,l){(a=a.replace(/(\d)-/g,"$1,-").replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g,",").split(","))[0]||a.shift();for(var o=0,c=a.length;o<c;o++)a[o]=Math.round(100*a[o]);switch(r){case"m":return n+=a[0],s+=a[1],"t"+a.join(",");case"M":return n=a[0],s=a[1],"m"+a.join(",");case"l":return n+=a[0],s+=a[1],"r"+a.join(",");case"L":return n=a[0],s=a[1],"l"+a.join(",");case"h":return n+=a[0],"r"+a[0]+",0";case"H":return"l"+(n=a[0])+","+s;case"v":return s+=a[0],"r0,"+a[0];case"V":return s=a[0],"l"+n+","+s;case"c":return t=n+a[a.length-4],i=s+a[a.length-3],n+=a[a.length-2],s+=a[a.length-1],"v"+a.join(",");case"C":return t=a[a.length-4],i=a[a.length-3],n=a[a.length-2],s=a[a.length-1],"c"+a.join(",");case"s":return a.unshift(s-i),a.unshift(n-t),t=n+a[a.length-4],i=s+a[a.length-3],n+=a[a.length-2],s+=a[a.length-1],"v"+a.join(",");case"S":return a.unshift(s+s-i),a.unshift(n+n-t),t=a[a.length-4],i=a[a.length-3],n=a[a.length-2],s=a[a.length-1],"c"+a.join(",")}return""})).replace(/z/g,"e")},a.VMLCircleElement=function(e,t){a.VMLCircleElement.parentClass.call(this,"oval",e,t)},a.inherits(a.VMLCircleElement,a.VMLShapeElement),a.VMLCircleElement.prototype.applyAttr=function(e,t){switch(e){case"r":this.node.style.width=2*t+"px",this.node.style.height=2*t+"px",this.applyAttr("cx",this.get("cx")||0),this.applyAttr("cy",this.get("cy")||0);break;case"cx":if(!t)return;this.node.style.left=t-(this.get("r")||0)+"px";break;case"cy":if(!t)return;this.node.style.top=t-(this.get("r")||0)+"px";break;default:a.VMLCircleElement.parentClass.prototype.applyAttr.call(this,e,t)}},a.VectorCanvas=function(e,t,i){return this.mode=window.SVGAngle?"svg":"vml","svg"==this.mode?this.impl=new a.SVGCanvasElement(e,t,i):this.impl=new a.VMLCanvasElement(e,t,i),this.impl.mode=this.mode,this.impl},a.SimpleScale=function(e){this.scale=e},a.SimpleScale.prototype.getValue=function(e){return e},a.OrdinalScale=function(e){this.scale=e},a.OrdinalScale.prototype.getValue=function(e){return this.scale[e]},a.OrdinalScale.prototype.getTicks=function(){var e,t=[];for(e in this.scale)t.push({label:e,value:this.scale[e]});return t},a.NumericScale=function(e,t,i,n){this.scale=[],t=t||"linear",e&&this.setScale(e),t&&this.setNormalizeFunction(t),void 0!==i&&this.setMin(i),void 0!==n&&this.setMax(n)},a.NumericScale.prototype={setMin:function(e){this.clearMinValue=e,"function"==typeof this.normalize?this.minValue=this.normalize(e):this.minValue=e},setMax:function(e){this.clearMaxValue=e,"function"==typeof this.normalize?this.maxValue=this.normalize(e):this.maxValue=e},setScale:function(e){var t;for(this.scale=[],t=0;t<e.length;t++)this.scale[t]=[e[t]]},setNormalizeFunction:function(e){"polynomial"===e?this.normalize=function(e){return Math.pow(e,.2)}:"linear"===e?delete this.normalize:this.normalize=e,this.setMin(this.clearMinValue),this.setMax(this.clearMaxValue)},getValue:function(e){var t,i,n=[],s=0,r=0;for("function"==typeof this.normalize&&(e=this.normalize(e)),r=0;r<this.scale.length-1;r++)t=this.vectorLength(this.vectorSubtract(this.scale[r+1],this.scale[r])),n.push(t),s+=t;for(i=(this.maxValue-this.minValue)/s,r=0;r<n.length;r++)n[r]*=i;for(r=0,e-=this.minValue;e-n[r]>=0;)e-=n[r],r++;return e=r==this.scale.length-1?this.vectorToNum(this.scale[r]):this.vectorToNum(this.vectorAdd(this.scale[r],this.vectorMult(this.vectorSubtract(this.scale[r+1],this.scale[r]),e/n[r])))},vectorToNum:function(e){var t,i=0;for(t=0;t<e.length;t++)i+=Math.round(e[t])*Math.pow(256,e.length-t-1);return i},vectorSubtract:function(e,t){var i,n=[];for(i=0;i<e.length;i++)n[i]=e[i]-t[i];return n},vectorAdd:function(e,t){var i,n=[];for(i=0;i<e.length;i++)n[i]=e[i]+t[i];return n},vectorMult:function(e,t){var i,n=[];for(i=0;i<e.length;i++)n[i]=e[i]*t;return n},vectorLength:function(e){var t,i=0;for(t=0;t<e.length;t++)i+=e[t]*e[t];return Math.sqrt(i)},getTicks:function(){var e,t,i=[this.clearMinValue,this.clearMaxValue],n=i[1]-i[0],s=Math.pow(10,Math.floor(Math.log(n/5)/Math.LN10)),r=5/n*s,a=[];for(r<=.15?s*=10:r<=.35?s*=5:r<=.75&&(s*=2),i[0]=Math.floor(i[0]/s)*s,i[1]=Math.ceil(i[1]/s)*s,e=i[0];e<=i[1];)t=e==i[0]?this.clearMinValue:e==i[1]?this.clearMaxValue:e,a.push({label:e,value:this.getValue(t)}),e+=s;return a}},a.ColorScale=function(e,t,i,n){a.ColorScale.parentClass.apply(this,arguments)},a.inherits(a.ColorScale,a.NumericScale),a.ColorScale.prototype.setScale=function(e){var t;for(t=0;t<e.length;t++)this.scale[t]=a.ColorScale.rgbToArray(e[t])},a.ColorScale.prototype.getValue=function(e){return a.ColorScale.numToRgb(a.ColorScale.parentClass.prototype.getValue.call(this,e))},a.ColorScale.arrayToRgb=function(e){var t,i,n="#";for(i=0;i<e.length;i++)n+=1==(t=e[i].toString(16)).length?"0"+t:t;return n},a.ColorScale.numToRgb=function(e){for(e=e.toString(16);e.length<6;)e="0"+e;return"#"+e},a.ColorScale.rgbToArray=function(e){return e=e.substr(1),[parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16)]},a.Legend=function(e){this.params=e||{},this.map=this.params.map,this.series=this.params.series,this.body=a.$("<div/>"),this.body.addClass("jvectormap-legend"),this.params.cssClass&&this.body.addClass(this.params.cssClass),e.vertical?this.map.legendCntVertical.append(this.body):this.map.legendCntHorizontal.append(this.body),this.render()},a.Legend.prototype.render=function(){var e,t,i,n,s=this.series.scale.getTicks(),r=a.$("<div/>").addClass("jvectormap-legend-inner");for(this.body.html(""),this.params.title&&this.body.append(a.$("<div/>").addClass("jvectormap-legend-title").html(this.params.title)),this.body.append(r),e=0;e<s.length;e++){switch(t=a.$("<div/>").addClass("jvectormap-legend-tick"),i=a.$("<div/>").addClass("jvectormap-legend-tick-sample"),this.series.params.attribute){case"fill":a.isImageUrl(s[e].value)?i.css("background","url("+s[e].value+")"):i.css("background",s[e].value);break;case"stroke":i.css("background",s[e].value);break;case"image":i.css("background","url("+("object"==typeof s[e].value?s[e].value.url:s[e].value)+") no-repeat center center");break;case"r":a.$("<div/>").css({"border-radius":s[e].value,border:this.map.params.markerStyle.initial["stroke-width"]+"px "+this.map.params.markerStyle.initial.stroke+" solid",width:2*s[e].value+"px",height:2*s[e].value+"px",background:this.map.params.markerStyle.initial.fill}).appendTo(i)}t.append(i),n=s[e].label,this.params.labelRender&&(n=this.params.labelRender(n)),t.append(a.$("<div>"+n+" </div>").addClass("jvectormap-legend-tick-text")),r.append(t)}r.append(a.$("<div/>").css("clear","both"))},a.DataSeries=function(e,t,i){var n;(e=e||{}).attribute=e.attribute||"fill",this.elements=t,this.params=e,this.map=i,e.attributes&&this.setAttributes(e.attributes),a.$.isArray(e.scale)?(n="fill"===e.attribute||"stroke"===e.attribute?a.ColorScale:a.NumericScale,this.scale=new n(e.scale,e.normalizeFunction,e.min,e.max)):e.scale?this.scale=new a.OrdinalScale(e.scale):this.scale=new a.SimpleScale(e.scale),this.values=e.values||{},this.setValues(this.values),this.params.legend&&(this.legend=new a.Legend(a.$.extend({map:this.map,series:this},this.params.legend)))},a.DataSeries.prototype={setAttributes:function(e,t){var i,n=e;if("string"==typeof e)this.elements[e]&&this.elements[e].setStyle(this.params.attribute,t);else for(i in n)this.elements[i]&&this.elements[i].element.setStyle(this.params.attribute,n[i])},setValues:function(e){var t,i,n=-Number.MAX_VALUE,s=Number.MAX_VALUE,r={};if(this.scale instanceof a.OrdinalScale||this.scale instanceof a.SimpleScale)for(i in e)e[i]?r[i]=this.scale.getValue(e[i]):r[i]=this.elements[i].element.style.initial[this.params.attribute];else{if(void 0===this.params.min||void 0===this.params.max)for(i in e)(t=parseFloat(e[i]))>n&&(n=t),t<s&&(s=t);for(i in void 0===this.params.min?(this.scale.setMin(s),this.params.min=s):this.scale.setMin(this.params.min),void 0===this.params.max?(this.scale.setMax(n),this.params.max=n):this.scale.setMax(this.params.max),e)"indexOf"!=i&&(t=parseFloat(e[i]),isNaN(t)?r[i]=this.elements[i].element.style.initial[this.params.attribute]:r[i]=this.scale.getValue(t))}this.setAttributes(r),a.$.extend(this.values,e)},clear:function(){var e,t={};for(e in this.values)this.elements[e]&&(t[e]=this.elements[e].element.shape.style.initial[this.params.attribute]);this.setAttributes(t),this.values={}},setScale:function(e){this.scale.setScale(e),this.values&&this.setValues(this.values)},setNormalizeFunction:function(e){this.scale.setNormalizeFunction(e),this.values&&this.setValues(this.values)}},a.Proj={degRad:180/Math.PI,radDeg:Math.PI/180,radius:6381372,sgn:function(e){return e>0?1:e<0?-1:e},mill:function(e,t,i){return{x:this.radius*(t-i)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*e)*this.radDeg))/.8}},mill_inv:function(e,t,i){return{lat:(2.5*Math.atan(Math.exp(.8*t/this.radius))-5*Math.PI/8)*this.degRad,lng:(i*this.radDeg+e/this.radius)*this.degRad}},merc:function(e,t,i){return{x:this.radius*(t-i)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+e*Math.PI/360))}},merc_inv:function(e,t,i){return{lat:(2*Math.atan(Math.exp(t/this.radius))-Math.PI/2)*this.degRad,lng:(i*this.radDeg+e/this.radius)*this.degRad}},aea:function(e,t,i){var n=i*this.radDeg,s=29.5*this.radDeg,r=45.5*this.radDeg,a=e*this.radDeg,l=t*this.radDeg,o=(Math.sin(s)+Math.sin(r))/2,c=Math.cos(s)*Math.cos(s)+2*o*Math.sin(s),h=o*(l-n),d=Math.sqrt(c-2*o*Math.sin(a))/o,u=Math.sqrt(c-2*o*Math.sin(0))/o;return{x:d*Math.sin(h)*this.radius,y:-(u-d*Math.cos(h))*this.radius}},aea_inv:function(e,t,i){var n=e/this.radius,s=t/this.radius,r=i*this.radDeg,a=29.5*this.radDeg,l=45.5*this.radDeg,o=(Math.sin(a)+Math.sin(l))/2,c=Math.cos(a)*Math.cos(a)+2*o*Math.sin(a),h=Math.sqrt(c-2*o*Math.sin(0))/o,d=Math.sqrt(n*n+(h-s)*(h-s)),u=Math.atan(n/(h-s));return{lat:Math.asin((c-d*d*o*o)/(2*o))*this.degRad,lng:(r+u/o)*this.degRad}},lcc:function(e,t,i){var n=i*this.radDeg,s=t*this.radDeg,r=33*this.radDeg,a=45*this.radDeg,l=e*this.radDeg,o=Math.log(Math.cos(r)*(1/Math.cos(a)))/Math.log(Math.tan(Math.PI/4+a/2)*(1/Math.tan(Math.PI/4+r/2))),c=Math.cos(r)*Math.pow(Math.tan(Math.PI/4+r/2),o)/o,h=c*Math.pow(1/Math.tan(Math.PI/4+l/2),o),d=c*Math.pow(1/Math.tan(Math.PI/4+0),o);return{x:h*Math.sin(o*(s-n))*this.radius,y:-(d-h*Math.cos(o*(s-n)))*this.radius}},lcc_inv:function(e,t,i){var n=e/this.radius,s=t/this.radius,r=i*this.radDeg,a=33*this.radDeg,l=45*this.radDeg,o=Math.log(Math.cos(a)*(1/Math.cos(l)))/Math.log(Math.tan(Math.PI/4+l/2)*(1/Math.tan(Math.PI/4+a/2))),c=Math.cos(a)*Math.pow(Math.tan(Math.PI/4+a/2),o)/o,h=c*Math.pow(1/Math.tan(Math.PI/4+0),o),d=this.sgn(o)*Math.sqrt(n*n+(h-s)*(h-s)),u=Math.atan(n/(h-s));return{lat:(2*Math.atan(Math.pow(c/d,1/o))-Math.PI/2)*this.degRad,lng:(r+u/o)*this.degRad}}},a.MapObject=function(e){},a.MapObject.prototype.getLabelText=function(e){return this.config.label?"function"==typeof this.config.label.render?this.config.label.render(e):e:null},a.MapObject.prototype.getLabelOffsets=function(e){var t;return this.config.label&&("function"==typeof this.config.label.offsets?t=this.config.label.offsets(e):"object"==typeof this.config.label.offsets&&(t=this.config.label.offsets[e])),t||[0,0]},a.MapObject.prototype.setHovered=function(e){this.isHovered!==e&&(this.isHovered=e,this.shape.isHovered=e,this.shape.updateStyle(),this.label&&(this.label.isHovered=e,this.label.updateStyle()))},a.MapObject.prototype.setSelected=function(e){this.isSelected!==e&&(this.isSelected=e,this.shape.isSelected=e,this.shape.updateStyle(),this.label&&(this.label.isSelected=e,this.label.updateStyle()),a.$(this.shape).trigger("selected",[e]))},a.MapObject.prototype.setStyle=function(){this.shape.setStyle.apply(this.shape,arguments)},a.MapObject.prototype.remove=function(){this.shape.remove(),this.label&&this.label.remove()},a.Region=function(e){var t,i,n,s;this.config=e,this.map=this.config.map,s=e.canvas.addGroup(e.canvas.rootElement),this.shape=e.canvas.addPath({d:e.path},e.style,s),e.canvas.addPath({d:e.path,"data-code":e.code},{initial:{fill:"transparent",stroke:"transparent","stroke-width":e.margin}},s).addClass("jvectormap-region jvectormap-element"),t=this.shape.getBBox(),i=this.getLabelText(e.code),this.config.label&&i&&(n=this.getLabelOffsets(e.code),this.labelX=t.x+t.width/2+n[0],this.labelY=t.y+t.height/2+n[1],this.label=e.canvas.addText({text:i,"text-anchor":"middle","alignment-baseline":"central",x:this.labelX,y:this.labelY,"data-code":e.code},e.labelStyle,e.labelsGroup),this.label.addClass("jvectormap-region jvectormap-element"))},a.inherits(a.Region,a.MapObject),a.Region.prototype.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this.map.scale+this.map.transX*this.map.scale,y:this.labelY*this.map.scale+this.map.transY*this.map.scale})},a.Marker=function(e){var t;this.config=e,this.map=this.config.map,this.isImage=!!this.config.style.initial.image,this.createShape(),t=this.getLabelText(e.index),this.config.label&&t&&(this.offsets=this.getLabelOffsets(e.index),this.labelX=e.cx/this.map.scale-this.map.transX,this.labelY=e.cy/this.map.scale-this.map.transY,this.label=e.canvas.addText({text:t,"data-index":e.index,dy:"0.6ex",x:this.labelX,y:this.labelY},e.labelStyle,e.labelsGroup),this.label.addClass("jvectormap-marker jvectormap-element"))},a.inherits(a.Marker,a.MapObject),a.Marker.prototype.createShape=function(){var e=this;this.shape&&this.shape.remove(),this.shape=this.config.canvas[this.isImage?"addImage":"addCircle"]({"data-index":this.config.index,cx:this.config.cx,cy:this.config.cy},this.config.style,this.config.group),this.shape.addClass("jvectormap-marker jvectormap-element"),this.isImage&&a.$(this.shape.node).on("imageloaded",(function(){e.updateLabelPosition()}))},a.Marker.prototype.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this.map.scale+this.offsets[0]+this.map.transX*this.map.scale+5+(this.isImage?(this.shape.width||0)/2:this.shape.properties.r),y:this.labelY*this.map.scale+this.map.transY*this.map.scale+this.offsets[1]})},a.Marker.prototype.setStyle=function(e,t){var i;a.Marker.parentClass.prototype.setStyle.apply(this,arguments),"r"===e&&this.updateLabelPosition(),(i=!!this.shape.get("image"))!=this.isImage&&(this.isImage=i,this.config.style=a.$.extend(!0,{},this.shape.style),this.createShape())},a.Map=function(e){var t,i=this;if(this.params=a.$.extend(!0,{},a.Map.defaultParams,e),!a.Map.maps[this.params.map])throw new Error("Attempt to use map which was not loaded: "+this.params.map);for(t in this.mapData=a.Map.maps[this.params.map],this.markers={},this.regions={},this.regionsColors={},this.regionsData={},this.container=a.$("<div>").addClass("jvectormap-container"),this.params.container&&this.params.container.append(this.container),this.container.data("mapObject",this),this.defaultWidth=this.mapData.width,this.defaultHeight=this.mapData.height,this.setBackgroundColor(this.params.backgroundColor),this.onResize=function(){i.updateSize()},a.$(window).resize(this.onResize),a.Map.apiEvents)this.params[t]&&this.container.bind(a.Map.apiEvents[t]+".jvectormap",this.params[t]);this.canvas=new a.VectorCanvas(this.container[0],this.width,this.height),this.params.bindTouchEvents&&("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?this.bindContainerTouchEvents():window.MSGesture&&this.bindContainerPointerEvents()),this.bindContainerEvents(),this.bindElementEvents(),this.createTip(),this.params.zoomButtons&&this.bindZoomButtons(),this.createRegions(),this.createMarkers(this.params.markers||{}),this.updateSize(),this.params.focusOn&&("string"==typeof this.params.focusOn?this.params.focusOn={region:this.params.focusOn}:a.$.isArray(this.params.focusOn)&&(this.params.focusOn={regions:this.params.focusOn}),this.setFocus(this.params.focusOn)),this.params.selectedRegions&&this.setSelectedRegions(this.params.selectedRegions),this.params.selectedMarkers&&this.setSelectedMarkers(this.params.selectedMarkers),this.legendCntHorizontal=a.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-h"),this.legendCntVertical=a.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-v"),this.container.append(this.legendCntHorizontal),this.container.append(this.legendCntVertical),this.params.series&&this.createSeries()},a.Map.prototype={transX:0,transY:0,scale:1,baseTransX:0,baseTransY:0,baseScale:1,width:0,height:0,setBackgroundColor:function(e){this.container.css("background-color",e)},resize:function(){var e=this.baseScale;this.width/this.height>this.defaultWidth/this.defaultHeight?(this.baseScale=this.height/this.defaultHeight,this.baseTransX=Math.abs(this.width-this.defaultWidth*this.baseScale)/(2*this.baseScale)):(this.baseScale=this.width/this.defaultWidth,this.baseTransY=Math.abs(this.height-this.defaultHeight*this.baseScale)/(2*this.baseScale)),this.scale*=this.baseScale/e,this.transX*=this.baseScale/e,this.transY*=this.baseScale/e},updateSize:function(){this.width=this.container.width(),this.height=this.container.height(),this.resize(),this.canvas.setSize(this.width,this.height),this.applyTransform()},reset:function(){var e,t;for(e in this.series)for(t=0;t<this.series[e].length;t++)this.series[e][t].clear();this.scale=this.baseScale,this.transX=this.baseTransX,this.transY=this.baseTransY,this.applyTransform()},applyTransform:function(){var e,t,i,n;this.defaultWidth*this.scale<=this.width?(e=(this.width-this.defaultWidth*this.scale)/(2*this.scale),i=(this.width-this.defaultWidth*this.scale)/(2*this.scale)):(e=0,i=(this.width-this.defaultWidth*this.scale)/this.scale),this.defaultHeight*this.scale<=this.height?(t=(this.height-this.defaultHeight*this.scale)/(2*this.scale),n=(this.height-this.defaultHeight*this.scale)/(2*this.scale)):(t=0,n=(this.height-this.defaultHeight*this.scale)/this.scale),this.transY>t?this.transY=t:this.transY<n&&(this.transY=n),this.transX>e?this.transX=e:this.transX<i&&(this.transX=i),this.canvas.applyTransformParams(this.scale,this.transX,this.transY),this.markers&&this.repositionMarkers(),this.repositionLabels(),this.container.trigger("viewportChange",[this.scale/this.baseScale,this.transX,this.transY])},bindContainerEvents:function(){var e,t,i=!1,n=this;this.params.panOnDrag&&(this.container.mousemove((function(s){return i&&(n.transX-=(e-s.pageX)/n.scale,n.transY-=(t-s.pageY)/n.scale,n.applyTransform(),e=s.pageX,t=s.pageY),!1})).mousedown((function(n){return i=!0,e=n.pageX,t=n.pageY,!1})),this.onContainerMouseUp=function(){i=!1},a.$("body").mouseup(this.onContainerMouseUp)),this.params.zoomOnScroll&&this.container.mousewheel((function(e,t,i,s){var r=a.$(n.container).offset(),l=e.pageX-r.left,o=e.pageY-r.top,c=Math.pow(1+n.params.zoomOnScrollSpeed/1e3,e.deltaFactor*e.deltaY);n.tip.hide(),n.setScale(n.scale*c,l,o),e.preventDefault()}))},bindContainerTouchEvents:function(){var e,t,i,n,s,r,l,o=this,c=function(c){var h,d,u,p,f=c.originalEvent.touches;"touchstart"==c.type&&(l=0),1==f.length?(1==l&&(u=o.transX,p=o.transY,o.transX-=(i-f[0].pageX)/o.scale,o.transY-=(n-f[0].pageY)/o.scale,o.applyTransform(),o.tip.hide(),u==o.transX&&p==o.transY||c.preventDefault()),i=f[0].pageX,n=f[0].pageY):2==f.length&&(2==l?(d=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2))/t,o.setScale(e*d,s,r),o.tip.hide(),c.preventDefault()):(h=a.$(o.container).offset(),s=f[0].pageX>f[1].pageX?f[1].pageX+(f[0].pageX-f[1].pageX)/2:f[0].pageX+(f[1].pageX-f[0].pageX)/2,r=f[0].pageY>f[1].pageY?f[1].pageY+(f[0].pageY-f[1].pageY)/2:f[0].pageY+(f[1].pageY-f[0].pageY)/2,s-=h.left,r-=h.top,e=o.scale,t=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2)))),l=f.length};a.$(this.container).bind("touchstart",c),a.$(this.container).bind("touchmove",c)},bindContainerPointerEvents:function(){var e=this,t=new MSGesture,i=this.container[0];t.target=i,i.addEventListener("MSGestureChange",(function(t){var i,n;0==t.translationX&&0==t.translationY||(i=e.transX,n=e.transY,e.transX+=t.translationX/e.scale,e.transY+=t.translationY/e.scale,e.applyTransform(),e.tip.hide(),i==e.transX&&n==e.transY||t.preventDefault()),1!=t.scale&&(e.setScale(e.scale*t.scale,t.offsetX,t.offsetY),e.tip.hide(),t.preventDefault())}),!1),i.addEventListener("pointerdown",(function(e){t.addPointer(e.pointerId)}),!1)},bindElementEvents:function(){var e,t,i,n=this;this.container.mousemove((function(n){Math.abs(e-n.pageX)+Math.abs(t-n.pageY)>2&&(i=!0)})),this.container.delegate("[class~='jvectormap-element']","mouseover mouseout",(function(e){var t=-1===(a.$(this).attr("class").baseVal||a.$(this).attr("class")).indexOf("jvectormap-region")?"marker":"region",i="region"==t?a.$(this).attr("data-code"):a.$(this).attr("data-index"),s="region"==t?n.regions[i].element:n.markers[i].element,r="region"==t?n.mapData.paths[i].name:n.markers[i].config.name||"",l=a.$.Event(t+"TipShow.jvectormap"),o=a.$.Event(t+"Over.jvectormap");"mouseover"==e.type?(n.container.trigger(o,[i]),o.isDefaultPrevented()||s.setHovered(!0),n.tip.text(r),n.container.trigger(l,[n.tip,i]),l.isDefaultPrevented()||(n.tip.show(),n.tipWidth=n.tip.width(),n.tipHeight=n.tip.height())):(s.setHovered(!1),n.tip.hide(),n.container.trigger(t+"Out.jvectormap",[i]))})),this.container.delegate("[class~='jvectormap-element']","mousedown",(function(n){e=n.pageX,t=n.pageY,i=!1})),this.container.delegate("[class~='jvectormap-element']","mouseup",(function(){var e=-1===(a.$(this).attr("class").baseVal?a.$(this).attr("class").baseVal:a.$(this).attr("class")).indexOf("jvectormap-region")?"marker":"region",t="region"==e?a.$(this).attr("data-code"):a.$(this).attr("data-index"),s=a.$.Event(e+"Click.jvectormap"),r="region"==e?n.regions[t].element:n.markers[t].element;i||(n.container.trigger(s,[t]),("region"===e&&n.params.regionsSelectable||"marker"===e&&n.params.markersSelectable)&&(s.isDefaultPrevented()||(n.params[e+"sSelectableOne"]&&n.clearSelected(e+"s"),r.setSelected(!r.isSelected))))}))},bindZoomButtons:function(){var e=this;a.$("<div/>").addClass("jvectormap-zoomin").text("+").appendTo(this.container),a.$("<div/>").addClass("jvectormap-zoomout").html("&#x2212;").appendTo(this.container),this.container.find(".jvectormap-zoomin").click((function(){e.setScale(e.scale*e.params.zoomStep,e.width/2,e.height/2,!1,e.params.zoomAnimate)})),this.container.find(".jvectormap-zoomout").click((function(){e.setScale(e.scale/e.params.zoomStep,e.width/2,e.height/2,!1,e.params.zoomAnimate)}))},createTip:function(){var e=this;a.$("body > .jvectormap-tip").remove(),this.tip=a.$("<div/>").addClass("jvectormap-tip").appendTo(a.$("body")),this.container.mousemove((function(t){var i=t.pageX-15-e.tipWidth,n=t.pageY-15-e.tipHeight;i<5&&(i=t.pageX+15),n<5&&(n=t.pageY+15),e.tip.css({left:i,top:n})}))},setScale:function(e,t,i,n,s){var r,l,o,c,h,d,u,p,f,m=a.$.Event("zoom.jvectormap"),g=this,v=0,y=Math.abs(Math.round(60*(e-this.scale)/Math.max(e,this.scale))),_=new a.$.Deferred;return e>this.params.zoomMax*this.baseScale?e=this.params.zoomMax*this.baseScale:e<this.params.zoomMin*this.baseScale&&(e=this.params.zoomMin*this.baseScale),void 0!==t&&void 0!==i&&(zoomStep=e/this.scale,n?(p=t+this.defaultWidth*(this.width/(this.defaultWidth*e))/2,f=i+this.defaultHeight*(this.height/(this.defaultHeight*e))/2):(p=this.transX-(zoomStep-1)/e*t,f=this.transY-(zoomStep-1)/e*i)),s&&y>0?(l=this.scale,o=(e-l)/y,c=this.transX*this.scale,d=this.transY*this.scale,h=(p*e-c)/y,u=(f*e-d)/y,r=setInterval((function(){v+=1,g.scale=l+o*v,g.transX=(c+h*v)/g.scale,g.transY=(d+u*v)/g.scale,g.applyTransform(),v==y&&(clearInterval(r),g.container.trigger(m,[e/g.baseScale]),_.resolve())}),10)):(this.transX=p,this.transY=f,this.scale=e,this.applyTransform(),this.container.trigger(m,[e/this.baseScale]),_.resolve()),_},setFocus:function(e){var t,i,n,s,r;if((e=e||{}).region?n=[e.region]:e.regions&&(n=e.regions),n){for(s=0;s<n.length;s++)this.regions[n[s]]&&(i=this.regions[n[s]].element.shape.getBBox())&&(t=void 0===t?i:{x:Math.min(t.x,i.x),y:Math.min(t.y,i.y),width:Math.max(t.x+t.width,i.x+i.width)-Math.min(t.x,i.x),height:Math.max(t.y+t.height,i.y+i.height)-Math.min(t.y,i.y)});return this.setScale(Math.min(this.width/t.width,this.height/t.height),-(t.x+t.width/2),-(t.y+t.height/2),!0,e.animate)}return void 0!==e.lat&&void 0!==e.lng?(r=this.latLngToPoint(e.lat,e.lng),e.x=this.transX-r.x/this.scale,e.y=this.transY-r.y/this.scale):e.x&&e.y&&(e.x*=-this.defaultWidth,e.y*=-this.defaultHeight),this.setScale(e.scale*this.baseScale,e.x,e.y,!0,e.animate)},getSelected:function(e){var t,i=[];for(t in this[e])this[e][t].element.isSelected&&i.push(t);return i},getSelectedRegions:function(){return this.getSelected("regions")},getSelectedMarkers:function(){return this.getSelected("markers")},setSelected:function(e,t){var i;if("object"!=typeof t&&(t=[t]),a.$.isArray(t))for(i=0;i<t.length;i++)this[e][t[i]].element.setSelected(!0);else for(i in t)this[e][i].element.setSelected(!!t[i])},setSelectedRegions:function(e){this.setSelected("regions",e)},setSelectedMarkers:function(e){this.setSelected("markers",e)},clearSelected:function(e){var t,i={},n=this.getSelected(e);for(t=0;t<n.length;t++)i[n[t]]=!1;this.setSelected(e,i)},clearSelectedRegions:function(){this.clearSelected("regions")},clearSelectedMarkers:function(){this.clearSelected("markers")},getMapObject:function(){return this},getRegionName:function(e){return this.mapData.paths[e].name},createRegions:function(){var e,t,i=this;for(e in this.regionLabelsGroup=this.regionLabelsGroup||this.canvas.addGroup(),this.mapData.paths)t=new a.Region({map:this,path:this.mapData.paths[e].path,code:e,style:a.$.extend(!0,{},this.params.regionStyle),margin:this.params.regionMargin,labelStyle:a.$.extend(!0,{},this.params.regionLabelStyle),canvas:this.canvas,labelsGroup:this.regionLabelsGroup,label:"vml"!=this.canvas.mode?this.params.labels&&this.params.labels.regions:null}),a.$(t.shape).bind("selected",(function(e,t){i.container.trigger("regionSelected.jvectormap",[a.$(this.node).attr("data-code"),t,i.getSelectedRegions()])})),this.regions[e]={element:t,config:this.mapData.paths[e]}},createMarkers:function(e){var t,i,n,s,r,l=this;if(this.markersGroup=this.markersGroup||this.canvas.addGroup(),this.markerLabelsGroup=this.markerLabelsGroup||this.canvas.addGroup(),a.$.isArray(e))for(r=e.slice(),e={},t=0;t<r.length;t++)e[t]=r[t];for(t in e)s=e[t]instanceof Array?{latLng:e[t]}:e[t],!1!==(n=this.getMarkerPosition(s))&&(i=new a.Marker({map:this,style:a.$.extend(!0,{},this.params.markerStyle,{initial:s.style||{}}),labelStyle:a.$.extend(!0,{},this.params.markerLabelStyle),index:t,cx:n.x,cy:n.y,group:this.markersGroup,canvas:this.canvas,labelsGroup:this.markerLabelsGroup,label:"vml"!=this.canvas.mode?this.params.labels&&this.params.labels.markers:null}),a.$(i.shape).bind("selected",(function(e,t){l.container.trigger("markerSelected.jvectormap",[a.$(this.node).attr("data-index"),t,l.getSelectedMarkers()])})),this.markers[t]&&this.removeMarkers([t]),this.markers[t]={element:i,config:s})},repositionMarkers:function(){var e,t;for(e in this.markers)!1!==(t=this.getMarkerPosition(this.markers[e].config))&&this.markers[e].element.setStyle({cx:t.x,cy:t.y})},repositionLabels:function(){var e;for(e in this.regions)this.regions[e].element.updateLabelPosition();for(e in this.markers)this.markers[e].element.updateLabelPosition()},getMarkerPosition:function(e){return a.Map.maps[this.params.map].projection?this.latLngToPoint.apply(this,e.latLng||[0,0]):{x:e.coords[0]*this.scale+this.transX*this.scale,y:e.coords[1]*this.scale+this.transY*this.scale}},addMarker:function(e,t,i){var n,s,r={},a=[];i=i||[];for(r[e]=t,s=0;s<i.length;s++)n={},void 0!==i[s]&&(n[e]=i[s]),a.push(n);this.addMarkers(r,a)},addMarkers:function(e,t){var i;for(t=t||[],this.createMarkers(e),i=0;i<t.length;i++)this.series.markers[i].setValues(t[i]||{})},removeMarkers:function(e){var t;for(t=0;t<e.length;t++)this.markers[e[t]].element.remove(),delete this.markers[e[t]]},removeAllMarkers:function(){var e,t=[];for(e in this.markers)t.push(e);this.removeMarkers(t)},latLngToPoint:function(e,t){var i,n,s,r=a.Map.maps[this.params.map].projection,l=r.centralMeridian;return t<-180+l&&(t+=360),i=a.Proj[r.type](e,t,l),!!(n=this.getInsetForPoint(i.x,i.y))&&(s=n.bbox,i.x=(i.x-s[0].x)/(s[1].x-s[0].x)*n.width*this.scale,i.y=(i.y-s[0].y)/(s[1].y-s[0].y)*n.height*this.scale,{x:i.x+this.transX*this.scale+n.left*this.scale,y:i.y+this.transY*this.scale+n.top*this.scale})},pointToLatLng:function(e,t){var i,n,s,r,l,o=a.Map.maps[this.params.map].projection,c=o.centralMeridian,h=a.Map.maps[this.params.map].insets;for(i=0;i<h.length;i++)if(s=(n=h[i]).bbox,r=e-(this.transX*this.scale+n.left*this.scale),l=t-(this.transY*this.scale+n.top*this.scale),r=r/(n.width*this.scale)*(s[1].x-s[0].x)+s[0].x,l=l/(n.height*this.scale)*(s[1].y-s[0].y)+s[0].y,r>s[0].x&&r<s[1].x&&l>s[0].y&&l<s[1].y)return a.Proj[o.type+"_inv"](r,-l,c);return!1},getInsetForPoint:function(e,t){var i,n,s=a.Map.maps[this.params.map].insets;for(i=0;i<s.length;i++)if(e>(n=s[i].bbox)[0].x&&e<n[1].x&&t>n[0].y&&t<n[1].y)return s[i]},createSeries:function(){var e,t;for(t in this.series={markers:[],regions:[]},this.params.series)for(e=0;e<this.params.series[t].length;e++)this.series[t][e]=new a.DataSeries(this.params.series[t][e],this[t],this)},remove:function(){this.tip.remove(),this.container.remove(),a.$(window).unbind("resize",this.onResize),a.$("body").unbind("mouseup",this.onContainerMouseUp)}},a.Map.maps={},a.Map.defaultParams={map:"world_mill_en",backgroundColor:"#505050",zoomButtons:!0,zoomOnScroll:!0,zoomOnScrollSpeed:3,panOnDrag:!0,zoomMax:8,zoomMin:1,zoomStep:1.6,zoomAnimate:!0,regionsSelectable:!1,markersSelectable:!1,bindTouchEvents:!0,regionStyle:{initial:{fill:"white","fill-opacity":1,stroke:"none","stroke-width":0,"stroke-opacity":1},hover:{"fill-opacity":.8,cursor:"pointer"},selected:{fill:"yellow"},selectedHover:{}},regionMargin:0,regionLabelStyle:{initial:{"font-family":"Verdana","font-size":"12","font-weight":"bold",cursor:"default",fill:"black"},hover:{cursor:"pointer"}},markerStyle:{initial:{fill:"grey",stroke:"#505050","fill-opacity":1,"stroke-width":1,"stroke-opacity":1,r:5},hover:{stroke:"black","stroke-width":2,cursor:"pointer"},selected:{fill:"blue"},selectedHover:{}},markerLabelStyle:{initial:{"font-family":"Verdana","font-size":"12","font-weight":"bold",cursor:"default",fill:"black"},hover:{cursor:"pointer"}}},a.Map.apiEvents={onRegionTipShow:"regionTipShow",onRegionOver:"regionOver",onRegionOut:"regionOut",onRegionClick:"regionClick",onRegionSelected:"regionSelected",onMarkerTipShow:"markerTipShow",onMarkerOver:"markerOver",onMarkerOut:"markerOut",onMarkerClick:"markerClick",onMarkerSelected:"markerSelected",onViewportChange:"viewportChange"},a.MultiMap=function(e){var t=this;this.maps={},this.params=a.$.extend(!0,{},a.MultiMap.defaultParams,e),this.params.maxLevel=this.params.maxLevel||Number.MAX_VALUE,this.params.main=this.params.main||{},this.params.main.multiMapLevel=0,this.history=[this.addMap(this.params.main.map,this.params.main)],this.defaultProjection=this.history[0].mapData.projection.type,this.mapsLoaded={},this.params.container.css({position:"relative"}),this.backButton=a.$("<div/>").addClass("jvectormap-goback").text("Back").appendTo(this.params.container),this.backButton.hide(),this.backButton.click((function(){t.goBack()})),this.spinner=a.$("<div/>").addClass("jvectormap-spinner").appendTo(this.params.container),this.spinner.hide()},a.MultiMap.prototype={addMap:function(e,t){var i=a.$("<div/>").css({width:"100%",height:"100%"});return this.params.container.append(i),this.maps[e]=new a.Map(a.$.extend(t,{container:i})),this.params.maxLevel>t.multiMapLevel&&this.maps[e].container.on("regionClick.jvectormap",{scope:this},(function(e,t){var i=e.data.scope,n=i.params.mapNameByCode(t,i);i.drillDownPromise&&"pending"===i.drillDownPromise.state()||i.drillDown(n,t)})),this.maps[e]},downloadMap:function(e){var t=this,i=a.$.Deferred();return this.mapsLoaded[e]?i.resolve():a.$.get(this.params.mapUrlByCode(e,this)).then((function(){t.mapsLoaded[e]=!0,i.resolve()}),(function(){i.reject()})),i},drillDown:function(e,t){var i=this.history[this.history.length-1],n=this,s=i.setFocus({region:t,animate:!0}),r=this.downloadMap(t);s.then((function(){"pending"===r.state()&&n.spinner.show()})),r.always((function(){n.spinner.hide()})),this.drillDownPromise=a.$.when(r,s),this.drillDownPromise.then((function(){i.params.container.hide(),n.maps[e]?n.maps[e].params.container.show():n.addMap(e,{map:e,multiMapLevel:i.params.multiMapLevel+1}),n.history.push(n.maps[e]),n.backButton.show()}))},goBack:function(){var e=this.history.pop(),t=this.history[this.history.length-1],i=this;e.setFocus({scale:1,x:.5,y:.5,animate:!0}).then((function(){e.params.container.hide(),t.params.container.show(),t.updateSize(),1===i.history.length&&i.backButton.hide(),t.setFocus({scale:1,x:.5,y:.5,animate:!0})}))}},a.MultiMap.defaultParams={mapNameByCode:function(e,t){return e.toLowerCase()+"_"+t.defaultProjection+"_en"},mapUrlByCode:function(e,t){return"jquery-jvectormap-data-"+e.toLowerCase()+"-"+t.defaultProjection+"-en.js"}}},function(e,t,i){"use strict";var n=i(11),s=function(e){this.routes=e};s.prototype.fire=function(e,t,i){void 0===t&&(t="init");var n=""!==e&&this.routes[e]&&"function"==typeof this.routes[e][t];n&&this.routes[e][t](i)},s.prototype.loadEvents=function(){var e=this;this.fire("common"),document.body.className.toLowerCase().replace(/-/g,"_").split(/\s+/).map(n.a).forEach((function(t){e.fire(t),e.fire(t,"finalize")})),this.fire("common","finalize")},s.prototype.fullLoadEvents=function(){this.fire("common","load")},s.prototype.resizeEvents=function(){this.fire("common","resize")},s.prototype.resizeStartEvents=function(){this.fire("common","resizeStart")},s.prototype.resizeEndEvents=function(){this.fire("common","resizeEnd")},t.a=s},function(e,t,i){"use strict";(function(e){var n=i(6),s=i.n(n),r=i(28),a=(i(84),i(13)),l=i(31),o=i(33),c=i(34),h=i(35),d=i(36),u=i(39),p=i(40),f=i(19),m=i(41),g=i(42),v=i(43),y=i(20),_=i(44),b=i(45),w=i(46),x=i(47),T=i(48),S=i(49),M=i(50),E=i(51),C=i(9),P=i.n(C),k=(i(89),i(52)),A=i.n(k),L=i(53),O=i(54),I=i(55),D=i(22),R=i(56),z=i(57),N=i(58),$=i(8),F=i(59),B=i(60),V=i(61),H=i(62),U=i(63),G=i(64),j=i(65),W=i(10),X={buildingSolutions:new l.a(".theme-building-solutions .mega #menu")},q=document.querySelectorAll(".js-slider-cpt-building"),Y="true"===document.documentElement.getAttribute("data-has-sidebar"),Z=new W.a;t.a={init:function(){var t=document.body,n={isAxians:t.classList.contains("theme-axians"),isActemium:t.classList.contains("theme-actemium"),isOmexom:t.classList.contains("theme-omexom"),isVinciFacilities:t.classList.contains("theme-vinci-facilities"),isCiteos:t.classList.contains("theme-citeos"),isBuildingSolution:t.classList.contains("theme-building-solutions")};X.buildingSolutions.load(),a.a.menuToggle(),U.a.toggleExcerpt('[data-toggle-excerpt="true"]','[data-excerpt-target="true"]'),M.a.init(),new R.a,Z.init();var l=i(5).default,m=i(90).default,g=i(14),C=i(15),k=e("html"),N=e("body"),B=e(".header-global-wrapper"),V=B.children(".header-top-nav"),H=e(".header-global-wrapper .search-toggle"),G=e(".search-container"),j=e(".header-container .wrapper-nav"),W=e(".header-container"),q=e(".burger-toggle");function K(){var t=e(".countries-toggler"),i=t.next(".countries-list");t.removeClass("open"),i.slideUp()}function J(){var t=e(".lang-toggler"),i=t.next(".lang-list");t.removeClass("open"),i.slideUp()}function Q(){G.removeClass("expanded"),G.attr("style",""),H.removeClass("open")}function ee(){q.addClass("open"),j.addClass("expanded"),Te()&&B.addClass("mobile-menu-expanded"),!Te()&&j.hasClass("mega")&&(N.css("overflow","hidden"),W.addClass("mega-opened"))}function te(){q.removeClass("open"),j.removeClass("expanded"),Te()&&(e(".main-nav-wrapper").removeClass("on-second-level on-third-level"),e(".menu__secondary, .sub-menu").removeClass("visible")),Te()&&B.removeClass("mobile-menu-expanded"),!Te()&&j.hasClass("mega")&&(W.removeClass("mega-opened"),N.css("overflow",""))}function ie(t){t.next().removeClass("visible"),e(".header-global-wrapper .nav .menu__center a.open").closest(".menu__center").removeClass("highlighted"),e(".header-global-wrapper .nav .menu__center a.open").removeClass("open")}function ne(){e(".module-tiles").each((function(t,i){var n=e(i),s=n.find(".tiles-container .image").outerHeight();n.css("min-height",s)}))}function se(){e(".module-hero-markers .item").removeClass("active"),e(".module-hero-markers .title").removeClass("open"),e(".module-hero-markers .content").removeAttr("style"),e(".module-hero-markers .bg-item").removeClass("active")}function re(){e(".theme-vinci-facilities .module-hero-markers .item:first-child .title").addClass("open"),e(".theme-vinci-facilities .module-hero-markers .item:first-child .content").slideDown(500),e(".theme-building-solutions .module-hero-markers .item:first-child .title").addClass("open"),e(".theme-building-solutions .module-hero-markers .item:first-child .content").slideDown(500)}if(e(window).on("load",(function(){ne(),e(".gform_wrapper .ginput_container_text").each((function(t,i){e(i).closest(".gfield").addClass("type-text")})),e(".gform_wrapper .ginput_container_email").each((function(t,i){e(i).closest(".gfield").addClass("type-email")})),e(".gform_wrapper .ginput_container_phone").each((function(t,i){e(i).closest(".gfield").addClass("type-phone")})),e(".gform_wrapper .ginput_container_number").each((function(t,i){e(i).closest(".gfield").addClass("type-number")})),e(".gform_wrapper .ginput_container_radio").each((function(t,i){e(i).closest(".gfield").addClass("type-radio")})),e(".gform_wrapper .ginput_container_checkbox").each((function(t,i){e(i).closest(".gfield").addClass("type-checkbox")})),e(".gform_wrapper .ginput_container_password").each((function(t,i){e(i).closest(".gfield").addClass("type-password")})),e(".gform_wrapper .ginput_container_fileupload").each((function(t,i){e(i).closest(".gfield").addClass("type-file")})),e(".gform_wrapper .ginput_container_textarea").each((function(t,i){e(i).closest(".gfield").addClass("type-textarea")})),e(".gform_wrapper .ginput_complex, .gform_wrapper .clear-multi").each((function(t,i){e(i).closest(".gfield").addClass("type-complex")})),e(".gform_wrapper .ginput_container_name").each((function(t,i){e(i).closest(".gfield").addClass("type-name")})),e(".gform_wrapper .ginput_container_address").each((function(t,i){e(i).closest(".gfield").addClass("type-address")})),e(".gform_wrapper .clear-multi").each((function(t,i){e(i).closest(".gfield").addClass("type-time-date")})),e(".gform_wrapper .gfield:not(.address) .gfield_select").each((function(t,i){e(i).closest(".gfield").addClass("type-select")})),e(".gform_wrapper .ginput_container_date").each((function(t,i){e(i).closest(".gfield").addClass("type-date")})),e(".gform_wrapper .ginput_container_list").each((function(t,i){e(i).closest(".gfield").addClass("type-list")})),e(".gform_wrapper .ginput_recaptcha").each((function(t,i){e(i).closest(".gfield").addClass("recaptcha"),e(i).closest(".gform_wrapper").addClass("has-recaptcha")}))})),e("div[data-required-cookie]").each((function(){if("yes"==e.cookie(e(this).attr("data-required-cookie"))){e(this).find(".cookie-not-accepted").remove();var t=e(this).find("[data-src-rgpd]");t.length>0&&t.each((function(t,i){e(i).is("script")?(e.getScript(e(i).attr("data-src-rgpd")),e(i).remove()):e(i).attr("src",e(i).attr("data-src-rgpd"))}))}else e(this).find(".cookie-accepted").remove();e(this).removeClass("hidden")})),e(window).on("scroll",(function(){e(window).scrollTop()>100?N.hasClass("header-reduced")||(N.addClass("header-reduced"),Te()||V.slideUp()):N.hasClass("header-reduced")&&(Te()||V.slideDown(),N.removeClass("header-reduced"))})),e(window).on("resize",(function(){Pe(),ne()})),e("body").on("click",(function(t){e(t.target).hasClass("range-dropdown")||e(t.target).hasClass("radius-toggler")||e(t.target).closest(".range-dropdown").length||e(".range-dropdown").stop().hide()})),e("body").on("click",'a[href^="#"]:not(.js-smooth-scroll)',(function(t){t.preventDefault();var i=e(this).attr("href");if(i){var n=i.split("#").pop(),s=e("#"+n);s.length>=1&&we(s)}})),e(document).ready((function(){if(window.location.hash){var t=e(window.location.hash);t.length>=1&&we(t)}})),e("body").on("click",".countries-toggler",(function(t){var i,n;t.preventDefault(),J(),Q(),te(),e(this).hasClass("open")?K():(i=e(t.currentTarget),n=i.next(".countries-list"),i.addClass("open"),n.slideDown())})),e("body").on("click",".close-countries-list",(function(e){e.preventDefault(),K()})),e("body").on("click",".lang-toggler",(function(t){var i,n;t.preventDefault(),K(),Q(),te(),e(this).hasClass("open")?J():(i=e(t.currentTarget),n=i.next(".lang-list"),i.addClass("open"),n.slideDown())})),e("body").on("click",".close-lang-list",(function(e){e.preventDefault(),J()})),e("body").on("click",".search-toggle",(function(t){t.preventDefault(),K(),J(),te(),e(this).hasClass("open")?Q():(H.addClass("open"),G.addClass("expanded"))})),e("body").on("click","#search-container .close-search",(function(e){e.preventDefault(),Q()})),e("body").on("click","#search-container .back-search",(function(e){e.preventDefault(),Q(),q.hasClass("open")||ee()})),e("body").on("click",".burger-toggle",(function(e){e.preventDefault(),K(),J(),Q(),q.hasClass("open")?te():ee(),X.buildingSolutions.update()})),e("body").on("click",(function(){e(".countries-toggler + .countries-list").is(":visible")&&(e(".wrapper-countries:hover").length||K()),e(".lang-toggler + .lang-list").is(":visible")&&(e(".wrapper-lang:hover").length||J())})),e("body").on("click",".js-footer-toggler",(function(t){t.preventDefault();var i=e(this),n=i.data("target"),s=i.next(),r=e("#"+n).parent();i.hasClass("open")?(i.removeClass("open"),k.hasClass("mobile")||e("body").hasClass("theme-axians")&&e(window).width()<900?(s.slideUp(),s.removeClass("expanded")):(r.slideUp(),r.removeClass("expanded"))):(e(".js-footer-toggler.open").removeClass("open"),e(".footer-global-wrapper .expanded").removeClass("expanded").slideUp(),i.addClass("open"),k.hasClass("mobile")||e("body").hasClass("theme-axians")&&e(window).width()<900?(s.slideDown(),s.addClass("expanded")):(r.slideDown(),r.addClass("expanded")))})),e(".header-container .wrapper-nav .nav ul").each((function(t,i){var n;n=e(i).hasClass("menu__center")?e(i).closest(".menu__secondary").prev().text():e(i).prev().text(),0===e(i).children().length?i.classList.add("no-children"):e(i).prepend('\n                        <li class="item-btn-back">\n                            <a class="btn-back js-btn-back" href="#">\n                                <span class="icon icon-chevron-left"></span>\n                                <span class="callback-menu-title">'+n+"</span>\n                            </a>\n                        </li>\n                    ")})),e("body").on("click",".header-container .wrapper-nav .nav .js-btn-goto",(function(t){t.preventDefault();var i=e(this).parent().next(),n=e(this).closest(".main-nav-wrapper");i.addClass("visible"),n.hasClass("on-second-level")?(n.removeClass("on-second-level"),n.addClass("on-third-level")):n.addClass("on-second-level")})),e("body").on("click",".header-container .wrapper-nav .nav .js-btn-back",(function(t){var i;t.preventDefault();var n=e(this).closest(".main-nav-wrapper");n.hasClass("on-third-level")?(i=e(this).closest(".sub-menu"),n.removeClass("on-third-level"),n.addClass("on-second-level")):(i=e(this).closest(".menu__secondary"),n.removeClass("on-second-level"));setTimeout((function(){i.removeClass("visible")}),300)})),e("body").on("mouseenter",".header-container .wrapper-nav.classic .nav > li > a",(function(){if(!Te()){var t=e(this).next();e(".wrapper-nav.classic .menu__secondary.visible").length&&!t.hasClass("visible")?e(".wrapper-nav.classic .menu__secondary.visible").slideUp(500,(function(){e(".wrapper-nav.classic .menu__secondary.visible").removeClass("visible"),t.stop().slideDown(),t.addClass("visible"),t.prev().addClass("active")})):(e("body").addClass("classic-main-nav-is-expanded"),t.stop().slideDown(),t.addClass("visible"),t.prev().addClass("active"))}})),e("body").on("mouseleave",".header-container .wrapper-nav.classic .nav > li > a, .header-container .wrapper-nav.classic .nav .menu__secondary",(function(){var t;Te()||(e(this).hasClass("menu__secondary")?(t=e(this).prev()).is(":hover")||(setTimeout((function(){t.removeClass("visible")}),100),e(this).prev().removeClass("active"),e(this).stop().slideUp(),e("body").removeClass("classic-main-nav-is-expanded")):(t=e(this).next()).is(":hover")||(t.prev().removeClass("active"),t.removeClass("visible"),t.stop().slideUp(),e("body").removeClass("classic-main-nav-is-expanded")))})),Te()||(e(".header-global-wrapper .classic .nav .menu__center > li").on("mouseenter",(function(){var t,i=e(".header-global-wrapper .classic .nav .menu__center a.open");i.length?e(this).find("a").hasClass("open")||ie(i):(t=e(this).find("a")).next().length&&(t.next().addClass("visible"),t.addClass("open"),t.closest(".menu__center").addClass("highlighted"))})),e(".header-global-wrapper .classic .nav .menu__center > li").on("mouseleave",(function(){e(this).find("a").next().is(":hover")||ie(e(this).find("a"))})),e(".header-global-wrapper .classic .nav .menu__center > li > a + .sub-menu").on("mouseleave",(function(){e(this).prev().is(":hover")||ie(e(this).prev())}))),Te()||e(".wrapper-nav.classic .main-nav-wrapper .nav > .menu-item-has-children").each((function(t,i){e(i).find(".menu__secondary").css({display:"block",opacity:0,visibility:"hidden"});var n=e(i).find(".menu__center"),s=[];if(n.find(".menu-item-has-children").each((function(t,i){var n=e(i).find(".sub-menu").outerHeight();s.push(n)})),s.length>0){var r=Math.max.apply(null,s);n.css("min-height",r)}e(i).find(".menu__secondary").attr({style:""})})),e("body").on("click",".js-cookie-btn-toggler",(function(){e(this).toggleClass("open"),e(".js-cookie-container-expand").slideToggle()})),e("body").on("click",".down-scroller",(function(t){t.preventDefault();var i=e(this).closest(".module-hero"),n=e("html").hasClass("mobile")?50:60,s=i.offset().top+i.outerHeight()-n;return e("html,body").stop().animate({scrollTop:s},1e3),!1})),e("body").on("click",".module-image-ctas .js-btn-action",(function(t){t.preventDefault(),e(this).closest(".item").toggleClass("open")})),e("body").on("click",".js-reveal-video",(function(t){t.preventDefault();var i=e(this),n=e(this).next(),s=e(this).attr("data-iframe-src")+"&enablejsapi=1&autoplay=1";n.attr("src",s),setTimeout((function(){i.fadeOut()}),1e3)})),e(".js-accordion-toggler").on("click",(function(t){var i=this;if(t.preventDefault(),e(this).hasClass("js-markers-toggler")&&(k.hasClass("desktop")||k.hasClass("large")))return!1;var n=e(this).closest(".js-accordion-container").find(".js-accordion-toggler.open");e(this).hasClass("open")?(e(this).removeClass("open"),e(this).next(".js-accordion-expand").slideUp(500)):n.length?(n.removeClass("open"),n.next(".js-accordion-expand").slideUp(500,(function(){e(i).addClass("open"),e(i).next(".js-accordion-expand").slideDown(500)}))):(e(this).addClass("open"),e(this).next(".js-accordion-expand").slideDown(300))})),N.hasClass("wp-admin")||e("#wpadminbar").prependTo(".header-global-wrapper"),e(".header-top-nav").length&&N.addClass("with-header-top-nav"),re(),s.a.register("screen and (min-width: 1200px)",{match:function(){se()},unmatch:function(){se(),setTimeout((function(){re()}),300)}}),r.a.init({animatedClassName:"aos-animate",delay:0,duration:400,easing:"ease-in-out-quad",once:!0,mirror:!1,anchorPlacement:"top-bottom"}),e(".js-segments-masonry:not([data-js-segments-masonry])").length&&e(".js-segments-masonry:not([data-js-segments-masonry])").each((function(t,i){var n;n=e(i).hasClass("col-3")?P()({container:".js-segments-masonry",waitForImages:!0,margin:{x:40,y:40},columns:3,breakAt:{900:{margin:{x:30,y:30},columns:2},600:{margin:{x:0,y:0},columns:1},420:{margin:{x:0,y:0},columns:1}}}):P()({container:".js-segments-masonry",waitForImages:!0,margin:{x:40,y:40},columns:4,breakAt:{1024:{margin:{x:30,y:30},columns:3},900:{margin:{x:25,y:30},columns:2},600:{margin:{x:0,y:0},columns:1},420:{margin:{x:0,y:0},columns:1}}}),setTimeout((function(){n.recalculate(!0,!0)}),200)})),e(".module-portfolio a.expand").magnificPopup({gallery:{enabled:!0,preload:[0,1]},callbacks:{elementParse:function(e){e.el[0].className.includes("video")?(e.type="iframe",e.iframe={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"}}}):(e.type="image",e.image={tError:'<a href="%url%">The image #%curr%</a> could not be loaded.'})},markupParse:function(t,i,n){var s="";n.el.attr("data-link-url")&&(s='<a class="caption-link" href="'+n.el.attr("data-link-url")+'" target="'+n.el.attr("data-link-target")+'">'+n.el.attr("data-link-title")+"</a>");var r='<h6 class="caption-title">'+n.el.attr("title")+'</h6><div  class="caption-excerpt">'+n.el.attr('data-excerpt-target="true"')+"</div>"+s;setTimeout((function(){e(".mfp-wrap .mfp-content .caption-wrapper").length?(e(".mfp-wrap .mfp-content .caption-wrapper").appendTo(e(".mfp-wrap .mfp-content")),e(".mfp-wrap .mfp-content .caption-wrapper").html(r)):e(".mfp-wrap .mfp-content").append('<div class="caption-wrapper">'+r+"</div>")}),500)}}}),e("#archives-filters-toggler").length){var ae=e("#archives-filters-toggler").parent().next(".filters-list").find(".current").text();e("#archives-filters-toggler").text(ae);var le=e(".filters-toggler-wrapper"),oe=e(".filters-list");e("#archives-filters-toggler").on("click",(function(){le.hasClass("is-open")?(oe.slideUp(),le.removeClass("is-open")):(oe.slideDown(),le.addClass("is-open"))}))}e(".module-search-near .search-near-form select.select").select2({dropdownCssClass:"search-near-select-dropdown",minimumResultsForSearch:1/0}),e("body").on("click","#search-near-radius-toggler",(function(t){t.preventDefault();var i=e(this),n=i.next();n.is(":visible")?(i.removeClass("open"),n.stop().hide()):(i.addClass("open"),n.stop().show())}));var ce=document.getElementById("search-near-filter-radius");if(e("#search-near-filter-radius").length&&(e("#search-near-radius-toggler").text("< 20km"),e("#search-near-range-choice").text("< 20km"),e("#search-near-filter-radius").data("value","-20"),A.a.create(ce,{start:3,step:1,connect:"lower",range:{min:1,max:4}}),ce.noUiSlider.on("change",(function(t){var i,n,s;switch(Math.round(t).toString()){case"1":i="< 5km",n="< 5km",s="-5";break;case"2":i="< 10km",n="< 10km",s="-10";break;case"3":i="< 20km",n="< 20km",s="-20";break;case"4":i="> 20km",n="> 20km",s="+20"}e("#search-near-radius-toggler").text(i),e("#search-near-range-choice").text(n),e("#search-near-filter-radius").data("value",s)}))),new D.b(".js-archives-filters-toggler"),new D.a(".js_toggle-checkbox",".checkbox-wrapper",".field-wrapper.checkbox"),e("body").on("click",".js_reset-checkbox",(function(){e(this).closest(".checkbox-wrapper").find(".field-checkbox").removeAttr("checked")})),e("#contact-fab-cta").length&&(e("#contact-fab-cta").on("click",(function(t){t.preventDefault(),e("#contact-fab-content").removeClass("out"),setTimeout((function(){e("#contact-fab-content").addClass("expanded")}),200)})),e("#js-contact-fab-close").on("click",(function(){e("#contact-fab-content").removeClass("expanded"),setTimeout((function(){e("#contact-fab-content").addClass("out")}),600)}))),setTimeout((function(){e(".js-slider-articles").each((function(t,i){e(this).siblings(".swiper-options-container").find(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).siblings(".swiper-options-container").find(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),e(this).siblings(".swiper-options-container").find(".swiper-pagination").addClass("swiper-pagination-"+(t+1));var n={loop:!0,speed:500,slidesPerView:"auto",spaceBetween:20,navigation:{nextEl:".slider-articles-control.swiper-button-next-"+(t+1),prevEl:".slider-articles-control.swiper-button-prev-"+(t+1)},pagination:{el:".slider-articles-control.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{600:{spaceBetween:40}}};if(e("body").hasClass("theme-building-solutions")&&(n={loop:!0,speed:500,slidesPerView:"auto",spaceBetween:20,navigation:{nextEl:".slider-articles-control.swiper-button-next-"+(t+1),prevEl:".slider-articles-control.swiper-button-prev-"+(t+1)},pagination:{el:".slider-articles-control.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{600:{spaceBetween:20},900:{spaceBetween:40}}}),!0===e(i).data("swiper-autoplay")){var s=parseFloat(e(i).data("swiper-autoplay-delay"));n.autoplay={delay:1e3*s,disableOnInteraction:!1}}var r=null;e(i).parents(".module-slider-articles").hasClass("no-slider")||(r=new l(i,n)),e(i).data("swiper",r),e(i).on("swiper:before-content-changed",(function(){e(i).parent().animate({opacity:0},500)})),e(i).on("swiper:content-changed",(function(){r&&r.destroy(),e(i).find(".swiper-wrapper .swiper-slide").length>e(i).data("slider-limit")?(e(i).parents(".module-slider-articles").removeClass("no-slider"),setTimeout((function(){r=new l(i,n),setTimeout((function(){e(i).parent().animate({opacity:1},500)}),500)}),500)):(e(i).parents(".module-slider-articles").addClass("no-slider"),setTimeout((function(){e(i).parent().animate({opacity:1},500)}),500))}))}))}),200),setTimeout((function(){e(".js-slider-images").each((function(t,i){var n,s=!1,r=40;if(e("body").hasClass("theme-omexom")&&(r=0,r=0,s=!0),e(this).siblings(".swiper-arrows-wrapper").children(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).siblings(".swiper-arrows-wrapper").children(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),e(this).siblings(".swiper-pagination").addClass("swiper-pagination-"+(t+1)),n=e("body").hasClass("theme-axians")?{loop:!0,speed:1200,slidesPerView:"auto",centeredSlides:!0,parallax:!1,effect:"fade",navigation:{nextEl:".slider-images-control.swiper-button-next-"+(t+1),prevEl:".slider-images-control.swiper-button-prev-"+(t+1)},pagination:{el:".slider-images-control.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{900:{spaceBetween:40},1025:{parallax:!1,spaceBetween:40}}}:e("body").hasClass("theme-vinci-facilities")||e("body").hasClass("theme-building-solutions")?{loop:!0,speed:1200,slidesPerView:"auto",centeredSlides:!0,parallax:!0,navigation:{nextEl:".slider-images-control.swiper-button-next-"+(t+1),prevEl:".slider-images-control.swiper-button-prev-"+(t+1)},pagination:{el:".slider-images-control.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{900:{spaceBetween:0},1025:{spaceBetween:0}}}:{loop:!0,speed:1200,slidesPerView:"auto",centeredSlides:!0,parallax:s,navigation:{nextEl:".slider-images-control.swiper-button-next-"+(t+1),prevEl:".slider-images-control.swiper-button-prev-"+(t+1)},pagination:{el:".slider-images-control.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{900:{spaceBetween:r},1025:{parallax:!1,spaceBetween:40}}},!0===e(i).data("swiper-autoplay")){var a=parseFloat(e(i).data("swiper-autoplay-delay"));n.autoplay={delay:1e3*a,disableOnInteraction:!1}}new l(i,n)}))}),200),e(".module-related-posts .list-wrapper .item").length>4&&N.hasClass("with-sidebar")){var he={variableWidth:!0,prevArrow:$.a.prev,nextArrow:$.a.next,arrows:!0,dots:!0,dotsClass:"slider-pagination"};e(".module-related-posts .list-wrapper").each((function(t,i){s.a.register("screen and (min-width: 900px)",{match:function(){e(i).not(".slick-initialized").slick(he)},unmatch:function(){e(i).slick("unslick")}})}))}setTimeout((function(){e(".js-slider-inserts").each((function(t,i){var n=e(this),s=this.closest(".module-inserts").classList.contains("full-width");n.next().children(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),n.next().children(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),n.siblings(".swiper-pagination").addClass("swiper-pagination-"+(t+1));var r=e(this).find(".slide").length>4,a=15;e("body").hasClass("theme-vinci-facilities")?a=15:e("body").hasClass("theme-building-solutions")&&(a=24);var o=e("body").hasClass("theme-vinci-facilities")?0:40,c={loop:!0,slidesPerView:"auto",spaceBetween:a,navigation:{nextEl:".slider-inserts-arrow.swiper-button-next-"+(t+1),prevEl:".slider-inserts-arrow.swiper-button-prev-"+(t+1)},pagination:{el:".slider-inserts-pagination.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}};if(e("body").hasClass("theme-building-solutions")?(c.slidesPerView=1,Y?(r=e(this).find(".slide").length>3,c.breakpoints={0:{slidesPerView:1,spaceBetween:20},600:{slidesPerView:2,spaceBetween:24},900:{slidesPerView:2,spaceBetween:40}}):c.breakpoints={0:{slidesPerView:1,spaceBetween:20},600:{slidesPerView:2,spaceBetween:24},900:{slidesPerView:3,spaceBetween:o}},s&&(c.centeredSlides=!0,c.slidesPerView="auto",c.spaceBetween=20,c.breakpoints={0:{slidesPerView:"auto",spaceBetween:20},600:{slidesPerView:"auto",spaceBetween:24},900:{slidesPerView:"auto",spaceBetween:40}})):c.breakpoints={900:{slidesPerView:4,spaceBetween:o}},r)new l(i,c);else{if(e("body").hasClass("theme-building-solutions"))return void(window.matchMedia("(min-width: 899px)").matches&&e(this).find(".slide").length>2&&Y?new l(i,c):n.closest(".module-inserts").addClass("--no-slider"));window.matchMedia("(max-width: 899px)").matches?new l(i,c):n.closest(".module-inserts").addClass("--no-slider")}}))}),200),setTimeout((function(){if(n.isAxians)return!1;e(".js-slider-cpt").each((function(t,i){var n,s=i.closest(".module-slider-cpt");if(s.isFullwidth=s.classList.contains("full-width"),s.isNextToSidebar="true"===document.documentElement.getAttribute("data-has-sidebar"),e(this).find(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).find(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),e(this).find(".swiper-pagination").addClass("swiper-pagination-"+(t+1)),e("body").hasClass("theme-axians"))(n={loop:!0,speed:600,slidesPerView:"auto",spaceBetween:0,navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)},pagination:{el:".slider-cpt-pagination.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}}).breakpoints={601:{slidesPerView:"auto",centeredSlides:!0},1025:{centeredSlides:!1,slidesPerView:"auto"}};else{var r;r=N.hasClass("with-sidebar")?e(this).closest(".module-slider-cpt").hasClass("fullwidth")?{400:{spaceBetween:20},900:{slidesPerView:2,spaceBetween:20},1200:{centeredSlides:!0,slidesPerView:"auto",spaceBetween:40}}:{400:{spaceBetween:20,slidesPerView:"auto",centeredSlides:!1},1024:{centeredSlides:!1,slidesPerView:2,spaceBetween:30}}:e(this).closest(".module-slider-cpt").hasClass("fullwidth")?{400:{spaceBetween:20},1024:{centeredSlides:!0,slidesPerView:"auto",spaceBetween:40}}:{325:{spaceBetween:20},600:{centeredSlides:!1,slidesPerView:"auto",spaceBetween:20},1024:{slidesPerView:"auto",spaceBetween:40}},r=e("body").hasClass("theme-building-solutions")?e(this).closest(".module-slider-cpt").hasClass("full-width")?{400:{spaceBetween:20},900:{slidesPerView:2,spaceBetween:20},1200:{centeredSlides:!0,slidesPerView:"auto",spaceBetween:40}}:{400:{spaceBetween:20,slidesPerView:"auto",centeredSlides:!1},900:{centeredSlides:!1,slidesPerView:3,spaceBetween:20},1200:{centeredSlides:!1,slidesPerView:3,spaceBetween:30}}:e(this).closest(".module-slider-cpt").hasClass("fullwidth")?{400:{spaceBetween:20},1024:{centeredSlides:!0,slidesPerView:"auto",spaceBetween:40}}:{325:{spaceBetween:20},600:{centeredSlides:!1,slidesPerView:"auto",spaceBetween:20},1024:{slidesPerView:"auto",spaceBetween:40}};e("body").hasClass("theme-building-solutions")?r={0:{centeredSlides:!0,spaceBetween:20,slidesPerView:"auto"},700:{centeredSlides:!!s.isFullwidth,spaceBetween:20,slidesPerView:"auto"},900:{centeredSlides:!!s.isFullwidth,spaceBetween:s.isNextToSidebar?20:40,slidesPerView:2},1200:{centeredSlides:!!s.isFullwidth,spaceBetween:40,slidesPerView:s.isFullwidth?"auto":s.isNextToSidebar?2:3}}:e(this).closest(".module-slider-cpt").hasClass("fullwidth")?(r={400:{spaceBetween:20,centeredSlides:!0},1024:{centeredSlides:!0,slidesPerView:"auto",spaceBetween:40}},e(this).closest(".module-slider-cpt").hasClass("fullwidth")&&e(this).closest(".module-slider-cpt").parents(".with-sidebar").length>0&&(r={400:{spaceBetween:20},1024:{centeredSlides:!0,slidesPerView:"auto",spaceBetween:37}})):!e(this).closest(".module-slider-cpt").hasClass("fullwidth")&&e(this).closest(".module-slider-cpt").parents(".with-sidebar").length>0&&(r={400:{spaceBetween:20},1024:{centeredSlides:!1,slidesPerView:"auto",spaceBetween:40}}),n={loop:!0,speed:600,slidesPerView:"auto",spaceBetween:13,parallax:!0,centeredSlides:!0,breakpoints:r,navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)},pagination:{el:".slider-cpt-pagination.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}}}if(!0===e(i).data("swiper-autoplay")){var a=parseFloat(e(i).data("swiper-autoplay-delay"));n.autoplay={delay:1e3*a,disableOnInteraction:!1}}var o=e(i).find(".slide").length;e("body").hasClass("theme-axians")?new l(i,n):e(window).width()>=900&&o>=3?N.hasClass("with-sidebar")||o>=4?new l(i,n):(e(i).removeClass("swp-loader"),e(i).addClass("swiper-disable")):e(window).width()>=600&&o>=3||e(window).width()<600&&o>=2?new l(i,n):(e(i).removeClass("swp-loader"),e(i).addClass("swiper-disable"))}))}),200),setTimeout((function(){e(".module-social-push.--is-slider .pushs-wrapper.swiper").each((function(t,i){var n;e(this).find(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).find(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),e(this).find(".swiper-pagination").addClass("swiper-pagination-"+(t+1)),n=N.hasClass("with-sidebar")?{loop:!0,slidesPerView:"auto",spaceBetween:20,breakpoints:{600:{slidesPerView:2},900:{slidesPerView:2,spaceBetween:30},1200:{slidesPerView:2,spaceBetween:40}},navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)},pagination:{el:".module-social-push.--is-slider .pushs-wrapper.swiper .swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}}:{loop:!0,slidesPerView:"auto",spaceBetween:20,breakpoints:{600:{slidesPerView:2},900:{slidesPerView:3,spaceBetween:40},1275:{slidesPerView:"auto",spaceBetween:40}},navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)},pagination:{el:".module-social-push.--is-slider .pushs-wrapper.swiper .swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}},new l(i,n)}))}),200),setTimeout((function(){e(".js-slider-expertise").each((function(t,i){e(this).find(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).find(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),new l(i,{loop:!0,speed:600,slidesPerView:1,navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)},on:{slideChangeTransitionStart:function(){var t=parseInt(e(i).find(".swiper-slide-active").attr("data-swiper-slide-index")),n=t==e(i).find(".swiper-slide:not(.swiper-slide-duplicate)").length-1?0:t+1,s=e(i).find('.swiper-slide[data-swiper-slide-index="'+n+'"]:not(.swiper-slide-duplicate)').find(".slide-title").text();e(i).find(".next-slide-title").fadeOut(300,(function(){e(this).text(s).delay(200).fadeIn(300)}))}}})}))}),200),setTimeout((function(){document.querySelectorAll(".js-testimonial-slider").forEach((function(e){e.querySelector(".testimonial-slide__photo")&&e.setAttribute("data-testimonial-has-photo",!0),e.controlsIsOutside=n.isActemium||n.isOmexom||n.isVinciFacilities||n.isCiteos,e.autoplayIsEnabled="true"===e.getAttribute("data-swiper-autoplay");var t={prevEl:e.controlsIsOutside?e.parentElement.querySelector(".swp-arrow.--prev"):e.querySelector(".swiper-button-prev"),nextEl:e.controlsIsOutside?e.parentElement.querySelector(".swp-arrow.--next"):e.querySelector(".swiper-button-next")},i=e.controlsIsOutside?e.parentElement.querySelector(".swp-pagination"):e.querySelector(".swiper-pagination"),s={autoplay:void 0,loop:!0,speed:800,slidesPerView:1,parallax:!0,navigation:{nextEl:t.nextEl,prevEl:t.prevEl},pagination:{el:i,type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{320:{spaceBetween:60},1200:{spaceBetween:130}}};e.autoplayIsEnabled&&(e.autoplayDelay=parseFloat(e.getAttribute("data-swiper-autoplay-delay")),s.autoplay={delay:1e3*e.autoplayDelay,disableOnInteraction:!1});var r=new l(e,s);e.addEventListener("mouseenter",(function(){e.autoplayIsEnabled&&r.autoplay.stop()})),e.addEventListener("mouseleave",(function(){e.autoplayIsEnabled&&r.autoplay.start()})),n.isAxians&&r.on("slideChange",(function(){var e=this;if(i){var t=this.realIndex<9?"0"+(this.realIndex+1):""+(this.realIndex+1);i.setAttribute("data-current-index",t),this.el.querySelectorAll(".swiper-pagination-bullet").forEach((function(t,i){t.classList.toggle("swiper-pagination-bullet-before",i<e.realIndex)}))}}))}))}),200),e(".js-3d").each((function(e,t){new d.a(t,e)})),setTimeout((function(){e(".slider-list-segments").each((function(t,i){e(this).find(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).find(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),new l(i,{loop:!0,speed:500,centeredSlides:!0,slidesPerView:"auto",spaceBetween:20,navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)}})}))}),200),setTimeout((function(){e(".js-slider-banner").each((function(t,i){e(this).find(".swiper-options-container .swiper-pagination").addClass("swiper-pagination-"+(t+1));var n={loop:!0,speed:500,pagination:{el:".slider-banner-control.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}};if(!0===e(i).data("swiper-autoplay")){var s=parseFloat(e(i).data("swiper-autoplay-delay"));n.autoplay={delay:1e3*s,disableOnInteraction:!1}}var r=new l(i,n);e(i).data("swiper",r)}))}),200);var de="screen and (max-width: 599px)",ue="screen and (min-width: 600px) and (max-width: 899px)",pe="screen and (min-width: 900px) and (max-width: 1023px)",fe="screen and (min-width: 1024px) and (max-width: 1199px)",me="screen and (min-width: 1200px)";function ge(){setTimeout((function(){var t,i=!!window.matchMedia(de).matches,n=!!window.matchMedia(ue).matches,s=!!window.matchMedia(pe).matches,r=!!window.matchMedia(fe).matches,a=!!window.matchMedia(me).matches;N.hasClass("with-sidebar")?!0===i?t=2:(!0===n||!0===s||!0===r||!0===a)&&(t=3):!0===i?t=2:!0===n?t=4:!0===s?t=5:!0===r?t=6:!0===a&&(t=7),e(".slider-logos").each((function(i,n){var s=e(this);if(s.find(".slide").length>=t){s.removeClass("no-slider"),s.siblings(".swiper-button-next").addClass("swiper-button-next-"+(i+1)),s.siblings(".swiper-button-prev").addClass("swiper-button-prev-"+(i+1)),s.siblings(".swiper-pagination").addClass("swiper-pagination-"+(i+1));var r={loop:!0,speed:500,slidesPerView:1,spaceBetween:0,parallax:!0,navigation:{nextEl:".slider-logos-arrow.swiper-button-next-"+(i+1),prevEl:".slider-logos-arrow.swiper-button-prev-"+(i+1)},pagination:{el:".slider-logos-pagination.swiper-pagination-"+(i+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:N.hasClass("with-sidebar")?{600:{slidesPerView:3,spaceBetween:16},900:{slidesPerView:3,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:80}}:{600:{slidesPerView:3,spaceBetween:16},900:{slidesPerView:4,spaceBetween:16},1024:{slidesPerView:5,spaceBetween:40},1200:{slidesPerView:6,spaceBetween:40}}};if(!0===e(n).data("swiper-autoplay")){var a=parseFloat(e(n).data("swiper-autoplay-delay"));r.autoplay={delay:1e3*a,disableOnInteraction:!1}}new l(n,r)}else s.closest(".module-slider-logo").addClass("no-slider")}))}),200)}if(n.buildingSolutions&&s.a.register(de,(function(){ge()})).register(ue,(function(){ge()})).register(pe,(function(){ge()})).register(fe,(function(){ge()})).register(me,(function(){ge()})),setTimeout((function(){e(".js-slider-cards").each((function(t,i){e(this).siblings(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).siblings(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),e(this).siblings(".swiper-pagination").addClass("swiper-pagination-"+(t+1));var n={loop:!0,speed:500,slidesPerView:1,spaceBetween:0,navigation:{nextEl:".slider-cards-arrow.swiper-button-next-"+(t+1),prevEl:".slider-cards-arrow.swiper-button-prev-"+(t+1)},pagination:{el:".slider-cards-pagination.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:N.hasClass("with-sidebar")?{600:{slidesPerView:2,spaceBetween:25},900:{slidesPerView:2,spaceBetween:25},1200:{slidesPerView:2,spaceBetween:40}}:{600:{slidesPerView:2,spaceBetween:25},900:{slidesPerView:3,spaceBetween:25}}};if(!0===e(i).data("swiper-autoplay")){var s=parseFloat(e(i).data("swiper-autoplay-delay"));n.autoplay={delay:1e3*s,disableOnInteraction:!1}}var r=new l(i,n);e(i).data("swiper",r)}))}),300),setTimeout((function(){e(".js-slider-banner").each((function(t,i){e(this).siblings(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).siblings(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1)),e(this).siblings(".swiper-pagination").addClass("swiper-pagination-"+(t+1));var n={loop:!0,speed:500,slidesPerView:1,spaceBetween:0,navigation:{nextEl:".slider-banner-arrow.swiper-button-next-"+(t+1),prevEl:".slider-banner-arrow.swiper-button-prev-"+(t+1)},pagination:{el:".slider-banner-pagination.swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"}};if(!0===e(i).data("swiper-autoplay")){var s=parseFloat(e(i).data("swiper-autoplay-delay"));n.autoplay={delay:1e3*s,disableOnInteraction:!1}}var r=new l(i,n);e(i).data("swiper",r)}))}),300),setTimeout((function(){e(".js-slider-timeline-horizontal").each((function(t,i){e(this).siblings(".swiper-button-next").addClass("swiper-button-next-"+(t+1)),e(this).siblings(".swiper-button-prev").addClass("swiper-button-prev-"+(t+1));var n=new l(i,{loop:!0,slidesPerView:"auto",spaceBetween:30,breakpoints:{600:{slidesPerView:2},900:{slidesPerView:3}},navigation:{nextEl:".timeline-horizontal-swiper-button.swiper-button-next-"+(t+1),prevEl:".timeline-horizontal-swiper-button.swiper-button-prev-"+(t+1)}});e(i).data("swiper",n)}))}),200),new z.a,e(".js-stickybit-anchors").length){var ve=B.outerHeight(!0);if(e(window).width()>480)var ye=m(".js-stickybit-anchors",{useStickyClasses:!0,useFixed:!0,stickyBitStickyOffset:ve});e(window).on("scroll",(function(){ve=B.outerHeight(!0),ye.update({stickyBitStickyOffset:ve})})),e(window).on("resize",(function(){e(".js-stickybit-parent").css("padding-top",e(".js-stickybit-anchors").outerHeight(!0))})),e(".js-stickybit-parent").css("padding-top",e(".js-stickybit-anchors").outerHeight(!0))}var _e=e("#single-implantation-anchors-container");function be(){var t=e(window).scrollTop(),i=e(".single-mini-header").offset().top+e(".single-mini-header").outerHeight()-_e.outerHeight()-B.outerHeight();t>i&&!_e.hasClass("is-sticky")?_e.addClass("is-sticky"):t<=i&&_e.hasClass("is-sticky")&&_e.removeClass("is-sticky")}function we(t){var i=e(t).offset().top-e(".header-global-wrapper").outerHeight()-30;return e("html,body").stop().animate({scrollTop:i},1e3),!1}_e.length&&(be(),e(window).on("scroll",(function(){be()})),e(window).on("resize",(function(){be()}))),e(".js-toggle-filters-offers").on("click",(function(){e(this).toggleClass("active").next(".field-list-wrapper").slideToggle(400)})),e(".js-open-job-filters").on("click",(function(){e(".post-type-archive-formation").length>0&&e(".js-open-job-filters").hide(),e(".jobs-archive-filters").fadeIn(400),e("body").addClass("jobs-archive-filters-active")})),e(".js-close-job-filters").on("click",(function(){e(".post-type-archive-formation").length>0&&e(".js-open-job-filters").show(),e(".jobs-archive-filters").fadeOut(400),e("body").removeClass("jobs-archive-filters-active")})),e("body").on("click",".js-smooth-scroll",(function(t){t.preventDefault();var i=e(this).attr("href"),n=e(i).offset().top-e(".header-global-wrapper").outerHeight();return e("html,body").stop().animate({scrollTop:n},1e3),!1})),e(".js-truncate").each((function(){var t=e(this).text().length,i=e(this).data("truncate");if(t>i){var n=e(this).text().substring(0,i-3)+"...";e(this).text(n)}})),e(".js-equal-height").matchHeight({byRow:!0,property:"min-height"});var xe={match:function(){e("html").addClass("isMobile")},unmatch:function(){e("html").removeClass("isMobile")}};function Te(){return!!e("html").hasClass("isMobile")}s.a.register("screen and (max-width: 1299px)",xe);for(var Se=["screen and (max-width: 600px)","screen and (min-width: 600px) and (max-width: 900px)","screen and (min-width: 900px) and (max-width: 1200px)","screen and (min-width: 1200px) and (max-width: 1800px)","screen and (min-width: 1800px)"],Me=["mobile","portrait","landscape","desktop","large"],Ee=[{match:function(){e("html").addClass(Me[0])},unmatch:function(){e("html").removeClass(Me[0])}},{match:function(){e("html").addClass(Me[1])},unmatch:function(){e("html").removeClass(Me[1])}},{match:function(){e("html").addClass(Me[2])},unmatch:function(){e("html").removeClass(Me[2])}},{match:function(){e("html").addClass(Me[3])},unmatch:function(){e("html").removeClass(Me[3])}},{match:function(){e("html").addClass(Me[4])},unmatch:function(){e("html").removeClass(Me[4])}}],Ce=0;Ce<Se.length;Ce++)s.a.register(Se[Ce],Ee[Ce]);function Pe(){e(".media-container .video-wrapper").each((function(){var t=e(this).closest(".media-container");t.outerHeight(!0)/t.outerWidth(!0)>=.56?e(this).css({width:1.7777*t.outerHeight(!0),height:"100%"}):e(this).css({height:.5625*t.outerWidth(!0),width:"100%"})}))}function ke(){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?(e(".video-wrapper").hide(),e(".onlymobile").show()):(e(".video-wrapper").show(),e(".onlymobile").hide())}if(e("body.single-segment").each((function(){new E.a(e(this))})),new I.a,e(".js-single-download").each((function(){new S.a(e(this))})),e(".search-form").each((function(){new c.a(e(this))})),e(".module-keys").each((function(t,i){new h.a(e(i),t)})),e(".module-slider-articles").each((function(){new u.a(e(this))})),n.buildingSolutions&&e(".module-slider-videos").each((function(t,i){new f.a(e(i),t)})),n.buildingSolutions&&e(".module-slider-videos").each((function(t,i){new f.a(e(i),t)})),e(".module-tae").each((function(t,i){new v.a(e(i))})),e(".module-related-posts-grid:not(.module-ascent-contents)").each((function(t,i){new y.a(e(i),"related")})),e(".module-ascent-contents").each((function(t,i){new y.a(e(i),"postlist")})),e(".module-slider-event").each((function(e,t){new p.a(t,e)})),e(".module-implantations").each((function(){new _.a(e(this))})),e(".module-implantations-sites").each((function(){new b.a(e(this))})),e(".module-form-section").each((function(){new w.a(e(this))})),e(".module-search-near").each((function(t,i){new x.a(e(i),t)})),e(".module-innovations").each((function(){new T.a(e(this))})),e(".map-container").each((function(){new o.a(e(this))})),e(".post-type-archive-event").each((function(){new L.a(e(this))})),e(".post-type-archive-job_offer").each((function(){new O.a(e(this))})),e(".post-type-archive-use_case").each((function(){new F.a(e(this))})),Pe(),ke(),e(window).on("resize",ke),e("body").hasClass("theme-actemium")&&e(window).width()>1024){var Ae=new g.Controller({globalSceneOptions:{triggerHook:"onEnter",offset:250,reverse:!0}});e(".module-page-header").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".bg-section-content-container"),0,{opacity:1})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".element"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-hero").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".bg-section-content-container"),0,{opacity:1})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".bg-section-content-container > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-implantations-sites").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".heading"),.6,{opacity:0,y:120})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".map-container"),.6,{opacity:0,y:120,delay:.1})).addTo(Ae)})),e(".module-slider-cpt").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),.6,{opacity:0,y:120})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),.6,{opacity:0,y:120,delay:.2})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".cpt-container"),.6,{opacity:0,y:120,delay:.3})).addTo(Ae)})),e(".module-implantations").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".left-block > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-tiles").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".content > *"),.6,{opacity:0,y:120},.1)).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".image"),1.2,{opacity:0})).addTo(Ae)})),e(".module-keys").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-keys .kpis-container").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".kpis-wrapper"),.6,{opacity:0,y:120})).addTo(Ae)})),e(".module-inserts").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".shell > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-slider-images").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-slider-images .shell-slider").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".slider-global-container"),.6,{opacity:0,y:120})).addTo(Ae)})),e(".module-slider-articles").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).children(),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-pictos").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".block-pictos"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-hero-markers").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-hero-markers .markers-wrapper").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".item"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-accordion-section").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),.6,{opacity:0,y:120})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),.6,{opacity:0,y:120,delay:.1})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".js-accordion-container"),.6,{opacity:0,y:120,delay:.2})).addTo(Ae)})),e(".module-related-posts").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-related-posts .list-wrapper").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".item"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-segments-list").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),.6,{opacity:0,y:120})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".item"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-video").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-video .shell-iframe-video").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),.6,{opacity:0,y:120})).addTo(Ae)})),e(".module-contact-block").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".title"),.6,{opacity:0,y:120})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".content"),.6,{opacity:0,y:120,delay:.1})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".links-wrapper"),.6,{opacity:0,y:120,delay:.2})).addTo(Ae)})),e(".module-form-section").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-form-section .gform_wrapper").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".gfield"),.6,{opacity:0,y:120,delay:.2},.1)).addTo(Ae)})),e(".module-image-ctas").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".content-title"),.6,{opacity:0,y:120})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".content-description"),.6,{opacity:0,y:120,delay:.1})).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".list"),.6,{opacity:0,y:120,delay:.2})).addTo(Ae)})),e(".module-social-push").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".container > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)})),e(".module-testimonial").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".shell"),.6,{opacity:0,y:120})).addTo(Ae)})),e(".module-text").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".content"),.6,{opacity:0,y:120,delay:.2})).addTo(Ae)})),e(".module-timeline.--vertical").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.staggerFrom(e(i).find(".section-heading > *"),.6,{opacity:0,y:120},.1)).addTo(Ae)}))}if((e("body").hasClass("theme-vinci-facilities")||e("body").hasClass("theme-building-solutions"))&&e(window).width()>1024){var Le=new g.Controller({globalSceneOptions:{triggerHook:"onEnter",offset:50,reverse:!0}});e(".module-page-header").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".media-container .image"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".bg-section-content-container"),.9,{opacity:0,y:25},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".title"),1.1,{opacity:0,y:25},.8)).addTo(Le)})),e(".single-mini-header").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".section-image"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".heading-wrapper"),.9,{opacity:1},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".article-title"),1.1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-hero").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".media-container .image"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".bg-section-content-container"),.9,{opacity:0,y:25},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".title"),1.1,{opacity:0,y:25},.8)).addTo(Le)})),e(".header-archive").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".header-archive__picture"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".header-archive__content"),.9,{opacity:1},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".header-archive__title"),1.1,{opacity:0,y:25},.8)).addTo(Le)})),e(".single-article-header").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".section-image"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".cpt"),1.1,{opacity:1},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".metas-wrapper"),1.1,{opacity:1},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".article-title"),1.1,{opacity:1,y:0},.8)).addTo(Le)})),e(".template-expertise .expertise-head").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".bg-image"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".bg-section-content-container"),.9,{opacity:0,y:25},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".illustration"),.9,{opacity:1},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),1.1,{opacity:0,y:25},.8)).addTo(Le)})),e(".expertise-section").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:50},.8)).addTo(Le)})),e(".single-segment-header").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.to(e(i).find(".image-wrapper"),3,{scale:1})).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".bg-section-content-container"),.9,{opacity:0,y:25},.5)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".title"),1.1,{opacity:0,y:25},.8)).addTo(Le)})),e(".anchors-container").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0},.8)).addTo(Le)})),e(".single-download .main-global-wrapper").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:50},.8)).addTo(Le)})),e(".archive-listing, .archive .list").each((function(t,i){e(i).find(".item").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{delay:.2*t,opacity:0},.5)).addTo(Le)}))})),e(".module-tiles").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:50},.8)).addTo(Le)})),e(".module-image-ctas").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".content"),1,{opacity:0,y:50},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".list"),1,{opacity:0,y:50},.8)).addTo(Le)})),e(".module-contact-block").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-inserts").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".link-minimal-arrow"),1,{opacity:0,y:25},.8)).addTo(Le),e(i).find(".swiper-slide").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{delay:.5*t,opacity:0},.5)).addTo(Le)}))})),e(".module-hero-markers").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".markers-wrapper"),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-slider-articles").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-social-push").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-keys").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".link"),1,{opacity:0,y:25},.8)).addTo(Le),e(i).find(".swiper-slide").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{delay:.5*t,opacity:0},.5)).addTo(Le)}))})),e(".module-related-posts").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),1,{opacity:0,y:25},.8)).addTo(Le),e(i).find(".item").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{delay:.2*t,opacity:0},.5)).addTo(Le)}))})),e(".module-implantations").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-text").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-timeline.--vertical").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-title"),1,{opacity:0,y:25},.8)).addTo(Le),new g.Scene({triggerElement:i}).setTween(C.from(e(i).find(".section-subtitle"),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-accordion-section").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-form-section").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-implantations-sites").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-slider-cpt").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-testimonial").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-slider-images").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-segments-list").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)})),e(".module-video").each((function(t,i){new g.Scene({triggerElement:i}).setTween(C.from(e(i),1,{opacity:0,y:25},.8)).addTo(Le)}))}},finalize:function(){new N.a,a.a.set_menu_toggle_inner_minWidth(),q.length>0&&q.forEach((function(e){new j.a(e).init()}))},load:function(){G.a.masonry(),$.b.buildingSolutions||(B.a.init(),m.a.init(),g.a.init()),V.a.init(),H.a.init()},resizeEnd:function(){X.buildingSolutions.update(),a.a.set_menu_toggle_inner_minWidth(),Z.update()}}}).call(this,i(2))},function(e,t,i){"use strict";var n=i(29),s=i.n(n),r=i(17),a=i.n(r),l=function(){};function o(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),i=Array.prototype.slice.call(e.removedNodes);if(function e(t){var i=void 0,n=void 0;for(i=0;i<t.length;i+=1){if((n=t[i]).dataset&&n.dataset.aos)return!0;if(n.children&&e(n.children))return!0}return!1}(t.concat(i)))return l()}))}function c(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var h={isSupported:function(){return!!c()},ready:function(e,t){var i=window.document,n=new(c())(o);l=t,n.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},d=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},p=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,f=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,g=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function v(){return navigator.userAgent||navigator.vendor||window.opera||""}var y=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return d(e,[{key:"phone",value:function(){var e=v();return!(!p.test(e)&&!f.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=v();return!(!m.test(e)&&!g.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),e}()),_=function(e,t){var i=void 0;return y.ie11()?(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,{detail:t}):i=new CustomEvent(e,{detail:t}),document.dispatchEvent(i)},b=function(e){return e.forEach((function(e,t){return function(e,t){var i=e.options,n=e.position,s=e.node,r=(e.data,function(){e.animated&&(!function(e,t){t&&t.forEach((function(t){return e.classList.remove(t)}))}(s,i.animatedClassNames),_("aos:out",s),e.options.id&&_("aos:in:"+e.options.id,s),e.animated=!1)});i.mirror&&t>=n.out&&!i.once?r():t>=n.in?e.animated||(function(e,t){t&&t.forEach((function(t){return e.classList.add(t)}))}(s,i.animatedClassNames),_("aos:in",s),e.options.id&&_("aos:in:"+e.options.id,s),e.animated=!0):e.animated&&!i.once&&r()}(e,window.pageYOffset)}))},w=function(e){for(var t=0,i=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),i+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:i,left:t}},x=function(e,t,i){var n=e.getAttribute("data-aos-"+t);if(void 0!==n){if("true"===n)return!0;if("false"===n)return!1}return n||i},T=function(e,t,i){var n=window.innerHeight,s=x(e,"anchor"),r=x(e,"anchor-placement"),a=Number(x(e,"offset",r?0:t)),l=r||i,o=e;s&&document.querySelectorAll(s)&&(o=document.querySelectorAll(s)[0]);var c=w(o).top-n;switch(l){case"top-bottom":break;case"center-bottom":c+=o.offsetHeight/2;break;case"bottom-bottom":c+=o.offsetHeight;break;case"top-center":c+=n/2;break;case"center-center":c+=n/2+o.offsetHeight/2;break;case"bottom-center":c+=n/2+o.offsetHeight;break;case"top-top":c+=n;break;case"bottom-top":c+=n+o.offsetHeight;break;case"center-top":c+=n+o.offsetHeight/2}return c+a},S=function(e,t){window.innerHeight;var i=x(e,"anchor"),n=x(e,"offset",t),s=e;return i&&document.querySelectorAll(i)&&(s=document.querySelectorAll(i)[0]),w(s).top+s.offsetHeight-n},M=function(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,(function(e){return{node:e}}))},E=[],C=!1,P={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},k=function(){return document.all&&!window.atob},A=function(){return E=function(e,t){return e.forEach((function(e,i){var n=x(e.node,"mirror",t.mirror),s=x(e.node,"once",t.once),r=x(e.node,"id"),a=t.useClassNames&&e.node.getAttribute("data-aos"),l=[t.animatedClassName].concat(a?a.split(" "):[]).filter((function(e){return"string"==typeof e}));t.initClassName&&e.node.classList.add(t.initClassName),e.position={in:T(e.node,t.offset,t.anchorPlacement),out:n&&S(e.node,t.offset)},e.options={once:s,mirror:n,animatedClassNames:l,id:r}})),e}(E,P),b(E),window.addEventListener("scroll",s()((function(){b(E,P.once)}),P.throttleDelay)),E},L=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(C=!0),C&&A()},O=function(){if(E=M(),D(P.disable)||k())return I();L()},I=function(){E.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay"),P.initClassName&&e.node.classList.remove(P.initClassName),P.animatedClassName&&e.node.classList.remove(P.animatedClassName)}))},D=function(e){return!0===e||"mobile"===e&&y.mobile()||"phone"===e&&y.phone()||"tablet"===e&&y.tablet()||"function"==typeof e&&!0===e()},R={init:function(e){return P=u(P,e),E=M(),P.disableMutationObserver||h.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),P.disableMutationObserver=!0),P.disableMutationObserver||h.ready("[data-aos]",O),D(P.disable)||k()?I():(document.querySelector("body").setAttribute("data-aos-easing",P.easing),document.querySelector("body").setAttribute("data-aos-duration",P.duration),document.querySelector("body").setAttribute("data-aos-delay",P.delay),-1===["DOMContentLoaded","load"].indexOf(P.startEvent)?document.addEventListener(P.startEvent,(function(){L(!0)})):window.addEventListener("load",(function(){L(!0)})),"DOMContentLoaded"===P.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&L(!0),window.addEventListener("resize",a()(L,P.debounceDelay,!0)),window.addEventListener("orientationchange",a()(L,P.debounceDelay,!0)),E)},refresh:L,refreshHard:O};t.a=R},function(e,t,i){(function(t){var i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,o="object"==typeof self&&self&&self.Object===Object&&self,c=l||o||Function("return this")(),h=Object.prototype.toString,d=Math.max,u=Math.min,p=function(){return c.Date.now()};function f(e,t,i){var n,s,r,a,l,o,c=0,h=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var i=n,r=s;return n=s=void 0,c=t,a=e.apply(r,i)}function _(e){return c=e,l=setTimeout(w,t),h?y(e):a}function b(e){var i=e-o;return void 0===o||i>=t||i<0||f&&e-c>=r}function w(){var e=p();if(b(e))return x(e);l=setTimeout(w,function(e){var i=t-(e-o);return f?u(i,r-(e-c)):i}(e))}function x(e){return l=void 0,v&&n?y(e):(n=s=void 0,a)}function T(){var e=p(),i=b(e);if(n=arguments,s=this,o=e,i){if(void 0===l)return _(o);if(f)return l=setTimeout(w,t),y(o)}return void 0===l&&(l=setTimeout(w,t)),a}return t=g(t)||0,m(i)&&(h=!!i.leading,r=(f="maxWait"in i)?d(g(i.maxWait)||0,t):r,v="trailing"in i?!!i.trailing:v),T.cancel=function(){void 0!==l&&clearTimeout(l),c=0,n=o=s=l=void 0},T.flush=function(){return void 0===l?a:x(p())},T}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var l=s.test(e);return l||r.test(e)?a(e.slice(2),l?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,i){var n=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return m(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),f(e,t,{leading:n,maxWait:t,trailing:s})}}).call(this,i(7))},function(e,t,i){"use strict";function n(e){return e.reduce((function(e,t){return Math.max(e,t)}),-1/0)}i.d(t,"a",(function(){return n}))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(32),s=i.n(n),r=function(e){this.megamenu=document.querySelector(e),this.stamped=!1,this.msnry=null};r.prototype.load=function(){return!!this.megamenu&&(!(this.megamenu.children.length<4)&&(this.children=Array.from(this.megamenu.children),this.children.forEach((function(e){return e.classList.add("stamp")})),void(window.innerWidth>=1300?this.masonry():this.update())))},r.prototype.masonry=function(){this.msnry=new s.a(this.megamenu,{itemSelector:".stamp",columnWidth:".stamp",percentPosition:!0}),this.stamped=!0},r.prototype.update=function(){if(!this.megamenu)return!1;if(e(window).width()>=1300)this.msnry?this.msnry.stamp():this.masonry();else{if(this.stamped=!1,!this.msnry)return!1;this.msnry.destroy(),this.msnry=null}}}).call(this,i(2))},function(e,t,i){var n,s,r;
/*!
 * Masonry v4.2.2
 * Cascading grid layout library
 * https://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */window,s=[i(85),i(16)],void 0===(r="function"==typeof(n=function(e,t){"use strict";var i=e.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._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},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],i=e&&e.element;this.columnWidth=i&&t(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,s=this.containerWidth+this.gutter,r=s/n,a=n-s%n;r=Math[a&&a<1?"round":"floor"](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,i=t(e);this.containerWidth=i&&i.innerWidth},n._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,i=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,e),s={x:this.columnWidth*n.col,y:n.y},r=n.y+e.size.outerHeight,a=i+n.col,l=n.col;l<a;l++)this.colYs[l]=r;return s},n._getTopColPosition=function(e){var t=this._getTopColGroup(e),i=Math.min.apply(Math,t);return{col:t.indexOf(i),y:i}},n._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},n._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var i=this.colYs.slice(e,e+t);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols;i=e>1&&i+e>this.cols?0:i;var n=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=n?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},n._manageStamp=function(e){var i=t(e),n=this._getElementOffset(e),s=this._getOption("originLeft")?n.left:n.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var l=Math.floor(r/this.columnWidth);l-=r%this.columnWidth?0:1,l=Math.min(this.cols-1,l);for(var o=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=a;c<=l;c++)this.colYs[c]=Math.max(o,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},i})?n.apply(t,s):n)||(e.exports=r)},function(e,t,i){"use strict";(function(e,n){i.d(t,"a",(function(){return o}));var s=i(18),r=i.n(s),a=i(8),l=i(5).default,o=function(e){this.$mapContainer=e,this.$map=this.$mapContainer.find("#gmap"),this.$mapPlaces=this.$mapContainer.find("#map-places .map-place"),this.titles=document.querySelectorAll("#map-places .map-place"),this.map=null,this.bounds=null,this.markersArray=[],this.markersInBoundsArray=[],this.markersInClusterArray=[],this.withClusterer=!0,this.markerClusterer=null,self.prevInfowindow=!1,this.clusterStyle=[],this.clusterGrid=30,this.iconCluster=this.$map.data("cluster-img"),this.defaultLat=48.8587017,this.defaultLng=2.2771916,this.defaultZoom=7,this.maxZoom=13,this.allowScrollWheel=!1,this.googleMapConfig=window._googleMapConfig,this.googleMap=this.$map.get(0),void 0!==this.$map.data("allow-scroll-wheel")&&(this.allowScrollWheel=this.$map.data("allow-scroll-wheel")),void 0!==this.$map[0]&&this.init()};o.prototype.init=function(){var t=this;this.getPinMarkerTitles(),e(window).on("app.component.gmap.load",(function(){t.loadMap()})).on("app.component.gmap.reload",(function(){t.reloadPoints()})),e(".mobile-infowindow .js-close").on("click",(function(t){t.preventDefault(),e(".mobile-infowindow").removeClass("active")}))},o.prototype.loadMap=function(){var e=this;e.bounds=new google.maps.LatLngBounds,e.map=new google.maps.Map(e.$map[0],{center:{lat:e.defaultLat,lng:e.defaultLng},zoom:e.defaultZoom,scrollwheel:e.allowScrollWheel,mapTypeControl:!1,streetViewControl:!1,panControl:!1,scaleControl:!1,fullscreenControl:!1,zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_CENTER},styles:e.googleMapConfig}),e.clusterStyle=[{url:e.iconCluster,width:40,height:40,textColor:"#000",anchorIcon:[40,20]}],google.maps.event.addListener(e.map,"click",(function(){e.prevInfowindow&&e.prevInfowindow.close()})),google.maps.event.addListener(e.map,"idle",(function(){setTimeout((function(){e.setPinMarkerClass()}),100)})),e.havePoints()?(e.setPoints(),e.withClusterer&&(e.markerClusterer=new r.a(e.map,e.markersInClusterArray,{styles:e.clusterStyle,gridSize:e.clusterGrid}),e.markerClusterer.setMap(e.map)),e.fitBounds()):e.withClusterer&&(e.markerClusterer=new r.a(e.map,e.markersInClusterArray,{styles:e.clusterStyle,gridSize:e.clusterGrid}),e.markerClusterer.setMap(e.map))},o.prototype.havePoints=function(){return this.$mapPlaces.length>0},o.prototype.fitBounds=function(){if(this.markersInBoundsArray.length>0){if(this.map.fitBounds(this.bounds),1==this.markersInBoundsArray.length){var e=this;google.maps.event.addListenerOnce(this.map,"idle",(function(){e.map.setZoom(e.maxZoom)}))}}else this.map.setCenter(new google.maps.LatLng(this.defaultLat,this.defaultLng)),this.map.setZoom(this.defaultZoom)},o.prototype.clearBounds=function(){this.bounds=new google.maps.LatLngBounds},o.prototype.clearMarkers=function(){for(var e=0;e<this.markersArray.length;e++)this.markersArray[e].setMap(null);this.markersArray=[],this.markersInClusterArray=[],this.markersInBoundsArray=[],this.withClusterer&&this.markerClusterer.clearMarkers()},o.prototype.reloadPoints=function(){this.clearMarkers(),this.clearBounds(),this.setPoints(),this.withClusterer&&(this.markerClusterer.addMarkers(this.markersInClusterArray),this.markerClusterer.setMap(this.map)),this.fitBounds(),setTimeout((function(){return self.setPinMarkerClass()}),500)},o.prototype.setPoints=function(){this.setPlacesPoints()},o.prototype.setPlacesPoints=function(){var t=this;t.$mapPlaces=t.$mapContainer.find("#map-places .map-place"),t.$mapPlaces.each((function(){var i=e(this),n=[i.data("coord-lat"),i.data("coord-lng")],s=i.data("in-bounds"),r=i.data("in-cluster");if(2==n.length){var o=parseFloat(n[0]),c=parseFloat(n[1]),h=i.data("map-icon"),d="";h={path:h,fillColor:a.b.buildingSolutions?"#fff":i.data("map-icon-color"),fillOpacity:1,anchor:new google.maps.Point(0,0),strokeWeight:0,scale:1},1==i.data("multiple")&&(a.b.buildingSolutions||(h=t.iconCluster),d={text:""+i.data("count"),className:"cluster-count",fontsize:"12px"});var u=i.data("title");if(0!=o&&0!=c){var p={lat:o,lng:c},f=new google.maps.Marker({icon:h,map:t.map,zIndex:99999,labelOrigin:new google.maps.Point(0,-20),position:p,title:u,label:d});f.addListener("click",(function(){e(".gm-style-iw").remove(),t.prevInfowindow&&t.prevInfowindow.close();var n=null;if(parseInt(e(window).width())>=550)(n=new google.maps.InfoWindow({content:'<div class="map-info item" data-marker="'+i.data("marker")+'">'+i.html()+"</div>",pixelOffset:new google.maps.Size(220,130)})).open(t.map,f),t.prevInfowindow=n,google.maps.event.addListener(n,"domready",(function(){if(e(".gm-style-iw").addClass("gm-style-iw-container"),n.setOptions({pixelOffset:new google.maps.Size(220,e(".gm-style-iw").height()/2+22)}),1==i.data("multiple")){var t=new l(".map-info.item .places-wrapper",{noSwiping:parseInt(e(window).width())>=550,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{slideChange:function(){var i=t.realIndex+1;i<10&&(i="0"+i),e(".map-info.item .places-wrapper .js-current-slide").html(i)}}});e(".places-wrapper").data("swiper",t)}}));else if(e(".mobile-infowindow .content").html('<div class="map-info item" data-marker="'+i.data("marker")+'">'+i.html()+"</div>"),e(".mobile-infowindow").addClass("active"),n.setOptions({pixelOffset:new google.maps.Size(220,e(".map-info").height()/2+22)}),e("body").hasClass("theme-axians")&&e(".map-info.item .places-wrapper .swiper-slide").length>1){var s=new l(".map-info.item .places-wrapper",{noSwiping:parseInt(e(window).width())>=550,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{slideChange:function(){var t=s.realIndex+1;t<10&&(t="0"+t),e(".map-info.item .places-wrapper .js-current-slide").html(t)}}});e(".places-wrapper").data("swiper",s)}})),t.markersArray.push(f),void 0!==r&&0==r||t.markersInClusterArray.push(f);var m=t.markersArray.length-1;i.attr("data-marker",m),i.attr("id","place-"+m),void 0!==s&&0==s||(t.bounds.extend(f.position),t.markersInBoundsArray.push(f))}}})),n(window).trigger("app.component.gmap.place-loaded")},o.prototype.resetInfoWindow=function(){parseInt(e(window).width())>=550?this.prevInfowindow&&this.prevInfowindow.close():e(".mobile-infowindow").removeClass("active")},o.prototype.findMarkerCluster=function(t){var i=!1,n=this.markerClusterer.getClusters();return e.each(n,(function(n,s){var r=s.getMarkers();r.length>1&&e.each(r,(function(e,n){t===n&&(i=s)}))})),i},o.prototype.getPinMarkerTitles=function(){var e=this;this.pinTitles=[],this.titles.forEach((function(t){var i={label:t.getAttribute("data-title").trim(),color:t.getAttribute("data-color"),count:t.getAttribute("data-count")};e.pinTitles.push(i)}))},o.prototype.getClusterTitle=function(e){var t=e.getAttribute("title");return""===t.trim()?"":t},o.prototype.getAllPinMarkerElements=function(){if(0===this.pinTitles.length)return[];var e=[];return this.pinTitles.forEach((function(t){var i={nodeElement:document.querySelector('.map-container div[title="'+t.label+'"]'),color:t.color,count:t.count};i.nodeElement&&e.push(i)})),e},o.prototype.getAllCurrentClustersElements=function(){var e={all:this.googleMap.querySelectorAll(".cluster"),current:[]};return e.all.forEach((function(t){""!==t.textContent.trim()&&e.current.push(t)})),e.current},o.prototype.setPinMarkerClass=function(){var e=this,t=this.getAllPinMarkerElements(),i=this.getAllCurrentClustersElements();t.forEach((function(e){e.nodeElement.classList.add("pin-marker"),e.nodeElement.style.color=e.color,e.count>1&&e.nodeElement.setAttribute("data-count",e.count)})),i.forEach((function(t){t.classList.add("pin-marker"),t.title=e.getClusterTitle(t),t.color&&(t.nodeElement.style.color=t.color)}))}}).call(this,i(2),i(2))},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n=function(e){this.$form=e,this.$input=this.$form.find(".search-field"),this.$searchError=this.$form.parent().find(".search-error"),this.isValidForm=!1,this.init()};n.prototype.init=function(){var e=this;e.$form.on("submit",(function(t){e.isValidForm||(t.preventDefault(),e.$input.val().length>=2?(e.isValidForm=!0,e.$form.submit()):e.$searchError.show())}))}},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s}));var n=i(5).default,s=function(e,t){this.index=t,this.$block=e,this.$slider=this.$block.find(".js-slider-kpis"),this.totalSlides=this.$block.find(".item").length,this.init()};s.prototype.init=function(){var t=this;setTimeout((function(){var i,s;if(e("body").hasClass("theme-axians")?window.matchMedia("(max-width: 1199px)").matches&&window.matchMedia("(min-width: 600px)").matches:window.matchMedia("(max-width: 1199px)").matches)if(e("body").hasClass("theme-vinci-facilities")||e("body").hasClass("theme-building-solutions")?i=15:e("body").hasClass("theme-actemium")?i=20:e("body").hasClass("theme-omexom")?i=10:e("body").hasClass("theme-citeos")&&(i=25),window.matchMedia("(max-width: 599px)").matches?s=2:window.matchMedia("(min-width: 600px)").matches&&window.matchMedia("(max-width: 899px)").matches?s=3:window.matchMedia("(min-width: 900px)").matches&&(s=4),t.totalSlides>=s){t.$slider.find(".swiper-pagination").addClass("swiper-pagination-"+(t.index+1));var r={loop:!0,speed:800,centeredSlides:!1,slidesPerView:"auto",spaceBetween:i,parallax:!0,pagination:{el:".kpis-pagination.swiper-pagination-"+(t.index+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{600:{spaceBetween:20}}};new n(t.$slider,r)}else t.$slider.addClass("--no-slider")}),200)}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return a}));var n=i(0),s=i(38),r=i(37),a=function(e,t){this.index=t,this.block=e,this.camera=null,this.scene=null,this.controls=null,this.renderer=null,this.init()};a.prototype.init=function(){var t=this;if(void 0!==t.block){var i=t.block,a=0!==e(".sidebar").length;t.camera=new n.T(45,e(t.block).width()/c(),.1,20),t.camera.position.set(3,3,3),t.scene=new n.bb,t.scene.background=new n.g(14606046),t.scene.fog=new n.l(10526880,2,20);var l=new n.o(16777215,4473924);l.position.set(0,20,0),t.scene.add(l);var o=new n.h(16777215);o.position.set(0,20,10),o.castShadow=!0,o.shadow.camera.top=18,o.shadow.camera.bottom=-10,o.shadow.camera.left=-12,o.shadow.camera.right=12,t.scene.add(o),(new r.a).load(e(t.block).attr("data-model"),(function(e){t.scene.add(e.scene),e.animations,e.scene,e.scenes,e.cameras,e.asset})),t.renderer=new n.qb({antialias:!0}),t.renderer.setPixelRatio(window.devicePixelRatio),t.renderer.setSize(e(t.block).width(),c()),t.renderer.shadowMap.enabled=!0,i.appendChild(t.renderer.domElement),t.controls=new s.a(t.camera,t.renderer.domElement),t.controls.target.set(0,0,0),t.controls.update(),t.renderer.render(t.scene,t.camera),window.addEventListener("resize",(function(){t.camera.aspect=e(t.block).width()/c(),t.camera.updateProjectionMatrix(),t.renderer.setSize(e(t.block).width(),c())})),function e(){requestAnimationFrame(e),t.controls.update(),t.renderer.render(t.scene,t.camera)}()}function c(){var t=e(window).width(),i={mobile:200,portrait:408,desktop:a?462:562};return t>=600&&t<=1199?i.portrait:t>=1200?i.desktop:i.mobile}}}).call(this,i(2))},function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i(0);class s extends n.C{constructor(e){super(e),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register((function(e){return new h(e)})),this.register((function(e){return new v(e)})),this.register((function(e){return new y(e)})),this.register((function(e){return new u(e)})),this.register((function(e){return new p(e)})),this.register((function(e){return new f(e)})),this.register((function(e){return new m(e)})),this.register((function(e){return new c(e)})),this.register((function(e){return new g(e)})),this.register((function(e){return new d(e)})),this.register((function(e){return new l(e)})),this.register((function(e){return new _(e)}))}load(e,t,i,s){const r=this;let a;a=""!==this.resourcePath?this.resourcePath:""!==this.path?this.path:n.D.extractUrlBase(e),this.manager.itemStart(e);const l=function(t){s?s(t):console.error(t),r.manager.itemError(e),r.manager.itemEnd(e)},o=new n.k(this.manager);o.setPath(this.path),o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,(function(i){try{r.parse(i,a,(function(i){t(i),r.manager.itemEnd(e)}),l)}catch(e){l(e)}}),i,l)}setDRACOLoader(e){return this.dracoLoader=e,this}setDDSLoader(){throw new Error('THREE.GLTFLoader: "MSFT_texture_dds" no longer supported. Please update to "KHR_texture_basisu".')}setKTX2Loader(e){return this.ktx2Loader=e,this}setMeshoptDecoder(e){return this.meshoptDecoder=e,this}register(e){return-1===this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.push(e),this}unregister(e){return-1!==this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}parse(e,t,i,s){let r;const l={},c={};if("string"==typeof e)r=e;else{if(n.D.decodeText(new Uint8Array(e,0,4))===b){try{l[a.KHR_BINARY_GLTF]=new T(e)}catch(e){return void(s&&s(e))}r=l[a.KHR_BINARY_GLTF].content}else r=n.D.decodeText(new Uint8Array(e))}const h=JSON.parse(r);if(void 0===h.asset||h.asset.version[0]<2)return void(s&&s(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported.")));const d=new te(h,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});d.fileLoader.setRequestHeader(this.requestHeader);for(let e=0;e<this.pluginCallbacks.length;e++){const t=this.pluginCallbacks[e](d);c[t.name]=t,l[t.name]=!0}if(h.extensionsUsed)for(let e=0;e<h.extensionsUsed.length;++e){const t=h.extensionsUsed[e],i=h.extensionsRequired||[];switch(t){case a.KHR_MATERIALS_UNLIT:l[t]=new o;break;case a.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS:l[t]=new C;break;case a.KHR_DRACO_MESH_COMPRESSION:l[t]=new S(h,this.dracoLoader);break;case a.KHR_TEXTURE_TRANSFORM:l[t]=new M;break;case a.KHR_MESH_QUANTIZATION:l[t]=new P;break;default:i.indexOf(t)>=0&&void 0===c[t]&&console.warn('THREE.GLTFLoader: Unknown extension "'+t+'".')}}d.setExtensions(l),d.setPlugins(c),d.parse(i,s)}parseAsync(e,t){const i=this;return new Promise((function(n,s){i.parse(e,t,n,s)}))}}function r(){let e={};return{get:function(t){return e[t]},add:function(t,i){e[t]=i},remove:function(t){delete e[t]},removeAll:function(){e={}}}}const a={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS:"KHR_materials_pbrSpecularGlossiness",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression"};class l{constructor(e){this.parser=e,this.name=a.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let i=0,n=t.length;i<n;i++){const n=t[i];n.extensions&&n.extensions[this.name]&&void 0!==n.extensions[this.name].light&&e._addNodeRef(this.cache,n.extensions[this.name].light)}}_loadLight(e){const t=this.parser,i="light:"+e;let s=t.cache.get(i);if(s)return s;const r=t.json,a=((r.extensions&&r.extensions[this.name]||{}).lights||[])[e];let l;const o=new n.g(16777215);void 0!==a.color&&o.fromArray(a.color);const c=void 0!==a.range?a.range:0;switch(a.type){case"directional":l=new n.h(o),l.target.position.set(0,0,-1),l.add(l.target);break;case"point":l=new n.U(o),l.distance=c;break;case"spot":l=new n.gb(o),l.distance=c,a.spot=a.spot||{},a.spot.innerConeAngle=void 0!==a.spot.innerConeAngle?a.spot.innerConeAngle:0,a.spot.outerConeAngle=void 0!==a.spot.outerConeAngle?a.spot.outerConeAngle:Math.PI/4,l.angle=a.spot.outerConeAngle,l.penumbra=1-a.spot.innerConeAngle/a.spot.outerConeAngle,l.target.position.set(0,0,-1),l.add(l.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+a.type)}return l.position.set(0,0,0),l.decay=2,void 0!==a.intensity&&(l.intensity=a.intensity),l.name=t.createUniqueName(a.name||"light_"+e),s=Promise.resolve(l),t.cache.add(i,s),s}createNodeAttachment(e){const t=this,i=this.parser,n=i.json.nodes[e],s=(n.extensions&&n.extensions[this.name]||{}).light;return void 0===s?null:this._loadLight(s).then((function(e){return i._getNodeRef(t.cache,s,e)}))}}class o{constructor(){this.name=a.KHR_MATERIALS_UNLIT}getMaterialType(){return n.J}extendParams(e,t,i){const s=[];e.color=new n.g(1,1,1),e.opacity=1;const r=t.pbrMetallicRoughness;if(r){if(Array.isArray(r.baseColorFactor)){const t=r.baseColorFactor;e.color.fromArray(t),e.opacity=t[3]}void 0!==r.baseColorTexture&&s.push(i.assignTexture(e,"map",r.baseColorTexture,n.rb))}return Promise.all(s)}}class c{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(e,t){const i=this.parser.json.materials[e];if(!i.extensions||!i.extensions[this.name])return Promise.resolve();const n=i.extensions[this.name].emissiveStrength;return void 0!==n&&(t.emissiveIntensity=n),Promise.resolve()}}class h{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_CLEARCOAT}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser,s=i.json.materials[e];if(!s.extensions||!s.extensions[this.name])return Promise.resolve();const r=[],a=s.extensions[this.name];if(void 0!==a.clearcoatFactor&&(t.clearcoat=a.clearcoatFactor),void 0!==a.clearcoatTexture&&r.push(i.assignTexture(t,"clearcoatMap",a.clearcoatTexture)),void 0!==a.clearcoatRoughnessFactor&&(t.clearcoatRoughness=a.clearcoatRoughnessFactor),void 0!==a.clearcoatRoughnessTexture&&r.push(i.assignTexture(t,"clearcoatRoughnessMap",a.clearcoatRoughnessTexture)),void 0!==a.clearcoatNormalTexture&&(r.push(i.assignTexture(t,"clearcoatNormalMap",a.clearcoatNormalTexture)),void 0!==a.clearcoatNormalTexture.scale)){const e=a.clearcoatNormalTexture.scale;t.clearcoatNormalScale=new n.nb(e,e)}return Promise.all(r)}}class d{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_IRIDESCENCE}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser,n=i.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const s=[],r=n.extensions[this.name];return void 0!==r.iridescenceFactor&&(t.iridescence=r.iridescenceFactor),void 0!==r.iridescenceTexture&&s.push(i.assignTexture(t,"iridescenceMap",r.iridescenceTexture)),void 0!==r.iridescenceIor&&(t.iridescenceIOR=r.iridescenceIor),void 0===t.iridescenceThicknessRange&&(t.iridescenceThicknessRange=[100,400]),void 0!==r.iridescenceThicknessMinimum&&(t.iridescenceThicknessRange[0]=r.iridescenceThicknessMinimum),void 0!==r.iridescenceThicknessMaximum&&(t.iridescenceThicknessRange[1]=r.iridescenceThicknessMaximum),void 0!==r.iridescenceThicknessTexture&&s.push(i.assignTexture(t,"iridescenceThicknessMap",r.iridescenceThicknessTexture)),Promise.all(s)}}class u{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_SHEEN}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser,s=i.json.materials[e];if(!s.extensions||!s.extensions[this.name])return Promise.resolve();const r=[];t.sheenColor=new n.g(0,0,0),t.sheenRoughness=0,t.sheen=1;const a=s.extensions[this.name];return void 0!==a.sheenColorFactor&&t.sheenColor.fromArray(a.sheenColorFactor),void 0!==a.sheenRoughnessFactor&&(t.sheenRoughness=a.sheenRoughnessFactor),void 0!==a.sheenColorTexture&&r.push(i.assignTexture(t,"sheenColorMap",a.sheenColorTexture,n.rb)),void 0!==a.sheenRoughnessTexture&&r.push(i.assignTexture(t,"sheenRoughnessMap",a.sheenRoughnessTexture)),Promise.all(r)}}class p{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_TRANSMISSION}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser,n=i.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const s=[],r=n.extensions[this.name];return void 0!==r.transmissionFactor&&(t.transmission=r.transmissionFactor),void 0!==r.transmissionTexture&&s.push(i.assignTexture(t,"transmissionMap",r.transmissionTexture)),Promise.all(s)}}class f{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_VOLUME}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser,s=i.json.materials[e];if(!s.extensions||!s.extensions[this.name])return Promise.resolve();const r=[],a=s.extensions[this.name];t.thickness=void 0!==a.thicknessFactor?a.thicknessFactor:0,void 0!==a.thicknessTexture&&r.push(i.assignTexture(t,"thicknessMap",a.thicknessTexture)),t.attenuationDistance=a.attenuationDistance||1/0;const l=a.attenuationColor||[1,1,1];return t.attenuationColor=new n.g(l[0],l[1],l[2]),Promise.all(r)}}class m{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_IOR}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser.json.materials[e];if(!i.extensions||!i.extensions[this.name])return Promise.resolve();const n=i.extensions[this.name];return t.ior=void 0!==n.ior?n.ior:1.5,Promise.resolve()}}class g{constructor(e){this.parser=e,this.name=a.KHR_MATERIALS_SPECULAR}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?n.K:null}extendMaterialParams(e,t){const i=this.parser,s=i.json.materials[e];if(!s.extensions||!s.extensions[this.name])return Promise.resolve();const r=[],a=s.extensions[this.name];t.specularIntensity=void 0!==a.specularFactor?a.specularFactor:1,void 0!==a.specularTexture&&r.push(i.assignTexture(t,"specularIntensityMap",a.specularTexture));const l=a.specularColorFactor||[1,1,1];return t.specularColor=new n.g(l[0],l[1],l[2]),void 0!==a.specularColorTexture&&r.push(i.assignTexture(t,"specularColorMap",a.specularColorTexture,n.rb)),Promise.all(r)}}class v{constructor(e){this.parser=e,this.name=a.KHR_TEXTURE_BASISU}loadTexture(e){const t=this.parser,i=t.json,n=i.textures[e];if(!n.extensions||!n.extensions[this.name])return null;const s=n.extensions[this.name],r=t.options.ktx2Loader;if(!r){if(i.extensionsRequired&&i.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,s.source,r)}}class y{constructor(e){this.parser=e,this.name=a.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,i=this.parser,n=i.json,s=n.textures[e];if(!s.extensions||!s.extensions[t])return null;const r=s.extensions[t],a=n.images[r.source];let l=i.textureLoader;if(a.uri){const e=i.options.manager.getHandler(a.uri);null!==e&&(l=e)}return this.detectSupport().then((function(s){if(s)return i.loadTextureImage(e,r.source,l);if(n.extensionsRequired&&n.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return i.loadTexture(e)}))}detectSupport(){return this.isSupported||(this.isSupported=new Promise((function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(1===t.height)}}))),this.isSupported}}class _{constructor(e){this.name=a.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,i=t.bufferViews[e];if(i.extensions&&i.extensions[this.name]){const e=i.extensions[this.name],n=this.parser.getDependency("buffer",e.buffer),s=this.parser.options.meshoptDecoder;if(!s||!s.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return n.then((function(t){const i=e.byteOffset||0,n=e.byteLength||0,r=e.count,a=e.byteStride,l=new Uint8Array(t,i,n);return s.decodeGltfBufferAsync?s.decodeGltfBufferAsync(r,a,l,e.mode,e.filter).then((function(e){return e.buffer})):s.ready.then((function(){const t=new ArrayBuffer(r*a);return s.decodeGltfBuffer(new Uint8Array(t),r,a,l,e.mode,e.filter),t}))}))}return null}}const b="glTF",w=1313821514,x=5130562;class T{constructor(e){this.name=a.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,12);if(this.header={magic:n.D.decodeText(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==b)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const i=this.header.length-12,s=new DataView(e,12);let r=0;for(;r<i;){const t=s.getUint32(r,!0);r+=4;const i=s.getUint32(r,!0);if(r+=4,i===w){const i=new Uint8Array(e,12+r,t);this.content=n.D.decodeText(i)}else if(i===x){const i=12+r;this.body=e.slice(i,i+t)}r+=t}if(null===this.content)throw new Error("THREE.GLTFLoader: JSON content not found.")}}class S{constructor(e,t){if(!t)throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=a.KHR_DRACO_MESH_COMPRESSION,this.json=e,this.dracoLoader=t,this.dracoLoader.preload()}decodePrimitive(e,t){const i=this.json,n=this.dracoLoader,s=e.extensions[this.name].bufferView,r=e.extensions[this.name].attributes,a={},l={},o={};for(const e in r){const t=U[e]||e.toLowerCase();a[t]=r[e]}for(const t in e.attributes){const n=U[t]||t.toLowerCase();if(void 0!==r[t]){const s=i.accessors[e.attributes[t]],r=F[s.componentType];o[n]=r.name,l[n]=!0===s.normalized}}return t.getDependency("bufferView",s).then((function(e){return new Promise((function(t){n.decodeDracoFile(e,(function(e){for(const t in e.attributes){const i=e.attributes[t],n=l[t];void 0!==n&&(i.normalized=n)}t(e)}),a,o)}))}))}}class M{constructor(){this.name=a.KHR_TEXTURE_TRANSFORM}extendTexture(e,t){return void 0!==t.texCoord&&console.warn('THREE.GLTFLoader: Custom UV sets in "'+this.name+'" extension not yet supported.'),void 0===t.offset&&void 0===t.rotation&&void 0===t.scale||(e=e.clone(),void 0!==t.offset&&e.offset.fromArray(t.offset),void 0!==t.rotation&&(e.rotation=t.rotation),void 0!==t.scale&&e.repeat.fromArray(t.scale),e.needsUpdate=!0),e}}class E extends n.L{constructor(e){super(),this.isGLTFSpecularGlossinessMaterial=!0;const t=["#ifdef USE_SPECULARMAP","\tuniform sampler2D specularMap;","#endif"].join("\n"),i=["#ifdef USE_GLOSSINESSMAP","\tuniform sampler2D glossinessMap;","#endif"].join("\n"),s=["vec3 specularFactor = specular;","#ifdef USE_SPECULARMAP","\tvec4 texelSpecular = texture2D( specularMap, vUv );","\t// reads channel RGB, compatible with a glTF Specular-Glossiness (RGBA) texture","\tspecularFactor *= texelSpecular.rgb;","#endif"].join("\n"),r=["float glossinessFactor = glossiness;","#ifdef USE_GLOSSINESSMAP","\tvec4 texelGlossiness = texture2D( glossinessMap, vUv );","\t// reads channel A, compatible with a glTF Specular-Glossiness (RGBA) texture","\tglossinessFactor *= texelGlossiness.a;","#endif"].join("\n"),a=["PhysicalMaterial material;","material.diffuseColor = diffuseColor.rgb * ( 1. - max( specularFactor.r, max( specularFactor.g, specularFactor.b ) ) );","vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );","float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );","material.roughness = max( 1.0 - glossinessFactor, 0.0525 ); // 0.0525 corresponds to the base mip of a 256 cubemap.","material.roughness += geometryRoughness;","material.roughness = min( material.roughness, 1.0 );","material.specularColor = specularFactor;"].join("\n"),l={specular:{value:(new n.g).setHex(16777215)},glossiness:{value:1},specularMap:{value:null},glossinessMap:{value:null}};this._extraUniforms=l,this.onBeforeCompile=function(e){for(const t in l)e.uniforms[t]=l[t];e.fragmentShader=e.fragmentShader.replace("uniform float roughness;","uniform vec3 specular;").replace("uniform float metalness;","uniform float glossiness;").replace("#include <roughnessmap_pars_fragment>",t).replace("#include <metalnessmap_pars_fragment>",i).replace("#include <roughnessmap_fragment>",s).replace("#include <metalnessmap_fragment>",r).replace("#include <lights_physical_fragment>",a)},Object.defineProperties(this,{specular:{get:function(){return l.specular.value},set:function(e){l.specular.value=e}},specularMap:{get:function(){return l.specularMap.value},set:function(e){l.specularMap.value=e,e?this.defines.USE_SPECULARMAP="":delete this.defines.USE_SPECULARMAP}},glossiness:{get:function(){return l.glossiness.value},set:function(e){l.glossiness.value=e}},glossinessMap:{get:function(){return l.glossinessMap.value},set:function(e){l.glossinessMap.value=e,e?(this.defines.USE_GLOSSINESSMAP="",this.defines.USE_UV=""):(delete this.defines.USE_GLOSSINESSMAP,delete this.defines.USE_UV)}}}),delete this.metalness,delete this.roughness,delete this.metalnessMap,delete this.roughnessMap,this.setValues(e)}copy(e){return super.copy(e),this.specularMap=e.specularMap,this.specular.copy(e.specular),this.glossinessMap=e.glossinessMap,this.glossiness=e.glossiness,delete this.metalness,delete this.roughness,delete this.metalnessMap,delete this.roughnessMap,this}}class C{constructor(){this.name=a.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS,this.specularGlossinessParams=["color","map","lightMap","lightMapIntensity","aoMap","aoMapIntensity","emissive","emissiveIntensity","emissiveMap","bumpMap","bumpScale","normalMap","normalMapType","displacementMap","displacementScale","displacementBias","specularMap","specular","glossinessMap","glossiness","alphaMap","envMap","envMapIntensity"]}getMaterialType(){return E}extendParams(e,t,i){const s=t.extensions[this.name];e.color=new n.g(1,1,1),e.opacity=1;const r=[];if(Array.isArray(s.diffuseFactor)){const t=s.diffuseFactor;e.color.fromArray(t),e.opacity=t[3]}if(void 0!==s.diffuseTexture&&r.push(i.assignTexture(e,"map",s.diffuseTexture,n.rb)),e.emissive=new n.g(0,0,0),e.glossiness=void 0!==s.glossinessFactor?s.glossinessFactor:1,e.specular=new n.g(1,1,1),Array.isArray(s.specularFactor)&&e.specular.fromArray(s.specularFactor),void 0!==s.specularGlossinessTexture){const t=s.specularGlossinessTexture;r.push(i.assignTexture(e,"glossinessMap",t)),r.push(i.assignTexture(e,"specularMap",t,n.rb))}return Promise.all(r)}createMaterial(e){const t=new E(e);return t.fog=!0,t.color=e.color,t.map=void 0===e.map?null:e.map,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=void 0===e.aoMap?null:e.aoMap,t.aoMapIntensity=1,t.emissive=e.emissive,t.emissiveIntensity=void 0===e.emissiveIntensity?1:e.emissiveIntensity,t.emissiveMap=void 0===e.emissiveMap?null:e.emissiveMap,t.bumpMap=void 0===e.bumpMap?null:e.bumpMap,t.bumpScale=1,t.normalMap=void 0===e.normalMap?null:e.normalMap,t.normalMapType=n.ib,e.normalScale&&(t.normalScale=e.normalScale),t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.specularMap=void 0===e.specularMap?null:e.specularMap,t.specular=e.specular,t.glossinessMap=void 0===e.glossinessMap?null:e.glossinessMap,t.glossiness=e.glossiness,t.alphaMap=null,t.envMap=void 0===e.envMap?null:e.envMap,t.envMapIntensity=1,t}}class P{constructor(){this.name=a.KHR_MESH_QUANTIZATION}}class k extends n.s{constructor(e,t,i,n){super(e,t,i,n)}copySampleValue_(e){const t=this.resultBuffer,i=this.sampleValues,n=this.valueSize,s=e*n*3+n;for(let e=0;e!==n;e++)t[e]=i[s+e];return t}interpolate_(e,t,i,n){const s=this.resultBuffer,r=this.sampleValues,a=this.valueSize,l=2*a,o=3*a,c=n-t,h=(i-t)/c,d=h*h,u=d*h,p=e*o,f=p-o,m=-2*u+3*d,g=u-d,v=1-m,y=g-d+h;for(let e=0;e!==a;e++){const t=r[f+e+a],i=r[f+e+l]*c,n=r[p+e+a],o=r[p+e]*c;s[e]=v*t+y*i+m*n+g*o}return s}}const A=new n.Y;class L extends k{interpolate_(e,t,i,n){const s=super.interpolate_(e,t,i,n);return A.fromArray(s).normalize().toArray(s),s}}const O=0,I=1,D=2,R=3,z=4,N=5,$=6,F={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},B={9728:n.N,9729:n.z,9984:n.P,9985:n.B,9986:n.O,9987:n.A},V={33071:n.f,33648:n.M,10497:n.ab},H={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},U={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv2",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},G={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},j={CUBICSPLINE:void 0,LINEAR:n.u,STEP:n.t},W="OPAQUE",X="MASK",q="BLEND";function Y(e,t,i){for(const n in i.extensions)void 0===e[n]&&(t.userData.gltfExtensions=t.userData.gltfExtensions||{},t.userData.gltfExtensions[n]=i.extensions[n])}function Z(e,t){void 0!==t.extras&&("object"==typeof t.extras?Object.assign(e.userData,t.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+t.extras))}function K(e,t){if(e.updateMorphTargets(),void 0!==t.weights)for(let i=0,n=t.weights.length;i<n;i++)e.morphTargetInfluences[i]=t.weights[i];if(t.extras&&Array.isArray(t.extras.targetNames)){const i=t.extras.targetNames;if(e.morphTargetInfluences.length===i.length){e.morphTargetDictionary={};for(let t=0,n=i.length;t<n;t++)e.morphTargetDictionary[i[t]]=t}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}function J(e){const t=e.extensions&&e.extensions[a.KHR_DRACO_MESH_COMPRESSION];let i;return i=t?"draco:"+t.bufferView+":"+t.indices+":"+Q(t.attributes):e.indices+":"+Q(e.attributes)+":"+e.mode,i}function Q(e){let t="";const i=Object.keys(e).sort();for(let n=0,s=i.length;n<s;n++)t+=i[n]+":"+e[i[n]]+";";return t}function ee(e){switch(e){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.")}}class te{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new r,this.associations=new Map,this.primitiveCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};const i=!0===/^((?!chrome|android).)*safari/i.test(navigator.userAgent),s=navigator.userAgent.indexOf("Firefox")>-1,a=s?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1;"undefined"==typeof createImageBitmap||i||s&&a<98?this.textureLoader=new n.kb(this.options.manager):this.textureLoader=new n.p(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new n.k(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),"use-credentials"===this.options.crossOrigin&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const i=this,n=this.json,s=this.extensions;this.cache.removeAll(),this._invokeAll((function(e){return e._markDefs&&e._markDefs()})),Promise.all(this._invokeAll((function(e){return e.beforeRoot&&e.beforeRoot()}))).then((function(){return Promise.all([i.getDependencies("scene"),i.getDependencies("animation"),i.getDependencies("camera")])})).then((function(t){const r={scene:t[0][n.scene||0],scenes:t[0],animations:t[1],cameras:t[2],asset:n.asset,parser:i,userData:{}};Y(s,r,n),Z(r,n),Promise.all(i._invokeAll((function(e){return e.afterRoot&&e.afterRoot(r)}))).then((function(){e(r)}))})).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],i=this.json.meshes||[];for(let i=0,n=t.length;i<n;i++){const n=t[i].joints;for(let t=0,i=n.length;t<i;t++)e[n[t]].isBone=!0}for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==n.mesh&&(this._addNodeRef(this.meshCache,n.mesh),void 0!==n.skin&&(i[n.mesh].isSkinnedMesh=!0)),void 0!==n.camera&&this._addNodeRef(this.cameraCache,n.camera)}}_addNodeRef(e,t){void 0!==t&&(void 0===e.refs[t]&&(e.refs[t]=e.uses[t]=0),e.refs[t]++)}_getNodeRef(e,t,i){if(e.refs[t]<=1)return i;const n=i.clone(),s=(e,t)=>{const i=this.associations.get(e);null!=i&&this.associations.set(t,i);for(const[i,n]of e.children.entries())s(n,t.children[i])};return s(i,n),n.name+="_instance_"+e.uses[t]++,n}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let i=0;i<t.length;i++){const n=e(t[i]);if(n)return n}return null}_invokeAll(e){const t=Object.values(this.plugins);t.unshift(this);const i=[];for(let n=0;n<t.length;n++){const s=e(t[n]);s&&i.push(s)}return i}getDependency(e,t){const i=e+":"+t;let n=this.cache.get(i);if(!n){switch(e){case"scene":n=this.loadScene(t);break;case"node":n=this.loadNode(t);break;case"mesh":n=this._invokeOne((function(e){return e.loadMesh&&e.loadMesh(t)}));break;case"accessor":n=this.loadAccessor(t);break;case"bufferView":n=this._invokeOne((function(e){return e.loadBufferView&&e.loadBufferView(t)}));break;case"buffer":n=this.loadBuffer(t);break;case"material":n=this._invokeOne((function(e){return e.loadMaterial&&e.loadMaterial(t)}));break;case"texture":n=this._invokeOne((function(e){return e.loadTexture&&e.loadTexture(t)}));break;case"skin":n=this.loadSkin(t);break;case"animation":n=this._invokeOne((function(e){return e.loadAnimation&&e.loadAnimation(t)}));break;case"camera":n=this.loadCamera(t);break;default:throw new Error("Unknown type: "+e)}this.cache.add(i,n)}return n}getDependencies(e){let t=this.cache.get(e);if(!t){const i=this,n=this.json[e+("mesh"===e?"es":"s")]||[];t=Promise.all(n.map((function(t,n){return i.getDependency(e,n)}))),this.cache.add(e,t)}return t}loadBuffer(e){const t=this.json.buffers[e],i=this.fileLoader;if(t.type&&"arraybuffer"!==t.type)throw new Error("THREE.GLTFLoader: "+t.type+" buffer type is not supported.");if(void 0===t.uri&&0===e)return Promise.resolve(this.extensions[a.KHR_BINARY_GLTF].body);const s=this.options;return new Promise((function(e,r){i.load(n.D.resolveURL(t.uri,s.path),e,void 0,(function(){r(new Error('THREE.GLTFLoader: Failed to load buffer "'+t.uri+'".'))}))}))}loadBufferView(e){const t=this.json.bufferViews[e];return this.getDependency("buffer",t.buffer).then((function(e){const i=t.byteLength||0,n=t.byteOffset||0;return e.slice(n,n+i)}))}loadAccessor(e){const t=this,i=this.json,s=this.json.accessors[e];if(void 0===s.bufferView&&void 0===s.sparse)return Promise.resolve(null);const r=[];return void 0!==s.bufferView?r.push(this.getDependency("bufferView",s.bufferView)):r.push(null),void 0!==s.sparse&&(r.push(this.getDependency("bufferView",s.sparse.indices.bufferView)),r.push(this.getDependency("bufferView",s.sparse.values.bufferView))),Promise.all(r).then((function(e){const r=e[0],a=H[s.type],l=F[s.componentType],o=l.BYTES_PER_ELEMENT,c=o*a,h=s.byteOffset||0,d=void 0!==s.bufferView?i.bufferViews[s.bufferView].byteStride:void 0,u=!0===s.normalized;let p,f;if(d&&d!==c){const e=Math.floor(h/d),i="InterleavedBuffer:"+s.bufferView+":"+s.componentType+":"+e+":"+s.count;let c=t.cache.get(i);c||(p=new l(r,e*d,s.count*d/o),c=new n.q(p,d/o),t.cache.add(i,c)),f=new n.r(c,a,h%d/o,u)}else p=null===r?new l(s.count*a):new l(r,h,s.count*a),f=new n.d(p,a,u);if(void 0!==s.sparse){const t=H.SCALAR,i=F[s.sparse.indices.componentType],o=s.sparse.indices.byteOffset||0,c=s.sparse.values.byteOffset||0,h=new i(e[1],o,s.sparse.count*t),d=new l(e[2],c,s.sparse.count*a);null!==r&&(f=new n.d(f.array.slice(),f.itemSize,f.normalized));for(let e=0,t=h.length;e<t;e++){const t=h[e];if(f.setX(t,d[e*a]),a>=2&&f.setY(t,d[e*a+1]),a>=3&&f.setZ(t,d[e*a+2]),a>=4&&f.setW(t,d[e*a+3]),a>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return f}))}loadTexture(e){const t=this.json,i=this.options,n=t.textures[e].source,s=t.images[n];let r=this.textureLoader;if(s.uri){const e=i.manager.getHandler(s.uri);null!==e&&(r=e)}return this.loadTextureImage(e,n,r)}loadTextureImage(e,t,i){const s=this,r=this.json,a=r.textures[e],l=r.images[t],o=(l.uri||l.bufferView)+":"+a.sampler;if(this.textureCache[o])return this.textureCache[o];const c=this.loadImageSource(t,i).then((function(t){t.flipY=!1,a.name&&(t.name=a.name);const i=(r.samplers||{})[a.sampler]||{};return t.magFilter=B[i.magFilter]||n.z,t.minFilter=B[i.minFilter]||n.A,t.wrapS=V[i.wrapS]||n.ab,t.wrapT=V[i.wrapT]||n.ab,s.associations.set(t,{textures:e}),t})).catch((function(){return null}));return this.textureCache[o]=c,c}loadImageSource(e,t){const i=this,s=this.json,r=this.options;if(void 0!==this.sourceCache[e])return this.sourceCache[e].then(e=>e.clone());const a=s.images[e],l=self.URL||self.webkitURL;let o=a.uri||"",c=!1;if(void 0!==a.bufferView)o=i.getDependency("bufferView",a.bufferView).then((function(e){c=!0;const t=new Blob([e],{type:a.mimeType});return o=l.createObjectURL(t),o}));else if(void 0===a.uri)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const h=Promise.resolve(o).then((function(e){return new Promise((function(i,s){let a=i;!0===t.isImageBitmapLoader&&(a=function(e){const t=new n.jb(e);t.needsUpdate=!0,i(t)}),t.load(n.D.resolveURL(e,r.path),a,void 0,s)}))})).then((function(e){var t;return!0===c&&l.revokeObjectURL(o),e.userData.mimeType=a.mimeType||((t=a.uri).search(/\.jpe?g($|\?)/i)>0||0===t.search(/^data\:image\/jpeg/)?"image/jpeg":t.search(/\.webp($|\?)/i)>0||0===t.search(/^data\:image\/webp/)?"image/webp":"image/png"),e})).catch((function(e){throw console.error("THREE.GLTFLoader: Couldn't load texture",o),e}));return this.sourceCache[e]=h,h}assignTexture(e,t,i,n){const s=this;return this.getDependency("texture",i.index).then((function(r){if(void 0===i.texCoord||0==i.texCoord||"aoMap"===t&&1==i.texCoord||console.warn("THREE.GLTFLoader: Custom UV set "+i.texCoord+" for texture "+t+" not yet supported."),s.extensions[a.KHR_TEXTURE_TRANSFORM]){const e=void 0!==i.extensions?i.extensions[a.KHR_TEXTURE_TRANSFORM]:void 0;if(e){const t=s.associations.get(r);r=s.extensions[a.KHR_TEXTURE_TRANSFORM].extendTexture(r,e),s.associations.set(r,t)}}return void 0!==n&&(r.encoding=n),e[t]=r,r}))}assignFinalMaterial(e){const t=e.geometry;let i=e.material;const s=void 0===t.attributes.tangent,r=void 0!==t.attributes.color,a=void 0===t.attributes.normal;if(e.isPoints){const e="PointsMaterial:"+i.uuid;let t=this.cache.get(e);t||(t=new n.W,n.F.prototype.copy.call(t,i),t.color.copy(i.color),t.map=i.map,t.sizeAttenuation=!1,this.cache.add(e,t)),i=t}else if(e.isLine){const e="LineBasicMaterial:"+i.uuid;let t=this.cache.get(e);t||(t=new n.w,n.F.prototype.copy.call(t,i),t.color.copy(i.color),this.cache.add(e,t)),i=t}if(s||r||a){let e="ClonedMaterial:"+i.uuid+":";i.isGLTFSpecularGlossinessMaterial&&(e+="specular-glossiness:"),s&&(e+="derivative-tangents:"),r&&(e+="vertex-colors:"),a&&(e+="flat-shading:");let t=this.cache.get(e);t||(t=i.clone(),r&&(t.vertexColors=!0),a&&(t.flatShading=!0),s&&(t.normalScale&&(t.normalScale.y*=-1),t.clearcoatNormalScale&&(t.clearcoatNormalScale.y*=-1)),this.cache.add(e,t),this.associations.set(t,this.associations.get(i))),i=t}i.aoMap&&void 0===t.attributes.uv2&&void 0!==t.attributes.uv&&t.setAttribute("uv2",t.attributes.uv),e.material=i}getMaterialType(){return n.L}loadMaterial(e){const t=this,i=this.json,s=this.extensions,r=i.materials[e];let l;const o={},c=r.extensions||{},h=[];if(c[a.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS]){const e=s[a.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS];l=e.getMaterialType(),h.push(e.extendParams(o,r,t))}else if(c[a.KHR_MATERIALS_UNLIT]){const e=s[a.KHR_MATERIALS_UNLIT];l=e.getMaterialType(),h.push(e.extendParams(o,r,t))}else{const i=r.pbrMetallicRoughness||{};if(o.color=new n.g(1,1,1),o.opacity=1,Array.isArray(i.baseColorFactor)){const e=i.baseColorFactor;o.color.fromArray(e),o.opacity=e[3]}void 0!==i.baseColorTexture&&h.push(t.assignTexture(o,"map",i.baseColorTexture,n.rb)),o.metalness=void 0!==i.metallicFactor?i.metallicFactor:1,o.roughness=void 0!==i.roughnessFactor?i.roughnessFactor:1,void 0!==i.metallicRoughnessTexture&&(h.push(t.assignTexture(o,"metalnessMap",i.metallicRoughnessTexture)),h.push(t.assignTexture(o,"roughnessMap",i.metallicRoughnessTexture))),l=this._invokeOne((function(t){return t.getMaterialType&&t.getMaterialType(e)})),h.push(Promise.all(this._invokeAll((function(t){return t.extendMaterialParams&&t.extendMaterialParams(e,o)}))))}!0===r.doubleSided&&(o.side=n.i);const d=r.alphaMode||W;if(d===q?(o.transparent=!0,o.depthWrite=!1):(o.transparent=!1,d===X&&(o.alphaTest=void 0!==r.alphaCutoff?r.alphaCutoff:.5)),void 0!==r.normalTexture&&l!==n.J&&(h.push(t.assignTexture(o,"normalMap",r.normalTexture)),o.normalScale=new n.nb(1,1),void 0!==r.normalTexture.scale)){const e=r.normalTexture.scale;o.normalScale.set(e,e)}return void 0!==r.occlusionTexture&&l!==n.J&&(h.push(t.assignTexture(o,"aoMap",r.occlusionTexture)),void 0!==r.occlusionTexture.strength&&(o.aoMapIntensity=r.occlusionTexture.strength)),void 0!==r.emissiveFactor&&l!==n.J&&(o.emissive=(new n.g).fromArray(r.emissiveFactor)),void 0!==r.emissiveTexture&&l!==n.J&&h.push(t.assignTexture(o,"emissiveMap",r.emissiveTexture,n.rb)),Promise.all(h).then((function(){let i;return i=l===E?s[a.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS].createMaterial(o):new l(o),r.name&&(i.name=r.name),Z(i,r),t.associations.set(i,{materials:e}),r.extensions&&Y(s,i,r),i}))}createUniqueName(e){const t=n.X.sanitizeNodeName(e||"");let i=t;for(let e=1;this.nodeNamesUsed[i];++e)i=t+"_"+e;return this.nodeNamesUsed[i]=!0,i}loadGeometries(e){const t=this,i=this.extensions,s=this.primitiveCache;function r(e){return i[a.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(e,t).then((function(i){return ne(i,e,t)}))}const l=[];for(let i=0,o=e.length;i<o;i++){const o=e[i],c=J(o),h=s[c];if(h)l.push(h.promise);else{let e;e=o.extensions&&o.extensions[a.KHR_DRACO_MESH_COMPRESSION]?r(o):ne(new n.e,o,t),s[c]={primitive:o,promise:e},l.push(e)}}return Promise.all(l)}loadMesh(e){const t=this,i=this.json,s=this.extensions,r=i.meshes[e],a=r.primitives,l=[];for(let e=0,t=a.length;e<t;e++){const t=void 0===a[e].material?(void 0===(o=this.cache).DefaultMaterial&&(o.DefaultMaterial=new n.L({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:n.m})),o.DefaultMaterial):this.getDependency("material",a[e].material);l.push(t)}var o;return l.push(t.loadGeometries(a)),Promise.all(l).then((function(i){const l=i.slice(0,i.length-1),o=i[i.length-1],c=[];for(let i=0,h=o.length;i<h;i++){const h=o[i],d=a[i];let u;const p=l[i];if(d.mode===z||d.mode===N||d.mode===$||void 0===d.mode)u=!0===r.isSkinnedMesh?new n.db(h,p):new n.I(h,p),!0!==u.isSkinnedMesh||u.geometry.attributes.skinWeight.normalized||u.normalizeSkinWeights(),d.mode===N?u.geometry=se(u.geometry,n.mb):d.mode===$&&(u.geometry=se(u.geometry,n.lb));else if(d.mode===I)u=new n.y(h,p);else if(d.mode===R)u=new n.v(h,p);else if(d.mode===D)u=new n.x(h,p);else{if(d.mode!==O)throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+d.mode);u=new n.V(h,p)}Object.keys(u.geometry.morphAttributes).length>0&&K(u,r),u.name=t.createUniqueName(r.name||"mesh_"+e),Z(u,r),d.extensions&&Y(s,u,d),t.assignFinalMaterial(u),c.push(u)}for(let i=0,n=c.length;i<n;i++)t.associations.set(c[i],{meshes:e,primitives:i});if(1===c.length)return c[0];const h=new n.n;t.associations.set(h,{meshes:e});for(let e=0,t=c.length;e<t;e++)h.add(c[e]);return h}))}loadCamera(e){let t;const i=this.json.cameras[e],s=i[i.type];if(s)return"perspective"===i.type?t=new n.T(n.G.radToDeg(s.yfov),s.aspectRatio||1,s.znear||1,s.zfar||2e6):"orthographic"===i.type&&(t=new n.S(-s.xmag,s.xmag,s.ymag,-s.ymag,s.znear,s.zfar)),i.name&&(t.name=this.createUniqueName(i.name)),Z(t,i),Promise.resolve(t);console.warn("THREE.GLTFLoader: Missing camera parameters.")}loadSkin(e){const t=this.json.skins[e],i={joints:t.joints};return void 0===t.inverseBindMatrices?Promise.resolve(i):this.getDependency("accessor",t.inverseBindMatrices).then((function(e){return i.inverseBindMatrices=e,i}))}loadAnimation(e){const t=this.json.animations[e],i=[],s=[],r=[],a=[],l=[];for(let e=0,n=t.channels.length;e<n;e++){const n=t.channels[e],o=t.samplers[n.sampler],c=n.target,h=c.node,d=void 0!==t.parameters?t.parameters[o.input]:o.input,u=void 0!==t.parameters?t.parameters[o.output]:o.output;i.push(this.getDependency("node",h)),s.push(this.getDependency("accessor",d)),r.push(this.getDependency("accessor",u)),a.push(o),l.push(c)}return Promise.all([Promise.all(i),Promise.all(s),Promise.all(r),Promise.all(a),Promise.all(l)]).then((function(i){const s=i[0],r=i[1],a=i[2],l=i[3],o=i[4],c=[];for(let e=0,t=s.length;e<t;e++){const t=s[e],i=r[e],h=a[e],d=l[e],u=o[e];if(void 0===t)continue;let p;switch(t.updateMatrix(),G[u.path]){case G.weights:p=n.Q;break;case G.rotation:p=n.Z;break;case G.position:case G.scale:default:p=n.pb}const f=t.name?t.name:t.uuid,m=void 0!==d.interpolation?j[d.interpolation]:n.u,g=[];G[u.path]===G.weights?t.traverse((function(e){e.morphTargetInfluences&&g.push(e.name?e.name:e.uuid)})):g.push(f);let v=h.array;if(h.normalized){const e=ee(v.constructor),t=new Float32Array(v.length);for(let i=0,n=v.length;i<n;i++)t[i]=v[i]*e;v=t}for(let e=0,t=g.length;e<t;e++){const t=new p(g[e]+"."+G[u.path],i.array,v,m);"CUBICSPLINE"===d.interpolation&&(t.createInterpolant=function(e){return new(this instanceof n.Z?L:k)(this.times,this.values,this.getValueSize()/3,e)},t.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0),c.push(t)}}const h=t.name?t.name:"animation_"+e;return new n.a(h,void 0,c)}))}createNodeMesh(e){const t=this.json,i=this,n=t.nodes[e];return void 0===n.mesh?null:i.getDependency("mesh",n.mesh).then((function(e){const t=i._getNodeRef(i.meshCache,n.mesh,e);return void 0!==n.weights&&t.traverse((function(e){if(e.isMesh)for(let t=0,i=n.weights.length;t<i;t++)e.morphTargetInfluences[t]=n.weights[t]})),t}))}loadNode(e){const t=this.json,i=this.extensions,s=this,r=t.nodes[e],a=r.name?s.createUniqueName(r.name):"";return function(){const t=[],i=s._invokeOne((function(t){return t.createNodeMesh&&t.createNodeMesh(e)}));return i&&t.push(i),void 0!==r.camera&&t.push(s.getDependency("camera",r.camera).then((function(e){return s._getNodeRef(s.cameraCache,r.camera,e)}))),s._invokeAll((function(t){return t.createNodeAttachment&&t.createNodeAttachment(e)})).forEach((function(e){t.push(e)})),Promise.all(t)}().then((function(t){let l;if(l=!0===r.isBone?new n.b:t.length>1?new n.n:1===t.length?t[0]:new n.R,l!==t[0])for(let e=0,i=t.length;e<i;e++)l.add(t[e]);if(r.name&&(l.userData.name=r.name,l.name=a),Z(l,r),r.extensions&&Y(i,l,r),void 0!==r.matrix){const e=new n.H;e.fromArray(r.matrix),l.applyMatrix4(e)}else void 0!==r.translation&&l.position.fromArray(r.translation),void 0!==r.rotation&&l.quaternion.fromArray(r.rotation),void 0!==r.scale&&l.scale.fromArray(r.scale);return s.associations.has(l)||s.associations.set(l,{}),s.associations.get(l).nodes=e,l}))}loadScene(e){const t=this.json,i=this.extensions,s=this.json.scenes[e],r=this,a=new n.n;s.name&&(a.name=r.createUniqueName(s.name)),Z(a,s),s.extensions&&Y(i,a,s);const l=s.nodes||[],o=[];for(let e=0,i=l.length;e<i;e++)o.push(ie(l[e],a,t,r));return Promise.all(o).then((function(){return r.associations=(e=>{const t=new Map;for(const[e,i]of r.associations)(e instanceof n.F||e instanceof n.jb)&&t.set(e,i);return e.traverse(e=>{const i=r.associations.get(e);null!=i&&t.set(e,i)}),t})(a),a}))}}function ie(e,t,i,s){const r=i.nodes[e];return s.getDependency("node",e).then((function(e){if(void 0===r.skin)return e;let t;return s.getDependency("skin",r.skin).then((function(e){t=e;const i=[];for(let e=0,n=t.joints.length;e<n;e++)i.push(s.getDependency("node",t.joints[e]));return Promise.all(i)})).then((function(i){return e.traverse((function(e){if(!e.isMesh)return;const s=[],r=[];for(let e=0,a=i.length;e<a;e++){const a=i[e];if(a){s.push(a);const i=new n.H;void 0!==t.inverseBindMatrices&&i.fromArray(t.inverseBindMatrices.array,16*e),r.push(i)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',t.joints[e])}e.bind(new n.cb(s,r),e.matrixWorld)})),e}))})).then((function(e){t.add(e);const n=[];if(r.children){const t=r.children;for(let r=0,a=t.length;r<a;r++){const a=t[r];n.push(ie(a,e,i,s))}}return Promise.all(n)}))}function ne(e,t,i){const s=t.attributes,r=[];function a(t,n){return i.getDependency("accessor",t).then((function(t){e.setAttribute(n,t)}))}for(const t in s){const i=U[t]||t.toLowerCase();i in e.attributes||r.push(a(s[t],i))}if(void 0!==t.indices&&!e.index){const n=i.getDependency("accessor",t.indices).then((function(t){e.setIndex(t)}));r.push(n)}return Z(e,t),function(e,t,i){const s=t.attributes,r=new n.c;if(void 0===s.POSITION)return;{const e=i.json.accessors[s.POSITION],t=e.min,a=e.max;if(void 0===t||void 0===a)return void console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");if(r.set(new n.ob(t[0],t[1],t[2]),new n.ob(a[0],a[1],a[2])),e.normalized){const t=ee(F[e.componentType]);r.min.multiplyScalar(t),r.max.multiplyScalar(t)}}const a=t.targets;if(void 0!==a){const e=new n.ob,t=new n.ob;for(let n=0,s=a.length;n<s;n++){const s=a[n];if(void 0!==s.POSITION){const n=i.json.accessors[s.POSITION],r=n.min,a=n.max;if(void 0!==r&&void 0!==a){if(t.setX(Math.max(Math.abs(r[0]),Math.abs(a[0]))),t.setY(Math.max(Math.abs(r[1]),Math.abs(a[1]))),t.setZ(Math.max(Math.abs(r[2]),Math.abs(a[2]))),n.normalized){const e=ee(F[n.componentType]);t.multiplyScalar(e)}e.max(t)}else console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}r.expandByVector(e)}e.boundingBox=r;const l=new n.eb;r.getCenter(l.center),l.radius=r.min.distanceTo(r.max)/2,e.boundingSphere=l}(e,t,i),Promise.all(r).then((function(){return void 0!==t.targets?function(e,t,i){let n=!1,s=!1,r=!1;for(let e=0,i=t.length;e<i;e++){const i=t[e];if(void 0!==i.POSITION&&(n=!0),void 0!==i.NORMAL&&(s=!0),void 0!==i.COLOR_0&&(r=!0),n&&s&&r)break}if(!n&&!s&&!r)return Promise.resolve(e);const a=[],l=[],o=[];for(let c=0,h=t.length;c<h;c++){const h=t[c];if(n){const t=void 0!==h.POSITION?i.getDependency("accessor",h.POSITION):e.attributes.position;a.push(t)}if(s){const t=void 0!==h.NORMAL?i.getDependency("accessor",h.NORMAL):e.attributes.normal;l.push(t)}if(r){const t=void 0!==h.COLOR_0?i.getDependency("accessor",h.COLOR_0):e.attributes.color;o.push(t)}}return Promise.all([Promise.all(a),Promise.all(l),Promise.all(o)]).then((function(t){const i=t[0],a=t[1],l=t[2];return n&&(e.morphAttributes.position=i),s&&(e.morphAttributes.normal=a),r&&(e.morphAttributes.color=l),e.morphTargetsRelative=!0,e}))}(e,t.targets,i):e}))}function se(e,t){let i=e.getIndex();if(null===i){const t=[],n=e.getAttribute("position");if(void 0===n)return console.error("THREE.GLTFLoader.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),e;for(let e=0;e<n.count;e++)t.push(e);e.setIndex(t),i=e.getIndex()}const s=i.count-2,r=[];if(t===n.lb)for(let e=1;e<=s;e++)r.push(i.getX(0)),r.push(i.getX(e)),r.push(i.getX(e+1));else for(let e=0;e<s;e++)e%2==0?(r.push(i.getX(e)),r.push(i.getX(e+1)),r.push(i.getX(e+2))):(r.push(i.getX(e+2)),r.push(i.getX(e+1)),r.push(i.getX(e)));r.length/3!==s&&console.error("THREE.GLTFLoader.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");const a=e.clone();return a.setIndex(r),a}},function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i(0);const s={type:"change"},r={type:"start"},a={type:"end"};class l extends n.j{constructor(e,t){super(),this.object=e,this.domElement=t,this.domElement.style.touchAction="none",this.enabled=!0,this.target=new n.ob,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:n.E.ROTATE,MIDDLE:n.E.DOLLY,RIGHT:n.E.PAN},this.touches={ONE:n.hb.ROTATE,TWO:n.hb.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return h.phi},this.getAzimuthalAngle=function(){return h.theta},this.getDistance=function(){return this.object.position.distanceTo(this.target)},this.listenToKeyEvents=function(e){e.addEventListener("keydown",X),this._domElementKeyEvents=e},this.saveState=function(){i.target0.copy(i.target),i.position0.copy(i.object.position),i.zoom0=i.object.zoom},this.reset=function(){i.target.copy(i.target0),i.object.position.copy(i.position0),i.object.zoom=i.zoom0,i.object.updateProjectionMatrix(),i.dispatchEvent(s),i.update(),o=l.NONE},this.update=function(){const t=new n.ob,r=(new n.Y).setFromUnitVectors(e.up,new n.ob(0,1,0)),a=r.clone().invert(),m=new n.ob,g=new n.Y,v=2*Math.PI;return function(){const e=i.object.position;t.copy(e).sub(i.target),t.applyQuaternion(r),h.setFromVector3(t),i.autoRotate&&o===l.NONE&&C(2*Math.PI/60/60*i.autoRotateSpeed),i.enableDamping?(h.theta+=d.theta*i.dampingFactor,h.phi+=d.phi*i.dampingFactor):(h.theta+=d.theta,h.phi+=d.phi);let n=i.minAzimuthAngle,y=i.maxAzimuthAngle;return isFinite(n)&&isFinite(y)&&(n<-Math.PI?n+=v:n>Math.PI&&(n-=v),y<-Math.PI?y+=v:y>Math.PI&&(y-=v),h.theta=n<=y?Math.max(n,Math.min(y,h.theta)):h.theta>(n+y)/2?Math.max(n,h.theta):Math.min(y,h.theta)),h.phi=Math.max(i.minPolarAngle,Math.min(i.maxPolarAngle,h.phi)),h.makeSafe(),h.radius*=u,h.radius=Math.max(i.minDistance,Math.min(i.maxDistance,h.radius)),!0===i.enableDamping?i.target.addScaledVector(p,i.dampingFactor):i.target.add(p),t.setFromSpherical(h),t.applyQuaternion(a),e.copy(i.target).add(t),i.object.lookAt(i.target),!0===i.enableDamping?(d.theta*=1-i.dampingFactor,d.phi*=1-i.dampingFactor,p.multiplyScalar(1-i.dampingFactor)):(d.set(0,0,0),p.set(0,0,0)),u=1,!!(f||m.distanceToSquared(i.object.position)>c||8*(1-g.dot(i.object.quaternion))>c)&&(i.dispatchEvent(s),m.copy(i.object.position),g.copy(i.object.quaternion),f=!1,!0)}}(),this.dispose=function(){i.domElement.removeEventListener("contextmenu",q),i.domElement.removeEventListener("pointerdown",H),i.domElement.removeEventListener("pointercancel",j),i.domElement.removeEventListener("wheel",W),i.domElement.removeEventListener("pointermove",U),i.domElement.removeEventListener("pointerup",G),null!==i._domElementKeyEvents&&i._domElementKeyEvents.removeEventListener("keydown",X)};const i=this,l={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let o=l.NONE;const c=1e-6,h=new n.fb,d=new n.fb;let u=1;const p=new n.ob;let f=!1;const m=new n.nb,g=new n.nb,v=new n.nb,y=new n.nb,_=new n.nb,b=new n.nb,w=new n.nb,x=new n.nb,T=new n.nb,S=[],M={};function E(){return Math.pow(.95,i.zoomSpeed)}function C(e){d.theta-=e}function P(e){d.phi-=e}const k=function(){const e=new n.ob;return function(t,i){e.setFromMatrixColumn(i,0),e.multiplyScalar(-t),p.add(e)}}(),A=function(){const e=new n.ob;return function(t,n){!0===i.screenSpacePanning?e.setFromMatrixColumn(n,1):(e.setFromMatrixColumn(n,0),e.crossVectors(i.object.up,e)),e.multiplyScalar(t),p.add(e)}}(),L=function(){const e=new n.ob;return function(t,n){const s=i.domElement;if(i.object.isPerspectiveCamera){const r=i.object.position;e.copy(r).sub(i.target);let a=e.length();a*=Math.tan(i.object.fov/2*Math.PI/180),k(2*t*a/s.clientHeight,i.object.matrix),A(2*n*a/s.clientHeight,i.object.matrix)}else i.object.isOrthographicCamera?(k(t*(i.object.right-i.object.left)/i.object.zoom/s.clientWidth,i.object.matrix),A(n*(i.object.top-i.object.bottom)/i.object.zoom/s.clientHeight,i.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),i.enablePan=!1)}}();function O(e){i.object.isPerspectiveCamera?u/=e:i.object.isOrthographicCamera?(i.object.zoom=Math.max(i.minZoom,Math.min(i.maxZoom,i.object.zoom*e)),i.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),i.enableZoom=!1)}function I(e){i.object.isPerspectiveCamera?u*=e:i.object.isOrthographicCamera?(i.object.zoom=Math.max(i.minZoom,Math.min(i.maxZoom,i.object.zoom/e)),i.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),i.enableZoom=!1)}function D(e){m.set(e.clientX,e.clientY)}function R(e){y.set(e.clientX,e.clientY)}function z(){if(1===S.length)m.set(S[0].pageX,S[0].pageY);else{const e=.5*(S[0].pageX+S[1].pageX),t=.5*(S[0].pageY+S[1].pageY);m.set(e,t)}}function N(){if(1===S.length)y.set(S[0].pageX,S[0].pageY);else{const e=.5*(S[0].pageX+S[1].pageX),t=.5*(S[0].pageY+S[1].pageY);y.set(e,t)}}function $(){const e=S[0].pageX-S[1].pageX,t=S[0].pageY-S[1].pageY,i=Math.sqrt(e*e+t*t);w.set(0,i)}function F(e){if(1==S.length)g.set(e.pageX,e.pageY);else{const t=K(e),i=.5*(e.pageX+t.x),n=.5*(e.pageY+t.y);g.set(i,n)}v.subVectors(g,m).multiplyScalar(i.rotateSpeed);const t=i.domElement;C(2*Math.PI*v.x/t.clientHeight),P(2*Math.PI*v.y/t.clientHeight),m.copy(g)}function B(e){if(1===S.length)_.set(e.pageX,e.pageY);else{const t=K(e),i=.5*(e.pageX+t.x),n=.5*(e.pageY+t.y);_.set(i,n)}b.subVectors(_,y).multiplyScalar(i.panSpeed),L(b.x,b.y),y.copy(_)}function V(e){const t=K(e),n=e.pageX-t.x,s=e.pageY-t.y,r=Math.sqrt(n*n+s*s);x.set(0,r),T.set(0,Math.pow(x.y/w.y,i.zoomSpeed)),O(T.y),w.copy(x)}function H(e){!1!==i.enabled&&(0===S.length&&(i.domElement.setPointerCapture(e.pointerId),i.domElement.addEventListener("pointermove",U),i.domElement.addEventListener("pointerup",G)),function(e){S.push(e)}(e),"touch"===e.pointerType?function(e){switch(Z(e),S.length){case 1:switch(i.touches.ONE){case n.hb.ROTATE:if(!1===i.enableRotate)return;z(),o=l.TOUCH_ROTATE;break;case n.hb.PAN:if(!1===i.enablePan)return;N(),o=l.TOUCH_PAN;break;default:o=l.NONE}break;case 2:switch(i.touches.TWO){case n.hb.DOLLY_PAN:if(!1===i.enableZoom&&!1===i.enablePan)return;i.enableZoom&&$(),i.enablePan&&N(),o=l.TOUCH_DOLLY_PAN;break;case n.hb.DOLLY_ROTATE:if(!1===i.enableZoom&&!1===i.enableRotate)return;i.enableZoom&&$(),i.enableRotate&&z(),o=l.TOUCH_DOLLY_ROTATE;break;default:o=l.NONE}break;default:o=l.NONE}o!==l.NONE&&i.dispatchEvent(r)}(e):function(e){let t;switch(e.button){case 0:t=i.mouseButtons.LEFT;break;case 1:t=i.mouseButtons.MIDDLE;break;case 2:t=i.mouseButtons.RIGHT;break;default:t=-1}switch(t){case n.E.DOLLY:if(!1===i.enableZoom)return;!function(e){w.set(e.clientX,e.clientY)}(e),o=l.DOLLY;break;case n.E.ROTATE:if(e.ctrlKey||e.metaKey||e.shiftKey){if(!1===i.enablePan)return;R(e),o=l.PAN}else{if(!1===i.enableRotate)return;D(e),o=l.ROTATE}break;case n.E.PAN:if(e.ctrlKey||e.metaKey||e.shiftKey){if(!1===i.enableRotate)return;D(e),o=l.ROTATE}else{if(!1===i.enablePan)return;R(e),o=l.PAN}break;default:o=l.NONE}o!==l.NONE&&i.dispatchEvent(r)}(e))}function U(e){!1!==i.enabled&&("touch"===e.pointerType?function(e){switch(Z(e),o){case l.TOUCH_ROTATE:if(!1===i.enableRotate)return;F(e),i.update();break;case l.TOUCH_PAN:if(!1===i.enablePan)return;B(e),i.update();break;case l.TOUCH_DOLLY_PAN:if(!1===i.enableZoom&&!1===i.enablePan)return;!function(e){i.enableZoom&&V(e),i.enablePan&&B(e)}(e),i.update();break;case l.TOUCH_DOLLY_ROTATE:if(!1===i.enableZoom&&!1===i.enableRotate)return;!function(e){i.enableZoom&&V(e),i.enableRotate&&F(e)}(e),i.update();break;default:o=l.NONE}}(e):function(e){switch(o){case l.ROTATE:if(!1===i.enableRotate)return;!function(e){g.set(e.clientX,e.clientY),v.subVectors(g,m).multiplyScalar(i.rotateSpeed);const t=i.domElement;C(2*Math.PI*v.x/t.clientHeight),P(2*Math.PI*v.y/t.clientHeight),m.copy(g),i.update()}(e);break;case l.DOLLY:if(!1===i.enableZoom)return;!function(e){x.set(e.clientX,e.clientY),T.subVectors(x,w),T.y>0?O(E()):T.y<0&&I(E()),w.copy(x),i.update()}(e);break;case l.PAN:if(!1===i.enablePan)return;!function(e){_.set(e.clientX,e.clientY),b.subVectors(_,y).multiplyScalar(i.panSpeed),L(b.x,b.y),y.copy(_),i.update()}(e)}}(e))}function G(e){Y(e),0===S.length&&(i.domElement.releasePointerCapture(e.pointerId),i.domElement.removeEventListener("pointermove",U),i.domElement.removeEventListener("pointerup",G)),i.dispatchEvent(a),o=l.NONE}function j(e){Y(e)}function W(e){!1!==i.enabled&&!1!==i.enableZoom&&o===l.NONE&&(e.preventDefault(),i.dispatchEvent(r),function(e){e.deltaY<0?I(E()):e.deltaY>0&&O(E()),i.update()}(e),i.dispatchEvent(a))}function X(e){!1!==i.enabled&&!1!==i.enablePan&&function(e){let t=!1;switch(e.code){case i.keys.UP:L(0,i.keyPanSpeed),t=!0;break;case i.keys.BOTTOM:L(0,-i.keyPanSpeed),t=!0;break;case i.keys.LEFT:L(i.keyPanSpeed,0),t=!0;break;case i.keys.RIGHT:L(-i.keyPanSpeed,0),t=!0}t&&(e.preventDefault(),i.update())}(e)}function q(e){!1!==i.enabled&&e.preventDefault()}function Y(e){delete M[e.pointerId];for(let t=0;t<S.length;t++)if(S[t].pointerId==e.pointerId)return void S.splice(t,1)}function Z(e){let t=M[e.pointerId];void 0===t&&(t=new n.nb,M[e.pointerId]=t),t.set(e.pageX,e.pageY)}function K(e){const t=e.pointerId===S[0].pointerId?S[1]:S[0];return M[t.pointerId]}i.domElement.addEventListener("contextmenu",q),i.domElement.addEventListener("pointerdown",H),i.domElement.addEventListener("pointercancel",j),i.domElement.addEventListener("wheel",W,{passive:!1}),this.update()}}},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.$filterContainer=this.$block.find(".news-filters-container"),this.$filterCategory=this.$block.find('[name="news-filters-choice"]'),this.$swiper=this.$block.find(".js-slider-articles"),this.$swiperWrapper=this.$swiper.find(".swiper-wrapper"),this.ajaxInProgress=!1,this.init()};n.prototype.init=function(){var t=this;t.$filterCategory.on("change",(function(){t.filter(e(this).val())})),t.$filterContainer.on("module-slider-news-filters-change",(function(){t.$filterCategory=t.$block.find('[name="news-filters-choice"]'),t.$filterCategory.on("change",(function(){t.filter(e(this).val())}))}))},n.prototype.filter=function(t){var i=this;i.ajaxInProgress=!0,i.$swiper.trigger("swiper:before-content-changed"),e.ajax({url:window.sage.ajax["block.slider-news.category.load"],method:"POST",data:{category:t},success:function(e){i.ajaxInProgress=!1,i.$swiperWrapper.html(e),i.$swiper.trigger("swiper:content-changed")}}).fail((function(){i.ajaxInProgress=!1}))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e,n){i.d(t,"a",(function(){return r}));var s=i(5),r=function(t,i){this.$module=t instanceof e?t:n(t),this.index=i||0,this.$slider=this.$module.find(".js-slider-events"),this.sidebarEnbale=0!==n(".page-content-wrapper.with-sidebar").length,this.isAxians=!0===n("body").hasClass("theme-axians"),this.init()};r.prototype.init=function(){if(0===this.$module.length&&0===this.$slider.length)return!1;var e={mobile:1,portrait:2};e.landscape=!0===this.sidebarEnbale?1:3,e.desktop=!0===this.sidebarEnbale?2:3;var t={loop:!0,speed:500,slidesPerView:e.mobile,spaceBetween:15,pagination:{type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{600:{slidesPerView:e.portrait,spaceBetween:20},900:{slidesPerView:e.landscape,spaceBetween:30},1200:{slidesPerView:e.desktop,spaceBetween:40}}};t.navigation={nextEl:".slider-events-control.swiper-button-next-"+(this.index+1),prevEl:".slider-events-control.swiper-button-prev-"+(this.index+1)},t.pagination.el=".slider-events-control.swiper-pagination-"+(this.index+1),this.$module.find(".arrows-wrapper").find(".swiper-button-next").addClass("swiper-button-next-"+(this.index+1)),this.$module.find(".arrows-wrapper").find(".swiper-button-prev").addClass("swiper-button-prev-"+(this.index+1)),this.$module.find(".swiper-pagination").addClass("swiper-pagination-"+(this.index+1)),!0===this.$slider.data("swiper-autoplay")&&(t.autoplay={delay:6e3,disableOnInteraction:!1});var i=new s.default(this.$slider,t);this.$slider.data("swiper",i)}}).call(this,i(2),i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(4),s=i(5),r={init:function(){if(0===e(".slider-videos").length)return!1;var t=Object(n.e)();e(".module-slider-videos").each((function(){var i,r=this,a={pagination:this.querySelector(".swp-pagination"),navigation:{next:this.querySelector(".swp-arrow.--next"),prev:this.querySelector(".swp-arrow.--prev")},slider:this.querySelector(".slider-videos")};a.count=Number(a.slider.getAttribute("data-count")),a.loop=a.count>=t,i=document.body.classList.contains("with-sidebar")?{500:{loop:a.loop,slidesPerView:2,spaceBetween:20},800:{loop:a.loop,slidesPerView:2,spaceBetween:20},900:{loop:a.loop,slidesPerView:2,spaceBetween:20},1200:{loop:a.loop,slidesPerView:2,spaceBetween:20}}:{500:{loop:a.loop,slidesPerView:2,spaceBetween:20},700:{loop:a.loop,slidesPerView:2,spaceBetween:20},900:{loop:a.loop,slidesPerView:2,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:40}};var l={autoHeight:!(!document.body.classList.contains("theme-axians")&&!document.body.classList.contains("theme-vinci-facilities")),loop:a.loop,speed:500,slidesPerView:1,spaceBetween:0,parallax:!0,navigation:{nextEl:a.navigation.next,prevEl:a.navigation.prev},pagination:{el:a.pagination,type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:i};if("true"===a.slider.getAttribute("data-swiper-autoplay")){var o=parseFloat(a.slider.getAttribute("data-swiper-autoplay-delay"));l.autoplay={delay:1e3*o,disableOnInteraction:!1}}a.remove_duplication=function(t){if(null==t)return!1;t.slides.each((function(t,i){return!!e(i).hasClass("swiper-slide-duplicate")&&e(i).hide()}))},a.show_duplication=function(t){if(null==t)return!1;t.slides.each((function(t,i){return!!e(i).hasClass("swiper-slide-duplicate")&&e(i).show()}))},a.init=function(e){e=e||null,t=Object(n.e)(),a.count>=t?r.classList.remove("no-slider"):r.classList.add("no-slider"),null!==e&&(e.params.loop=a.count>=t,e.update())},a.init(),a.carousel=new s.default(a.slider,l),a.carousel.update(),Object(n.a)(a.carousel.pagination.$el,a.count),a.carousel.on("breakpoint",(function(){a.init(a.carousel),Object(n.a)(a.carousel.pagination.$el,a.count)}))}))}}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(4),s=i(5),r={init:function(){if(0===e(".js-slider-cards").length)return!1;var t=Object(n.c)();e(".module-slider-cards").each((function(){var i,r=this,a={pagination:this.querySelector(".swp-pagination"),navigation:{next:this.querySelector(".swp-arrow.--next"),prev:this.querySelector(".swp-arrow.--prev")},slider:this.querySelector(".js-slider-cards")};a.count=Number(a.slider.getAttribute("data-count"))||a.slider.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)").length,a.loop=a.count>=t,i=document.body.classList.contains("with-sidebar")?{600:{loop:a.loop,slidesPerView:2,spaceBetween:20},900:{loop:a.loop,slidesPerView:2,spaceBetween:20},1200:{loop:a.loop,slidesPerView:2,spaceBetween:20}}:{600:{loop:a.loop,slidesPerView:1,spaceBetween:20},900:{loop:a.loop,slidesPerView:3,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:40}},e("body").hasClass("theme-axians")&&(l={slidesPerView:2});var l={loop:a.loop,speed:500,slidesPerView:1,spaceBetween:0,parallax:!0,navigation:{nextEl:a.navigation.next,prevEl:a.navigation.prev},pagination:{el:a.pagination,type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:i};if("true"===a.slider.getAttribute("data-swiper-autoplay")){var o=parseFloat(a.slider.getAttribute("data-swiper-autoplay-delay"));l.autoplay={delay:1e3*o,disableOnInteraction:!1}}a.remove_duplication=function(t){if(null==t)return!1;t.slides.each((function(t,i){return!!e(i).hasClass("swiper-slide-duplicate")&&e(i).hide()}))},a.show_duplication=function(t){if(null==t)return!1;t.slides.each((function(t,i){return!!e(i).hasClass("swiper-slide-duplicate")&&e(i).show()}))},a.init=function(e){e=e||null,t=Object(n.c)(),a.count>=t?r.classList.remove("no-slider"):r.classList.add("no-slider"),null!==e&&(e.params.loop=a.count>=t,e.update())},a.init(),a.carousel=new s.default(a.slider,l),a.carousel.update(),Object(n.a)(a.carousel.pagination.$el,a.count),a.carousel.on("breakpoint",(function(){a.init(a.carousel),Object(n.a)(a.carousel.pagination.$el,a.count)}))}))}}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.ajaxInProgress=!1,this.$dataElement=this.$block.find("[data-js-loadmore-tae=1]"),this.$gridElement=this.$block.find(".section-grid"),this.postsIds=!1,this.currentPage=!1,this.$dataElement.length>0&&(this.postsIds=this.$dataElement.data("allpostsids"),this.currentPage=this.$dataElement.data("page")),this.init()};n.prototype.init=function(){var e=this;e.$dataElement.on("click",(function(){e.ajaxInProgress||e.loadTaes({ids:e.postsIds,pagetoload:e.currentPage})}))},n.prototype.loadTaes=function(t){var i=this;i.ajaxInProgress=!0,e.ajax({url:window.sage.ajax["block.taeposts.posts.load"],method:"POST",data:t,dataType:"json",success:function(e){i.ajaxInProgress=!1,!1!==e&&void 0!==e.render&&(i.currentPage++,i.$dataElement.data("page",i.currentPage),i.$gridElement.append(e.render),e.islastpage&&i.$dataElement.hide())}}).fail((function(){i.ajaxInProgress=!1}))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.$linksList=this.$block.find(".list"),this.$map=this.$block.find(".map.vector-map"),this.mapObj=null,this.zoom=this.$map.data("zoom"),this.countries=this.$map.data("countries"),this.mapToUse="world_mill_en",this.popupLinkTemplate=this.$block.find(".js_popup .btn").clone().wrap("<div/>").parent().html(),"europe"===this.zoom&&(this.mapToUse="europe_mill"),this.vectorMapConfig=window._vectorMapConfig,this.init()};n.prototype.init=function(){var t=this;t.initMap(),t.$linksList.find(".link").on("mouseenter",(function(){var i=e(this).data("country");t.mapObj.setSelectedRegions(i)})).on("mouseleave",(function(){t.mapObj.clearSelectedRegions()})),e(".js_close-popup").on("click",(function(){e(".js_popup").removeClass("active")}))},n.prototype.initMap=function(){var t=this;t.$map.vectorMap({map:t.mapToUse,zoomOnScroll:!1,panOnDrag:!0,series:{regions:[{values:t.countries,scale:t.vectorMapConfig.scale,normalizeFunction:"polynomial"}]},regionStyle:t.vectorMapConfig.regionStyle,regionLabelStyle:t.vectorMapConfig.regionLabelStyle,onRegionClick:function(i,n){var s=e('[data-country="'+n+'"]').attr("href"),r=e('[data-country="'+n+'"]').attr("target");if(e("body").hasClass("theme-axians")){var a=e('[data-country="'+n+'"]').attr("data-img"),l=e('[data-country="'+n+'"]').html(),o=e(".js_popup");o.find(".btn").remove(),o.find(e(".illus")).attr("src",a),o.find(e(".title")).html(l),void 0!==s&&(o.append(t.popupLinkTemplate),o.find(".btn").attr("href",s).attr("target",r));var c=event.pageX,h=event.pageY;c+15+o.outerWidth(!0)>e(window).width()-15?o.css("left",c-e(".module-implantations .right-block").offset().left-o.outerWidth(!0)-15):o.css("left",c-e(".module-implantations .right-block").offset().left+15),o.css("top",h-e(".module-implantations .right-block").offset().top-30),o.addClass("active")}else void 0!==s&&("_blank"===r?window.open(s,"_blank"):document.location.href=s)},onRegionOver:function(i,n){if(!(n in t.countries))return i.preventDefault(),!1;e('[data-country="'+n+'"]').addClass("over"),document.body.style.cursor="pointer"},onRegionOut:function(t,i){e('[data-country="'+i+'"]').removeClass("over"),document.body.style.cursor="default"},onRegionTipShow:function(i,n,s){return!e("body").hasClass("theme-axians")&&(s in t.countries?void n.html(e('[data-country="'+s+'"]').html()):(i.preventDefault(),!1))}}),this.mapObj=this.$map.vectorMap("get","mapObject")}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.$filterActivitySector=this.$block.find('[id^="activity-sector"]'),this.filterActivitySectorDefaultText=this.$filterActivitySector.data("default-text"),this.$filterRegion=this.$block.find('[id^="region"]'),this.filterRegionDefaultText=this.$filterRegion.data("default-text"),this.$mapContainer=this.$block.find(".map-container"),this.$mapPlaces=this.$block.find("#map-places"),this.ajaxInProgress=!1,this.init()};n.prototype.init=function(){var t=this;t.$filterActivitySector.select2({dropdownCssClass:"module-implantations-sites",placeholder:t.filterActivitySectorDefaultText,templateResult:function(t){return t.id?e('<div><span style="'+e(t.element).data("dotstyle")+'"></span> '+t.text+"</div>"):t.text}}),t.$filterRegion.select2({dropdownCssClass:"module-implantations-sites",placeholder:t.filterRegionDefaultText}),t.$filterActivitySector.on("change",(function(){t.filter()})),t.$filterRegion.on("change",(function(){t.filter()}))},n.prototype.filter=function(){var t=this;t.ajaxInProgress=!0,e.ajax({url:window.sage.ajax["block.implantation.sites.load"],method:"POST",data:{limitedpostsids:t.$mapContainer.data("limitedpostsids"),filters:{activitySector:this.$filterActivitySector.val(),region:this.$filterRegion.val()}},dataType:"json",success:function(i){t.ajaxInProgress=!1,t.$mapPlaces.html(i.html),e(window).trigger("app.component.gmap.reload")}}).fail((function(){t.ajaxInProgress=!1}))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){var t=this;this.$block=e,this.formId=this.$block.data("gf-id"),this.unloadControl=this.$block.data("unload-control"),this.unloadControl=!!this.unloadControl&&this.unloadControl,this.$form=this.$block.find("form"),this.submited=!1,setTimeout((function(){t.serialized=t.$form.serialize()}),500),this.init()};n.prototype.init=function(){var t=this;t.unloadControl&&t.formId&&(e(document).on("gform_post_render",(function(e,i){i==t.formId&&setTimeout((function(){t.serialized=t.$form.serialize()}),500)})),window.onbeforeunload=function(){var e=t.$form.serialize(),i=new RegExp("&g-recaptcha-response=","g");return t.serialized=t.serialized.replace(i,""),e=e.replace(i,""),!t.submited&&e!=t.serialized||null}),t.$form.on("submit",(function(){t.submited=!0}))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(12),s=i.n(n),r=function(e,t){this.index=void 0===t?0:t,this.$block=e,this.$form=this.$block.find("form"),this.$addressInput=this.$block.find("#address"),this.$sectorInput=this.$block.find("#filter-sector"),this.$regionInput=this.$block.find("#filter-region"),this.$radiusInput=this.$block.find(".search-near-filter-radius"),this.$slider=this.$block.find("#result-slider"),this.slider_id="#"+this.$slider.prop("id"),this.$sliderControls=this.$block.find("#slider-controls"),this.$noResult=this.$block.find("#no-result"),this.$addressInvalid=this.$block.find("#address-invalid"),this.geocoder=window.google?new window.google.maps.Geocoder:null,this.searchNearLat,this.searchNearLng,this.ajaxInProgress=!1,this.init(),this.slide_results()};r.prototype.init=function(){var e=this;e.$form.on("submit",(function(t){t.preventDefault(),e.ajaxInProgress||e.submit()}))},r.prototype.searchAddress=function(e){var t=this,i=t.$addressInput.val();i?t.geocoder.geocode({address:i},(function(i,n){n==window.google.maps.GeocoderStatus.OK?(t.searchNearLat=i[0].geometry.location.lat(),t.searchNearLng=i[0].geometry.location.lng()):(t.searchNearLat="",t.searchNearLng=""),e()})):(t.searchNearLat="",t.searchNearLng="",e())},r.prototype.submit=function(){var t=this;t.ajaxInProgress=!0,t.$block.addClass("loading"),t.$slider.hide(),t.$sliderControls.hide(),t.$noResult.hide(),t.$addressInvalid.hide(),t.searchAddress((function(){e.ajax({url:window.sage.ajax["block.search-near.sites.load"],method:"POST",data:{address:{lat:t.searchNearLat,lng:t.searchNearLng},activitySector:t.$sectorInput.val(),region:t.$regionInput.val(),radius:t.$radiusInput.data("value")},success:function(e){e.html?(t.$slider.find(".slider-wrapper").html(e.html),t.$slider.show(),t.$sliderControls.show(),setTimeout((function(){t.$slider.data("swiper").update()}),200)):t.$noResult.show(),t.ajaxInProgress=!1,t.$block.removeClass("loading")}}).fail((function(){t.ajaxInProgress=!1,t.$block.removeClass("loading")}))}))},r.prototype.slide_results=function(){this.$slider.find("#slider-controls").children(".swiper-button-next").addClass("swiper-button-next-"+(this.index+1)),this.$slider.find("#slider-controls").children(".swiper-button-prev").addClass("swiper-button-prev-"+(this.index+1)),this.$slider.find("#slider-controls").children(".swiper-pagination").addClass("swiper-pagination-"+(this.index+1));var e={loop:!0,speed:500,autoHeight:!0,slidesPerView:1,navigation:{nextEl:".slider-search-near-results-arrow.swiper-button-next-"+(this.index+1),prevEl:".slider-search-near-results-arrow.swiper-button-prev-"+(this.index+1)},pagination:{el:".slider-search-near-results-pagination.swiper-pagination-"+(this.index+1),type:"fraction",clickable:!0,bulletActiveClass:"current"}},t=new s.a(this.slider_id,e);this.$slider.data("swiper",t)}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.$list=this.$block.find(".list-posts"),this.$btnSeeMore=this.$block.find(".btn-more"),this.ajaxInProgress=!1,this.init()};n.prototype.init=function(){var e=this;e.$btnSeeMore.on("click",(function(){e.loadMore()}))},n.prototype.loadMore=function(){var t=this;t.$list.find("li:hidden").slice(0,2*this.$block.data("ppp")).each((function(i){var n=e(this).find(".cover")[0];""==n.style.backgroundImage&&(n.style.backgroundImage="url('"+n.getAttribute("data-img")+"')"),i<=t.$block.data("ppp")-1&&e(this).show(0)})),0==t.$list.find("li:hidden").length&&t.$btnSeeMore.closest(".btn-more-wrapper").hide()}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.formId=this.$block.data("form-id"),this.$form=this.$block.find("#form"),this.$btnDisplayForm=this.$block.find("#display-form"),this.$btnDownloadFile=this.$block.find("#download-file"),this.init()};n.prototype.init=function(){var t=this;t.$btnDisplayForm.on("click",(function(){t.grpd(),t.recaptcha(),t.$form.slideDown();var i=t.$form.offset().top-120;return e("html,body").stop().animate({scrollTop:i},1e3),!1})),e(document).on("gform_confirmation_loaded",(function(e,i){i==t.formId&&(t.$btnDisplayForm.slideUp(),t.$form.remove(),t.$btnDownloadFile.show(),window.location=t.$btnDownloadFile.attr("href"))}))},n.prototype.recaptcha=function(){var e=this.$form.find(".gfield.recaptcha");if(0===e.length)return!1;e.closest(".gform-body").addClass("has-recaptcha")},n.prototype.grpd=function(){var e=this.$form.find(".ginput_container_consent");if(0===e.length)return!1;e.parent().addClass("grpd")}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){var i=function(){};i.prototype.init=function(){var t=e('[data-js="ics-download"]');t.length>0&&t.each((function(){var t=Intl.DateTimeFormat().resolvedOptions().timeZone;e(this).attr("href",e(this).attr("href")+"?tz="+t)}))},t.a=new i}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(6),s=i.n(n),r=function(e){this.$page=e,this.init()};r.prototype.init=function(){function t(t){e("html").hasClass("isMobile")||t.next().length&&(t.next().stop().fadeIn(300),t.addClass("open"))}function i(t,i,n){e("html").hasClass("isMobile")||(e(".single-segment .segments-menu-container .item.has-chidlren > .link-lvl1.open").removeClass("open"),t.next().stop().fadeOut(300,(function(){i&&n&&i(n)})))}e(".single-segment #open-segments-menu").on("click",(function(t){e(t.currentTarget).hasClass("expanded")?(e(".single-segment .segments-menu-container .menu-wrapper").stop().slideUp(),e(t.currentTarget).removeClass("expanded")):(e(".single-segment .segments-menu-container .menu-wrapper").stop().slideDown(),e(t.currentTarget).addClass("expanded"))})),e(".single-segment .submenu-toggler").on("click",(function(t){t.preventDefault();var i=e(this),n=i.closest(".menu").find(".submenu-toggler.expanded"),s=!!i.hasClass("expanded"),r=!!n.length;s?(i.removeClass("expanded"),i.parent().next().stop().slideUp(500)):r?(n.removeClass("expanded"),n.parent().next().stop().slideUp(500,(function(){i.addClass("expanded"),i.parent().next().stop().slideDown(500)}))):(i.addClass("expanded"),i.parent().next().stop().slideDown(500))})),e(".single-segment .segments-menu-container .item.has-chidlren > .link-lvl1").on("mouseenter",(function(){var n=e(".single-segment .segments-menu-container .item.has-chidlren > .link-lvl1.open");n.length?e(this).hasClass("open")||i(n,t,e(this)):t(e(this))})),e(".single-segment .segments-menu-container .item.has-chidlren > .link-lvl1").on("mouseleave",(function(){e(this).next().is(":hover")||i(e(this))})),e(".single-segment .segments-menu-container .item.has-chidlren > .link-lvl1 + .sub-menu").on("mouseleave",(function(){e(this).prev().is(":hover")||i(e(this).prev())})),s.a.register("screen and (max-width: 899px)",{match:function(){e(".single-segment .segments-menu-container .link-lvl1").removeClass("open"),e(".single-segment .segments-menu-container .link-lvl1").next().css({display:"",opacity:""}),e(".single-segment .segments-menu-container .link-lvl1").focusout()},unmatch:function(){e(".single-segment .segments-menu-container .submenu-toggler").removeClass("expanded"),e(".single-segment .segments-menu-container .sub-menu").css({display:"",opacity:""}),e(".single-segment .segments-menu-container .link-lvl1").focusout()}})}}).call(this,i(2))},function(e,t,i){var n,s,r;/*! nouislider - 14.7.0 - 4/6/2021 */s=[],void 0===(r="function"==typeof(n=function(){"use strict";var e="14.7.0";function t(e){e.parentElement.removeChild(e)}function i(e){return null!=e}function n(e){e.preventDefault()}function s(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function r(e,t,i){0<i&&(c(e,t),setTimeout((function(){h(e,t)}),i))}function a(e){return Math.max(Math.min(e,100),0)}function l(e){return Array.isArray(e)?e:[e]}function o(e){var t=(e=String(e)).split(".");return 1<t.length?t[1].length:0}function c(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function h(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function d(e){var t=void 0!==window.pageXOffset,i="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:i?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:i?e.documentElement.scrollTop:e.body.scrollTop}}function u(e,t){return 100/(t-e)}function p(e,t,i){return 100*t/(e[i+1]-e[i])}function f(e,t){for(var i=1;e>=t[i];)i+=1;return i}function m(e,t,i){var n;if("number"==typeof t&&(t=[t]),!Array.isArray(t))throw new Error("noUiSlider (14.7.0): 'range' contains invalid value.");if(!s(n="min"===e?0:"max"===e?100:parseFloat(e))||!s(t[0]))throw new Error("noUiSlider (14.7.0): 'range' value isn't numeric.");i.xPct.push(n),i.xVal.push(t[0]),n?i.xSteps.push(!isNaN(t[1])&&t[1]):isNaN(t[1])||(i.xSteps[0]=t[1]),i.xHighestCompleteStep.push(0)}function g(e,t,i){if(t)if(i.xVal[e]!==i.xVal[e+1]){i.xSteps[e]=p([i.xVal[e],i.xVal[e+1]],t,0)/u(i.xPct[e],i.xPct[e+1]);var n=(i.xVal[e+1]-i.xVal[e])/i.xNumSteps[e],s=Math.ceil(Number(n.toFixed(3))-1),r=i.xVal[e]+i.xNumSteps[e]*s;i.xHighestCompleteStep[e]=r}else i.xSteps[e]=i.xHighestCompleteStep[e]=i.xVal[e]}function v(e,t,i){var n;this.xPct=[],this.xVal=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=t;var s=[];for(n in e)e.hasOwnProperty(n)&&s.push([e[n],n]);for(s.length&&"object"==typeof s[0][0]?s.sort((function(e,t){return e[0][0]-t[0][0]})):s.sort((function(e,t){return e[0]-t[0]})),n=0;n<s.length;n++)m(s[n][1],s[n][0],this);for(this.xNumSteps=this.xSteps.slice(0),n=0;n<this.xNumSteps.length;n++)g(n,this.xNumSteps[n],this)}v.prototype.getDistance=function(e){var t,i=[];for(t=0;t<this.xNumSteps.length-1;t++){var n=this.xNumSteps[t];if(n&&e/n%1!=0)throw new Error("noUiSlider (14.7.0): 'limit', 'margin' and 'padding' of "+this.xPct[t]+"% range must be divisible by step.");i[t]=p(this.xVal,e,t)}return i},v.prototype.getAbsoluteDistance=function(e,t,i){var n,s=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[s+1];)s++;else e===this.xPct[this.xPct.length-1]&&(s=this.xPct.length-2);i||e!==this.xPct[s+1]||s++;var r=1,a=t[s],l=0,o=0,c=0,h=0;for(n=i?(e-this.xPct[s])/(this.xPct[s+1]-this.xPct[s]):(this.xPct[s+1]-e)/(this.xPct[s+1]-this.xPct[s]);0<a;)l=this.xPct[s+1+h]-this.xPct[s+h],100<t[s+h]*r+100-100*n?(o=l*n,r=(a-100*n)/t[s+h],n=1):(o=t[s+h]*l/100*r,r=0),i?(c-=o,1<=this.xPct.length+h&&h--):(c+=o,1<=this.xPct.length-h&&h++),a=t[s+h]*r;return e+c},v.prototype.toStepping=function(e){return function(e,t,i){if(i>=e.slice(-1)[0])return 100;var n,s,r=f(i,e),a=e[r-1],l=e[r],o=t[r-1],c=t[r];return o+(s=i,p(n=[a,l],n[0]<0?s+Math.abs(n[0]):s-n[0],0)/u(o,c))}(this.xVal,this.xPct,e)},v.prototype.fromStepping=function(e){return function(e,t,i){if(100<=i)return e.slice(-1)[0];var n,s=f(i,t),r=e[s-1],a=e[s],l=t[s-1];return n=[r,a],(i-l)*u(l,t[s])*(n[1]-n[0])/100+n[0]}(this.xVal,this.xPct,e)},v.prototype.getStep=function(e){return function(e,t,i,n){if(100===n)return n;var s,r,a=f(n,e),l=e[a-1],o=e[a];return i?(o-l)/2<n-l?o:l:t[a-1]?e[a-1]+(s=n-e[a-1],r=t[a-1],Math.round(s/r)*r):n}(this.xPct,this.xSteps,this.snap,e)},v.prototype.getDefaultStep=function(e,t,i){var n=f(e,this.xPct);return(100===e||t&&e===this.xPct[n-1])&&(n=Math.max(n-1,1)),(this.xVal[n]-this.xVal[n-1])/i},v.prototype.getNearbySteps=function(e){var t=f(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},v.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(o);return Math.max.apply(null,e)},v.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var y={to:function(e){return void 0!==e&&e.toFixed(2)},from:Number},_={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},b=".__tooltips",w=".__aria";function x(e){if("object"==typeof(t=e)&&"function"==typeof t.to&&"function"==typeof t.from)return!0;var t;throw new Error("noUiSlider (14.7.0): 'format' requires 'to' and 'from' methods.")}function T(e,t){if(!s(t))throw new Error("noUiSlider (14.7.0): 'step' is not numeric.");e.singleStep=t}function S(e,t){if(!s(t))throw new Error("noUiSlider (14.7.0): 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function M(e,t){if(!s(t))throw new Error("noUiSlider (14.7.0): 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function E(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider (14.7.0): 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider (14.7.0): Missing 'min' or 'max' in 'range'.");if(t.min===t.max)throw new Error("noUiSlider (14.7.0): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new v(t,e.snap,e.singleStep)}function C(e,t){if(t=l(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider (14.7.0): 'start' option is incorrect.");e.handles=t.length,e.start=t}function P(e,t){if("boolean"!=typeof(e.snap=t))throw new Error("noUiSlider (14.7.0): 'snap' option must be a boolean.")}function k(e,t){if("boolean"!=typeof(e.animate=t))throw new Error("noUiSlider (14.7.0): 'animate' option must be a boolean.")}function A(e,t){if("number"!=typeof(e.animationDuration=t))throw new Error("noUiSlider (14.7.0): 'animationDuration' option must be a number.")}function L(e,t){var i,n=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(i=1;i<e.handles;i++)n.push(t);n.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider (14.7.0): 'connect' option doesn't match handle count.");n=t}e.connect=n}function O(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider (14.7.0): 'orientation' option is invalid.")}}function I(e,t){if(!s(t))throw new Error("noUiSlider (14.7.0): 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function D(e,t){if(!s(t))throw new Error("noUiSlider (14.7.0): 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider (14.7.0): 'limit' option is only supported on linear sliders with 2 or more handles.")}function R(e,t){var i;if(!s(t)&&!Array.isArray(t))throw new Error("noUiSlider (14.7.0): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!s(t[0])&&!s(t[1]))throw new Error("noUiSlider (14.7.0): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],i=0;i<e.spectrum.xNumSteps.length-1;i++)if(e.padding[0][i]<0||e.padding[1][i]<0)throw new Error("noUiSlider (14.7.0): 'padding' option must be a positive number(s).");var n=t[0]+t[1],r=e.spectrum.xVal[0];if(1<n/(e.spectrum.xVal[e.spectrum.xVal.length-1]-r))throw new Error("noUiSlider (14.7.0): 'padding' option must not exceed 100% of the range.")}}function z(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider (14.7.0): 'direction' option was not recognized.")}}function N(e,t){if("string"!=typeof t)throw new Error("noUiSlider (14.7.0): 'behaviour' must be a string containing options.");var i=0<=t.indexOf("tap"),n=0<=t.indexOf("drag"),s=0<=t.indexOf("fixed"),r=0<=t.indexOf("snap"),a=0<=t.indexOf("hover"),l=0<=t.indexOf("unconstrained");if(s){if(2!==e.handles)throw new Error("noUiSlider (14.7.0): 'fixed' behaviour must be used with 2 handles");I(e,e.start[1]-e.start[0])}if(l&&(e.margin||e.limit))throw new Error("noUiSlider (14.7.0): 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:i||r,drag:n,fixed:s,snap:r,hover:a,unconstrained:l}}function $(e,t){if(!1!==t)if(!0===t){e.tooltips=[];for(var i=0;i<e.handles;i++)e.tooltips.push(!0)}else{if(e.tooltips=l(t),e.tooltips.length!==e.handles)throw new Error("noUiSlider (14.7.0): must pass a formatter for all handles.");e.tooltips.forEach((function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider (14.7.0): 'tooltips' must be passed a formatter or 'false'.")}))}}function F(e,t){x(e.ariaFormat=t)}function B(e,t){x(e.format=t)}function V(e,t){if("boolean"!=typeof(e.keyboardSupport=t))throw new Error("noUiSlider (14.7.0): 'keyboardSupport' option must be a boolean.")}function H(e,t){e.documentElement=t}function U(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider (14.7.0): 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function G(e,t){if("object"!=typeof t)throw new Error("noUiSlider (14.7.0): 'cssClasses' must be an object.");if("string"==typeof e.cssPrefix)for(var i in e.cssClasses={},t)t.hasOwnProperty(i)&&(e.cssClasses[i]=e.cssPrefix+t[i]);else e.cssClasses=t}function j(e){var t={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:y,format:y},n={step:{r:!1,t:T},keyboardPageMultiplier:{r:!1,t:S},keyboardDefaultStep:{r:!1,t:M},start:{r:!0,t:C},connect:{r:!0,t:L},direction:{r:!0,t:z},snap:{r:!1,t:P},animate:{r:!1,t:k},animationDuration:{r:!1,t:A},range:{r:!0,t:E},orientation:{r:!1,t:O},margin:{r:!1,t:I},limit:{r:!1,t:D},padding:{r:!1,t:R},behaviour:{r:!0,t:N},ariaFormat:{r:!1,t:F},format:{r:!1,t:B},tooltips:{r:!1,t:$},keyboardSupport:{r:!0,t:V},documentElement:{r:!1,t:H},cssPrefix:{r:!0,t:U},cssClasses:{r:!0,t:G}},s={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:_,keyboardPageMultiplier:5,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach((function(r){if(!i(e[r])&&void 0===s[r]){if(n[r].r)throw new Error("noUiSlider (14.7.0): '"+r+"' is required.");return!0}n[r].t(t,i(e[r])?e[r]:s[r])})),t.pips=e.pips;var r=document.createElement("div"),a=void 0!==r.style.msTransform,l=void 0!==r.style.transform;return t.transformRule=l?"transform":a?"msTransform":"webkitTransform",t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}return{__spectrum:v,version:e,cssClasses:_,create:function(e,s){if(!e||!e.nodeName)throw new Error("noUiSlider (14.7.0): create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider (14.7.0): Slider was already initialized.");var o=function(e,s,o){var u,p,f,m,g,v,y,_,x=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},T=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),S=e,M=s.spectrum,E=[],C=[],P=[],k=0,A={},L=e.ownerDocument,O=s.documentElement||L.documentElement,I=L.body,D="rtl"===L.dir||1===s.ort?0:100;function R(e,t){var i=L.createElement("div");return t&&c(i,t),e.appendChild(i),i}function z(e,t){var i=R(e,s.cssClasses.origin),n=R(i,s.cssClasses.handle);return R(n,s.cssClasses.touchArea),n.setAttribute("data-handle",t),s.keyboardSupport&&(n.setAttribute("tabindex","0"),n.addEventListener("keydown",(function(e){return function(e,t){if(F()||B(t))return!1;var i=["Left","Right"],n=["Down","Up"],r=["PageDown","PageUp"],a=["Home","End"];s.dir&&!s.ort?i.reverse():s.ort&&!s.dir&&(n.reverse(),r.reverse());var l,o=e.key.replace("Arrow",""),c=o===r[0],h=o===r[1],d=o===n[0]||o===i[0]||c,u=o===n[1]||o===i[1]||h,p=o===a[1];if(!(d||u||o===a[0]||p))return!0;if(e.preventDefault(),u||d){var f=s.keyboardPageMultiplier,m=d?0:1,g=pe(t)[m];if(null===g)return!1;!1===g&&(g=M.getDefaultStep(C[t],d,s.keyboardDefaultStep)),(h||c)&&(g*=f),g=Math.max(g,1e-7),g*=d?-1:1,l=E[t]+g}else l=p?s.spectrum.xVal[s.spectrum.xVal.length-1]:s.spectrum.xVal[0];return oe(t,M.toStepping(l),!0,!0),ie("slide",t),ie("update",t),ie("change",t),ie("set",t),!1}(e,t)}))),n.setAttribute("role","slider"),n.setAttribute("aria-orientation",s.ort?"vertical":"horizontal"),0===t?c(n,s.cssClasses.handleLower):t===s.handles-1&&c(n,s.cssClasses.handleUpper),i}function N(e,t){return!!t&&R(e,s.cssClasses.connect)}function $(e,t){return!!s.tooltips[t]&&R(e.firstChild,s.cssClasses.tooltip)}function F(){return S.hasAttribute("disabled")}function B(e){return p[e].hasAttribute("disabled")}function V(){g&&(te("update"+b),g.forEach((function(e){e&&t(e)})),g=null)}function H(){V(),g=p.map($),ee("update"+b,(function(e,t,i){if(g[t]){var n=e[t];!0!==s.tooltips[t]&&(n=s.tooltips[t].to(i[t])),g[t].innerHTML=n}}))}function U(e,t,i){var n=L.createElement("div"),r=[];r[0]=s.cssClasses.valueNormal,r[1]=s.cssClasses.valueLarge,r[2]=s.cssClasses.valueSub;var a=[];a[0]=s.cssClasses.markerNormal,a[1]=s.cssClasses.markerLarge,a[2]=s.cssClasses.markerSub;var l=[s.cssClasses.valueHorizontal,s.cssClasses.valueVertical],o=[s.cssClasses.markerHorizontal,s.cssClasses.markerVertical];function h(e,t){var i=t===s.cssClasses.value,n=i?r:a;return t+" "+(i?l:o)[s.ort]+" "+n[e]}return c(n,s.cssClasses.pips),c(n,0===s.ort?s.cssClasses.pipsHorizontal:s.cssClasses.pipsVertical),Object.keys(e).forEach((function(r){!function(e,r,a){if(-1!==(a=t?t(r,a):a)){var l=R(n,!1);l.className=h(a,s.cssClasses.marker),l.style[s.style]=e+"%",0<a&&((l=R(n,!1)).className=h(a,s.cssClasses.value),l.setAttribute("data-value",r),l.style[s.style]=e+"%",l.innerHTML=i.to(r))}}(r,e[r][0],e[r][1])})),n}function G(){m&&(t(m),m=null)}function W(e){G();var t,i,n,s,r,a,l,o,c,h=e.mode,d=e.density||1,u=e.filter||!1,p=function(e,t,i){if("range"===e||"steps"===e)return M.xVal;if("count"===e){if(t<2)throw new Error("noUiSlider (14.7.0): 'values' (>= 2) required for mode 'count'.");var n=t-1,s=100/n;for(t=[];n--;)t[n]=n*s;t.push(100),e="positions"}return"positions"===e?t.map((function(e){return M.fromStepping(i?M.getStep(e):e)})):"values"===e?i?t.map((function(e){return M.fromStepping(M.getStep(M.toStepping(e)))})):t:void 0}(h,e.values||!1,e.stepped||!1),f=(t=d,i=h,n=p,s={},r=M.xVal[0],a=M.xVal[M.xVal.length-1],o=l=!1,c=0,(n=n.slice().sort((function(e,t){return e-t})).filter((function(e){return!this[e]&&(this[e]=!0)}),{}))[0]!==r&&(n.unshift(r),l=!0),n[n.length-1]!==a&&(n.push(a),o=!0),n.forEach((function(e,r){var a,h,d,u,p,f,m,g,v,y,_=e,b=n[r+1],w="steps"===i;if(w&&(a=M.xNumSteps[r]),a||(a=b-_),!1!==_)for(void 0===b&&(b=_),a=Math.max(a,1e-7),h=_;h<=b;h=(h+a).toFixed(7)/1){for(g=(p=(u=M.toStepping(h))-c)/t,y=p/(v=Math.round(g)),d=1;d<=v;d+=1)s[(f=c+d*y).toFixed(5)]=[M.fromStepping(f),0];m=-1<n.indexOf(h)?1:w?2:0,!r&&l&&h!==b&&(m=0),h===b&&o||(s[u.toFixed(5)]=[h,m]),c=u}})),s),g=e.format||{to:Math.round};return m=S.appendChild(U(f,u,g))}function X(){var e=u.getBoundingClientRect(),t="offset"+["Width","Height"][s.ort];return 0===s.ort?e.width||u[t]:e.height||u[t]}function q(e,t,i,n){var r=function(r){return!!(r=function(e,t,i){var n,s,r=0===e.type.indexOf("touch"),a=0===e.type.indexOf("mouse"),l=0===e.type.indexOf("pointer");if(0===e.type.indexOf("MSPointer")&&(l=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(r){var o=function(e){return e.target===i||i.contains(e.target)||e.target.shadowRoot&&e.target.shadowRoot.contains(i)};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,o);if(1<c.length)return!1;n=c[0].pageX,s=c[0].pageY}else{var h=Array.prototype.find.call(e.changedTouches,o);if(!h)return!1;n=h.pageX,s=h.pageY}}return t=t||d(L),(a||l)&&(n=e.clientX+t.x,s=e.clientY+t.y),e.pageOffset=t,e.points=[n,s],e.cursor=a||l,e}(r,n.pageOffset,n.target||t))&&!(F()&&!n.doNotReject)&&(a=S,l=s.cssClasses.tap,!((a.classList?a.classList.contains(l):new RegExp("\\b"+l+"\\b").test(a.className))&&!n.doNotReject)&&!(e===x.start&&void 0!==r.buttons&&1<r.buttons)&&(!n.hover||!r.buttons)&&(T||r.preventDefault(),r.calcPoint=r.points[s.ort],void i(r,n)));var a,l},a=[];return e.split(" ").forEach((function(e){t.addEventListener(e,r,!!T&&{passive:!0}),a.push([e,r])})),a}function Y(e){var t,i,n,r,l,o,c=100*(e-(t=u,i=s.ort,n=t.getBoundingClientRect(),l=(r=t.ownerDocument).documentElement,o=d(r),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(o.x=0),i?n.top+o.y-l.clientTop:n.left+o.x-l.clientLeft))/X();return c=a(c),s.dir?100-c:c}function Z(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&J(e,t)}function K(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return J(e,t);var i=(s.dir?-1:1)*(e.calcPoint-t.startCalcPoint);re(0<i,100*i/t.baseSize,t.locations,t.handleNumbers)}function J(e,t){t.handle&&(h(t.handle,s.cssClasses.active),k-=1),t.listeners.forEach((function(e){O.removeEventListener(e[0],e[1])})),0===k&&(h(S,s.cssClasses.drag),le(),e.cursor&&(I.style.cursor="",I.removeEventListener("selectstart",n))),t.handleNumbers.forEach((function(e){ie("change",e),ie("set",e),ie("end",e)}))}function Q(e,t){if(t.handleNumbers.some(B))return!1;var i;1===t.handleNumbers.length&&(i=p[t.handleNumbers[0]].children[0],k+=1,c(i,s.cssClasses.active)),e.stopPropagation();var r=[],a=q(x.move,O,K,{target:e.target,handle:i,listeners:r,startCalcPoint:e.calcPoint,baseSize:X(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:C.slice()}),l=q(x.end,O,J,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:t.handleNumbers}),o=q("mouseout",O,Z,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:t.handleNumbers});r.push.apply(r,a.concat(l,o)),e.cursor&&(I.style.cursor=getComputedStyle(e.target).cursor,1<p.length&&c(S,s.cssClasses.drag),I.addEventListener("selectstart",n,!1)),t.handleNumbers.forEach((function(e){ie("start",e)}))}function ee(e,t){A[e]=A[e]||[],A[e].push(t),"update"===e.split(".")[0]&&p.forEach((function(e,t){ie("update",t)}))}function te(e){var t=e&&e.split(".")[0],i=t?e.substring(t.length):e;Object.keys(A).forEach((function(e){var n,s=e.split(".")[0],r=e.substring(s.length);t&&t!==s||i&&i!==r||((n=r)!==w&&n!==b||i===r)&&delete A[e]}))}function ie(e,t,i){Object.keys(A).forEach((function(n){var r=n.split(".")[0];e===r&&A[n].forEach((function(e){e.call(v,E.map(s.format.to),t,E.slice(),i||!1,C.slice(),v)}))}))}function ne(e,t,i,n,r,l){var o;return 1<p.length&&!s.events.unconstrained&&(n&&0<t&&(o=M.getAbsoluteDistance(e[t-1],s.margin,0),i=Math.max(i,o)),r&&t<p.length-1&&(o=M.getAbsoluteDistance(e[t+1],s.margin,1),i=Math.min(i,o))),1<p.length&&s.limit&&(n&&0<t&&(o=M.getAbsoluteDistance(e[t-1],s.limit,0),i=Math.min(i,o)),r&&t<p.length-1&&(o=M.getAbsoluteDistance(e[t+1],s.limit,1),i=Math.max(i,o))),s.padding&&(0===t&&(o=M.getAbsoluteDistance(0,s.padding[0],0),i=Math.max(i,o)),t===p.length-1&&(o=M.getAbsoluteDistance(100,s.padding[1],1),i=Math.min(i,o))),!((i=a(i=M.getStep(i)))===e[t]&&!l)&&i}function se(e,t){var i=s.ort;return(i?t:e)+", "+(i?e:t)}function re(e,t,i,n){var s=i.slice(),r=[!e,e],a=[e,!e];n=n.slice(),e&&n.reverse(),1<n.length?n.forEach((function(e,i){var n=ne(s,e,s[e]+t,r[i],a[i],!1);!1===n?t=0:(t=n-s[e],s[e]=n)})):r=a=[!0];var l=!1;n.forEach((function(e,n){l=oe(e,i[e]+t,r[n],a[n])||l})),l&&n.forEach((function(e){ie("update",e),ie("slide",e)}))}function ae(e,t){return s.dir?100-e-t:e}function le(){P.forEach((function(e){var t=50<C[e]?-1:1,i=3+(p.length+t*e);p[e].style.zIndex=i}))}function oe(e,t,i,n,r){return r||(t=ne(C,e,t,i,n,!1)),!1!==t&&(function(e,t){C[e]=t,E[e]=M.fromStepping(t);var i="translate("+se(10*(ae(t,0)-D)+"%","0")+")";p[e].style[s.transformRule]=i,ce(e),ce(e+1)}(e,t),!0)}function ce(e){if(f[e]){var t=0,i=100;0!==e&&(t=C[e-1]),e!==f.length-1&&(i=C[e]);var n=i-t,r="translate("+se(ae(t,n)+"%","0")+")",a="scale("+se(n/100,"1")+")";f[e].style[s.transformRule]=r+" "+a}}function he(e,t){return null===e||!1===e||void 0===e?C[t]:("number"==typeof e&&(e=String(e)),e=s.format.from(e),!1===(e=M.toStepping(e))||isNaN(e)?C[t]:e)}function de(e,t,i){var n=l(e),a=void 0===C[0];t=void 0===t||!!t,s.animate&&!a&&r(S,s.cssClasses.tap,s.animationDuration),P.forEach((function(e){oe(e,he(n[e],e),!0,!1,i)}));for(var o=1===P.length?0:1;o<P.length;++o)P.forEach((function(e){oe(e,C[e],!0,!0,i)}));le(),P.forEach((function(e){ie("update",e),null!==n[e]&&t&&ie("set",e)}))}function ue(){var e=E.map(s.format.to);return 1===e.length?e[0]:e}function pe(e){var t=C[e],i=M.getNearbySteps(t),n=E[e],r=i.thisStep.step,a=null;if(s.snap)return[n-i.stepBefore.startValue||null,i.stepAfter.startValue-n||null];!1!==r&&n+r>i.stepAfter.startValue&&(r=i.stepAfter.startValue-n),a=n>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&n-i.stepBefore.highestStep,100===t?r=null:0===t&&(a=null);var l=M.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(l))),null!==a&&!1!==a&&(a=Number(a.toFixed(l))),[a,r]}return c(y=S,s.cssClasses.target),0===s.dir?c(y,s.cssClasses.ltr):c(y,s.cssClasses.rtl),0===s.ort?c(y,s.cssClasses.horizontal):c(y,s.cssClasses.vertical),c(y,"rtl"===getComputedStyle(y).direction?s.cssClasses.textDirectionRtl:s.cssClasses.textDirectionLtr),u=R(y,s.cssClasses.base),function(e,t){var i=R(t,s.cssClasses.connects);p=[],(f=[]).push(N(i,e[0]));for(var n=0;n<s.handles;n++)p.push(z(t,n)),P[n]=n,f.push(N(i,e[n+1]))}(s.connect,u),(_=s.events).fixed||p.forEach((function(e,t){q(x.start,e.children[0],Q,{handleNumbers:[t]})})),_.tap&&q(x.start,u,(function(e){e.stopPropagation();var t,i,n,a=Y(e.calcPoint),l=(t=a,n=!(i=100),p.forEach((function(e,s){if(!B(s)){var r=C[s],a=Math.abs(r-t);(a<i||a<=i&&r<t||100===a&&100===i)&&(n=s,i=a)}})),n);if(!1===l)return!1;s.events.snap||r(S,s.cssClasses.tap,s.animationDuration),oe(l,a,!0,!0),le(),ie("slide",l,!0),ie("update",l,!0),ie("change",l,!0),ie("set",l,!0),s.events.snap&&Q(e,{handleNumbers:[l]})}),{}),_.hover&&q(x.move,u,(function(e){var t=Y(e.calcPoint),i=M.getStep(t),n=M.fromStepping(i);Object.keys(A).forEach((function(e){"hover"===e.split(".")[0]&&A[e].forEach((function(e){e.call(v,n)}))}))}),{hover:!0}),_.drag&&f.forEach((function(e,t){if(!1!==e&&0!==t&&t!==f.length-1){var i=p[t-1],n=p[t],r=[e];c(e,s.cssClasses.draggable),_.fixed&&(r.push(i.children[0]),r.push(n.children[0])),r.forEach((function(e){q(x.start,e,Q,{handles:[i,n],handleNumbers:[t-1,t]})}))}})),de(s.start),s.pips&&W(s.pips),s.tooltips&&H(),te("update"+w),ee("update"+w,(function(e,t,i,n,r){P.forEach((function(e){var t=p[e],n=ne(C,e,0,!0,!0,!0),a=ne(C,e,100,!0,!0,!0),l=r[e],o=s.ariaFormat.to(i[e]);n=M.fromStepping(n).toFixed(1),a=M.fromStepping(a).toFixed(1),l=M.fromStepping(l).toFixed(1),t.children[0].setAttribute("aria-valuemin",n),t.children[0].setAttribute("aria-valuemax",a),t.children[0].setAttribute("aria-valuenow",l),t.children[0].setAttribute("aria-valuetext",o)}))})),v={destroy:function(){for(var e in te(w),te(b),s.cssClasses)s.cssClasses.hasOwnProperty(e)&&h(S,s.cssClasses[e]);for(;S.firstChild;)S.removeChild(S.firstChild);delete S.noUiSlider},steps:function(){return P.map(pe)},on:ee,off:te,get:ue,set:de,setHandle:function(e,t,i,n){if(!(0<=(e=Number(e))&&e<P.length))throw new Error("noUiSlider (14.7.0): invalid handle number, got: "+e);oe(e,he(t,e),!0,!0,n),ie("update",e),i&&ie("set",e)},reset:function(e){de(s.start,e)},__moveHandles:function(e,t,i){re(e,t,C,i)},options:o,updateOptions:function(e,t){var n=ue(),r=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];r.forEach((function(t){void 0!==e[t]&&(o[t]=e[t])}));var a=j(o);r.forEach((function(t){void 0!==e[t]&&(s[t]=a[t])})),M=a.spectrum,s.margin=a.margin,s.limit=a.limit,s.padding=a.padding,s.pips?W(s.pips):G(),s.tooltips?H():V(),C=[],de(i(e.start)?e.start:n,t)},target:S,removePips:G,removeTooltips:V,getTooltips:function(){return g},getOrigins:function(){return p},pips:W}}(e,j(s),s);return e.noUiSlider=o}}})?n.apply(t,s):n)||(e.exports=r)},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(4),s=i(10),r=function(e){this.$block=e,this.ajaxInProgress=!1,this.init(),this.initFilter()};r.prototype.init=function(){var t=this;this.$calendar=this.$block.find(".js-calendar"),this.$filter=this.$block.find(".js-filter-event"),this.$result=this.$block.find(".js-event-results .shell"),this.$filterListItems=this.$block.find(".js-item"),this.$block.find(".js-month").on("click",(function(){t.loadMonth(this)})),this.$block.find(".js-load-events").on("click",(function(){e(this).hasClass("selected")&&!e(this).hasClass("loading")?(t.$result.html(""),e(this).removeClass("selected")):(t.$block.find(".js-load-events").removeClass("selected"),t.loadEvents(this))})),e(document).on("click",'[data-js="reset-event-calendar"]',(function(){t.$block.find(".js-archives-filters-toggler").each((function(t,i){e(i).text(e(i).data("default"))})),t.$filter.find('input[name="event_type_event"]').val(""),t.$filter.find('input[name="event_activity_sector"]').val(""),t.$filter.find('input[name="event_place"]').val(""),t.$block.find(".btn-submit").click(),(new s.a).closeFilter()})),e(document).on("click",'[data-js="showmore-events"]',(function(){for(var i=t.$block.find(".event-results_list"),n=parseInt(i.data("page")),s=n+1,r=6*n;r<6*s;r++){var a=i.find(".event-results_item:nth-child("+(r+1)+")");0==a.length&&e('[data-js="showmore-events"]').hide(),a.show()}i.data("page",s)}))},r.prototype.initFilter=function(){var e=this;this.$filter.find(".js-search").on("click",(function(){e.loadMonth(this)}))},r.prototype.loadMonth=function(t){var i=this,r=e(t).hasClass("js-search")?this.$calendar.data("current-time"):e(t).data("month"),a={current_url:i.$calendar.data("current-url"),current_time:r,event_type_event:i.$filter.find('input[name="event_type_event"]').val()?i.$filter.find('input[name="event_type_event"]').val():"",event_activity_sector:i.$filter.find('input[name="event_activity_sector"]').val()?i.$filter.find('input[name="event_activity_sector"]').val():"",event_place:i.$filter.find('input[name="event_place"]').val()?i.$filter.find('input[name="event_place"]').val():""},l=a.current_url+"?current_time="+a.current_time+"&event_type_event="+a.event_type_event+"&event_activity_sector="+a.event_activity_sector+"&event_place="+a.event_place;window.history.pushState({},"",l),t.style.minWidth=t.offsetWidth+"px",t.classList.add("loading"),i.ajaxInProgress=!0,e.ajax({url:window.sage.ajax["archive.events.change-month"],method:"POST",data:{current_time:r,filters:{event_type_event:a.event_type_event,event_activity_sector:a.event_activity_sector,event_place:a.event_place}},dataType:"json",success:function(r){i.ajaxInProgress=!1;var a=document.querySelector(".event-results"),l=document.querySelector(".event-calendar"),o=a.classList.contains(".no-event")?l:a;o.distanceToScroll=e(o).offset().top-(Object(n.b)()+40),e(".reset-filters-agenda:not(.--for-tablet-mobile)").remove(),i.$calendar.replaceWith(r.render),i.$result.html(r.results),t.style.minWidth="auto",t.classList.remove("loading"),(new s.a).closeFilter(),e("html, body").animate({scrollTop:o.distanceToScroll},500),i.init()}}).fail((function(){t.classList.remove("loading"),(new s.a).closeFilter(),i.ajaxInProgress=!1}))},r.prototype.loadEvents=function(t){var i=this;e(t).addClass("selected").addClass("loading");var n=e(".js-event-results").offset().top-e("#header").height(),s=e("body").hasClass("theme-omexom")?0:40;i.ajaxInProgress=!0,e.ajax({url:window.sage.ajax["archive.events.load"],method:"POST",data:{ids:e(t).data("ids"),date:e(t).data("date")},dataType:"json",success:function(r){e(".js-event-results").removeClass("no-event"),e(t).removeClass("loading"),i.ajaxInProgress=!1,i.$result.html(r.render),e("html, body").animate({scrollTop:Math.round(n-s)},1e3)}}).fail((function(){i.ajaxInProgress=!1}))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.ajaxInProgress=!1,this.init(),this.initPagination()};n.prototype.init=function(){var t=this;this.$jsForm=this.$block.find(".js-form"),this.$jsListing=this.$block.find(".js-listing"),this.$jsResetFilter=this.$jsForm.find(".js-reset-job-filters"),this.$jsPagination=this.$block.find(".js-pagination"),this.$jsForm.find('input[type="checkbox"]').each((function(){e(this).on("change",(function(){e(window).width()>=1024&&t.filter()}))})),this.$jsResetFilter.on("click",(function(){t.reset()})),this.$jsForm.find("button[type=submit], .js-search-job").on("click",(function(){t.filter(),e(".js-close-job-filters").click()}))},n.prototype.initPagination=function(){var e=this;this.$jsPagination=this.$block.find(".js-pagination"),this.$jsPagination.find("a.page-numbers").on("click",(function(t){e.paginate(t,this)}))},n.prototype.parseDataForm=function(){var t={};return this.$jsForm.find('input[type="checkbox"]').each((function(){e(this).is(":checked")&&(null==t[e(this).data("name")]&&(t[e(this).data("name")]=[]),t[e(this).data("name")].push(e(this).val()))})),t.term=this.$jsForm.find('input[type="text"]').val(),t},n.prototype.filter=function(){this.doRequest()},n.prototype.reset=function(){this.$jsForm.find('input[type="checkbox"]').each((function(){e(this).prop("checked",!1)})),this.$jsForm.find('input[type="text"]').val(""),this.doRequest()},n.prototype.paginate=function(t,i){t.preventDefault();var n=this.$jsPagination.find(".page-numbers.current").text();e(i).hasClass("prev")?n--:e(i).hasClass("next")?n++:n=e(i).text(),this.doRequest({paged:n})},n.prototype.doRequest=function(t){var i=this,n=this.parseDataForm();n.paged=t&&t.paged?t.paged:1,this.makeURL(n),n.currentSite=this.$jsForm.data("current-blog"),i.ajaxInProgress=!0,e.ajax({url:window.sage.ajax["archive.job.filter"],method:"POST",data:n,dataType:"json",success:function(e){i.ajaxInProgress=!1,i.$jsListing.html(e.render),i.initPagination()}}).fail((function(){i.ajaxInProgress=!1}))},n.prototype.makeURL=function(e){var t=this.$jsForm.data("current-url"),i=(e.paged,e.countries),n=e.cities,s=e.categories,r=e.contract_types,a=e.experiences,l=e.regions,o=e.term,c=t+"?paged="+e.paged;e.categories&&(c+="&categories="+s),e.countries&&(c+="&countries="+i),e.cities&&(c+="&cities="+n),e.contract_types&&(c+="&contract_types="+r),e.experiences&&(c+="&experiences="+a),e.regions&&(c+="&regions="+l),e.term&&(c+="&term="+o),window.history.pushState({},"",c)}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(21),s=i.n(n),r=function(){this.$container=e(".wt-cli-cookie-bar-container"),this.init()};r.prototype.init=function(){var e=this;e.$container.on("click","#wt-cli-reject-btn",(function(){e.deleteAllCookies()})),e.$container.on("click","#wt-cli-privacy-save-btn",(function(){e.deleteAllCookies()}))},r.prototype.deleteAllCookies=function(){var t=this;e.each(t.getCookies(),(function(e,i){t.isNotToDeleteCookie(i)||(s.a.remove(i),s.a.remove(i,{domain:"."+window.location.hostname}))}))},r.prototype.isNotToDeleteCookie=function(t){var i=!1;return e.each([{type:"key",value:"pll_language"},{type:"key",value:"CookieLawInfoConsent"},{type:"key",value:"cli_user_preference"},{type:"key",value:"viewed_cookie_policy"},{type:"regex",value:/^cookielawinfo-checkbox.*/g},{type:"regex",value:/^wordpress_.*/g}],(function(e,n){"key"==n.type&&n.value==t&&(i=!0),"regex"==n.type&&t.match(n.value)&&(i=!0)})),i},r.prototype.getCookies=function(){for(var e=document.cookie.split(";"),t=[],i=0;i<e.length;i++){for(var n=e[i];" "==n.charAt(0);)n=n.substring(1);var s=n.split("=");2==s.length&&t.push(s[0])}return t}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(){this.form=e(".js-checkboxes-filters-form"),this.filters=e(".js-checkboxes-filters-container"),this.resetAll=e(".js-reset-all-checkboxes"),this.resetSingleFilter=e(".js-remove-checkbox"),0!=this.form.length&&0!=this.filters.length&&this.init()};n.prototype.init=function(){var t=this;t.resetAll.length>0&&t.resetAll.on("click",(function(){var i=e(".js-real-input, .js-search-archive"),n=e(".js-checkbox-filter:checked");0!=i.length&&0!=n.length&&(i.each((function(t,i){e(i).val("")})),n.each((function(t,i){e(i).prop("checked",!1)})),t.form.submit())})),t.resetSingleFilter.length>0&&t.resetSingleFilter.on("click",(function(){var i=e(this).attr("data-taxonomy-id"),n=e("#"+i);0!=n.length&&(n.prop("checked",!1),t.form.submit())})),t.form.on("submit",(function(){t.filters.each((function(t,i){var n=e(i).find(".js-checkbox-filter:checked"),s=e(i).find(".js-real-input"),r="";if(s.length>0&&n.length>0)for(var a=0;a<n.length;a++)"on"==e(n[a]).val()&&(r+=e(n[a]).data("termid")),a<n.length-1&&(r+=",");s.val(r)}))}))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s}));var n=i(5),s=function(){this.init()};s.prototype.init=function(){setTimeout((function(){e("body").hasClass("theme-actemium")?new n.default(".js-slider-offer-categories",{speed:400,spaceBetween:10,slidesPerView:1,loop:!0,pagination:{el:".swiper-pagination-custom",type:"bullets",clickable:!0},autoplay:{delay:5e3},breakpoints:{600:{spaceBetween:20,slidesPerView:2},750:{spaceBetween:20,slidesPerView:3},900:{slidesPerView:3,spaceBetween:40}}}):e("body").hasClass("theme-axians")?new n.default(".js-slider-offer-categories",{speed:400,spaceBetween:20,slidesPerView:"auto",loop:!0,navigation:{nextEl:".slider-offer-categories-control.swiper-button-prev",prevEl:".slider-offer-categories-control.swiper-button-next"},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},autoplay:{delay:5e3},breakpoints:{600:{spaceBetween:20,slidesPerView:2},768:{spaceBetween:20,slidesPerView:3},900:{spaceBetween:40,slidesPerView:3},1200:{slidesPerView:4,spaceBetween:40}}}):e("body").hasClass("theme-citeos")?new n.default(".js-slider-offer-categories",{speed:400,spaceBetween:15,slidesPerView:1,loop:!0,pagination:{el:".swiper-pagination-custom",type:"bullets",clickable:!0},autoplay:{delay:5e3},breakpoints:{600:{spaceBetween:20,centeredSlides:!0,slidesPerView:"auto"},900:{slidesPerView:3,spaceBetween:40}}}):e("body").hasClass("theme-omexom")?new n.default(".js-slider-offer-categories",{speed:400,spaceBetween:20,slidesPerView:"auto",loop:!0,pagination:{el:".swiper-pagination-custom",type:"bullets",clickable:!0},autoplay:{delay:5e3},breakpoints:{600:{spaceBetween:30,slidesPerView:2},900:{slidesPerView:3,spaceBetween:40}}}):(e("body").hasClass("theme-vinci-facilities")||e("body").hasClass("theme-building-solutions"))&&new n.default(".js-slider-offer-categories",{speed:400,spaceBetween:20,slidesPerView:1,loop:!0,pagination:{el:".swiper-pagination-custom",type:"bullets",clickable:!0},autoplay:{delay:5e3},breakpoints:{600:{slidesPerView:"auto"},900:{slidesPerView:3,spaceBetween:40}}})}),200)}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(){this.init()};n.prototype.init=function(){var t=this;setTimeout((function(){e(".js-numerical-animation").each((function(){t.numerical(e(this))}))}),200),e(window).on("scroll",(function(){e(".js-numerical-animation").each((function(){t.numerical(e(this))}))}))},n.prototype.numerical=function(t){var i=this,n=e(window).scrollTop(),s=t.closest(".text"),r=s.offset().top-e(window).outerHeight(),a=t.data("dec-sep"),l=t.data("thousand-sep"),o=t.data("value").toString().split("."),c=0;o[1]&&(c=o[1].length),n>r&&(s.hasClass("finished")||(s.addClass("finished"),t.prop("Counter",0).animate({Counter:t.data("value")},{duration:2e3,easing:"swing",step:function(e){t.text(i.formatNumber(e,c,a,l))},complete:function(){t.text(i.formatNumber(t.data("value").toString(),c,a,l))}})))},n.prototype.formatNumber=function(e,t,i,n){var s=e.toString().split(".");return s[0]=s[0].replace(/\B(?=(\d{3})+(?!\d))/g,n),0==t?s[0]:(s[1]=s[1].substring(0,2),s.join(i))}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n=function(e){this.$block=e,this.init()};n.prototype.init=function(){var t=this;this.$jsResetFilter=e(".js-reset-usecase-filters"),this.$jsForm=e(".use-cases-filters-form"),this.$jsResetFilter.on("click",(function(e){e.preventDefault(),t.reset()}))},n.prototype.reset=function(){this.$jsForm.find(".filters-list").each((function(t,i){e(i).find(".js-item:first-child span").click()})),this.$jsForm.trigger("submit")}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return r}));var n=i(4),s=i(5),r={init:function(){if(0===e(".slider-logos").length)return!1;var t=Object(n.d)();e(".module-slider-logo").each((function(){var i,r=this,a={pagination:this.querySelector(".swp-pagination"),navigation:{next:this.querySelector(".swp-arrow.--next"),prev:this.querySelector(".swp-arrow.--prev")},slider:this.querySelector(".slider-logos")};a.count=Number(a.slider.getAttribute("data-count")),a.loop=a.count>=t,i=document.body.classList.contains("with-sidebar")?{600:{loop:a.loop,slidesPerView:3,spaceBetween:16},900:{loop:a.loop,slidesPerView:3,spaceBetween:20},1200:{loop:a.loop,slidesPerView:4,spaceBetween:40}}:{600:{loop:a.loop,slidesPerView:3,spaceBetween:16},900:{loop:a.loop,slidesPerView:4,spaceBetween:16},1024:{loop:a.loop,slidesPerView:5,spaceBetween:40},1200:{loop:a.loop,slidesPerView:6,spaceBetween:40}};var l={loop:a.loop,speed:500,slidesPerView:1,spaceBetween:0,parallax:!0,navigation:{nextEl:a.navigation.next,prevEl:a.navigation.prev},pagination:{el:a.pagination,type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:i};if("true"===a.slider.getAttribute("data-swiper-autoplay")){var o=parseFloat(a.slider.getAttribute("data-swiper-autoplay-delay"));l.autoplay={delay:1e3*o,disableOnInteraction:!1}}a.remove_duplication=function(t){if(null==t)return!1;t.slides.each((function(t,i){return!!e(i).hasClass("swiper-slide-duplicate")&&e(i).hide()}))},a.show_duplication=function(t){if(null==t)return!1;t.slides.each((function(t,i){return!!e(i).hasClass("swiper-slide-duplicate")&&e(i).show()}))},a.init=function(e){e=e||null,t=Object(n.d)(),a.count>=t?r.classList.remove("no-slider"):r.classList.add("no-slider"),null!==e&&(e.params.loop=a.count>=t,e.update())},a.init(),a.carousel=new s.default(a.slider,l),a.carousel.update(),Object(n.a)(a.carousel.pagination.$el,a.count),a.carousel.on("breakpoint",(function(){a.init(a.carousel),Object(n.a)(a.carousel.pagination.$el,a.count)}))}))}}}).call(this,i(2))},function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i(12),s=i.n(n),r=i(3),a=i(4),l={init:function(){var e={experts:document.querySelectorAll('[data-js-experts="true"]')};if(0===e.experts.length)return!1;for(var t=l.get_mininum_slides_to_init(),i=function(i){var n=e.experts[i];if(n.count=Number(n.getAttribute("data-count"))||n.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)").length,n.count<=1)return{v:!1};n.init=!1,n.pagination=n.querySelector(".swp-pagination"),n.navigation={next:n.querySelector(".swp-arrow.--next"),prev:n.querySelector(".swp-arrow.--prev")},n.loop=n.count>=t,n.slidesPerView={mobile:1,portrait:2,netbook:r.b.enable?2:3,desktop:r.b.enable?2:3},n.spaceBetween={mobile:20,portrait:20,netbook:30,desktop:r.b.enable?30:40},n.autoplay={enable:"true"===n.getAttribute("data-swiper-autoplay"),delay:parseFloat(n.getAttribute("data-swiper-autoplay-delay"))},n.remove_duplication=function(e){e&&e.slides.each((function(e,t){t.classList.contains("swiper-slide-duplicate")&&(t.style.display="none")}))},n.show_duplication=function(e){e&&e.slides.each((function(e,t){t.classList.contains("swiper-slide-duplicate")&&(t.style.display="block")}))},n.update=function(e){if(!e)return!1;t=l.get_mininum_slides_to_init(),n.count>=t?(n.classList.remove("no-loop"),n.init=!0):(n.classList.add("no-loop"),n.init=!1)};var o={loop:!0,navigation:{nextEl:n.navigation.next,prevEl:n.navigation.prev},pagination:{el:n.pagination,type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{0:{slidesPerView:n.slidesPerView.mobile,spaceBetween:n.spaceBetween.mobile},600:{slidesPerView:n.slidesPerView.portrait,spaceBetween:n.spaceBetween.portrait},900:{slidesPerView:n.slidesPerView.netbook,spaceBetween:n.spaceBetween.netbook},1200:{slidesPerView:n.slidesPerView.desktop,initialSlide:0,spaceBetween:n.spaceBetween.desktop}}};n.autoplay.enable&&(o.autoplay={delay:1e3*n.autoplay.delay,disableOnInteraction:!1}),n.swiper=new s.a(n,o),n.update(n.swiper),setTimeout((function(){Object(a.a)(n.swiper.pagination.$el,n.count)}),200),n.swiper.on("breakpoint",(function(){n.update(n.swiper),setTimeout((function(){Object(a.a)(n.swiper.pagination.$el,n.count)}),200)}))},n=0;n<e.experts.length;n++){var o=i(n);if(o)return o.v}},get_mininum_slides_to_init:function(){return window.matchMedia(r.a.expert.mobile).matches?(r.b.enable,2):window.matchMedia(r.a.expert.tablet).matches?(r.b.enable,3):window.matchMedia(r.a.expert.netbook).matches||window.matchMedia(r.a.expert.desktop).matches?r.b.enable?3:4:void 0}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i(5),s=i(3),r=i(4),a={init:function(){var e=document.querySelectorAll('[data-posts-carousel="true"]');if(0===e.length)return!1;for(var t=Object(r.c)(),i=function(i){var a=e[i];a.count=Number(a.getAttribute("data-count"))||a.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)").length,a.init=!1,a.pagination=a.querySelector(".swp-pagination"),a.navigation={next:a.querySelector(".swp-arrow.--next"),prev:a.querySelector(".swp-arrow.--prev")},a.loop=a.count>=t,a.slidesPerView={mobile:a.getAttribute("data-slidePerView-mobile")||"auto",portrait:a.getAttribute("data-slidePerView-tablet")||2,netbook:s.b.enable?a.getAttribute("data-slidePerView-netbook-sidebar)")||2:a.getAttribute("data-slidePerView-netbook")||3,desktop:s.b.enable?a.getAttribute("data-slidePerView-desktop-sidebar)")||2:a.getAttribute("data-slidePerView-desktop")||4},s.c.axians&&(a.slidesPerView.netbook="auto",a.slidesPerView.desktop="auto"),a.spaceBetween={mobile:20,portrait:20,netbook:s.c.axians?0:20,desktop:s.c.axians?0:(s.b.enable,40)},a.autoplay={enable:"true"===a.getAttribute("data-swiper-autoplay"),delay:parseFloat(a.getAttribute("data-swiper-autoplay-delay"))},a.remove_duplication=function(e){e&&e.slides.each((function(e,t){t.classList.contains("swiper-slide-duplicate")&&(t.style.display="none")}))},a.show_duplication=function(e){e&&e.slides.each((function(e,t){t.classList.contains("swiper-slide-duplicate")&&(t.style.display="block")}))},a.update=function(e){if(!e)return!1;t=Object(r.c)(),a.count>=t?a.classList.remove("no-slider"):a.classList.add("no-slider"),setTimeout((function(){Object(r.a)(e.pagination.$el,a.count)}),100)};var l={loop:!0,autoHeight:!0,navigation:{nextEl:a.navigation.next,prevEl:a.navigation.prev},pagination:{el:a.pagination,type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{0:{slidesPerView:a.slidesPerView.mobile,spaceBetween:a.spaceBetween.mobile,centeredSlides:!0},600:{slidesPerView:a.slidesPerView.portrait,spaceBetween:a.spaceBetween.portrait},900:{slidesPerView:a.slidesPerView.netbook,spaceBetween:a.spaceBetween.netbook},1200:{slidesPerView:a.slidesPerView.desktop,spaceBetween:a.spaceBetween.desktop}}};a.autoplay.enable&&(l.autoplay={delay:1e3*a.autoplay.delay,disableOnInteraction:!1}),a.count>=t?(a.swiper=new n.default(a,l),a.init=!0,a.update(a.swiper),a.swiper.on("breakpoint",(function(){a.update(a.swiper)}))):(e[i].classList.remove("swp-loader"),e[i].classList.add("swiper-disable"))},a=0;a<e.length;a++)i(a)}}},function(e,t,i){"use strict";(function(e){t.a={toggleExcerpt:function(t,i){e(document).on("mouseenter focus",t,(function(t){var n=t.currentTarget;n.excerpt=n.querySelector(i),n.excerpt&&e(n.excerpt).slideDown()})).on("mouseleave focusout",t,(function(t){var i=t.currentTarget;e(i.excerpt).slideUp()}))}}}).call(this,i(2))},function(e,t,i){"use strict";(function(e){var n=i(9),s=i.n(n),r=i(5),a=function(){this.segments={masonry:"[data-js-segments-masonry]",slider:".slider-list-segments"}};a.prototype.masonry=function(){var t=e(this.segments.masonry);if(0===t.length)return!1;t.each((function(t,i){var n,r={msnry_3_col:{container:i,waitForImages:!0,margin:{x:40,y:40},columns:3,breakAt:{900:{margin:{x:20,y:40},columns:2},420:{margin:{x:0,y:20},columns:1}}},msnry_4_col:{container:i,waitForImages:!0,margin:{x:40,y:40},columns:4,breakAt:{1024:{margin:{x:40,y:40},columns:3},900:{margin:{x:20,y:40},columns:2},420:{margin:{x:0,y:20},columns:1}}}};n=e(i).hasClass("col-3")?s()(r.msnry_3_col):s()(r.msnry_4_col),setTimeout((function(){return n.recalculate(!0,!0)}),200)}))},a.prototype.slider=function(){var t=e(this.segments.slider);if(0===t.length)return!1;t.each((function(t,i){var n={next:e(this).find(".swiper-button-next"),prev:e(this).find(".swiper-button-prev")},s=e(this).find(".swiper-pagination");n.next.addClass("swiper-button-next-"+(t+1)),n.prev.addClass("swiper-button-prev-"+(t+1)),s.addClass("swiper-pagination-"+(t+1));var a={loop:!0,speed:500,slidesPerView:"auto",spaceBetween:20,navigation:{nextEl:".swiper-button-next-"+(t+1),prevEl:".swiper-button-prev-"+(t+1)},pagination:{el:".swiper-pagination-"+(t+1),type:"bullets",clickable:!0,bulletActiveClass:"current"},breakpoints:{900:{spaceBetween:40}}},l=new r.default(i,a);document.body.classList.contains("theme-axians")&&setTimeout((function(){var t=l.$el.find(".swiper-slide:not(.swiper-slide-duplicate)").length;t<10&&(t="0"+t),e(l.pagination.el).prepend("<span class='nbr-slide'>01</span>"),e(l.pagination.el).append("<span class='nbr-slide'>"+t+"</span>")}),1e3)}))},t.a=new a}).call(this,i(2))},function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i(5),s=function(e){if(this.slider="String"===Object.getPrototypeOf(e)?document.querySelector(e):e,!this.slider||this.slider instanceof Object==!1)return!1;this.sidebarIsEnable="true"===document.documentElement.getAttribute("data-has-sidebar"),this.autoplayEnable="true"===this.slider.getAttribute("data-swiper-autoplay"),this.autoplayDelay=1e3*Number(this.slider.getAttribute("data-swiper-autoplay-delay"))||null,this.slidesCount=this.slider.querySelectorAll(".swiper-slide").length,this.sectionParent=this.slider.closest(".module-slider-cpt"),this.isFullwidth=this.sectionParent?this.sectionParent.classList.contains("full-width"):null,this.isCentered=!!this.isFullwidth};s.prototype.init=function(){var e=this;this.swiper=new n.default(this.slider,this.settings()),this.update(),this.swiper.on("breakpoint",(function(){e.update(window.innerWidth)}))},s.prototype.update=function(e){this.swiper&&this.hideUnnecessaryElements(this.swiper,e)},s.prototype.settings=function(){this.setDefaultParameters();var e={speed:600,centeredSlides:this.centeredSlides.mobile,loop:this.loop.mobile,loopAdditionalSlides:this.loopAdditionalSlides.mobile,spaceBetween:this.spaceBetween.mobile,slidesPerView:this.slidePerView.mobile,autoplay:this.autoplay.mobile,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0,bulletActiveClass:"current",enable:this.pagination.mobile.enable}};return e.breakpoints={600:{centeredSlides:this.centeredSlides.tablet,loop:this.loop.tablet,loopAdditionalSlides:this.loopAdditionalSlides.tablet,spaceBetween:this.spaceBetween.tablet,slidesPerView:this.slidePerView.tablet,autoplay:this.autoplay.tablet,pagination:this.pagination.tablet},900:{centeredSlides:this.centeredSlides.netbook,loop:this.loop.netbook,loopAdditionalSlides:this.loopAdditionalSlides.netbook,spaceBetween:this.spaceBetween.netbook,slidesPerView:this.slidePerView.netbook,autoplay:this.autoplay.netbook,pagination:this.pagination.netbook},1200:{centeredSlides:this.centeredSlides.desktop,loop:this.loop.desktop,loopAdditionalSlides:this.loopAdditionalSlides.desktop,spaceBetween:this.spaceBetween.desktop,slidesPerView:this.slidePerView.desktop,autoplay:this.autoplay.desktop,pagination:this.pagination.desktop}},e},s.prototype.setDefaultParameters=function(){this.slidePerView={mobile:this.slidesCount<=2?1:1.5,tablet:2,netbook:this.sidebarIsEnable?2:3,desktop:this.sidebarIsEnable?2:3},this.loop={mobile:1!==this.slidesCount,tablet:!(this.slidesCount<=2),netbook:this.sidebarIsEnable?!(this.slidesCount<=2):!(this.slidesCount<=3),desktop:this.sidebarIsEnable?!(this.slidesCount<=2):!(this.slidesCount<=3)},this.loopAdditionalSlides={mobile:3===this.slidesCount?1:0,tablet:3===this.slidesCount?1:0,netbook:3===this.slidesCount?1:0,desktop:3===this.slidesCount?1:0},this.centeredSlides={mobile:!(this.slidesCount<=2),tablet:!(this.slidesCount<=2)&&this.isCentered,netbook:!(this.slidesCount<=3)&&this.isCentered,desktop:!(this.slidesCount<=3)&&this.isCentered},this.spaceBetween={mobile:this.slidesCount<=1?0:20,tablet:this.slidesCount<=1?0:20,netbook:this.slidesCount<=1?0:this.sidebarIsEnable?20:40,desktop:this.slidesCount<=1?0:40},this.autoplay={mobile:!(this.slidesCount<=1)&&(!!this.autoplayEnable&&{delay:this.autoplayDelay,disableOnInteraction:!1}),tablet:!(this.slidesCount<=2)&&(!!this.autoplayEnable&&{delay:this.autoplayDelay,disableOnInteraction:!1}),netbook:this.sidebarIsEnable?!(this.slidesCount<=2)&&(!!this.autoplayEnable&&{delay:this.autoplayDelay,disableOnInteraction:!1}):!(this.slidesCount<=3)&&(!!this.autoplayEnable&&{delay:this.autoplayDelay,disableOnInteraction:!1}),desktop:this.sidebarIsEnable?!(this.slidesCount<=2)&&(!!this.autoplayEnable&&{delay:this.autoplayDelay,disableOnInteraction:!1}):!(this.slidesCount<=3)&&(!!this.autoplayEnable&&{delay:this.autoplayDelay,disableOnInteraction:!1})},this.pagination={mobile:{enable:!(this.slidesCount<=1)},tablet:{enable:!(this.slidesCount<=2)},netbook:{enable:this.sidebarIsEnable?!(this.slidesCount<=2):!(this.slidesCount<=3)},desktop:{enable:this.sidebarIsEnable?!(this.slidesCount<=2):!(this.slidesCount<=3)}}},s.prototype.hideUnnecessaryElements=function(e,t){t=t||window.innerWidth;var i=e.el.querySelectorAll(".swiper-slide-duplicate"),n=e.el.querySelectorAll(".swiper-pagination, .slider-cpt-control");switch(this.currentIndex=e.activeIndex,this.slidesCount){case 1:this.toggleDisplayNavigationElements(!1,n),this.toggleDisplayDuplicateSlides(!1,e,i);break;case 2:t>=600?(this.toggleDisplayNavigationElements(!1,n),this.toggleDisplayDuplicateSlides(!1,e,i)):(this.toggleDisplayNavigationElements(!0,n),this.toggleDisplayDuplicateSlides(!0,e,i));break;case 3:t>=900?this.sidebarIsEnable?(this.toggleDisplayNavigationElements(!0,n),this.toggleDisplayDuplicateSlides(!0,e,i)):(this.toggleDisplayNavigationElements(!1,n),this.toggleDisplayDuplicateSlides(!1,e,i)):(this.toggleDisplayNavigationElements(!0,n),this.toggleDisplayDuplicateSlides(!0,e,i),this.updatePagination(e.pagination))}},s.prototype.toggleClassSwiperDisable=function(e,t){t&&(e?t.classList.remove("swiper-disable"):t.classList.add("swiper-disable"))},s.prototype.toggleDisplayDuplicateSlides=function(e,t,i){e?(i.forEach((function(e){return e.style.display="block"})),this.toggleClassSwiperDisable(!0,t.el),t.slideTo(this.activeIndex||0)):(i.forEach((function(e){return e.style.display="none"})),this.toggleClassSwiperDisable(!1,t.el),t.slideTo(0))},s.prototype.toggleDisplayNavigationElements=function(e,t){0!==t.length&&(e?t.forEach((function(e){return e.style.display="flex"})):t.forEach((function(e){return e.style.display="none"})))},s.prototype.updatePagination=function(e){e.hasBeenInit=e.hasBeenInit||null,e.init()}},function(e,t,i){"use strict";t.a={init:function(){},finalize:function(){}}},function(e,t,i){"use strict";t.a={init:function(){}}},,,,,function(e,t,i){i(73),e.exports=i(96)},function(e,t,i){"use strict";i.r(t),function(e,t){i(2),i(74),i(75),i(76),i(77),i(78),i(79),i(14),i(80),i(83);var n=i(26),s=i(27),r=i(66),a=i(67);i(91),i(25);i(25)(e),i(94),i(95);var l=new n.a({common:s.a,home:r.a,aboutUs:a.a}),o={timer:!1,delay:100};e(document).ready((function(){return l.loadEvents()})),e(window).on("load",(function(){document.body.classList.add("dom-loaded"),l.fullLoadEvents()})).on("resize",(function(){l.resizeEvents(),o.timer||t(window).trigger("resizestart"),clearTimeout(o.timer),o.timer=setTimeout((function(){o.timer=!1,t(window).trigger("resizeend")}),o.delay)})).on("resizestart",(function(){return l.resizeStartEvents()})).on("resizeend",(function(){return l.resizeEndEvents()}))}.call(this,i(2),i(2))},function(e,t,i){
/**
 * what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
 * @version v5.2.12
 * @link https://github.com/ten1seven/what-input
 * @license MIT
 */
e.exports=function(){return i={},e.m=t=[function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,i="initial",n=i,s=Date.now(),r=!1,a=["button","input","select","textarea"],l=[],o=[16,17,18,91,93],c=[],h={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,u={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},f=!1;try{var m=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,m)}catch(m){}var g=function(){if(r=!("false"===e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(i=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(n=window.sessionStorage.getItem("what-intent"))}catch(e){}y("input"),y("intent")},v=function(e){var t=e.which,s=h[e.type];"pointer"===s&&(s=T(e));var r=!c.length&&-1===o.indexOf(t),l=c.length&&-1!==c.indexOf(t),d="keyboard"===s&&t&&(r||l)||"mouse"===s||"touch"===s;if(S(s)&&(d=!1),d&&i!==s&&(x("input",i=s),y("input")),d&&n!==s){var u=document.activeElement;u&&u.nodeName&&(-1===a.indexOf(u.nodeName.toLowerCase())||"button"===u.nodeName.toLowerCase()&&!P(u,"form"))&&(x("intent",n=s),y("intent"))}},y=function(t){e.setAttribute("data-what"+t,"input"===t?i:n),E(t)},_=function(e){var t=h[e.type];"pointer"===t&&(t=T(e)),C(e),(!d&&!S(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&n!==t&&(x("intent",n=t),y("intent"))},b=function(i){i.target.nodeName?(t=i.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),i.target.classList&&i.target.classList.length&&e.setAttribute("data-whatclasses",i.target.classList.toString().replace(" ",","))):w()},w=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},x=function(e,t){if(r)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},T=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),n="mouse"===e&&"touch"===i&&t-s<200;return s=t,n},M=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},E=function(e){for(var t=0,s=l.length;t<s;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?i:n)},C=function(e){u.x!==e.screenX||u.y!==e.screenY?(d=!1,u.x=e.screenX,u.y=e.screenY):d=!0},P=function(e,t){var i=window.Element.prototype;if(i.matches||(i.matches=i.msMatchesSelector||i.webkitMatchesSelector),i.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(h[M()]="mouse",function(){var e=!f||{passive:!0,capture:!0};document.addEventListener("DOMContentLoaded",g,!0),window.PointerEvent?(window.addEventListener("pointerdown",v,!0),window.addEventListener("pointermove",_,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",v,!0),window.addEventListener("MSPointerMove",_,!0)):(window.addEventListener("mousedown",v,!0),window.addEventListener("mousemove",_,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",v,e),window.addEventListener("touchend",v,!0))),window.addEventListener(M(),_,e),window.addEventListener("keydown",v,!0),window.addEventListener("keyup",v,!0),window.addEventListener("focusin",b,!0),window.addEventListener("focusout",w,!0)}()),{ask:function(e){return"intent"===e?n:i},element:function(){return t},ignoreKeys:function(e){o=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){l.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,i=l.length;t<i;t++)if(l[t].fn===e)return t}(e);!t&&0!==t||l.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}],e.c=i,e.p="",e(0);function e(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return t[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var t,i}()},function(e,t,i){var n,s,r;!function(a){"use strict";s=[i(2)],void 0===(r="function"==typeof(n=function(e){var t=-1,i=-1,n=function(e){return parseFloat(e)||0},s=function(t){var i=e(t),s=null,r=[];return i.each((function(){var t=e(this),i=t.offset().top-n(t.css("margin-top")),a=r.length>0?r[r.length-1]:null;null===a?r.push(t):Math.floor(Math.abs(s-i))<=1?r[r.length-1]=a.add(t):r.push(t),s=i})),r},r=function(t){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?e.extend(i,t):("boolean"==typeof t?i.byRow=t:"remove"===t&&(i.remove=!0),i)},a=e.fn.matchHeight=function(t){var i=r(t);if(i.remove){var n=this;return this.css(i.property,""),e.each(a._groups,(function(e,t){t.elements=t.elements.not(n)})),this}return this.length<=1&&!i.target||(a._groups.push({elements:this,options:i}),a._apply(this,i)),this};a.version="0.7.2",a._groups=[],a._throttle=80,a._maintainScroll=!1,a._beforeUpdate=null,a._afterUpdate=null,a._rows=s,a._parse=n,a._parseOptions=r,a._apply=function(t,i){var l=r(i),o=e(t),c=[o],h=e(window).scrollTop(),d=e("html").outerHeight(!0),u=o.parents().filter(":hidden");return u.each((function(){var t=e(this);t.data("style-cache",t.attr("style"))})),u.css("display","block"),l.byRow&&!l.target&&(o.each((function(){var t=e(this),i=t.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block"),t.data("style-cache",t.attr("style")),t.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})})),c=s(o),o.each((function(){var t=e(this);t.attr("style",t.data("style-cache")||"")}))),e.each(c,(function(t,i){var s=e(i),r=0;if(l.target)r=l.target.outerHeight(!1);else{if(l.byRow&&s.length<=1)return void s.css(l.property,"");s.each((function(){var t=e(this),i=t.attr("style"),n=t.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var s={display:n};s[l.property]="",t.css(s),t.outerHeight(!1)>r&&(r=t.outerHeight(!1)),i?t.attr("style",i):t.css("display","")}))}s.each((function(){var t=e(this),i=0;l.target&&t.is(l.target)||("border-box"!==t.css("box-sizing")&&(i+=n(t.css("border-top-width"))+n(t.css("border-bottom-width")),i+=n(t.css("padding-top"))+n(t.css("padding-bottom"))),t.css(l.property,r-i+"px"))}))})),u.each((function(){var t=e(this);t.attr("style",t.data("style-cache")||null)})),a._maintainScroll&&e(window).scrollTop(h/d*e("html").outerHeight(!0)),this},a._applyDataApi=function(){var t={};e("[data-match-height], [data-mh]").each((function(){var i=e(this),n=i.attr("data-mh")||i.attr("data-match-height");t[n]=n in t?t[n].add(i):i})),e.each(t,(function(){this.matchHeight(!0)}))};var l=function(t){a._beforeUpdate&&a._beforeUpdate(t,a._groups),e.each(a._groups,(function(){a._apply(this.elements,this.options)})),a._afterUpdate&&a._afterUpdate(t,a._groups)};a._update=function(n,s){if(s&&"resize"===s.type){var r=e(window).width();if(r===t)return;t=r}n?-1===i&&(i=setTimeout((function(){l(s),i=-1}),a._throttle)):l(s)},e(a._applyDataApi);var o=e.fn.on?"on":"bind";e(window)[o]("load",(function(e){a._update(!1,e)})),e(window)[o]("resize orientationchange",(function(e){a._update(!0,e)}))})?n.apply(t,s):n)||(e.exports=r)}()},function(e,t,i){e.exports=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(i,n){void 0===i&&(i={}),void 0===n&&(n={}),Object.keys(n).forEach((function(s){void 0===i[s]?i[s]=n[s]:e(n[s])&&e(i[s])&&Object.keys(n[s]).length>0&&t(i[s],n[s])}))}var i="undefined"!=typeof document?document:{},n={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};t(i,n);var s="undefined"!=typeof window?window:{};t(s,{document:n,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var r=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function a(e,t){var n=[],a=0;if(e&&!t&&e instanceof r)return e;if(e)if("string"==typeof e){var l,o,c=e.trim();if(c.indexOf("<")>=0&&c.indexOf(">")>=0){var h="div";for(0===c.indexOf("<li")&&(h="ul"),0===c.indexOf("<tr")&&(h="tbody"),0!==c.indexOf("<td")&&0!==c.indexOf("<th")||(h="tr"),0===c.indexOf("<tbody")&&(h="table"),0===c.indexOf("<option")&&(h="select"),(o=i.createElement(h)).innerHTML=c,a=0;a<o.childNodes.length;a+=1)n.push(o.childNodes[a])}else for(l=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||i).querySelectorAll(e.trim()):[i.getElementById(e.trim().split("#")[1])],a=0;a<l.length;a+=1)l[a]&&n.push(l[a])}else if(e.nodeType||e===s||e===i)n.push(e);else if(e.length>0&&e[0].nodeType)for(a=0;a<e.length;a+=1)n.push(e[a]);return new r(n)}function l(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}a.fn=r.prototype,a.Class=r,a.Dom7=r;var o={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===i.length)this[n].setAttribute(e,t);else for(var s in e)this[n][s]=e[s],this[n].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var n=0;n<this.length;n+=1)(i=this[n]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0])return i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage?i.dom7ElementDataStorage[e]:i.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=t[0],s=t[1],r=t[2],l=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),a(t).is(s))r.apply(t,i);else for(var n=a(t).parents(),l=0;l<n.length;l+=1)a(n[l]).is(s)&&r.apply(n[l],i)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(n=(e=t)[0],r=e[1],l=e[2],s=void 0),l||(l=!1);for(var h,d=n.split(" "),u=0;u<this.length;u+=1){var p=this[u];if(s)for(h=0;h<d.length;h+=1){var f=d[h];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[f]||(p.dom7LiveListeners[f]=[]),p.dom7LiveListeners[f].push({listener:r,proxyListener:o}),p.addEventListener(f,o,l)}else for(h=0;h<d.length;h+=1){var m=d[h];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[m]||(p.dom7Listeners[m]=[]),p.dom7Listeners[m].push({listener:r,proxyListener:c}),p.addEventListener(m,c,l)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=t[0],s=t[1],r=t[2],a=t[3];"function"==typeof t[1]&&(n=(e=t)[0],r=e[1],a=e[2],s=void 0),a||(a=!1);for(var l=n.split(" "),o=0;o<l.length;o+=1)for(var c=l[o],h=0;h<this.length;h+=1){var d=this[h],u=void 0;if(!s&&d.dom7Listeners?u=d.dom7Listeners[c]:s&&d.dom7LiveListeners&&(u=d.dom7LiveListeners[c]),u&&u.length)for(var p=u.length-1;p>=0;p-=1){var f=u[p];r&&f.listener===r||r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(d.removeEventListener(c,f.proxyListener,a),u.splice(p,1)):r||(d.removeEventListener(c,f.proxyListener,a),u.splice(p,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=e[0].split(" "),r=e[1],a=0;a<n.length;a+=1)for(var l=n[a],o=0;o<this.length;o+=1){var c=this[o],h=void 0;try{h=new s.CustomEvent(l,{detail:r,bubbles:!0,cancelable:!0})}catch(e){(h=i.createEvent("Event")).initEvent(l,!0,!0),h.detail=r}c.dom7EventData=e.filter((function(e,t){return t>0})),c.dispatchEvent(h),c.dom7EventData=[],delete c.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],n=this;function s(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)n.off(i[t],s)}if(e)for(t=0;t<i.length;t+=1)n.on(i[t],s);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=i.body,r=e.clientTop||n.clientTop||0,a=e.clientLeft||n.clientLeft||0,l=e===s?s.scrollY:e.scrollTop,o=e===s?s.scrollX:e.scrollLeft;return{top:t.top+l-r,left:t.left+o-a}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,l=this[0];if(!l||void 0===e)return!1;if("string"==typeof e){if(l.matches)return l.matches(e);if(l.webkitMatchesSelector)return l.webkitMatchesSelector(e);if(l.msMatchesSelector)return l.msMatchesSelector(e);for(t=a(e),n=0;n<t.length;n+=1)if(t[n]===l)return!0;return!1}if(e===i)return l===i;if(e===s)return l===s;if(e.nodeType||e instanceof r){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===l)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new r(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];for(var s=0;s<t.length;s+=1){e=t[s];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var l=i.createElement("div");for(l.innerHTML=e;l.firstChild;)this[a].appendChild(l.firstChild)}else if(e instanceof r)for(var o=0;o<e.length;o+=1)this[a].appendChild(e[o]);else this[a].appendChild(e)}return this},prepend:function(e){var t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=i.createElement("div");for(s.innerHTML=e,n=s.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(s.childNodes[n],this[t].childNodes[0])}else if(e instanceof r)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&a(this[0].nextElementSibling).is(e)?new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling?new r([this[0].nextElementSibling]):new r([]):new r([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new r([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?a(n).is(e)&&t.push(n):t.push(n),i=n}return new r(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&a(t.previousElementSibling).is(e)?new r([t.previousElementSibling]):new r([]):t.previousElementSibling?new r([t.previousElementSibling]):new r([])}return new r([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new r([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?a(n).is(e)&&t.push(n):t.push(n),i=n}return new r(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?a(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return a(l(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].parentNode;n;)e?a(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return a(l(t))},closest:function(e){var t=this;return void 0===e?new r([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].querySelectorAll(e),s=0;s<n.length;s+=1)t.push(n[s]);return new r(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].childNodes,s=0;s<n.length;s+=1)e?1===n[s].nodeType&&a(n[s]).is(e)&&t.push(n[s]):1===n[s].nodeType&&t.push(n[s]);return new r(l(t))},filter:function(e){for(var t=[],i=0;i<this.length;i+=1)e.call(this[i],i,this[i])&&t.push(this[i]);return new r(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s=this;for(i=0;i<e.length;i+=1){var r=a(e[i]);for(n=0;n<r.length;n+=1)s[s.length]=r[n],s.length+=1}return s},styles:function(){return this[0]?s.getComputedStyle(this[0],null):{}}};Object.keys(o).forEach((function(e){a.fn[e]=a.fn[e]||o[e]}));var c={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var i,n,r;void 0===t&&(t="x");var a=s.getComputedStyle(e,null);return s.WebKitCSSMatrix?((n=a.transform||a.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new s.WebKitCSSMatrix("none"===n?"":n)):i=(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=s.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=s.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0},parseUrlQuery:function(e){var t,i,n,r,a={},l=e||s.location.href;if("string"==typeof l&&l.length)for(r=(i=(l=l.indexOf("?")>-1?l.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<r;t+=1)n=i[t].replace(/#\S+/g,"").split("="),a[decodeURIComponent(n[0])]=void 0===n[1]?void 0:decodeURIComponent(n[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),n=1;n<e.length;n+=1){var s=e[n];if(null!=s)for(var r=Object.keys(Object(s)),a=0,l=r.length;a<l;a+=1){var o=r[a],h=Object.getOwnPropertyDescriptor(s,o);void 0!==h&&h.enumerable&&(c.isObject(i[o])&&c.isObject(s[o])?c.extend(i[o],s[o]):!c.isObject(i[o])&&c.isObject(s[o])?(i[o]={},c.extend(i[o],s[o])):i[o]=s[o])}}return i}},h={touch:!!("ontouchstart"in s||s.DocumentTouch&&i instanceof s.DocumentTouch),pointerEvents:!!s.PointerEvent&&"maxTouchPoints"in s.navigator&&s.navigator.maxTouchPoints>=0,observer:"MutationObserver"in s||"WebkitMutationObserver"in s,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});s.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in s},d=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},u={components:{configurable:!0}};d.prototype.on=function(e,t,i){var n=this;if("function"!=typeof t)return n;var s=i?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)})),n},d.prototype.once=function(e,t,i){var n=this;if("function"!=typeof t)return n;function s(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];n.off(e,s),s.f7proxy&&delete s.f7proxy,t.apply(n,i)}return s.f7proxy=t,n.on(e,s,i)},d.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(n,s){(n===t||n.f7proxy&&n.f7proxy===t)&&i.eventsListeners[e].splice(s,1)}))})),i):i},d.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=r):(i=e[0].events,n=e[0].data,s=e[0].context||r);var a=Array.isArray(i)?i:i.split(" ");return a.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(s,n)}))}})),r},d.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i];n.params&&c.extend(e,n.params)}))},d.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i],s=e[i]||{};n.instance&&Object.keys(n.instance).forEach((function(e){var i=n.instance[e];t[e]="function"==typeof i?i.bind(t):i})),n.on&&t.on&&Object.keys(n.on).forEach((function(e){t.on(e,n.on[e])})),n.create&&n.create.bind(t)(s)}))},u.components.set=function(e){this.use&&this.use(e)},d.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;n.prototype.modules||(n.prototype.modules={});var s=e.name||Object.keys(n.prototype.modules).length+"_"+c.now();return n.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach((function(t){n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n},d.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;return Array.isArray(e)?(e.forEach((function(e){return n.installModule(e)})),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties(d,u);var p,f,m,g,v,y,_,b,w,x,T,S,M,E,C,P={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),c.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,t=this.$wrapperEl,i=this.size,n=this.rtlTranslate,r=this.wrongRTL,a=this.virtual&&e.virtual.enabled,l=a?this.virtual.slides.length:this.slides.length,o=t.children("."+this.params.slideClass),h=a?this.virtual.slides.length:o.length,d=[],u=[],p=[];function f(t){return!e.cssMode||t!==o.length-1}var m=e.slidesOffsetBefore;"function"==typeof m&&(m=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var v=this.snapGrid.length,y=this.snapGrid.length,_=e.spaceBetween,b=-m,w=0,x=0;if(void 0!==i){var T,S;"string"==typeof _&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*i),this.virtualSize=-_,n?o.css({marginLeft:"",marginTop:""}):o.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(T=Math.floor(h/e.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(T=Math.max(T,e.slidesPerView*e.slidesPerColumn)));for(var M,E=e.slidesPerColumn,C=T/E,P=Math.floor(h/e.slidesPerColumn),k=0;k<h;k+=1){S=0;var A=o.eq(k);if(e.slidesPerColumn>1){var L=void 0,O=void 0,I=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var D=Math.floor(k/(e.slidesPerGroup*e.slidesPerColumn)),R=k-e.slidesPerColumn*e.slidesPerGroup*D,z=0===D?e.slidesPerGroup:Math.min(Math.ceil((h-D*E*e.slidesPerGroup)/E),e.slidesPerGroup);L=(O=R-(I=Math.floor(R/z))*z+D*e.slidesPerGroup)+I*T/E,A.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else"column"===e.slidesPerColumnFill?(I=k-(O=Math.floor(k/E))*E,(O>P||O===P&&I===E-1)&&(I+=1)>=E&&(I=0,O+=1)):O=k-(I=Math.floor(k/C))*C;A.css("margin-"+(this.isHorizontal()?"top":"left"),0!==I&&e.spaceBetween&&e.spaceBetween+"px")}if("none"!==A.css("display")){if("auto"===e.slidesPerView){var N=s.getComputedStyle(A[0],null),$=A[0].style.transform,F=A[0].style.webkitTransform;if($&&(A[0].style.transform="none"),F&&(A[0].style.webkitTransform="none"),e.roundLengths)S=this.isHorizontal()?A.outerWidth(!0):A.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(N.getPropertyValue("width")),V=parseFloat(N.getPropertyValue("padding-left")),H=parseFloat(N.getPropertyValue("padding-right")),U=parseFloat(N.getPropertyValue("margin-left")),G=parseFloat(N.getPropertyValue("margin-right")),j=N.getPropertyValue("box-sizing");S=j&&"border-box"===j?B+U+G:B+V+H+U+G}else{var W=parseFloat(N.getPropertyValue("height")),X=parseFloat(N.getPropertyValue("padding-top")),q=parseFloat(N.getPropertyValue("padding-bottom")),Y=parseFloat(N.getPropertyValue("margin-top")),Z=parseFloat(N.getPropertyValue("margin-bottom")),K=N.getPropertyValue("box-sizing");S=K&&"border-box"===K?W+Y+Z:W+X+q+Y+Z}$&&(A[0].style.transform=$),F&&(A[0].style.webkitTransform=F),e.roundLengths&&(S=Math.floor(S))}else S=(i-(e.slidesPerView-1)*_)/e.slidesPerView,e.roundLengths&&(S=Math.floor(S)),o[k]&&(this.isHorizontal()?o[k].style.width=S+"px":o[k].style.height=S+"px");o[k]&&(o[k].swiperSlideSize=S),p.push(S),e.centeredSlides?(b=b+S/2+w/2+_,0===w&&0!==k&&(b=b-i/2-_),0===k&&(b=b-i/2-_),Math.abs(b)<.001&&(b=0),e.roundLengths&&(b=Math.floor(b)),x%e.slidesPerGroup==0&&d.push(b),u.push(b)):(e.roundLengths&&(b=Math.floor(b)),(x-Math.min(this.params.slidesPerGroupSkip,x))%this.params.slidesPerGroup==0&&d.push(b),u.push(b),b=b+S+_),this.virtualSize+=S+_,w=S,x+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+g,n&&r&&("slide"===e.effect||"coverflow"===e.effect)&&t.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(S+e.spaceBetween)*T,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){M=[];for(var J=0;J<d.length;J+=1){var Q=d[J];e.roundLengths&&(Q=Math.floor(Q)),d[J]<this.virtualSize+d[0]&&M.push(Q)}d=M}if(!e.centeredSlides){M=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];e.roundLengths&&(te=Math.floor(te)),d[ee]<=this.virtualSize-i&&M.push(te)}d=M,Math.floor(this.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(this.virtualSize-i)}if(0===d.length&&(d=[0]),0!==e.spaceBetween&&(this.isHorizontal()?n?o.filter(f).css({marginLeft:_+"px"}):o.filter(f).css({marginRight:_+"px"}):o.filter(f).css({marginBottom:_+"px"})),e.centeredSlides&&e.centeredSlidesBounds){var ie=0;p.forEach((function(t){ie+=t+(e.spaceBetween?e.spaceBetween:0)}));var ne=(ie-=e.spaceBetween)-i;d=d.map((function(e){return e<0?-m:e>ne?ne+g:e}))}if(e.centerInsufficientSlides){var se=0;if(p.forEach((function(t){se+=t+(e.spaceBetween?e.spaceBetween:0)})),(se-=e.spaceBetween)<i){var re=(i-se)/2;d.forEach((function(e,t){d[t]=e-re})),u.forEach((function(e,t){u[t]=e+re}))}}c.extend(this,{slides:o,snapGrid:d,slidesGrid:u,slidesSizesGrid:p}),h!==l&&this.emit("slidesLengthChange"),d.length!==v&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),u.length!==y&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],n=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)if(this.params.centeredSlides)this.visibleSlides.each((function(e,t){i.push(t)}));else for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var s=this.activeIndex+t;if(s>this.slides.length)break;i.push(this.slides.eq(s)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;n=r>n?r:n}n&&this.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,n=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var s=-e;n&&(s=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var r=0;r<i.length;r+=1){var l=i[r],o=(s+(t.centeredSlides?this.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight){var c=-(s-l.swiperSlideOffset),h=c+this.slidesSizesGrid[r];(c>=0&&c<this.size-1||h>1&&h<=this.size||c<=0&&h>=this.size)&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(r),i.eq(r).addClass(t.slideVisibleClass))}l.progress=n?-o:o}this.visibleSlides=a(this.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,n=this.maxTranslate()-this.minTranslate(),s=this.progress,r=this.isBeginning,a=this.isEnd,l=r,o=a;0===n?(s=0,r=!0,a=!0):(r=(s=(e-this.minTranslate())/n)<=0,a=s>=1),c.extend(this,{progress:s,isBeginning:r,isEnd:a}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),r&&!l&&this.emit("reachBeginning toEdge"),a&&!o&&this.emit("reachEnd toEdge"),(l&&!r||o&&!a)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,n=this.$wrapperEl,s=this.activeIndex,r=this.realIndex,a=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=t.eq(0)).addClass(i.slideNextClass);var o=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===o.length&&(o=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),o.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,s=this.snapGrid,r=this.params,a=this.activeIndex,l=this.realIndex,o=this.snapIndex,h=e;if(void 0===h){for(var d=0;d<n.length;d+=1)void 0!==n[d+1]?i>=n[d]&&i<n[d+1]-(n[d+1]-n[d])/2?h=d:i>=n[d]&&i<n[d+1]&&(h=d+1):i>=n[d]&&(h=d);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if(s.indexOf(i)>=0)t=s.indexOf(i);else{var u=Math.min(r.slidesPerGroupSkip,h);t=u+Math.floor((h-u)/r.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),h!==a){var p=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);c.extend(this,{snapIndex:t,realIndex:p,previousIndex:a,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),l!==p&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")}else t!==o&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=a(e.target).closest("."+t.slideClass)[0],n=!1;if(i)for(var s=0;s<this.slides.length;s+=1)this.slides[s]===i&&(n=!0);if(!i||!n)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(a(i).attr("data-swiper-slide-index"),10):this.clickedIndex=a(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},k={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,n=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;var r=c.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,n=this.params,s=this.$wrapperEl,r=this.wrapperEl,a=this.progress,l=0,o=0;this.isHorizontal()?l=i?-e:e:o=e,n.roundLengths&&(l=Math.floor(l),o=Math.floor(o)),n.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-l:-o:n.virtualTranslate||s.transform("translate3d("+l+"px, "+o+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?l:o;var c=this.maxTranslate()-this.minTranslate();(0===c?0:(e-this.minTranslate())/c)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,s){var r;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var a=this,l=a.params,o=a.wrapperEl;if(a.animating&&l.preventInteractionOnTransition)return!1;var c,h=a.minTranslate(),d=a.maxTranslate();if(c=n&&e>h?h:n&&e<d?d:e,a.updateProgress(c),l.cssMode){var u=a.isHorizontal();return 0===t?o[u?"scrollLeft":"scrollTop"]=-c:o.scrollTo?o.scrollTo(((r={})[u?"left":"top"]=-c,r.behavior="smooth",r)):o[u?"scrollLeft":"scrollTop"]=-c,!0}return 0===t?(a.setTransition(0),a.setTranslate(c),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,i&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},A={slideTo:function(e,t,i,n){var s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var r=this,a=e;a<0&&(a=0);var l=r.params,o=r.snapGrid,c=r.slidesGrid,h=r.previousIndex,d=r.activeIndex,u=r.rtlTranslate,p=r.wrapperEl;if(r.animating&&l.preventInteractionOnTransition)return!1;var f=Math.min(r.params.slidesPerGroupSkip,a),m=f+Math.floor((a-f)/r.params.slidesPerGroup);m>=o.length&&(m=o.length-1),(d||l.initialSlide||0)===(h||0)&&i&&r.emit("beforeSlideChangeStart");var g,v=-o[m];if(r.updateProgress(v),l.normalizeSlideIndex)for(var y=0;y<c.length;y+=1)-Math.floor(100*v)>=Math.floor(100*c[y])&&(a=y);if(r.initialized&&a!==d){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(d||0)!==a)return!1}if(g=a>d?"next":a<d?"prev":"reset",u&&-v===r.translate||!u&&v===r.translate)return r.updateActiveIndex(a),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(v),"reset"!==g&&(r.transitionStart(i,g),r.transitionEnd(i,g)),!1;if(l.cssMode){var _=r.isHorizontal(),b=-v;return u&&(b=p.scrollWidth-p.offsetWidth-b),0===t?p[_?"scrollLeft":"scrollTop"]=b:p.scrollTo?p.scrollTo(((s={})[_?"left":"top"]=b,s.behavior="smooth",s)):p[_?"scrollLeft":"scrollTop"]=b,!0}return 0===t?(r.setTransition(0),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,g),r.transitionEnd(i,g)):(r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,g),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,g))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,r=this.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+r,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,r=this.snapGrid,a=this.slidesGrid,l=this.rtlTranslate;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function o(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,h=o(l?this.translate:-this.translate),d=r.map((function(e){return o(e)})),u=(a.map((function(e){return o(e)})),r[d.indexOf(h)],r[d.indexOf(h)-1]);return void 0===u&&n.cssMode&&r.forEach((function(e){!u&&h>=e&&(u=e)})),void 0!==u&&(c=a.indexOf(u))<0&&(c=this.activeIndex-1),this.slideTo(c,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var s=this.activeIndex,r=Math.min(this.params.slidesPerGroupSkip,s),a=r+Math.floor((s-r)/this.params.slidesPerGroup),l=this.rtlTranslate?this.translate:-this.translate;if(l>=this.snapGrid[a]){var o=this.snapGrid[a];l-o>(this.snapGrid[a+1]-o)*n&&(s+=this.params.slidesPerGroup)}else{var c=this.snapGrid[a-1];l-c<=(this.snapGrid[a]-c)*n&&(s-=this.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,this.slidesGrid.length-1),this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,s="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(a(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-s/2||r>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}},L={loopCreate:function(){var e=this,t=e.params,n=e.$wrapperEl;n.children("."+t.slideClass+"."+t.slideDuplicateClass).remove();var s=n.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var r=t.slidesPerGroup-s.length%t.slidesPerGroup;if(r!==t.slidesPerGroup){for(var l=0;l<r;l+=1){var o=a(i.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);n.append(o)}s=n.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>s.length&&(e.loopedSlides=s.length);var c=[],h=[];s.each((function(t,i){var n=a(i);t<e.loopedSlides&&h.push(i),t<s.length&&t>=s.length-e.loopedSlides&&c.push(i),n.attr("data-swiper-slide-index",t)}));for(var d=0;d<h.length;d+=1)n.append(a(h[d].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var u=c.length-1;u>=0;u-=1)n.prepend(a(c[u].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,n=this.loopedSlides,s=this.allowSlidePrev,r=this.allowSlideNext,a=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var o=-a[t]-this.getTranslate();t<n?(e=i.length-3*n+t,e+=n,this.slideTo(e,0,!1,!0)&&0!==o&&this.setTranslate((l?-this.translate:this.translate)-o)):t>=i.length-n&&(e=-i.length+t+n,e+=n,this.slideTo(e,0,!1,!0)&&0!==o&&this.setTranslate((l?-this.translate:this.translate)-o)),this.allowSlidePrev=s,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},O={setGrabCursor:function(e){if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},I={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.append(e[n]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&this.loopDestroy();var s=n+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);s=n+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(s,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,n=this.params,s=this.activeIndex;n.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var a=s>e?s+1:s,l=[],o=r-1;o>=e;o-=1){var c=this.slides.eq(o);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&i.append(t[d]);a=s>e?s+t.length:s}else i.append(t);for(var u=0;u<l.length;u+=1)i.append(l[u]);n.loop&&this.loopCreate(),n.observer&&h.observer||this.update(),n.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var s,r=n;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)s=e[a],this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},D=(p=s.navigator.platform,f=s.navigator.userAgent,m={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!s.cordova&&!s.phonegap),phonegap:!(!s.cordova&&!s.phonegap),electron:!1},g=s.screen.width,v=s.screen.height,y=f.match(/(Android);?[\s\/]+([\d.]+)?/),_=f.match(/(iPad).*OS\s([\d_]+)/),b=f.match(/(iPod)(.*OS\s([\d_]+))?/),w=!_&&f.match(/(iPhone\sOS|iOS)\s([\d_]+)/),x=f.indexOf("MSIE ")>=0||f.indexOf("Trident/")>=0,T=f.indexOf("Edge/")>=0,S=f.indexOf("Gecko/")>=0&&f.indexOf("Firefox/")>=0,M="Win32"===p,E=f.toLowerCase().indexOf("electron")>=0,C="MacIntel"===p,!_&&C&&h.touch&&(1024===g&&1366===v||834===g&&1194===v||834===g&&1112===v||768===g&&1024===v)&&(_=f.match(/(Version)\/([\d.]+)/),C=!1),m.ie=x,m.edge=T,m.firefox=S,y&&!M&&(m.os="android",m.osVersion=y[2],m.android=!0,m.androidChrome=f.toLowerCase().indexOf("chrome")>=0),(_||w||b)&&(m.os="ios",m.ios=!0),w&&!b&&(m.osVersion=w[2].replace(/_/g,"."),m.iphone=!0),_&&(m.osVersion=_[2].replace(/_/g,"."),m.ipad=!0),b&&(m.osVersion=b[3]?b[3].replace(/_/g,"."):null,m.ipod=!0),m.ios&&m.osVersion&&f.indexOf("Version/")>=0&&"10"===m.osVersion.split(".")[0]&&(m.osVersion=f.toLowerCase().split("version/")[1].split(" ")[0]),m.webView=!(!(w||_||b)||!f.match(/.*AppleWebKit(?!.*Safari)/i)&&!s.navigator.standalone)||s.matchMedia&&s.matchMedia("(display-mode: standalone)").matches,m.webview=m.webView,m.standalone=m.webView,m.desktop=!(m.ios||m.android)||E,m.desktop&&(m.electron=E,m.macos=C,m.windows=M,m.macos&&(m.os="macos"),m.windows&&(m.os="windows")),m.pixelRatio=s.devicePixelRatio||1,m);function R(e){var t=this.touchEventsData,n=this.params,r=this.touches;if(!this.animating||!n.preventInteractionOnTransition){var l=e;l.originalEvent&&(l=l.originalEvent);var o=a(l.target);if(("wrapper"!==n.touchEventsTarget||o.closest(this.wrapperEl).length)&&(t.isTouchEvent="touchstart"===l.type,(t.isTouchEvent||!("which"in l)||3!==l.which)&&!(!t.isTouchEvent&&"button"in l&&l.button>0||t.isTouched&&t.isMoved)))if(n.noSwiping&&o.closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])this.allowClick=!0;else if(!n.swipeHandler||o.closest(n.swipeHandler)[0]){r.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,r.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var h=r.currentX,d=r.currentY,u=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,p=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!u||!(h<=p||h>=s.screen.width-p)){if(c.extend(t,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=h,r.startY=d,t.touchStartTime=c.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,n.threshold>0&&(t.allowThresholdMove=!1),"touchstart"!==l.type){var f=!0;o.is(t.formElements)&&(f=!1),i.activeElement&&a(i.activeElement).is(t.formElements)&&i.activeElement!==o[0]&&i.activeElement.blur();var m=f&&this.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||m)&&l.preventDefault()}this.emit("touchStart",l)}}}}function z(e){var t=this.touchEventsData,n=this.params,s=this.touches,r=this.rtlTranslate,l=e;if(l.originalEvent&&(l=l.originalEvent),t.isTouched){if(!t.isTouchEvent||"touchmove"===l.type){var o="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),h="touchmove"===l.type?o.pageX:l.pageX,d="touchmove"===l.type?o.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=h,void(s.startY=d);if(!this.allowTouchMove)return this.allowClick=!1,void(t.isTouched&&(c.extend(s,{startX:h,startY:d,currentX:h,currentY:d}),t.touchStartTime=c.now()));if(t.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(this.isVertical()){if(d<s.startY&&this.translate<=this.maxTranslate()||d>s.startY&&this.translate>=this.minTranslate())return t.isTouched=!1,void(t.isMoved=!1)}else if(h<s.startX&&this.translate<=this.maxTranslate()||h>s.startX&&this.translate>=this.minTranslate())return;if(t.isTouchEvent&&i.activeElement&&l.target===i.activeElement&&a(l.target).is(t.formElements))return t.isMoved=!0,void(this.allowClick=!1);if(t.allowTouchCallbacks&&this.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){s.currentX=h,s.currentY=d;var u,p=s.currentX-s.startX,f=s.currentY-s.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))<this.params.threshold))if(void 0===t.isScrolling&&(this.isHorizontal()&&s.currentY===s.startY||this.isVertical()&&s.currentX===s.startX?t.isScrolling=!1:p*p+f*f>=25&&(u=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,t.isScrolling=this.isHorizontal()?u>n.touchAngle:90-u>n.touchAngle)),t.isScrolling&&this.emit("touchMoveOpposite",l),void 0===t.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(t.startMoving=!0)),t.isScrolling)t.isTouched=!1;else if(t.startMoving){this.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),t.isMoved||(n.loop&&this.loopFix(),t.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),t.allowMomentumBounce=!1,!n.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",l)),this.emit("sliderMove",l),t.isMoved=!0;var m=this.isHorizontal()?p:f;s.diff=m,m*=n.touchRatio,r&&(m=-m),this.swipeDirection=m>0?"prev":"next",t.currentTranslate=m+t.startTranslate;var g=!0,v=n.resistanceRatio;if(n.touchReleaseOnEdges&&(v=0),m>0&&t.currentTranslate>this.minTranslate()?(g=!1,n.resistance&&(t.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+t.startTranslate+m,v))):m<0&&t.currentTranslate<this.maxTranslate()&&(g=!1,n.resistance&&(t.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-t.startTranslate-m,v))),g&&(l.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&t.currentTranslate<t.startTranslate&&(t.currentTranslate=t.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&t.currentTranslate>t.startTranslate&&(t.currentTranslate=t.startTranslate),n.threshold>0){if(!(Math.abs(m)>n.threshold||t.allowThresholdMove))return void(t.currentTranslate=t.startTranslate);if(!t.allowThresholdMove)return t.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,t.currentTranslate=t.startTranslate,void(s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),n.freeMode&&(0===t.velocities.length&&t.velocities.push({position:s[this.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[this.isHorizontal()?"currentX":"currentY"],time:c.now()})),this.updateProgress(t.currentTranslate),this.setTranslate(t.currentTranslate))}}}}else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite",l)}function N(e){var t=this,i=t.touchEventsData,n=t.params,s=t.touches,r=t.rtlTranslate,a=t.$wrapperEl,l=t.slidesGrid,o=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,u=c.now(),p=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap click",h),p<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",h)),i.lastClickTime=c.now(),c.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,d=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var f=i.velocities.pop(),m=i.velocities.pop(),g=f.position-m.position,v=f.time-m.time;t.velocity=g/v,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(v>150||c.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var y=1e3*n.freeModeMomentumRatio,_=t.velocity*y,b=t.translate+_;r&&(b=-b);var w,x,T=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(b<t.maxTranslate())n.freeModeMomentumBounce?(b+t.maxTranslate()<-S&&(b=t.maxTranslate()-S),w=t.maxTranslate(),T=!0,i.allowMomentumBounce=!0):b=t.maxTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(b>t.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>S&&(b=t.minTranslate()+S),w=t.minTranslate(),T=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(n.freeModeSticky){for(var M,E=0;E<o.length;E+=1)if(o[E]>-b){M=E;break}b=-(b=Math.abs(o[M]-b)<Math.abs(o[M-1]-b)||"next"===t.swipeDirection?o[M]:o[M-1])}if(x&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(y=r?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity),n.freeModeSticky){var C=Math.abs((r?-b:b)-t.translate),P=t.slidesSizesGrid[t.activeIndex];y=C<P?n.speed:C<2*P?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&T?(t.updateProgress(w),t.setTransition(y),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout((function(){t.setTranslate(w),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(b),t.setTransition(y),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(b),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||p>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,A=t.slidesSizesGrid[0],L=0;L<l.length;L+=L<n.slidesPerGroupSkip?1:n.slidesPerGroup){var O=L<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==l[L+O]?d>=l[L]&&d<l[L+O]&&(k=L,A=l[L+O]-l[L]):d>=l[L]&&(k=L,A=l[l.length-1]-l[l.length-2])}var I=(d-l[k])/A,D=k<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(p>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=n.longSwipesRatio?t.slideTo(k+D):t.slideTo(k)),"prev"===t.swipeDirection&&(I>1-n.longSwipesRatio?t.slideTo(k+D):t.slideTo(k))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||h.target!==t.navigation.nextEl&&h.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(k+D),"prev"===t.swipeDirection&&t.slideTo(k)):h.target===t.navigation.nextEl?t.slideTo(k+D):t.slideTo(k)}}}function $(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,n=this.allowSlidePrev,s=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=i,this.params.watchOverflow&&s!==this.snapGrid&&this.checkOverflow()}}function F(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function B(){var e=this.wrapperEl,t=this.rtlTranslate;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:this.translate=-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}var V=!1;function H(){}var U={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},G={update:P,translate:k,transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.params,s=this.previousIndex;if(!n.cssMode){n.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),this.emit("transitionStart"),e&&i!==s){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.previousIndex,s=this.params;if(this.animating=!1,!s.cssMode){this.setTransition(0);var r=t;if(r||(r=i>n?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),e&&i!==n){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}}},slide:A,loop:L,grabCursor:O,manipulation:I,events:{attachEvents:function(){var e=this.params,t=this.touchEvents,n=this.el,s=this.wrapperEl;this.onTouchStart=R.bind(this),this.onTouchMove=z.bind(this),this.onTouchEnd=N.bind(this),e.cssMode&&(this.onScroll=B.bind(this)),this.onClick=F.bind(this);var r=!!e.nested;if(!h.touch&&h.pointerEvents)n.addEventListener(t.start,this.onTouchStart,!1),i.addEventListener(t.move,this.onTouchMove,r),i.addEventListener(t.end,this.onTouchEnd,!1);else{if(h.touch){var a=!("touchstart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(t.start,this.onTouchStart,a),n.addEventListener(t.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:r}:r),n.addEventListener(t.end,this.onTouchEnd,a),t.cancel&&n.addEventListener(t.cancel,this.onTouchEnd,a),V||(i.addEventListener("touchstart",H),V=!0)}(e.simulateTouch&&!D.ios&&!D.android||e.simulateTouch&&!h.touch&&D.ios)&&(n.addEventListener("mousedown",this.onTouchStart,!1),i.addEventListener("mousemove",this.onTouchMove,r),i.addEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.addEventListener("click",this.onClick,!0),e.cssMode&&s.addEventListener("scroll",this.onScroll),e.updateOnWindowResize?this.on(D.ios||D.android?"resize orientationchange observerUpdate":"resize observerUpdate",$,!0):this.on("observerUpdate",$,!0)},detachEvents:function(){var e=this.params,t=this.touchEvents,n=this.el,s=this.wrapperEl,r=!!e.nested;if(!h.touch&&h.pointerEvents)n.removeEventListener(t.start,this.onTouchStart,!1),i.removeEventListener(t.move,this.onTouchMove,r),i.removeEventListener(t.end,this.onTouchEnd,!1);else{if(h.touch){var a=!("onTouchStart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(t.start,this.onTouchStart,a),n.removeEventListener(t.move,this.onTouchMove,r),n.removeEventListener(t.end,this.onTouchEnd,a),t.cancel&&n.removeEventListener(t.cancel,this.onTouchEnd,a)}(e.simulateTouch&&!D.ios&&!D.android||e.simulateTouch&&!h.touch&&D.ios)&&(n.removeEventListener("mousedown",this.onTouchStart,!1),i.removeEventListener("mousemove",this.onTouchMove,r),i.removeEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.removeEventListener("click",this.onClick,!0),e.cssMode&&s.removeEventListener("scroll",this.onScroll),this.off(D.ios||D.android?"resize orientationchange observerUpdate":"resize observerUpdate",$)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var n=this.params,s=this.$el,r=n.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var a=this.getBreakpoint(r);if(a&&this.currentBreakpoint!==a){var l=a in r?r[a]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var o=l||this.originalParams,h=n.slidesPerColumn>1,d=o.slidesPerColumn>1;h&&!d?s.removeClass(n.containerModifierClass+"multirow "+n.containerModifierClass+"multirow-column"):!h&&d&&(s.addClass(n.containerModifierClass+"multirow"),"column"===o.slidesPerColumnFill&&s.addClass(n.containerModifierClass+"multirow-column"));var u=o.direction&&o.direction!==n.direction,p=n.loop&&(o.slidesPerView!==n.slidesPerView||u);u&&t&&this.changeDirection(),c.extend(this.params,o),c.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=a,p&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",o)}}},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:s.innerHeight*t,point:e}}return{value:e,point:e}}));i.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var n=0;n<i.length;n+=1){var r=i[n],a=r.point;r.value<=s.innerWidth&&(t=a)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,n=this.$el,s=[];s.push("initialized"),s.push(t.direction),t.freeMode&&s.push("free-mode"),t.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),t.slidesPerColumn>1&&(s.push("multirow"),"column"===t.slidesPerColumnFill&&s.push("multirow-column")),D.android&&s.push("android"),D.ios&&s.push("ios"),t.cssMode&&s.push("css-mode"),s.forEach((function(i){e.push(t.containerModifierClass+i)})),n.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,n,r,l){var o;function c(){l&&l()}a(e).parent("picture")[0]||e.complete&&r?c():t?((o=new s.Image).onload=c,o.onerror=c,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):c()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},j={},W=function(e){function t(){for(var i,n,s,r=[],l=arguments.length;l--;)r[l]=arguments[l];1===r.length&&r[0].constructor&&r[0].constructor===Object?s=r[0]:(n=(i=r)[0],s=i[1]),s||(s={}),s=c.extend({},s),n&&!s.el&&(s.el=n),e.call(this,s),Object.keys(G).forEach((function(e){Object.keys(G[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=G[e][i])}))}));var o=this;void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach((function(e){var t=o.modules[e];if(t.params){var i=Object.keys(t.params)[0],n=t.params[i];if("object"!=typeof n||null===n)return;if(!(i in s)||!("enabled"in n))return;!0===s[i]&&(s[i]={enabled:!0}),"object"!=typeof s[i]||"enabled"in s[i]||(s[i].enabled=!0),s[i]||(s[i]={enabled:!1})}}));var d=c.extend({},U);o.useModulesParams(d),o.params=c.extend({},d,j,s),o.originalParams=c.extend({},o.params),o.passedParams=c.extend({},s),o.$=a;var u=a(o.params.el);if(n=u[0]){if(u.length>1){var p=[];return u.each((function(e,i){var n=c.extend({},s,{el:i});p.push(new t(n))})),p}var f,m,g;return n.swiper=o,u.data("swiper",o),n&&n.shadowRoot&&n.shadowRoot.querySelector?(f=a(n.shadowRoot.querySelector("."+o.params.wrapperClass))).children=function(e){return u.children(e)}:f=u.children("."+o.params.wrapperClass),c.extend(o,{$el:u,el:n,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:a(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},rtl:"rtl"===n.dir.toLowerCase()||"rtl"===u.css("direction"),rtlTranslate:"horizontal"===o.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===u.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(m=["touchstart","touchmove","touchend","touchcancel"],g=["mousedown","mousemove","mouseup"],h.pointerEvents&&(g=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:m[0],move:m[1],end:m[2],cancel:m[3]},o.touchEventsDesktop={start:g[0],move:g[1],end:g[2]},h.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:c.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.params.init&&o.init(),o}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,n=this.size,s=this.activeIndex,r=1;if(e.centeredSlides){for(var a,l=t[s].swiperSlideSize,o=s+1;o<t.length;o+=1)t[o]&&!a&&(r+=1,(l+=t[o].swiperSlideSize)>n&&(a=!0));for(var c=s-1;c>=0;c-=1)t[c]&&!a&&(r+=1,(l+=t[c].swiperSlideSize)>n&&(a=!0))}else for(var h=s+1;h<t.length;h+=1)i[h]-i[s]<n&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(n(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+i).addClass(""+this.params.containerModifierClass+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),this.emit("changeDirection"),t&&this.update()),this},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,n=i.params,s=i.$el,r=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),c.deleteProps(i)),i.destroyed=!0),null},t.extendDefaults=function(e){c.extend(j,e)},i.extendedDefaults.get=function(){return j},i.defaults.get=function(){return U},i.Class.get=function(){return e},i.$.get=function(){return a},Object.defineProperties(t,i),t}(d),X={name:"device",proto:{device:D},static:{device:D}},q={name:"support",proto:{support:h},static:{support:h}},Y={isEdge:!!s.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=s.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent)},Z={name:"browser",proto:{browser:Y},static:{browser:Y}},K={name:"resize",create:function(){var e=this;c.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){s.addEventListener("resize",this.resize.resizeHandler),s.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){s.removeEventListener("resize",this.resize.resizeHandler),s.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},J={func:s.MutationObserver||s.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,n=new(0,J.func)((function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}else i.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(n)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},Q={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){c.extend(this,{observer:{init:J.init.bind(this),attach:J.attach.bind(this),destroy:J.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},ee={update:function(e){var t=this,i=t.params,n=i.slidesPerView,s=i.slidesPerGroup,r=i.centeredSlides,a=t.params.virtual,l=a.addSlidesBefore,o=a.addSlidesAfter,h=t.virtual,d=h.from,u=h.to,p=h.slides,f=h.slidesGrid,m=h.renderSlide,g=h.offset;t.updateActiveIndex();var v,y,_,b=t.activeIndex||0;v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(y=Math.floor(n/2)+s+l,_=Math.floor(n/2)+s+o):(y=n+(s-1)+l,_=s+o);var w=Math.max((b||0)-_,0),x=Math.min((b||0)+y,p.length-1),T=(t.slidesGrid[w]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(c.extend(t.virtual,{from:w,to:x,offset:T,slidesGrid:t.slidesGrid}),d===w&&u===x&&!e)return t.slidesGrid!==f&&T!==g&&t.slides.css(v,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:w,to:x,slides:function(){for(var e=[],t=w;t<=x;t+=1)e.push(p[t]);return e}()}),void S();var M=[],E=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var C=d;C<=u;C+=1)(C<w||C>x)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+C+'"]').remove();for(var P=0;P<p.length;P+=1)P>=w&&P<=x&&(void 0===u||e?E.push(P):(P>u&&E.push(P),P<d&&M.push(P)));E.forEach((function(e){t.$wrapperEl.append(m(p[e],e))})),M.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(m(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(v,T+"px"),S()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var n=i.renderSlide?a(i.renderSlide.call(this,e,t)):a('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=n),n},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,n=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&this.virtual.slides.unshift(e[s]);i=t+e.length,n=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,a={};Object.keys(r).forEach((function(e){var t=r[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),a[parseInt(e,10)+n]=t})),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},te={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){c.extend(this,{virtual:{update:ee.update.bind(this),appendSlide:ee.appendSlide.bind(this),prependSlide:ee.prependSlide.bind(this),removeSlide:ee.removeSlide.bind(this),removeAllSlides:ee.removeAllSlides.bind(this),renderSlide:ee.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};c.extend(this.params,e),c.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},ie={handle:function(e){var t=this.rtlTranslate,n=e;n.originalEvent&&(n=n.originalEvent);var r=n.keyCode||n.charCode,a=this.params.keyboard.pageUpDown,l=a&&33===r,o=a&&34===r,c=37===r,h=39===r,d=38===r,u=40===r;if(!this.allowSlideNext&&(this.isHorizontal()&&h||this.isVertical()&&u||o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&c||this.isVertical()&&d||l))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(l||o||c||h||d||u)){var p=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var f=s.innerWidth,m=s.innerHeight,g=this.$el.offset();t&&(g.left-=this.$el[0].scrollLeft);for(var v=[[g.left,g.top],[g.left+this.width,g.top],[g.left,g.top+this.height],[g.left+this.width,g.top+this.height]],y=0;y<v.length;y+=1){var _=v[y];_[0]>=0&&_[0]<=f&&_[1]>=0&&_[1]<=m&&(p=!0)}if(!p)return}this.isHorizontal()?((l||o||c||h)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((o||h)&&!t||(l||c)&&t)&&this.slideNext(),((l||c)&&!t||(o||h)&&t)&&this.slidePrev()):((l||o||d||u)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(o||u)&&this.slideNext(),(l||d)&&this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(a(i).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(a(i).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},ne={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){c.extend(this,{keyboard:{enabled:!1,enable:ie.enable.bind(this),disable:ie.disable.bind(this),handle:ie.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},se={lastScrollTime:c.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return s.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in i;if(!e){var t=i.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&i.implementation&&i.implementation.hasFeature&&!0!==i.implementation.hasFeature("","")&&(e=i.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,s=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,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var s=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(s=a(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!s[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,l=i.rtlTranslate?-1:1,o=se.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=-o.pixelX*l}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=-o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*l:-o.pixelY;if(0===r)return!0;if(n.invert&&(r=-r),i.params.freeMode){var h={time:c.now(),delta:Math.abs(r),direction:Math.sign(r)},d=i.mousewheel.lastEventBeforeSnap,u=d&&h.time<d.time+500&&h.delta<=d.delta&&h.direction===d.direction;if(!u){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var p=i.getTranslate()+r*n.sensitivity,f=i.isBeginning,m=i.isEnd;if(p>=i.minTranslate()&&(p=i.minTranslate()),p<=i.maxTranslate()&&(p=i.maxTranslate()),i.setTransition(0),i.setTranslate(p),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!f&&i.isBeginning||!m&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var g=i.mousewheel.recentWheelEvents;g.length>=15&&g.shift();var v=g.length?g[g.length-1]:void 0,y=g[0];if(g.push(h),v&&(h.delta>v.delta||h.direction!==v.direction))g.splice(0);else if(g.length>=15&&h.time-y.time<500&&y.delta-h.delta>=1&&h.delta<=6){var _=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=h,g.splice(0),i.mousewheel.timeout=c.nextTick((function(){i.slideToClosest(i.params.speed,!0,void 0,_)}),0)}i.mousewheel.timeout||(i.mousewheel.timeout=c.nextTick((function(){i.mousewheel.lastEventBeforeSnap=h,g.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)}),500))}if(u||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),p===i.minTranslate()||p===i.maxTranslate())return!0}}else{var b={time:c.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},w=i.mousewheel.recentWheelEvents;w.length>=2&&w.shift();var x=w.length?w[w.length-1]:void 0;if(w.push(b),x?(b.direction!==x.direction||b.delta>x.delta||b.time>x.time+150)&&i.mousewheel.animateSlider(b):i.mousewheel.animateSlider(b),i.mousewheel.releaseScroll(b))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&c.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new s.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=se.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=a(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=se.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=a(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},re={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=a(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=a(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),c.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},ae={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,n=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,s=this.pagination.$el,r=this.params.loop?Math.ceil((n-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>n-1-2*this.loopedSlides&&(i-=n-2*this.loopedSlides),i>r-1&&(i-=r),i<0&&"bullets"!==this.params.paginationType&&(i=r+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var l,o,c,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),l=i-this.pagination.dynamicBulletIndex,c=((o=l+(Math.min(h.length,t.dynamicMainBullets)-1))+l)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),s.length>1)h.each((function(e,n){var s=a(n),r=s.index();r===i&&s.addClass(t.bulletActiveClass),t.dynamicBullets&&(r>=l&&r<=o&&s.addClass(t.bulletActiveClass+"-main"),r===l&&s.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),r===o&&s.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else{var d=h.eq(i),u=d.index();if(d.addClass(t.bulletActiveClass),t.dynamicBullets){for(var p=h.eq(l),f=h.eq(o),m=l;m<=o;m+=1)h.eq(m).addClass(t.bulletActiveClass+"-main");if(this.params.loop)if(u>=h.length-t.dynamicMainBullets){for(var g=t.dynamicMainBullets;g>=0;g-=1)h.eq(h.length-g).addClass(t.bulletActiveClass+"-main");h.eq(h.length-t.dynamicMainBullets-1).addClass(t.bulletActiveClass+"-prev")}else p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),f.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next");else p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),f.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}}if(t.dynamicBullets){var v=Math.min(h.length,t.dynamicMainBullets+4),y=(this.pagination.bulletSize*v-this.pagination.bulletSize)/2-c*this.pagination.bulletSize,_=e?"right":"left";h.css(this.isHorizontal()?_:"top",y+"px")}}if("fraction"===t.type&&(s.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),s.find("."+t.totalClass).text(t.formatFractionTotal(r))),"progressbar"===t.type){var b;b=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var w=(i+1)/r,x=1,T=1;"horizontal"===b?x=w:T=w,s.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+T+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(s.html(t.renderCustom(this,i+1,r)),this.emit("paginationRender",this,s[0])):this.emit("paginationUpdate",this,s[0]),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,n="";if("bullets"===e.type){for(var s=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<s;r+=1)e.renderBullet?n+=e.renderBullet.call(this,r,e.bulletClass):n+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=a(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=a(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),c.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},le={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,n=e.dragSize,s=e.trackSize,r=e.$dragEl,a=e.$el,l=this.params.scrollbar,o=n,c=(s-n)*i;t?(c=-c)>0?(o=n-c,c=0):-c+n>s&&(o=s+c):c<0?(o=n+c,c=0):c+n>s&&(o=s-c),this.isHorizontal()?(r.transform("translate3d("+c+"px, 0, 0)"),r[0].style.width=o+"px"):(r.transform("translate3d(0px, "+c+"px, 0)"),r[0].style.height=o+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var n,s=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,a=r*(s/this.size);n="auto"===this.params.scrollbar.dragSize?s*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),c.extend(e,{trackSize:s,divider:r,moveDivider:a,dragSize:n}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,n=this.rtlTranslate,s=i.$el,r=i.dragSize,a=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[this.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(a-r),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var o=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(o),this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),s.transition(0),t.hide&&s.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,n=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=c.nextTick((function(){s.css("opacity",0),s.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,n=this.touchEventsDesktop,s=this.params,r=e.$el[0],a=!(!h.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.addEventListener(t.start,this.scrollbar.onDragStart,a),r.addEventListener(t.move,this.scrollbar.onDragMove,a),r.addEventListener(t.end,this.scrollbar.onDragEnd,l)):(r.addEventListener(n.start,this.scrollbar.onDragStart,a),i.addEventListener(n.move,this.scrollbar.onDragMove,a),i.addEventListener(n.end,this.scrollbar.onDragEnd,l))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,n=this.touchEventsDesktop,s=this.params,r=e.$el[0],a=!(!h.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!h.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.removeEventListener(t.start,this.scrollbar.onDragStart,a),r.removeEventListener(t.move,this.scrollbar.onDragMove,a),r.removeEventListener(t.end,this.scrollbar.onDragEnd,l)):(r.removeEventListener(n.start,this.scrollbar.onDragStart,a),i.removeEventListener(n.move,this.scrollbar.onDragMove,a),i.removeEventListener(n.end,this.scrollbar.onDragEnd,l))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,n=a(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&n.length>1&&1===t.find(i.el).length&&(n=t.find(i.el));var s=n.find("."+this.params.scrollbar.dragClass);0===s.length&&(s=a('<div class="'+this.params.scrollbar.dragClass+'"></div>'),n.append(s)),c.extend(e,{$el:n,el:n[0],$dragEl:s,dragEl:s[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},oe={setTransform:function(e,t){var i=this.rtl,n=a(e),s=i?-1:1,r=n.attr("data-swiper-parallax")||"0",l=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y"),c=n.attr("data-swiper-parallax-scale"),h=n.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):this.isHorizontal()?(l=r,o="0"):(o=r,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*s+"%":l*t*s+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=h){var d=h-(h-1)*(1-Math.abs(t));n[0].style.opacity=d}if(null==c)n.transform("translate3d("+l+", "+o+", 0px)");else{var u=c-(c-1)*(1-Math.abs(t));n.transform("translate3d("+l+", "+o+", 0px) scale("+u+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,n=e.progress,s=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,n)})),i.each((function(t,i){var r=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(t/2)-n*(s.length-1)),r=Math.min(Math.max(r,-1),1),a(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,r)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){var n=a(i),s=parseInt(n.attr("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),n.transition(s)}))}},ce={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(s-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,n.scaleStart=ce.getDistanceBetweenTouches(e)}n.$slideEl&&n.$slideEl.length||(n.$slideEl=a(e.target).closest("."+this.params.slideClass),0===n.$slideEl.length&&(n.$slideEl=this.slides.eq(this.activeIndex)),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass),n.maxRatio=n.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==n.$imageWrapEl.length)?(n.$imageEl&&n.$imageEl.transition(0),this.zoom.isScaling=!0):n.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=ce.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=h.gestures?e.scale*i.currentScale:n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),n.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!D.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),t.minRatio),n.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,n=t.image;i.$imageEl&&0!==i.$imageEl.length&&(n.isTouched||(D.android&&e.cancelable&&e.preventDefault(),n.isTouched=!0,n.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,n=t.image,s=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=c.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=c.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var r=n.width*t.scale,a=n.height*t.scale;if(!(r<i.slideWidth&&a<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-r/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-a/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var s=300,r=300,a=n.x*s,l=i.currentX+a,o=n.y*r,c=i.currentY+o;0!==n.x&&(s=Math.abs((l-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((c-i.currentY)/n.y));var h=Math.max(s,r);i.currentX=l,i.currentY=c;var d=i.width*e.scale,u=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-d/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-u/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,s,r,a,l,o,c,h,d,u,p,f,m,g,v=this.zoom,y=this.params.zoom,_=v.gesture,b=v.image;_.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?_.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):_.$slideEl=this.slides.eq(this.activeIndex),_.$imageEl=_.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),_.$imageWrapEl=_.$imageEl.parent("."+y.containerClass)),_.$imageEl&&0!==_.$imageEl.length&&(_.$slideEl.addClass(""+y.zoomedSlideClass),void 0===b.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=b.touchesStart.x,i=b.touchesStart.y),v.scale=_.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,v.currentScale=_.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=_.$slideEl[0].offsetWidth,g=_.$slideEl[0].offsetHeight,n=_.$slideEl.offset().left+m/2-t,s=_.$slideEl.offset().top+g/2-i,l=_.$imageEl[0].offsetWidth,o=_.$imageEl[0].offsetHeight,c=l*v.scale,h=o*v.scale,p=-(d=Math.min(m/2-c/2,0)),f=-(u=Math.min(g/2-h/2,0)),(r=n*v.scale)<d&&(r=d),r>p&&(r=p),(a=s*v.scale)<u&&(a=u),a>f&&(a=f)):(r=0,a=0),_.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+a+"px,0)"),_.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+v.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?i.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):i.$slideEl=this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!h.passiveListener||{passive:!1,capture:!0},n="."+this.params.slideClass;h.gestures?(this.$wrapperEl.on("gesturestart",n,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",n,e.onGestureChange,t),this.$wrapperEl.on("gestureend",n,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,n,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,n,e.onGestureChange,i),this.$wrapperEl.on(this.touchEvents.end,n,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,n,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!h.passiveListener||{passive:!1,capture:!0},n="."+this.params.slideClass;h.gestures?(this.$wrapperEl.off("gesturestart",n,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",n,e.onGestureChange,t),this.$wrapperEl.off("gestureend",n,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,n,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,n,e.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,n,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,n,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},he={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var s=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),r=s.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!s.hasClass(n.elementClass)||s.hasClass(n.loadedClass)||s.hasClass(n.loadingClass)||(r=r.add(s[0])),0!==r.length&&r.each((function(e,r){var l=a(r);l.addClass(n.loadingClass);var o=l.attr("data-background"),c=l.attr("data-src"),h=l.attr("data-srcset"),d=l.attr("data-sizes"),u=l.parent("picture");i.loadImage(l[0],c||o,h,d,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(o?(l.css("background-image",'url("'+o+'")'),l.removeAttr("data-background")):(h&&(l.attr("srcset",h),l.removeAttr("data-srcset")),d&&(l.attr("sizes",d),l.removeAttr("data-sizes")),u.length&&u.children("source").each((function(e,t){var i=a(t);i.attr("data-srcset")&&(i.attr("srcset",i.attr("data-srcset")),i.removeAttr("data-srcset"))})),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(n.loadedClass).removeClass(n.loadingClass),s.find("."+n.preloaderClass).remove(),i.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(i.params.slideDuplicateClass)){var r=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(r.index(),!1)}else{var p=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(p.index(),!1)}}i.emit("lazyImageReady",s[0],l[0]),i.params.autoHeight&&i.updateAutoHeight()}})),i.emit("lazyImageLoad",s[0],l[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides,s=e.activeIndex,r=e.virtual&&i.virtual.enabled,l=i.lazy,o=i.slidesPerView;function c(e){if(r){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function h(e){return r?a(e).attr("data-swiper-slide-index"):a(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var n=r?a(i).attr("data-swiper-slide-index"):a(i).index();e.lazy.loadInSlide(n)}));else if(o>1)for(var d=s;d<s+o;d+=1)c(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(s);if(l.loadPrevNext)if(o>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){for(var u=l.loadPrevNextAmount,p=o,f=Math.min(s+p+Math.max(u,p),n.length),m=Math.max(s-Math.max(p,u),0),g=s+o;g<f;g+=1)c(g)&&e.lazy.loadInSlide(g);for(var v=m;v<s;v+=1)c(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+i.slideNextClass);y.length>0&&e.lazy.loadInSlide(h(y));var _=t.children("."+i.slidePrevClass);_.length>0&&e.lazy.loadInSlide(h(_))}}},de={LinearSpline:function(e,t){var i,n,s,r,a;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=function(e,t){for(n=-1,i=e.length;i-n>1;)e[s=i+n>>1]<=t?n=s:i=s;return i}(this.x,e),r=a-1,(e-this.x[r])*(this.y[a]-this.y[r])/(this.x[a]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new de.LinearSpline(this.slidesGrid,e.slidesGrid):new de.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,s=this,r=s.controller.control;function a(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),n=-s.controller.spline.interpolate(-t)),n&&"container"!==s.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),n=(t-s.minTranslate())*i+e.minTranslate()),s.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var l=0;l<r.length;l+=1)r[l]!==t&&r[l]instanceof W&&a(r[l]);else r instanceof W&&t!==r&&a(r)},setTransition:function(e,t){var i,n=this,s=n.controller.control;function r(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&c.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){s&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==t&&s[i]instanceof W&&r(s[i]);else s instanceof W&&t!==s&&r(s)}},ue={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=a(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?(this.a11y.disableEl(i),this.a11y.makeElNotFocusable(i)):(this.a11y.enableEl(i),this.a11y.makeElFocusable(i))),t&&t.length>0&&(this.isEnd?(this.a11y.disableEl(t),this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t),this.a11y.makeElFocusable(t)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i,n){var s=a(n);e.a11y.makeElFocusable(s),e.a11y.addElRole(s,"button"),e.a11y.addElLabel(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},pe={init:function(){if(this.params.history){if(!s.history||!s.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=pe.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||s.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||s.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=pe.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=s.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(t),n=pe.slugify(i.attr("data-history"));s.location.pathname.includes(e)||(n=e+"/"+n);var r=s.history.state;r&&r.value===n||(this.params.history.replaceState?s.history.replaceState({value:n},null,n):s.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,s=this.slides.length;n<s;n+=1){var r=this.slides.eq(n);if(pe.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var a=r.index();this.slideTo(a,e,i)}}else this.slideTo(0,e,i)}},fe={onHashCange:function(){this.emit("hashChange");var e=i.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var t=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===t)return;this.slideTo(t)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&s.history&&s.history.replaceState)s.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1),this.emit("hashSet");else{var e=this.slides.eq(this.activeIndex),t=e.attr("data-hash")||e.attr("data-history");i.location.hash=t||"",this.emit("hashSet")}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var e=i.location.hash.replace("#","");if(e)for(var t=0,n=this.slides.length;t<n;t+=1){var r=this.slides.eq(t);if((r.attr("data-hash")||r.attr("data-history"))===e&&!r.hasClass(this.params.slideDuplicateClass)){var l=r.index();this.slideTo(l,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&a(s).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&a(s).off("hashchange",this.hashNavigation.onHashCange)}},me={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=c.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ge={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),n=-i[0].swiperSlideOffset;this.params.virtualTranslate||(n-=this.translate);var s=0;this.isHorizontal()||(s=n,n=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+n+"px, "+s+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,n=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;i.transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)n.trigger(e[i])}}))}}},ve={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,n=this.slides,s=this.width,r=this.height,l=this.rtlTranslate,o=this.size,c=this.params.cubeEffect,h=this.isHorizontal(),d=this.virtual&&this.params.virtual.enabled,u=0;c.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=a('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:s+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=a('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var p=0;p<n.length;p+=1){var f=n.eq(p),m=p;d&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,v=Math.floor(g/360);l&&(g=-g,v=Math.floor(-g/360));var y=Math.max(Math.min(f[0].progress,1),-1),_=0,b=0,w=0;m%4==0?(_=4*-v*o,w=0):(m-1)%4==0?(_=0,w=4*-v*o):(m-2)%4==0?(_=o+4*v*o,w=o):(m-3)%4==0&&(_=-o,w=3*o+4*o*v),l&&(_=-_),h||(b=_,_=0);var x="rotateX("+(h?0:-g)+"deg) rotateY("+(h?g:0)+"deg) translate3d("+_+"px, "+b+"px, "+w+"px)";if(y<=1&&y>-1&&(u=90*m+90*y,l&&(u=90*-m-90*y)),f.transform(x),c.slideShadows){var T=h?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),S=h?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===T.length&&(T=a('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),f.append(T)),0===S.length&&(S=a('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),f.append(S)),T.length&&(T[0].style.opacity=Math.max(-y,0)),S.length&&(S[0].style.opacity=Math.max(y,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+o/2+"px","-moz-transform-origin":"50% 50% -"+o/2+"px","-ms-transform-origin":"50% 50% -"+o/2+"px","transform-origin":"50% 50% -"+o/2+"px"}),c.shadow)if(h)e.transform("translate3d(0px, "+(s/2+c.shadowOffset)+"px, "+-s/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var M=Math.abs(u)-90*Math.floor(Math.abs(u)/90),E=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),C=c.shadowScale,P=c.shadowScale/E,k=c.shadowOffset;e.transform("scale3d("+C+", 1, "+P+") translate3d(0px, "+(r/2+k)+"px, "+-r/2/P+"px) rotateX(-90deg)")}var A=Y.isSafari||Y.isWebView?-o/2:0;i.transform("translate3d(0px,0,"+A+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ye={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var n=e.eq(i),s=n[0].progress;this.params.flipEffect.limitRotation&&(s=Math.max(Math.min(n[0].progress,1),-1));var r=-180*s,l=0,o=-n[0].swiperSlideOffset,c=0;if(this.isHorizontal()?t&&(r=-r):(c=o,o=0,l=-r,r=0),n[0].style.zIndex=-Math.abs(Math.round(s))+e.length,this.params.flipEffect.slideShadows){var h=this.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===h.length&&(h=a('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),n.append(h)),0===d.length&&(d=a('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),n.append(d)),h.length&&(h[0].style.opacity=Math.max(-s,0)),d.length&&(d[0].style.opacity=Math.max(s,0))}n.transform("translate3d("+o+"px, "+c+"px, 0px) rotateX("+l+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var t=this,i=t.slides,n=t.activeIndex,s=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(n).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},_e={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,n=this.$wrapperEl,s=this.slidesSizesGrid,r=this.params.coverflowEffect,l=this.isHorizontal(),o=this.translate,c=l?e/2-o:t/2-o,d=l?r.rotate:-r.rotate,u=r.depth,p=0,f=i.length;p<f;p+=1){var m=i.eq(p),g=s[p],v=(c-m[0].swiperSlideOffset-g/2)/g*r.modifier,y=l?d*v:0,_=l?0:d*v,b=-u*Math.abs(v),w=r.stretch;"string"==typeof w&&-1!==w.indexOf("%")&&(w=parseFloat(r.stretch)/100*g);var x=l?0:w*v,T=l?w*v:0,S=1-(1-r.scale)*Math.abs(v);Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(b)<.001&&(b=0),Math.abs(y)<.001&&(y=0),Math.abs(_)<.001&&(_=0),Math.abs(S)<.001&&(S=0);var M="translate3d("+T+"px,"+x+"px,"+b+"px)  rotateX("+_+"deg) rotateY("+y+"deg) scale("+S+")";if(m.transform(M),m[0].style.zIndex=1-Math.abs(Math.round(v)),r.slideShadows){var E=l?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),C=l?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===E.length&&(E=a('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),m.append(E)),0===C.length&&(C=a('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),m.append(C)),E.length&&(E[0].style.opacity=v>0?v:0),C.length&&(C[0].style.opacity=-v>0?-v:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(n[0].style.perspectiveOrigin=c+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},be={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,c.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):c.isObject(e.swiper)&&(this.thumbs.swiper=new t(c.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&a(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var n;if(n=e.params.loop?parseInt(a(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var s=this.activeIndex;this.slides.eq(s).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,s=this.activeIndex);var r=this.slides.eq(s).prevAll('[data-swiper-slide-index="'+n+'"]').eq(0).index(),l=this.slides.eq(s).nextAll('[data-swiper-slide-index="'+n+'"]').eq(0).index();n=void 0===r?l:void 0===l?r:l-s<s-r?l:r}this.slideTo(n)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView,n=this.params.thumbs.autoScrollOffset,s=n&&!t.params.loop;if(this.realIndex!==t.realIndex||s){var r,a,l=t.activeIndex;if(t.params.loop){t.slides.eq(l).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,l=t.activeIndex);var o=t.slides.eq(l).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),c=t.slides.eq(l).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();r=void 0===o?c:void 0===c?o:c-l==l-o?l:c-l<l-o?c:o,a=this.activeIndex>this.previousIndex?"next":"prev"}else a=(r=this.realIndex)>this.previousIndex?"next":"prev";s&&(r+="next"===a?n:-1*n),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(r)<0&&(t.params.centeredSlides?r=r>l?r-Math.floor(i/2)+1:r+Math.floor(i/2)-1:r>l&&(r=r-i+1),t.slideTo(r,e?0:void 0))}var h=1,d=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(h=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(h=1),h=Math.floor(h),t.slides.removeClass(d),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var u=0;u<h;u+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+u)+'"]').addClass(d);else for(var p=0;p<h;p+=1)t.slides.eq(this.realIndex+p).addClass(d)}}},we=[X,q,Z,K,Q,te,ne,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){c.extend(this,{mousewheel:{enabled:!1,enable:se.enable.bind(this),disable:se.disable.bind(this),handle:se.handle.bind(this),handleMouseEnter:se.handleMouseEnter.bind(this),handleMouseLeave:se.handleMouseLeave.bind(this),animateSlider:se.animateSlider.bind(this),releaseScroll:se.releaseScroll.bind(this),lastScrollTime:c.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){c.extend(this,{navigation:{init:re.init.bind(this),update:re.update.bind(this),destroy:re.destroy.bind(this),onNextClick:re.onNextClick.bind(this),onPrevClick:re.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,n=i.$nextEl,s=i.$prevEl;!this.params.navigation.hideOnClick||a(e.target).is(s)||a(e.target).is(n)||(n?t=n.hasClass(this.params.navigation.hiddenClass):s&&(t=s.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),n&&n.toggleClass(this.params.navigation.hiddenClass),s&&s.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{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:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){c.extend(this,{pagination:{init:ae.init.bind(this),render:ae.render.bind(this),update:ae.update.bind(this),destroy:ae.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!a(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){c.extend(this,{scrollbar:{init:le.init.bind(this),destroy:le.destroy.bind(this),updateSize:le.updateSize.bind(this),setTranslate:le.setTranslate.bind(this),setTransition:le.setTransition.bind(this),enableDraggable:le.enableDraggable.bind(this),disableDraggable:le.disableDraggable.bind(this),setDragPosition:le.setDragPosition.bind(this),getPointerPosition:le.getPointerPosition.bind(this),onDragStart:le.onDragStart.bind(this),onDragMove:le.onDragMove.bind(this),onDragEnd:le.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){c.extend(this,{parallax:{setTransform:oe.setTransform.bind(this),setTranslate:oe.setTranslate.bind(this),setTransition:oe.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=ce[i].bind(e)})),c.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,s)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){c.extend(this,{lazy:{initialImageLoaded:!1,load:he.load.bind(this),loadInSlide:he.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){c.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:de.getInterpolateFunction.bind(this),setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{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}}"}},create:function(){var e=this;c.extend(e,{a11y:{liveRegion:a('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(ue).forEach((function(t){e.a11y[t]=ue[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){c.extend(this,{history:{init:pe.init.bind(this),setHistory:pe.setHistory.bind(this),setHistoryPopState:pe.setHistoryPopState.bind(this),scrollToSlide:pe.scrollToSlide.bind(this),destroy:pe.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){c.extend(this,{hashNavigation:{initialized:!1,init:fe.init.bind(this),destroy:fe.destroy.bind(this),setHash:fe.setHash.bind(this),onHashCange:fe.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;c.extend(e,{autoplay:{running:!1,paused:!1,run:me.run.bind(e),start:me.start.bind(e),stop:me.stop.bind(e),pause:me.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){c.extend(this,{fadeEffect:{setTranslate:ge.setTranslate.bind(this),setTransition:ge.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){c.extend(this,{cubeEffect:{setTranslate:ve.setTranslate.bind(this),setTransition:ve.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){c.extend(this,{flipEffect:{setTranslate:ye.setTranslate.bind(this),setTransition:ye.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){c.extend(this,{coverflowEffect:{setTranslate:_e.setTranslate.bind(this),setTransition:_e.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){c.extend(this,{thumbs:{swiper:null,init:be.init.bind(this),update:be.update.bind(this),onThumbClick:be.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===W.use&&(W.use=W.Class.use,W.installModule=W.Class.installModule),W.use(we),W}()},function(e,t,i){(function(n){var s,r,a;/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */r=[i(2)],void 0===(a="function"==typeof(s=function(t){var i=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var i=t.fn.select2.amd;var s,r,a,l,o,c,h,d,u,p,f,m,g,v,y,_;function b(e,t){return g.call(e,t)}function w(e,t){var i,n,s,r,a,l,o,c,h,d,u,p=t&&t.split("/"),m=f.map,g=m&&m["*"]||{};if(e){for(a=(e=e.split("/")).length-1,f.nodeIdCompat&&y.test(e[a])&&(e[a]=e[a].replace(y,"")),"."===e[0].charAt(0)&&p&&(e=p.slice(0,p.length-1).concat(e)),h=0;h<e.length;h++)if("."===(u=e[h]))e.splice(h,1),--h;else if(".."===u){if(0===h||1===h&&".."===e[2]||".."===e[h-1])continue;0<h&&(e.splice(h-1,2),h-=2)}e=e.join("/")}if((p||g)&&m){for(h=(i=e.split("/")).length;0<h;--h){if(n=i.slice(0,h).join("/"),p)for(d=p.length;0<d;--d)if(s=(s=m[p.slice(0,d).join("/")])&&s[n]){r=s,l=h;break}if(r)break;!o&&g&&g[n]&&(o=g[n],c=h)}!r&&o&&(r=o,l=c),r&&(i.splice(0,l,r),e=i.join("/"))}return e}function x(e,t){return function(){var i=v.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),c.apply(l,i.concat([e,t]))}}function T(e){return function(t){u[e]=t}}function S(e){if(b(p,e)){var t=p[e];delete p[e],m[e]=!0,o.apply(l,t)}if(!b(u,e)&&!b(m,e))throw new Error("No "+e);return u[e]}function M(e){var t,i=e?e.indexOf("!"):-1;return-1<i&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function E(e){return e?M(e):[]}return i&&i.requirejs||(i?r=i:i={},u={},p={},f={},m={},g=Object.prototype.hasOwnProperty,v=[].slice,y=/\.js$/,h=function(e,t){var i,n,s=M(e),r=s[0],a=t[1];return e=s[1],r&&(i=S(r=w(r,a))),r?e=i&&i.normalize?i.normalize(e,(n=a,function(e){return w(e,n)})):w(e,a):(r=(s=M(e=w(e,a)))[0],e=s[1],r&&(i=S(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:i}},d={require:function(e){return x(e)},exports:function(e){var t=u[e];return void 0!==t?t:u[e]={}},module:function(e){return{id:e,uri:"",exports:u[e],config:(t=e,function(){return f&&f.config&&f.config[t]||{}})};var t}},o=function(e,t,i,n){var s,r,a,o,c,f,g,v=[],y=typeof i;if(f=E(n=n||e),"undefined"==y||"function"==y){for(t=!t.length&&i.length?["require","exports","module"]:t,c=0;c<t.length;c+=1)if("require"===(r=(o=h(t[c],f)).f))v[c]=d.require(e);else if("exports"===r)v[c]=d.exports(e),g=!0;else if("module"===r)s=v[c]=d.module(e);else if(b(u,r)||b(p,r)||b(m,r))v[c]=S(r);else{if(!o.p)throw new Error(e+" missing "+r);o.p.load(o.n,x(n,!0),T(r),{}),v[c]=u[r]}a=i?i.apply(u[e],v):void 0,e&&(s&&s.exports!==l&&s.exports!==u[e]?u[e]=s.exports:a===l&&g||(u[e]=a))}else e&&(u[e]=i)},s=r=c=function(e,t,i,n,s){if("string"==typeof e)return d[e]?d[e](t):S(h(e,E(t)).f);if(!e.splice){if((f=e).deps&&c(f.deps,f.callback),!t)return;t.splice?(e=t,t=i,i=null):e=l}return t=t||function(){},"function"==typeof i&&(i=n,n=s),n?o(l,e,t,i):setTimeout((function(){o(l,e,t,i)}),4),c},c.config=function(e){return c(e)},s._defined=u,(a=function(e,t,i){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(i=t,t=[]),b(u,e)||b(p,e)||(p[e]=[e,t,i])}).amd={jQuery:!0},i.requirejs=s,i.require=r,i.define=a),i.define("almond",(function(){})),i.define("jquery",[],(function(){var e=t||n;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e})),i.define("select2/utils",["jquery"],(function(e){var t={};function i(e){var t=e.prototype,i=[];for(var n in t)"function"==typeof t[n]&&"constructor"!==n&&i.push(n);return i}function n(){this.listeners={}}t.Extend=function(e,t){var i={}.hasOwnProperty;function n(){this.constructor=e}for(var s in t)i.call(t,s)&&(e[s]=t[s]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},t.Decorate=function(e,t){var n=i(t),s=i(e);function r(){var i=Array.prototype.unshift,n=t.prototype.constructor.length,s=e.prototype.constructor;0<n&&(i.call(arguments,e.prototype.constructor),s=t.prototype.constructor),s.apply(this,arguments)}t.displayName=e.displayName,r.prototype=new function(){this.constructor=r};for(var a=0;a<s.length;a++){var l=s[a];r.prototype[l]=e.prototype[l]}function o(e){var i=function(){};e in r.prototype&&(i=r.prototype[e]);var n=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,i),n.apply(this,arguments)}}for(var c=0;c<n.length;c++){var h=n[c];r.prototype[h]=o(h)}return r},n.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},n.prototype.trigger=function(e){var t=Array.prototype.slice,i=t.call(arguments,1);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),(i[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(e,t){for(var i=0,n=e.length;i<n;i++)e[i].apply(this,t)},t.Observable=n,t.generateChars=function(e){for(var t="",i=0;i<e;i++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var i=t.split("-"),n=e;if(1!==i.length){for(var s=0;s<i.length;s++){var r=i[s];(r=r.substring(0,1).toLowerCase()+r.substring(1))in n||(n[r]={}),s==i.length-1&&(n[r]=e[t]),n=n[r]}delete e[t]}}return e},t.hasScroll=function(t,i){var n=e(i),s=i.style.overflowX,r=i.style.overflowY;return(s!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===s||"scroll"===r||n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.appendMany=function(t,i){if("1.7"===e.fn.jquery.substr(0,3)){var n=e();e.map(i,(function(e){n=n.add(e)})),i=n}t.append(i)},t.__cache={};var s=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++s),t=s.toString())),t},t.StoreData=function(e,i,n){var s=t.GetUniqueElementId(e);t.__cache[s]||(t.__cache[s]={}),t.__cache[s][i]=n},t.GetData=function(i,n){var s=t.GetUniqueElementId(i);return n?t.__cache[s]&&null!=t.__cache[s][n]?t.__cache[s][n]:e(i).data(n):t.__cache[s]},t.RemoveData=function(e){var i=t.GetUniqueElementId(e);null!=t.__cache[i]&&delete t.__cache[i],e.removeAttribute("data-select2-id")},t})),i.define("select2/results",["jquery","./utils"],(function(e,t){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),s=this.options.get("translations").get(t.message);n.append(i(s(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var i=0;i<e.results.length;i++){var n=e.results[i],s=this.option(n);t.push(s)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current((function(n){var s=e.map(n,(function(e){return e.id.toString()}));i.$results.find(".select2-results__option[aria-selected]").each((function(){var i=e(this),n=t.GetData(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&-1<e.inArray(r,s)?i.attr("aria-selected","true"):i.attr("aria-selected","false")}))}))},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},i=this.option(t);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var n=document.createElement("li");n.className="select2-results__option";var s={role:"option","aria-selected":"false"},r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=i.element&&r.call(i.element,":disabled")||null==i.element&&i.disabled)&&(delete s["aria-selected"],s["aria-disabled"]="true"),null==i.id&&delete s["aria-selected"],null!=i._resultId&&(n.id=i._resultId),i.title&&(n.title=i.title),i.children&&(s.role="group",s["aria-label"]=i.text,delete s["aria-selected"]),s){var l=s[a];n.setAttribute(a,l)}if(i.children){var o=e(n),c=document.createElement("strong");c.className="select2-results__group",e(c),this.template(i,c);for(var h=[],d=0;d<i.children.length;d++){var u=i.children[d],p=this.option(u);h.push(p)}var f=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});f.append(h),o.append(c),o.append(f)}else this.template(i,n);return t.StoreData(n,"data",i),n},i.prototype.bind=function(i,n){var s=this,r=i.id+"-results";this.$results.attr("id",r),i.on("results:all",(function(e){s.clear(),s.append(e.data),i.isOpen()&&(s.setClasses(),s.highlightFirstItem())})),i.on("results:append",(function(e){s.append(e.data),i.isOpen()&&s.setClasses()})),i.on("query",(function(e){s.hideMessages(),s.showLoading(e)})),i.on("select",(function(){i.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect")&&s.highlightFirstItem())})),i.on("unselect",(function(){i.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect")&&s.highlightFirstItem())})),i.on("open",(function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()})),i.on("close",(function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeAttr("aria-activedescendant")})),i.on("results:toggle",(function(){var e=s.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),i.on("results:select",(function(){var e=s.getHighlightedResults();if(0!==e.length){var i=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?s.trigger("close",{}):s.trigger("select",{data:i})}})),i.on("results:previous",(function(){var e=s.getHighlightedResults(),t=s.$results.find("[aria-selected]"),i=t.index(e);if(!(i<=0)){var n=i-1;0===e.length&&(n=0);var r=t.eq(n);r.trigger("mouseenter");var a=s.$results.offset().top,l=r.offset().top,o=s.$results.scrollTop()+(l-a);0===n?s.$results.scrollTop(0):l-a<0&&s.$results.scrollTop(o)}})),i.on("results:next",(function(){var e=s.getHighlightedResults(),t=s.$results.find("[aria-selected]"),i=t.index(e)+1;if(!(i>=t.length)){var n=t.eq(i);n.trigger("mouseenter");var r=s.$results.offset().top+s.$results.outerHeight(!1),a=n.offset().top+n.outerHeight(!1),l=s.$results.scrollTop()+a-r;0===i?s.$results.scrollTop(0):r<a&&s.$results.scrollTop(l)}})),i.on("results:focus",(function(e){e.element.addClass("select2-results__option--highlighted")})),i.on("results:message",(function(e){s.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=s.$results.scrollTop(),i=s.$results.get(0).scrollHeight-t+e.deltaY,n=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&i<=s.$results.height();n?(s.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(s.$results.scrollTop(s.$results.get(0).scrollHeight-s.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(i){var n=e(this),r=t.GetData(this,"data");"true"!==n.attr("aria-selected")?s.trigger("select",{originalEvent:i,data:r}):s.options.get("multiple")?s.trigger("unselect",{originalEvent:i,data:r}):s.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(i){var n=t.GetData(this,"data");s.getHighlightedResults().removeClass("select2-results__option--highlighted"),s.trigger("results:focus",{data:n,element:e(this)})}))},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),i=this.$results.offset().top,n=e.offset().top,s=this.$results.scrollTop()+(n-i),r=n-i;s-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(s)}},i.prototype.template=function(t,i){var n=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),r=n(t,i);null==r?i.style.display="none":"string"==typeof r?i.innerHTML=s(r):e(i).append(r)},i})),i.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),i.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,i){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var i=e('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),i.attr("aria-disabled","false"),this.$selection=i},n.prototype.bind=function(e,t){var n=this,s=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){n.trigger("focus",e)})),this.$selection.on("blur",(function(e){n._handleBlur(e)})),this.$selection.on("keydown",(function(e){n.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){n.update(e.data)})),e.on("open",(function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",s),n._attachCloseHandler(e)})),e.on("close",(function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)})),e.on("enable",(function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")}))},n.prototype._handleBlur=function(t){var i=this;window.setTimeout((function(){document.activeElement==i.$selection[0]||e.contains(i.$selection[0],document.activeElement)||i.trigger("blur",t)}),1)},n.prototype._attachCloseHandler=function(i){e(document.body).on("mousedown.select2."+i.id,(function(i){var n=e(i.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=n[0]&&t.GetData(this,"element").select2("close")}))}))},n.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},n.prototype.position=function(e,t){t.find(".selection").append(e)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},n.prototype.isEnabled=function(){return!this.isDisabled()},n.prototype.isDisabled=function(){return this.options.get("disabled")},n})),i.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,i,n){function s(){s.__super__.constructor.apply(this,arguments)}return i.Extend(s,t),s.prototype.render=function(){var e=s.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},s.prototype.bind=function(e,t){var i=this;s.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",(function(e){1===e.which&&i.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||i.$selection.trigger("focus")}))},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},s.prototype.display=function(e,t){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(e,t))},s.prototype.selectionContainer=function(){return e("<span></span>")},s.prototype.update=function(e){if(0!==e.length){var t=e[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(t,i);i.empty().append(n);var s=t.title||t.text;s?i.attr("title",s):i.removeAttr("title")}else this.clear()},s})),i.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,i){function n(e,t){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,t),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(t,s){var r=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){r.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(!r.isDisabled()){var n=e(this).parent(),s=i.GetData(n[0],"data");r.trigger("unselect",{originalEvent:t,data:s})}}))},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(e,t))},n.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var s=e[n],r=this.selectionContainer(),a=this.display(s,r);r.append(a);var l=s.title||s.text;l&&r.attr("title",l),i.StoreData(r[0],"data",s),t.push(r)}var o=this.$selection.find(".select2-selection__rendered");i.appendMany(o,t)}},n})),i.define("select2/selection/placeholder",["../utils"],(function(e){function t(e,t,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),e.call(this,t,i)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var i=this.selectionContainer();return i.html(this.display(t)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},t.prototype.update=function(e,t){var i=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||i)return e.call(this,t);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t})),i.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,i){function n(){}return n.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){n._handleClear(e)})),t.on("keypress",(function(e){n._handleKeyboardClear(e,t)}))},n.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var s=i.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var a={data:s};if(this.trigger("clear",a),a.prevented)this.$element.val(r);else{for(var l=0;l<s.length;l++)if(a={data:s[l]},this.trigger("unselect",a),a.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},n.prototype._handleKeyboardClear=function(e,i,n){n.isOpen()||i.which!=t.DELETE&&i.which!=t.BACKSPACE||this._handleClear(i)},n.prototype.update=function(t,n){if(t.call(this,n),!(0<this.$selection.find(".select2-selection__placeholder").length||0===n.length)){var s=this.options.get("translations").get("removeAllItems"),r=e('<span class="select2-selection__clear" title="'+s()+'">&times;</span>');i.StoreData(r[0],"data",n),this.$selection.find(".select2-selection__rendered").prepend(r)}},n})),i.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,i){function n(e,t,i){e.call(this,t,i)}return n.prototype.render=function(t){var i=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=i,this.$search=i.find("input");var n=t.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(e,n,s){var r=this,a=n.id+"-results";e.call(this,n,s),n.on("open",(function(){r.$search.attr("aria-controls",a),r.$search.trigger("focus")})),n.on("close",(function(){r.$search.val(""),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")})),n.on("enable",(function(){r.$search.prop("disabled",!1),r._transferTabIndex()})),n.on("disable",(function(){r.$search.prop("disabled",!0)})),n.on("focus",(function(e){r.$search.trigger("focus")})),n.on("results:focus",(function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){r.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){r._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===i.BACKSPACE&&""===r.$search.val()){var n=r.$searchContainer.prev(".select2-selection__choice");if(0<n.length){var s=t.GetData(n[0],"data");r.searchRemoveChoice(s),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){r.$search.val()&&e.stopPropagation()}));var l=document.documentMode,o=l&&l<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){o?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(o&&"input"===e.type)r.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=i.SHIFT&&t!=i.CTRL&&t!=i.ALT&&t!=i.TAB&&r.handleSearch(e)}}))},n.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},n.prototype.update=function(e,t){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.trigger("focus")},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},n})),i.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,i,n){var s=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];t.call(this,i,n),i.on("*",(function(t,i){if(-1!==e.inArray(t,r)){i=i||{};var n=e.Event("select2:"+t,{params:i});s.$element.trigger(n),-1!==e.inArray(t,a)&&(i.prevented=n.isDefaultPrevented())}}))},t})),i.define("select2/translation",["jquery","require"],(function(e,t){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var n=t(e);i._cache[e]=n}return new i(i._cache[e])},i})),i.define("select2/diacritics",[],(function(){return{"Ⓐ":"A","Ａ":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","Ｂ":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","Ｃ":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","Ｄ":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","Ǳ":"DZ","Ǆ":"DZ","ǲ":"Dz","ǅ":"Dz","Ⓔ":"E","Ｅ":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","Ｆ":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","Ｇ":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","Ｈ":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","Ｋ":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","Ｌ":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","Ǉ":"LJ","ǈ":"Lj","Ⓜ":"M","Ｍ":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","Ｎ":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","Ǌ":"NJ","ǋ":"Nj","Ⓞ":"O","Ｏ":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","Ｐ":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Ｑ":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","Ｒ":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","Ｓ":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","Ｔ":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","Ｕ":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","Ｖ":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","Ｗ":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","Ｘ":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Ｙ":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Ｚ":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","ａ":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","ｂ":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","ｃ":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","ｄ":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","ǳ":"dz","ǆ":"dz","ⓔ":"e","ｅ":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","ｆ":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","ｇ":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","ｈ":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","ｉ":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","ｊ":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","ｋ":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","ｌ":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","ǉ":"lj","ⓜ":"m","ｍ":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","ｎ":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ŉ":"n","ꞑ":"n","ꞥ":"n","ǌ":"nj","ⓞ":"o","ｏ":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","ｐ":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","ｑ":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","ｒ":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","ｓ":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","ｔ":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","ｕ":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","ｖ":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","ｗ":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","ｘ":"x","ẋ":"x","ẍ":"x","ⓨ":"y","ｙ":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","ｚ":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}})),i.define("select2/data/base",["../utils"],(function(e){function t(e,i){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,i){var n=t.id+"-result-";return n+=e.generateChars(4),null!=i.id?n+="-"+i.id.toString():n+="-"+e.generateChars(4),n},t})),i.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,i){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,e),n.prototype.current=function(e){var t=[],n=this;this.$element.find(":selected").each((function(){var e=i(this),s=n.item(e);t.push(s)})),e(t)},n.prototype.select=function(e){var t=this;if(e.selected=!0,i(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(n){var s=[];(e=[e]).push.apply(e,n);for(var r=0;r<e.length;r++){var a=e[r].id;-1===i.inArray(a,s)&&s.push(a)}t.$element.val(s),t.$element.trigger("input").trigger("change")}));else{var n=e.id;this.$element.val(n),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,i(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(n){for(var s=[],r=0;r<n.length;r++){var a=n[r].id;a!==e.id&&-1===i.inArray(a,s)&&s.push(a)}t.$element.val(s),t.$element.trigger("input").trigger("change")}))}},n.prototype.bind=function(e,t){var i=this;(this.container=e).on("select",(function(e){i.select(e.data)})),e.on("unselect",(function(e){i.unselect(e.data)}))},n.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},n.prototype.query=function(e,t){var n=[],s=this;this.$element.children().each((function(){var t=i(this);if(t.is("option")||t.is("optgroup")){var r=s.item(t),a=s.matches(e,r);null!==a&&n.push(a)}})),t({results:n})},n.prototype.addOptions=function(e){t.appendMany(this.$element,e)},n.prototype.option=function(e){var n;e.children?(n=document.createElement("optgroup")).label=e.text:void 0!==(n=document.createElement("option")).textContent?n.textContent=e.text:n.innerText=e.text,void 0!==e.id&&(n.value=e.id),e.disabled&&(n.disabled=!0),e.selected&&(n.selected=!0),e.title&&(n.title=e.title);var s=i(n),r=this._normalizeItem(e);return r.element=n,t.StoreData(n,"data",r),s},n.prototype.item=function(e){var n={};if(null!=(n=t.GetData(e[0],"data")))return n;if(e.is("option"))n={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){n={text:e.prop("label"),children:[],title:e.prop("title")};for(var s=e.children("option"),r=[],a=0;a<s.length;a++){var l=i(s[a]),o=this.item(l);r.push(o)}n.children=r}return(n=this._normalizeItem(n)).element=e[0],t.StoreData(e[0],"data",n),n},n.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=i.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),i.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n})),i.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,i){function n(e,t){this._dataToConvert=t.get("data")||[],n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype.bind=function(e,t){n.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},n.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,i){return i.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),n.__super__.select.call(this,e)},n.prototype.convertToOptions=function(e){var n=this,s=this.$element.find("option"),r=s.map((function(){return n.item(i(this)).id})).get(),a=[];function l(e){return function(){return i(this).val()==e.id}}for(var o=0;o<e.length;o++){var c=this._normalizeItem(e[o]);if(0<=i.inArray(c.id,r)){var h=s.filter(l(c)),d=this.item(h),u=i.extend(!0,{},c,d),p=this.option(u);h.replaceWith(p)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(f,m)}a.push(f)}}return a},n})),i.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,i){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return i.extend({},e,{q:e.term})},transport:function(e,t,n){var s=i.ajax(e);return s.then(t),s.fail(n),s}};return i.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(e,t){var n=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=i.extend({type:"GET"},this.ajaxOptions);function r(){var r=s.transport(s,(function(s){var r=n.processResults(s,e);n.options.get("debug")&&window.console&&console.error&&(r&&r.results&&i.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)}),(function(){"status"in r&&(0===r.status||"0"===r.status)||n.trigger("results:message",{message:"errorLoading"})}));n._request=r}"function"==typeof s.url&&(s.url=s.url.call(this.$element,e)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},n})),i.define("select2/data/tags",["jquery"],(function(e){function t(t,i,n){var s=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var a=n.get("insertTag");if(void 0!==a&&(this.insertTag=a),t.call(this,i,n),e.isArray(s))for(var l=0;l<s.length;l++){var o=s[l],c=this._normalizeItem(o),h=this.option(c);this.$element.append(h)}}return t.prototype.query=function(e,t,i){var n=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(s,r){for(var a=s.results,l=0;l<a.length;l++){var o=a[l],c=null!=o.children&&!e({results:o.children},!0);if((o.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!r&&(s.data=a,void i(s))}if(r)return!0;var h=n.createTag(t);if(null!=h){var d=n.option(h);d.attr("data-select2-tag",!0),n.addOptions([d]),n.insertTag(a,h)}s.results=a,i(s)})):e.call(this,t,i)},t.prototype.createTag=function(t,i){var n=e.trim(i.term);return""===n?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,i){t.unshift(i)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),i.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),e.call(this,t,i)}return t.prototype.bind=function(e,t,i){e.call(this,t,i),this.$search=t.dropdown.$search||t.selection.$search||i.find(".select2-search__field")},t.prototype.query=function(t,i,n){var s=this;i.term=i.term||"";var r=this.tokenizer(i,this.options,(function(t){var i,n=s._normalizeItem(t);if(!s.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var r=s.option(n);r.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([r])}i=n,s.trigger("select",{data:i})}));r.term!==i.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),i.term=r.term),t.call(this,i,n)},t.prototype.tokenizer=function(t,i,n,s){for(var r=n.get("tokenSeparators")||[],a=i.term,l=0,o=this.createTag||function(e){return{id:e.term,text:e.term}};l<a.length;){var c=a[l];if(-1!==e.inArray(c,r)){var h=a.substr(0,l),d=o(e.extend({},i,{term:h}));null!=d?(s(d),a=a.substr(l+1)||"",l=0):l++}else l++}return{term:a}},t})),i.define("select2/data/minimumInputLength",[],(function(){function e(e,t,i){this.minimumInputLength=i.get("minimumInputLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,i)},e})),i.define("select2/data/maximumInputLength",[],(function(){function e(e,t,i){this.maximumInputLength=i.get("maximumInputLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,i)},e})),i.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),e.call(this,t,i)}return e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("select",(function(){n._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,i){var n=this;this._checkIfMaximumSelected((function(){e.call(n,t,i)}))},e.prototype._checkIfMaximumSelected=function(e,t){var i=this;this.current((function(e){var n=null!=e?e.length:0;0<i.maximumSelectionLength&&n>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):t&&t()}))},e})),i.define("select2/dropdown",["jquery","./utils"],(function(e,t){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},i.prototype.bind=function(){},i.prototype.position=function(e,t){},i.prototype.destroy=function(){this.$dropdown.remove()},i})),i.define("select2/dropdown/search",["jquery","../utils"],(function(e,t){function i(){}return i.prototype.render=function(t){var i=t.call(this),n=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(t,i,n){var s=this,r=i.id+"-results";t.call(this,i,n),this.$search.on("keydown",(function(e){s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){s.handleSearch(e)})),i.on("open",(function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",r),s.$search.trigger("focus"),window.setTimeout((function(){s.$search.trigger("focus")}),0)})),i.on("close",(function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")})),i.on("focus",(function(){i.isOpen()||s.$search.trigger("focus")})),i.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer.removeClass("select2-search--hide"):s.$searchContainer.addClass("select2-search--hide"))})),i.on("results:focus",(function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")}))},i.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.showSearch=function(e,t){return!0},i})),i.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),e.call(this,t,i,n)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var i=t.slice(0),n=t.length-1;0<=n;n--){var s=t[n];this.placeholder.id===s.id&&i.splice(n,1)}return i},e})),i.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,i,n){this.lastParams={},e.call(this,t,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("query",(function(e){n.lastParams=e,n.loading=!0})),t.on("query:append",(function(e){n.lastParams=e,n.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&t){var i=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=i+50&&this.loadMore()}},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return t.html(i(this.lastParams)),t},t})),i.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function i(t,i,n){this.$dropdownParent=e(n.get("dropdownParent")||document.body),t.call(this,i,n)}return i.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("open",(function(){n._showDropdown(),n._attachPositioningHandler(t),n._bindContainerResultHandlers(t)})),t.on("close",(function(){n._hideDropdown(),n._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},i.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(e,t,i){t.attr("class",i.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(t){var i=e("<span></span>"),n=t.call(this);return i.append(n),this.$dropdownContainer=i},i.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},i.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var i=this;t.on("results:all",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("results:append",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("results:message",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("select",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("unselect",(function(){i._positionDropdown(),i._resizeDropdown()})),this._containerResultsHandlersBound=!0}},i.prototype._attachPositioningHandler=function(i,n){var s=this,r="scroll.select2."+n.id,a="resize.select2."+n.id,l="orientationchange.select2."+n.id,o=this.$container.parents().filter(t.hasScroll);o.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),o.on(r,(function(i){var n=t.GetData(this,"select2-scroll-position");e(this).scrollTop(n.y)})),e(window).on(r+" "+a+" "+l,(function(e){s._positionDropdown(),s._resizeDropdown()}))},i.prototype._detachPositioningHandler=function(i,n){var s="scroll.select2."+n.id,r="resize.select2."+n.id,a="orientationchange.select2."+n.id;this.$container.parents().filter(t.hasScroll).off(s),e(window).off(s+" "+r+" "+a)},i.prototype._positionDropdown=function(){var t=e(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),s=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=r.top,a.bottom=r.top+a.height;var l=this.$dropdown.outerHeight(!1),o=t.scrollTop(),c=t.scrollTop()+t.height(),h=o<r.top-l,d=c>r.bottom+l,u={left:r.left,top:a.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var f={top:0,left:0};(e.contains(document.body,p[0])||p[0].isConnected)&&(f=p.offset()),u.top-=f.top,u.left-=f.left,i||n||(s="below"),d||!h||i?!h&&d&&i&&(s="below"):s="above",("above"==s||i&&"below"!==s)&&(u.top=a.top-f.top-l),null!=s&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+s),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+s)),this.$dropdownContainer.css(u)},i.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},i.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i})),i.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(e,t,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,i,n)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var i=0,n=0;n<t.length;n++){var s=t[n];s.children?i+=e(s.children):i++}return i}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e})),i.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("close",(function(e){n._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,i){if(i&&null!=i.originalSelect2Event){var n=i.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var s=this.getHighlightedResults();if(!(s.length<1)){var r=e.GetData(s[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},t})),i.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("select",(function(e){n._selectTriggered(e)})),t.on("unselect",(function(e){n._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var i=t.originalEvent;i&&(i.ctrlKey||i.metaKey)||this.trigger("close",{originalEvent:i,originalSelect2Event:t})},e})),i.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,i="Please delete "+t+" character";return 1!=t&&(i+="s"),i},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}})),i.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(e,t,i,n,s,r,a,l,o,c,h,d,u,p,f,m,g,v,y,_,b,w,x,T,S,M,E,C,P){function k(){this.reset()}return k.prototype.apply=function(h){if(null==(h=e.extend(!0,{},this.defaults,h)).dataAdapter){if(null!=h.ajax?h.dataAdapter=f:null!=h.data?h.dataAdapter=p:h.dataAdapter=u,0<h.minimumInputLength&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),0<h.maximumInputLength&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),0<h.maximumSelectionLength&&(h.dataAdapter=c.Decorate(h.dataAdapter,_)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,m)),null==h.tokenSeparators&&null==h.tokenizer||(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null!=h.query){var d=t(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,d)}if(null!=h.initSelection){var P=t(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,P)}}if(null==h.resultsAdapter&&(h.resultsAdapter=i,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,T)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,x)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,E))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=b;else{var k=c.Decorate(b,w);h.dropdownAdapter=k}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,M)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var A=t(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,A)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=s:h.selectionAdapter=n,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,r)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,l)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var L=t(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,L)}h.selectionAdapter=c.Decorate(h.selectionAdapter,o)}h.language=this._resolveLanguage(h.language),h.language.push("en");for(var O=[],I=0;I<h.language.length;I++){var D=h.language[I];-1===O.indexOf(D)&&O.push(D)}return h.language=O,h.translations=this._processTranslations(h.language,h.debug),h},k.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return d[e]||e}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function i(n,s){if(""===e.trim(n.term))return s;if(s.children&&0<s.children.length){for(var r=e.extend(!0,{},s),a=s.children.length-1;0<=a;a--)null==i(n,s.children[a])&&r.children.splice(a,1);return 0<r.children.length?r:i(n,r)}var l=t(s.text).toUpperCase(),o=t(n.term).toUpperCase();return-1<l.indexOf(o)?s:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},k.prototype.applyFromElement=function(e,t){var i=e.language,n=this.defaults.language,s=t.prop("lang"),r=t.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(s),this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r));return e.language=a,e},k.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var i;i=e.isArray(t)?t:[t];for(var n=[],s=0;s<i.length;s++)if(n.push(i[s]),"string"==typeof i[s]&&0<i[s].indexOf("-")){var r=i[s].split("-")[0];n.push(r)}return n},k.prototype._processTranslations=function(t,i){for(var n=new h,s=0;s<t.length;s++){var r=new h,a=t[s];if("string"==typeof a)try{r=h.loadPath(a)}catch(t){try{a=this.defaults.amdLanguageBase+a,r=h.loadPath(a)}catch(t){i&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else r=e.isPlainObject(a)?new h(a):a;n.extend(r)}return n},k.prototype.set=function(t,i){var n={};n[e.camelCase(t)]=i;var s=c._convertData(n);e.extend(!0,this.defaults,s)},new k})),i.define("select2/options",["require","jquery","./defaults","./utils"],(function(e,t,i,n){function s(t,s){if(this.options=t,null!=s&&this.fromElement(s),null!=s&&(this.options=i.applyFromElement(this.options,s)),this.options=i.apply(this.options),s&&s.is("input")){var r=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,r)}}return s.prototype.fromElement=function(e){var i=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),n.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(e[0],"data",n.GetData(e[0],"select2Tags")),n.StoreData(e[0],"tags",!0)),n.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",n.GetData(e[0],"ajaxUrl")),n.StoreData(e[0],"ajax-Url",n.GetData(e[0],"ajaxUrl")));var s={};function r(e,t){return t.toUpperCase()}for(var a=0;a<e[0].attributes.length;a++){var l=e[0].attributes[a].name,o="data-";if(l.substr(0,o.length)==o){var c=l.substring(o.length),h=n.GetData(e[0],c);s[c.replace(/-([a-z])/g,r)]=h}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(s=t.extend(!0,{},e[0].dataset,s));var d=t.extend(!0,{},n.GetData(e[0]),s);for(var u in d=n._convertData(d))-1<t.inArray(u,i)||(t.isPlainObject(this.options[u])?t.extend(this.options[u],d[u]):this.options[u]=d[u]);return this},s.prototype.get=function(e){return this.options[e]},s.prototype.set=function(e,t){this.options[e]=t},s})),i.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,i,n){var s=function(e,n){null!=i.GetData(e[0],"select2")&&i.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),s.__super__.constructor.call(this);var r=e.attr("tabindex")||0;i.StoreData(e[0],"old-tabindex",r),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var l=this.render();this._placeContainer(l);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,l);var c=this.options.get("dropdownAdapter");this.dropdown=new c(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,l);var h=this.options.get("resultsAdapter");this.results=new h(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){d.trigger("selection:update",{data:e})})),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),i.StoreData(e[0],"select2",this),e.data("select2",this)};return i.Extend(s,i.Observable),s.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},s.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},s.prototype._resolveWidth=function(e,t){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var n=this._resolveWidth(e,"style");return null!=n?n:this._resolveWidth(e,"element")}if("element"==t){var s=e.outerWidth(!1);return s<=0?"auto":s+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var r=e.attr("style");if("string"!=typeof r)return null;for(var a=r.split(";"),l=0,o=a.length;l<o;l+=1){var c=a[l].replace(/\s/g,"").match(i);if(null!==c&&1<=c.length)return c[1]}return null},s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},s.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t((function(t){e._syncA(),e._syncS(null,t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},s.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,i){e.trigger(t,i)}))},s.prototype._registerSelectionEvents=function(){var t=this,i=["toggle","focus"];this.selection.on("toggle",(function(){t.toggleDropdown()})),this.selection.on("focus",(function(e){t.focus(e)})),this.selection.on("*",(function(n,s){-1===e.inArray(n,i)&&t.trigger(n,s)}))},s.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,i){e.trigger(t,i)}))},s.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,i){e.trigger(t,i)}))},s.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container.addClass("select2-container--open")})),this.on("close",(function(){e.$container.removeClass("select2-container--open")})),this.on("enable",(function(){e.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){e.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){e.$container.removeClass("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(i){e.trigger("results:all",{data:i,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(i){e.trigger("results:append",{data:i,query:t})}))})),this.on("keypress",(function(t){var i=t.which;e.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&t.altKey?(e.close(t),t.preventDefault()):i===n.ENTER?(e.trigger("results:select",{}),t.preventDefault()):i===n.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):i===n.UP?(e.trigger("results:previous",{}),t.preventDefault()):i===n.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._isChangeMutation=function(t,i){var n=!1,s=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(i)if(i.addedNodes&&0<i.addedNodes.length)for(var r=0;r<i.addedNodes.length;r++)i.addedNodes[r].selected&&(n=!0);else i.removedNodes&&0<i.removedNodes.length?n=!0:e.isArray(i)&&e.each(i,(function(e,t){if(s._isChangeMutation(e,t))return!(n=!0)}));else n=!0;return n}},s.prototype._syncSubtree=function(e,t){var i=this._isChangeMutation(e,t),n=this;i&&this.dataAdapter.current((function(e){n.trigger("selection:update",{data:e})}))},s.prototype.trigger=function(e,t){var i=s.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in n){var r=n[e],a={prevented:!1,name:e,args:t};if(i.call(this,r,a),a.prevented)return void(t.prevented=!0)}i.call(this,e,t)},s.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},s.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},s.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},s.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},s.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},s.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},s.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var i=t[0];e.isArray(i)&&(i=e.map(i,(function(e){return e.toString()}))),this.$element.val(i).trigger("input").trigger("change")},s.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),i.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},s.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),i.StoreData(t[0],"element",this.$element),t},s})),i.define("select2/compat/utils",["jquery"],(function(e){return{syncCssClasses:function(t,i,n){var s,r,a=[];(s=e.trim(t.attr("class")))&&e((s=""+s).split(/\s+/)).each((function(){0===this.indexOf("select2-")&&a.push(this)})),(s=e.trim(i.attr("class")))&&e((s=""+s).split(/\s+/)).each((function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&a.push(r)})),t.attr("class",a.join(" "))}}})),i.define("select2/compat/containerCss",["jquery","./utils"],(function(e,t){function i(e){return null}function n(){}return n.prototype.render=function(n){var s=n.call(this),r=this.options.get("containerCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var a=this.options.get("adaptContainerCssClass");if(a=a||i,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var l=a;a=function(e){var t=l(e);return null!=t?t+" "+e:e}}var o=this.options.get("containerCss")||{};return e.isFunction(o)&&(o=o(this.$element)),t.syncCssClasses(s,this.$element,a),s.css(o),s.addClass(r),s},n})),i.define("select2/compat/dropdownCss",["jquery","./utils"],(function(e,t){function i(e){return null}function n(){}return n.prototype.render=function(n){var s=n.call(this),r=this.options.get("dropdownCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var a=this.options.get("adaptDropdownCssClass");if(a=a||i,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var l=a;a=function(e){var t=l(e);return null!=t?t+" "+e:e}}var o=this.options.get("dropdownCss")||{};return e.isFunction(o)&&(o=o(this.$element)),t.syncCssClasses(s,this.$element,a),s.css(o),s.addClass(r),s},n})),i.define("select2/compat/initSelection",["jquery"],(function(e){function t(e,t,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,e.call(this,t,i)}return t.prototype.current=function(t,i){var n=this;this._isInitialized?t.call(this,i):this.initSelection.call(null,this.$element,(function(t){n._isInitialized=!0,e.isArray(t)||(t=[t]),i(t)}))},t})),i.define("select2/compat/inputData",["jquery","../utils"],(function(e,t){function i(e,t,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===t.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,i)}return i.prototype.current=function(t,i){function n(t,i){var s=[];return t.selected||-1!==e.inArray(t.id,i)?(t.selected=!0,s.push(t)):t.selected=!1,t.children&&s.push.apply(s,n(t.children,i)),s}for(var s=[],r=0;r<this._currentData.length;r++){var a=this._currentData[r];s.push.apply(s,n(a,this.$element.val().split(this._valueSeparator)))}i(s)},i.prototype.select=function(t,i){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+i.id,this.$element.val(n),this.$element.trigger("input").trigger("change")}else this.current((function(t){e.map(t,(function(e){e.selected=!1}))})),this.$element.val(i.id),this.$element.trigger("input").trigger("change")},i.prototype.unselect=function(e,t){var i=this;t.selected=!1,this.current((function(e){for(var n=[],s=0;s<e.length;s++){var r=e[s];t.id!=r.id&&n.push(r.id)}i.$element.val(n.join(i._valueSeparator)),i.$element.trigger("input").trigger("change")}))},i.prototype.query=function(e,t,i){for(var n=[],s=0;s<this._currentData.length;s++){var r=this._currentData[s],a=this.matches(t,r);null!==a&&n.push(a)}i({results:n})},i.prototype.addOptions=function(i,n){var s=e.map(n,(function(e){return t.GetData(e[0],"data")}));this._currentData.push.apply(this._currentData,s)},i})),i.define("select2/compat/matcher",["jquery"],(function(e){return function(t){return function(i,n){var s=e.extend(!0,{},n);if(null==i.term||""===e.trim(i.term))return s;if(n.children){for(var r=n.children.length-1;0<=r;r--){var a=n.children[r];t(i.term,a.text,a)||s.children.splice(r,1)}if(0<s.children.length)return s}return t(i.term,n.text,n)?s:null}}})),i.define("select2/compat/query",[],(function(){function e(e,t,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,i)}return e.prototype.query=function(e,t,i){t.callback=i,this.options.get("query").call(null,t)},e})),i.define("select2/dropdown/attachContainer",[],(function(){function e(e,t,i){e.call(this,t,i)}return e.prototype.position=function(e,t,i){i.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),i.addClass("select2-container--below")},e})),i.define("select2/dropdown/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,i){e.call(this,t,i),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})),i.define("select2/selection/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,i){e.call(this,t,i),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})),_=function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var a=n.length;a;)e.event.fixHooks[n[--a]]=e.event.mouseHooks;var l=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=s.length;t;)this.addEventListener(s[--t],o,!1);else this.onmousewheel=o;e.data(this,"mousewheel-line-height",l.getLineHeight(this)),e.data(this,"mousewheel-page-height",l.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=s.length;t;)this.removeEventListener(s[--t],o,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function o(n){var s,a=n||window.event,o=r.call(arguments,1),d=0,u=0,p=0,f=0,m=0;if((n=e.event.fix(a)).type="mousewheel","detail"in a&&(p=-1*a.detail),"wheelDelta"in a&&(p=a.wheelDelta),"wheelDeltaY"in a&&(p=a.wheelDeltaY),"wheelDeltaX"in a&&(u=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(u=-1*p,p=0),d=0===p?u:p,"deltaY"in a&&(d=p=-1*a.deltaY),"deltaX"in a&&(u=a.deltaX,0===p&&(d=-1*u)),0!==p||0!==u){if(1===a.deltaMode){var g=e.data(this,"mousewheel-line-height");d*=g,p*=g,u*=g}else if(2===a.deltaMode){var v=e.data(this,"mousewheel-page-height");d*=v,p*=v,u*=v}if(s=Math.max(Math.abs(p),Math.abs(u)),(!i||s<i)&&h(a,i=s)&&(i/=40),h(a,s)&&(d/=40,u/=40,p/=40),d=Math[1<=d?"floor":"ceil"](d/i),u=Math[1<=u?"floor":"ceil"](u/i),p=Math[1<=p?"floor":"ceil"](p/i),l.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=n.clientX-y.left,m=n.clientY-y.top}return n.deltaX=u,n.deltaY=p,n.deltaFactor=i,n.offsetX=f,n.offsetY=m,n.deltaMode=0,o.unshift(n,d,u,p),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,o)}}function c(){i=null}function h(e,t){return l.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof i.define&&i.define.amd?i.define("jquery-mousewheel",["jquery"],_):e.exports=_,i.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,i,n,s){if(null==e.fn.select2){var r=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each((function(){var n=e.extend(!0,{},t);new i(e(this),n)})),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,a=Array.prototype.slice.call(arguments,1);return this.each((function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,a)})),-1<e.inArray(t,r)?this:n}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=n),i})),{define:i.define,require:i.require}}(),s=i.require("jquery.select2");return t.fn.select2.amd=i,s})?s.apply(t,r):s)||(e.exports=a)}).call(this,i(2))},function(e,t,i){(function(t){e.exports=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function i(e,t){return e(t={exports:{}},t.exports),t.exports}var n,s,r=function(e){return e&&e.Math==Math&&e},a=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")(),l=Object.defineProperty,o=function(e,t){try{l(a,e,{value:t,configurable:!0,writable:!0})}catch(i){a[e]=t}return t},c=a["__core-js_shared__"]||o("__core-js_shared__",{}),h=i((function(e){(e.exports=function(e,t){return c[e]||(c[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.6",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})})),d=function(e){try{return!!e()}catch(e){return!0}},u=!d((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=Function.prototype,f=p.bind,m=p.call,g=u&&f.bind(m,m),v=u?function(e){return e&&g(e)}:function(e){return e&&function(){return m.apply(e,arguments)}},y=a.TypeError,_=function(e){if(null==e)throw y("Can't call method on "+e);return e},b=a.Object,w=function(e){return b(_(e))},x=v({}.hasOwnProperty),T=Object.hasOwn||function(e,t){return x(w(e),t)},S=0,M=Math.random(),E=v(1..toString),C=function(e){return"Symbol("+(void 0===e?"":e)+")_"+E(++S+M,36)},P=function(e){return"function"==typeof e},k=function(e){return P(e)?e:void 0},A=function(e,t){return arguments.length<2?k(a[e]):a[e]&&a[e][t]},L=A("navigator","userAgent")||"",O=a.process,I=a.Deno,D=O&&O.versions||I&&I.version,R=D&&D.v8;R&&(s=(n=R.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&L&&(!(n=L.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=L.match(/Chrome\/(\d+)/))&&(s=+n[1]);var z=s,N=!!Object.getOwnPropertySymbols&&!d((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&z&&z<41})),$=N&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,F=h("wks"),B=a.Symbol,V=B&&B.for,H=$?B:B&&B.withoutSetter||C,U=function(e){if(!T(F,e)||!N&&"string"!=typeof F[e]){var t="Symbol."+e;N&&T(B,e)?F[e]=B[e]:F[e]=$&&V?V(t):H(t)}return F[e]},G={};G[U("toStringTag")]="z";var j="[object z]"===String(G),W=!d((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),X=function(e){return"object"==typeof e?null!==e:P(e)},q=a.document,Y=X(q)&&X(q.createElement),Z=function(e){return Y?q.createElement(e):{}},K=!W&&!d((function(){return 7!=Object.defineProperty(Z("div"),"a",{get:function(){return 7}}).a})),J=W&&d((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Q=a.String,ee=a.TypeError,te=function(e){if(X(e))return e;throw ee(Q(e)+" is not an object")},ie=Function.prototype.call,ne=u?ie.bind(ie):function(){return ie.apply(ie,arguments)},se=v({}.isPrototypeOf),re=a.Object,ae=$?function(e){return"symbol"==typeof e}:function(e){var t=A("Symbol");return P(t)&&se(t.prototype,re(e))},le=a.String,oe=function(e){try{return le(e)}catch(e){return"Object"}},ce=a.TypeError,he=function(e){if(P(e))return e;throw ce(oe(e)+" is not a function")},de=function(e,t){var i=e[t];return null==i?void 0:he(i)},ue=a.TypeError,pe=a.TypeError,fe=U("toPrimitive"),me=function(e){var t=function(e,t){if(!X(e)||ae(e))return e;var i,n=de(e,fe);if(n){if(void 0===t&&(t="default"),i=ne(n,e,t),!X(i)||ae(i))return i;throw pe("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var i,n;if("string"===t&&P(i=e.toString)&&!X(n=ne(i,e)))return n;if(P(i=e.valueOf)&&!X(n=ne(i,e)))return n;if("string"!==t&&P(i=e.toString)&&!X(n=ne(i,e)))return n;throw ue("Can't convert object to primitive value")}(e,t)}(e,"string");return ae(t)?t:t+""},ge=a.TypeError,ve=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,_e={f:W?J?function(e,t,i){if(te(e),t=me(t),te(i),"function"==typeof e&&"prototype"===t&&"value"in i&&"writable"in i&&!i.writable){var n=ye(e,t);n&&n.writable&&(e[t]=i.value,i={configurable:"configurable"in i?i.configurable:n.configurable,enumerable:"enumerable"in i?i.enumerable:n.enumerable,writable:!1})}return ve(e,t,i)}:ve:function(e,t,i){if(te(e),t=me(t),te(i),K)try{return ve(e,t,i)}catch(e){}if("get"in i||"set"in i)throw ge("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},be=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},we=W?function(e,t,i){return _e.f(e,t,be(1,i))}:function(e,t,i){return e[t]=i,e},xe=Function.prototype,Te=W&&Object.getOwnPropertyDescriptor,Se=T(xe,"name"),Me={EXISTS:Se,PROPER:Se&&"something"===function(){}.name,CONFIGURABLE:Se&&(!W||W&&Te(xe,"name").configurable)},Ee=v(Function.toString);P(c.inspectSource)||(c.inspectSource=function(e){return Ee(e)});var Ce,Pe,ke,Ae=c.inspectSource,Le=a.WeakMap,Oe=P(Le)&&/native code/.test(Ae(Le)),Ie=h("keys"),De=function(e){return Ie[e]||(Ie[e]=C(e))},Re={},ze=a.TypeError,Ne=a.WeakMap;if(Oe||c.state){var $e=c.state||(c.state=new Ne),Fe=v($e.get),Be=v($e.has),Ve=v($e.set);Ce=function(e,t){if(Be($e,e))throw new ze("Object already initialized");return t.facade=e,Ve($e,e,t),t},Pe=function(e){return Fe($e,e)||{}},ke=function(e){return Be($e,e)}}else{var He=De("state");Re[He]=!0,Ce=function(e,t){if(T(e,He))throw new ze("Object already initialized");return t.facade=e,we(e,He,t),t},Pe=function(e){return T(e,He)?e[He]:{}},ke=function(e){return T(e,He)}}var Ue={set:Ce,get:Pe,has:ke,enforce:function(e){return ke(e)?Pe(e):Ce(e,{})},getterFor:function(e){return function(t){var i;if(!X(t)||(i=Pe(t)).type!==e)throw ze("Incompatible receiver, "+e+" required");return i}}},Ge=i((function(e){var t=Me.CONFIGURABLE,i=Ue.enforce,n=Ue.get,s=Object.defineProperty,r=W&&!d((function(){return 8!==s((function(){}),"length",{value:8}).length})),a=String(String).split("String"),l=e.exports=function(e,n,l){if("Symbol("===String(n).slice(0,7)&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),l&&l.getter&&(n="get "+n),l&&l.setter&&(n="set "+n),(!T(e,"name")||t&&e.name!==n)&&s(e,"name",{value:n,configurable:!0}),r&&l&&T(l,"arity")&&e.length!==l.arity&&s(e,"length",{value:l.arity}),l&&T(l,"constructor")&&l.constructor){if(W)try{s(e,"prototype",{writable:!1})}catch(e){}}else e.prototype=void 0;var o=i(e);return T(o,"source")||(o.source=a.join("string"==typeof n?n:"")),e};Function.prototype.toString=l((function(){return P(this)&&n(this).source||Ae(this)}),"toString")})),je=function(e,t,i,n){n||(n={});var s=n.enumerable,r=void 0!==n.name?n.name:t;return P(i)&&Ge(i,r,n),n.global?s?e[t]=i:o(t,i):(n.unsafe?e[t]&&(s=!0):delete e[t],s?e[t]=i:we(e,t,i)),e},We=v({}.toString),Xe=v("".slice),qe=function(e){return Xe(We(e),8,-1)},Ye=U("toStringTag"),Ze=a.Object,Ke="Arguments"==qe(function(){return arguments}()),Je=j?qe:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Ze(e),Ye))?i:Ke?qe(t):"Object"==(n=qe(t))&&P(t.callee)?"Arguments":n},Qe=j?{}.toString:function(){return"[object "+Je(this)+"]"};j||je(Object.prototype,"toString",Qe,{unsafe:!0});var et={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},tt=Z("span").classList,it=tt&&tt.constructor&&tt.constructor.prototype,nt=it===Object.prototype?void 0:it,st=v(v.bind),rt=function(e,t){return he(e),void 0===t?e:u?st(e,t):function(){return e.apply(t,arguments)}},at=a.Object,lt=v("".split),ot=d((function(){return!at("z").propertyIsEnumerable(0)}))?function(e){return"String"==qe(e)?lt(e,""):at(e)}:at,ct=Math.ceil,ht=Math.floor,dt=Math.trunc||function(e){var t=+e;return(t>0?ht:ct)(t)},ut=function(e){var t=+e;return t!=t||0===t?0:dt(t)},pt=Math.min,ft=function(e){return e>0?pt(ut(e),9007199254740991):0},mt=function(e){return ft(e.length)},gt=Array.isArray||function(e){return"Array"==qe(e)},vt=function(){},yt=[],_t=A("Reflect","construct"),bt=/^\s*(?:class|function)\b/,wt=v(bt.exec),xt=!bt.exec(vt),Tt=function(e){if(!P(e))return!1;try{return _t(vt,yt,e),!0}catch(e){return!1}},St=function(e){if(!P(e))return!1;switch(Je(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xt||!!wt(bt,Ae(e))}catch(e){return!0}};St.sham=!0;var Mt=!_t||d((function(){var e;return Tt(Tt.call)||!Tt(Object)||!Tt((function(){e=!0}))||e}))?St:Tt,Et=U("species"),Ct=a.Array,Pt=function(e,t){return new(function(e){var t;return gt(e)&&(t=e.constructor,(Mt(t)&&(t===Ct||gt(t.prototype))||X(t)&&null===(t=t[Et]))&&(t=void 0)),void 0===t?Ct:t}(e))(0===t?0:t)},kt=v([].push),At=function(e){var t=1==e,i=2==e,n=3==e,s=4==e,r=6==e,a=7==e,l=5==e||r;return function(o,c,h,d){for(var u,p,f=w(o),m=ot(f),g=rt(c,h),v=mt(m),y=0,_=d||Pt,b=t?_(o,v):i||a?_(o,0):void 0;v>y;y++)if((l||y in m)&&(p=g(u=m[y],y,f),e))if(t)b[y]=p;else if(p)switch(e){case 3:return!0;case 5:return u;case 6:return y;case 2:kt(b,u)}else switch(e){case 4:return!1;case 7:kt(b,u)}return r?-1:n||s?s:b}},Lt={forEach:At(0),map:At(1),filter:At(2),some:At(3),every:At(4),find:At(5),findIndex:At(6),filterReject:At(7)},Ot=function(e,t){var i=[][e];return!!i&&d((function(){i.call(null,t||function(){return 1},1)}))},It=Lt.forEach,Dt=Ot("forEach")?[].forEach:function(e){return It(this,e,arguments.length>1?arguments[1]:void 0)},Rt=function(e){if(e&&e.forEach!==Dt)try{we(e,"forEach",Dt)}catch(t){e.forEach=Dt}};for(var zt in et)et[zt]&&Rt(a[zt]&&a[zt].prototype);Rt(nt);var Nt=!("undefined"==typeof window||!window.document||!window.document.createElement),$t={}.propertyIsEnumerable,Ft=Object.getOwnPropertyDescriptor,Bt={f:Ft&&!$t.call({1:2},1)?function(e){var t=Ft(this,e);return!!t&&t.enumerable}:$t},Vt=function(e){return ot(_(e))},Ht=Object.getOwnPropertyDescriptor,Ut={f:W?Ht:function(e,t){if(e=Vt(e),t=me(t),K)try{return Ht(e,t)}catch(e){}if(T(e,t))return be(!ne(Bt.f,e,t),e[t])}},Gt=Math.max,jt=Math.min,Wt=function(e,t){var i=ut(e);return i<0?Gt(i+t,0):jt(i,t)},Xt=function(e){return function(t,i,n){var s,r=Vt(t),a=mt(r),l=Wt(n,a);if(e&&i!=i){for(;a>l;)if((s=r[l++])!=s)return!0}else for(;a>l;l++)if((e||l in r)&&r[l]===i)return e||l||0;return!e&&-1}},qt=(Xt(!0),Xt(!1)),Yt=v([].push),Zt=function(e,t){var i,n=Vt(e),s=0,r=[];for(i in n)!T(Re,i)&&T(n,i)&&Yt(r,i);for(;t.length>s;)T(n,i=t[s++])&&(~qt(r,i)||Yt(r,i));return r},Kt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Jt=Kt.concat("length","prototype"),Qt={f:Object.getOwnPropertyNames||function(e){return Zt(e,Jt)}},ei={f:Object.getOwnPropertySymbols},ti=v([].concat),ii=A("Reflect","ownKeys")||function(e){var t=Qt.f(te(e)),i=ei.f;return i?ti(t,i(e)):t},ni=function(e,t,i){for(var n=ii(t),s=_e.f,r=Ut.f,a=0;a<n.length;a++){var l=n[a];T(e,l)||i&&T(i,l)||s(e,l,r(t,l))}},si=/#|\.prototype\./,ri=function(e,t){var i=li[ai(e)];return i==ci||i!=oi&&(P(t)?d(t):!!t)},ai=ri.normalize=function(e){return String(e).replace(si,".").toLowerCase()},li=ri.data={},oi=ri.NATIVE="N",ci=ri.POLYFILL="P",hi=ri,di=Ut.f,ui=function(e,t){var i,n,s,r,l,c=e.target,h=e.global,d=e.stat;if(i=h?a:d?a[c]||o(c,{}):(a[c]||{}).prototype)for(n in t){if(r=t[n],s=e.dontCallGetSet?(l=di(i,n))&&l.value:i[n],!hi(h?n:c+(d?".":"#")+n,e.forced)&&void 0!==s){if(typeof r==typeof s)continue;ni(r,s)}(e.sham||s&&s.sham)&&we(r,"sham",!0),je(i,n,r,e)}},pi=a.String,fi=function(e){if("Symbol"===Je(e))throw TypeError("Cannot convert a Symbol value to a string");return pi(e)},mi="\t\n\v\f\r                　\u2028\u2029\ufeff",gi=v("".replace),vi="["+mi+"]",yi=RegExp("^"+vi+vi+"*"),_i=RegExp(vi+vi+"*$"),bi=function(e){return function(t){var i=fi(_(t));return 1&e&&(i=gi(i,yi,"")),2&e&&(i=gi(i,_i,"")),i}},wi=(bi(1),bi(2),bi(3)),xi=a.parseInt,Ti=a.Symbol,Si=Ti&&Ti.iterator,Mi=/^[+-]?0x/i,Ei=v(Mi.exec),Ci=8!==xi(mi+"08")||22!==xi(mi+"0x16")||Si&&!d((function(){xi(Object(Si))}))?function(e,t){var i=wi(fi(e));return xi(i,t>>>0||(Ei(Mi,i)?16:10))}:xi;ui({global:!0,forced:parseInt!=Ci},{parseInt:Ci});var Pi=Object.keys||function(e){return Zt(e,Kt)},ki=Object.assign,Ai=Object.defineProperty,Li=v([].concat),Oi=!ki||d((function(){if(W&&1!==ki({b:1},ki(Ai({},"a",{enumerable:!0,get:function(){Ai(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol();return e[i]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=ki({},e)[i]||"abcdefghijklmnopqrst"!=Pi(ki({},t)).join("")}))?function(e,t){for(var i=w(e),n=arguments.length,s=1,r=ei.f,a=Bt.f;n>s;)for(var l,o=ot(arguments[s++]),c=r?Li(Pi(o),r(o)):Pi(o),h=c.length,d=0;h>d;)l=c[d++],W&&!ne(a,o,l)||(i[l]=o[l]);return i}:ki;ui({target:"Object",stat:!0,arity:2,forced:Object.assign!==Oi},{assign:Oi});var Ii=U("species"),Di=Lt.filter,Ri=z>=51||!d((function(){var e=[];return(e.constructor={})[Ii]=function(){return{foo:1}},1!==e.filter(Boolean).foo}));ui({target:"Array",proto:!0,forced:!Ri},{filter:function(e){return Di(this,e,arguments.length>1?arguments[1]:void 0)}});var zi,Ni={f:W&&!J?Object.defineProperties:function(e,t){te(e);for(var i,n=Vt(t),s=Pi(t),r=s.length,a=0;r>a;)_e.f(e,i=s[a++],n[i]);return e}},$i=A("document","documentElement"),Fi=De("IE_PROTO"),Bi=function(){},Vi=function(e){return"<script>"+e+"<\/script>"},Hi=function(e){e.write(Vi("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ui=function(){try{zi=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ui="undefined"!=typeof document?document.domain&&zi?Hi(zi):((t=Z("iframe")).style.display="none",$i.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Vi("document.F=Object")),e.close(),e.F):Hi(zi);for(var i=Kt.length;i--;)delete Ui.prototype[Kt[i]];return Ui()};Re[Fi]=!0;var Gi=Object.create||function(e,t){var i;return null!==e?(Bi.prototype=te(e),i=new Bi,Bi.prototype=null,i[Fi]=e):i=Ui(),void 0===t?i:Ni.f(i,t)},ji=_e.f,Wi=U("unscopables"),Xi=Array.prototype;null==Xi[Wi]&&ji(Xi,Wi,{configurable:!0,value:Gi(null)});var qi,Yi,Zi,Ki=function(e){Xi[Wi][e]=!0},Ji={},Qi=!d((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),en=De("IE_PROTO"),tn=a.Object,nn=tn.prototype,sn=Qi?tn.getPrototypeOf:function(e){var t=w(e);if(T(t,en))return t[en];var i=t.constructor;return P(i)&&t instanceof i?i.prototype:t instanceof tn?nn:null},rn=U("iterator"),an=!1;[].keys&&("next"in(Zi=[].keys())?(Yi=sn(sn(Zi)))!==Object.prototype&&(qi=Yi):an=!0),(null==qi||d((function(){var e={};return qi[rn].call(e)!==e})))&&(qi={}),P(qi[rn])||je(qi,rn,(function(){return this}));var ln={IteratorPrototype:qi,BUGGY_SAFARI_ITERATORS:an},on=_e.f,cn=U("toStringTag"),hn=function(e,t,i){e&&!i&&(e=e.prototype),e&&!T(e,cn)&&on(e,cn,{configurable:!0,value:t})},dn=ln.IteratorPrototype,un=function(){return this},pn=a.String,fn=a.TypeError,mn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=v(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return te(i),function(e){if("object"==typeof e||P(e))return e;throw fn("Can't set "+pn(e)+" as a prototype")}(n),t?e(i,n):i.__proto__=n,i}}():void 0),gn=Me.PROPER,vn=Me.CONFIGURABLE,yn=ln.IteratorPrototype,_n=ln.BUGGY_SAFARI_ITERATORS,bn=U("iterator"),wn=function(){return this},xn=function(e,t,i,n,s,r,a){!function(e,t,i,n){var s=t+" Iterator";e.prototype=Gi(dn,{next:be(1,i)}),hn(e,s,!1),Ji[s]=un}(i,t,n);var l,o,c,h=function(e){if(e===s&&m)return m;if(!_n&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new i(this,e)}}return function(){return new i(this)}},d=t+" Iterator",u=!1,p=e.prototype,f=p[bn]||p["@@iterator"]||s&&p[s],m=!_n&&f||h(s),g="Array"==t&&p.entries||f;if(g&&(l=sn(g.call(new e)))!==Object.prototype&&l.next&&(sn(l)!==yn&&(mn?mn(l,yn):P(l[bn])||je(l,bn,wn)),hn(l,d,!0)),gn&&"values"==s&&f&&"values"!==f.name&&(vn?we(p,"name","values"):(u=!0,m=function(){return ne(f,this)})),s)if(o={values:h("values"),keys:r?m:h("keys"),entries:h("entries")},a)for(c in o)(_n||u||!(c in p))&&je(p,c,o[c]);else ui({target:t,proto:!0,forced:_n||u},o);return p[bn]!==m&&je(p,bn,m,{name:s}),Ji[t]=m,o},Tn=_e.f,Sn=Ue.set,Mn=Ue.getterFor("Array Iterator"),En=xn(Array,"Array",(function(e,t){Sn(this,{type:"Array Iterator",target:Vt(e),index:0,kind:t})}),(function(){var e=Mn(this),t=e.target,i=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),Cn=Ji.Arguments=Ji.Array;if(Ki("keys"),Ki("values"),Ki("entries"),W&&"values"!==Cn.name)try{Tn(Cn,"name",{value:"values"})}catch(e){}var Pn=v("".charAt),kn=v("".charCodeAt),An=v("".slice),Ln=function(e){return function(t,i){var n,s,r=fi(_(t)),a=ut(i),l=r.length;return a<0||a>=l?e?"":void 0:(n=kn(r,a))<55296||n>56319||a+1===l||(s=kn(r,a+1))<56320||s>57343?e?Pn(r,a):n:e?An(r,a,a+2):s-56320+(n-55296<<10)+65536}},On={codeAt:Ln(!1),charAt:Ln(!0)},In=On.charAt,Dn=Ue.set,Rn=Ue.getterFor("String Iterator");xn(String,"String",(function(e){Dn(this,{type:"String Iterator",string:fi(e),index:0})}),(function(){var e,t=Rn(this),i=t.string,n=t.index;return n>=i.length?{value:void 0,done:!0}:(e=In(i,n),t.index+=e.length,{value:e,done:!1})}));var zn=function(e,t,i){for(var n in t)je(e,n,t[n],i);return e},Nn=a.Array,$n=Math.max,Fn=Qt.f,Bn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Vn={f:function(e){return Bn&&"Window"==qe(e)?function(e){try{return Fn(e)}catch(e){return function(e,t,i){for(var n,s,r,a,l=mt(e),o=Wt(void 0,l),c=Wt(l,l),h=Nn($n(c-o,0)),d=0;o<c;o++,d++)n=h,s=d,r=e[o],(a=me(s))in n?_e.f(n,a,be(0,r)):n[a]=r;return h.length=d,h}(Bn)}}(e):Fn(Vt(e))}},Hn=d((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Un=Object.isExtensible,Gn=d((function(){Un(1)}))||Hn?function(e){return!!X(e)&&(!Hn||"ArrayBuffer"!=qe(e))&&(!Un||Un(e))}:Un,jn=!d((function(){return Object.isExtensible(Object.preventExtensions({}))})),Wn=i((function(e){var t=_e.f,i=!1,n=C("meta"),s=0,r=function(e){t(e,n,{value:{objectID:"O"+s++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},i=!0;var e=Qt.f,t=v([].splice),s={};s[n]=1,e(s).length&&(Qt.f=function(i){for(var s=e(i),r=0,a=s.length;r<a;r++)if(s[r]===n){t(s,r,1);break}return s},ui({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Vn.f}))},fastKey:function(e,t){if(!X(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!T(e,n)){if(!Gn(e))return"F";if(!t)return"E";r(e)}return e[n].objectID},getWeakData:function(e,t){if(!T(e,n)){if(!Gn(e))return!0;if(!t)return!1;r(e)}return e[n].weakData},onFreeze:function(e){return jn&&i&&Gn(e)&&!T(e,n)&&r(e),e}};Re[n]=!0})),Xn=(Wn.enable,Wn.fastKey,Wn.getWeakData,Wn.onFreeze,U("iterator")),qn=Array.prototype,Yn=U("iterator"),Zn=function(e){if(null!=e)return de(e,Yn)||de(e,"@@iterator")||Ji[Je(e)]},Kn=a.TypeError,Jn=function(e,t,i){var n,s;te(e);try{if(!(n=de(e,"return"))){if("throw"===t)throw i;return i}n=ne(n,e)}catch(e){s=!0,n=e}if("throw"===t)throw i;if(s)throw n;return te(n),i},Qn=a.TypeError,es=function(e,t){this.stopped=e,this.result=t},ts=es.prototype,is=function(e,t,i){var n,s,r,a,l,o,c,h,d=i&&i.that,u=!(!i||!i.AS_ENTRIES),p=!(!i||!i.IS_ITERATOR),f=!(!i||!i.INTERRUPTED),m=rt(t,d),g=function(e){return n&&Jn(n,"normal",e),new es(!0,e)},v=function(e){return u?(te(e),f?m(e[0],e[1],g):m(e[0],e[1])):f?m(e,g):m(e)};if(p)n=e;else{if(!(s=Zn(e)))throw Qn(oe(e)+" is not iterable");if(void 0!==(h=s)&&(Ji.Array===h||qn[Xn]===h)){for(r=0,a=mt(e);a>r;r++)if((l=v(e[r]))&&se(ts,l))return l;return new es(!1)}n=function(e,t){var i=arguments.length<2?Zn(e):t;if(he(i))return te(ne(i,e));throw Kn(oe(e)+" is not iterable")}(e,s)}for(o=n.next;!(c=ne(o,n)).done;){try{l=v(c.value)}catch(e){Jn(n,"throw",e)}if("object"==typeof l&&l&&se(ts,l))return l}return new es(!1)},ns=a.TypeError,ss=function(e,t){if(se(t,e))return e;throw ns("Incorrect invocation")},rs=U("iterator"),as=!1;try{var ls=0,os={next:function(){return{done:!!ls++}},return:function(){as=!0}};os[rs]=function(){return this},Array.from(os,(function(){throw 2}))}catch(e){}var cs=Wn.getWeakData,hs=Ue.set,ds=Ue.getterFor,us=Lt.find,ps=Lt.findIndex,fs=v([].splice),ms=0,gs=function(e){return e.frozen||(e.frozen=new vs)},vs=function(){this.entries=[]},ys=function(e,t){return us(e.entries,(function(e){return e[0]===t}))};vs.prototype={get:function(e){var t=ys(this,e);if(t)return t[1]},has:function(e){return!!ys(this,e)},set:function(e,t){var i=ys(this,e);i?i[1]=t:this.entries.push([e,t])},delete:function(e){var t=ps(this.entries,(function(t){return t[0]===e}));return~t&&fs(this.entries,t,1),!!~t}};var _s,bs={getConstructor:function(e,t,i,n){var s=e((function(e,s){ss(e,r),hs(e,{type:t,id:ms++,frozen:void 0}),null!=s&&is(s,e[n],{that:e,AS_ENTRIES:i})})),r=s.prototype,a=ds(t),l=function(e,t,i){var n=a(e),s=cs(te(t),!0);return!0===s?gs(n).set(t,i):s[n.id]=i,e};return zn(r,{delete:function(e){var t=a(this);if(!X(e))return!1;var i=cs(e);return!0===i?gs(t).delete(e):i&&T(i,t.id)&&delete i[t.id]},has:function(e){var t=a(this);if(!X(e))return!1;var i=cs(e);return!0===i?gs(t).has(e):i&&T(i,t.id)}}),zn(r,i?{get:function(e){var t=a(this);if(X(e)){var i=cs(e);return!0===i?gs(t).get(e):i?i[t.id]:void 0}},set:function(e,t){return l(this,e,t)}}:{add:function(e){return l(this,e,!0)}}),s}},ws=Ue.enforce,xs=!a.ActiveXObject&&"ActiveXObject"in a,Ts=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Ss=function(e,t,i){var n=-1!==e.indexOf("Map"),s=-1!==e.indexOf("Weak"),r=n?"set":"add",l=a[e],o=l&&l.prototype,c=l,h={},u=function(e){var t=v(o[e]);je(o,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(s&&!X(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return s&&!X(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(s&&!X(e))&&t(this,0===e?0:e)}:function(e,i){return t(this,0===e?0:e,i),this})};if(hi(e,!P(l)||!(s||o.forEach&&!d((function(){(new l).entries().next()})))))c=i.getConstructor(t,e,n,r),Wn.enable();else if(hi(e,!0)){var p=new c,f=p[r](s?{}:-0,1)!=p,m=d((function(){p.has(1)})),g=function(e,t){if(!as)return!1;var i=!1;try{var n={};n[rs]=function(){return{next:function(){return{done:i=!0}}}},function(e){new l(e)}(n)}catch(e){}return i}(),y=!s&&d((function(){for(var e=new l,t=5;t--;)e[r](t,t);return!e.has(-0)}));g||((c=t((function(e,t){ss(e,o);var i=function(e,t,i){var n,s;return mn&&P(n=t.constructor)&&n!==i&&X(s=n.prototype)&&s!==i.prototype&&mn(e,s),e}(new l,e,c);return null!=t&&is(t,i[r],{that:i,AS_ENTRIES:n}),i}))).prototype=o,o.constructor=c),(m||y)&&(u("delete"),u("has"),n&&u("get")),(y||f)&&u(r),s&&o.clear&&delete o.clear}return h[e]=c,ui({global:!0,constructor:!0,forced:c!=l},h),hn(c,e),s||i.setStrong(c,e,n),c}("WeakMap",Ts,bs);if(Oe&&xs){_s=bs.getConstructor(Ts,"WeakMap",!0),Wn.enable();var Ms=Ss.prototype,Es=v(Ms.delete),Cs=v(Ms.has),Ps=v(Ms.get),ks=v(Ms.set);zn(Ms,{delete:function(e){if(X(e)&&!Gn(e)){var t=ws(this);return t.frozen||(t.frozen=new _s),Es(this,e)||t.frozen.delete(e)}return Es(this,e)},has:function(e){if(X(e)&&!Gn(e)){var t=ws(this);return t.frozen||(t.frozen=new _s),Cs(this,e)||t.frozen.has(e)}return Cs(this,e)},get:function(e){if(X(e)&&!Gn(e)){var t=ws(this);return t.frozen||(t.frozen=new _s),Cs(this,e)?Ps(this,e):t.frozen.get(e)}return Ps(this,e)},set:function(e,t){if(X(e)&&!Gn(e)){var i=ws(this);i.frozen||(i.frozen=new _s),Cs(this,e)?ks(this,e,t):i.frozen.set(e,t)}else ks(this,e,t);return this}})}var As=U("iterator"),Ls=U("toStringTag"),Os=En.values,Is=function(e,t){if(e){if(e[As]!==Os)try{we(e,As,Os)}catch(t){e[As]=Os}if(e[Ls]||we(e,Ls,t),et[t])for(var i in En)if(e[i]!==En[i])try{we(e,i,En[i])}catch(t){e[i]=En[i]}}};for(var Ds in et)Is(a[Ds]&&a[Ds].prototype,Ds);Is(nt,"DOMTokenList");var Rs=/^\s+|\s+$/g,zs=/^[-+]0x[0-9a-f]+$/i,Ns=/^0b[01]+$/i,$s=/^0o[0-7]+$/i,Fs=parseInt,Bs="object"==typeof e&&e&&e.Object===Object&&e,Vs="object"==typeof self&&self&&self.Object===Object&&self,Hs=Bs||Vs||Function("return this")(),Us=Object.prototype.toString,Gs=Math.max,js=Math.min,Ws=function(){return Hs.Date.now()};function Xs(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function qs(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==Us.call(e)}(e))return NaN;if(Xs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Rs,"");var i=Ns.test(e);return i||$s.test(e)?Fs(e.slice(2),i?2:8):zs.test(e)?NaN:+e}var Ys=function(e,t,i){var n=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Xs(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),function(e,t,i){var n,s,r,a,l,o,c=0,h=!1,d=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var i=n,r=s;return n=s=void 0,c=t,a=e.apply(r,i)}function f(e){return c=e,l=setTimeout(g,t),h?p(e):a}function m(e){var i=e-o;return void 0===o||i>=t||i<0||d&&e-c>=r}function g(){var e=Ws();if(m(e))return v(e);l=setTimeout(g,function(e){var i=t-(e-o);return d?js(i,r-(e-c)):i}(e))}function v(e){return l=void 0,u&&n?p(e):(n=s=void 0,a)}function y(){var e=Ws(),i=m(e);if(n=arguments,s=this,o=e,i){if(void 0===l)return f(o);if(d)return l=setTimeout(g,t),p(o)}return void 0===l&&(l=setTimeout(g,t)),a}return t=qs(t)||0,Xs(i)&&(h=!!i.leading,r=(d="maxWait"in i)?Gs(qs(i.maxWait)||0,t):r,u="trailing"in i?!!i.trailing:u),y.cancel=function(){void 0!==l&&clearTimeout(l),c=0,n=o=s=l=void 0},y.flush=function(){return void 0===l?a:v(Ws())},y}(e,t,{leading:n,maxWait:t,trailing:s})},Zs=/^\s+|\s+$/g,Ks=/^[-+]0x[0-9a-f]+$/i,Js=/^0b[01]+$/i,Qs=/^0o[0-7]+$/i,er=parseInt,tr="object"==typeof e&&e&&e.Object===Object&&e,ir="object"==typeof self&&self&&self.Object===Object&&self,nr=tr||ir||Function("return this")(),sr=Object.prototype.toString,rr=Math.max,ar=Math.min,lr=function(){return nr.Date.now()};function or(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function cr(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==sr.call(e)}(e))return NaN;if(or(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=or(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Zs,"");var i=Js.test(e);return i||Qs.test(e)?er(e.slice(2),i?2:8):Ks.test(e)?NaN:+e}var hr=function(e,t,i){var n,s,r,a,l,o,c=0,h=!1,d=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var i=n,r=s;return n=s=void 0,c=t,a=e.apply(r,i)}function f(e){return c=e,l=setTimeout(g,t),h?p(e):a}function m(e){var i=e-o;return void 0===o||i>=t||i<0||d&&e-c>=r}function g(){var e=lr();if(m(e))return v(e);l=setTimeout(g,function(e){var i=t-(e-o);return d?ar(i,r-(e-c)):i}(e))}function v(e){return l=void 0,u&&n?p(e):(n=s=void 0,a)}function y(){var e=lr(),i=m(e);if(n=arguments,s=this,o=e,i){if(void 0===l)return f(o);if(d)return l=setTimeout(g,t),p(o)}return void 0===l&&(l=setTimeout(g,t)),a}return t=cr(t)||0,or(i)&&(h=!!i.leading,r=(d="maxWait"in i)?rr(cr(i.maxWait)||0,t):r,u="trailing"in i?!!i.trailing:u),y.cancel=function(){void 0!==l&&clearTimeout(l),c=0,n=o=s=l=void 0},y.flush=function(){return void 0===l?a:v(lr())},y},dr=/^\[object .+?Constructor\]$/,ur="object"==typeof e&&e&&e.Object===Object&&e,pr="object"==typeof self&&self&&self.Object===Object&&self,fr=ur||pr||Function("return this")(),mr=Array.prototype,gr=Function.prototype,vr=Object.prototype,yr=fr["__core-js_shared__"],_r=function(){var e=/[^.]+$/.exec(yr&&yr.keys&&yr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),br=gr.toString,wr=vr.hasOwnProperty,xr=vr.toString,Tr=RegExp("^"+br.call(wr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sr=mr.splice,Mr=Or(fr,"Map"),Er=Or(Object,"create");function Cr(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Pr(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function kr(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Ar(e,t){for(var i,n,s=e.length;s--;)if((i=e[s][0])===(n=t)||i!=i&&n!=n)return s;return-1}function Lr(e,t){var i,n,s=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?s["string"==typeof t?"string":"hash"]:s.map}function Or(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Dr(e)||(t=e,_r&&_r in t))&&(function(e){var t=Dr(e)?xr.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Tr:dr).test(function(e){if(null!=e){try{return br.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}(i)?i:void 0}function Ir(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,s=t?t.apply(this,n):n[0],r=i.cache;if(r.has(s))return r.get(s);var a=e.apply(this,n);return i.cache=r.set(s,a),a};return i.cache=new(Ir.Cache||kr),i}function Dr(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}Cr.prototype.clear=function(){this.__data__=Er?Er(null):{}},Cr.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Cr.prototype.get=function(e){var t=this.__data__;if(Er){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return wr.call(t,e)?t[e]:void 0},Cr.prototype.has=function(e){var t=this.__data__;return Er?void 0!==t[e]:wr.call(t,e)},Cr.prototype.set=function(e,t){return this.__data__[e]=Er&&void 0===t?"__lodash_hash_undefined__":t,this},Pr.prototype.clear=function(){this.__data__=[]},Pr.prototype.delete=function(e){var t=this.__data__,i=Ar(t,e);return!(i<0||(i==t.length-1?t.pop():Sr.call(t,i,1),0))},Pr.prototype.get=function(e){var t=this.__data__,i=Ar(t,e);return i<0?void 0:t[i][1]},Pr.prototype.has=function(e){return Ar(this.__data__,e)>-1},Pr.prototype.set=function(e,t){var i=this.__data__,n=Ar(i,e);return n<0?i.push([e,t]):i[n][1]=t,this},kr.prototype.clear=function(){this.__data__={hash:new Cr,map:new(Mr||Pr),string:new Cr}},kr.prototype.delete=function(e){return Lr(this,e).delete(e)},kr.prototype.get=function(e){return Lr(this,e).get(e)},kr.prototype.has=function(e){return Lr(this,e).has(e)},kr.prototype.set=function(e,t){return Lr(this,e).set(e,t),this},Ir.Cache=kr;var Rr,zr=Ir,Nr=[],$r="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Rr||(Rr={}));var Fr,Br=function(e){return Object.freeze(e)},Vr=function(e,t){this.inlineSize=e,this.blockSize=t,Br(this)},Hr=function(){function e(e,t,i,n){return this.x=e,this.y=t,this.width=i,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Br(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Ur=function(e){return e instanceof SVGElement&&"getBBox"in e},Gr=function(e){if(Ur(e)){var t=e.getBBox(),i=t.width,n=t.height;return!i&&!n}var s=e,r=s.offsetWidth,a=s.offsetHeight;return!(r||a||e.getClientRects().length)},jr=function(e){var t,i;if(e instanceof Element)return!0;var n=null===(i=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===i?void 0:i.defaultView;return!!(n&&e instanceof n.Element)},Wr="undefined"!=typeof window?window:{},Xr=new WeakMap,qr=/auto|scroll/,Yr=/^tb|vertical/,Zr=/msie|trident/i.test(Wr.navigator&&Wr.navigator.userAgent),Kr=function(e){return parseFloat(e||"0")},Jr=function(e,t,i){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===i&&(i=!1),new Vr((i?t:e)||0,(i?e:t)||0)},Qr=Br({devicePixelContentBoxSize:Jr(),borderBoxSize:Jr(),contentBoxSize:Jr(),contentRect:new Hr(0,0,0,0)}),ea=function(e,t){if(void 0===t&&(t=!1),Xr.has(e)&&!t)return Xr.get(e);if(Gr(e))return Xr.set(e,Qr),Qr;var i=getComputedStyle(e),n=Ur(e)&&e.ownerSVGElement&&e.getBBox(),s=!Zr&&"border-box"===i.boxSizing,r=Yr.test(i.writingMode||""),a=!n&&qr.test(i.overflowY||""),l=!n&&qr.test(i.overflowX||""),o=n?0:Kr(i.paddingTop),c=n?0:Kr(i.paddingRight),h=n?0:Kr(i.paddingBottom),d=n?0:Kr(i.paddingLeft),u=n?0:Kr(i.borderTopWidth),p=n?0:Kr(i.borderRightWidth),f=n?0:Kr(i.borderBottomWidth),m=d+c,g=o+h,v=(n?0:Kr(i.borderLeftWidth))+p,y=u+f,_=l?e.offsetHeight-y-e.clientHeight:0,b=a?e.offsetWidth-v-e.clientWidth:0,w=s?m+v:0,x=s?g+y:0,T=n?n.width:Kr(i.width)-w-b,S=n?n.height:Kr(i.height)-x-_,M=T+m+b+v,E=S+g+_+y,C=Br({devicePixelContentBoxSize:Jr(Math.round(T*devicePixelRatio),Math.round(S*devicePixelRatio),r),borderBoxSize:Jr(M,E,r),contentBoxSize:Jr(T,S,r),contentRect:new Hr(d,o,T,S)});return Xr.set(e,C),C},ta=function(e,t,i){var n=ea(e,i),s=n.borderBoxSize,r=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case Rr.DEVICE_PIXEL_CONTENT_BOX:return a;case Rr.BORDER_BOX:return s;default:return r}},ia=function(e){var t=ea(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Br([t.borderBoxSize]),this.contentBoxSize=Br([t.contentBoxSize]),this.devicePixelContentBoxSize=Br([t.devicePixelContentBoxSize])},na=function(e){if(Gr(e))return 1/0;for(var t=0,i=e.parentNode;i;)t+=1,i=i.parentNode;return t},sa=function(){var e=1/0,t=[];Nr.forEach((function(i){if(0!==i.activeTargets.length){var n=[];i.activeTargets.forEach((function(t){var i=new ia(t.target),s=na(t.target);n.push(i),t.lastReportedSize=ta(t.target,t.observedBox),s<e&&(e=s)})),t.push((function(){i.callback.call(i.observer,n,i.observer)})),i.activeTargets.splice(0,i.activeTargets.length)}}));for(var i=0,n=t;i<n.length;i++)(0,n[i])();return e},ra=function(e){Nr.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(i){i.isActive()&&(na(i.target)>e?t.activeTargets.push(i):t.skippedTargets.push(i))}))}))},aa=[],la=0,oa={attributes:!0,characterData:!0,childList:!0,subtree:!0},ca=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ha=function(e){return void 0===e&&(e=0),Date.now()+e},da=!1,ua=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!da){da=!0;var i,n=ha(e);i=function(){var i=!1;try{i=function(){var e,t=0;for(ra(t);Nr.some((function(e){return e.activeTargets.length>0}));)t=sa(),ra(t);return Nr.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:$r}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=$r),window.dispatchEvent(e)),t>0}()}finally{if(da=!1,e=n-ha(),!la)return;i?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!Fr){var t=0,i=document.createTextNode("");new MutationObserver((function(){return aa.splice(0).forEach((function(e){return e()}))})).observe(i,{characterData:!0}),Fr=function(){i.textContent=""+(t?t--:t++)}}aa.push(e),Fr()}((function(){requestAnimationFrame(i)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,oa)};document.body?t():Wr.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ca.forEach((function(t){return Wr.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),ca.forEach((function(t){return Wr.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),pa=function(e){!la&&e>0&&ua.start(),!(la+=e)&&ua.stop()},fa=function(){function e(e,t){this.target=e,this.observedBox=t||Rr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=ta(this.target,this.observedBox,!0);return e=this.target,Ur(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),ma=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},ga=new WeakMap,va=function(e,t){for(var i=0;i<e.length;i+=1)if(e[i].target===t)return i;return-1},ya=function(){function e(){}return e.connect=function(e,t){var i=new ma(e,t);ga.set(e,i)},e.observe=function(e,t,i){var n=ga.get(e),s=0===n.observationTargets.length;va(n.observationTargets,t)<0&&(s&&Nr.push(n),n.observationTargets.push(new fa(t,i&&i.box)),pa(1),ua.schedule())},e.unobserve=function(e,t){var i=ga.get(e),n=va(i.observationTargets,t),s=1===i.observationTargets.length;n>=0&&(s&&Nr.splice(Nr.indexOf(i),1),i.observationTargets.splice(n,1),pa(-1))},e.disconnect=function(e){var t=this,i=ga.get(e);i.observationTargets.slice().forEach((function(i){return t.unobserve(e,i.target)})),i.activeTargets.splice(0,i.activeTargets.length)},e}(),_a=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ya.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jr(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ya.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jr(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ya.unobserve(this,e)},e.prototype.disconnect=function(){ya.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),ba=a.TypeError,wa=function(e){return function(t,i,n,s){he(i);var r=w(t),a=ot(r),l=mt(r),o=e?l-1:0,c=e?-1:1;if(n<2)for(;;){if(o in a){s=a[o],o+=c;break}if(o+=c,e?o<0:l<=o)throw ba("Reduce of empty array with no initial value")}for(;e?o>=0:l>o;o+=c)o in a&&(s=i(s,a[o],o,r));return s}},xa={left:wa(!1),right:wa(!0)},Ta="process"==qe(a.process),Sa=xa.left,Ma=Ot("reduce");ui({target:"Array",proto:!0,forced:!Ma||!Ta&&z>79&&z<83},{reduce:function(e){var t=arguments.length;return Sa(this,e,t,t>1?arguments[1]:void 0)}});var Ea,Ca,Pa=function(){var e=te(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},ka=a.RegExp,Aa=d((function(){var e=ka("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),La=Aa||d((function(){return!ka("a","y").sticky})),Oa={BROKEN_CARET:Aa||d((function(){var e=ka("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:La,UNSUPPORTED_Y:Aa},Ia=a.RegExp,Da=d((function(){var e=Ia(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Ra=a.RegExp,za=d((function(){var e=Ra("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Na=Ue.get,$a=h("native-string-replace",String.prototype.replace),Fa=RegExp.prototype.exec,Ba=Fa,Va=v("".charAt),Ha=v("".indexOf),Ua=v("".replace),Ga=v("".slice),ja=(Ca=/b*/g,ne(Fa,Ea=/a/,"a"),ne(Fa,Ca,"a"),0!==Ea.lastIndex||0!==Ca.lastIndex),Wa=Oa.BROKEN_CARET,Xa=void 0!==/()??/.exec("")[1];(ja||Xa||Wa||Da||za)&&(Ba=function(e){var t,i,n,s,r,a,l,o=this,c=Na(o),h=fi(e),d=c.raw;if(d)return d.lastIndex=o.lastIndex,t=ne(Ba,d,h),o.lastIndex=d.lastIndex,t;var u=c.groups,p=Wa&&o.sticky,f=ne(Pa,o),m=o.source,g=0,v=h;if(p&&(f=Ua(f,"y",""),-1===Ha(f,"g")&&(f+="g"),v=Ga(h,o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==Va(h,o.lastIndex-1))&&(m="(?: "+m+")",v=" "+v,g++),i=new RegExp("^(?:"+m+")",f)),Xa&&(i=new RegExp("^"+m+"$(?!\\s)",f)),ja&&(n=o.lastIndex),s=ne(Fa,p?i:o,v),p?s?(s.input=Ga(s.input,g),s[0]=Ga(s[0],g),s.index=o.lastIndex,o.lastIndex+=s[0].length):o.lastIndex=0:ja&&s&&(o.lastIndex=o.global?s.index+s[0].length:n),Xa&&s&&s.length>1&&ne($a,s[0],i,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(s[r]=void 0)})),s&&u)for(s.groups=a=Gi(null),r=0;r<u.length;r++)a[(l=u[r])[0]]=s[l[1]];return s});var qa=Ba;ui({target:"RegExp",proto:!0,forced:/./.exec!==qa},{exec:qa});var Ya=U("species"),Za=RegExp.prototype,Ka=function(e,t,i,n){var s=U(e),r=!d((function(){var t={};return t[s]=function(){return 7},7!=""[e](t)})),a=r&&!d((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[Ya]=function(){return i},i.flags="",i[s]=/./[s]),i.exec=function(){return t=!0,null},i[s](""),!t}));if(!r||!a||i){var l=v(/./[s]),o=t(s,""[e],(function(e,t,i,n,s){var a=v(e),o=t.exec;return o===qa||o===Za.exec?r&&!s?{done:!0,value:l(t,i,n)}:{done:!0,value:a(i,t,n)}:{done:!1}}));je(String.prototype,e,o[0]),je(Za,s,o[1])}n&&we(Za[s],"sham",!0)},Ja=On.charAt,Qa=function(e,t,i){return t+(i?Ja(e,t).length:1)},el=a.TypeError,tl=function(e,t){var i=e.exec;if(P(i)){var n=ne(i,e,t);return null!==n&&te(n),n}if("RegExp"===qe(e))return ne(qa,e,t);throw el("RegExp#exec called on incompatible receiver")};Ka("match",(function(e,t,i){return[function(t){var i=_(this),n=null==t?void 0:de(t,e);return n?ne(n,t,i):new RegExp(t)[e](fi(i))},function(e){var n=te(this),s=fi(e),r=i(t,n,s);if(r.done)return r.value;if(!n.global)return tl(n,s);var a=n.unicode;n.lastIndex=0;for(var l,o=[],c=0;null!==(l=tl(n,s));){var h=fi(l[0]);o[c]=h,""===h&&(n.lastIndex=Qa(s,ft(n.lastIndex),a)),c++}return 0===c?null:o}]}));var il=Me.EXISTS,nl=_e.f,sl=Function.prototype,rl=v(sl.toString),al=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ll=v(al.exec);W&&!il&&nl(sl,"name",{configurable:!0,get:function(){try{return ll(al,rl(this))[1]}catch(e){return""}}});var ol=Function.prototype,cl=ol.apply,hl=ol.call,dl="object"==typeof Reflect&&Reflect.apply||(u?hl.bind(cl):function(){return hl.apply(cl,arguments)}),ul=Math.floor,pl=v("".charAt),fl=v("".replace),ml=v("".slice),gl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vl=/\$([$&'`]|\d{1,2})/g,yl=function(e,t,i,n,s,r){var a=i+e.length,l=n.length,o=vl;return void 0!==s&&(s=w(s),o=gl),fl(r,o,(function(r,o){var c;switch(pl(o,0)){case"$":return"$";case"&":return e;case"`":return ml(t,0,i);case"'":return ml(t,a);case"<":c=s[ml(o,1,-1)];break;default:var h=+o;if(0===h)return r;if(h>l){var d=ul(h/10);return 0===d?r:d<=l?void 0===n[d-1]?pl(o,1):n[d-1]+pl(o,1):r}c=n[h-1]}return void 0===c?"":c}))},_l=U("replace"),bl=Math.max,wl=Math.min,xl=v([].concat),Tl=v([].push),Sl=v("".indexOf),Ml=v("".slice),El="$0"==="a".replace(/./,"$0"),Cl=!!/./[_l]&&""===/./[_l]("a","$0");Ka("replace",(function(e,t,i){var n=Cl?"$":"$0";return[function(e,i){var n=_(this),s=null==e?void 0:de(e,_l);return s?ne(s,e,n,i):ne(t,fi(n),e,i)},function(e,s){var r=te(this),a=fi(e);if("string"==typeof s&&-1===Sl(s,n)&&-1===Sl(s,"$<")){var l=i(t,r,a,s);if(l.done)return l.value}var o=P(s);o||(s=fi(s));var c=r.global;if(c){var h=r.unicode;r.lastIndex=0}for(var d=[];;){var u=tl(r,a);if(null===u)break;if(Tl(d,u),!c)break;""===fi(u[0])&&(r.lastIndex=Qa(a,ft(r.lastIndex),h))}for(var p,f="",m=0,g=0;g<d.length;g++){for(var v=fi((u=d[g])[0]),y=bl(wl(ut(u.index),a.length),0),_=[],b=1;b<u.length;b++)Tl(_,void 0===(p=u[b])?p:String(p));var w=u.groups;if(o){var x=xl([v],_,y,a);void 0!==w&&Tl(x,w);var T=fi(dl(s,void 0,x))}else T=yl(v,a,y,_,w,s);y>=m&&(f+=Ml(a,m,y)+T,m=y+v.length)}return f+Ml(a,m)}]}),!!d((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!El||Cl);var Pl=function(e){return Array.prototype.reduce.call(e,(function(e,t){var i=t.name.match(/data-simplebar-(.+)/);if(i){var n=i[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[n]=!0;break;case"false":e[n]=!1;break;case void 0:e[n]=!0;break;default:e[n]=t.value}}return e}),{})};function kl(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Al(e){return e&&e.ownerDocument?e.ownerDocument:document}var Ll=null,Ol=null;function Il(e){if(null===Ll){var t=Al(e);if(void 0===t)return Ll=0;var i=t.body,n=t.createElement("div");n.classList.add("simplebar-hide-scrollbar"),i.appendChild(n);var s=n.getBoundingClientRect().right;i.removeChild(n),Ll=s}return Ll}Nt&&window.addEventListener("resize",(function(){Ol!==window.devicePixelRatio&&(Ol=window.devicePixelRatio,Ll=null)}));var Dl=function(){function e(t,i){var n=this;this.onScroll=function(){var e=kl(n.el);n.scrollXTicking||(e.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(e.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0)},this.scrollX=function(){n.axis.x.isOverflowing&&(n.showScrollbar("x"),n.positionScrollbar("x")),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&(n.showScrollbar("y"),n.positionScrollbar("y")),n.scrollYTicking=!1},this.onMouseEnter=function(){n.showScrollbar("x"),n.showScrollbar("y")},this.onMouseMove=function(e){n.mouseX=e.clientX,n.mouseY=e.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this.onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.hideScrollbars=function(){n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.track.rect)||(n.axis.y.scrollbar.el.classList.remove(n.classNames.visible),n.axis.y.isVisible=!1),n.isWithinBounds(n.axis.x.track.rect)||(n.axis.x.scrollbar.el.classList.remove(n.classNames.visible),n.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,i;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(t=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(i=n.isWithinBounds(n.axis.y.track.rect)),(t||i)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(e,"x"):n.onTrackClick(e,"x")),i&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(e,"y"):n.onTrackClick(e,"y"))))},this.drag=function(t){var i=n.axis[n.draggedAxis].track,s=i.rect[n.axis[n.draggedAxis].sizeAttr],r=n.axis[n.draggedAxis].scrollbar,a=n.contentWrapperEl[n.axis[n.draggedAxis].scrollSizeAttr],l=parseInt(n.elStyles[n.axis[n.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var o=(("y"===n.draggedAxis?t.pageY:t.pageX)-i.rect[n.axis[n.draggedAxis].offsetAttr]-n.axis[n.draggedAxis].dragOffset)/(s-r.size)*(a-l);"x"===n.draggedAxis&&(o=n.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?o-(s+r.size):o,o=n.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-o:o),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=o},this.onEndDrag=function(e){var t=Al(n.el),i=kl(n.el);e.preventDefault(),e.stopPropagation(),n.el.classList.remove(n.classNames.dragging),t.removeEventListener("mousemove",n.drag,!0),t.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=i.setTimeout((function(){t.removeEventListener("click",n.preventClick,!0),t.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,i),this.classNames=Object.assign({},e.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,e.instances.has(this.el)||(this.recalculate=Ys(this.recalculate.bind(this),64),this.onMouseMove=Ys(this.onMouseMove.bind(this),64),this.hideScrollbars=hr(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=hr(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=zr(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var i=t.firstElementChild;document.body.appendChild(i);var n=i.firstElementChild;i.scrollLeft=0;var s=e.getOffset(i),r=e.getOffset(n);i.scrollLeft=999;var a=e.getOffset(n);return{isRtlScrollingInverted:s.left!==r.left&&r.left-a.left!=0,isRtlScrollbarInverted:s.left!==r.left}},e.getOffset=function(e){var t=e.getBoundingClientRect(),i=Al(e),n=kl(e);return{top:t.top+(n.pageYOffset||i.documentElement.scrollTop),left:t.left+(n.pageXOffset||i.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),Nt&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),i=document.createElement("div");t.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),t.appendChild(i),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.setAccessibilityAttributes=function(){var e=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",e)},t.initListeners=function(){var e=this,t=kl(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize);var i=!1,n=null,s=t.ResizeObserver||_a;this.resizeObserver=new s((function(){i&&null===n&&(n=t.requestAnimationFrame((function(){e.recalculate(),n=null})))})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame((function(){i=!0})),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var e=kl(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1,n=this.contentEl.offsetWidth,s=this.contentWrapperEl.offsetWidth,r=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var l=this.contentEl.scrollHeight,o=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=i?n+"px":"auto",this.placeholderEl.style.height=l+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=o>n,this.axis.y.isOverflowing=l>c,this.axis.x.isOverflowing="hidden"!==r&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&o>s-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>c-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,i=this.contentEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el[this.axis[e].offsetSizeAttr],s=n/i;return t=Math.max(~~(s*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var i=this.contentWrapperEl[this.axis[t].scrollSizeAttr],n=this.axis[t].track.el[this.axis[t].offsetSizeAttr],s=parseInt(this.elStyles[this.axis[t].sizeAttr],10),r=this.axis[t].scrollbar,a=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],l=(a="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-a:a)/(i-s),o=~~((n-r.size)*l);o="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?o+(n-r.size):o,r.el.style.transform="x"===t?"translate3d("+o+"px, 0, 0)":"translate3d(0, "+o+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,i=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?i.style.display="block":i.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var i=Al(this.el),n=kl(this.el),s=this.axis[t].scrollbar,r="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=r-s.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(n.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var i=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var n=kl(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var s=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],r=parseInt(this.elStyles[this.axis[t].sizeAttr],10),a=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],l=("y"===t?this.mouseY-s:this.mouseX-s)<0?-1:1,o=-1===l?a-r:a+r;!function e(){var s,r;-1===l?a>o&&(a-=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((s={})[i.axis[t].offsetAttr]=a,s)),n.requestAnimationFrame(e)):a<o&&(a+=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((r={})[i.axis[t].offsetAttr]=a,r)),n.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Il(this.el)}catch(e){return Il(this.el)}},t.removeListeners=function(){var e=this,t=kl(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return i.call(e,t)}))[0]},e}();return Dl.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},Dl.instances=new WeakMap,Dl.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||Dl.instances.has(e)||new Dl(e,Pl(e.attributes))}))},Dl.removeObserver=function(){this.globalObserver.disconnect()},Dl.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(Dl.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},Dl.handleMutations=function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes,(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!Dl.instances.has(e)&&document.documentElement.contains(e)&&new Dl(e,Pl(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),(function(e){"init"!==e.getAttribute("data-simplebar")&&!Dl.instances.has(e)&&document.documentElement.contains(e)&&new Dl(e,Pl(e.attributes))})))})),Array.prototype.forEach.call(e.removedNodes,(function(e){1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?Dl.instances.has(e)&&!document.documentElement.contains(e)&&Dl.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){Dl.instances.has(e)&&!document.documentElement.contains(e)&&Dl.instances.get(e).unMount()})))}))}))},Dl.getOptions=Pl,Nt&&Dl.initHtmlApi(),Dl}()}).call(this,i(7))},function(e,t,i){(function(n){var s,r;
/**
  stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills
  @version v3.7.11
  @link https://github.com/yowainwright/stickybits#readme
  @author Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)
  @license MIT
**/void 0===(r="function"==typeof(s=function(){"use strict";function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var t=function(){function t(e,t){var i=this,n=void 0!==t?t:{};this.version="3.7.11",this.userAgent=window.navigator.userAgent||"no `userAgent` provided by the browser",this.props={customStickyChangeNumber:n.customStickyChangeNumber||null,noStyles:n.noStyles||!1,stickyBitStickyOffset:n.stickyBitStickyOffset||0,parentClass:n.parentClass||"js-stickybit-parent",scrollEl:"string"==typeof n.scrollEl?document.querySelector(n.scrollEl):n.scrollEl||window,stickyClass:n.stickyClass||"js-is-sticky",stuckClass:n.stuckClass||"js-is-stuck",stickyChangeClass:n.stickyChangeClass||"js-is-sticky--change",useStickyClasses:n.useStickyClasses||!1,useFixed:n.useFixed||!1,useGetBoundingClientRect:n.useGetBoundingClientRect||!1,verticalPosition:n.verticalPosition||"top",applyStyle:n.applyStyle||function(e,t){return i.applyStyle(e,t)}},this.props.positionVal=this.definePosition()||"fixed",this.instances=[];var s=this.props,r=s.positionVal,a=s.verticalPosition,l=s.noStyles,o=s.stickyBitStickyOffset,c="top"!==a||l?"":o+"px",h="fixed"!==r?r:"";this.els="string"==typeof e?document.querySelectorAll(e):e,"length"in this.els||(this.els=[this.els]);for(var d=0;d<this.els.length;d++){var u,p=this.els[d],f=this.addInstance(p,this.props);this.props.applyStyle({styles:((u={})[a]=c,u.position=h,u),classes:{}},f),this.manageState(f),this.instances.push(f)}}var i=t.prototype;return i.definePosition=function(){var e;if(this.props.useFixed)e="fixed";else{for(var t=["","-o-","-webkit-","-moz-","-ms-"],i=document.head.style,n=0;n<t.length;n+=1)i.position=t[n]+"sticky";e=i.position?i.position:"fixed",i.position=""}return e},i.addInstance=function(e,t){var i=this,n={el:e,parent:e.parentNode,props:t};if("fixed"===t.positionVal||t.useStickyClasses){this.isWin=this.props.scrollEl===window;var s=this.isWin?window:this.getClosestParent(n.el,n.props.scrollEl);this.computeScrollOffsets(n),this.toggleClasses(n.parent,"",t.parentClass),n.state="default",n.stateChange="default",n.stateContainer=function(){return i.manageState(n)},s.addEventListener("scroll",n.stateContainer)}return n},i.getClosestParent=function(e,t){var i=t,n=e;if(n.parentElement===i)return i;for(;n.parentElement!==i;)n=n.parentElement;return i},i.getTopPosition=function(e){if(this.props.useGetBoundingClientRect)return e.getBoundingClientRect().top+(this.props.scrollEl.pageYOffset||document.documentElement.scrollTop);for(var t=0;t=e.offsetTop+t,e=e.offsetParent;);return t},i.computeScrollOffsets=function(e){var t=e,i=t.props,n=t.el,s=t.parent,r=!this.isWin&&"fixed"===i.positionVal,a="bottom"!==i.verticalPosition,l=r?this.getTopPosition(i.scrollEl):0,o=r?this.getTopPosition(s)-l:this.getTopPosition(s),c=null!==i.customStickyChangeNumber?i.customStickyChangeNumber:n.offsetHeight,h=o+s.offsetHeight;t.offset=r?0:l+i.stickyBitStickyOffset,t.stickyStart=a?o-t.offset:0,t.stickyChange=t.stickyStart+c,t.stickyStop=a?h-(n.offsetHeight+t.offset):h-window.innerHeight},i.toggleClasses=function(e,t,i){var n=e,s=n.className.split(" ");i&&-1===s.indexOf(i)&&s.push(i);var r=s.indexOf(t);-1!==r&&s.splice(r,1),n.className=s.join(" ")},i.manageState=function(t){var i=this,n=t,s=n.props,r=n.state,a=n.stateChange,l=n.stickyStart,o=n.stickyChange,c=n.stickyStop,h=s.positionVal,d=s.scrollEl,u=s.stickyClass,p=s.stickyChangeClass,f=s.stuckClass,m=s.verticalPosition,g="bottom"!==m,v=s.applyStyle,y=s.noStyles,_=this.isWin&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame)||function(e){e()},b=this.isWin?window.scrollY||window.pageYOffset:d.scrollTop,w=g&&b<=l&&("sticky"===r||"stuck"===r),x=c<=b&&"sticky"===r;l<b&&b<c&&("default"===r||"stuck"===r)?n.state="sticky":w?n.state="default":x&&(n.state="stuck");var T=o<=b&&b<=c;b<o/2||c<b?n.stateChange="default":T&&(n.stateChange="sticky"),r===n.state&&a===n.stateChange||_((function(){var r,a,l,o,c,d,g={sticky:{styles:((r={position:h,top:"",bottom:""})[m]=s.stickyBitStickyOffset+"px",r),classes:((a={})[u]=!0,a)},default:{styles:((l={})[m]="",l),classes:{}},stuck:{styles:e(((o={})[m]="",o),"fixed"===h&&!y||!i.isWin?{position:"absolute",top:"",bottom:"0"}:{}),classes:((c={})[f]=!0,c)}};"fixed"===h&&(g.default.styles.position="");var _=g[n.state];_.classes=((d={})[f]=!!_.classes[f],d[u]=!!_.classes[u],d[p]=T,d),v(_,t)}))},i.applyStyle=function(e,t){var i=e.styles,n=e.classes,s=t.el,r=t.props,a=s.style,l=r.noStyles,o=s.className.split(" ");for(var c in n)if(n[c])-1===o.indexOf(c)&&o.push(c);else{var h=o.indexOf(c);-1!==h&&o.splice(h,1)}if(s.className=o.join(" "),i.position&&(a.position=i.position),!l)for(var d in i)a[d]=i[d]},i.update=function(e){var t=this;return void 0===e&&(e=null),this.instances.forEach((function(i){if(t.computeScrollOffsets(i),e)for(var n in e)i.props[n]=e[n]})),this},i.removeInstance=function(e){var t,i,n=e.el,s=e.props;this.applyStyle({styles:((t={position:""})[s.verticalPosition]="",t),classes:((i={})[s.stickyClass]="",i[s.stuckClass]="",i)},e),this.toggleClasses(n.parentNode,s.parentClass)},i.cleanup=function(){for(var e=0;e<this.instances.length;e+=1){var t=this.instances[e];t.stateContainer&&t.props.scrollEl.removeEventListener("scroll",t.stateContainer),this.removeInstance(t)}this.manageState=!1,this.instances=[]},t}();if("undefined"!=typeof window){var i=window.$||n||window.Zepto;i&&(i.fn.stickybits=function(e){return new t(this,e)})}})?s.call(t,i,t,e):s)||(e.exports=r)}).call(this,i(2))},function(e,t,i){var n,s,r;
/*!
 * ScrollMagic v2.0.8 (2020-08-14)
 * The javascript library for magical scroll interactions.
 * (c) 2020 Jan Paepke (@janpaepke)
 * Project Website: http://scrollmagic.io
 * 
 * @version 2.0.8
 * @license Dual licensed under MIT license and GPL.
 * @author Jan Paepke - e-mail@janpaepke.de
 *
 * @file ScrollMagic GSAP Animation Plugin.
 *
 * requires: GSAP ~1.14
 * Powered by the Greensock Animation Platform (GSAP): http://www.greensock.com/js
 * Greensock License info at http://www.greensock.com/licensing/
 */s=[i(14),i(104),i(15),i(82)],void 0===(r="function"==typeof(n=function(e,t,i,n){"use strict";var s="animation.gsap",r=t&&parseFloat(t.version)>=3,a=window.console||{},l=Function.prototype.bind.call(a.error||a.log||function(){},a);e||l("("+s+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs."),i||l("("+s+") -> ERROR: TweenLite or TweenMax could not be found. Please make sure GSAP is loaded before ScrollMagic or use an asynchronous loader like requirejs."),e.Scene.addOption("tweenChanges",!1,(function(e){return!!e})),e.Scene.extend((function(){var e,t=this,a=function(){t._log&&(Array.prototype.splice.call(arguments,1,0,"("+s+")","->"),t._log.apply(this,arguments))};t.on("progress.plugin_gsap",(function(){l()})),t.on("destroy.plugin_gsap",(function(e){t.removeTween(e.reset)}));var l=function(){if(e){var i=t.progress(),n=t.state();e.repeat&&-1===e.repeat()?"DURING"===n&&e.paused()?e.play():"DURING"===n||e.paused()||e.pause():i!=e.progress()&&(0===t.duration()?i>0?e.play():e.reverse():t.tweenChanges()&&e.tweenTo?e.tweenTo(i*e.duration()):e.progress(i).pause())}};t.setTween=function(s,o,c){var h;if(arguments.length>1){var d="number"==typeof arguments[1];r?(d||(c=o),c.hasOwnProperty("duration")||(c.duration=d?o:1)):arguments.length<3&&(c=o,o=1),s=r?i.to(s,c):i.to(s,o,c)}try{(h=n&&!r?new n({smoothChildTiming:!0}).add(s):s).pause()}catch(e){return a(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),t}if(e&&t.removeTween(),e=h,s.repeat&&-1===s.repeat()&&(e.repeat(-1),e.yoyo(s.yoyo())),t.tweenChanges()&&!e.tweenTo&&a(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),e&&t.controller()&&t.triggerElement()&&t.loglevel()>=2){var u=i.getTweensOf(t.triggerElement()),p=t.controller().info("vertical");u.forEach((function(e,t){var i=e.vars.css||e.vars;if(p?void 0!==i.top||void 0!==i.bottom:void 0!==i.left||void 0!==i.right)return a(2,"WARNING: Tweening the position of the trigger element affects the scene timing and should be avoided!"),!1}))}if(parseFloat(TweenLite.version)>=1.14)for(var f,m,g=r?"onInterrupt":"onOverwrite",v=e.getChildren?e.getChildren(!0,!0,!1):[e],y=function(){a(2,"WARNING: tween was overwritten by another. To learn how to avoid this issue see here: https://github.com/janpaepke/ScrollMagic/wiki/WARNING:-tween-was-overwritten-by-another")},_=0;_<v.length;_++)f=v[_],m!==y&&(m=f.vars[g],f.vars[g]=function(){m&&m.apply(this,arguments),y.apply(this,arguments)});return a(3,"added tween"),l(),t},t.removeTween=function(i){return e&&(i&&e.progress(0).pause(),e.kill(),e=void 0,a(3,"removed tween (reset: "+(i?"true":"false")+")")),t}}))})?n.apply(t,s):n)||(e.exports=r)},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,i){(function(n){var s,r,a,l=e.exports&&void 0!==n?n:this||window;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */(l._gsQueue||(l._gsQueue=[])).push((function(){"use strict";l._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(e,t,i){var n=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},s=t._internals,r=s.lazyTweens,a=s.lazyRender,o=l._gsDefine.globals,c=new i(null,null,1,0),h=n.prototype=new e;return h.constructor=n,h.kill()._gc=!1,n.version="2.1.3",h.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},h.addCallback=function(e,i,n,s){return this.add(t.delayedCall(0,e,n,s),i)},h.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var i=this.getTweensOf(e,!1),n=i.length,s=this._parseTimeOrLabel(t);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},h.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},h.tweenTo=function(e,i){i=i||{};var n,s,r,a={ease:c,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},l=i.repeat&&o.TweenMax||t;for(s in i)a[s]=i[s];return a.time=this._parseTimeOrLabel(e),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,r=new l(this,n,a),a.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||n!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||r,i.onStartParams||[])},r},h.tweenFromTo=function(e,t,i){i=i||{},e=this._parseTimeOrLabel(e),i.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(t,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-e)/this._timeScale||.001)},h.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var n,s,l,o,c,h,d,u,p,f=this._time,m=this._dirty?this.totalDuration():this._totalDuration,g=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,b=this._rawPrevTime,w=this._paused,x=this._cycle;if(f!==this._time&&(e+=this._time-f),e>=m-1e-8&&e>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&e>=-1e-8||b<0||1e-8===b)&&b!==e&&this._first&&(c=!0,b>1e-8&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,this._yoyo&&1&this._cycle?this._time=e=0:(this._time=g,e=g+1e-4);else if(e<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,e>-1e-8&&(e=0),(0!==f||0===g&&1e-8!==b&&(b>0||e<0&&b>=0)&&!this._locked)&&(o="onReverseComplete",s=this._reversed),e<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=s=!0,o="onReverseComplete"):b>=0&&this._first&&(c=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=g||!t||e||this._rawPrevTime===e?e:1e-8,0===e&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;e=0,this._initted||(c=!0)}else 0===g&&b<0&&(c=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,0!==this._repeat&&(h=g+this._repeatDelay,this._cycle=this._totalTime/h>>0,this._cycle&&this._cycle===this._totalTime/h&&v<=e&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&1&this._cycle&&(this._time=g-this._time),this._time>g?(this._time=g,e=g+1e-4):this._time<0?this._time=e=0:e=this._time));if(this._hasPause&&!this._forcingPlayhead&&!t){if((e=this._time)>f||this._repeat&&x!==this._cycle)for(n=this._first;n&&n._startTime<=e&&!d;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(d=n),n=n._next;else for(n=this._last;n&&n._startTime>=e&&!d;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(d=n),n=n._prev;d&&(p=this._startTime+(this._reversed?this._duration-d._startTime:d._startTime)/this._timeScale,d._startTime<g&&(this._time=this._rawPrevTime=e=d._startTime,this._totalTime=e+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==x&&!this._locked){var T=this._yoyo&&0!=(1&x),S=T===(this._yoyo&&0!=(1&this._cycle)),M=this._totalTime,E=this._cycle,C=this._rawPrevTime,P=this._time;if(this._totalTime=x*g,this._cycle<x?T=!T:this._totalTime+=g,this._time=f,this._rawPrevTime=0===g?b-1e-4:b,this._cycle=x,this._locked=!0,f=T?0:g,this.render(f,t,0===g),t||this._gc||this.vars.onRepeat&&(this._cycle=E,this._locked=!1,this._callback("onRepeat")),f!==this._time)return;if(S&&(this._cycle=x,this._locked=!0,f=T?g+1e-4:-1e-4,this.render(f,!0,!1)),this._locked=!1,this._paused&&!w)return;this._time=P,this._totalTime=M,this._cycle=E,this._rawPrevTime=C}if(this._time!==f&&this._first||i||c||d){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&e>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||t||this._callback("onStart")),(u=this._time)>=f)for(n=this._first;n&&(l=n._next,u===this._time&&(!this._paused||w));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(d===n&&(this.pause(),this._pauseTime=p),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)),n=l;else for(n=this._last;n&&(l=n._prev,u===this._time&&(!this._paused||w));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(d===n){for(d=n._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(e-d._startTime)*d._timeScale:(e-d._startTime)*d._timeScale,t,i),d=d._prev;d=null,this.pause(),this._pauseTime=p}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)}n=l}this._onUpdate&&(t||(r.length&&a(),this._callback("onUpdate"))),o&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||m>=this.totalDuration())&&(s&&(r.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o)))}else v!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},h.getActive=function(e,t,i){var n,s,r=[],a=this.getChildren(e||null==e,t||null==e,!!i),l=0,o=a.length;for(n=0;n<o;n++)(s=a[n]).isActive()&&(r[l++]=s);return r},h.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,i=this.getLabelsArray(),n=i.length;for(t=0;t<n;t++)if(i[t].time>e)return i[t].name;return null},h.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),i=t.length;--i>-1;)if(t[i].time<e)return t[i].name;return null},h.getLabelsArray=function(){var e,t=[],i=0;for(e in this._labels)t[i++]={time:this._labels[e],name:e};return t.sort((function(e,t){return e.time-t.time})),t},h.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},h.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()||0},h.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()||0},h.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return e>i&&(e=i),this.totalTime(this._yoyo&&1&n?i-e+s:this._repeat?e+s:e,t)},h.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},h.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},h.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},h.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},n}),!0),l._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(e,t,i){var n=function(e){t.call(this,e);var i,n,s=this.vars;for(n in this._labels={},this.autoRemoveChildren=!!s.autoRemoveChildren,this.smoothChildTiming=!!s.smoothChildTiming,this._sortChildren=!0,this._onUpdate=s.onUpdate,s)i=s[n],o(i)&&-1!==i.join("").indexOf("{self}")&&(s[n]=this._swapSelfInParams(i));o(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=i._internals,r=n._internals={},a=s.isSelector,o=s.isArray,c=s.lazyTweens,h=s.lazyRender,d=l._gsDefine.globals,u=function(e){var t,i={};for(t in e)i[t]=e[t];return i},p=function(e,t,i){var n,s,r=e.cycle;for(n in r)s=r[n],e[n]="function"==typeof s?s(i,t[i],t):s[i%s.length];delete e.cycle},f=r.pauseCallback=function(){},m=function(e,t,i,n){var s="immediateRender";return s in t||(t[s]=!(i&&!1===i[s]||n)),t},g=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},i=t.ease,n=t.from||0,s=t.base||0,r={},a=isNaN(n),l=t.axis,o={center:.5,end:1}[n]||0;return function(e,c,h){var d,u,p,f,m,g,v,y,_,b=(h||t).length,w=r[b];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=h[_++].getBoundingClientRect().left)&&_<b;);_--}for(w=r[b]=[],d=a?Math.min(_,b)*o-.5:n%_,u=a?b*o/_-.5:n/_|0,v=0,y=1/0,g=0;g<b;g++)p=g%_-d,f=u-(g/_|0),w[g]=m=l?Math.abs("y"===l?f:p):Math.sqrt(p*p+f*f),m>v&&(v=m),m<y&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b-1:l?"y"===l?b/_:_:Math.max(_,b/_))||0,w.b=b<0?s-b:s}return b=(w[e]-w.min)/w.max,w.b+(i?i.getRatio(b):b)*w.v}},v=n.prototype=new t;return n.version="2.1.3",n.distribute=g,v.constructor=n,v.kill()._gc=v._forcingPlayhead=v._hasPause=!1,v.to=function(e,t,n,s){var r=n.repeat&&d.TweenMax||i;return t?this.add(new r(e,t,n),s):this.set(e,n,s)},v.from=function(e,t,n,s){return this.add((n.repeat&&d.TweenMax||i).from(e,t,m(0,n)),s)},v.fromTo=function(e,t,n,s,r){var a=s.repeat&&d.TweenMax||i;return s=m(0,s,n),t?this.add(a.fromTo(e,t,n,s),r):this.set(e,s,r)},v.staggerTo=function(e,t,s,r,l,o,c,h){var d,f,m=new n({onComplete:o,onCompleteParams:c,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),v=g(s.stagger||r),y=s.startAt,_=s.cycle;for("string"==typeof e&&(e=i.selector(e)||e),a(e=e||[])&&(e=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i}(e)),f=0;f<e.length;f++)d=u(s),y&&(d.startAt=u(y),y.cycle&&p(d.startAt,e,f)),_&&(p(d,e,f),null!=d.duration&&(t=d.duration,delete d.duration)),m.to(e[f],t,d,v(f,e[f],e));return this.add(m,l)},v.staggerFrom=function(e,t,i,n,s,r,a,l){return i.runBackwards=!0,this.staggerTo(e,t,m(0,i),n,s,r,a,l)},v.staggerFromTo=function(e,t,i,n,s,r,a,l,o){return n.startAt=i,this.staggerTo(e,t,m(0,n,i),s,r,a,l,o)},v.call=function(e,t,n,s){return this.add(i.delayedCall(0,e,t,n),s)},v.set=function(e,t,n){return this.add(new i(e,0,m(0,t,null,!0)),n)},n.exportRoot=function(e,t){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var s,r,a,l,o=new n(e),c=o._timeline;for(null==t&&(t=!0),c._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=c._time,a=c._first;a;)l=a._next,t&&a instanceof i&&a.target===a.vars.onComplete||((r=a._startTime-a._delay)<0&&(s=1),o.add(a,r)),a=l;return c.add(o,0),s&&o.totalDuration(),o},v.add=function(s,r,a,l){var c,h,d,u,p,f;if("number"!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,s)),!(s instanceof e)){if(s instanceof Array||s&&s.push&&o(s)){for(a=a||"normal",l=l||0,c=r,h=s.length,d=0;d<h;d++)o(u=s[d])&&(u=new n({tweens:u})),this.add(u,c),"string"!=typeof u&&"function"!=typeof u&&("sequence"===a?c=u._startTime+u.totalDuration()/u._timeScale:"start"===a&&(u._startTime-=u.delay())),c+=l;return this._uncache(!0)}if("string"==typeof s)return this.addLabel(s,r);if("function"!=typeof s)throw"Cannot add "+s+" into the timeline; it is not a tween, timeline, function, or string.";s=i.delayedCall(0,s)}if(t.prototype.add.call(this,s,r),(s._time||!s._duration&&s._initted)&&(c=(this.rawTime()-s._startTime)*s._timeScale,(!s._duration||Math.abs(Math.max(0,Math.min(s.totalDuration(),c)))-s._totalTime>1e-5)&&s.render(c,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(f=(p=this).rawTime()>s._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},v.remove=function(t){if(t instanceof e){this._remove(t,!1);var i=t._timeline=t.vars.useFrames?e._rootFramesTimeline:e._rootTimeline;return t._startTime=(t._paused?t._pauseTime:i._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&o(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},v._remove=function(e,i){return t.prototype._remove.call(this,e,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},v.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},v.insert=v.insertMultiple=function(e,t,i,n){return this.add(e,t||0,i,n)},v.appendMultiple=function(e,t,i,n){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),i,n)},v.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},v.addPause=function(e,t,n,s){var r=i.delayedCall(0,f,n,s||this);return r.vars.onComplete=r.vars.onReverseComplete=t,r.data="isPause",this._hasPause=!0,this.add(r,e)},v.removeLabel=function(e){return delete this._labels[e],this},v.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},v._parseTimeOrLabel=function(t,i,n,s){var r,a;if(s instanceof e&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&o(s)))for(a=s.length;--a>-1;)s[a]instanceof e&&s[a].timeline===this&&this.remove(s[a]);if(r="number"!=typeof t||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof t&&null==this._labels[i]?t-r:0,n);if(i=i||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=r);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=r+i:i:this._labels[t]+i;i=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,n):r}return Number(t)+i},v.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(e,t){return this.play(e,t)},v.gotoAndStop=function(e,t){return this.pause(e,t)},v.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var n,s,r,a,l,o,d,u,p=this._time,f=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,g=this._timeScale,v=this._paused;if(p!==this._time&&(e+=this._time-p),this._hasPause&&!this._forcingPlayhead&&!t){if(e>p)for(n=this._first;n&&n._startTime<=e&&!o;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(o=n),n=n._next;else for(n=this._last;n&&n._startTime>=e&&!o;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(o=n),n=n._prev;o&&(this._time=this._totalTime=e=o._startTime,u=this._startTime+(this._reversed?this._duration-e:e)/this._timeScale)}if(e>=f-1e-8&&e>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&e>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==e&&this._first&&(l=!0,this._rawPrevTime>1e-8&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,e=f+1e-4;else if(e<1e-8)if(this._totalTime=this._time=0,e>-1e-8&&(e=0),(0!==p||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||e<0&&this._rawPrevTime>=0))&&(a="onReverseComplete",s=this._reversed),e<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,0===e&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;e=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=e;if(this._time!==p&&this._first||i||l||o){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&e>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||t||this._callback("onStart")),(d=this._time)>=p)for(n=this._first;n&&(r=n._next,d===this._time&&(!this._paused||v));)(n._active||n._startTime<=d&&!n._paused&&!n._gc)&&(o===n&&(this.pause(),this._pauseTime=u),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)),n=r;else for(n=this._last;n&&(r=n._prev,d===this._time&&(!this._paused||v));){if(n._active||n._startTime<=p&&!n._paused&&!n._gc){if(o===n){for(o=n._prev;o&&o.endTime()>this._time;)o.render(o._reversed?o.totalDuration()-(e-o._startTime)*o._timeScale:(e-o._startTime)*o._timeScale,t,i),o=o._prev;o=null,this.pause(),this._pauseTime=u}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)}n=r}this._onUpdate&&(t||(c.length&&h(),this._callback("onUpdate"))),a&&(this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||f>=this.totalDuration())&&(s&&(c.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this._callback(a)))}},v._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof n&&e._hasPausedChild())return!0;e=e._next}return!1},v.getChildren=function(e,t,n,s){s=s||-9999999999;for(var r=[],a=this._first,l=0;a;)a._startTime<s||(a instanceof i?!1!==t&&(r[l++]=a):(!1!==n&&(r[l++]=a),!1!==e&&(l=(r=r.concat(a.getChildren(!0,t,n))).length))),a=a._next;return r},v.getTweensOf=function(e,t){var n,s,r=this._gc,a=[],l=0;for(r&&this._enabled(!0,!0),s=(n=i.getTweensOf(e)).length;--s>-1;)(n[s].timeline===this||t&&this._contains(n[s]))&&(a[l++]=n[s]);return r&&this._enabled(!1,!0),a},v.recent=function(){return this._recent},v._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},v.shiftChildren=function(e,t,i){i=i||0;for(var n,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=e),s=s._next;if(t)for(n in r)r[n]>=i&&(r[n]+=e);return this._uncache(!0)},v._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),n=i.length,s=!1;--n>-1;)i[n]._kill(e,t)&&(s=!0);return s},v.clear=function(e){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},v.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},v._enabled=function(e,i){if(e===this._gc)for(var n=this._first;n;)n._enabled(e,!0),n=n._next;return t.prototype._enabled.call(this,e,i)},v.totalTime=function(t,i,n){this._forcingPlayhead=!0;var s=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},v.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,i,n=0,s=this,r=s._last,a=999999999999;r;)t=r._prev,r._dirty&&r.totalDuration(),r._startTime>a&&s._sortChildren&&!r._paused&&!s._calculatingDuration?(s._calculatingDuration=1,s.add(r,r._startTime-r._delay),s._calculatingDuration=0):a=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,s._timeline.smoothChildTiming&&(s._startTime+=r._startTime/s._timeScale,s._time-=r._startTime,s._totalTime-=r._startTime,s._rawPrevTime-=r._startTime),s.shiftChildren(-r._startTime,!1,-9999999999),a=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=t;s._duration=s._totalDuration=n,s._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},v.paused=function(t){if(!1===t&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return e.prototype.paused.apply(this,arguments)},v.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===e._rootFramesTimeline},v.rawTime=function(e){return e&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},n}),!0)})),l._gsDefine&&l._gsQueue.pop()(),function(n){"use strict";var o=function(){return(l.GreenSockGlobals||l).TimelineMax};e.exports?(i(23),e.exports=o()):(r=[i(23)],void 0===(a="function"==typeof(s=o)?s.apply(t,r):s)||(e.exports=a))}()}).call(this,i(7))},function(e,t,i){var n,s,r;
/*!
 * jQuery Cookie Plugin v1.4.1
 * https://github.com/carhartl/jquery-cookie
 *
 * Copyright 2013 Klaus Hartl
 * Released under the MIT license
 */s=[i(2)],void 0===(r="function"==typeof(n=function(e){var t=/\+/g;function i(e){return r.raw?e:encodeURIComponent(e)}function n(e){return i(r.json?JSON.stringify(e):String(e))}function s(i,n){var s=r.raw?i:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),r.json?JSON.parse(e):e}catch(e){}}(i);return e.isFunction(n)?n(s):s}var r=e.cookie=function(t,a,l){if(void 0!==a&&!e.isFunction(a)){if("number"==typeof(l=e.extend({},r.defaults,l)).expires){var o=l.expires,c=l.expires=new Date;c.setTime(+c+864e5*o)}return document.cookie=[i(t),"=",n(a),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var h,d=t?void 0:{},u=document.cookie?document.cookie.split("; "):[],p=0,f=u.length;p<f;p++){var m=u[p].split("="),g=(h=m.shift(),r.raw?h:decodeURIComponent(h)),v=m.join("=");if(t&&t===g){d=s(v,a);break}t||void 0===(v=s(v))||(d[g]=v)}return d};r.defaults={},e.removeCookie=function(t,i){return void 0!==e.cookie(t)&&(e.cookie(t,"",e.extend({},i,{expires:-1})),!e.cookie(t))}})?n.apply(t,s):n)||(e.exports=r)},function(e,t,i){var n,s,r;!function(a){"use strict";s=[i(2)],void 0===(r="function"==typeof(n=function(e){var t=window.Slick||{};(t=function(){var t=0;return function(i,n){var s,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=e(i),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,s=e(i).data("slick")||{},r.options=e.extend({},r.defaults,n,s),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=e.proxy(r.autoPlay,r),r.autoPlayClear=e.proxy(r.autoPlayClear,r),r.autoPlayIterator=e.proxy(r.autoPlayIterator,r),r.changeSlide=e.proxy(r.changeSlide,r),r.clickHandler=e.proxy(r.clickHandler,r),r.selectHandler=e.proxy(r.selectHandler,r),r.setPosition=e.proxy(r.setPosition,r),r.swipeHandler=e.proxy(r.swipeHandler,r),r.dragHandler=e.proxy(r.dragHandler,r),r.keyHandler=e.proxy(r.keyHandler,r),r.instanceUid=t++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,n){var s=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=s.slideCount)return!1;s.unload(),"number"==typeof i?0===i&&0===s.$slides.length?e(t).appendTo(s.$slideTrack):n?e(t).insertBefore(s.$slides.eq(i)):e(t).insertAfter(s.$slides.eq(i)):!0===n?e(t).prependTo(s.$slideTrack):e(t).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),s.$slidesCache=s.$slides,s.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var n={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(t=-t),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:t},s.options.speed,s.options.easing,i):s.$slideTrack.animate({top:t},s.options.speed,s.options.easing,i):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),e({animStart:s.currentLeft}).animate({animStart:t},{duration:s.options.speed,easing:s.options.easing,step:function(e){e=Math.ceil(e),!1===s.options.vertical?(n[s.animType]="translate("+e+"px, 0px)",s.$slideTrack.css(n)):(n[s.animType]="translate(0px,"+e+"px)",s.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(s.applyTransition(),t=Math.ceil(t),!1===s.options.vertical?n[s.animType]="translate3d("+t+"px, 0px, 0px)":n[s.animType]="translate3d(0px,"+t+"px, 0px)",s.$slideTrack.css(n),i&&setTimeout((function(){s.disableTransition(),i.call()}),s.options.speed))},t.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,n=this;if(!0===n.options.dots){for(n.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)i.append(e("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,n,s,r,a,l=this;if(n=document.createDocumentFragment(),r=l.$slider.children(),l.options.rows>1){for(a=l.options.slidesPerRow*l.options.rows,s=Math.ceil(r.length/a),e=0;e<s;e++){var o=document.createElement("div");for(t=0;t<l.options.rows;t++){var c=document.createElement("div");for(i=0;i<l.options.slidesPerRow;i++){var h=e*a+(t*l.options.slidesPerRow+i);r.get(h)&&c.appendChild(r.get(h))}o.appendChild(c)}n.appendChild(o)}l.$slider.empty().append(n),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var n,s,r,a=this,l=!1,o=a.$slider.width(),c=window.innerWidth||e(window).width();if("window"===a.respondTo?r=c:"slider"===a.respondTo?r=o:"min"===a.respondTo&&(r=Math.min(c,o)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(n in s=null,a.breakpoints)a.breakpoints.hasOwnProperty(n)&&(!1===a.originalSettings.mobileFirst?r<a.breakpoints[n]&&(s=a.breakpoints[n]):r>a.breakpoints[n]&&(s=a.breakpoints[n]));null!==s?null!==a.activeBreakpoint?(s!==a.activeBreakpoint||i)&&(a.activeBreakpoint=s,"unslick"===a.breakpointSettings[s]?a.unslick(s):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[s]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),l=s):(a.activeBreakpoint=s,"unslick"===a.breakpointSettings[s]?a.unslick(s):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[s]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),l=s):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),l=s),t||!1===l||a.$slider.trigger("breakpoint",[a,l])}},t.prototype.changeSlide=function(t,i){var n,s,r=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":s=0===n?r.options.slidesToScroll:r.options.slidesToShow-n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,i);break;case"next":s=0===n?r.options.slidesToScroll:n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,i);break;case"index":var l=0===t.data.index?0:t.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i;if(i=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout((function(){i.disableTransition(e),t.call()}),i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=n.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},t.prototype.getLeft=function(e){var t,i,n,s,r=this,a=0;return r.slideOffset=0,i=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,s=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?s=-1.5:1===r.options.slidesToShow&&(s=-2)),a=i*r.options.slidesToShow*s),r.slideCount%r.options.slidesToScroll!=0&&e+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(e>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(e-r.slideCount))*r.slideWidth*-1,a=(r.options.slidesToShow-(e-r.slideCount))*i*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,a=r.slideCount%r.options.slidesToScroll*i*-1))):e+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(e+r.options.slidesToShow-r.slideCount)*r.slideWidth,a=(e+r.options.slidesToShow-r.slideCount)*i),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,a=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),t=!1===r.options.vertical?e*r.slideWidth*-1+r.slideOffset:e*i*-1+a,!0===r.options.variableWidth&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow),t=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===r.options.centerMode&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow+1),t=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(r.$list.width()-n.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,n=0,s=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)s.push(i),i=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return s},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(s,r){if(r.offsetLeft-i+e(r).outerWidth()/2>-1*n.swipeLeft)return t=r,!1})),Math.abs(e(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this,i=Math.ceil(t.slideCount/t.options.slidesToShow),n=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(i){var s=n.indexOf(i);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==s&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+s})})),t.$dots.attr("role","tablist").find("li").each((function(s){var r=n[s];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+s,"aria-controls":"slick-slide"+t.instanceUid+r,"aria-label":s+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=t.currentSlide,r=s+t.options.slidesToShow;s<r;s++)t.$slides.eq(s).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each((function(){var t=e(this),i=e(this).attr("data-lazy"),n=e(this).attr("data-srcset"),s=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),a=document.createElement("img");a.onload=function(){t.animate({opacity:0},100,(function(){n&&(t.attr("srcset",n),s&&t.attr("sizes",s)),t.attr("src",i).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),r.$slider.trigger("lazyLoaded",[r,t,i])}))},a.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i])},a.src=i}))}var i,n,s,r=this;if(!0===r.options.centerMode?!0===r.options.infinite?s=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),s=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,s=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,s<=r.slideCount&&s++)),i=r.$slider.find(".slick-slide").slice(n,s),"anticipated"===r.options.lazyLoad)for(var a=n-1,l=s,o=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)a<0&&(a=r.slideCount-1),i=(i=i.add(o.eq(a))).add(o.eq(l)),a--,l++;t(i),r.slideCount<=r.options.slidesToShow?t(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?t(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&t(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&e(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,n,s,r,a,l=this,o=e("img[data-lazy]",l.$slider);o.length?(i=o.first(),n=i.attr("data-lazy"),s=i.attr("data-srcset"),r=i.attr("data-sizes")||l.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){s&&(i.attr("srcset",s),r&&i.attr("sizes",r)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,i,n]),l.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout((function(){l.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,i,n]),l.progressiveLazyLoad())},a.src=n):l.$slider.trigger("allImagesLoaded",[l])},t.prototype.refresh=function(t){var i,n,s=this;n=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>n&&(s.currentSlide=n),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),i=s.currentSlide,s.destroy(!0),e.extend(s,s.initials,{currentSlide:i}),s.init(),t||s.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,n,s=this,r=s.options.responsive||null;if("array"===e.type(r)&&r.length){for(t in s.respondTo=s.options.respondTo||"window",r)if(n=s.breakpoints.length-1,r.hasOwnProperty(t)){for(i=r[t].breakpoint;n>=0;)s.breakpoints[n]&&s.breakpoints[n]===i&&s.breakpoints.splice(n,1),n--;s.breakpoints.push(i),s.breakpointSettings[i]=r[t].settings}s.breakpoints.sort((function(e,t){return s.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(e).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},t.prototype.setCSS=function(e){var t,i,n=this,s={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",s[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(s):(s={},!1===n.cssTransitions?(s[n.animType]="translate("+t+", "+i+")",n.$slideTrack.css(s)):(s[n.animType]="translate3d("+t+", "+i+", 0px)",n.$slideTrack.css(s)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each((function(n,s){t=i.slideWidth*n*-1,!0===i.options.rtl?e(s).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}):e(s).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,n,s,r,a=this,l=!1;if("object"===e.type(arguments[0])?(n=arguments[0],l=arguments[1],r="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)a.options[n]=s;else if("multiple"===r)e.each(n,(function(e,t){a.options[e]=t}));else if("responsive"===r)for(i in s)if("array"!==e.type(a.options.responsive))a.options.responsive=[s[i]];else{for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===s[i].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(s[i])}l&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,i,n,s,r=this;if(i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(e).addClass("slick-current"),!0===r.options.centerMode){var a=r.options.slidesToShow%2==0?1:0;t=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e>=t&&e<=r.slideCount-1-t?r.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(n=r.options.slidesToShow+e,i.slice(n-t+1+a,n+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):e===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=r.slideCount-r.options.slidesToShow?r.$slides.slice(e,e+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(s=r.slideCount%r.options.slidesToShow,n=!0===r.options.infinite?r.options.slidesToShow+e:e,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-e<r.options.slidesToShow?i.slice(n-(r.options.slidesToShow-s),n+s).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,n,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(i=null,s.slideCount>s.options.slidesToShow)){for(n=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,t=s.slideCount;t>s.slideCount-n;t-=1)i=t-1,e(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(t=0;t<n+s.slideCount;t+=1)i=t,e(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},t.prototype.selectHandler=function(t){var i=this,n=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),s=parseInt(n.attr("data-slick-index"));s||(s=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(s,!1,!0):i.slideHandler(s)},t.prototype.slideHandler=function(e,t,i){var n,s,r,a,l,o=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),n=e,o=c.getLeft(n),a=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?a:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(a,(function(){c.postSlide(n)})):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(a,(function(){c.postSlide(n)})):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),s=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,s]),r=c.currentSlide,c.currentSlide=s,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(r),c.fadeSlide(s,(function(){c.postSlide(s)}))):c.postSlide(s),void c.animateHeight();!0!==i?c.animateSlide(o,(function(){c.postSlide(s)})):c.postSlide(s)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,n,s=this;return e=s.touchObject.startX-s.touchObject.curX,t=s.touchObject.startY-s.touchObject.curY,i=Math.atan2(t,e),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===s.options.rtl?"left":"right":n>=135&&n<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,n,s,r,a,l=this;return r=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!l.dragging||l.scrolling||r&&1!==r.length)&&(t=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==r?r[0].pageX:e.clientX,l.touchObject.curY=void 0!==r?r[0].pageY:e.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&a>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=a),i=l.swipeDirection(),void 0!==e.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,e.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),n=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===i||l.currentSlide>=l.getDotCount()&&"left"===i)&&(n=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=t+n*s:l.swipeLeft=t+n*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=t+n*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},t.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,n=this,s=arguments[0],r=Array.prototype.slice.call(arguments,1),a=n.length;for(e=0;e<a;e++)if("object"==typeof s||void 0===s?n[e].slick=new t(n[e],s):i=n[e].slick[s].apply(n[e].slick,r),void 0!==i)return i;return n}})?n.apply(t,s):n)||(e.exports=r)}()},function(e,t,i){var n,s;
/*!
 * Outlayer v2.1.1
 * the brains and guts of a layout library
 * MIT license
 */!function(r,a){"use strict";n=[i(24),i(16),i(86),i(88)],void 0===(s=function(e,t,i,n){return function(e,t,i,n,s){var r=e.console,a=e.jQuery,l=function(){},o=0,c={};function h(e,t){var i=n.getQueryElement(e);if(i){this.element=i,a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t);var s=++o;this.element.outlayerGUID=s,c[s]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||e))}h.namespace="outlayer",h.Item=s,h.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 d=h.prototype;function u(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}n.extend(d,t.prototype),d.option=function(e){n.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},h.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],s=0;s<t.length;s++){var r=new i(t[s],this);n.push(r)}return n},d._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map((function(e){return e.element}))},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=i(this.element)},d._getMeasurement=function(e,t){var n,s=this.options[e];s?("string"==typeof s?n=this.element.querySelector(s):s instanceof HTMLElement&&(n=s),this[e]=n?i(n)[t]:s):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter((function(e){return!e.isIgnored}))},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var i=[];e.forEach((function(e){var n=this._getItemLayoutPosition(e);n.item=e,n.isInstant=t||e.isLayoutInstant,i.push(n)}),this),this._processLayoutQueue(i)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach((function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)}),this)},d.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),i=t&&t[1],n=t&&t[2];if(!i.length)return 0;return(i=parseFloat(i))*(p[n]||1)}(e),this.stagger;this.stagger=0},d._positionItem=function(e,t,i,n,s){n?e.goTo(t,i):(e.stagger(s*this.stagger),e.moveTo(t,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=l,d._setContainerMeasure=function(e,t){if(void 0!==e){var i=this.size;i.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"}},d._emitCompleteOnItems=function(e,t){var i=this;function n(){i.dispatchEvent(e+"Complete",null,[t])}var s=t.length;if(t&&s){var r=0;t.forEach((function(t){t.once(e,a)}))}else n();function a(){++r==s&&n()}},d.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;if(this.emitEvent(e,n),a)if(this.$element=this.$element||a(this.element),t){var s=a.Event(t);s.type=e,this.$element.trigger(s,i)}else this.$element.trigger(e,i)},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach((function(e){n.removeFrom(this.stamps,e),this.unignore(e)}),this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=n.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._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)}},d._manageStamp=l,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=this._boundingRect,s=i(e);return{left:t.left-n.left-s.marginLeft,top:t.top-n.top-s.marginTop,right:n.right-t.right-s.marginRight,bottom:n.bottom-t.bottom-s.marginBottom}},d.handleEvent=n.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},n.debounceMethod(h,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=i(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var i=this.items.slice(0);this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,i){e.stagger(i*t),e.reveal()}))}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,i){e.stagger(i*t),e.hide()}))}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},d.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach((function(e){var i=this.getItem(e);i&&t.push(i)}),this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach((function(e){e.remove(),n.removeFrom(this.items,e)}),this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach((function(e){e.destroy()})),this.unbindResize();var t=this.element.outlayerGUID;delete c[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},h.data=function(e){var t=(e=n.getQueryElement(e))&&e.outlayerGUID;return t&&c[t]},h.create=function(e,t){var i=u(h);return i.defaults=n.extend({},h.defaults),n.extend(i.defaults,t),i.compatOptions=n.extend({},h.compatOptions),i.namespace=e,i.data=h.data,i.Item=u(s),n.htmlInit(i,e),a&&a.bridget&&a.bridget(e,i),i};var p={ms:1,s:1e3};return h.Item=s,h}(r,e,t,i,n)}.apply(t,n))||(e.exports=s)}(window)},function(e,t,i){var n,s;!function(r,a){n=[i(87)],void 0===(s=function(e){return function(e,t){"use strict";var i={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},n=Array.prototype.slice;i.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?n.call(e):[e]},i.removeFrom=function(e,t){var i=e.indexOf(t);-1!=i&&e.splice(i,1)},i.getParent=function(e,i){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,i))return e},i.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.filterFindElements=function(e,n){e=i.makeArray(e);var s=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(n){t(e,n)&&s.push(e);for(var i=e.querySelectorAll(n),r=0;r<i.length;r++)s.push(i[r])}else s.push(e)})),s},i.debounceMethod=function(e,t,i){i=i||100;var n=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s];clearTimeout(e);var t=arguments,r=this;this[s]=setTimeout((function(){n.apply(r,t),delete r[s]}),i)}},i.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},i.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,i){return t+"-"+i})).toLowerCase()};var s=e.console;return i.htmlInit=function(t,n){i.docReady((function(){var r=i.toDashed(n),a="data-"+r,l=document.querySelectorAll("["+a+"]"),o=document.querySelectorAll(".js-"+r),c=i.makeArray(l).concat(i.makeArray(o)),h=a+"-options",d=e.jQuery;c.forEach((function(e){var i,r=e.getAttribute(a)||e.getAttribute(h);try{i=r&&JSON.parse(r)}catch(t){return void(s&&s.error("Error parsing "+a+" on "+e.className+": "+t))}var l=new t(e,i);d&&d.data(e,n,l)}))}))},i}(r,e)}.apply(t,n))||(e.exports=s)}(window)},function(e,t,i){var n,s;!function(r,a){"use strict";void 0===(s="function"==typeof(n=a)?n.call(t,i,t,e):n)||(e.exports=s)}(window,(function(){"use strict";var e=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(t,i){return t[e](i)}}))},function(e,t,i){var n,s,r;window,s=[i(24),i(16)],void 0===(r="function"==typeof(n=function(e,t){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",s="string"==typeof i.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function l(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var o=l.prototype=Object.create(e.prototype);o.constructor=l,o._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},o.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},o.getSize=function(){this.size=t(this.element)},o.css=function(e){var t=this.element.style;for(var i in e)t[a[i]||i]=e[i]},o.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],s=e[i?"top":"bottom"],r=parseFloat(n),a=parseFloat(s),l=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*l.width),-1!=s.indexOf("%")&&(a=a/100*l.height),r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=t?l.paddingLeft:l.paddingRight,a-=i?l.paddingTop:l.paddingBottom,this.position.x=r,this.position.y=a},o.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),s=i?"paddingLeft":"paddingRight",r=i?"left":"right",a=i?"right":"left",l=this.position.x+e[s];t[r]=this.getXValue(l),t[a]="";var o=n?"paddingTop":"paddingBottom",c=n?"top":"bottom",h=n?"bottom":"top",d=this.position.y+e[o];t[c]=this.getYValue(d),t[h]="",this.css(t),this.emitEvent("layout",[this])},o.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},o.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},o._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,s=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!s||this.isTransitioning){var r=e-i,a=t-n,l={};l.transform=this.getTranslate(r,a),this.transition({to:l,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},o.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},o.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},o.moveTo=o._transitionTo,o.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},o._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},o.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var i in e.onTransitionEnd)t.onEnd[i]=e.onTransitionEnd[i];for(i in e.to)t.ingProperties[i]=!0,e.isCleaning&&(t.clean[i]=!0);e.from&&(this.css(e.from),this.element.offsetHeight),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var c="opacity,"+s.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}));o.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},o.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},o.onotransitionend=function(e){this.ontransitionend(e)};var h={"-webkit-transform":"transform"};o.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,i=h[e.propertyName]||e.propertyName;delete t.ingProperties[i],function(e){for(var t in e)return!1;return!0}(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])}},o.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},o._removeStyles=function(e){var t={};for(var i in e)t[i]="";this.css(t)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return o.removeTransitionStyles=function(){this.css(d)},o.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},o.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},o.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})},o.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},o.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var i in t)return i},o.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})},o.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},o.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},l})?n.apply(t,s):n)||(e.exports=r)},function(e,t,i){(function(n){var s,r,a;
/*! Magnific Popup - v1.1.0 - 2016-02-20
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2016 Dmitry Semenov; */r=[i(2)],void 0===(a="function"==typeof(s=function(e){var t,i,s,r,a,l,o="Close",c="BeforeClose",h="MarkupParse",d="Open",u="Change",p="mfp",f=".mfp",m="mfp-ready",g="mfp-removing",v="mfp-prevent-close",y=function(){},_=!!n,b=e(window),w=function(e,i){t.ev.on(p+e+f,i)},x=function(t,i,n,s){var r=document.createElement("div");return r.className="mfp-"+t,n&&(r.innerHTML=n),s?i&&i.appendChild(r):(r=e(r),i&&r.appendTo(i)),r},T=function(i,n){t.ev.triggerHandler(p+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},S=function(i){return i===l&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),l=i),t.currTemplate.closeBtn},M=function(){e.magnificPopup.instance||((t=new y).init(),e.magnificPopup.instance=t)};y.prototype={constructor:y,init:function(){var i=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.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}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),s=e(document),t.popupsCache={}},open:function(i){var n;if(!1===i.isObj){t.items=i.items.toArray(),t.index=0;var r,l=i.items;for(n=0;n<l.length;n++)if((r=l[n]).parsed&&(r=r.el[0]),r===i.el[0]){t.index=n;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(!t.isOpen){t.types=[],a="",i.mainEl&&i.mainEl.length?t.ev=i.mainEl.eq(0):t.ev=s,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=x("bg").on("click"+f,(function(){t.close()})),t.wrap=x("wrap").attr("tabindex",-1).on("click"+f,(function(e){t._checkIfClose(e.target)&&t.close()})),t.container=x("container",t.wrap)),t.contentContainer=x("content"),t.st.preloader&&(t.preloader=x("preloader",t.container,t.st.tLoading));var o=e.magnificPopup.modules;for(n=0;n<o.length;n++){var c=o[n];c=c.charAt(0).toUpperCase()+c.slice(1),t["init"+c].call(t)}T("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(w(h,(function(e,t,i,n){i.close_replaceWith=S(n.type)})),a+=" mfp-close-btn-in"):t.wrap.append(S())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:b.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:s.height(),position:"absolute"}),t.st.enableEscapeKey&&s.on("keyup"+f,(function(e){27===e.keyCode&&t.close()})),b.on("resize"+f,(function(){t.updateSize()})),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var u=t.wH=b.height(),p={};if(t.fixedContentPos&&t._hasScrollBar(u)){var g=t._getScrollbarSize();g&&(p.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):p.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),T("BuildControls"),e("html").css(p),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout((function(){t.content?(t._addClassToMFP(m),t._setFocus()):t.bgOverlay.addClass(m),s.on("focusin"+f,t._onFocusIn)}),16),t.isOpen=!0,t.updateSize(u),T(d),i}t.updateItemHTML()},close:function(){t.isOpen&&(T(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(g),setTimeout((function(){t._close()}),t.st.removalDelay)):t._close())},_close:function(){T(o);var i=g+" "+m+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var n={marginRight:""};t.isIE7?e("body, html").css("overflow",""):n.overflow="",e("html").css(n)}s.off("keyup.mfp focusin"+f),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,T("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||b.height();t.fixedContentPos||t.wrap.css("height",t.wH),T("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(T("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var s=!!t.st[n]&&t.st[n].markup;T("FirstMarkupParse",s),t.currTemplate[n]=!s||e(s)}r&&r!==i.type&&t.container.removeClass("mfp-"+r+"-holder");var a=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(a,n),i.preloaded=!0,T(u,i),r=i.type,t.container.prepend(t.contentContainer),T("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(S()):t.content=e:t.content="",T("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,s=t.items[i];if(s.tagName?s={el:e(s)}:(n=s.type,s={data:s,src:s.src}),s.el){for(var r=t.types,a=0;a<r.length;a++)if(s.el.hasClass("mfp-"+r[a])){n=r[a];break}s.src=s.el.attr("data-mfp-src"),s.src||(s.src=s.el.attr("href"))}return s.type=n||t.st.type||"inline",s.index=i,s.parsed=!0,t.items[i]=s,T("ElementParse",s),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var s="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(s).on(s,n)):(i.isObj=!1,i.delegate?e.off(s).on(s,i.delegate,n):(i.items=e,e.off(s).on(s,n)))},_openClick:function(i,n,s){if((void 0!==s.midClick?s.midClick:e.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var r=void 0!==s.disableOn?s.disableOn:e.magnificPopup.defaults.disableOn;if(r)if(e.isFunction(r)){if(!r.call(t))return!0}else if(b.width()<r)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),s.el=e(i.mfpEl),s.delegate&&(s.items=n.find(s.delegate)),t.open(s)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var s={status:e,text:n};T("UpdateStatus",s),e=s.status,n=s.text,t.preloader.html(n),t.preloader.find("a").on("click",(function(e){e.stopImmediatePropagation()})),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass(v)){var n=t.st.closeOnContentClick,s=t.st.closeOnBgClick;if(n&&s)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(s&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?s.height():document.body.scrollHeight)>(e||b.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){return i.target===t.wrap[0]||e.contains(t.wrap[0],i.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,i,n){var s;n.data&&(i=e.extend(n.data,i)),T(h,[t,i,n]),e.each(i,(function(i,n){if(void 0===n||!1===n)return!0;if((s=i.split("_")).length>1){var r=t.find(f+"-"+s[0]);if(r.length>0){var a=s[1];"replaceWith"===a?r[0]!==n[0]&&r.replaceWith(n):"img"===a?r.is("img")?r.attr("src",n):r.replaceWith(e("<img>").attr("src",n).attr("class",r.attr("class"))):r.attr(s[1],n)}}else t.find(f+"-"+i).html(n)}))},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:y.prototype,modules:[],open:function(t,i){return M(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},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}},e.fn.magnificPopup=function(i){M();var n=e(this);if("string"==typeof i)if("open"===i){var s,r=_?n.data("magnificPopup"):n[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?s=r.items[a]:(s=n,r.delegate&&(s=s.find(r.delegate)),s=s.eq(a)),t._openClick({mfpEl:s},n,r)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),_?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var E,C,P,k="inline",A=function(){P&&(C.after(P.addClass(E)).detach(),P=null)};e.magnificPopup.registerModule(k,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(k),w(o+"."+k,(function(){A()}))},getInline:function(i,n){if(A(),i.src){var s=t.st.inline,r=e(i.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(C||(E=s.hiddenClass,C=x(E),E="mfp-"+E),P=r.after(C).detach().removeClass(E)),t.updateStatus("ready")}else t.updateStatus("error",s.tNotFound),r=e("<div>");return i.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var L,O="ajax",I=function(){L&&e(document.body).removeClass(L)},D=function(){I(),t.req&&t.req.abort()};e.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(O),L=t.st.ajax.cursor,w(o+"."+O,D),w("BeforeChange."+O,D)},getAjax:function(i){L&&e(document.body).addClass(L),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,s,r){var a={data:n,xhr:r};T("ParseAjax",a),t.appendContent(e(a.data),O),i.finished=!0,I(),t._setFocus(),setTimeout((function(){t.wrap.addClass(m)}),16),t.updateStatus("ready"),T("AjaxContentAdded")},error:function(){I(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var R,z,N=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<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 i=t.st.image,n=".image";t.types.push("image"),w(d+n,(function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)})),w(o+n,(function(){i.cursor&&e(document.body).removeClass(i.cursor),b.off("resize"+f)})),w("Resize"+n,t.resizeImage),t.isLowIE&&w("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,R&&clearInterval(R),e.isCheckingImgSize=!1,T("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],s=function(r){R&&clearInterval(R),R=setInterval((function(){return n.naturalWidth>0?void t._onImageHasSize(e):(i>200&&clearInterval(R),void(3==++i?s(10):40===i?s(50):100===i&&s(500)))}),r)};s(1)},getImage:function(i,n){var s=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,T("ImageLoadComplete")):200>++s?setTimeout(r,100):a())},a=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",l.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},l=t.st.image,o=n.find(".mfp-img");if(o.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",r).on("error.mfploader",a),c.src=i.src,o.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:N(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(R&&clearInterval(R),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",l.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var s,r,a=i.duration,l=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,s={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return s["-webkit-"+r]=s["-moz-"+r]=s["-o-"+r]=s[r]=n,t.css(s),t},h=function(){t.content.css("visibility","visible")};w("BuildControls"+n,(function(){if(t._allowZoom()){if(clearTimeout(s),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void h();(r=l(e)).css(t._getOffset()),t.wrap.append(r),s=setTimeout((function(){r.css(t._getOffset(!0)),s=setTimeout((function(){h(),setTimeout((function(){r.remove(),e=r=null,T("ZoomAnimationEnded")}),16)}),a)}),16)}})),w(c+n,(function(){if(t._allowZoom()){if(clearTimeout(s),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;r=l(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout((function(){r.css(t._getOffset())}),16)}})),w(o+n,(function(){t._allowZoom()&&(h(),r&&r.remove(),e=null)}))}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,s=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),r=parseInt(n.css("padding-top"),10),a=parseInt(n.css("padding-bottom"),10);s.top-=e(window).scrollTop()-r;var l={width:n.width(),height:(_?n.innerHeight():n[0].offsetHeight)-a-r};return void 0===z&&(z=void 0!==document.createElement("p").style.MozTransform),z?l["-moz-transform"]=l.transform="translate("+s.left+"px,"+s.top+"px)":(l.left=s.left,l.top=s.top),l}}});var $="iframe",F=function(e){if(t.currTemplate[$]){var i=t.currTemplate[$].find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule($,{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(){t.types.push($),w("BeforeChange",(function(e,t,i){t!==i&&(t===$?F():i===$&&F(!0))})),w(o+"."+$,(function(){F()}))},getIframe:function(i,n){var s=i.src,r=t.st.iframe;e.each(r.patterns,(function(){return s.indexOf(this.index)>-1?(this.id&&(s="string"==typeof this.id?s.substr(s.lastIndexOf(this.id)+this.id.length,s.length):this.id.call(this,s)),s=this.src.replace("%id%",s),!1):void 0}));var a={};return r.srcAction&&(a[r.srcAction]=s),t._parseMarkup(n,a,i),t.updateStatus("ready"),n}}});var B=function(e){var i=t.items.length;return e>i-1?e-i:0>e?i+e:e},V=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.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 i=t.st.gallery,n=".mfp-gallery";return t.direction=!0,!(!i||!i.enabled)&&(a+=" mfp-gallery",w(d+n,(function(){i.navigateByImgClick&&t.wrap.on("click"+n,".mfp-img",(function(){return t.items.length>1?(t.next(),!1):void 0})),s.on("keydown"+n,(function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()}))})),w("UpdateStatus"+n,(function(e,i){i.text&&(i.text=V(i.text,t.currItem.index,t.items.length))})),w(h+n,(function(e,n,s,r){var a=t.items.length;s.counter=a>1?V(i.tCounter,r.index,a):""})),w("BuildControls"+n,(function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,s=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(v),r=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(v);s.click((function(){t.prev()})),r.click((function(){t.next()})),t.container.append(s.add(r))}})),w(u+n,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),void w(o+n,(function(){s.off(n),t.wrap.off("click"+n),t.arrowRight=t.arrowLeft=null})))},next:function(){t.direction=!0,t.index=B(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=B(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),s=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?s:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:s);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=B(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),T("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",(function(){n.hasSize=!0})).on("error.mfploader",(function(){n.hasSize=!0,n.loadError=!0,T("LazyLoadError",n)})).attr("src",n.src)),n.preloaded=!0}}}});var H="retina";e.magnificPopup.registerModule(H,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(w("ImageHasSize."+H,(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})})),w("ElementParse."+H,(function(t,n){n.src=e.replaceSrc(n,i)})))}}}}),M()})?s.apply(t,r):s)||(e.exports=a)}).call(this,i(2))},function(e,t,i){"use strict";
/**
  stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills
  @version v3.7.11
  @link https://github.com/yowainwright/stickybits#readme
  @author Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)
  @license MIT
**/
function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}i.r(t);var s=function(){function e(e,t){var i=this,n=void 0!==t?t:{};this.version="3.7.11",this.userAgent=window.navigator.userAgent||"no `userAgent` provided by the browser",this.props={customStickyChangeNumber:n.customStickyChangeNumber||null,noStyles:n.noStyles||!1,stickyBitStickyOffset:n.stickyBitStickyOffset||0,parentClass:n.parentClass||"js-stickybit-parent",scrollEl:"string"==typeof n.scrollEl?document.querySelector(n.scrollEl):n.scrollEl||window,stickyClass:n.stickyClass||"js-is-sticky",stuckClass:n.stuckClass||"js-is-stuck",stickyChangeClass:n.stickyChangeClass||"js-is-sticky--change",useStickyClasses:n.useStickyClasses||!1,useFixed:n.useFixed||!1,useGetBoundingClientRect:n.useGetBoundingClientRect||!1,verticalPosition:n.verticalPosition||"top",applyStyle:n.applyStyle||function(e,t){return i.applyStyle(e,t)}},this.props.positionVal=this.definePosition()||"fixed",this.instances=[];var s=this.props,r=s.positionVal,a=s.verticalPosition,l=s.noStyles,o=s.stickyBitStickyOffset,c="top"!==a||l?"":o+"px",h="fixed"!==r?r:"";this.els="string"==typeof e?document.querySelectorAll(e):e,"length"in this.els||(this.els=[this.els]);for(var d=0;d<this.els.length;d++){var u,p=this.els[d],f=this.addInstance(p,this.props);this.props.applyStyle({styles:(u={},u[a]=c,u.position=h,u),classes:{}},f),this.manageState(f),this.instances.push(f)}}var t=e.prototype;return t.definePosition=function(){var e;if(this.props.useFixed)e="fixed";else{for(var t=["","-o-","-webkit-","-moz-","-ms-"],i=document.head.style,n=0;n<t.length;n+=1)i.position=t[n]+"sticky";e=i.position?i.position:"fixed",i.position=""}return e},t.addInstance=function(e,t){var i=this,n={el:e,parent:e.parentNode,props:t};if("fixed"===t.positionVal||t.useStickyClasses){this.isWin=this.props.scrollEl===window;var s=this.isWin?window:this.getClosestParent(n.el,n.props.scrollEl);this.computeScrollOffsets(n),this.toggleClasses(n.parent,"",t.parentClass),n.state="default",n.stateChange="default",n.stateContainer=function(){return i.manageState(n)},s.addEventListener("scroll",n.stateContainer)}return n},t.getClosestParent=function(e,t){var i=t,n=e;if(n.parentElement===i)return i;for(;n.parentElement!==i;)n=n.parentElement;return i},t.getTopPosition=function(e){if(this.props.useGetBoundingClientRect)return e.getBoundingClientRect().top+(this.props.scrollEl.pageYOffset||document.documentElement.scrollTop);var t=0;do{t=e.offsetTop+t}while(e=e.offsetParent);return t},t.computeScrollOffsets=function(e){var t=e,i=t.props,n=t.el,s=t.parent,r=!this.isWin&&"fixed"===i.positionVal,a="bottom"!==i.verticalPosition,l=r?this.getTopPosition(i.scrollEl):0,o=r?this.getTopPosition(s)-l:this.getTopPosition(s),c=null!==i.customStickyChangeNumber?i.customStickyChangeNumber:n.offsetHeight,h=o+s.offsetHeight;t.offset=r?0:l+i.stickyBitStickyOffset,t.stickyStart=a?o-t.offset:0,t.stickyChange=t.stickyStart+c,t.stickyStop=a?h-(n.offsetHeight+t.offset):h-window.innerHeight},t.toggleClasses=function(e,t,i){var n=e,s=n.className.split(" ");i&&-1===s.indexOf(i)&&s.push(i);var r=s.indexOf(t);-1!==r&&s.splice(r,1),n.className=s.join(" ")},t.manageState=function(e){var t=this,i=e,s=i.props,r=i.state,a=i.stateChange,l=i.stickyStart,o=i.stickyChange,c=i.stickyStop,h=s.positionVal,d=s.scrollEl,u=s.stickyClass,p=s.stickyChangeClass,f=s.stuckClass,m=s.verticalPosition,g="bottom"!==m,v=s.applyStyle,y=s.noStyles,_=function(e){e()},b=this.isWin&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame)||_,w=this.isWin?window.scrollY||window.pageYOffset:d.scrollTop,x=g&&w<=l&&("sticky"===r||"stuck"===r),T=w>=c&&"sticky"===r;w>l&&w<c&&("default"===r||"stuck"===r)?i.state="sticky":x?i.state="default":T&&(i.state="stuck");var S=w>=o&&w<=c;w<o/2||w>c?i.stateChange="default":S&&(i.stateChange="sticky"),r===i.state&&a===i.stateChange||b((function(){var r,a,l,o,c,d,g={sticky:{styles:(r={position:h,top:"",bottom:""},r[m]=s.stickyBitStickyOffset+"px",r),classes:(a={},a[u]=!0,a)},default:{styles:(l={},l[m]="",l),classes:{}},stuck:{styles:n((o={},o[m]="",o),"fixed"===h&&!y||!t.isWin?{position:"absolute",top:"",bottom:"0"}:{}),classes:(c={},c[f]=!0,c)}};"fixed"===h&&(g.default.styles.position="");var _=g[i.state];_.classes=((d={})[f]=!!_.classes[f],d[u]=!!_.classes[u],d[p]=S,d),v(_,e)}))},t.applyStyle=function(e,t){var i=e.styles,n=e.classes,s=t,r=s.el,a=s.props,l=r.style,o=a.noStyles,c=r.className.split(" ");for(var h in n){if(n[h])-1===c.indexOf(h)&&c.push(h);else{var d=c.indexOf(h);-1!==d&&c.splice(d,1)}}if(r.className=c.join(" "),i.position&&(l.position=i.position),!o)for(var u in i)l[u]=i[u]},t.update=function(e){var t=this;return void 0===e&&(e=null),this.instances.forEach((function(i){if(t.computeScrollOffsets(i),e)for(var n in e)i.props[n]=e[n]})),this},t.removeInstance=function(e){var t,i,n=e.el,s=e.props;this.applyStyle({styles:(t={position:""},t[s.verticalPosition]="",t),classes:(i={},i[s.stickyClass]="",i[s.stuckClass]="",i)},e),this.toggleClasses(n.parentNode,s.parentClass)},t.cleanup=function(){for(var e=0;e<this.instances.length;e+=1){var t=this.instances[e];t.stateContainer&&t.props.scrollEl.removeEventListener("scroll",t.stateContainer),this.removeInstance(t)}this.manageState=!1,this.instances=[]},e}();t.default=function(e,t){return new s(e,t)}},function(e,t,i){i(92),i(93)},function(e,t,i){var n,s,r;
/*!
 * jQuery Cookie Plugin v1.4.1
 * https://github.com/carhartl/jquery-cookie
 *
 * Copyright 2013 Klaus Hartl
 * Released under the MIT license
 */s=[i(2)],void 0===(r="function"==typeof(n=function(e){var t=/\+/g;function i(e){return r.raw?e:encodeURIComponent(e)}function n(e){return i(r.json?JSON.stringify(e):String(e))}function s(i,n){var s=r.raw?i:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),r.json?JSON.parse(e):e}catch(e){}}(i);return e.isFunction(n)?n(s):s}var r=e.cookie=function(t,a,l){if(void 0!==a&&!e.isFunction(a)){if("number"==typeof(l=e.extend({},r.defaults,l)).expires){var o=l.expires,c=l.expires=new Date;c.setTime(+c+864e5*o)}return document.cookie=[i(t),"=",n(a),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var h,d=t?void 0:{},u=document.cookie?document.cookie.split("; "):[],p=0,f=u.length;p<f;p++){var m=u[p].split("="),g=(h=m.shift(),r.raw?h:decodeURIComponent(h)),v=m.join("=");if(t&&t===g){d=s(v,a);break}t||void 0===(v=s(v))||(d[g]=v)}return d};r.defaults={},e.removeCookie=function(t,i){return void 0!==e.cookie(t)&&(e.cookie(t,"",e.extend({},i,{expires:-1})),!e.cookie(t))}})?n.apply(t,s):n)||(e.exports=r)},function(e,t,i){(function(e){e(document).ready((function(e){if(e.analytics=function(e,t){if(-1==navigator.userAgent.indexOf("Speed Insights")){function i(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],i("js",new Date),e&&i("config",e,t?{anonymize_ip:!0}:{anonymize_ip:!1})}},e("#cookie-banner").length>0)if(void 0===e.cookie)console.warn("Merci d'installer jQuery cookie !");else{var t=e("#cookie-banner"),i=e("#cookie-banner #cookie-form"),n=e(this).find("#cookie-ga"),s=null;n.length>0&&(s=n.data("ga-token")),e("body").append('<script async src="https://www.googletagmanager.com/gtag/js?id='+s+'"><\/script>'),"true"===e.cookie("consent")?(t.remove(),"true"===e.cookie("consent-ga")?e.analytics(s,!1):e.analytics(s,!0)):(t.show(0),e.analytics(s,!0)),i.on("submit",(function(i){(i.preventDefault(),n.length>0)&&(n.find("input").is(":checked")?(e.analytics(s,!1),e.cookie("consent-ga","true",{expires:365,path:"/"})):(e.analytics(s,!0),e.removeCookie("consent-ga")));t.hide(0,(function(){e(this).remove()})),e.cookie("consent","true",{expires:365,path:"/"})}))}}))}).call(this,i(2))},function(e,t,i){(function(e){e.fn.vectorMap("addMap","world_mill_en",{insets:[{width:900,top:0,height:440.70631074413296,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.39474939}],left:0}],paths:{BD:{path:"M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z",name:"Bangladesh"},BE:{path:"M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z",name:"Belgium"},BF:{path:"M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z",name:"Burkina Faso"},BG:{path:"M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z",name:"Bulgaria"},BA:{path:"M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z",name:"Bosnia and Herz."},BN:{path:"M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z",name:"Brunei"},BO:{path:"M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z",name:"Bolivia"},JP:{path:"M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z",name:"Japan"},BI:{path:"M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z",name:"Burundi"},BJ:{path:"M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z",name:"Benin"},BT:{path:"M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z",name:"Bhutan"},JM:{path:"M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z",name:"Jamaica"},BW:{path:"M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z",name:"Botswana"},BR:{path:"M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z",name:"Brazil"},BS:{path:"M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z",name:"Bahamas"},BY:{path:"M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z",name:"Belarus"},BZ:{path:"M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z",name:"Belize"},RU:{path:"M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM874.85,67.94l-5.63,0.48l-0.26,-0.84l3.15,-1.89l1.94,0.01l3.19,1.16l-2.39,1.09ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z",name:"Russia"},RW:{path:"M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z",name:"Rwanda"},RS:{path:"M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z",name:"Serbia"},LT:{path:"M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z",name:"Lithuania"},LU:{path:"M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z",name:"Luxembourg"},LR:{path:"M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z",name:"Liberia"},RO:{path:"M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z",name:"Romania"},GW:{path:"M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z",name:"Guinea-Bissau"},GT:{path:"M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z",name:"Guatemala"},GR:{path:"M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z",name:"Greece"},GQ:{path:"M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z",name:"Eq. Guinea"},GY:{path:"M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z",name:"Guyana"},GE:{path:"M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z",name:"Georgia"},GB:{path:"M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z",name:"United Kingdom"},GA:{path:"M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z",name:"Gabon"},GN:{path:"M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z",name:"Guinea"},GM:{path:"M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z",name:"Gambia"},GL:{path:"M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z",name:"Greenland"},KW:{path:"M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z",name:"Kuwait"},GH:{path:"M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z",name:"Ghana"},OM:{path:"M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z",name:"Oman"},_2:{path:"M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z",name:"Somaliland"},_1:{path:"M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z",name:"Kosovo"},_0:{path:"M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z",name:"N. Cyprus"},JO:{path:"M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z",name:"Jordan"},HR:{path:"M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z",name:"Croatia"},HT:{path:"M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z",name:"Haiti"},HU:{path:"M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z",name:"Hungary"},HN:{path:"M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z",name:"Honduras"},PR:{path:"M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z",name:"Puerto Rico"},PS:{path:"M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z",name:"Palestine"},PT:{path:"M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z",name:"Portugal"},PY:{path:"M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z",name:"Paraguay"},PA:{path:"M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z",name:"Panama"},PG:{path:"M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z",name:"Papua New Guinea"},PE:{path:"M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z",name:"Peru"},PK:{path:"M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z",name:"Pakistan"},PH:{path:"M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z",name:"Philippines"},PL:{path:"M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z",name:"Poland"},ZM:{path:"M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z",name:"Zambia"},EE:{path:"M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z",name:"Estonia"},EG:{path:"M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z",name:"Egypt"},ZA:{path:"M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z",name:"South Africa"},EC:{path:"M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z",name:"Ecuador"},AL:{path:"M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z",name:"Albania"},AO:{path:"M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z",name:"Angola"},KZ:{path:"M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z",name:"Kazakhstan"},ET:{path:"M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z",name:"Ethiopia"},ZW:{path:"M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z",name:"Zimbabwe"},ES:{path:"M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z",name:"Spain"},ER:{path:"M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z",name:"Eritrea"},ME:{path:"M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z",name:"Montenegro"},MD:{path:"M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z",name:"Moldova"},MG:{path:"M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z",name:"Madagascar"},UZ:{path:"M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z",name:"Uzbekistan"},MM:{path:"M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z",name:"Myanmar"},ML:{path:"M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z",name:"Mali"},MN:{path:"M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z",name:"Mongolia"},MK:{path:"M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z",name:"Macedonia"},MW:{path:"M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z",name:"Malawi"},MR:{path:"M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z",name:"Mauritania"},UG:{path:"M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z",name:"Uganda"},MY:{path:"M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z",name:"Malaysia"},MX:{path:"M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z",name:"Mexico"},VU:{path:"M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z",name:"Vanuatu"},FR:{path:"M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z",name:"France"},FI:{path:"M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z",name:"Finland"},FJ:{path:"M871.53,326.34l-2.8,1.05l-0.08,-0.23l2.97,-1.21l-0.1,0.39ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z",name:"Fiji"},FK:{path:"M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z",name:"Falkland Is."},NI:{path:"M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z",name:"Nicaragua"},NL:{path:"M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z",name:"Netherlands"},NO:{path:"M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z",name:"Norway"},NA:{path:"M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z",name:"Namibia"},NC:{path:"M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z",name:"New Caledonia"},NE:{path:"M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z",name:"Niger"},NG:{path:"M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z",name:"Nigeria"},NZ:{path:"M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z",name:"New Zealand"},NP:{path:"M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z",name:"Nepal"},CI:{path:"M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z",name:"CÃ´te d'Ivoire"},CH:{path:"M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z",name:"Switzerland"},CO:{path:"M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z",name:"Colombia"},CN:{path:"M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z",name:"China"},CM:{path:"M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z",name:"Cameroon"},CL:{path:"M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z",name:"Chile"},CA:{path:"M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z",name:"Canada"},CG:{path:"M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z",name:"Congo"},CF:{path:"M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z",name:"Central African Rep."},CD:{path:"M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z",name:"Dem. Rep. Congo"},CZ:{path:"M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z",name:"Czech Rep."},CY:{path:"M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z",name:"Cyprus"},CR:{path:"M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z",name:"Costa Rica"},CU:{path:"M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z",name:"Cuba"},SZ:{path:"M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z",name:"Swaziland"},SY:{path:"M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z",name:"Syria"},KG:{path:"M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z",name:"Kyrgyzstan"},KE:{path:"M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z",name:"Kenya"},SS:{path:"M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z",name:"S. Sudan"},SR:{path:"M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z",name:"Suriname"},KH:{path:"M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z",name:"Cambodia"},SV:{path:"M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z",name:"El Salvador"},SK:{path:"M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z",name:"Slovakia"},KR:{path:"M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z",name:"Korea"},SI:{path:"M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z",name:"Slovenia"},KP:{path:"M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z",name:"Dem. Rep. Korea"},SO:{path:"M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z",name:"Somalia"},SN:{path:"M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z",name:"Senegal"},SL:{path:"M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z",name:"Sierra Leone"},SB:{path:"M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z",name:"Solomon Is."},SA:{path:"M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z",name:"Saudi Arabia"},SE:{path:"M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z",name:"Sweden"},SD:{path:"M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z",name:"Sudan"},DO:{path:"M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z",name:"Dominican Rep."},DJ:{path:"M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z",name:"Djibouti"},DK:{path:"M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z",name:"Denmark"},DE:{path:"M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z",name:"Germany"},YE:{path:"M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z",name:"Yemen"},AT:{path:"M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z",name:"Austria"},DZ:{path:"M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z",name:"Algeria"},US:{path:"M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z",name:"United States"},LV:{path:"M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z",name:"Latvia"},UY:{path:"M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z",name:"Uruguay"},LB:{path:"M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z",name:"Lebanon"},LA:{path:"M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z",name:"Lao PDR"},TW:{path:"M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z",name:"Taiwan"},TT:{path:"M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z",name:"Trinidad and Tobago"},TR:{path:"M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z",name:"Turkey"},LK:{path:"M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z",name:"Sri Lanka"},TN:{path:"M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z",name:"Tunisia"},TL:{path:"M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z",name:"Timor-Leste"},TM:{path:"M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z",name:"Turkmenistan"},TJ:{path:"M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z",name:"Tajikistan"},LS:{path:"M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z",name:"Lesotho"},TH:{path:"M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z",name:"Thailand"},TF:{path:"M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z",name:"Fr. S. Antarctic Lands"},TG:{path:"M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z",name:"Togo"},TD:{path:"M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z",name:"Chad"},LY:{path:"M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z",name:"Libya"},AE:{path:"M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z",name:"United Arab Emirates"},VE:{path:"M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z",name:"Venezuela"},AF:{path:"M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z",name:"Afghanistan"},IQ:{path:"M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z",name:"Iraq"},IS:{path:"M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z",name:"Iceland"},IR:{path:"M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z",name:"Iran"},AM:{path:"M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z",name:"Armenia"},IT:{path:"M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z",name:"Italy"},VN:{path:"M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z",name:"Vietnam"},AR:{path:"M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z",name:"Argentina"},AU:{path:"M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z",name:"Australia"},IL:{path:"M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z",name:"Israel"},IN:{path:"M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z",name:"India"},TZ:{path:"M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z",name:"Tanzania"},AZ:{path:"M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z",name:"Azerbaijan"},IE:{path:"M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z",name:"Ireland"},ID:{path:"M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z",name:"Indonesia"},UA:{path:"M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z",name:"Ukraine"},QA:{path:"M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z",name:"Qatar"},MZ:{path:"M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z",name:"Mozambique"},MA:{path:"M 406.28906 191.66016 L 405.57031 193.25 L 403.90039 196.17969 L 403.80078 196.28906 L 401.93945 197.44922 L 399.46094 198.7207 L 397.93945 200.50977 L 397.60938 201.94922 L 396.68945 204.25 L 397.30078 207.58984 L 397.23047 207.84961 L 395.14062 210.13086 L 393.83984 210.90039 L 391.89062 212.73047 L 391.7207 212.81055 L 389.48047 213.09961 L 388.2793 214.08984 L 386.7207 216.80078 L 386.60938 216.91016 L 385.00977 217.84961 L 384.17969 219.36914 L 384.09961 220.83008 L 383.43945 222.38086 L 383.30078 222.5293 L 382.50977 222.92969 L 381.17969 224.53906 L 380.38086 226.2793 L 380.51953 227.08008 L 380.48047 227.28906 L 379.66016 228.66016 L 378.85547 229.2832 L 378.85547 229.28125 L 378.84961 229.28125 C 378.84998 229.28325 378.84917 229.28511 378.84961 229.28711 L 378.76367 229.35547 C 378.73997 229.36707 378.71837 229.38168 378.69727 229.39648 L 378.68359 229.40234 C 378.68277 229.40334 378.68264 229.40525 378.68164 229.40625 C 378.67564 229.41125 378.66556 229.41322 378.66016 229.41992 L 378.67773 229.41211 C 378.67473 229.41711 378.67292 229.42409 378.66992 229.42969 L 378.66602 229.43164 C 378.66502 229.43664 378.66411 229.44207 378.66211 229.44727 C 378.65911 229.45327 378.65534 229.45864 378.65234 229.46484 C 378.65134 229.46884 378.64944 229.47161 378.64844 229.47461 L 378.65234 229.47266 C 378.64834 229.48516 378.64533 229.49737 378.64062 229.50977 C 378.63362 229.53147 378.62514 229.55387 378.61914 229.57617 C 378.61614 229.59797 378.61117 229.61933 378.60547 229.64062 C 378.60147 229.65742 378.5948 229.67235 378.5918 229.68945 C 378.5898 229.70475 378.58984 229.72093 378.58984 229.73633 C 378.58884 229.75263 378.58408 229.76916 378.58008 229.78516 C 378.57808 229.80226 378.56945 229.81768 378.56445 229.83398 C 378.55645 229.85368 378.54892 229.87148 378.54492 229.89258 C 378.54192 229.91008 378.53716 229.92771 378.53516 229.94531 C 378.52916 229.96221 378.52253 229.97819 378.51953 229.99609 C 378.51453 230.01299 378.51077 230.03123 378.50977 230.04883 C 378.50277 230.06863 378.49909 230.08848 378.49609 230.10938 C 378.49509 230.12797 378.49028 230.14762 378.48828 230.16602 C 378.48628 230.18382 378.48438 230.20075 378.48438 230.21875 C 378.48415 230.23585 378.48435 230.25243 378.48438 230.26953 C 378.48449 230.29093 378.4844 230.31258 378.48438 230.33398 C 378.4844 230.35728 378.48442 230.381 378.48438 230.4043 C 378.48638 230.4253 378.47861 230.44464 378.47461 230.46484 C 378.47261 230.48704 378.46859 230.5078 378.46289 230.5293 C 378.45789 230.5526 378.44836 230.57436 378.44336 230.59766 C 378.43536 230.62606 378.42597 230.65509 378.41797 230.68359 C 378.41197 230.70709 378.4092 230.73166 378.4082 230.75586 C 378.4012 230.77316 378.39753 230.79019 378.39453 230.80859 C 378.39253 230.82569 378.39258 230.84217 378.39258 230.85938 C 378.39258 230.87717 378.39644 230.89626 378.39844 230.91406 C 378.40044 230.93476 378.39739 230.95596 378.40039 230.97656 C 378.40939 230.99556 378.41587 231.01496 378.42188 231.03516 C 378.42787 231.05116 378.43227 231.06912 378.44727 231.07812 C 378.51437 231.09623 378.54977 231.03573 378.57227 230.99023 C 378.58127 230.97633 378.58675 230.96021 378.59375 230.94531 C 378.59875 230.92961 378.60537 230.91484 378.60938 230.89844 C 378.61237 230.87794 378.61935 230.85839 378.62305 230.83789 C 378.62705 230.81749 378.62907 230.79529 378.63477 230.77539 C 378.64077 230.75679 378.64158 230.73805 378.64258 230.71875 C 378.64258 230.70025 378.6423 230.68176 378.64844 230.66406 C 378.65344 230.64616 378.65646 230.62738 378.66016 230.60938 C 378.66216 230.59207 378.66813 230.5786 378.67383 230.5625 C 378.67983 230.5463 378.68386 230.52982 378.69336 230.51562 C 378.70036 230.50362 378.70494 230.49092 378.71094 230.47852 C 378.71694 230.46322 378.72347 230.44859 378.73047 230.43359 C 378.73447 230.41809 378.74305 230.40377 378.74805 230.38867 C 378.74905 230.38467 378.7489 230.3797 378.75 230.375 L 379.1582 230.375 L 379.1582 230.36914 L 383.25781 230.36914 L 383.25781 230.37891 L 386.52344 230.37891 L 386.52344 230.375 L 388.24805 230.38086 L 387.81836 226.91992 L 387.83789 226.75977 L 388.44727 225.40039 L 388.6875 225.23047 L 390.75781 225.01953 L 390.73828 223.49219 L 390.73828 218.30078 L 397.75586 218.30078 L 398.89844 218.32031 L 398.89844 218.30078 L 398.92773 218.30078 L 398.92773 213.50977 L 398.9082 210.59961 L 399.07812 210.33008 L 403.11719 208.32031 L 405.67773 207.88086 L 407.60742 207.18945 L 408.50781 205.89062 L 408.64844 205.7793 L 411.38867 204.75977 L 411.48828 202.91016 L 411.73828 202.63086 L 413.09766 202.40039 L 414.16797 201.42969 L 414.32812 201.35938 L 417.4375 200.91992 L 417.74805 200.18945 L 417.24805 199.74023 L 417.1582 199.59961 L 416.29883 196.64062 L 416.14844 194.92969 L 415.31836 193.33008 L 414.34766 193.30078 L 411.79883 192.67969 L 409.46875 192.86914 L 409.25781 192.81055 L 407.82812 191.66992 L 406.28906 191.66016 z",name:"Morocco"}},height:440.70631074413296,projection:{type:"mill",centralMeridian:11.5},width:900})}).call(this,i(2))},function(e,t,i){(function(e){e.fn.vectorMap("addMap","europe_mill",{insets:[{width:900,top:0,height:790.3360148034734,bbox:[{y:-9690291.808548316,x:-4159652.5301950974},{y:-3201145.6268246872,x:3229902.613642692}],left:0}],paths:{BE:{path:"M400.73,433.08l-0.52,-2.25l-0.56,-0.57l-4.28,-0.9l-0.52,-2.3l-0.72,-1.23l-1.11,-0.96l-1.47,0.14l-2.34,0.95l-0.92,-0.59l-2.1,-2.13l0.06,-1.42l-0.94,-2.11l5.63,-2.88l4.83,-1.89l0.35,1.28l1.0,1.0l0.79,0.0l1.32,-0.72l1.22,0.17l1.92,1.09l1.13,0.14l2.05,-0.73l1.86,-1.11l0.78,-1.23l1.7,0.4l0.63,-0.24l0.21,-0.45l-0.2,-0.84l1.02,-0.55l1.09,0.83l0.82,0.06l1.67,-1.16l0.71,1.31l0.55,0.19l1.3,-0.08l1.17,-1.0l0.54,1.83l1.68,1.4l1.62,0.43l2.18,-0.42l1.56,1.44l2.54,0.82l0.16,0.74l-0.9,1.69l-0.1,0.88l-1.21,1.21l-0.17,0.9l0.73,1.23l0.43,0.19l1.64,-0.55l0.67,0.81l1.43,0.18l1.66,1.17l1.24,1.25l-0.57,0.57l0.11,0.94l0.57,0.56l1.13,0.22l0.42,0.41l0.27,2.03l-2.32,1.34l-0.73,1.47l-2.05,-0.25l-1.48,1.5l-1.78,3.11l-0.26,2.02l2.04,2.91l-0.89,1.46l-3.56,0.48l-3.15,-2.93l-1.99,-0.73l-1.61,-1.01l-1.76,-0.23l-0.27,-1.86l-0.65,-0.86l0.89,-2.91l-0.19,-0.47l-0.91,-0.33l-0.73,0.31l-1.0,0.88l-0.65,1.57l-1.29,0.64l-2.28,0.26l-2.49,-0.26l-0.25,-0.23l0.75,-1.69l-0.73,-1.1l0.42,-1.16l-0.09,-0.82l-1.77,-1.33l-1.44,-0.33l-2.31,-0.2l-1.24,0.59Z",name:"Belgium"},FR:{path:"M467.41,568.7l0.77,-0.77l0.94,-1.92l1.23,-0.85l3.09,-0.88l1.24,-1.13l1.71,0.56l0.82,-0.34l0.45,-1.04l-0.08,-2.97l0.33,-0.92l0.66,0.38l0.24,2.71l-0.35,2.37l0.98,1.89l0.4,6.29l-2.07,3.66l-0.12,3.28l-1.87,4.27l-0.66,0.89l-3.62,-1.94l-0.93,-0.91l0.99,-1.66l-0.25,-0.45l-2.03,-0.85l0.51,-1.36l-0.22,-1.18l-0.41,-0.29l-1.25,-0.03l1.06,-1.23l0.08,-1.13l-1.58,-1.27l-0.2,-0.63l1.2,-0.8l0.16,-0.59l-0.67,-0.97l-0.55,-0.18ZM313.21,482.01l0.65,-0.84l-0.12,-0.59l-0.73,-0.41l-2.58,0.36l-1.17,-0.3l-1.49,-1.3l-1.38,0.14l-0.87,-0.45l-1.52,-0.0l-0.86,-0.67l-5.41,-1.47l-2.3,-0.18l-2.17,0.65l-0.93,-0.18l-1.64,-2.53l-2.86,-1.03l3.52,-0.98l0.83,-0.83l-0.09,-0.62l-1.43,-0.83l-1.1,-0.24l-0.48,-0.52l4.03,0.01l0.24,-0.69l-0.82,-0.75l-1.49,-0.46l-4.19,0.09l-0.42,-1.11l0.47,-1.3l2.39,-1.3l6.29,-1.5l2.69,0.22l2.0,-0.28l2.39,-0.99l1.02,-0.81l3.06,-0.46l2.9,0.82l2.77,3.22l1.41,1.17l0.45,0.04l3.24,-1.89l4.69,0.05l0.91,0.97l0.66,-0.11l1.04,-1.64l1.04,1.03l6.16,-0.4l0.3,-0.33l-0.2,-0.4l-1.32,-0.73l-1.04,-1.7l-0.24,-6.84l-3.16,-5.21l-0.74,-1.78l0.1,-1.05l3.43,0.27l2.91,-0.67l1.05,0.35l-0.06,1.26l0.44,1.82l1.68,2.19l2.38,-0.09l2.65,0.59l3.28,0.09l5.0,1.0l2.17,-0.63l1.94,-1.22l3.74,-0.81l0.55,-0.6l-0.36,-0.63l-2.1,0.17l-1.75,-0.69l-0.18,-0.57l0.93,-2.27l5.65,-2.74l4.18,-0.84l4.36,-1.56l2.29,-1.65l1.52,-2.13l0.98,-0.76l0.11,-0.58l-0.47,-0.63l0.37,-7.74l0.38,-1.32l0.77,-1.06l3.1,-1.8l7.88,-1.69l0.89,1.98l-0.23,0.88l0.24,0.64l2.37,2.44l1.4,0.75l3.42,-1.17l1.46,1.79l0.67,2.53l0.79,0.51l3.63,0.5l1.16,2.95l0.53,0.06l1.11,-0.65l2.15,0.19l1.16,0.24l1.51,1.13l-0.49,1.57l0.74,1.06l-0.73,1.84l0.74,0.77l2.77,0.32l2.61,-0.31l1.51,-0.75l0.83,-1.78l1.17,-0.81l-0.75,2.87l0.69,1.08l0.35,2.16l0.4,0.31l1.75,0.15l1.55,0.99l2.02,0.76l3.1,2.91l3.88,-0.4l0.56,0.58l2.56,1.05l1.01,-0.16l1.41,-0.77l0.66,0.06l1.34,0.7l1.53,0.18l0.9,0.74l0.57,1.33l2.4,2.92l0.83,0.07l1.34,-0.87l1.18,0.37l0.34,0.99l0.66,0.25l0.87,-0.21l1.22,0.23l3.14,-0.67l0.9,1.02l1.32,0.54l5.32,0.9l1.54,0.57l0.05,1.07l-4.07,4.38l-1.79,6.17l-1.23,2.2l-0.44,1.6l0.31,1.21l-0.19,1.55l-0.73,2.24l-0.14,1.82l0.62,1.44l-1.04,0.58l-0.92,1.45l-0.88,0.32l-1.65,0.02l-0.4,-0.65l-0.67,-0.35l-1.31,0.06l-1.26,0.7l-0.98,1.46l0.57,0.78l0.73,0.14l-4.42,4.94l-2.89,1.4l-0.65,3.28l-3.37,2.5l-1.41,3.23l0.82,1.07l-0.3,1.32l-1.75,1.33l0.3,1.45l1.86,0.05l1.53,-0.78l1.1,-1.08l0.06,-0.49l-0.55,-0.89l1.09,-0.96l1.33,-0.57l1.91,-0.11l2.26,0.34l0.17,1.45l0.39,0.63l-0.48,2.05l2.49,2.54l0.73,1.16l-2.84,1.86l-0.18,1.53l0.36,0.71l0.96,0.63l1.82,2.88l1.7,1.48l-0.9,2.31l-1.21,0.37l-1.75,1.24l-1.95,-0.12l-1.05,0.48l-0.22,0.4l0.1,0.84l0.84,0.96l0.72,1.77l0.97,0.7l2.2,0.58l0.6,1.76l-0.88,0.55l-1.6,2.79l0.62,1.54l-0.2,0.75l0.43,1.08l1.01,1.0l4.78,2.37l0.96,0.2l3.03,-0.67l0.61,0.99l-2.55,3.41l0.06,1.58l-1.05,-0.07l-0.48,0.65l-2.48,1.14l-4.33,3.66l-1.97,1.05l-0.96,1.97l-1.06,0.92l-3.53,0.96l-2.42,1.03l-1.16,-0.44l-2.87,0.05l-1.9,-1.3l-3.43,-0.8l-1.08,-1.78l-3.35,-0.43l-0.12,-1.01l-0.5,-0.38l-2.08,0.32l-0.81,0.45l-0.79,-0.06l-0.3,0.4l-0.61,0.05l-6.52,-1.74l-2.24,-1.83l-2.23,0.45l-1.85,1.74l-7.11,4.41l-2.95,4.72l-0.16,1.53l0.65,4.05l1.42,2.15l-2.56,-0.58l-1.25,0.17l-2.71,0.83l-0.83,1.03l-5.69,-1.28l-2.78,1.04l-0.81,-1.08l-2.69,-1.15l0.34,-0.96l-0.7,-0.84l-2.87,-0.64l-0.99,0.54l-0.97,-1.3l-1.99,-0.4l-6.05,-2.05l-1.12,-0.09l-0.58,0.37l-0.39,2.16l-4.75,-0.06l-0.9,-0.43l-3.17,0.48l-3.51,-2.22l-3.8,0.42l-2.47,-2.29l-2.3,-0.16l-4.56,-1.73l-0.58,-0.75l-1.12,1.09l-0.39,-0.03l-0.36,-0.23l0.9,-1.92l-0.24,-1.16l-0.96,-0.5l-3.17,-0.62l-0.85,-0.97l2.08,-0.55l2.09,-2.26l1.89,-7.6l1.35,-8.91l0.9,-1.51l1.14,-0.42l0.17,-0.63l-1.03,-1.24l-0.59,-0.03l-0.43,0.42l0.62,-6.75l1.3,-5.66l2.93,2.19l0.74,1.02l1.11,3.82l1.99,1.61l0.49,-0.04l0.08,-0.49l-1.25,-1.54l-1.22,-4.82l-0.82,-1.5l-1.35,-1.33l-4.12,-2.8l-0.07,-0.37l1.77,0.46l0.54,-0.47l-0.98,-3.09l-0.57,-6.56l-0.32,-0.32l-3.25,-0.63l-5.23,-2.74l-4.03,-5.76l0.93,-3.09l-0.86,-1.27l-1.37,-0.73l0.46,-0.73l0.44,-0.53l0.88,-0.15l3.8,0.98l0.44,-0.27l-0.2,-0.48l-3.38,-1.67l-5.06,0.54l-1.01,-0.19l-0.72,-0.28l-0.23,-0.74l1.26,-1.47l-0.06,-0.51l-0.75,-0.7l-1.25,-0.37l-2.76,0.2ZM332.31,508.2l1.88,1.81l-0.15,0.48l-1.62,-1.85l-0.11,-0.43Z",name:"France"},BG:{path:"M662.06,585.15l0.29,-3.94l0.71,-1.75l-0.05,-0.72l-0.86,-0.68l-1.48,-3.54l-0.69,-0.61l-2.8,-1.24l-2.73,-2.84l0.66,-0.27l1.35,-1.8l0.2,-0.83l-1.28,-2.51l0.35,-1.29l-0.28,-1.38l0.24,-0.54l0.99,-0.47l2.26,-0.25l3.25,-3.58l0.5,-1.6l-1.7,-1.41l-1.32,-1.73l-2.83,-1.63l-0.65,-0.92l-1.73,-4.25l-0.05,-1.22l0.63,-2.11l2.3,-1.11l0.53,-2.08l0.71,-0.5l3.99,2.37l-2.14,1.89l-0.0,1.56l1.15,0.79l4.1,-0.65l4.13,0.33l5.62,1.1l3.78,0.39l2.81,-0.5l9.82,1.78l4.63,0.26l2.69,-0.69l1.88,-0.94l1.63,-1.76l3.74,-2.22l3.65,-1.25l7.88,-1.36l4.53,2.38l3.3,0.38l0.99,0.7l1.96,-0.44l2.27,2.66l4.46,1.3l2.5,0.06l-0.28,3.44l-1.08,1.52l-1.9,-0.54l-2.52,0.52l-1.56,2.22l-1.43,1.35l-0.55,2.99l-0.1,4.22l-1.73,0.67l-3.65,3.91l0.11,0.63l2.91,1.84l3.87,5.45l-1.3,-0.19l-1.15,0.47l-1.76,-0.06l-1.68,0.63l-3.01,-2.44l-0.84,-0.32l-3.33,0.55l-1.81,1.11l-3.72,0.47l-0.64,0.45l-0.8,1.79l-2.11,0.49l-0.68,1.13l-1.29,-0.3l-1.48,0.43l-0.64,1.22l1.04,2.44l-0.05,1.85l-2.58,1.05l-1.96,-0.27l-7.03,1.36l-1.54,-1.11l-1.96,-0.82l-1.99,-0.47l-1.13,0.51l-2.12,-1.23l-0.94,-1.63l-0.73,-0.26l-1.48,0.51l-4.43,-0.06l-0.74,1.11l-1.79,0.08l-3.22,1.09l-2.63,-0.19l-2.7,0.22l-1.27,1.01l-2.52,-0.16Z",name:"Bulgaria"},DK:{path:"M554.98,347.03l-0.27,0.17l-2.03,-0.48l-2.42,-1.16l0.34,-2.19l0.45,-0.72l4.46,2.58l0.04,0.75l-0.57,1.04ZM521.14,336.77l-0.22,-0.59l0.73,-0.83l0.32,0.89l-0.83,0.53ZM520.72,332.89l0.03,1.74l-0.25,0.39l-3.02,1.28l-1.05,0.95l-0.5,1.54l0.9,1.36l1.45,0.59l0.29,1.42l-0.97,0.73l-3.08,0.91l-0.28,0.33l-0.5,6.78l-2.01,0.63l-1.43,-2.33l-0.04,-1.11l-1.16,-4.03l-2.77,-0.74l-2.34,0.21l-1.42,-2.13l0.24,-2.46l-0.86,-1.5l-0.07,-1.09l-0.84,-0.87l-0.75,-0.28l-0.25,-0.91l2.9,-0.04l1.44,-0.44l2.06,-2.53l0.15,-1.11l1.62,-0.2l0.65,0.66l-0.05,3.29l0.25,0.34l1.84,0.62l0.44,-0.26l0.83,-1.98l0.58,-0.6l0.15,-1.49l-0.66,-1.19l4.25,-2.53l1.27,-0.06l3.23,1.02l0.2,0.29l-1.04,2.06l0.58,2.72ZM517.34,347.25l1.62,0.28l1.26,0.71l-1.94,-0.19l-2.4,1.26l-0.36,-0.17l1.82,-1.88ZM504.49,350.08l2.48,1.22l1.72,-0.02l0.86,0.38l0.26,1.85l-0.8,0.33l-1.36,-0.13l-1.59,0.57l-5.33,-2.52l0.22,-2.53l2.27,-0.18l1.27,1.03ZM500.25,304.31l-0.34,0.28l-1.08,-0.37l0.33,-0.36l1.93,-0.37l-0.83,0.82ZM495.95,352.06l-0.81,-1.41l2.94,-3.53l-1.8,4.22l-0.33,0.72ZM468.61,349.15l-0.42,-2.39l-0.69,-1.33l0.85,-0.26l0.28,-0.41l-0.25,-3.27l-0.49,-1.78l-6.52,-3.55l0.92,-7.01l-1.09,-3.15l0.55,-8.59l1.14,-0.12l3.56,1.07l0.64,0.76l1.02,0.47l0.49,-0.15l0.69,-1.1l0.23,-1.47l1.93,-1.94l2.11,-1.0l1.52,1.58l0.43,0.13l0.28,-0.35l0.79,-5.97l-0.27,-0.44l-1.96,-0.62l-1.84,0.54l-1.79,2.66l-1.35,2.98l-2.07,0.26l-1.77,0.83l-2.33,-1.48l0.18,-1.51l1.88,-2.48l2.46,-2.33l2.46,0.02l2.01,-0.79l1.05,-0.09l3.53,0.17l2.07,-0.61l1.73,-1.22l3.52,-4.77l1.89,-1.89l4.04,-0.74l3.41,-2.12l-0.98,1.01l-0.52,1.77l1.23,2.37l-0.16,3.79l-1.14,1.36l-1.29,2.84l-0.65,0.68l-0.18,7.31l1.5,1.58l1.55,0.73l4.81,0.01l0.84,1.17l-0.84,2.52l-2.95,1.65l-0.87,0.03l-1.4,-1.34l-0.5,-0.05l-0.79,0.52l-0.85,0.91l-1.81,6.51l-1.88,-0.35l-1.7,0.66l-0.08,0.69l1.36,1.25l-1.46,0.7l-1.73,1.9l-1.54,1.01l-0.95,1.22l0.98,4.54l-0.31,0.95l-1.8,1.6l-0.79,1.57l0.37,0.57l1.54,-0.02l1.37,0.66l0.38,0.38l-0.27,0.76l0.33,1.37l-1.23,-0.49l-3.7,0.92l-0.99,-0.03l-0.97,-0.68l-3.84,-0.98l-2.88,-0.13ZM494.78,336.56l2.16,5.08l-0.38,0.82l0.26,1.43l-0.26,1.07l-1.97,1.37l-2.27,0.06l-5.9,-2.06l-1.67,-3.44l0.02,-2.6l5.4,-1.72l1.83,0.94l1.1,0.04l1.67,-1.0ZM494.14,332.71l-0.34,-0.12l0.24,-1.95l-0.31,-1.07l1.07,1.5l-0.65,1.64ZM490.96,349.9l0.79,0.15l0.49,0.27l-0.27,0.06l-1.01,-0.48ZM483.63,346.94l2.33,1.33l0.69,1.28l-0.87,0.16l-1.78,-0.57l-0.36,-2.2Z",name:"Denmark"},HR:{path:"M540.52,517.06l1.22,0.46l4.0,-0.1l0.92,-0.53l1.59,-2.35l0.82,1.3l2.12,1.67l1.03,0.14l1.21,-0.48l2.01,0.79l1.9,0.18l1.48,-0.45l0.26,-0.49l-0.74,-1.79l0.98,-1.18l-0.98,-1.19l4.32,-1.54l0.65,-0.75l0.33,-2.14l-0.13,-1.17l-0.95,-1.16l0.13,-0.69l0.25,-0.33l4.9,-1.78l0.95,-1.14l2.19,-0.05l0.5,-0.65l-0.2,-1.45l0.85,-0.55l3.1,0.8l2.36,1.14l1.59,1.24l0.96,1.48l1.26,1.13l2.81,1.85l1.03,1.44l1.3,0.76l2.64,0.6l1.39,1.47l1.44,0.67l7.73,0.66l2.52,-0.79l1.72,-1.78l2.6,-0.25l-0.75,1.25l1.37,2.81l-0.3,1.16l0.68,0.87l0.9,0.34l-0.43,0.82l0.1,1.43l1.31,1.12l3.14,1.15l0.78,0.85l-2.14,0.07l-0.85,-0.44l-0.57,0.26l-0.1,0.53l-0.62,0.17l-0.29,0.46l0.49,2.66l-0.15,0.57l-0.99,0.12l-0.22,0.72l-0.35,0.03l-1.74,-0.65l-0.59,-1.84l-1.46,-1.06l-2.32,-0.14l-2.74,-0.81l-2.1,0.23l-1.83,-0.36l-1.83,1.07l-0.59,-0.01l-1.56,-1.26l-0.68,-0.17l-2.04,0.71l-2.45,-0.72l-2.59,-0.11l-2.75,-1.72l-0.46,0.02l-1.61,1.24l-3.67,-0.22l-3.04,3.34l-1.49,-0.9l-1.72,-1.94l-1.03,-0.46l-1.26,-0.1l-1.52,0.7l-0.82,5.66l0.14,1.89l1.92,1.38l2.27,2.38l0.73,0.32l1.41,4.88l1.26,1.68l3.93,3.5l1.7,2.26l5.03,4.33l2.43,1.02l0.02,1.54l0.34,0.88l1.53,1.81l2.97,2.53l0.33,0.71l-0.53,0.3l-3.22,-2.75l-2.74,-1.61l-3.2,-3.05l-4.08,-1.17l-2.77,-1.3l-3.78,0.58l-1.68,-0.17l-0.41,-0.57l-0.18,-1.66l-5.98,-4.16l-4.2,-4.32l-0.57,-0.94l1.66,-0.36l2.37,0.27l0.45,-0.22l-0.12,-0.48l-2.73,-1.86l-3.85,-3.6l-1.08,-1.61l0.16,-4.25l-0.73,-2.03l-4.37,-3.88l-2.23,-0.75l-1.46,0.24l-0.65,1.06l-0.42,1.98l-3.52,5.22l-0.94,-0.0l-3.02,-4.37l-1.43,-5.94l0.28,-0.2l0.5,0.51l3.57,0.82l1.03,-0.39l0.69,-0.9ZM587.09,559.57l2.86,1.2l-0.65,-0.13l-2.2,-1.07ZM591.3,561.05l-0.27,-0.82l0.24,-0.07l0.56,0.15l0.73,1.02l-1.27,-0.27ZM599.03,565.39l1.29,0.47l0.05,0.42l-0.83,-0.52l-0.5,-0.37ZM574.06,555.07l2.29,0.14l0.72,0.66l0.72,0.07l-0.88,-0.02l-1.68,-0.33l-1.18,-0.53ZM577.19,558.94l1.74,0.32l1.9,-0.2l1.59,0.28l-1.61,-0.19l-1.63,0.5l-1.35,-0.25l-0.64,-0.46ZM578.24,553.5l-2.04,0.04l-2.36,-0.62l0.18,-0.53l1.76,0.07l3.32,0.71l-0.86,0.32ZM552.42,532.01l1.48,1.22l2.64,2.63l-0.28,0.25l-3.01,-2.61l-0.83,-1.49ZM551.01,528.89l-1.01,-0.23l0.11,-0.55l0.35,0.02l0.55,0.76ZM547.01,523.61l0.87,-0.6l0.52,-0.96l2.47,3.21l-0.92,0.2l-1.06,-1.14l-1.25,-0.15l-0.64,-0.56ZM545.04,522.83l0.07,0.67l-0.21,-0.6l0.14,-0.08ZM545.55,524.84l0.91,0.95l-0.18,1.58l0.44,3.22l-1.56,-3.9l0.39,-1.86Z",name:"Croatia"},DE:{path:"M430.54,420.84l0.92,-0.06l2.69,-2.09l-0.09,-0.78l-0.62,-0.26l-0.01,-0.35l1.2,-2.32l0.46,-1.8l-0.14,-0.96l-1.33,-1.91l-0.18,-0.88l-1.75,-2.06l0.0,-0.39l2.55,-1.2l2.73,0.97l0.9,-0.57l1.27,0.05l3.04,-1.03l1.09,-1.59l-1.19,-1.26l0.08,-0.38l3.33,-2.18l0.69,-1.23l0.26,-2.25l-0.57,-1.0l-0.78,-0.57l-1.72,0.03l-0.99,-0.34l-0.56,-0.77l0.32,-0.81l-0.14,-0.63l0.26,-0.15l3.48,0.01l0.58,-0.47l1.2,-4.4l0.87,-1.53l0.25,-5.88l-0.69,-1.09l-1.23,-0.85l0.66,-2.97l1.24,-1.67l0.91,-0.42l4.57,-0.29l4.95,0.12l1.86,2.37l-0.66,1.17l0.16,0.55l1.25,0.65l0.93,-0.22l1.1,-2.84l1.71,1.34l0.03,2.08l0.36,0.39l0.43,-0.32l0.59,-3.01l-0.42,-2.2l0.28,-1.9l0.99,-1.44l3.67,0.69l4.06,-0.37l1.41,0.7l3.63,3.98l1.33,0.69l1.5,0.2l0.44,-0.29l-0.24,-0.47l-1.99,-0.81l-4.4,-4.83l-1.43,-0.63l-1.94,-0.18l-1.77,-1.03l-0.25,-5.57l-0.75,-0.72l-1.14,-0.35l-1.62,0.32l-0.16,-0.68l0.18,-0.5l2.27,-0.51l1.72,-0.78l0.31,-1.67l-3.74,-4.94l-0.12,-1.54l2.65,0.11l3.74,0.96l1.1,0.72l1.31,0.02l3.51,-0.89l1.75,0.87l1.88,0.47l1.57,1.79l0.07,1.44l-2.01,1.88l-0.12,0.46l0.4,0.25l3.46,-0.28l0.85,1.3l0.43,0.15l1.87,-0.51l4.9,2.22l3.72,-1.12l0.53,1.41l-0.65,1.61l-2.59,1.91l-0.12,0.5l0.59,1.22l1.1,0.48l2.61,-0.23l4.21,1.16l0.93,-0.43l3.21,-2.73l1.19,-0.54l4.49,-0.58l0.73,-1.01l1.74,-1.1l3.62,-3.29l5.8,1.01l1.62,2.36l4.08,2.65l3.73,-0.15l1.18,2.22l0.71,3.25l2.21,1.63l3.05,0.68l0.48,2.97l1.56,5.02l-0.04,1.42l-0.54,1.61l-0.94,1.33l-1.28,0.77l-0.85,1.0l-0.23,1.2l1.81,2.09l3.53,2.51l1.27,1.91l-0.81,3.15l0.34,0.97l1.43,1.19l0.26,2.35l0.57,0.56l-0.95,2.89l-1.01,1.59l0.34,1.21l1.36,1.97l-0.22,1.81l0.22,0.65l2.57,1.24l1.33,3.49l-1.29,4.18l-1.87,3.2l-1.46,-0.48l0.11,-0.81l-1.26,-1.82l-3.37,-0.82l-0.7,0.29l-0.4,0.92l1.31,1.41l-5.96,2.33l-2.6,0.78l-2.07,0.25l-1.5,1.77l-0.94,-0.31l-2.04,0.96l-0.67,1.03l-2.06,0.33l-0.98,1.46l-2.31,-0.41l-3.18,0.72l-1.4,0.85l-2.01,2.57l-1.77,-1.93l-0.72,-0.08l-0.44,0.32l-0.04,1.02l1.14,1.65l0.52,1.47l1.03,1.06l2.35,1.46l0.63,0.91l-1.61,2.81l1.52,1.82l2.46,3.98l1.87,1.57l1.49,0.06l2.95,2.95l2.61,1.64l0.92,1.52l0.79,0.46l1.3,-0.06l3.29,3.0l-0.16,2.44l-0.83,1.09l-0.5,0.23l-2.76,-0.87l-0.49,0.51l-0.66,2.87l-0.38,0.46l-6.37,2.67l-1.17,0.77l-0.83,1.02l-0.01,1.03l2.54,3.11l0.01,1.18l-0.74,1.46l0.24,0.51l1.68,0.35l0.18,0.48l-0.4,2.61l-2.26,-1.03l-0.43,-1.57l-1.34,-0.68l-2.77,0.52l-1.62,-0.86l-2.11,-0.53l-0.57,0.25l-0.13,1.46l-6.22,0.61l-4.4,1.66l-1.31,1.07l-1.45,0.0l-1.91,0.52l-0.6,-0.06l-1.66,-2.12l-5.79,-0.52l-0.56,0.34l-0.83,3.01l-0.69,0.81l-1.08,0.46l0.2,-0.9l-0.26,-0.48l-1.5,-0.34l-0.22,-1.01l-1.29,-1.05l-3.11,-1.25l-0.84,0.49l-7.44,-4.01l-0.69,0.18l-0.13,0.52l0.63,1.16l-3.25,0.23l-0.69,-0.77l-0.81,-0.23l-0.59,0.27l-1.41,-1.07l-0.93,-0.24l-2.0,0.82l-0.58,0.89l0.1,0.75l0.97,0.47l-0.22,0.19l-3.28,-0.22l-1.51,0.54l-2.18,0.2l-3.02,-0.1l-1.57,-0.55l-0.38,-0.91l0.11,-1.58l0.74,-2.31l0.21,-1.68l-0.31,-1.12l0.4,-1.44l1.21,-2.16l1.76,-6.1l4.05,-4.32l0.04,-1.82l-0.29,-0.36l-1.85,-0.66l-5.27,-0.89l-1.02,-0.38l-1.24,-1.21l-3.4,0.67l-2.1,-0.1l-0.44,-1.02l-1.73,-0.51l-1.82,0.86l-2.04,-2.62l-0.66,-1.44l-1.19,-0.93l-1.22,-0.27l0.41,-1.96l1.46,-1.99l0.04,-1.7l-3.27,-1.56l-1.51,-1.71l-0.36,-1.88l0.82,-2.22l2.46,-1.42l0.19,-0.42l-0.31,-2.35l-0.75,-0.87l-1.5,-0.57l0.7,-0.84l-0.06,-0.62l-3.08,-2.45l0.64,-2.95l-0.69,-0.92l-1.76,-0.94ZM538.5,364.74l4.43,2.81l-0.02,0.85l-1.71,0.2l-1.36,-0.24l-0.07,-2.1l-1.21,-1.13l-0.06,-0.38ZM536.24,359.59l0.19,1.05l-1.4,-0.89l-1.53,0.01l-1.16,1.66l-0.34,0.03l-2.16,-1.36l-0.36,-1.05l0.29,-2.61l0.72,-0.83l0.1,-0.88l1.09,-0.91l0.75,-0.03l0.89,1.43l2.04,0.8l0.23,0.34l-1.13,1.59l0.47,0.93l1.31,0.71ZM503.18,358.26l-1.43,0.03l-1.18,-0.81l0.48,-0.55l1.69,0.5l0.45,0.83ZM463.5,350.42l0.29,-1.31l0.49,0.91l0.99,0.04l-1.77,0.36ZM466.66,353.0l-0.22,0.19l-1.35,-0.23l0.93,-0.31l0.63,0.36Z",name:"Germany"},BA:{path:"M608.48,527.74l3.07,-0.74l1.2,0.42l-0.79,2.63l-1.93,2.88l-0.46,3.03l0.51,1.08l2.62,1.37l3.17,2.88l-0.23,0.39l-1.2,0.13l-2.07,-0.23l-0.97,0.56l0.15,0.91l3.04,3.85l0.08,0.83l-0.38,0.94l-1.06,-0.49l-0.81,0.03l-0.9,0.24l-0.68,0.71l-1.4,0.25l-1.35,-0.37l-0.66,0.34l-0.25,0.99l1.25,2.21l-0.08,0.64l-0.78,-0.82l-1.48,-0.05l-2.53,2.08l-0.73,1.8l0.01,1.34l-1.64,0.26l-0.76,0.89l0.27,3.36l1.07,2.1l-1.07,0.99l-1.63,-0.59l-2.39,-1.46l-3.77,-2.5l-0.73,-1.04l-2.18,-0.15l0.47,-0.54l-0.1,-0.84l-4.84,-4.93l-0.31,-2.37l-0.52,-0.52l-2.14,-0.74l-4.93,-4.25l-1.71,-2.26l-3.91,-3.48l-1.1,-1.42l-1.51,-5.08l-0.87,-0.45l-2.23,-2.34l-1.83,-1.33l0.67,-6.52l0.28,-0.24l0.73,-0.18l1.63,0.37l1.74,1.95l1.96,1.12l1.37,-0.9l2.12,-2.55l3.36,0.32l1.8,-1.25l2.69,1.66l1.16,0.26l1.55,-0.13l2.52,0.74l2.08,-0.71l2.1,1.42l1.04,-0.04l1.55,-1.0l1.73,0.34l2.04,-0.24l2.68,0.79l2.34,0.15l0.97,0.73l0.49,1.68l0.79,0.76l2.6,0.32Z",name:"Bosnia and Herz."},HU:{path:"M574.1,479.74l1.55,-0.97l2.58,1.22l3.97,-0.49l0.32,-0.51l-0.38,-2.54l0.54,-0.63l0.13,-0.94l0.82,-0.63l1.72,0.33l4.27,3.09l1.92,0.75l5.23,0.12l7.85,-0.41l1.05,-1.32l-0.32,-1.6l0.46,-0.86l1.48,-0.78l4.68,-0.38l2.8,-0.66l1.42,-1.79l0.61,-0.13l3.87,1.55l5.93,-2.86l2.25,-4.04l1.81,-0.35l2.94,0.07l2.8,0.69l5.06,-0.81l1.4,0.91l2.13,2.58l0.79,0.23l6.37,-1.27l1.33,2.56l2.34,0.93l0.97,1.3l1.37,0.54l1.12,-0.08l0.79,0.7l0.31,1.75l-3.23,2.7l-1.51,-0.12l-2.92,0.86l-2.41,2.67l-1.56,1.19l-0.16,1.98l-1.62,1.48l-1.18,2.9l-1.73,1.75l-0.13,1.34l-2.12,2.95l-0.24,0.62l0.18,0.84l-2.28,1.58l-0.95,2.12l0.13,1.13l-0.95,0.47l-0.52,1.42l-1.26,0.86l-2.62,-0.28l-1.17,0.24l-0.9,1.34l-0.99,0.54l-1.52,-0.54l-3.55,0.89l-1.03,-0.47l-3.08,-0.33l-1.29,0.26l-3.03,-0.39l-1.28,0.24l-1.63,1.6l-1.88,1.0l-1.5,0.24l-1.07,-0.47l-1.04,0.98l-1.05,0.42l-2.71,0.54l-0.7,-0.13l-2.05,1.92l-2.19,0.68l-7.36,-0.61l-2.08,-1.2l-0.59,-0.87l-1.18,-0.5l-1.58,-0.16l-1.15,-0.67l-0.95,-1.37l-4.05,-2.96l-0.99,-1.51l-1.75,-1.36l-3.01,-1.38l-1.73,-2.2l-0.02,-0.77l-0.66,-0.74l-0.73,-2.3l-1.88,-0.24l2.28,-1.61l1.33,0.05l0.62,-0.39l0.55,-2.05l-0.16,-0.54l-0.64,-0.29l-0.2,-0.91l0.58,-1.02l-0.33,-1.71l2.32,-0.86l0.87,-1.68l-0.74,-1.83l-2.35,-0.68Z",name:"Hungary"},JE:{path:"M322.87,452.86l-0.06,0.38l-0.56,-0.27l-1.49,0.09l0.08,-0.64l2.02,0.44Z",name:"Jersey"},FI:{path:"M642.77,218.25l1.12,-0.27l0.17,-0.8l-3.01,-6.76l-1.66,-1.51l1.26,-4.66l-0.13,-1.29l-0.44,-1.65l-2.0,-1.41l-0.81,-4.2l0.5,-2.29l0.65,-0.99l3.52,-3.35l0.3,-1.68l2.07,-0.11l0.31,-0.63l-1.08,-1.53l-0.27,-1.43l3.0,-0.62l1.43,0.56l3.05,-0.72l2.8,-1.45l0.17,-1.13l-0.91,-1.85l1.24,0.03l-0.36,-1.06l1.03,0.05l1.76,-1.91l0.16,-1.42l2.91,-0.77l3.47,-2.96l3.21,-1.64l3.23,-2.9l1.63,-0.39l0.7,-1.93l2.7,-2.58l0.99,-0.5l1.28,-2.37l3.5,-2.87l2.18,-3.57l1.19,-1.25l0.4,-1.27l1.07,-0.09l1.37,-1.04l2.49,-0.66l2.47,0.18l1.24,0.48l1.0,-0.15l0.34,-0.43l-0.1,-1.23l-0.59,-0.75l1.83,-1.31l-0.47,-2.07l-1.07,-0.98l1.19,-7.23l-1.66,-1.93l-5.46,-2.54l-2.15,-0.22l-1.08,-1.64l0.59,-2.18l-0.41,-0.44l-0.76,0.14l-0.76,0.77l-1.54,0.82l-2.1,-0.66l-0.96,0.1l-1.35,-3.86l-1.94,-3.6l-2.51,-1.5l-0.6,-3.55l0.1,-1.33l0.2,-0.66l0.88,-0.57l1.4,-1.77l0.39,-2.96l1.27,-2.55l-0.7,-1.67l-3.55,-4.29l-0.46,-1.32l-0.2,-2.19l1.99,-2.12l-0.54,-2.44l-1.32,-0.69l-2.46,-0.23l0.14,-1.03l1.05,-2.32l-0.56,-2.01l0.01,-3.87l1.64,-1.24l0.06,-1.15l-2.2,-1.44l-1.54,-1.59l-0.47,-0.92l-1.92,-0.34l-1.17,-2.76l-3.36,-2.61l-1.06,-0.59l-5.7,-1.72l-2.28,-0.33l-2.6,-0.97l-7.13,-3.97l-0.62,-0.81l-3.28,-2.49l-3.42,-1.76l-0.17,-1.37l-0.37,-0.48l-3.13,-1.15l2.86,-0.25l2.65,0.65l0.68,-0.47l0.33,-0.96l-0.97,-2.39l0.11,-0.4l2.45,-1.26l4.54,0.04l9.08,9.74l1.07,1.8l0.37,1.29l0.39,0.29l8.8,1.06l1.17,0.77l2.44,-0.15l5.27,-1.54l2.05,-2.15l1.69,0.15l4.54,2.05l4.94,1.36l1.47,1.13l2.14,0.27l2.15,-1.3l1.14,-2.92l0.96,-1.23l1.35,-0.9l3.04,-0.64l2.41,-2.51l0.36,-2.25l-0.26,-3.73l0.23,-1.11l1.13,-2.04l1.5,-5.3l0.64,-1.46l0.73,-0.83l3.2,-2.19l2.92,-3.19l2.69,-0.38l5.31,0.64l3.11,-1.34l3.28,-1.98l2.0,-0.52l1.71,0.07l2.06,2.1l4.99,3.64l5.33,2.23l4.51,1.41l2.41,4.42l-1.13,1.66l-2.89,2.52l-2.42,2.65l-0.24,1.85l1.38,1.94l-6.81,2.58l-0.22,0.62l0.84,0.92l3.36,0.16l0.61,0.39l0.04,0.39l-0.3,0.87l-3.67,5.48l-0.16,1.52l2.92,7.03l9.06,3.17l2.4,3.03l4.03,4.07l2.13,1.71l-0.59,2.59l-4.94,5.07l-4.47,5.24l-2.13,2.89l-0.36,2.03l0.45,1.23l2.7,3.48l2.31,3.68l2.8,5.79l3.13,4.14l2.47,6.75l0.12,1.92l-2.63,0.33l-2.15,0.65l-0.35,0.42l0.09,0.48l1.16,1.03l-1.13,2.01l-0.17,2.9l-1.24,1.49l-0.21,0.7l0.62,0.87l2.25,0.39l0.09,0.91l-0.16,0.59l-2.59,1.65l-0.27,1.72l1.38,2.88l1.19,1.01l3.95,0.91l0.37,0.52l0.12,1.59l-1.73,1.8l-0.07,1.16l1.84,3.66l3.8,1.8l1.2,0.91l0.47,1.84l-0.02,1.31l-0.27,1.1l-3.85,4.54l-2.72,1.17l-0.31,0.89l5.84,5.02l7.58,4.38l2.72,1.92l2.09,2.95l2.32,2.38l0.27,1.15l-3.32,6.63l-1.3,1.77l-3.37,3.29l-5.05,4.15l-11.85,12.11l-2.68,2.11l-3.26,3.24l-6.92,4.7l-1.08,1.18l-3.43,2.16l-8.21,7.34l-1.68,0.75l-1.87,0.16l-0.84,0.47l-3.55,-1.54l-1.89,0.43l-1.61,1.04l-3.07,0.33l-2.14,0.65l0.29,-1.94l0.65,-0.96l0.13,-0.85l-0.45,-0.43l-0.5,0.07l-1.28,1.66l-0.55,1.73l-0.89,0.73l-2.1,0.32l-2.16,-1.32l-1.3,-0.04l-0.33,0.63l1.05,2.05l-1.03,-0.03l-2.52,1.57l-0.89,-1.14l-0.5,-0.16l-2.71,1.45l-2.64,0.33l-1.46,1.06l-7.46,1.6l-1.27,1.45l-0.76,0.39l-1.42,-0.39l-8.4,1.55l-3.69,-0.35l-3.8,2.83l-1.98,0.53l2.58,-2.49l0.22,-1.21l-0.2,-0.4l-1.63,-0.55l-1.02,-0.91l-1.36,-2.4l-1.04,0.08l-0.67,2.35l-0.77,0.71l-1.25,0.53l-2.16,-0.02l-0.21,-0.77l0.41,-1.08l-0.13,-0.82l1.1,-0.12l0.67,-0.88l-0.37,-0.93l-0.65,-0.1l0.93,-1.94l-0.28,-0.49l-4.43,-0.42l-4.34,-2.0l-0.96,-0.12l-0.58,-1.58l-0.46,-0.25l-1.2,0.29l-1.32,0.91l-2.1,-1.16l-0.93,-7.31l0.22,-1.74l1.36,-2.29l0.49,-2.36l0.11,-2.75l-0.24,-1.14l0.43,0.0l0.38,-0.53l-0.76,-1.2ZM687.44,144.29l-1.79,0.65l-1.22,-0.34l-0.02,-0.9l0.76,-0.51l1.66,-0.25l1.7,0.47l-1.08,0.89ZM651.46,242.91l1.58,0.43l0.67,-0.11l0.37,0.48l-1.17,0.78l-0.1,0.84l0.63,0.93l-0.71,-0.0l-0.85,-1.35l-1.17,-0.85l0.4,-0.98l0.37,-0.17ZM646.99,242.06l0.23,-0.82l0.48,0.41l-0.15,0.7l0.64,0.51l-1.2,-0.79ZM646.46,246.89l-1.07,0.55l-0.05,-0.02l0.08,-0.67l0.56,-0.37l0.66,-0.03l-0.18,0.54ZM643.72,247.48l-0.79,0.13l-0.32,-0.25l1.18,-0.39l-0.07,0.51ZM641.16,239.43l-0.07,0.33l-1.37,0.07l-0.55,-0.69l-0.31,-1.48l2.3,1.77ZM638.04,182.53l0.17,0.59l0.43,0.26l0.96,-0.17l0.89,-0.6l0.27,0.45l-0.56,-0.04l-1.2,1.04l-1.18,-0.84l-0.53,-1.0l0.8,-0.0l-0.05,0.32Z",name:"Finland"},BY:{path:"M670.47,410.28l-0.13,-0.27l0.06,-1.46l1.09,-1.97l-0.23,-1.17l0.56,-1.59l0.0,-1.53l-0.91,-1.32l-1.93,-1.22l-3.4,-1.52l-0.13,-0.47l3.0,-3.66l5.77,-2.64l0.89,-0.8l0.33,-2.39l-0.79,-5.49l-3.54,-9.02l-1.36,-5.56l2.79,0.28l1.97,-0.44l4.12,-0.26l1.99,1.03l4.06,-1.59l1.9,0.09l0.64,-0.62l0.52,-2.25l0.36,-0.3l2.44,0.18l1.03,-0.51l0.87,-1.04l1.25,-0.61l1.3,-0.06l0.98,-0.62l0.5,0.91l-0.32,0.99l0.36,0.45l1.01,0.4l2.51,-0.34l0.49,-0.81l-0.35,-1.77l-0.8,-0.73l-1.79,-0.35l0.92,-2.21l1.46,-2.06l-0.02,-2.89l0.75,-2.06l0.97,-1.47l2.97,-0.75l1.28,-0.84l1.11,-2.33l0.33,-0.17l4.09,0.17l1.26,-1.87l1.39,-0.94l0.08,-0.49l-0.47,-0.58l-3.74,-0.67l1.4,-3.61l0.38,-2.21l2.87,-0.65l1.83,-1.99l1.15,-0.29l3.4,0.5l3.99,-0.04l0.92,-2.18l3.35,-3.06l1.75,-1.04l1.25,-0.18l1.76,1.58l0.64,0.16l1.24,-0.67l2.07,-0.07l0.81,0.47l1.37,1.98l0.92,0.38l3.4,-1.49l3.19,1.0l1.29,0.81l-0.51,2.56l1.82,1.98l0.47,0.03l2.62,-1.56l1.96,-0.52l1.42,-0.92l3.92,-0.0l2.83,1.04l2.24,2.21l1.47,0.96l2.03,0.41l0.22,0.33l-0.08,3.01l-1.07,1.29l-0.11,1.14l1.99,2.8l0.22,1.35l-1.98,2.56l-0.54,2.11l0.11,0.59l4.8,3.05l-1.06,2.24l0.22,0.44l1.4,0.68l1.5,2.95l1.42,1.79l5.69,3.04l-0.04,1.47l-0.94,2.24l0.22,0.54l1.06,0.37l5.02,0.19l3.1,1.5l-0.32,1.27l0.64,1.39l3.16,2.26l0.01,1.08l-3.01,1.21l-0.7,1.17l-3.65,2.08l-3.72,-0.26l-1.43,-1.43l-1.18,-0.32l-3.43,0.09l-0.75,0.46l-1.71,3.0l0.04,0.52l4.03,4.54l-0.61,1.04l0.17,1.42l0.95,1.23l-0.33,4.38l1.6,1.88l0.82,1.53l-5.16,-0.05l-1.77,0.96l-1.99,-0.42l-1.46,0.63l-3.05,2.73l-1.29,1.6l-1.83,3.95l1.26,4.37l-0.98,1.32l-0.92,-0.12l-1.36,-0.8l-0.44,-1.39l-2.23,-1.49l-8.28,0.78l-2.69,0.89l-2.12,-3.38l-0.52,-0.66l-0.8,-0.34l-0.77,0.12l-1.1,0.93l-1.76,0.6l-0.87,0.66l-0.7,1.15l-0.62,-0.26l-0.83,-1.64l-5.66,-1.19l-2.43,0.84l-2.32,-0.52l-1.82,1.98l0.15,-1.24l-0.24,-0.41l-1.34,-0.56l-4.0,0.09l-2.18,-2.8l-5.0,-0.34l-4.26,-0.76l-0.91,-0.58l-8.26,-1.44l-9.81,-0.12l-2.74,0.57l-6.86,0.57l-0.74,0.64l-0.63,1.19l-2.0,1.92l-1.94,1.27l-1.28,-0.61l-2.2,-0.32l-1.06,0.29l-0.7,0.7Z",name:"Belarus"},GR:{path:"M728.08,670.66l-0.79,0.26l-0.27,-0.39l0.51,-1.56l-0.52,-1.53l2.47,-2.52l3.7,-1.26l-1.12,2.79l-1.0,1.2l0.08,0.93l-1.45,0.33l-1.59,1.75ZM727.96,660.69l0.31,-0.19l-0.05,0.46l-0.26,-0.27ZM717.45,657.54l2.45,-1.2l0.79,0.06l-1.92,1.05l-1.31,0.09ZM718.65,675.52l0.9,2.17l-0.84,0.63l0.1,-1.01l-0.53,-1.15l0.37,-0.64ZM711.88,642.87l1.58,-0.77l0.98,-0.02l2.64,0.58l0.06,0.28l-2.41,0.93l-1.62,-0.93l-1.23,-0.07ZM716.41,654.11l0.54,0.48l-0.03,0.04l-0.63,0.1l0.12,-0.63ZM708.43,617.81l-0.05,1.13l1.83,1.52l0.65,1.19l-0.81,-0.3l-0.49,0.49l0.43,0.99l-0.37,0.12l-3.89,-0.79l-0.36,-0.44l1.99,-1.7l-0.34,-0.63l-1.6,0.18l-1.24,1.38l-1.92,-0.59l-0.59,-0.58l0.65,-1.02l1.36,0.04l0.99,-0.34l1.05,-0.45l0.25,-0.65l1.92,-0.12l0.56,0.56ZM623.87,612.82l0.81,0.1l0.84,-0.47l0.47,-0.56l0.3,-1.23l0.8,-0.02l0.42,-0.51l-0.08,-0.84l-0.89,-1.74l1.18,-1.04l2.5,-0.46l0.86,-0.63l2.04,-5.25l1.85,-0.75l0.87,-1.26l0.46,-1.74l-1.01,-1.95l0.07,-0.75l4.52,-0.26l1.17,-0.64l2.45,0.55l2.71,-1.28l2.13,-2.58l0.71,-0.31l2.57,-0.43l4.21,0.63l3.19,-0.98l0.81,-2.47l4.88,0.17l1.31,-1.02l5.3,-0.03l3.31,-1.11l1.87,-0.11l0.72,-1.05l4.19,0.07l1.53,-0.5l1.02,1.67l2.5,1.47l1.25,-0.53l1.82,0.43l3.69,1.98l7.19,-1.39l1.97,0.27l2.96,-1.23l0.46,-1.18l-0.61,-2.89l-0.57,-0.89l0.35,-0.54l1.04,-0.24l2.68,0.72l2.17,1.52l0.5,2.84l-0.19,0.48l-0.81,0.19l-2.79,1.69l-0.26,1.91l0.38,2.25l-3.16,3.73l-0.56,0.18l-0.34,-0.5l-2.25,-1.26l-4.82,-0.7l-2.28,-0.88l-1.1,0.12l-2.16,-0.96l-1.44,0.48l-2.75,1.7l-1.32,-0.16l-1.58,-1.02l-1.46,-0.22l-1.39,0.65l-1.98,1.99l-1.88,0.91l-1.8,-0.37l-2.49,0.01l-0.39,0.31l-0.22,1.44l1.67,1.98l-0.49,1.12l0.47,1.01l0.99,0.39l-1.39,-0.11l-1.3,0.61l-0.33,1.0l1.52,1.65l1.88,1.38l0.37,1.18l-0.35,0.48l-1.18,-0.71l-2.27,-3.16l-3.48,-0.8l-0.39,0.14l-0.6,1.06l0.63,1.71l0.62,0.86l2.45,1.61l-2.93,-0.93l-0.8,-1.4l-0.43,-2.26l-5.5,-2.86l-0.45,-1.08l0.86,-1.57l-0.43,-0.54l-1.68,0.27l-2.63,1.64l0.16,2.07l-0.97,3.91l0.31,1.49l3.35,3.9l1.1,2.68l0.87,1.13l1.73,1.2l1.71,2.07l0.7,1.04l0.44,1.49l-1.17,0.88l-0.56,0.03l0.43,-1.37l-0.31,-1.06l-2.29,-1.17l-1.38,0.42l-1.12,0.76l-0.14,0.5l1.36,2.35l0.34,1.2l0.45,0.29l-2.36,1.26l-2.76,0.18l-0.61,0.48l0.16,0.67l1.6,0.3l1.19,0.76l3.27,0.91l1.74,1.2l1.38,0.09l1.7,2.15l2.57,0.54l1.7,2.19l2.02,0.42l1.63,0.73l0.65,1.86l0.5,5.06l-0.07,1.48l-0.27,0.28l-0.29,0.01l-1.21,-1.49l-4.01,-3.64l-1.32,-0.49l-1.28,0.69l-3.11,0.54l-1.92,0.86l-0.41,0.62l0.17,0.49l1.31,1.11l0.04,1.25l0.68,1.51l1.09,0.59l1.64,0.17l1.16,1.61l-3.98,1.51l-0.47,-0.26l-0.24,-1.31l-2.13,-1.2l-1.23,-0.26l-0.96,-0.77l-0.53,0.03l-0.67,0.67l0.43,2.7l1.21,1.72l2.8,6.72l0.16,1.11l-0.37,2.26l1.29,2.3l-1.48,-1.02l-1.97,-2.38l-0.69,-1.5l-1.16,-0.35l-1.89,0.44l-1.62,3.29l-0.04,1.39l-0.21,-0.11l-0.53,-0.44l-0.06,-2.98l-1.96,-2.81l-0.93,-0.41l-1.11,-1.88l-0.41,-0.16l-1.04,0.23l-0.97,0.71l-0.56,3.35l-1.68,-1.57l-2.02,-3.26l-0.05,-1.6l1.53,-1.91l-0.24,-1.37l-1.56,-2.52l-2.1,-1.55l-1.1,-0.44l-0.63,-1.66l-2.03,-1.46l2.41,-2.02l1.21,-2.49l1.74,0.55l1.49,-0.17l2.34,-2.4l1.5,0.09l3.86,2.05l4.28,1.21l2.03,1.0l1.29,1.08l1.71,0.38l0.46,-0.42l-0.23,-1.23l2.57,-0.15l0.74,-0.53l0.42,-1.05l-0.47,-0.67l-1.03,-0.49l-1.47,-0.29l-0.73,0.18l-1.18,-0.46l-5.55,-3.19l-0.57,0.13l-0.44,0.74l-0.71,0.36l-1.11,0.06l-3.71,-0.92l-2.15,0.71l-4.25,0.68l-1.88,-2.53l-0.6,0.34l-0.26,1.46l-1.28,0.35l-0.68,-0.45l-1.66,-4.25l-1.61,-1.93l-1.24,-0.53l-0.08,-0.77l0.07,-0.5l1.17,-0.16l2.36,0.85l0.88,-0.23l0.71,-0.78l-0.49,-1.83l-2.98,-0.34l-1.94,0.42l-0.66,-0.31l-3.3,-3.44l-2.27,-1.18l-1.43,-3.35l-1.02,-1.26ZM675.16,600.88l1.34,-0.04l2.3,1.22l1.04,1.37l-1.41,-1.3l-3.27,-1.24ZM707.89,661.28l-0.16,0.18l-0.36,-0.27l0.41,0.1l0.11,-0.02ZM708.79,660.68l0.03,-0.08l0.05,0.06l-0.08,0.03ZM703.69,645.69l0.95,-0.85l2.01,-0.19l-0.72,0.46l-2.24,0.58ZM672.76,675.97l0.47,1.17l1.83,0.46l1.71,-0.13l0.86,-0.89l0.55,-0.01l0.13,0.28l-0.96,0.59l0.02,0.55l1.05,0.63l0.84,-0.04l0.27,0.97l0.84,0.59l1.91,-0.04l3.7,-0.9l3.66,0.22l1.49,0.98l2.58,0.12l2.39,0.5l3.4,-0.62l-0.05,2.83l0.84,0.58l0.89,-0.12l0.88,-0.75l1.68,-0.51l1.84,0.0l1.35,-1.09l-0.21,1.46l-0.45,1.56l-0.8,0.3l-4.51,-0.1l-13.88,1.39l-0.4,-0.13l-0.14,-1.43l-0.43,-0.64l-3.49,-1.22l-7.93,-1.34l-2.54,0.18l-1.23,-0.27l-0.31,-0.42l-0.17,-1.7l0.27,-1.65l0.87,0.49l0.43,-0.08l0.58,-0.56l0.16,-1.18ZM702.17,634.63l0.83,-0.47l0.56,-1.18l-0.51,-1.11l-1.37,-1.35l-0.04,-0.53l1.75,-0.34l1.57,0.89l0.07,3.17l-0.61,0.53l-0.14,0.76l-0.95,0.65l-1.15,-1.03ZM698.48,599.9l-0.88,0.24l-0.94,-0.74l0.76,-0.25l1.05,0.74ZM696.85,654.58l-0.82,0.4l-0.91,-1.59l1.84,-1.64l0.35,0.34l-0.04,1.56l-0.43,0.92ZM695.75,663.45l0.09,0.3l-0.33,0.43l0.19,-0.35l0.05,-0.37ZM695.08,647.43l-0.75,0.06l0.03,-0.54l1.08,0.27l-0.36,0.21ZM690.86,607.38l1.89,-0.07l0.57,0.64l0.49,0.09l1.51,-1.04l-0.9,1.57l-0.18,1.09l-0.59,-0.12l-0.12,-0.89l-0.43,-0.38l-0.69,0.27l-0.36,0.77l-1.05,-0.22l-0.14,-1.72ZM694.65,659.11l-0.68,-0.65l-0.17,-0.27l0.96,0.71l-0.11,0.21ZM693.06,653.23l-0.77,0.86l-0.66,-0.29l0.4,-0.81l0.94,-0.5l0.09,0.74ZM690.94,644.63l1.66,0.25l0.15,0.17l-0.25,0.51l-0.46,-0.08l-1.1,-0.84ZM689.21,642.46l-0.12,0.31l-1.78,-1.57l-1.08,-1.15l-0.1,-0.51l0.59,-0.25l0.74,1.01l1.24,0.26l0.52,1.9ZM686.25,596.85l-1.26,0.42l-1.41,-0.87l0.01,-0.29l1.17,-1.42l0.98,0.08l0.69,0.96l-0.17,1.13ZM685.69,654.47l0.32,0.59l-0.13,0.1l-0.14,-0.27l-0.05,-0.42ZM682.97,623.8l0.52,0.29l0.25,0.92l-0.86,-0.54l0.1,-0.68ZM684.19,625.48l0.31,0.27l-0.27,0.07l-0.04,-0.34ZM661.67,625.04l3.09,-1.8l1.96,-0.47l1.2,1.04l0.73,1.64l0.92,0.78l4.78,2.0l3.0,0.27l1.17,1.85l-0.19,1.13l1.22,3.9l1.43,1.15l2.67,0.25l-0.01,1.43l-0.63,0.53l-1.01,-0.67l-0.75,-0.06l-1.88,-1.44l-0.34,-1.37l-2.27,-3.04l-3.76,-0.18l-1.21,-0.55l-0.6,-1.8l-4.92,-3.91l-3.14,-1.2l-1.46,0.5ZM681.22,658.91l0.47,0.25l-0.55,0.09l0.08,-0.34ZM682.34,659.06l0.37,-0.41l0.36,-0.09l0.0,0.38l-0.73,0.12ZM682.94,652.14l-0.52,-0.06l0.36,-0.53l0.24,0.11l-0.07,0.48ZM681.96,648.45l-0.28,-0.62l0.24,-0.28l0.32,0.46l-0.27,0.44ZM680.69,645.1l-0.29,0.25l0.39,-1.2l0.31,-0.03l-0.41,0.98ZM672.52,621.17l-0.6,-0.11l-0.2,-0.37l0.8,0.47ZM668.93,639.82l0.26,-0.51l0.33,0.09l-0.09,0.46l-0.5,-0.04ZM661.94,664.62l1.47,1.53l-0.51,0.98l-0.83,-0.28l-0.27,-0.48l0.14,-1.75ZM633.7,642.06l0.48,0.52l-1.17,0.88l-1.26,-1.0l-0.97,-1.4l0.5,-0.6l0.61,0.8l1.24,0.33l0.56,0.47ZM627.1,635.32l0.7,-1.67l0.81,0.42l0.52,-0.22l0.62,-1.26l0.25,1.95l1.11,0.64l1.1,1.42l-0.07,0.54l-1.85,-0.68l-0.97,0.24l-0.29,-1.09l-0.71,-0.88l-0.52,0.0l-0.69,0.6ZM630.95,631.66l0.08,0.09l-0.0,0.18l-0.08,-0.27ZM629.87,628.81l0.45,-1.93l0.83,-0.95l0.06,2.57l-0.21,0.26l-1.14,0.06ZM620.81,615.4l-0.15,-0.1l-1.04,-1.97l-2.08,-2.4l2.14,-0.65l0.9,0.56l-1.09,1.26l0.72,1.12l0.59,2.18Z",name:"Greece"},NL:{path:"M408.11,413.92l-2.98,-1.02l-2.63,0.56l-1.62,-0.68l-1.47,-0.1l-1.43,-1.16l0.86,-0.49l2.54,-0.12l1.81,0.37l3.4,2.1l2.12,-0.24l0.2,-0.64l-0.47,-0.58l-2.47,-1.11l1.44,-0.16l0.27,-0.65l-0.68,-1.17l-2.31,-2.26l1.63,-2.96l1.7,-1.22l3.79,-4.66l1.1,-2.5l1.57,-6.68l1.04,-2.07l1.58,0.51l2.03,-0.83l0.61,2.01l1.68,1.87l-0.05,0.7l-2.4,1.06l0.04,3.13l-0.72,1.49l0.08,0.43l0.54,0.48l6.52,1.61l4.07,-3.2l1.17,-1.38l-0.04,-1.42l-0.47,-1.01l-2.62,-0.56l-0.29,-0.33l0.01,-1.58l0.57,-0.88l-0.05,-0.97l-0.42,-0.31l-1.44,0.1l-1.38,-0.36l-0.26,-2.87l-0.67,-0.7l1.23,-2.18l1.06,-0.92l4.54,-1.93l2.49,-0.57l10.02,-0.62l2.06,2.07l2.84,0.79l-0.08,4.83l-1.86,4.59l-0.24,1.67l-3.48,0.08l-0.9,0.62l0.09,0.93l-0.34,0.86l0.88,1.38l1.41,0.52l1.7,-0.01l0.65,0.86l-0.19,1.84l-0.5,0.96l-3.49,2.4l-0.14,0.98l1.13,1.12l-0.6,0.77l-2.87,0.97l-1.44,-0.0l-0.68,0.49l-2.7,-0.95l-2.28,0.91l-0.97,0.89l0.08,0.97l1.84,2.22l0.1,0.74l1.31,1.87l0.06,0.56l-0.41,1.55l-1.26,2.5l0.11,0.92l0.53,0.33l-2.24,1.64l-0.78,-0.07l-0.53,0.48l0.1,0.74l0.47,0.55l1.53,0.64l0.41,0.58l-0.61,2.28l-2.95,-0.15l-0.55,-0.2l-0.58,-0.97l1.24,-1.33l0.21,-1.07l0.9,-1.71l0.16,-0.82l-0.5,-0.82l-2.67,-0.92l-1.82,-1.56l-2.38,0.42l-1.15,-0.3l-1.39,-1.09l-0.5,-1.77l-0.54,-0.52l-0.49,0.01l-1.11,1.02l-1.05,0.07l-0.27,-0.74l-0.84,-0.78l-0.46,0.02l-1.54,1.17l-1.76,-0.94l-1.73,0.91l0.02,1.2l-1.77,-0.51ZM421.28,396.41l4.65,-3.0l1.5,-0.51l0.91,0.09l0.98,0.62l-0.3,0.84l-3.92,2.87l-0.85,0.06l-2.96,-0.97ZM416.5,383.47l-1.03,1.0l-0.51,-0.26l0.29,-0.71l1.25,-1.07l-0.0,1.03ZM407.31,414.89l-2.06,1.54l-1.75,0.66l-0.79,-0.07l-2.0,-1.12l-1.46,-0.21l-1.9,0.74l-0.5,-0.59l-0.29,-1.12l2.71,-0.27l3.99,0.8l1.77,-0.71l1.2,0.56l1.08,-0.22ZM401.26,408.39l0.8,-0.2l1.99,0.12l1.27,0.97l-1.02,0.24l-1.64,-1.11l-1.39,-0.02Z",name:"Netherlands"},PT:{path:"M226.07,631.38l0.09,-1.3l-0.52,-1.53l1.89,-0.52l1.05,-0.88l0.66,-1.19l-0.29,-1.44l0.72,-1.29l1.9,-1.22l0.16,-0.48l-0.45,-0.25l-1.03,0.19l-1.33,0.85l-2.54,4.33l-2.69,0.63l-1.22,-0.39l0.0,-1.58l0.59,-1.75l0.23,-2.35l0.81,-2.11l-0.23,-1.47l1.55,-1.26l1.45,-1.94l4.21,-9.14l-0.16,-0.87l-0.43,-0.47l0.16,-1.05l1.34,-5.47l1.22,-2.52l0.34,-5.43l-1.08,-3.3l-0.9,-4.39l-0.06,-1.28l0.63,-0.63l-0.25,-0.68l-1.03,-0.09l-0.39,-0.67l0.1,-0.85l2.5,-2.7l1.86,-0.94l3.64,-1.08l0.35,0.03l0.97,1.44l-1.22,1.94l0.7,1.49l0.68,0.39l0.93,-0.07l2.18,-1.03l3.06,-0.14l2.4,0.83l1.69,0.04l2.74,-1.05l0.62,-1.31l1.58,0.47l2.24,0.09l0.56,-0.29l1.51,0.44l1.18,-0.08l0.55,0.78l-0.02,2.66l0.26,0.7l3.35,0.69l0.74,0.55l0.28,0.69l-2.34,2.39l-2.17,1.14l-1.76,1.49l-1.17,1.72l-1.44,0.74l-0.73,1.02l1.23,3.94l0.23,1.9l-0.45,3.46l0.52,1.45l-2.57,1.96l-0.37,0.82l0.17,0.84l1.64,1.7l-1.02,3.33l-0.78,1.27l-0.86,0.37l-4.59,0.03l-1.11,0.3l-0.24,0.59l1.23,2.01l1.47,1.18l0.41,1.96l1.81,3.22l1.87,0.6l0.43,0.57l-0.58,2.04l-3.14,2.99l-0.94,4.28l3.28,4.65l1.82,-0.01l-0.66,1.6l-2.21,0.66l-3.59,4.5l-0.83,2.42l1.24,5.98l-0.9,0.16l-4.53,2.49l-1.25,0.0l-2.72,-1.12l-6.2,-0.68l-2.07,0.72l-1.41,-0.02l-1.47,0.83l2.33,-5.99l-0.06,-2.49l0.35,-2.3l-0.42,-2.18l-0.73,-1.34l1.01,-3.52l-0.12,-1.83l-0.72,-1.81l2.21,0.27l0.41,-0.22l-0.07,-0.46l-0.89,-0.92l-1.23,-0.68l-1.65,0.12l-3.48,1.12ZM117.56,718.32l1.56,0.67l1.81,-0.33l2.3,1.05l-1.15,1.04l-2.21,-0.2l-2.57,-1.4l0.26,-0.82ZM10.64,654.82l-1.1,0.02l-0.19,-0.31l0.92,-0.12l0.37,0.41ZM2.49,641.55l1.09,0.17l5.02,-0.12l-0.06,0.57l-0.57,0.32l-2.41,0.29l-3.86,-0.72l-1.16,-0.85l-0.14,-0.53l0.41,-0.13l1.67,1.01Z",name:"Portugal"},NO:{path:"M728.73,12.12l0.23,0.63l1.37,0.34l2.91,-0.91l0.43,0.5l-0.87,2.15l-0.5,5.32l0.03,1.92l0.75,1.21l0.37,-0.28l1.54,-4.63l1.79,-1.59l0.63,-2.84l1.64,-3.37l1.81,-1.92l0.96,-0.48l3.49,0.08l1.42,0.68l1.34,1.62l1.13,0.76l3.32,0.75l1.46,1.46l1.05,0.06l2.14,-1.24l1.18,-0.17l2.0,1.7l-0.39,1.45l0.53,0.75l2.78,-0.09l2.24,0.55l4.31,2.89l0.39,1.18l-0.18,1.34l-6.19,1.79l-2.83,1.78l-4.44,0.67l-15.48,-1.19l-0.42,0.49l0.6,1.58l10.68,2.78l0.42,0.55l-0.32,1.59l0.21,2.36l1.07,1.15l1.47,0.42l2.61,-0.21l1.62,0.37l1.06,-0.95l0.31,-2.12l0.45,-0.29l1.14,0.5l0.61,2.27l0.6,0.49l0.57,-0.18l0.65,-1.49l4.65,0.21l0.66,2.86l-0.33,1.93l-1.15,0.59l-2.23,-0.09l-3.11,-1.22l-2.04,-1.17l-1.03,-0.06l-0.46,0.65l0.46,1.08l-0.11,0.77l-1.24,2.44l-1.18,0.9l-2.11,0.74l-6.01,1.49l-0.74,0.88l-1.92,4.09l-1.08,0.98l-1.79,0.57l-1.49,-1.94l0.15,-1.12l2.32,-2.54l2.91,-2.55l1.33,-1.95l0.02,-0.42l-2.6,-4.77l-10.07,-3.82l-4.86,-3.54l-2.12,-2.17l-2.31,-0.18l-2.22,0.59l-3.29,1.99l-2.88,1.26l-2.52,-0.53l-2.63,-0.12l-3.06,0.46l-3.09,3.3l-3.22,2.21l-0.89,1.04l-0.68,1.54l-1.52,5.34l-1.15,2.08l-0.26,1.33l0.26,3.66l-0.25,1.89l-2.12,2.23l-2.9,0.58l-1.59,1.03l-1.19,1.51l-1.11,2.84l-1.73,0.96l-1.64,-0.27l-1.4,-1.1l-5.01,-1.38l-4.52,-2.05l-2.06,-0.21l-2.25,2.22l-5.05,1.49l-2.23,0.14l-1.05,-0.74l-8.72,-1.08l-1.51,-3.09l-9.21,-9.88l-5.12,-0.19l-1.9,0.71l-1.2,1.0l-0.17,0.91l0.95,2.35l-0.45,0.52l-2.35,-0.67l-2.89,0.05l-0.9,0.78l-6.7,0.37l-0.25,0.69l2.88,2.76l0.13,1.02l-0.37,2.12l-1.03,1.82l-1.19,1.48l-2.37,1.5l0.06,0.71l3.06,1.26l-3.0,2.32l-12.25,-3.18l-3.88,-0.18l-5.25,-1.45l-1.26,0.17l-2.17,0.96l-0.21,1.5l0.39,6.19l-0.64,1.44l-2.61,3.64l-7.75,-3.12l-7.69,4.89l-2.94,6.47l-1.5,1.49l-3.45,1.03l-1.17,2.04l0.05,0.43l3.13,3.96l0.93,2.08l-0.36,2.0l-2.18,1.74l-9.23,9.65l-1.79,1.39l-0.15,0.39l0.78,3.92l-1.25,1.03l-4.43,1.86l-6.68,0.85l-0.35,0.48l1.23,7.36l-1.15,3.32l-0.93,7.54l-4.89,7.78l-6.29,7.98l0.14,0.61l5.66,2.51l0.87,4.15l-0.09,1.74l-1.0,1.6l-1.2,1.56l-10.12,-1.3l-3.0,0.54l-2.79,1.15l-1.83,1.34l-4.9,5.82l-1.7,1.6l0.35,2.44l-2.78,4.15l1.85,4.71l0.95,1.67l-1.39,1.81l0.42,4.16l-0.34,2.72l2.56,6.56l-0.15,2.34l-1.85,9.33l2.03,1.82l4.12,2.33l3.65,3.7l-0.65,2.4l-1.65,3.3l-4.52,0.59l-1.11,0.86l0.31,2.38l3.23,7.09l0.44,1.8l-0.98,2.96l-0.38,3.87l-2.51,2.69l-1.57,1.04l-2.34,0.41l-0.95,0.63l-1.44,3.47l-2.02,2.05l-0.04,1.14l1.51,5.23l-1.14,5.29l-0.86,1.68l-1.08,0.53l-0.66,-0.22l-1.62,-3.96l-7.05,-1.56l-2.46,-3.92l-0.13,-4.22l-0.52,-3.2l-0.31,-0.36l-0.44,0.18l-0.83,1.39l0.39,2.25l-2.28,1.54l0.12,1.28l0.55,0.47l-0.21,2.89l-3.22,5.07l-1.36,-0.24l-1.59,1.15l-1.18,0.14l-0.57,-1.25l-2.24,-1.81l-1.35,0.01l-0.24,0.69l1.66,1.79l-0.34,0.49l-4.57,2.18l-0.1,0.66l0.87,0.76l-0.63,0.74l-1.2,0.24l-0.9,1.31l-3.32,2.06l-5.48,5.29l-2.79,1.48l-1.93,1.51l-1.6,-0.04l-2.35,1.35l-5.42,1.13l-3.62,-0.52l-2.54,0.44l-1.12,-0.74l0.13,-0.99l-0.23,-0.57l-0.48,-0.15l-1.42,0.03l-0.43,0.44l-0.3,1.11l-1.65,-0.49l-0.19,-0.21l0.48,-0.73l1.13,-0.9l0.02,-0.61l-0.66,-0.86l-3.61,-0.1l-4.41,-2.06l-1.12,-1.16l-3.59,-1.77l-1.55,-1.81l-0.87,-1.97l0.49,-4.68l0.5,-0.49l3.02,0.98l3.54,1.8l0.77,-0.24l0.99,-1.33l1.95,-1.08l-0.0,-0.7l-0.92,-0.33l-2.81,1.2l-2.49,-1.9l0.0,-0.39l0.79,-0.82l0.27,-1.01l-0.4,-1.12l0.16,-1.06l4.66,-4.01l1.45,-0.81l0.15,-0.54l-0.62,-0.47l-1.78,0.56l-5.83,3.61l-3.78,1.24l-1.46,1.82l-1.27,0.66l-2.2,0.07l-0.41,-0.93l0.7,-4.41l0.75,-2.16l0.75,-1.38l1.39,-0.37l0.82,-1.01l3.8,1.04l1.57,-1.49l1.65,-0.23l3.06,-1.49l0.15,-0.72l-0.45,-0.3l-5.05,0.73l-0.67,-0.19l-0.29,-0.73l4.44,-4.25l0.62,-1.06l0.39,-2.03l2.7,-2.33l1.96,-0.95l0.44,0.56l-0.61,2.9l0.01,1.23l0.32,0.39l0.45,-0.24l1.8,-4.31l0.74,-0.96l0.8,-0.65l2.32,-0.59l0.69,-1.14l-0.39,-0.22l-2.64,0.24l-6.23,1.67l-2.72,1.52l-3.5,4.09l-0.42,1.66l-0.85,0.74l-1.49,0.42l-1.92,2.07l-0.87,1.66l-3.08,2.3l-1.17,1.31l-0.32,-1.44l0.18,-1.94l0.87,-1.41l0.48,-1.55l-0.55,-1.47l0.23,-0.46l2.09,0.41l1.6,-0.06l2.77,-1.1l0.18,-0.59l-0.72,-0.8l-3.19,-0.01l-1.6,-0.94l-1.3,-1.95l-0.58,-2.58l0.3,-0.56l5.03,-2.8l1.46,-1.36l-0.21,-0.69l-1.12,-0.04l-1.87,1.53l-2.49,0.88l-1.51,-1.18l-0.83,-1.34l-0.5,-2.97l-0.01,-3.47l0.81,-0.47l2.52,0.47l3.01,-0.18l6.47,-1.26l4.11,0.74l1.79,-0.06l2.68,-1.09l2.11,-0.1l1.55,0.76l0.78,0.8l0.21,1.37l0.79,0.85l0.48,0.08l0.53,-0.28l0.19,-0.51l-0.46,-2.11l6.53,-1.69l0.97,-0.77l-0.22,-0.7l-2.49,-0.22l-0.59,-1.22l1.35,-2.63l-0.14,-0.32l-0.63,-0.15l-1.62,1.45l-0.74,1.82l0.08,1.93l-1.16,0.26l-3.03,0.11l-3.76,-0.93l-0.35,-0.26l0.16,-0.79l-0.54,-0.64l-0.52,0.09l-0.77,0.93l-0.68,1.78l-1.2,0.35l-4.09,-0.68l-5.91,0.41l-2.68,0.93l-1.55,-0.11l-2.82,-1.56l-1.03,-1.16l-0.28,-3.28l3.31,-0.44l1.09,-0.62l-0.04,-0.72l-2.18,-1.12l-0.87,-1.51l-1.48,-0.65l-0.81,-1.18l-0.22,-1.9l0.22,-1.2l0.47,-0.29l1.73,0.29l4.65,-0.24l7.55,2.28l6.23,-0.44l3.58,-1.3l0.06,-0.73l-0.93,-0.4l-3.85,0.74l-3.51,-0.03l-8.9,-1.94l-2.82,0.2l-1.23,-0.38l-0.7,-1.19l0.55,-2.45l0.89,-0.41l0.79,0.65l1.21,-0.11l1.76,-1.91l0.61,-1.39l2.32,-1.33l2.5,-0.75l0.72,0.14l1.38,1.17l2.02,-0.0l5.03,-1.15l1.71,-1.38l0.08,-0.46l-0.41,-0.22l-7.2,1.24l-0.09,-0.31l1.55,-1.5l0.43,-1.2l0.86,-0.45l5.24,-0.57l2.87,0.23l4.31,0.51l2.77,1.23l1.27,-0.08l1.2,-0.35l0.66,-0.54l-0.17,-0.69l-1.96,-0.46l0.08,-0.64l3.4,-0.97l3.9,-0.23l0.29,-0.65l-1.05,-0.98l-8.54,1.25l-2.16,-0.82l-1.92,-0.02l-1.28,0.51l-3.32,0.42l0.48,-1.11l2.15,-2.94l0.74,-0.46l5.1,-1.38l2.53,-1.63l3.76,-0.26l3.04,0.43l1.55,2.02l5.55,3.15l0.45,-0.02l-0.16,-1.34l-3.67,-3.44l-1.39,-0.85l-0.91,-1.47l0.3,-1.32l0.99,-0.9l4.06,-0.56l0.95,-0.71l0.22,-1.35l-0.74,-1.02l-2.79,-0.46l-0.24,-0.78l0.35,-0.54l2.3,-1.35l3.43,-0.91l3.72,1.05l-0.85,1.42l0.03,1.1l0.36,0.34l0.97,0.09l2.5,-2.4l2.53,-0.31l2.2,-0.78l1.72,2.01l1.34,0.96l0.53,1.63l0.88,0.37l1.1,-0.94l3.3,-0.73l3.35,0.47l2.32,-0.3l0.39,-0.56l-1.06,-1.99l0.54,-1.1l2.88,-1.45l2.34,-0.5l3.37,-1.82l0.2,-0.52l-0.89,-1.59l-1.46,-0.24l3.35,-1.94l0.12,-0.61l-0.57,-0.59l-1.9,-0.53l-3.2,1.34l-2.23,1.48l0.02,0.68l1.46,1.29l-1.23,1.3l-7.99,4.24l-3.74,1.22l-1.44,-0.16l-2.06,-3.63l-0.37,-0.22l-2.26,0.2l0.56,-1.66l1.17,-1.4l2.19,-1.22l1.06,-1.46l0.91,-2.09l3.05,-2.1l4.41,-5.13l3.56,-1.63l1.42,-1.85l2.14,-0.82l1.74,-1.35l1.46,-0.17l2.61,-1.28l1.59,-1.61l-0.25,-0.68l-0.97,-0.1l-3.2,1.24l0.63,-2.53l1.77,-1.44l8.82,-4.35l2.09,1.98l2.74,-0.3l3.33,-2.63l2.45,-2.81l0.03,-0.49l-0.47,-0.15l-1.3,0.48l-4.18,2.7l-1.12,0.22l-0.44,-0.12l-0.57,-1.09l-0.96,-0.34l-0.9,0.17l-0.6,-0.51l-0.14,-1.58l1.98,-4.43l4.76,-5.24l0.87,-2.16l1.51,-0.99l2.11,0.24l0.9,-0.37l0.18,-0.55l-0.77,-1.41l-2.49,-1.33l7.75,-1.75l3.85,0.06l1.35,-0.96l2.16,-0.63l1.61,-1.13l-0.02,-0.67l-1.14,-0.54l-6.37,1.52l-4.78,0.46l-0.62,-4.09l0.41,-2.05l0.84,0.04l0.41,-0.35l0.25,-2.21l1.17,-1.2l1.9,-0.35l2.23,-1.72l2.18,0.26l2.33,-0.27l0.24,-0.68l-0.58,-0.57l-2.9,-0.8l-0.45,-0.8l1.71,-0.96l1.18,-0.24l2.91,-3.35l1.39,0.1l1.69,-1.01l1.64,0.34l4.23,-1.18l8.65,-0.18l0.38,-0.3l0.26,-1.02l-0.34,-0.5l-8.31,-0.5l-4.78,0.14l4.07,-4.74l2.62,-1.62l1.91,0.39l2.4,1.68l1.53,0.19l0.6,0.42l1.45,2.41l0.56,0.07l0.45,-0.44l-0.23,-2.02l1.45,-1.66l0.01,-0.52l-0.82,-0.63l-2.24,0.61l-1.61,-0.6l-1.3,-1.22l-0.31,-0.94l1.52,-1.58l0.08,-0.57l-0.57,-0.72l-0.5,-0.1l-3.51,1.89l-2.88,0.28l0.42,-1.34l-0.25,-1.37l3.16,-3.18l0.98,-0.33l1.73,0.25l1.89,0.97l3.07,-0.68l0.26,-0.47l-0.56,-1.23l-3.25,-0.35l-0.56,-0.49l0.13,-0.32l2.23,-0.78l2.23,-1.39l2.56,-0.4l2.05,-1.03l0.41,0.39l0.79,4.05l1.9,3.28l0.98,0.31l0.45,-0.5l-0.68,-2.59l1.33,-1.19l0.41,-0.88l-0.28,-0.53l-0.85,-0.21l-0.68,-0.84l-1.07,-2.98l0.28,-0.58l2.33,-1.59l2.94,-0.37l3.25,1.17l1.3,0.04l8.52,-1.9l0.25,-0.5l-0.23,-0.56l-2.0,-0.82l-3.16,0.52l-8.21,-0.17l-0.57,-0.4l-0.1,-0.67l0.77,-1.23l0.88,-0.71l3.04,-1.36l3.48,-0.26l3.52,-2.5l1.5,-2.11l0.74,-2.81l2.0,-2.19l5.55,-1.56l0.2,-0.9l-0.53,-1.14l0.04,-2.02l1.39,-2.44l0.86,-0.79l1.14,0.66l1.52,1.87l2.21,1.03l3.04,0.21l1.02,-0.57l-0.05,-0.7l-2.21,-1.01l-1.53,-1.21l-0.1,-0.98l0.53,-0.47l2.73,-0.08l1.64,-0.97l0.77,-2.5l2.01,-1.97l6.3,-1.3l0.22,0.25l-0.34,3.86l-0.77,2.7l0.02,1.91l0.29,0.38l0.45,-0.16l1.34,-2.01l1.72,-5.22l1.26,-2.39l1.36,-1.31l3.1,-1.38l0.59,1.45l-0.72,4.51l0.06,1.44l-0.77,1.82l-3.14,4.28l0.08,0.89l0.5,0.28l2.12,-1.02l3.78,-3.96l3.22,0.49l0.46,-0.35l-0.06,-0.66l-2.39,-2.32l-0.35,-1.26l0.17,-3.66l0.84,-1.24l4.41,-0.04l0.96,0.67l1.78,-0.05l0.35,-0.24l1.13,-2.54l2.03,-0.2l2.09,1.77l2.52,1.2l2.02,1.73l0.51,0.0l0.58,-0.48l0.13,-0.41l-1.11,-4.11l-1.29,-1.65l-2.78,-0.9l-2.72,-1.79l-0.53,-0.8l2.15,-0.51l3.46,0.62l2.73,-1.45l0.94,0.35l2.03,-0.73l1.6,1.01l1.09,-0.57l0.42,-1.26l3.24,-0.82l2.1,0.78l1.07,0.76l1.38,4.8l1.87,1.95l1.31,0.98l1.7,0.08l0.63,-0.88l-0.06,-0.53l-1.14,-0.99l-0.26,-0.79l0.54,-2.31l0.62,-0.89l3.76,-3.66l3.08,-1.86l2.11,-0.31l3.32,-4.31l0.84,-0.7l0.78,-0.16l0.31,-0.47l-0.22,-1.07l-1.84,-0.88l-0.04,-0.83l2.28,-1.52l2.84,-2.62l1.15,-0.15l0.87,0.7l2.81,1.2l3.03,2.11l1.09,-0.1l1.51,-1.52l1.59,0.24l2.48,1.05l0.09,0.44l-1.4,0.88l-5.34,5.55l-0.92,1.62l-0.88,4.07l-2.09,2.72l-0.04,2.12l1.23,0.95l2.43,-0.75l2.81,-2.41l0.8,-2.66l6.95,-6.9l3.3,-3.87l3.66,-3.14l1.68,-0.53l0.78,1.68l-0.73,2.55l-1.53,1.7l0.07,0.6l0.98,0.67l-0.8,4.29l0.01,1.07l0.5,0.38l5.56,-2.51l2.31,-4.33l0.49,-1.52l1.51,-1.3l3.07,-0.01l0.39,-0.32l-0.08,-1.02l-3.77,-1.98l-0.27,-0.54l4.51,-3.24l1.64,0.23l1.19,0.54l4.36,0.4l3.1,1.53l-0.11,2.24l-0.67,0.96l-0.67,0.6l-4.3,1.96l-0.87,1.1ZM756.8,33.48l-2.19,0.6l-0.05,-0.09l1.06,-2.35l0.65,0.05l1.44,1.11l-0.91,0.68ZM694.5,3.24l3.24,-1.93l3.48,0.91l1.18,-0.0l1.68,1.66l0.73,0.04l-0.05,0.28l-1.54,0.43l-3.26,0.51l-2.15,-0.15l-1.48,-1.46l-1.85,-0.29ZM676.11,14.77l-2.24,0.85l-1.26,-0.71l-0.51,-0.7l-0.08,-1.73l0.28,-0.94l0.87,-0.43l3.59,2.07l-0.64,1.59ZM670.58,15.65l0.31,1.83l-1.11,1.19l-2.87,1.76l-0.12,0.61l-0.64,0.29l-1.35,0.3l-0.41,-0.17l0.09,-1.24l-0.29,-0.67l-0.54,-0.17l-0.94,0.5l-0.82,-0.53l0.24,-1.01l0.99,-0.93l1.66,-0.64l1.41,0.18l3.74,-2.54l0.64,1.25ZM668.13,9.06l-0.57,1.15l-4.23,3.85l-1.79,0.48l-1.29,0.76l-2.24,-0.41l-1.54,1.06l-2.45,0.03l-2.48,-1.12l-1.76,-1.58l2.44,-0.24l1.51,0.21l1.19,-1.09l1.94,0.11l3.8,-0.75l1.7,0.33l3.15,-2.48l1.07,0.02l1.3,-0.61l0.25,0.27ZM632.13,26.52l-1.42,0.6l-1.43,-0.54l-0.88,0.07l-0.57,-0.73l0.06,-0.58l0.93,-1.0l2.01,-0.61l1.59,0.25l-0.3,2.55ZM618.46,23.91l0.85,0.4l1.16,0.04l1.08,1.22l1.16,0.66l-0.83,0.46l-2.68,-0.01l-0.82,-1.9l-1.32,-1.37l-0.11,-0.62l0.52,-0.08l0.99,1.21ZM611.42,27.32l1.31,1.58l1.41,0.0l0.98,-0.71l1.05,0.5l-0.13,0.73l-2.0,1.5l-1.38,2.01l-1.62,0.43l-1.14,-0.16l-1.71,1.26l-2.75,2.91l-0.3,1.36l-6.62,1.0l-1.74,-0.48l-0.67,-0.77l1.82,-0.35l0.35,-0.37l0.05,-0.86l1.11,-0.95l0.41,-1.1l0.5,-0.21l1.67,0.18l1.11,-0.91l0.51,0.57l0.68,-0.15l0.32,-1.04l-0.18,-1.5l1.77,-1.6l0.83,-1.23l0.97,-0.66l0.97,0.11l0.43,-0.29l0.32,-1.16l-0.2,-1.95l0.85,-1.63l0.54,-0.04l0.39,1.32l0.08,2.68ZM588.18,39.31l1.24,1.04l2.37,-0.47l1.73,1.23l1.09,0.15l0.79,2.15l-0.6,0.87l-1.19,0.73l-0.29,1.48l0.32,1.44l-4.59,0.78l-0.96,-0.77l-0.48,-0.01l-2.23,1.59l-2.19,2.45l-0.49,0.13l-0.3,-0.65l-1.59,-0.54l-1.71,-0.05l2.13,-1.1l0.35,-1.26l-0.3,-2.33l0.35,-1.67l0.84,-0.67l3.6,0.4l0.4,-0.21l0.46,-0.84l-0.29,-0.91l-1.77,-0.93l1.26,-0.6l1.26,-0.07l0.78,-1.35ZM564.03,63.2l0.26,0.57l0.6,-0.03l1.78,-2.18l1.94,-0.67l1.19,-1.96l-0.08,-1.16l0.3,-0.74l1.54,-0.58l0.51,-0.13l1.1,0.7l1.51,2.7l-0.32,1.68l-2.27,1.42l-2.05,0.76l-1.97,1.76l-0.98,1.4l-0.62,0.23l-0.99,-0.45l-1.0,-0.0l-1.33,1.3l-3.11,0.95l-0.9,-0.2l-0.04,-0.94l-0.45,-0.38l-0.78,0.1l-1.44,1.55l-1.76,0.57l-1.75,-0.49l-3.97,2.48l-3.63,0.45l-0.87,-0.2l-0.0,-1.04l4.21,-3.17l6.82,-0.95l4.52,-4.21l1.14,-4.61l0.98,-1.56l-0.46,-1.31l-1.13,-0.33l-0.05,-0.99l0.54,-1.38l3.49,-3.01l2.0,-2.51l0.83,-0.49l0.9,0.0l0.78,0.48l-0.15,1.02l-1.58,2.35l-2.55,2.45l0.3,1.51l0.99,1.32l0.28,3.88l-1.79,2.64l-0.46,1.42ZM556.54,54.46l2.5,3.67l-0.58,2.34l-1.51,1.17l-4.24,0.12l-0.93,-0.51l-0.38,-0.83l-0.68,-0.21l-2.02,0.91l-1.06,0.11l-1.33,-0.6l-0.27,-0.72l2.17,-2.25l1.51,0.08l1.57,0.56l0.44,-0.22l0.64,-1.34l0.13,-1.3l1.99,0.41l0.48,-0.39l0.0,-2.2l0.64,-0.04l0.9,1.25ZM538.67,70.65l0.96,0.42l1.95,-0.11l-0.84,0.76l-1.83,0.42l-1.5,1.47l-2.63,0.27l-1.11,0.86l-0.71,-0.54l-0.6,0.13l-0.45,1.35l-1.52,0.4l-0.29,-1.54l1.17,-1.47l1.83,-0.2l1.4,-1.9l1.86,-0.52l2.31,0.17ZM526.33,79.08l-1.04,0.64l1.42,-3.36l1.2,-1.04l0.24,0.17l-0.26,1.89l-1.56,1.71ZM520.21,124.0l-0.58,0.03l0.0,-0.36l1.34,-1.14l2.38,-0.19l-3.14,1.65ZM519.02,120.83l-0.67,0.08l1.06,-1.26l0.6,-1.36l0.56,-0.36l0.86,0.5l0.02,0.92l-0.5,0.9l-1.93,0.59ZM512.64,130.29l-0.68,0.52l-1.32,-0.35l0.37,-0.91l0.78,-0.38l1.19,0.26l-0.35,0.85ZM502.61,147.16l-0.44,0.38l-1.54,-0.44l-3.0,0.37l-0.68,-0.32l0.6,-0.7l2.65,-1.15l1.27,0.05l1.27,1.24l-0.12,0.58ZM465.49,173.05l-1.51,-0.0l4.89,-1.52l0.48,-0.61l0.39,0.44l-0.14,0.94l-4.11,0.75ZM460.35,180.13l-2.56,-0.29l-0.84,-0.71l3.06,-1.01l0.58,0.58l0.05,1.08l-0.3,0.36ZM418.13,241.28l1.08,2.55l0.03,1.89l-0.6,-0.09l-0.57,-1.19l-0.17,-2.75l0.22,-0.42ZM417.53,227.52l-1.35,0.07l0.25,-1.42l0.69,-0.25l0.54,0.73l-0.13,0.88ZM229.04,8.0l-1.2,-0.01l1.39,-1.16l5.98,-2.82l2.44,-2.71l4.12,-0.83l0.21,1.05l-0.27,1.57l-3.83,1.4l-4.49,1.0l-4.36,2.51Z",name:"Norway"},LI:{path:"M479.66,489.8l0.02,-1.42l0.15,-0.43l0.74,1.46l-0.19,0.45l-0.72,-0.06Z",name:"Liechtenstein"},LV:{path:"M693.81,289.47l3.55,1.99l1.99,0.57l1.08,0.9l2.53,0.56l0.49,0.96l3.62,3.6l2.41,1.22l1.17,0.26l5.65,-1.51l2.97,1.36l4.19,0.48l0.5,1.6l3.78,2.51l0.01,1.64l-0.9,1.1l-0.62,1.56l-0.11,1.55l-0.95,2.51l0.51,0.58l2.08,-0.43l0.37,0.17l0.31,0.4l0.24,1.72l1.27,1.73l0.34,1.03l1.18,0.95l1.31,5.24l-0.59,1.84l-1.52,0.28l-1.91,1.15l-3.42,3.12l-0.81,2.06l-7.03,-0.58l-1.55,0.46l-1.71,1.91l-2.96,0.71l-2.36,-0.64l-1.52,-0.83l-2.67,-2.8l-5.8,-4.02l-1.15,-0.52l-6.83,-1.31l-1.59,-2.24l-0.54,-1.35l-1.1,-0.49l-2.14,0.57l-3.02,1.85l-4.67,0.37l-4.2,-1.24l-8.35,-0.73l-1.97,0.8l-1.07,-1.05l-1.26,-0.31l-1.54,0.36l-2.45,0.04l-6.91,-0.6l-5.95,1.81l-7.73,4.37l-0.35,-2.96l0.22,-7.21l0.51,-3.44l2.41,-2.01l1.33,-1.71l0.8,-2.32l0.72,-3.67l3.52,-4.67l2.8,-0.51l7.98,-2.39l1.23,2.38l6.53,5.21l2.21,4.68l4.89,2.3l4.09,-0.69l4.9,-3.24l1.55,-1.77l0.29,-1.57l-0.55,-6.25l-0.82,-2.71l0.2,-1.21l10.32,-3.79l1.64,1.26l0.73,-0.15l0.24,-0.81Z",name:"Latvia"},LT:{path:"M639.02,342.33l-0.39,-1.13l0.47,-2.2l-2.37,-6.79l-0.19,-4.61l7.95,-4.51l5.74,-1.75l6.79,0.61l2.53,-0.04l1.39,-0.36l1.04,0.26l1.27,1.12l1.22,-0.19l0.91,-0.62l8.2,0.71l4.28,1.25l4.86,-0.4l3.12,-1.88l1.75,-0.52l0.54,0.16l0.53,1.3l1.95,2.56l6.96,1.34l0.97,0.45l5.67,3.93l2.72,2.84l1.7,0.92l2.31,0.66l-0.34,1.84l-1.48,3.87l0.12,0.41l0.75,0.57l3.29,0.4l-1.48,1.08l-0.6,1.26l-4.13,-0.12l-0.74,0.49l-0.95,2.16l-0.97,0.67l-1.73,0.29l-1.62,0.68l-1.11,1.7l-0.79,2.17l0.04,2.82l-1.39,1.93l-1.03,2.49l0.51,0.92l1.76,0.29l0.48,0.48l0.08,1.37l-2.03,0.25l-0.64,-0.28l0.32,-0.85l-0.29,-0.93l-0.72,-0.7l-0.47,-0.03l-1.13,0.71l-1.24,0.04l-1.41,0.69l-1.0,1.14l-0.71,0.33l-2.58,-0.13l-0.73,0.71l-0.6,2.36l-1.96,-0.05l-3.92,1.55l-1.77,-1.04l-4.31,0.27l-1.89,0.43l-3.01,-0.41l0.02,-2.29l-0.39,-1.31l-1.24,-1.24l-2.8,-1.58l-1.61,-0.43l-0.45,-0.8l-1.72,-0.82l-1.06,-0.13l-0.74,0.5l-0.85,-1.99l0.06,-1.19l1.96,-5.08l-0.06,-0.83l-1.32,-1.32l-1.45,-0.78l-1.11,-1.78l-6.66,-0.08l-2.63,-0.68l-4.3,-1.77l-2.12,-1.44l-2.03,0.1Z",name:"Lithuania"},LU:{path:"M433.15,437.03l-0.02,1.54l0.46,1.19l0.9,1.05l1.71,1.44l2.06,0.7l-0.04,1.05l-1.43,1.94l-0.47,2.14l-1.81,-0.59l-2.33,0.93l-2.45,-1.16l1.0,-2.17l-2.04,-2.82l0.23,-1.64l1.61,-2.82l1.29,-1.3l1.16,0.19l0.17,0.33Z",name:"Luxembourg"},FO:{path:"M263.24,203.53l-0.39,0.92l-0.69,-0.21l-0.02,-1.73l1.1,1.03ZM260.24,213.24l-2.12,-1.39l-0.34,-0.59l2.22,0.79l0.37,0.54l-0.11,0.65ZM259.07,209.25l-3.26,-2.64l-1.87,-3.49l2.24,-0.5l4.06,1.71l-0.25,2.13l-1.84,-0.94l-0.67,0.61l-0.01,0.73l1.6,2.38ZM257.22,217.52l1.57,0.48l0.55,2.18l-1.8,-1.85l-0.31,-0.8ZM252.95,206.27l1.28,0.96l-1.0,0.36l-0.92,-0.12l-1.48,-0.53l-0.27,-0.64l1.89,-0.23l0.51,0.19Z",name:"Faeroe Is."},PL:{path:"M543.65,368.02l2.24,0.2l4.48,-1.73l7.75,-2.26l8.26,-2.12l3.9,-0.68l5.16,-4.95l4.31,-0.78l5.16,-2.51l7.82,-1.63l3.25,-0.36l3.12,-0.04l2.21,1.0l-0.57,-0.04l-0.39,0.57l2.05,4.35l1.16,1.6l2.4,1.27l2.0,0.42l5.97,-0.69l2.69,-1.31l8.11,0.66l26.59,1.14l7.65,0.18l1.4,-0.84l1.75,0.49l1.01,1.2l3.12,1.15l2.17,1.68l0.33,1.05l-0.04,2.27l1.64,6.67l2.6,6.11l1.31,4.41l0.39,3.77l-0.18,1.9l-0.61,0.58l-4.89,2.03l-1.01,0.69l-2.89,3.33l-0.47,1.1l0.51,0.99l3.51,1.58l1.85,1.18l0.6,0.91l-0.02,1.06l-0.57,1.63l0.2,1.32l-1.03,1.7l-0.08,2.01l1.61,3.05l0.13,2.59l2.67,3.26l1.68,3.35l1.47,1.21l-1.11,0.52l-0.48,0.6l1.52,3.27l-0.05,1.28l-1.46,1.98l-3.57,0.67l-4.09,3.59l-5.08,4.9l-5.28,6.4l1.06,4.51l-0.36,2.22l1.95,1.75l-0.24,0.41l-2.87,-0.93l-1.5,-0.09l-5.93,-2.17l-0.67,-1.45l-1.17,-0.92l-3.61,-1.28l-3.95,-0.3l-3.67,0.18l-1.34,1.47l-1.49,0.35l-1.84,-0.96l-1.53,-0.38l-3.52,0.1l-3.01,1.33l-0.84,0.92l-0.53,1.22l-1.56,-0.57l-1.82,0.42l0.34,-0.9l-0.2,-1.86l-0.8,-0.59l-1.18,-0.23l-2.68,-3.4l-0.49,0.01l-2.67,1.6l-1.25,1.8l-1.91,0.05l-0.36,-1.5l-1.45,-0.45l-0.45,-1.77l-2.8,-2.47l-0.57,-2.25l-0.76,-0.46l-2.28,-0.49l-0.66,0.22l-3.69,-2.09l-0.89,0.68l-1.68,0.28l-1.96,-2.02l-0.78,-0.32l-0.18,-0.17l1.22,-0.48l0.56,-0.84l-0.17,-1.46l-0.42,-0.42l-2.29,0.71l-1.7,0.16l-3.57,-2.18l-3.74,-0.88l-0.39,0.17l-0.17,0.62l1.62,2.71l-1.84,0.82l-1.61,1.27l-0.79,0.19l-3.93,-4.52l-1.56,-0.77l0.71,-0.74l1.08,-0.38l0.91,-1.37l-0.16,-0.72l-1.84,-1.31l-3.84,0.66l-0.82,-0.97l-2.85,-1.21l-5.03,-1.25l-0.92,-1.11l-0.5,-1.57l-3.64,-1.01l-0.61,0.61l0.01,1.78l-1.35,0.36l1.83,-3.66l0.72,-3.12l-1.56,-3.9l-2.48,-1.15l0.28,-1.67l-1.8,-3.51l0.94,-1.3l1.05,-3.2l-0.68,-0.86l0.02,-1.7l-0.35,-0.77l-0.98,-0.65l-0.68,-1.21l0.8,-3.27l-1.53,-2.24l-3.5,-2.48l-1.54,-1.59l0.1,-0.7l0.63,-0.77l1.41,-0.89l1.02,-1.45l0.65,-1.93l0.03,-1.7l-1.56,-5.02l-0.4,-2.5l3.71,1.43l0.56,-0.46l-0.4,-1.21l0.07,-2.13l-0.31,-0.36l-4.44,-0.86l-0.11,-0.47ZM603.71,353.39l0.66,0.35l-0.21,-0.08l-0.46,-0.27Z",name:"Poland"},XK:{path:"M623.28,565.63l0.23,-1.37l-0.65,-1.57l1.63,0.09l0.64,-0.79l3.48,-1.07l0.27,-0.76l-0.2,-0.76l1.93,-1.27l0.5,-0.84l0.09,-0.77l-0.53,-1.12l1.95,-0.93l0.57,1.38l2.88,1.35l2.09,2.07l0.37,0.86l2.01,1.19l-0.14,1.07l0.28,0.43l4.62,1.2l-1.88,4.12l-1.1,0.72l-0.15,0.66l0.36,0.88l-1.97,0.42l-0.92,0.69l-0.55,1.2l-1.4,-1.12l-1.41,-0.04l-3.96,1.67l-0.59,1.07l-0.11,1.91l-0.39,0.51l-1.14,-0.15l0.02,-2.13l-1.26,-3.53l-1.98,-1.52l-1.41,-0.49l-2.18,-3.23Z",name:"Kosovo"},CH:{path:"M474.98,480.14l0.93,1.21l2.74,1.45l1.43,0.09l0.68,0.53l-1.86,4.76l-0.08,1.49l0.52,0.93l1.74,0.08l2.81,0.78l0.54,1.22l3.54,1.51l1.02,-0.27l2.12,-1.93l0.51,0.2l0.41,1.32l-0.75,3.44l0.56,0.97l-0.02,0.65l-1.65,-0.23l-1.29,-0.99l-1.55,0.38l-0.6,1.17l-0.22,1.86l0.55,0.63l0.74,2.52l-0.69,0.02l-1.59,-2.16l-0.91,-0.09l-3.3,1.21l-1.21,-0.13l-0.52,-0.58l-0.68,-2.14l-0.42,-0.32l-1.84,-0.17l-0.8,0.69l-0.12,3.09l-3.34,4.57l-0.07,0.81l0.58,1.67l-0.72,0.36l-0.75,-1.36l-1.21,-1.09l0.49,-0.82l-0.08,-0.63l-2.59,-0.79l-2.33,-2.15l-0.24,-3.0l-0.6,-0.57l-0.93,0.09l-1.91,1.79l-1.9,1.26l-0.23,0.68l0.55,1.27l-1.71,2.33l-2.51,1.44l-3.3,-0.92l-3.01,1.12l-2.56,0.51l-0.83,-0.33l-1.26,-1.8l-2.35,-2.36l0.54,-1.67l-0.64,-1.73l0.1,-0.55l-0.58,-0.62l-2.44,-0.37l-2.11,0.11l-1.59,0.66l-1.5,1.42l0.49,1.3l-0.73,0.74l-1.4,0.72l-1.06,0.03l-0.01,-0.52l1.69,-1.25l0.38,-1.74l-0.82,-1.03l1.23,-2.71l3.31,-2.41l0.66,-3.3l2.81,-1.32l3.99,-4.25l0.72,-1.16l-0.34,-0.8l-0.94,-0.37l0.69,-0.76l1.01,-0.54l0.9,-0.01l0.97,0.98l2.09,-0.03l1.04,-0.38l1.17,-1.66l1.37,-0.65l1.08,0.36l3.11,0.1l2.31,-0.21l1.45,-0.53l3.48,0.18l1.83,-0.89l0.01,-0.53l-0.38,-0.39l-1.8,-0.11l0.3,-0.51l1.54,-0.64l2.09,1.29l1.19,-0.13l0.95,0.88l3.86,-0.25Z",name:"Switzerland"},AD:{path:"M373.44,566.17l-1.46,0.73l-1.49,0.29l-0.26,-1.45l0.13,-0.56l0.71,-0.55l2.52,0.57l0.23,0.31l-0.38,0.67Z",name:"Andorra"},EE:{path:"M681.02,292.17l1.82,-4.13l0.34,-3.01l0.83,-0.92l-0.26,-1.25l-2.11,-0.9l-0.93,0.07l-1.54,1.86l-1.37,0.39l-1.34,-0.75l-3.16,-1.02l-0.72,-1.23l-0.33,-1.62l-1.67,-1.33l-0.63,-1.43l0.21,-0.83l1.41,-0.67l0.61,-0.79l-0.35,-0.63l-2.02,0.06l-0.86,-2.23l1.02,-1.49l-0.57,-0.94l0.62,-1.45l-0.25,-1.46l3.54,-1.43l4.03,-0.33l0.36,-0.5l-0.29,-1.14l1.37,-0.12l2.65,-1.86l2.78,0.31l3.93,-1.31l7.61,0.02l1.28,-0.85l-0.01,-1.46l3.45,0.02l9.0,1.62l2.2,0.01l2.99,1.6l1.75,0.46l4.98,0.02l7.53,0.73l1.76,-1.2l1.2,1.24l0.06,0.35l-0.81,0.25l-0.7,0.83l-0.89,0.08l-0.75,0.46l-2.01,4.63l-1.0,1.16l-1.86,-0.45l-3.15,0.26l-2.71,0.88l-1.96,1.68l-0.01,1.85l2.53,3.07l1.06,3.8l1.27,1.16l1.32,1.87l0.64,1.7l2.36,4.15l0.34,1.32l1.41,1.24l-3.15,1.13l-0.66,1.42l-1.29,1.24l-0.65,2.49l-1.76,-0.23l-3.1,-1.39l-1.03,0.03l-4.85,1.48l-0.81,-0.22l-2.13,-1.06l-3.53,-3.51l-0.79,-1.2l-2.57,-0.57l-0.91,-0.82l-2.12,-0.63l-3.1,-1.88l-0.9,-0.23l-0.43,0.19l-0.22,0.83l-1.92,-1.29l-2.69,1.15l-6.13,1.9l-1.25,0.77ZM666.97,278.74l-0.76,0.14l-2.16,-1.14l0.85,-0.76l1.89,0.49l0.18,1.27ZM647.68,284.33l1.21,-1.0l0.33,-0.88l-1.4,-2.14l1.14,-0.04l1.0,0.59l1.87,-0.79l0.73,0.23l0.47,-0.18l0.75,-1.3l2.77,-0.86l1.92,0.59l1.76,-0.47l1.78,0.29l4.32,2.36l-2.29,0.37l-1.11,1.14l-0.83,0.23l-3.35,2.53l-2.91,-0.1l-1.98,0.46l-1.39,1.11l-0.69,2.3l-0.93,1.54l-0.87,0.51l-0.69,0.06l-0.04,-0.64l2.71,-3.11l-0.23,-0.59l-1.05,-0.32l-2.99,-1.89ZM661.53,273.2l-1.11,0.89l-0.64,-0.61l-0.66,0.02l-1.35,2.09l-1.33,0.31l-0.56,-0.26l0.03,-0.74l-1.12,-2.39l-1.41,-0.64l-2.39,-0.33l4.37,-0.49l1.83,-2.15l0.62,-0.09l0.4,0.14l0.6,1.28l2.34,0.45l0.84,1.22l0.26,1.21l-0.72,0.09Z",name:"Estonia"},IS:{path:"M31.07,119.93l0.78,-1.15l1.61,-0.28l4.07,2.06l0.46,0.86l-0.12,0.97l0.59,0.58l1.15,-0.26l1.6,0.23l1.28,-1.18l0.53,0.18l0.52,0.85l-0.08,2.47l0.67,0.18l0.77,-0.74l1.34,-0.06l0.57,-0.82l-0.3,-3.42l-5.08,-2.02l-1.59,-1.09l2.14,-0.53l3.31,0.02l0.54,-0.25l0.04,-0.67l-0.81,-0.56l-1.45,-0.29l-0.78,-0.84l-1.8,0.29l-3.49,-0.24l2.65,-1.57l2.25,0.17l2.17,-0.28l1.66,0.32l3.37,2.7l2.76,1.16l4.63,3.74l2.86,1.41l-1.29,0.67l-0.13,0.64l1.85,0.74l0.89,0.81l-0.88,3.03l-0.82,0.75l-2.59,-0.54l-0.41,0.17l0.0,0.45l0.8,1.08l1.88,0.98l0.21,1.15l1.01,-0.03l-0.8,1.9l0.1,0.7l1.67,0.26l0.95,0.72l1.35,3.36l0.72,-0.03l0.75,-2.67l0.28,-0.71l0.75,-0.57l0.78,-2.62l1.71,-1.48l1.4,-0.51l1.72,1.83l1.05,0.29l0.7,-0.3l1.38,-3.46l0.17,-2.52l-0.4,-2.63l0.22,-1.76l0.73,-0.96l0.91,-0.28l1.25,0.39l0.94,0.63l2.01,2.62l3.17,2.99l0.89,0.55l1.58,0.24l0.92,-0.75l-0.16,-4.45l0.82,-1.73l2.45,-0.49l2.78,-1.42l1.76,-0.48l1.69,0.98l3.36,3.79l2.41,1.8l1.51,3.25l0.57,0.25l0.7,-0.5l0.28,-0.64l0.06,-1.56l-2.91,-5.85l0.12,-0.95l4.9,0.32l1.06,0.59l2.5,2.56l1.27,0.86l2.2,-1.44l3.52,-3.91l0.88,0.12l1.88,1.21l1.36,0.43l1.36,-0.19l3.5,-1.42l1.05,-2.16l-1.46,-3.81l0.41,-0.5l3.14,-0.9l2.77,-0.07l4.05,3.55l0.28,1.79l2.4,1.38l1.69,0.07l2.54,-0.77l3.73,-2.29l1.42,-0.45l1.92,0.1l-1.26,0.29l-1.68,1.06l-2.97,3.92l0.2,0.85l1.53,0.97l1.58,0.53l1.58,-0.44l0.86,0.67l0.33,1.12l-0.24,1.28l-1.95,2.46l0.08,0.82l1.38,0.42l4.66,-0.73l0.73,2.3l-1.88,1.76l-0.05,0.52l0.51,0.13l2.27,-1.14l1.71,-0.31l3.01,0.56l1.14,0.59l0.7,1.09l0.47,0.16l1.26,-0.35l0.48,0.46l0.02,0.45l-0.66,1.81l-1.5,0.63l-0.34,0.8l1.16,1.48l1.0,0.19l-0.24,0.7l-1.16,0.7l0.08,0.68l2.27,1.05l0.19,0.64l-0.48,1.12l-0.53,0.32l-1.6,0.06l-1.19,0.49l-0.2,0.53l0.29,1.51l-0.28,1.02l-1.26,1.62l-1.18,0.86l-1.1,0.53l-2.03,-0.19l-1.14,-0.44l-0.54,0.41l0.11,1.26l-1.04,0.78l-0.14,0.44l0.6,1.18l-0.67,1.57l-0.9,0.98l-3.26,1.43l-1.83,1.28l-1.16,0.47l-3.2,-0.01l-3.29,0.86l-4.61,1.78l-3.14,1.45l-5.52,4.21l-2.25,1.06l-3.96,0.53l-11.96,2.76l-1.63,1.96l-0.06,0.36l0.49,0.61l-0.73,0.94l-1.63,0.77l-2.27,-0.71l-0.55,0.49l0.36,0.92l-5.26,1.22l-8.0,-0.75l-7.17,-2.03l-5.63,-0.41l-3.77,-2.65l0.22,-0.77l1.52,-0.44l-0.0,-0.49l-0.69,-0.87l-0.47,-0.12l-2.39,1.47l-0.55,-0.03l-0.77,-0.45l-0.38,-0.76l-1.96,-0.22l-3.31,-1.72l0.52,-0.39l0.0,-0.65l-0.33,-0.19l-2.03,0.09l-2.76,1.66l-16.08,0.58l-1.0,-3.65l0.36,-0.95l1.51,1.48l0.97,0.46l6.2,-1.75l2.75,-2.48l1.93,-3.05l1.4,-0.87l1.88,-0.27l0.34,-0.36l-0.28,-0.41l-1.27,-0.41l-1.34,-0.02l-4.72,1.83l1.48,-0.95l0.18,-0.44l-1.34,-0.54l-0.03,-0.6l0.62,-1.17l3.21,-1.73l1.31,-0.36l0.35,-0.36l-0.06,-0.61l-1.56,-0.48l-3.34,1.84l-2.33,0.61l-1.77,-0.77l-0.77,-0.91l1.13,-1.61l-0.17,-0.76l-3.1,-1.61l-3.64,0.07l-8.59,-0.77l-6.31,1.85l-1.28,-0.73l-1.11,-1.62l0.13,-0.38l1.65,-0.52l2.39,0.23l5.12,-0.99l1.5,-0.94l1.31,0.76l2.88,-0.83l1.42,-0.89l2.48,0.42l1.48,-0.31l8.37,-0.29l1.38,-1.45l0.5,-1.5l-0.27,-0.67l-0.47,-0.14l-3.45,1.35l-4.68,-0.73l-1.02,-0.57l2.26,-1.62l5.53,-2.4l0.77,-0.48l0.26,-0.86l-0.23,-0.42l-2.19,-1.02l-4.15,0.23l-1.15,-1.19l-3.44,-0.72l-2.3,0.42l-1.42,-0.69l-2.96,1.01l-6.52,1.47l-3.87,1.32l-4.32,-1.72l-3.0,-0.29l1.48,-1.5l1.08,-0.26l1.12,0.14l2.43,1.18l1.66,0.37l0.45,-0.21l-0.1,-0.48l-1.92,-1.6l-0.12,-1.55l-1.18,-1.48l2.13,0.26l4.18,1.93l1.95,-0.34l2.6,-1.25l0.09,-0.71l-0.41,-0.27l-3.61,-0.1l-1.73,-0.37l-1.39,-1.18l0.81,-0.36l2.86,0.1l0.39,-0.25l-0.11,-0.45l-3.27,-2.81l0.21,-0.7l3.27,0.93l1.13,-0.2l-0.78,-1.08l-1.26,-0.79Z",name:"Iceland"},AL:{path:"M613.48,601.01l0.69,0.32l0.52,-0.18l0.25,-0.48l-0.24,-1.33l-1.36,-2.98l1.67,-4.38l-0.07,-2.75l0.32,-2.07l-0.52,-3.06l0.7,-2.05l1.07,-1.3l0.08,-2.58l-1.64,-1.44l-1.53,-0.24l0.23,-2.82l0.99,0.15l0.61,-0.73l-1.54,-3.11l4.15,-5.4l0.14,1.73l0.81,0.95l1.33,-0.11l2.5,-1.0l2.2,3.21l2.39,1.18l1.42,1.53l0.69,2.49l0.08,1.45l-1.02,3.38l0.14,2.01l-0.9,1.2l0.57,2.04l-0.01,2.05l1.13,2.44l1.16,1.07l0.79,2.19l0.74,0.47l2.32,-0.02l0.26,0.54l-0.07,1.35l0.98,2.21l-0.97,1.82l-2.03,0.9l-1.22,2.51l-0.81,2.73l-0.5,0.4l-2.66,0.53l-1.35,1.13l-0.18,0.98l0.92,1.95l-0.95,0.1l-0.49,1.55l-0.64,0.55l-2.31,-0.88l-0.5,-2.34l-1.56,-2.8l-5.09,-2.79l-1.09,-1.11l-0.61,-1.18Z",name:"Albania"},IT:{path:"M460.72,503.99l1.78,-1.15l1.8,-1.71l0.38,-0.01l0.0,2.36l0.39,0.92l2.52,2.32l2.27,0.58l-0.51,0.85l0.07,0.5l1.37,1.23l0.36,1.05l1.03,0.61l0.95,-0.27l0.54,-0.68l-0.54,-2.47l3.32,-4.52l0.17,-3.17l0.27,-0.16l1.28,0.23l0.67,1.99l0.92,0.97l1.6,0.19l2.15,-0.87l1.7,-0.27l1.26,1.94l0.98,0.35l0.84,-0.3l0.31,-0.66l-0.49,-1.87l-0.93,-1.88l0.56,-1.7l1.03,-0.25l1.08,0.92l1.23,0.3l1.4,-0.33l0.12,-1.32l-0.53,-0.86l0.59,-2.76l2.77,0.16l0.85,0.81l1.18,0.42l2.32,-0.03l0.73,-0.56l1.38,-2.24l1.33,-0.6l3.78,-0.37l3.34,0.19l5.15,-1.58l-0.68,0.99l0.28,1.2l3.4,4.2l1.31,0.54l9.36,1.7l4.38,0.3l2.39,0.51l-0.11,0.38l-3.72,2.46l-0.42,1.14l0.72,1.28l1.07,-0.01l1.62,0.59l-1.85,1.75l-0.19,0.73l0.54,0.98l1.22,0.01l-0.54,1.93l0.36,0.78l-1.48,0.98l-3.63,-0.93l-2.36,2.24l-1.64,0.43l-2.0,1.15l-3.31,1.29l0.8,-1.08l-1.15,-0.24l-1.93,0.95l-1.23,1.0l-0.67,3.49l0.91,0.9l1.39,2.73l1.66,1.19l-0.66,1.62l-0.77,0.57l-0.89,-0.5l-0.92,0.33l-0.41,1.84l0.76,5.04l1.33,3.62l1.28,1.54l2.77,2.32l2.99,1.26l5.23,3.87l2.91,1.25l0.66,0.58l1.71,2.92l1.49,3.41l1.62,5.38l1.23,2.79l2.39,3.05l4.89,4.31l4.41,3.13l4.29,2.0l3.27,0.34l7.54,-0.42l2.4,0.6l0.24,0.98l-0.38,0.67l-3.18,2.21l-0.18,2.39l1.61,1.3l7.31,3.29l7.47,2.74l2.27,1.37l2.76,2.21l6.43,2.94l1.11,1.44l3.92,3.08l1.71,2.29l0.3,1.65l-1.72,4.11l-1.31,-0.39l-1.79,-1.26l-3.15,-5.62l-5.22,-0.55l-1.02,-0.38l-1.68,-0.84l-0.59,-1.34l-0.79,-0.46l-2.02,-0.17l-1.65,0.95l-3.66,5.33l-1.89,4.44l-0.14,1.92l1.31,2.14l3.02,0.95l2.29,1.49l1.42,1.46l0.11,3.72l0.65,2.1l-0.75,0.9l-1.95,-0.28l-2.66,0.79l-2.01,1.48l-0.94,1.69l0.2,3.43l-0.33,1.13l-3.55,2.53l-1.88,2.57l-1.09,2.11l-4.07,0.04l-0.87,-1.22l-0.03,-1.99l0.65,-1.15l1.75,-0.82l1.12,-2.85l-0.3,-2.11l0.54,-0.76l0.52,-0.55l2.91,-0.7l0.32,-0.37l0.18,-2.88l-1.43,-1.55l-1.14,-5.21l-2.28,-4.31l-1.22,-3.85l-0.99,-1.98l-1.82,-1.22l-3.79,-0.25l-4.54,-2.64l-0.17,-0.69l0.76,-1.36l-1.08,-2.88l-1.08,-1.38l-1.28,-0.67l-4.64,0.8l0.89,-1.13l-0.46,-1.01l-1.89,-0.99l-2.76,-0.23l-0.43,0.22l-0.03,-0.73l-2.55,-4.19l-1.92,-1.88l-1.09,-0.32l-1.46,0.34l-4.14,-0.9l-2.16,0.68l-0.35,-0.2l-0.31,-0.6l-2.37,-1.75l-2.99,-1.02l-5.69,-5.49l-1.76,-2.07l-3.66,-2.33l-2.37,-3.39l-1.97,-1.27l-2.74,-0.99l-2.14,0.48l0.88,-0.72l-0.33,-1.49l-3.12,-3.34l-1.85,-1.11l-1.41,-2.23l-2.37,-0.46l0.05,-3.7l-0.99,-2.76l-1.72,-2.37l-1.03,-5.63l-0.93,-1.74l-1.9,-1.2l-4.34,-1.38l-5.95,-3.6l-1.39,-0.12l-3.65,-1.41l-2.23,-0.24l-3.23,1.38l-3.52,3.49l-2.85,3.6l-0.94,0.63l-3.61,1.2l-2.78,0.5l-0.11,-1.05l2.2,-2.66l0.4,-0.9l-0.55,-1.68l-0.96,-0.28l-3.01,0.66l-0.58,-0.14l-4.66,-2.31l-0.81,-0.82l-0.26,-0.71l0.21,-0.75l-0.61,-1.26l1.42,-2.43l1.01,-0.77l-0.46,-2.18l-0.92,-0.77l-1.88,-0.41l-0.68,-0.51l-0.19,-0.83l-1.24,-2.01l0.54,-0.27l2.17,0.07l1.81,-1.29l1.33,-0.43l1.23,-2.96l-0.1,-0.39l-1.86,-1.65l-1.79,-2.85l-1.02,-0.7l-0.03,-1.21l2.63,-1.65l1.53,0.64l2.74,-0.55l2.8,-1.08l3.49,0.9l2.81,-1.61l1.89,-2.55l0.07,-0.89l-0.5,-0.93ZM518.47,542.68l-0.02,0.45l0.8,0.86l1.1,-0.35l0.42,-1.12l-0.15,-0.61l-0.45,-0.3l-1.11,0.28l-0.6,0.79ZM536.34,512.54l1.58,1.41l0.32,0.86l-0.4,0.08l0.05,-0.55l-1.56,-1.8ZM561.64,634.95l-1.42,2.54l-3.32,4.46l-1.83,5.11l0.22,2.17l1.35,1.24l-0.42,0.3l-0.08,0.57l1.5,1.71l0.07,0.48l-0.01,0.44l-2.03,1.93l-0.54,1.75l0.13,1.17l-2.54,-0.51l-1.61,0.18l-3.5,-1.28l-1.85,-2.71l-3.09,-2.07l-3.36,-0.01l-7.24,-3.82l-2.59,-2.04l-1.81,-0.46l-1.69,-1.03l-2.3,0.05l-1.38,-0.37l-1.44,-1.1l-1.12,-2.08l1.41,-3.4l1.55,-0.85l0.7,-0.8l1.23,1.47l1.07,0.59l2.12,-0.82l0.29,-0.86l1.15,-0.77l1.62,-0.02l0.59,0.12l0.56,0.87l1.47,0.38l2.51,1.57l1.64,0.37l3.58,-0.93l3.17,0.37l3.02,-0.45l1.89,-0.64l2.03,-1.27l4.49,0.21l0.95,-0.35l0.59,-0.62l1.54,-0.09l2.07,-1.12l1.04,0.08l-0.37,0.35ZM539.0,595.31l0.02,-0.06l0.31,0.09l-0.19,0.04l-0.15,-0.08ZM512.96,657.33l0.48,0.16l0.18,0.38l-0.64,-0.31l-0.02,-0.24ZM491.6,561.34l-0.16,0.88l-0.71,-0.33l-2.41,0.32l-0.12,-0.3l2.9,-0.24l0.5,-0.33ZM462.39,592.89l0.87,0.72l2.19,0.38l3.34,-1.01l1.8,-0.98l2.33,-2.52l1.52,-0.57l1.25,-1.67l0.83,0.82l0.84,0.09l1.28,0.67l1.77,2.0l-0.54,1.02l0.07,0.46l1.67,1.74l1.62,4.91l-2.19,3.79l0.86,3.95l-1.21,10.52l-0.69,2.78l-0.7,0.28l-2.83,-1.16l-1.72,0.25l-1.03,-0.57l-0.63,0.27l-0.45,3.03l-0.67,1.12l-0.99,0.69l-0.92,0.04l-1.96,-0.27l-0.55,-0.46l-2.33,-3.7l-0.25,-4.19l0.64,-1.31l0.09,-2.38l0.53,0.16l0.66,-0.55l0.1,-1.66l-0.78,-1.22l-1.15,-0.39l0.02,-1.42l0.64,-0.73l0.21,-0.85l0.02,-2.69l-0.87,-1.15l-0.82,-2.45l-2.13,-2.32l-0.11,-1.75l0.39,-1.75ZM464.42,621.63l0.71,0.35l-0.34,0.68l-0.36,-0.48l-0.02,-0.54ZM462.96,589.81l0.1,-0.19l0.15,-0.08l-0.06,0.11l-0.19,0.16Z",name:"Italy"},GG:{path:"M315.47,448.51l0.52,-0.25l-0.15,0.36l-0.37,-0.12Z",name:"Guernsey"},CZ:{path:"M515.02,433.92l1.19,1.02l0.6,1.08l0.65,0.07l2.33,-2.94l1.17,-0.7l2.89,-0.65l2.52,0.38l1.09,-1.49l2.02,-0.32l0.92,-1.17l1.6,-0.76l0.75,0.3l0.81,-0.32l1.06,-1.52l1.96,-0.22l2.67,-0.8l6.38,-2.46l0.37,-0.51l-0.15,-0.48l-1.0,-0.66l-0.25,-0.73l2.98,0.56l0.95,1.48l0.08,1.06l1.76,0.8l0.83,-0.18l0.54,-0.62l2.25,-0.51l0.25,-0.32l0.04,-1.87l2.95,0.83l0.28,1.28l1.19,1.4l5.17,1.32l2.81,1.22l0.78,0.97l3.93,-0.66l0.9,0.52l0.57,0.52l-0.42,0.79l-1.8,1.04l-0.5,1.04l0.46,0.7l1.33,0.49l2.02,2.0l1.45,2.2l0.85,0.53l0.79,0.04l4.42,-2.78l-0.02,-0.68l-1.44,-2.28l3.1,0.77l3.73,2.23l1.99,-0.18l1.8,-0.62l-0.09,1.16l-1.49,0.59l-0.24,0.49l0.61,0.9l0.8,0.34l2.0,2.05l0.71,0.26l1.73,-0.47l0.64,-0.55l0.67,0.66l2.73,1.37l0.83,-0.21l2.07,0.44l0.44,0.29l0.4,2.02l2.9,2.63l0.27,1.24l-2.96,0.35l-2.55,1.84l-0.7,0.94l-2.65,1.33l-0.88,1.57l-0.32,1.96l-2.18,1.02l-2.09,1.93l-1.71,0.77l-1.83,0.23l-3.9,-0.57l-0.98,0.38l-1.15,1.21l-1.28,2.46l-0.71,-1.3l-2.27,-0.52l-2.33,-1.09l-1.21,-0.03l-1.45,1.01l-3.92,-0.26l-3.07,-1.87l-1.85,0.01l-5.24,-1.97l-1.92,0.46l-1.3,-0.85l-1.15,-0.1l-0.71,0.65l-0.56,3.35l-1.36,0.07l-1.6,1.82l-0.23,1.07l-2.5,-0.4l-0.95,0.24l-0.75,0.61l-2.23,-0.04l-1.69,-0.37l-0.86,-1.54l-2.34,-1.31l-3.63,-3.34l-1.58,-0.02l-1.91,-2.37l-2.02,-1.08l-3.04,-3.02l-1.53,-0.08l-1.63,-1.37l-2.41,-3.91l-1.35,-1.5l1.34,-1.87l0.16,-1.15l-0.82,-1.15l-2.46,-1.54l-0.83,-0.87l-1.55,-3.17Z",name:"Czech Rep."},IM:{path:"M286.48,364.63l0.75,-2.12l1.13,-0.81l1.38,-1.97l1.16,-0.38l0.45,1.97l-0.91,1.44l-2.48,2.14l-1.47,-0.27Z",name:"Isle of Man"},GB:{path:"M268.15,314.94l0.76,-0.51l2.22,-0.36l1.99,-1.42l-0.04,-0.68l-1.33,-0.72l1.39,-0.78l1.97,-2.75l0.47,-2.7l-1.51,-2.4l-1.71,-0.79l-0.08,-1.24l3.04,-1.75l-0.26,-0.39l-1.22,-0.45l-0.73,-1.5l0.65,-2.06l1.01,-1.76l3.3,0.06l0.77,-0.52l1.74,0.44l0.45,-0.58l-3.37,-3.5l0.78,-1.43l0.07,-1.57l4.32,-0.43l0.23,-0.54l-1.07,-2.23l0.29,-2.53l0.57,-0.77l0.99,-0.34l1.4,0.28l1.48,1.26l2.81,-1.1l1.07,1.04l3.29,-0.87l9.93,-1.18l2.64,-0.65l2.45,0.26l-0.8,1.82l-0.05,2.13l-1.24,1.58l-10.66,7.29l-0.65,2.2l0.34,0.47l1.91,0.38l-2.81,2.5l-0.76,1.94l0.39,0.55l3.69,-0.45l6.29,-2.1l1.36,-0.03l3.54,0.74l2.46,-0.39l8.29,0.22l2.29,-0.41l1.34,0.44l1.17,1.15l1.11,2.32l-3.2,4.12l-0.97,3.1l-2.28,4.57l-2.22,2.52l-2.23,3.23l-2.32,1.42l-3.73,0.67l-3.51,1.63l-0.28,0.45l0.41,0.33l1.52,-0.05l1.56,-0.45l2.59,-0.15l2.77,1.34l-0.19,0.79l-1.06,0.82l-2.98,0.24l-2.66,2.16l-2.31,0.93l-4.35,-0.66l-1.23,-0.59l-0.51,0.14l0.07,0.52l1.15,1.0l1.42,0.59l7.67,1.25l3.04,-1.42l3.05,-0.02l5.98,2.32l4.24,4.35l2.33,1.89l3.11,10.2l1.78,4.76l0.84,1.39l1.25,1.09l6.45,2.77l4.06,4.18l3.44,2.72l-0.61,0.48l-0.71,1.43l0.53,1.56l3.18,5.0l-1.41,-0.06l-2.86,-1.74l-2.54,0.37l-2.7,-0.14l-0.39,0.36l0.31,0.43l2.37,0.55l2.55,0.05l5.58,4.04l1.86,2.36l1.07,3.01l-0.66,1.22l-3.41,3.22l0.1,0.61l3.4,1.83l1.62,-0.4l2.3,-2.51l1.81,-0.17l4.73,0.34l4.27,1.16l3.61,2.48l0.73,1.26l0.39,3.6l-2.05,6.22l-2.29,2.13l-1.08,0.57l-1.18,-0.21l-0.37,0.34l0.56,2.13l-0.93,0.61l-1.03,0.28l-2.15,-0.35l-2.75,1.41l0.05,0.73l1.83,0.67l0.25,0.48l-0.38,1.04l-1.05,0.51l-3.94,0.66l-1.21,0.68l-0.17,0.49l0.47,0.24l1.3,-0.31l0.71,0.22l0.54,0.99l0.71,0.48l2.88,0.54l6.8,-0.18l-0.22,2.81l-0.29,0.32l-4.28,1.91l-1.27,2.12l-2.49,-0.05l-1.14,0.82l-6.33,2.15l-5.55,-0.91l-3.41,0.08l-4.48,0.79l-4.59,-1.4l-2.08,-0.24l-1.73,-0.69l-0.47,0.14l0.01,0.49l0.8,0.98l-1.99,1.06l-4.61,0.55l-2.19,-0.18l-0.41,0.53l0.75,1.52l-0.44,0.12l-4.2,-0.6l-0.74,0.12l-0.59,0.52l-1.26,-0.25l-3.19,-1.61l-1.68,-0.3l-1.51,0.11l-5.71,1.65l-1.16,1.64l-1.3,3.91l-1.15,1.29l-1.24,0.15l-5.49,-2.9l-1.51,0.61l-2.85,0.32l-3.11,0.94l-3.9,2.36l-1.47,2.12l-1.08,0.22l-1.33,-1.05l-1.51,-0.38l-2.58,0.83l-0.13,-0.77l0.97,-0.96l3.15,-0.92l2.75,-2.3l1.87,-2.16l1.57,-0.78l0.41,-0.8l3.82,-3.57l0.78,-3.42l3.09,-1.03l1.41,-2.79l4.41,-0.65l3.12,0.04l3.18,0.57l3.47,-0.2l1.38,-0.88l2.17,-2.81l3.94,-3.66l2.13,-2.39l0.01,-0.52l-0.51,-0.1l-1.44,0.82l-2.73,2.04l-3.23,0.78l-4.11,2.62l-3.45,-0.4l-2.63,-2.2l-1.94,-1.02l-3.92,0.43l1.54,-1.33l-0.33,-0.33l-2.46,-0.4l-1.59,-1.07l-3.01,0.07l-4.0,1.97l-3.22,-1.79l-0.02,-1.23l-0.45,-0.97l-0.54,-0.33l0.67,-0.79l1.19,-0.77l2.84,-0.84l6.68,-2.81l2.33,-1.5l1.06,-1.03l1.34,-2.7l0.92,-1.18l-0.2,-0.63l-0.75,-0.24l-0.29,-0.65l0.5,-1.83l-1.03,-2.09l0.21,-1.57l-0.4,-0.48l-3.51,0.34l-3.15,1.52l-0.81,0.1l0.49,-0.83l3.19,-2.29l1.77,-2.32l2.07,-1.33l4.53,-1.59l1.66,0.17l4.2,-0.9l3.0,1.55l0.45,-0.06l0.11,-0.44l-0.79,-2.12l0.75,-0.33l1.97,2.14l0.94,0.25l1.56,-0.33l0.31,-0.32l-0.78,-0.79l-1.62,-0.37l-0.67,-0.62l-1.2,-2.13l0.06,-1.14l1.75,-2.6l-0.2,-0.62l-1.2,-0.59l0.05,-1.98l1.75,-1.15l0.72,-3.51l-0.69,-1.04l-1.82,0.15l-2.04,0.77l-1.98,-1.77l-3.27,-4.34l-0.27,-1.6l1.65,-3.73l2.54,-2.39l3.05,-0.85l0.29,-0.39l-0.29,-0.39l-5.5,-0.22l-1.66,0.32l-1.58,1.06l-1.72,0.45l-2.24,1.6l-2.19,0.01l-1.01,-1.05l-0.84,-0.18l-3.47,1.62l-3.9,-1.59l-0.98,0.57l-0.72,2.0l-1.09,-0.89l-1.34,-1.73l-0.45,-2.0l0.37,-0.24l0.61,0.34l0.56,-0.2l1.22,-3.01l3.27,-5.08l0.68,-1.8l-0.1,-1.0l-0.6,-1.02l-2.21,-1.89l0.26,-3.02l0.63,-1.0l2.88,0.03l0.39,-0.31l-0.22,-0.45l-3.28,-1.99l0.55,-1.71l-0.12,-0.45l-0.46,-0.04l-1.82,2.56l-2.04,0.67l-0.55,0.96l-1.04,0.34l0.28,-2.25l0.57,-0.88l2.4,-2.19l0.05,-0.53l-0.52,-0.11l-1.23,0.72l-2.72,2.09l-1.84,1.98l-0.11,1.04l0.59,2.29l-0.16,0.98l-2.29,7.16l-0.67,0.9l-1.14,-0.06l-0.3,-0.73l1.15,-4.26l2.4,-3.66l-0.54,-0.36l-1.04,0.13l0.17,-4.38l0.74,-1.58l0.27,-2.18l1.9,-4.94l0.89,-0.94l0.21,-1.12l1.66,-2.66l-0.05,-0.45l-0.94,0.08l-5.74,4.13l-2.6,-0.52l-0.82,-0.71l-0.4,-1.51l-0.37,-0.3l-1.52,-0.14ZM339.59,233.48l-0.57,2.19l-0.53,-0.03l-0.06,-1.74l0.74,-0.02l0.42,-0.4ZM336.19,239.14l-0.93,-1.46l0.79,-1.92l0.63,0.04l0.08,0.26l-0.75,0.66l0.18,2.42ZM329.81,239.86l0.8,-0.37l1.06,-1.32l0.87,-0.15l0.23,2.57l0.58,0.28l0.4,-0.21l1.17,1.27l0.92,-0.16l-1.6,5.89l-0.26,2.06l-0.62,0.77l-0.43,1.4l-0.23,-0.2l1.02,-3.91l-0.25,-1.08l-0.77,-0.9l-1.96,0.22l-0.43,-1.0l-1.48,-0.05l-0.32,-0.39l2.04,-0.14l1.63,-0.82l0.19,-0.49l-1.02,-2.77l-1.52,-0.49ZM330.39,426.85l1.55,-0.47l0.95,-0.66l2.54,0.99l-0.75,0.49l-0.48,0.83l-0.59,0.15l-0.6,0.0l-2.6,-1.33ZM315.95,265.12l-0.68,0.01l0.29,-0.44l0.71,-0.23l0.87,0.07l-1.2,0.59ZM309.8,263.74l0.37,-0.11l1.34,1.02l-1.51,-0.67l-0.2,-0.25ZM312.26,265.65l1.03,0.29l-0.03,0.18l-0.75,0.32l-0.25,-0.79ZM308.85,269.28l-0.26,0.62l0.38,0.54l3.29,0.45l0.39,0.27l-0.24,0.56l-0.56,0.19l-1.93,-0.96l-2.24,0.39l-0.45,-0.22l-0.26,-1.19l-0.58,-0.1l-0.8,0.43l0.01,-1.32l0.41,-1.08l0.57,-0.18l1.09,0.13l1.3,0.68l0.27,0.34l-0.41,0.45ZM310.59,274.73l-0.03,-0.02l-0.47,-0.75l0.7,-0.11l-0.21,0.88ZM306.77,274.1l-0.45,-0.01l-1.04,-1.0l-0.33,-0.85l1.05,0.15l0.78,1.72ZM293.4,379.3l0.66,0.42l0.9,0.03l-3.55,2.22l-0.41,-0.54l-0.84,-0.13l-0.91,-1.28l-0.16,-1.93l1.09,-0.46l1.73,0.03l1.49,1.64ZM281.03,338.84l-1.32,0.01l-1.07,-0.49l-0.75,-2.35l0.78,-1.35l0.65,-0.11l0.96,0.74l0.71,1.66l0.05,1.88ZM243.78,353.56l2.07,-0.03l2.55,-1.09l1.48,-2.17l0.71,-2.43l2.02,-1.34l0.58,0.54l1.33,0.1l1.08,-0.74l1.04,-1.76l3.18,-0.18l3.04,-0.9l1.25,-0.01l3.21,0.46l1.09,1.18l0.71,2.2l1.58,2.14l2.0,1.81l0.06,0.77l-2.05,1.18l-0.22,1.17l0.55,0.37l1.78,-0.56l1.9,0.16l0.59,0.65l0.71,2.04l-0.07,0.41l-0.62,-0.99l-1.5,-0.75l-0.51,0.48l0.32,1.28l-0.13,1.73l0.21,0.38l0.95,0.23l-0.41,1.14l-3.01,0.79l-1.46,2.65l-0.91,0.58l-3.72,-0.8l-1.47,0.62l-2.99,0.05l0.16,-1.49l-0.39,-0.71l-1.84,-0.6l-0.68,-0.91l-0.33,-1.22l-2.04,-1.58l-0.85,0.07l-2.1,2.02l0.45,1.34l-2.25,1.86l-3.2,-0.35l-1.07,-0.82l-2.16,-0.48l-0.53,-1.29l-3.24,-2.77l1.07,-0.79l3.35,-1.09l0.67,-0.52l0.24,-0.59l-0.22,-0.47l-1.93,-1.02ZM261.43,298.81l2.77,-0.68l0.52,-1.27l0.92,0.27l0.98,1.15l0.26,1.42l-0.24,1.96l0.61,2.1l1.02,0.63l2.54,0.4l2.31,-0.1l0.21,0.31l-3.17,2.99l-0.73,0.23l-0.24,-2.65l-0.48,-0.35l-2.97,0.32l-0.61,-0.28l-1.79,-2.5l-3.04,-0.66l-0.76,-0.83l-0.17,-0.38l0.46,-0.56l0.82,0.18l0.99,-0.58l-0.19,-1.09ZM269.34,332.0l-0.57,-0.07l-0.12,-1.03l1.96,-1.32l-0.03,-0.72l-0.51,-0.21l0.28,-0.48l1.95,-1.22l-2.97,5.06ZM271.87,321.8l-5.06,1.0l-1.54,-0.08l1.84,-0.73l0.62,-2.57l-0.21,-0.45l-2.19,-1.11l0.09,-0.39l2.26,-0.75l1.96,2.01l2.42,0.81l-0.19,2.27ZM263.06,333.89l0.29,-1.39l0.53,-0.68l0.58,-0.27l0.79,0.24l1.95,-1.18l0.87,3.48l-0.29,0.85l-2.16,0.88l0.34,-0.95l-0.39,-0.99l0.18,-0.72l-0.36,-0.57l-0.93,0.13l-1.39,1.16ZM255.41,289.78l0.69,-0.49l-0.15,-0.72l-1.04,-0.51l-0.13,-0.82l0.1,-0.64l0.69,-0.72l1.74,0.87l2.02,-0.12l0.46,-0.5l-0.77,-1.87l6.87,-3.75l0.25,2.18l-1.59,3.18l-0.74,0.23l-0.54,0.78l-1.75,0.9l-0.21,0.45l0.38,0.31l1.48,0.02l-0.0,0.7l-1.99,1.51l-1.52,0.67l-1.42,1.52l-0.92,0.18l-1.21,1.34l-0.95,-0.76l2.62,-1.89l0.17,-0.55l-2.55,-1.49ZM265.16,309.88l-0.49,0.1l-0.68,-0.67l0.84,-0.36l0.47,0.45l-0.13,0.47ZM261.42,316.68l0.29,-0.28l0.09,-0.02l-0.03,0.04l-0.35,0.27ZM249.11,297.53l0.35,-0.38l1.04,0.14l2.36,-0.64l1.01,0.73l-0.88,1.33l-1.56,-0.01l-2.31,-1.17ZM251.9,306.91l-1.08,-0.23l-0.4,-1.03l0.09,-3.19l1.15,0.03l0.25,4.42ZM248.75,309.97l0.68,-0.43l0.37,0.2l-0.96,0.26l-0.09,-0.03Z",name:"United Kingdom"},AX:{path:"M628.45,248.96l0.16,-0.05l0.84,0.08l0.31,0.32l-0.63,0.06l-0.68,-0.41ZM621.7,243.28l1.25,-0.06l2.02,1.49l-0.63,0.99l-0.8,-0.15l-1.25,0.46l-0.31,1.74l-2.69,0.2l-0.49,-0.23l-0.9,-2.45l0.11,-0.4l0.54,-0.21l0.06,1.05l0.47,0.37l0.85,-0.15l0.32,-0.29l0.34,-1.72l-1.05,-1.12l0.26,-0.39l0.48,-0.17l0.58,0.75l0.84,0.28ZM616.9,246.18l-0.55,0.17l-0.39,0.42l0.16,-1.31l0.49,-0.02l0.28,0.74Z",name:"Aland"},IE:{path:"M245.03,355.16l-3.75,1.4l-1.46,1.19l0.42,1.3l3.09,2.41l0.65,1.39l2.3,0.51l1.07,0.82l3.69,0.38l2.79,-2.26l0.09,-0.46l-0.49,-0.95l1.71,-1.63l0.31,0.02l1.52,1.24l0.25,1.06l0.91,1.22l1.92,0.73l-0.18,1.51l0.56,0.74l3.32,-0.04l1.44,-0.63l0.91,0.09l0.42,0.48l-0.42,0.31l-1.28,-0.03l-0.65,0.73l-0.03,0.85l0.37,1.24l0.72,0.86l0.99,3.59l0.72,1.21l0.15,3.22l-0.29,0.63l1.44,5.06l0.23,2.86l-1.89,3.4l-0.67,3.58l-1.65,2.45l-1.46,0.94l-0.11,0.65l1.47,1.41l-0.98,0.51l-1.53,0.23l-1.77,-0.43l-1.27,0.04l-1.49,0.84l-1.01,-1.55l-0.81,1.63l-0.82,0.37l-1.8,-0.09l-4.31,0.86l-1.41,1.96l-3.3,1.03l-1.16,1.3l-1.31,0.67l-0.96,0.18l-1.89,-1.34l-1.79,-0.0l-0.38,0.32l0.85,0.97l-0.0,1.57l-1.61,0.5l-1.42,0.95l-1.89,0.26l-1.2,0.96l-6.42,1.53l-2.25,-0.55l-4.26,0.91l1.21,-1.55l2.33,-1.17l0.24,-0.3l-0.24,-0.64l-0.89,-0.15l-4.33,0.76l-2.09,0.72l3.76,-2.46l0.67,-0.74l1.97,-0.87l0.21,-0.5l-0.49,-0.25l-6.5,1.85l-1.48,-0.2l-0.69,-0.54l-1.03,0.19l-0.29,-0.71l1.78,-1.71l1.09,-0.77l2.7,-1.09l0.66,-0.93l-0.19,-0.58l-0.79,-0.28l-5.41,0.07l0.29,-0.66l1.82,-1.08l0.94,-0.17l2.67,0.8l2.24,-0.23l0.34,-0.28l-0.13,-0.43l-0.81,-0.65l-0.15,-1.37l-0.45,-0.48l1.55,-0.82l1.69,-1.42l7.69,-1.32l3.73,-1.08l0.29,-0.38l-0.28,-0.39l-1.82,-0.57l-0.85,-0.73l-0.56,0.03l-1.42,1.55l-0.93,0.54l-2.82,0.31l-2.45,-0.63l-2.94,1.35l4.74,-3.85l0.97,-1.34l0.03,-0.41l-0.67,-0.88l1.87,-2.34l0.63,-0.41l3.34,-0.71l1.03,-0.9l-0.13,-0.67l-2.92,-0.82l-5.04,0.23l-0.67,-0.44l-0.24,-0.84l-0.5,-0.44l-2.93,0.12l0.68,-0.6l-0.2,-0.69l-3.7,-0.25l0.42,-0.63l-0.05,-0.58l-0.65,-0.76l4.97,-0.87l0.35,-0.37l-0.29,-0.42l-2.29,-0.83l0.06,-0.78l1.91,-0.9l2.21,-0.43l0.31,-0.49l-0.01,-1.2l-0.35,-0.48l-2.29,-0.21l-1.8,0.38l0.68,-2.04l-0.0,-1.8l-0.53,-0.33l-0.58,0.2l-0.57,-1.73l-0.49,-0.19l-1.01,0.38l0.02,-0.42l0.33,-0.58l0.59,-0.24l2.28,0.12l1.54,-0.59l2.01,-0.15l3.2,0.18l2.21,1.59l1.01,-0.26l1.2,-1.12l5.49,1.04l0.81,-0.19l0.26,-0.48l-0.31,-1.17l-0.59,-0.71l1.72,-1.42l3.26,-1.22l1.45,-2.62l-0.38,-0.63l-4.29,0.58l-3.57,-1.16l1.07,-0.91l1.46,-0.4l0.38,-0.61l1.96,-1.47l-0.31,-1.75l0.19,-0.79l0.94,-0.8l0.56,-1.44l3.44,-0.89l2.64,-0.09l0.63,0.24l0.54,-0.43l-0.11,-0.78l0.78,-0.09l1.02,1.41l0.13,0.66l-0.89,1.03l-0.02,0.6l0.31,0.29l-0.67,0.73l-0.03,0.5l0.48,0.14l2.52,-1.47l0.1,-1.18l-0.63,-1.97l0.14,-0.76l0.61,-0.48l2.02,-0.31l0.26,-0.64l-0.46,-0.62l4.01,2.13l-5.21,3.62l-1.07,2.92l-1.25,1.91l-2.31,0.96l-1.79,-0.12l-0.73,0.44l-0.03,0.88l1.98,1.2ZM212.65,366.62l-0.13,-0.02l0.03,-0.02l0.09,0.04ZM213.87,366.77l1.05,0.02l0.27,0.15l0.07,0.94l-0.8,-0.9l-0.59,-0.21Z",name:"Ireland"},ES:{path:"M408.55,609.24l-3.95,-1.75l-1.35,-0.22l-0.04,-0.91l2.43,-0.17l2.05,0.62l1.1,1.67l-0.24,0.75ZM392.9,610.25l0.24,0.47l1.3,0.53l1.55,-0.44l0.59,0.12l0.47,0.17l0.11,0.64l-2.84,4.76l-2.01,1.18l-3.51,-1.26l-0.53,-1.7l-0.91,-0.82l-1.18,-0.19l-1.55,1.01l-0.31,-0.47l-1.13,-0.56l0.01,-0.33l5.42,-3.73l1.57,-0.82l3.07,-0.89l-0.06,0.57l0.37,0.41l-0.66,1.32ZM246.2,546.17l1.24,0.54l1.33,-0.16l1.25,0.65l2.0,1.73l2.73,0.67l2.32,-0.51l11.05,-0.15l3.17,-0.81l2.44,1.01l4.71,0.48l2.86,0.85l7.97,1.43l2.93,0.01l5.69,-1.37l1.66,0.32l2.22,-0.66l0.92,0.12l1.48,0.98l5.05,1.32l1.62,-1.15l0.81,-0.2l3.51,0.67l3.75,1.41l1.98,0.1l2.79,-0.38l2.24,-0.92l0.61,1.08l0.69,0.42l3.9,1.0l-0.15,1.08l-0.77,1.27l0.05,0.44l0.81,0.66l1.09,0.03l0.6,-0.74l0.3,0.36l4.79,1.82l2.22,0.15l2.37,2.24l1.74,0.09l2.29,-0.44l3.47,2.21l3.37,-0.44l0.82,0.42l5.11,0.05l0.53,-0.55l0.4,-1.99l8.53,2.45l0.9,1.31l0.03,2.1l0.64,0.81l1.32,-0.09l2.19,-0.97l2.73,1.14l1.03,1.21l0.88,0.03l2.11,-1.03l6.05,1.3l0.84,-1.12l2.56,-0.78l0.93,-0.16l3.02,0.58l1.09,1.68l-1.81,0.71l-0.22,1.53l1.19,1.45l0.12,2.0l-3.11,2.7l-9.38,4.87l-3.07,2.88l-6.93,1.47l-7.25,2.16l-4.47,3.93l0.14,0.7l1.0,0.28l0.97,0.99l-1.94,1.07l-1.87,0.41l-3.14,4.73l-5.95,7.1l-3.44,5.71l-0.07,1.96l1.73,5.74l1.03,1.55l1.35,1.24l2.56,1.08l0.41,0.67l-3.16,2.45l-4.44,2.36l-1.99,1.94l-0.48,1.83l-1.34,0.98l-0.48,2.47l-1.8,3.57l-0.11,0.91l1.16,1.29l-0.27,0.21l-2.08,0.35l-5.27,0.16l-4.46,2.79l-2.28,2.59l-1.9,4.42l-2.24,2.53l-0.75,0.35l-1.61,-1.09l-2.0,-0.18l-2.05,0.39l-1.14,0.96l-1.39,0.45l-1.52,-0.42l-3.39,-0.24l-1.6,0.06l-2.23,0.71l-1.96,-0.48l-3.38,-0.25l-7.46,0.61l-1.12,0.41l-3.08,2.87l-3.54,0.09l-3.2,1.22l-1.0,0.94l-1.35,2.14l-0.35,1.21l-0.96,-0.07l-0.5,1.3l-1.83,0.61l-2.33,-0.91l-2.03,-1.42l-1.11,-0.16l-2.36,-3.47l-0.56,-2.6l-1.61,-0.81l-0.29,-1.07l1.02,-1.66l1.6,-1.37l-0.41,-0.31l-1.41,0.08l-0.96,0.94l-1.11,-1.59l-5.06,-3.56l0.19,-1.23l-0.7,-0.22l-1.27,1.12l-2.71,-0.15l-2.77,0.4l-1.23,-5.85l0.75,-2.07l2.03,-2.77l1.34,-1.45l2.36,-0.79l0.91,-2.31l-0.45,-0.59l-1.76,0.15l-2.97,-4.04l0.81,-3.79l3.11,-2.96l0.63,-1.46l0.03,-1.41l-0.83,-0.95l-1.59,-0.4l-1.69,-3.02l-0.39,-1.96l-1.57,-1.32l-0.92,-1.49l5.21,-0.2l1.22,-0.59l0.9,-1.43l0.9,-2.28l0.23,-1.44l-0.4,-0.92l-1.43,-1.44l0.17,-0.44l2.07,-1.45l0.76,-1.07l-0.54,-1.45l0.45,-3.48l-0.24,-1.99l-0.33,-1.74l-0.89,-1.96l1.97,-1.35l1.13,-1.68l1.61,-1.38l2.17,-1.14l1.61,-1.34l1.17,-1.66l-0.43,-1.19l-1.01,-0.82l-1.25,-0.44l-1.89,-0.09l-0.11,-3.06l-0.36,-0.8l-0.88,-0.56l-1.06,0.12l-1.76,-0.47l-0.61,0.3l-2.06,-0.08l-1.78,-0.47l-0.82,0.53l-0.24,0.98l-2.34,0.86l-1.37,-0.03l-2.55,-0.85l-3.24,0.12l-2.87,1.11l-0.62,-1.02l1.23,-2.07l-1.13,-1.88l-1.06,-0.33l-4.57,1.41l-2.58,1.82l-0.72,0.16l-0.18,-2.32l2.53,-2.61l-0.12,-0.66l-1.4,-0.22l1.06,-1.45l-0.13,-0.55l-0.92,-0.75l-0.01,-2.74l-0.53,-0.28l-2.47,0.81l-0.02,-0.67l1.45,-2.27l-0.32,-0.5l-1.46,-0.24l-1.05,-0.76l-1.33,-1.66l0.71,-2.85l2.0,-1.02l1.92,-1.48l2.78,0.27l1.74,-0.34l2.56,-1.02l1.67,-1.08l-0.05,-0.95l-0.41,-0.69l0.23,-0.35l3.27,-1.81l2.1,-0.23l1.93,-0.88ZM370.1,623.83l-0.59,0.91l-1.82,-0.41l0.26,-0.64l0.7,-0.46l0.03,-0.65l0.46,-0.58l2.6,-0.57l0.4,0.32l0.08,0.41l-1.53,1.47l-0.58,0.19ZM370.18,627.26l0.43,0.46l-0.55,0.0l0.12,-0.46ZM164.44,776.55l-0.91,0.89l-0.44,-0.15l0.76,-2.18l3.27,-1.23l0.83,-1.23l-0.52,2.64l-2.99,1.26ZM155.44,788.95l2.37,-1.46l2.87,-6.04l0.34,-1.27l0.46,-0.35l0.91,0.01l0.27,0.45l-0.01,1.42l-0.47,2.52l-0.8,2.08l-3.47,1.18l-1.83,1.61l-0.64,-0.14ZM141.28,788.62l0.11,1.32l-4.04,0.0l0.8,-1.44l3.13,0.12ZM128.81,784.44l-1.25,3.48l-1.5,1.58l-1.26,0.29l-1.66,-1.86l-1.25,-2.48l4.27,-0.62l3.26,-2.31l2.13,-0.21l-2.74,2.13ZM117.34,789.64l-0.75,-0.17l-0.52,-0.88l0.58,-0.83l1.31,0.57l0.26,0.48l-0.88,0.82ZM108.62,782.59l-1.69,-3.37l0.7,-0.91l1.39,-0.03l0.72,1.33l-0.36,2.16l-0.76,0.82Z",name:"Spain"},ME:{path:"M601.12,565.85l1.19,-0.97l0.28,-0.68l-0.09,-0.72l-1.0,-1.62l-0.28,-2.93l0.34,-0.41l1.75,-0.24l0.34,-0.4l0.06,-1.92l0.56,-1.18l2.2,-1.75l0.74,0.07l0.92,0.94l0.98,-0.46l0.08,-1.33l-1.22,-2.13l0.14,-0.28l1.2,0.35l1.26,-0.26l0.56,1.35l2.58,1.71l2.74,2.82l2.42,1.12l2.14,0.45l5.15,2.95l0.06,0.52l-1.49,0.41l-0.45,0.68l-1.62,-0.06l-0.66,0.62l0.72,1.91l-0.2,0.93l-3.37,1.17l-0.38,-0.47l-0.16,-1.85l-0.88,-0.44l-0.81,0.44l-3.97,5.49l-0.67,0.29l-2.58,-0.2l-0.31,0.65l1.59,1.94l1.69,0.85l-0.04,2.92l-1.44,-0.88l-0.9,-1.83l-3.09,-3.08l-3.53,-2.11l0.23,-0.58l-0.34,-0.59l-1.53,0.19l-0.92,-1.43Z",name:"Montenegro"},MD:{path:"M712.53,469.1l2.31,-1.33l5.14,0.23l1.53,-1.02l1.05,0.19l1.72,-0.95l3.49,0.95l0.98,0.89l2.03,0.79l0.72,1.12l1.09,0.35l1.68,-0.01l0.39,0.23l-0.18,0.59l0.23,0.62l1.14,0.03l0.57,0.96l0.6,-0.0l0.78,-0.88l2.88,0.47l1.16,1.99l0.96,0.93l0.99,0.32l1.65,-0.6l0.82,1.24l0.21,1.74l-0.32,1.87l-0.84,2.17l0.18,1.06l0.34,0.59l2.44,1.48l0.73,0.86l1.98,0.87l-0.38,2.89l0.67,0.88l0.19,1.52l2.11,1.48l2.08,0.9l0.74,1.53l-0.07,3.43l2.44,1.72l-0.33,0.32l-2.9,0.39l-1.0,-1.27l-0.81,-0.32l-1.41,0.82l-2.03,-0.92l-1.01,0.26l-0.87,-0.4l-0.6,0.12l-0.62,1.15l-0.1,-1.82l-0.5,-0.51l-0.54,-0.05l-2.77,1.21l-0.63,0.95l0.04,1.05l0.21,1.4l0.77,1.72l-0.71,1.95l-1.2,1.09l-1.45,0.68l-0.35,1.64l-3.15,3.06l0.03,2.49l-2.33,0.22l-1.08,0.59l-1.37,-1.89l0.96,-0.86l-0.81,-5.49l0.26,-2.73l1.68,-5.26l-0.27,-1.14l0.22,-2.18l-2.29,-5.93l-3.05,-2.49l-1.16,-1.93l-2.06,-1.92l-2.23,-3.64l-1.53,-1.5l-2.47,-5.46l-2.41,-3.5l-1.17,-1.03l-1.54,-0.78l-1.64,-0.15Z",name:"Moldova"},RO:{path:"M631.66,512.33l-1.62,-2.15l-2.98,-1.78l-1.3,-1.89l3.0,-0.64l1.59,0.53l1.44,-0.77l0.67,-1.16l0.81,-0.18l2.69,0.29l1.42,-0.78l0.52,-0.55l0.45,-1.28l1.09,-0.68l-0.15,-1.22l0.78,-1.78l2.38,-1.66l0.06,-1.57l2.13,-2.96l0.14,-1.37l1.69,-1.68l1.11,-2.8l1.64,-1.49l0.18,-2.0l1.41,-1.04l2.32,-2.6l2.53,-0.74l1.81,0.04l3.7,-3.16l2.29,-0.96l1.16,-1.36l0.58,0.03l2.92,1.64l3.46,-0.04l4.49,0.97l0.86,-0.12l1.63,0.64l4.11,-0.7l1.11,0.24l4.5,3.72l2.52,-0.5l1.41,-1.38l3.87,-1.47l9.43,-1.41l1.84,-2.27l0.38,-1.46l5.19,-0.97l2.33,0.84l0.99,0.89l2.29,3.34l2.51,5.52l1.57,1.55l2.19,3.59l2.1,1.97l1.18,1.95l2.93,2.32l2.21,5.6l-0.22,2.16l0.27,1.0l-1.66,5.2l-0.28,2.9l0.8,5.36l-1.04,0.73l0.01,0.55l1.84,2.47l1.43,1.74l1.94,1.03l4.29,1.01l0.85,-0.41l-0.23,-0.86l1.39,0.33l1.88,-0.54l2.59,-1.35l2.28,-0.26l2.07,0.77l1.65,1.62l-0.91,4.49l-0.93,2.04l-5.84,1.21l-0.37,-2.16l0.52,-0.66l-0.24,-0.64l-1.85,-0.24l-1.32,1.35l0.37,1.96l-0.97,1.47l-0.08,1.37l-0.53,1.29l0.45,0.45l0.39,-0.06l-2.26,2.65l-0.78,1.52l0.18,5.12l-0.96,3.66l-2.42,-0.04l-4.24,-1.23l-2.16,-2.64l-0.42,-0.14l-1.86,0.48l-0.84,-0.66l-3.33,-0.39l-4.73,-2.44l-8.15,1.39l-3.76,1.29l-3.9,2.3l-1.6,1.74l-1.7,0.86l-2.46,0.65l-4.49,-0.25l-9.87,-1.78l-2.85,0.5l-3.67,-0.38l-5.67,-1.11l-4.2,-0.34l-4.08,0.63l-0.45,-0.32l0.03,-0.96l2.02,-1.54l0.02,-1.12l-4.47,-2.72l-0.15,-0.7l-1.44,-0.93l-0.99,-1.35l0.08,-0.66l0.56,-0.68l2.39,-0.47l0.2,-0.47l-0.33,-0.8l-3.36,-1.74l-1.99,0.5l-2.13,1.95l-1.09,0.23l-0.9,-1.21l-1.6,-0.77l-3.63,-0.72l-0.58,-0.76l-1.0,-0.58l-2.03,-0.57l1.83,-0.2l0.48,-0.55l-0.18,-0.85l-2.12,-0.97l0.62,-0.23l0.99,-1.51l0.07,-1.02l-0.99,-0.87l-2.71,-0.8l-1.0,-0.8l-1.74,-0.54l-3.06,-2.42l-0.11,-4.46l-0.37,-0.46l-0.8,0.27Z",name:"Romania"},RS:{path:"M607.42,509.85l1.42,-0.57l0.68,-0.8l0.8,0.44l1.93,-0.29l2.06,-1.11l1.45,-1.49l0.91,-0.19l3.1,0.39l1.26,-0.26l3.53,0.55l2.01,2.55l2.91,1.72l1.76,2.28l0.78,-0.01l-0.05,3.73l0.4,0.78l3.18,2.52l1.76,0.56l1.1,0.84l2.71,0.8l0.59,0.54l-0.89,1.5l-0.59,0.16l-0.38,0.59l0.52,0.87l1.89,0.81l-2.09,0.34l-0.26,0.39l0.32,0.95l2.16,0.6l1.56,1.34l1.5,0.52l2.22,0.24l1.44,0.7l1.25,1.38l1.66,-0.41l1.95,-1.86l1.75,-0.44l2.73,1.51l-2.07,0.47l-0.95,1.17l-0.06,1.13l0.49,0.96l1.72,1.18l0.39,0.86l-0.82,0.68l-0.41,1.88l-2.37,1.2l-0.78,2.48l0.04,1.46l1.83,4.56l0.75,1.06l2.95,1.73l1.3,1.71l1.38,0.92l-0.36,1.07l-3.08,3.35l-1.91,0.1l-1.5,0.81l-0.37,0.83l0.32,0.93l-0.37,2.03l0.49,1.4l0.79,0.91l-1.33,2.11l-0.79,0.18l-1.6,-0.67l-2.39,0.83l-2.13,-0.25l-2.26,0.89l-1.99,0.33l-0.42,-0.94l1.19,-0.89l1.63,-3.37l0.31,-1.03l-0.21,-0.67l-4.66,-1.26l-0.05,-1.37l-2.13,-1.28l-0.24,-0.7l-2.28,-2.26l-2.83,-1.32l-0.6,-1.42l-1.02,-0.04l-2.04,1.13l-0.19,0.7l0.51,1.45l-0.26,0.47l-2.08,1.44l-0.22,0.83l0.25,0.57l-1.01,0.3l-0.25,-0.85l-0.97,-0.7l-4.43,-2.42l-2.27,-0.5l-2.24,-1.04l-2.64,-2.74l-2.6,-1.74l-0.26,-0.89l0.64,-0.67l1.1,-0.11l1.32,0.51l0.77,-0.71l0.28,-1.06l-0.17,-1.2l-3.14,-4.01l3.69,-0.06l0.68,-0.49l0.14,-0.84l-3.45,-3.32l-2.76,-1.62l0.3,-2.93l1.92,-2.86l0.89,-2.97l-0.3,-0.61l-1.61,-0.6l-1.79,0.3l0.22,-0.99l-0.44,-2.38l0.55,-0.15l0.3,-0.53l0.63,0.27l2.51,-0.09l0.48,-0.45l0.05,-0.62l-1.26,-1.31l-3.09,-1.11l-1.01,-0.88l0.03,-0.83l0.71,-1.15l-1.87,-1.28l0.32,-1.03l-1.29,-2.79l0.59,-0.56l0.11,-0.78Z",name:"Serbia"},MK:{path:"M629.75,577.29l1.84,0.12l0.78,-0.95l0.41,-2.59l3.61,-1.54l0.89,-0.05l1.45,1.15l0.65,0.06l0.91,-1.54l0.63,-0.43l3.04,-0.35l3.84,-1.29l2.05,0.27l2.48,-0.84l1.15,0.64l3.21,3.37l3.37,1.74l1.43,3.5l0.79,0.71l-0.73,1.84l-0.29,3.95l-1.62,0.11l-0.61,0.4l-0.51,2.19l-2.82,0.86l-4.13,-0.64l-2.65,0.45l-1.15,0.53l-1.97,2.46l-2.56,1.2l-2.25,-0.57l-1.24,0.65l-4.44,0.26l-0.63,-0.83l-2.8,-0.25l-0.69,-2.05l-1.24,-1.16l-1.01,-2.21l0.03,-1.94l-0.54,-1.92l0.88,-0.94l-0.14,-2.11l0.57,-2.22Z",name:"Macedonia"},SK:{path:"M655.85,455.69l-1.87,2.97l-1.26,3.23l-2.02,2.0l-0.31,2.96l-4.93,0.82l-2.05,-2.5l-1.8,-1.11l-5.19,0.8l-2.74,-0.69l-3.03,-0.07l-2.16,0.4l-2.33,4.11l-5.08,2.53l-0.54,0.2l-3.78,-1.56l-1.02,0.28l-1.32,1.71l-2.52,0.6l-4.73,0.38l-1.81,0.92l-0.78,1.39l0.31,1.5l-0.48,0.75l-7.63,0.4l-5.12,-0.11l-1.62,-0.65l-4.25,-3.08l-2.48,-0.39l-0.57,-0.4l-2.93,-5.87l-0.03,-0.76l1.03,-1.78l0.6,-2.25l1.91,-2.7l0.53,-0.25l3.99,0.56l2.05,-0.28l1.81,-0.81l2.23,-2.01l1.68,-0.56l0.66,-0.61l0.43,-2.19l0.57,-1.15l2.67,-1.34l0.77,-1.01l2.29,-1.67l3.09,-0.34l1.14,0.17l0.33,1.5l0.41,0.33l2.46,-0.07l1.61,-2.02l2.36,-1.35l2.4,3.23l1.74,0.5l0.15,1.45l-0.41,1.13l0.26,0.48l0.62,0.21l1.69,-0.45l1.76,0.65l0.5,-0.22l0.65,-1.5l0.65,-0.68l2.55,-1.15l3.34,-0.11l1.37,0.34l1.03,0.74l2.12,0.22l1.03,-0.56l0.94,-1.22l3.47,-0.19l3.82,0.29l3.33,1.18l0.92,0.68l0.88,1.68l6.68,2.35Z",name:"Slovakia"},MT:{path:"M547.69,672.17l-1.11,0.1l-0.87,-0.6l-0.01,-0.92l0.72,0.18l1.27,1.23ZM543.86,669.2l0.21,-0.04l0.18,0.07l-0.23,0.07l-0.16,-0.09Z",name:"Malta"},SI:{path:"M558.4,514.15l-0.58,0.36l-0.27,0.83l0.66,1.7l-0.87,0.29l-1.65,-0.15l-2.27,-0.83l-1.46,0.52l-0.51,-0.13l-1.82,-1.48l-0.69,-1.19l-0.57,-0.36l-0.96,0.41l-1.36,2.21l-0.59,0.31l-3.71,0.06l-1.44,-0.5l-1.47,1.32l-3.3,-0.75l1.3,-1.09l1.85,-0.21l0.49,-0.85l-0.67,-1.21l-1.48,-1.37l-1.87,-0.9l0.48,-2.4l-0.56,-0.5l-1.19,-0.12l1.78,-1.87l0.27,-0.99l-2.23,-1.02l-1.0,-0.0l-0.2,-0.4l0.21,-0.69l3.61,-2.34l0.41,-0.89l11.45,1.94l2.8,-1.69l1.79,-1.78l4.25,-0.61l3.12,0.21l2.65,-1.17l1.66,-0.2l2.52,0.56l0.72,-0.63l0.04,-1.7l0.63,-0.57l0.61,-0.26l2.29,0.09l0.53,2.01l0.65,0.71l0.07,0.9l1.15,1.33l-1.93,-0.14l-1.22,0.94l0.08,1.71l-2.19,0.06l-1.02,1.18l-0.8,0.41l-4.21,1.44l-0.67,1.31l0.16,0.75l0.85,0.93l-0.17,2.79l-4.89,2.01l-0.16,0.91l0.87,0.78Z",name:"Slovenia"},SM:{path:"M519.71,543.1l-0.45,-0.16l0.66,-0.49l0.03,0.12l-0.25,0.53Z",name:"San Marino"},SE:{path:"M520.76,323.75l2.31,0.87l1.42,-0.61l0.14,-0.52l-1.76,-2.91l2.49,-0.3l0.9,-1.54l-0.49,-1.97l-2.39,-1.12l-1.88,-2.97l-2.08,-1.66l-3.6,-6.12l-1.32,-4.24l-0.51,-0.26l-0.86,0.28l-0.98,-4.47l-1.97,-1.01l-0.41,-4.77l-0.3,-0.35l-1.93,-0.51l-1.22,-2.08l-0.43,-4.6l-1.38,-0.8l-0.89,0.07l0.29,-1.68l-0.86,-7.72l-0.81,-2.41l0.49,-1.42l0.99,-0.13l1.05,0.84l1.08,2.44l1.23,0.55l1.65,-0.68l1.12,-2.03l1.2,-5.71l-1.57,-5.83l2.04,-2.13l1.28,-3.25l0.59,-0.43l2.52,-0.49l1.73,-1.15l2.66,-2.86l0.5,-4.2l0.98,-2.97l-0.5,-2.21l-3.21,-7.03l-0.24,-1.94l1.98,-0.63l2.88,-0.11l0.56,-0.37l1.78,-3.52l0.73,-2.76l-1.76,-2.27l-2.22,-2.02l-1.56,-0.72l-4.24,-2.89l1.8,-9.09l0.16,-2.55l-2.56,-6.53l0.33,-2.72l-0.41,-4.04l1.37,-1.57l0.05,-0.47l-2.85,-5.97l2.76,-4.11l-0.39,-2.32l6.46,-7.29l1.66,-1.21l2.57,-1.06l2.85,-0.52l10.18,1.32l0.91,-0.69l0.88,-1.26l1.06,-1.69l0.15,-2.08l-0.38,-2.85l-0.59,-1.74l-5.55,-2.58l6.02,-7.64l5.01,-8.02l0.94,-7.63l1.16,-3.36l-1.16,-7.19l6.39,-0.83l4.58,-1.92l1.56,-1.27l-0.64,-4.3l1.68,-1.31l4.43,-4.91l7.14,-6.7l0.4,-2.56l-1.05,-2.31l-3.01,-3.81l0.7,-1.43l3.43,-1.05l1.77,-1.7l2.84,-6.35l5.14,-3.08l1.96,-1.6l7.81,3.15l0.47,-0.13l2.84,-3.95l0.73,-1.63l-0.2,-7.55l1.64,-0.55l0.91,-0.15l5.22,1.45l3.88,0.18l11.04,3.05l1.69,0.08l3.69,-2.87l-0.1,-0.68l-2.97,-1.22l1.87,-1.21l2.42,-3.65l0.39,-2.24l-0.15,-1.32l-2.42,-2.49l5.83,-0.32l3.49,1.28l0.41,1.76l3.54,1.83l3.19,2.43l0.7,0.87l7.17,3.99l2.75,1.04l2.32,0.34l5.63,1.69l0.91,0.52l3.19,2.48l1.11,2.74l1.96,0.38l2.08,2.53l2.08,1.38l-1.82,1.61l-0.02,4.22l0.55,1.9l-1.01,2.11l-0.15,1.45l0.57,0.6l3.27,0.52l0.47,1.84l-1.41,1.11l-0.54,0.92l0.17,2.66l0.56,1.56l3.57,4.32l0.53,1.22l-1.21,2.31l-0.38,2.92l-1.22,1.48l-0.86,0.53l-0.43,1.07l-0.12,1.6l0.36,2.86l0.77,1.59l2.15,1.04l1.83,3.4l1.28,3.66l-3.01,0.43l-2.89,-1.0l-1.28,0.49l-5.02,0.43l-1.55,1.09l-2.27,-1.04l-2.3,-1.86l-0.51,0.01l-1.64,1.38l-0.76,0.19l-1.06,-1.24l-1.24,-0.12l-1.65,2.67l-0.35,3.09l-1.94,-0.25l-0.44,0.48l0.14,0.6l0.53,0.47l-2.9,0.43l-0.18,0.93l0.46,0.62l-0.61,0.63l-4.41,0.46l-0.55,0.67l-0.09,0.87l0.3,0.61l0.77,0.46l0.08,0.6l-1.88,-1.4l-0.5,0.08l-0.3,0.57l1.85,2.46l0.35,1.44l-1.93,2.38l-3.11,2.99l-0.85,1.59l0.1,0.49l1.82,1.74l1.54,3.9l1.61,1.71l-0.59,1.44l-2.79,1.72l-3.32,2.76l-3.43,6.64l-1.04,0.81l-2.98,1.11l-1.22,1.15l-2.17,1.25l-4.05,1.19l-1.79,1.56l-0.81,1.54l-0.53,0.07l-2.04,-1.05l-0.54,0.31l-0.16,1.14l-1.25,-0.75l-0.51,0.08l-0.97,1.16l-0.67,1.65l-2.53,2.16l-2.77,-0.4l-0.7,0.56l0.41,0.72l-2.6,0.41l-0.39,0.27l-0.94,2.25l-2.29,0.6l-0.72,0.96l0.32,0.59l2.05,0.13l-0.3,1.29l-2.74,0.93l-1.07,1.24l-0.71,-0.02l0.17,-0.42l-0.38,-0.55l-1.69,0.04l-0.49,-0.91l-0.6,-0.13l-0.37,0.29l0.08,1.31l1.02,2.21l-0.79,1.02l-0.03,0.58l1.47,0.79l-0.87,0.37l-1.41,1.48l-1.42,0.04l-1.13,1.05l-0.71,-0.0l-2.16,-1.18l-0.52,0.21l-0.53,1.86l0.78,2.11l2.2,1.98l-1.12,1.3l-1.84,6.3l0.91,3.42l-2.8,-0.75l-0.53,0.45l0.23,1.26l-1.12,1.82l0.44,2.39l-0.34,1.5l0.79,1.46l-0.42,0.9l0.53,6.73l0.99,2.76l-0.36,2.22l1.62,1.58l3.13,0.25l0.85,1.75l0.4,0.25l1.24,-0.12l2.49,-0.95l0.7,1.43l2.09,2.15l1.35,1.02l1.94,0.48l1.89,1.5l-0.11,2.2l1.01,0.75l2.41,0.77l1.86,2.64l0.72,2.14l-0.21,1.13l-3.27,1.95l-1.93,1.86l-3.29,1.82l-0.78,0.74l-0.61,0.26l-0.88,-0.13l-2.7,1.43l-0.19,0.48l0.54,0.87l2.07,0.26l1.22,-0.32l0.88,-0.73l1.45,-0.01l1.59,-0.76l0.43,0.17l0.48,0.84l-2.58,0.83l-0.54,2.14l-1.03,1.23l-2.47,0.91l-3.56,2.1l-1.06,-0.11l-1.26,0.94l-2.84,1.13l-1.56,1.59l-3.24,1.35l-1.66,1.1l-8.84,-0.19l-1.55,0.56l-0.25,0.42l2.6,0.99l1.39,-0.17l4.0,0.51l1.35,1.35l-3.09,0.88l-0.3,0.52l1.51,4.14l-0.88,1.13l-0.06,4.42l-1.32,0.36l-0.56,1.98l0.4,1.19l0.25,3.77l0.62,1.3l-0.25,1.17l-2.12,3.38l0.05,1.51l0.64,2.28l-2.37,6.77l-1.76,2.26l-0.93,1.78l-2.08,5.31l-1.98,1.63l-2.71,-1.1l-1.67,0.06l-2.41,0.6l-3.73,-0.4l-3.83,0.25l-0.92,0.53l-0.18,0.46l0.43,1.51l-0.8,0.15l-1.56,-0.48l-2.19,1.42l-1.9,1.7l-0.71,1.14l-0.17,2.38l1.76,3.55l-2.0,2.18l-1.06,0.07l-3.83,-0.68l-6.49,1.54l-5.29,-1.1l0.53,-1.06l0.42,-5.2l-0.52,-1.24l-1.43,-1.42l-3.24,-4.83l-1.03,-2.15ZM610.35,291.1l-0.44,1.16l-0.16,-0.02l-0.35,-0.5l0.95,-1.01l0.99,0.04l-0.99,0.33ZM608.6,293.08l-0.69,0.4l-0.58,1.21l-1.9,1.01l-0.31,4.36l1.23,1.47l-1.23,0.69l-1.15,2.25l-2.03,0.82l-0.99,0.77l-1.3,1.61l-0.6,1.99l-1.6,0.85l1.52,-2.4l-0.04,-0.53l-0.96,-0.91l-1.29,-2.5l0.57,-1.33l-0.21,-4.03l3.53,-3.79l1.7,-1.37l2.27,-0.59l0.99,0.53l0.56,-0.21l0.42,-1.14l0.49,-0.18l1.6,1.03ZM602.8,260.19l0.1,-0.33l0.6,-0.21l-0.46,0.3l-0.23,0.24ZM600.15,269.23l0.11,-0.28l0.27,-0.3l-0.36,0.57l-0.02,0.01ZM574.47,322.99l-0.65,0.71l-0.32,-0.99l0.14,-4.77l2.86,-5.75l1.39,-0.63l3.64,-8.06l0.2,-0.26l0.38,0.11l-0.59,0.73l0.06,1.24l-2.27,4.27l-0.62,2.77l-0.83,0.77l-3.37,9.86Z",name:"Sweden"},AT:{path:"M481.24,489.9l0.13,-0.58l-1.06,-2.68l1.05,-2.02l0.09,-1.67l1.32,-0.27l0.2,-0.84l3.5,1.6l0.51,1.42l1.54,0.43l-0.16,1.17l0.45,0.42l1.9,-0.64l0.89,-1.0l0.56,-1.07l0.32,-1.9l2.68,-0.0l2.56,0.45l1.56,1.96l1.23,0.23l3.45,-0.54l1.5,-1.13l4.2,-1.6l6.32,-0.62l0.56,-0.68l-0.02,-0.91l1.71,0.39l1.72,0.89l2.72,-0.54l0.93,0.41l0.03,1.0l0.54,0.69l2.21,1.18l0.81,-0.01l0.6,-0.84l0.29,-2.75l-0.54,-1.0l-1.45,-0.25l0.66,-1.25l-0.01,-1.43l-2.62,-3.34l0.61,-1.04l3.51,-1.91l3.25,-0.97l0.81,-0.58l0.62,-0.8l0.73,-2.89l2.33,0.93l1.08,-0.42l0.94,-0.96l0.25,-2.75l1.82,1.08l1.04,1.69l1.99,0.43l2.41,0.04l1.64,-0.85l2.7,0.45l0.45,-0.33l0.19,-1.16l1.34,-1.55l1.2,0.04l0.39,-0.27l0.74,-3.74l0.73,0.04l1.42,0.91l2.0,-0.47l5.16,1.96l1.7,-0.05l3.21,1.91l4.25,0.28l1.59,-1.06l5.12,1.61l0.79,1.59l-1.13,2.46l0.03,1.3l1.48,3.33l1.49,2.65l0.58,0.5l-0.55,0.63l-0.13,0.95l-0.66,1.21l0.38,2.0l-3.35,0.39l-2.64,-1.21l-0.78,0.17l-1.67,1.19l-0.17,0.52l0.4,0.53l2.63,0.76l0.36,0.9l-0.61,1.28l-2.51,1.02l0.22,2.14l-0.57,1.05l0.29,1.33l0.71,0.37l-0.38,1.52l-1.55,0.13l-1.08,0.52l-3.02,2.24l-0.95,1.05l-0.06,1.65l-2.43,-0.52l-1.83,0.22l-2.62,1.17l-3.01,-0.22l-4.42,0.64l-0.86,0.49l-1.18,1.41l-2.58,1.56l-9.66,-1.84l-4.61,-0.75l-4.38,-0.3l-9.29,-1.69l-1.1,-0.46l-3.08,-3.86l-0.22,-0.59l0.9,-1.44l-0.7,-0.65l-5.54,1.63l-3.29,-0.2l-4.01,0.41l-1.66,0.81l-1.47,2.36l-1.02,0.33l-2.05,-0.36l-1.13,-0.95l-2.83,-0.17l-0.56,-1.63l-1.1,-0.55l-3.07,2.23l-3.13,-1.32l-0.64,-1.3l-3.07,-0.87Z",name:"Austria"},RU:{path:"M838.4,113.7l-6.2-1.1l-2-0.7l-7.3-4.1l-3.2,1.1l-1.5,0.2l-0.8-0.9l0.5-0.7l-0.2-0.6l-4.1-1.2l-3.4-0.1l-4-1.8 l-1.6,0.4l-4.4-1.8l-1.9-1.4l-1.9-2.3l0.9-1.2l-0.2-0.7l-7.3-1.5l-6.8-0.2l-0.4,0.3l0.2,0.5l1.2,0.7l3,0.4l3.7,2.3l-0.4,1.7l0.2,0.4 l5.2,3.7l0.3,0.7l4.2,0.9l0.4,1.3l-0.5,0.9l0.7,1.2l5.5,1.9l-0.5,0.8l-1.4,0.8l-1.5,0.4l-0.3,0.4l0.2,0.4l0.9,0.3l2-0.1l7.3,2.1 l3.8,2.1l3.9,3.9l1.2,1.8l-0.1,1.9l-2.2,5.7l-0.9,1.1l-1.8,1.3l-0.1,0.6l3.6,5l1.8,3.9l0.4,4l1.2,1l-0.9,1.1l0.2,3.4l2.4,2.7 l3.4,1.7l2.3,0.4l2.8-0.7l2,0.9l2.6,1.7l0,270.1l-1.3-0.2l-2.8,1.5l-0.8-0.3l-0.5-1.1l-0.9-0.5l-0.9-1.3l-0.2-1l0.6-1.1l0-1 l-1.7-4.1l0.2-1.4l-0.6-0.6l-1.8-0.2l-1.3-2.5l-1.3-0.1l-3.1,0.6l-3.5-1.2l-3.3-0.1l0.6-0.5l0-0.9l-0.7-0.6l-0.3-3.2l-1.1-1.9 l3.2-0.6l0.6-0.6v-1l-3.9-3.8l-1.3-3.1l-1.3-1.8l-1.5-1.2l-1.2-0.6l-4,0.2l-2.3-0.4l-1.9,0.2l-3.4,1.5l-1.1,0.1l-4-1l-1.1,0 l-1.3,0.8l-1.1,2.9l-2,1l-1.8,0.1l-2.6-1l-1-2l-1.5-1.5l0.1-3.7l0.3-0.7l-1.1-1.5l-0.1-0.9l0.6-0.7l0-0.7l-4-4.6l1.7-2.9l3.2-0.1 l0.9,0.2l1.6,1.5l4.2,0.2l3.9-2.2l0.7-1.1l3-1.1l0.3-0.3l0-1.8l-0.4-0.7l-2.8-1.8l-0.5-1l0.3-0.7l-0.2-1.1l-3.5-1.7l-5.5-0.4l0.8-2 l0.2-1.2l-0.3-0.9l-0.6-0.5l-5.2-2.6l-1.3-1.7l-0.7-1.8l-0.9-1.2l-1.4-0.7l1-1.8l-0.1-0.7l-4.7-2.9l0.4-2l2.1-2.8l-0.3-1.9l-1.9-2.6 l0-0.6l1.1-1.5l0.1-3.3l-0.5-0.8l-2.2-0.5l-1.3-0.8l-2.4-2.3l-3.2-1.1l-4.1,0l-2.6,1.4l-1.6,0.4l-1.8,1.1l-1.3-1.5l0.6-1.8l-0.1-0.8 l-0.5-0.7l-4.1-1.6l-2,0.4l-2,1.1l-0.5-0.1l-1.3-1.9l-1.1-0.7l-2.4,0l-1.2,0.7l-1.7-1.4l0.7-2.2l-1.3-5.5l-1.3-1.2l-0.2-0.9 l-1.3-1.8l-0.1-1.5l-0.5-0.8l-1-0.4l-1.6,0.4l0.8-2l0.1-1.5l0.6-1.4l1-1.2v-2.1l-0.6-0.8l-3.3-2.1l-0.5-1.6l-1.9-0.4l0.6-2.1 l1.2-1.1l0.7-1.4l2.7-0.8l0.6-0.7l-0.2-0.8l-1.3-1l-0.2-1l-0.1,0l1.4,0.5l1.4,1.8l1.3,0.7l1.8,0l1-1.4l-1-2.6l-1.8-1.8l-1.8-0.9 l-3.4,0l-0.3-1.2l0.2-0.8l2.9-2.8l0.3-0.9l-1-8.5l-0.9-1.4l1-1.2l1.9-4.4l1.6-0.5l0.5-0.7l1.3-0.7l-0.2-1.1l-1.4-1.5l0.6-1.4 l-0.7-3.3l0.4-0.8l0.6-0.1l1.1,1.2l2,0.6l1.2-0.8l0.5-1.7l0.6-0.5l1.1,0.6l2,0.2l2.9-0.5l2.7-3.4l6.9,0.9l6.1,1.6l0.9-0.8l0.3-1.2 l-0.2-0.4l-2.6-1.4l-1.4-1.9l-2-1.5l-2.3-0.2l-2.8,0.5l-3.9-0.3l-3.4-2.8l-2.3-0.9l-1.6-2.2l0.8,0.5l0.6-0.3l0.4-2.5l-2.1-1.7 l-4.8,2.1l-3.8,0.5l7.3-6.5l3.4-2.2l1.1-1.2l7-4.8l3.3-3.2l2.7-2.1l11.9-12.1l5-4.1l3.4-3.3l1.4-1.9l3.5-6.9l0-1l-0.4-0.8l-2.3-2.4 l-2.2-3.1l-2.8-2l-7.5-4.3l-5.5-4.6l2.7-1.2l4-4.7l0.4-1.5l-0.2-2.7l-0.4-0.9l-1.5-1.2l-3.7-1.8l-1.5-3.2l0-0.5l1.8-2l-0.2-2.2 l-0.8-0.9l-3.8-0.8l-1-0.8l-1.2-2.5l0.2-1.2l2.4-1.4l0.4-1.2l-0.3-1.5l-2.7-0.8l1.3-1.7l0.3-3.2l1.2-2l-0.1-0.5l-1-0.9l4.6-0.9 l0.4-1.3l-0.2-1.4l-2.6-7l-3.2-4.2l-2.8-5.8l-2.3-3.7l-2.7-3.4l-0.3-0.8l0.2-1.6l2.1-2.8l4.4-5.2l5-5.2l0.7-3.2l-0.3-0.7l-2.1-1.5 l-4-4l-2.6-3.2l-8.8-2.9l-2.8-6.7l0.1-1l3.7-5.5l0.3-1.8l-1.2-0.9l-3.5-0.3l9-3.3l0.8-0.6l0.7-0.8l2.3-4.6l8.2-2.3l1.3-1l1.1-1.7 l0.5-2l-0.3-1l5.5,2.4l2.5,0.1l1.1-0.2l0.8-0.8l0.4-1.2l-0.6-3.8l1.8,0.3l5.4,1.9l1.5-0.2l1.8-0.7l1.6-2.2l1-0.3l1.5,0.5l0.5-0.2 l0.5-1l-0.7-2.2l5,1.9l2.4,1.5l5,1.3l0.7,0.5l-0.1,1.8l-0.8,0.5l-2-0.1l-8.2-1.5l-1.2,1l0,0.6l1,0.9l2.1,1l0.6,1.6l0.4,0.3l3.5-0.2 l3.3,0.7l1.4-0.2l-0.9,1.4l0.1,0.5l0.9,0.4l3.7-1.4l1.6-0.4l0.6,0.2l0.1,0.9l-0.6,1.4l-0.1,1.2l-1.1,2.5l-1.8,0.9l-0.7,1.6l0.4,0.2 l2.6-0.7l1.5-0.8l2.7-3.8l0.6-0.4l7.2-0.1l8.5,2l2,0.2l2.3-0.2l1.5-1l7.6,2l1.7,0.8V113.7z M836,140.4l0.4,1.9l-0.4,0.8l0.1,0.8 l-0.3,0.2l-1.1-1.5l-1-0.2l-0.7-0.6l-0.3-0.8h0.8l1.5-0.8L836,140.4L836,140.4z M617.2,357.4l1.5-1.2l1.4-1.7l1.2-2.2l0.4-3.1 l1.5-0.6l4,0.1l1.7-0.8l1.3-1.2l-0.8,0.9l0.1,0.6l1.1,0.5l1.4,0.2l1.6,0.7l1.5,0.1l2.7-0.6l0.3-0.3l0.6-5.9l1.6-0.2l2.2,1.5l4.3,1.8 l2.8,0.7l6.6,0.1l0.9,1.6l2.5,1.7l-1.9,5.6l0,1.5l0.9,2.1L617.2,357.4L617.2,357.4z",name:"Russia"},UA:{path:"M838.4,496.4l-2.2,0.6l-5.9,4.2l-0.8,1.3l-0.1-1l-0.8-1.2l-0.6,0l-2.2,2.9l-2.9,1.3l-0.3,2.4l0.9,3.4l1.6,3.1 l3.2,4.3l1.6,1.6l1.2,0.7l1.5,0.1l2.8-1.3l1-0.2l2,0.4v5.2l-1.4,0.2l-2.6-1.6l-1.5-0.3l-1.5,0.4l-1.7,2.1l-2.7,1.3l-0.9,1.5 l-2.5-0.3l-2.4,0.3l-3.5,1.5l-2.7,3.1l-2.7,1.8l-2.1,0.6l-2-0.2l-1.2-0.5l-2.5-1.8l1-1.8l1.1-3.8l-0.2-1.5l-0.8-2.2l-2.2-1.5l-2,0.2 l-0.9-0.3l-3.8-2.6l-2.1-0.2l-2,0.5l-0.9-0.8l8.2-5.5l1.9-0.3l2.6-1.3l2.7-1.9l0.2-0.4l-0.4-1.5l-0.6-1.2L806,506l-2.1,0.6l-3.2-2 l-3.5,0.9l-2-0.1l-4.2,0.8l-5.9-3l-1.5-0.5l-1.2,0.1l-0.2-0.2l0.3-0.1l2.2-0.5l0.4-0.7l-0.1-0.7l-0.3-0.4l-2.1-0.5l-1.9-0.2 l-1.1-0.6l9.7,1.4l2.9-2.1l0.5-1l-0.5-0.2l-3,0.8l-2.9-0.5l-1-0.7l-0.9-1l-0.3-1.1l0.2-1.2l-0.4-2.3l-1.3-3l-1.2-1.1l-0.5,0 l-0.1,0.5l2,4.8l-0.1,3.3l-0.3,1l-1,0.2l-2.8-0.5l0.3-1.5l-0.2-0.4l-0.5,0l-1,0.8l-1.2,1.7l-0.9,0.2l-2.6-0.2l-4.6,1.2l-2.2,5.1 l-1.9,2.7l-3.9,4l-4.2,1.9l-1,0.3l-1.7-0.4l-1.2,0.8l-0.4,0.9l0,1.4l1,1.2l0.6,3.6l-1.5-1.3l-2.4-0.8l-2.6,0.3l-2.6,1.4l-1.6,0.5 l-1.6-0.3l-0.5,0.6l0,0.6l-3.8-0.9l-1.7-0.9l-1.1-1.4l0.8-0.5l2.6-0.4l0.4-1.3l-0.3-1.5l3.1-3l0.2-1.4l1.4-0.7l1.5-1.4l0.8-2.4 l-0.8-1.9l-0.2-2.1l0.3-0.4l2.6-1l0.1,2.1l0.3,0.4l1-0.3l0.6-1l1,0.3l0.8-0.3l2.2,0.9l1.4-0.8l1.8,1.6l3.2-0.5l1-0.9l-0.1-0.6 l-2.6-1.8l0.2-3.1l-0.9-1.9l-4.1-2.2l-0.1-1.3l-0.7-0.9l0.5-2.5l-0.3-0.8l-2.1-1l-0.7-0.9l-2.5-1.8l-0.1-0.5l0.8-2.1l0.3-2.1 l-0.3-2.1l-1.1-1.6l-0.8-0.2l-1.4,0.6l-1.2-0.9l-1.5-2.3l-3.3-0.5l-0.9,0.8l-0.4-0.7l-1-0.2l0-0.9l-0.8-0.4l-2.6-0.3l-0.2-0.7 l-0.6-0.4l-1.1-0.3l-1.9-1.4l-4-1.1l-1.8,1l-1.1-0.2l-1.4,1l-5.2-0.2l-2.8,1.6l-0.4,0.6l-4.1,0.9l-0.7,1.8l-1.4,1.9l-9.4,1.4l-4,1.5 l-1.4,1.4l-2.1,0.4l-4.1-3.6l-1.5-0.4l-4.2,0.7l-1.5-0.6l-0.9,0.1l-4.5-1l-3.5,0l-2.7-1.6l-1-0.1l-1.4,1.5l-2.1,0.9l0-1.1l-1.2-1.4 l-1.5-0.1l-1.1-0.4l-0.9-1.3l-2.3-0.9l-0.9-1.6l0,0l-0.5-1l-1.3,0l0.1-2.2l2-2l1.3-3.3l2-3.3l3.3,0.9l0.7-0.4l0.3-0.6l-0.2-0.8 l-1.8-1.5l0.4-2l-1.1-4.1l0.7-1l4.5-5.1l5-4.8l4-3.5l3.4-0.6l1.9-2.5l0-1.7l-0.7-1.9l-0.8-1l1.5-0.7l0-0.9l-1.6-1.4l-1.7-3.3 l-2.6-3.2l0.2-1.5l-0.9-2.1l0-1.5l1-0.4l1,0.1l2.3,0.9l2.5-1.5l2.1-2l1-1.6l6.7-0.5l2.7-0.6l11.5,0.3l11.5,2.6l4.8,0.3l2.1,2.7 l4.3,0l0.9,0.4l-0.1,1.2l0.8,0.7l0.8-0.2l1.3-1.8l2,0.5l0.9-0.1l1.3-0.8l5.3,1.1l0.8,1.6l1.3,0.5l1.9-2l1.7-0.5l1.5-1l0.7,0.7l1.7,3 l0.7,0.6l3.2-0.8l8-0.8l1.8,1.2l0.5,1.5l1.6,0.9l1.4,0.2l1.6-2.1l-0.4-2.1l-0.9-2l0.6-1.5l1.1-2.2l1.1-1.4l3-2.7l1.2-0.5l2,0.4 l1.7-1l3,0l2.7,0.1l2.7,1l2.1-0.1l2.3-1.2l1.2-3l0.7-0.5l5,1l1.4-0.1l3.3-1.5l1.8-0.2l2.2,0.4l3.8-0.2l2.3,1.6l1.2,1.7l1.4,3.3 l3.8,3.5l-0.1,0.6l-3.3,0.6l-0.3,0.4l0,0.9l1.1,1.6l0.4,3.4l0.6,0.5l-0.8,1.1l0.1,0.5l0.5,0.3l3.4,0.1l3,1.2l4.6-0.5l1.2,2.5 l0.8,0.4l1.4,0l-0.2,1.3l0.9,2.8l0.8,1.2l-0.7,2.1l0.3,1.3l1.1,1.6l0.8,0.4l0.8,1.3l1.5,0.4l2.8-1.5l1.1,0.2L838.4,496.4z",name:"Ukraine"},MA:{path:"M168.5,800.3l0.9-0.9l1.3-2.2l2-0.9l4.5-0.5l6.7-1.8l6.2-2.8l1.8-1.2l4.8-4.9l8.3-5.3l4.1-4.9l6.4-8.9l1.1-2.5 l0.6-3.7l-0.4-1.7l-1.7-2.5l-1.1-0.7l-0.2-0.8l0.6-2l0.3-8.8l1.8-4.3l4.6-5.9l0.9-2.5l0.6-5l5.6-5.3l4.5-5.1l2.9-1.9l10.3-4.2l5.8-3 l3.6-2.3l2.1-2.6l5.6-10.1l5.9-15.8l4-0.7l3.1-1.5l0.6,0.2l-0.3,0.5l0.1,2l1.2,2.2l2.1,2.4l3.9,3l3,1.2l4.2,0.7l5-1.3l2.7,0l1.3-0.5 l1.4,0.8l2.7,0.3l2.8-0.4l2.9-2.1l1.7,3.7l3.3,0.5l5.4,0.1l1.2,2l4.6,3.4l-0.7,2.3l1.5,1.9l-0.8,1.8l1.2,3l-0.1,6.2l1.1,3.4l-0.6,4 l1.8,3.8l0.5,3l0.9,1.6l4.8,3.7l0.4,0.9l-2.3,2l-0.3,1.3l0.5,2.1l-16.6-0.5l-5.8,0.9l-1.3,0.8l-1.1,3l-5.7,1.9l-4.7,0.3l-1,0.7 l-0.3,0.8l0.8,3.9l-0.6,2.5l0.4,0.8l2.5,1.5l-0.4,1l-4.4,0.8l-4.7,3.3l-6.3,2.2l-2.7,1.4l-3.1,4.7l-3.6,3.1l-7.6,1.9l-6.8,0.2 l-0.5,0.5l-0.3,2.2l-1.2,1.1l-7.2-0.7l-4.8,3.4l-2.9,0.7l-8.1,5.6l-5.4,3.9l-0.5,0.8l-0.1,15.2",name:"Morocco"},DZ:{path:"M230.4,800.3l0.1-15.1l13.5-9.5l2.8-0.7l4.5-3.3l7.1,0.7l0.9-0.3l1.2-1.3l0.3-2.2l0.1-0.1l6.6-0.2l7.8-1.9 l2.3-1.6l1.7-1.7l3-4.5l2.5-1.3l6.3-2.2l4.7-3.3l4.5-0.8l0.8-1l-0.1-1.3l-2.8-1.8l0.6-2.5l-0.8-3.8l0.8-0.7l4.5-0.2l6-2l0.7-0.9 l0.7-2.4l0.6-0.3l5.7-0.8l16.3,0.6l0.9-0.3l0.3-0.4l-0.5-2.5l0.2-0.8l2.3-1.9l0.1-0.6l-0.8-1.5l-4.7-3.5l-0.8-1.3l-0.6-3.1l-1.7-3.6 l0.6-3.8l-1.2-3.5l0.3-3.3l-0.2-2.9l-1.1-3l0.8-1.7l-1.6-2.2l0.7-2.3l-4.8-3.8l-0.9-1.2l3.6,0.1l3.5-1.4l4.9-3l3.4-3.3l9.1-4.4 l3.2,0.7l2.2-0.3l1.5-1.2l1.4-2.5l2.1-1.5l9.1-4.5l3.9-1.2l15.1-1.4l3.5,0.2l5.4-2.9l7.6-0.2l3.7-1.6h13.5l3.1,1.3l2.9,2.2l1.7,0.5 l1.9-0.5l4.2-2l4.8-1.1l2.6-1.2l1.2-1.7l1.8-0.5l1.3,1.2l4.9,1.3l4.6-0.8l0.3-0.6l-0.3-1.3l2.4,0.4l2.3,0.9l2.5,1.9l1.8,0.5l3.2-0.9 l5.9-0.4l0.2,0.9l-1.9,1l-1.2,2.2l-1.8,1.3l-0.5,0.8l0.3,0.8l1.2,0.6l0.5,1l-1.4,9l1,2.5l0,3.8l1,3.1l-1,1.7l-0.5,1.8l-0.4,3.9 l-1.6,2.5l-3.9,2.3l-1.4,2.5l-3.3,2.7l-0.3,4.2l3.3,9.1l0.6,0.7l4.8,2.7l1.3,1.9l1.9,6.1l9.8,7.1l6.5,27.9l-2.6,1.6l-0.2,0.7 l4.6,7.3l2.3,6.9l0.5,3.1l-0.4,6.2l0.6,7.8l0.8,3.8l-0.5,1.4",name:"Algeria"},TN:{path:"M466.2,663.6l2-1.5l1.1-2.1l2.1-1.1l0-1.7l3.1-0.9l4.3-3.1l7.5-2.3l1.5,0.3l-0.6,1.5l0.6,1.2l0.7,0.1l0.9-0.7 l-0.1-1.1l2.3,0.1l1.2,0.6l-0.1,2.5l2,2.8l-0.5,1.1l0.2,0.6l1.7,0.8l1.9-1l0.8-1.4l2.7-0.8l2.5-2l0.9-0.1l0.8,2.4l-2,2l-2.3,3.9 l-2.1,1.1l-1.7,1.6l-0.8,2.7l0.5,2.5l1.3,2.4l1.4,1.4l1.4,0.5l2.8,2l0.6,4.5l1,1.5l-5.8,8.6l-2.1,2l-5.8,4.2l-1.2,2.6l0.2,1.5 l1.5,3.2l2.1,2l2.5,1.2l3-0.3l0.2,2.3l0.5,0.4l2.5-0.3l0.9-1.3l1.2,0.7l0.9,2.8l1.3,1l-0.5,0.4l0.1,0.8l4,0.9l-0.6,4.1l-0.1,4 l1.1,2.5l-0.3,0.7l-9.3,5.1l-0.8,1l-2.2,1.4l-1.8,3l-2.2,0.5l-0.7,0.5l-1.6,2.2l-0.7,1.6l1.8,6.6l0.2,2.4l-0.5,1.1l-4.4,5.9 l-4.6,2.1l-6.6-27.9l-9.9-7.3l-0.4-2.3l-1.3-3.6l-1.4-2.1l-5.3-3.3l-3.2-8.7l0.2-3.6l3.1-2.6l1.3-2.5l3.9-2.4l1.1-1.5l0.8-1.6 l0.9-5.4l1.1-1.8l-1-3.5l0-4l-1-2.4l1.4-9.1l-0.7-1.6L466.2,663.6L466.2,663.6z M508,691.3L508,691.3L508,691.3L508,691.3z M503.8,707.3l-1.1,0.5l-1.5-0.6l0.2-1.6l2-0.1l1.2,1.1L503.8,707.3L503.8,707.3z",name:"Tunisia"},LY:{path:"M489.4,800.3l0.5-1.5l-0.8-3.9l-0.6-7.8l0.4-6.1l-0.5-3.3l-2.3-7.1l-4.4-7l7.9-4l4.6-6.2l0.6-1.2l0-1.4l-2-7.9 l2.1-3.1l2.8-0.8l1-1.1l0.9-1.9l2.1-1.3l0.8-1l9.6-5.3l0.5-2l-1.1-1.9l0.1-3.8l0.6-3.8l0,0l1.6,0.7l2.1,0.4l6.6,3.7l6.7,0.9l7.4-1.7 l3.5,1.4l4.2,0.5l4.4,1.2l5,3.1l9.1,1.8l1.1,1.1l1.2,2.2l0.1,2.9l1.9,4.9l3.1,3.8l5.9,2.5l9.3,0.8l7.9,2l6.6,2.3l1.7,1.2l3.3,1.1 l6.7,5.5l3.7,1.9l2.8,0.4l2.6-0.4l5.9-3.1l4.3-4.9l1.4-2.6l0.6-1.9l-0.1-2l-2.5-5.6l-0.5-3.9l0.6-2.7l2-3.2l3.4-3.2l3.4-2.3l6-3 l5-0.4l3-2.2l2.7,0.5l4.8-0.1l12.2,4.5l0.5,2.3l-0.1,2.2l2.7,1.9l7.1,0.8l4.7,2.3l4.9,0.2l2.9-0.3l2.6,0.5l1.8,1.4l1.5,3.1l-4,5.1 l0.3,4.2l1.3,4.4l-0.2,1.4l-1.1,3.3l-2.5,4.2l3.9,15.5l0,22.5",name:"Libya"},EG:{path:"M700.1,800.3v-22.6l-3.9-15.5l2.4-3.8l1.2-3.5l0.2-1.7l-1.3-4.4l-0.3-4l3.5-4.4l1.1,1.6l2.2,0.3l7.2-1.7 l18.7,3.7l4.1,2.6l1.3,0.3l2.8,0l2,1.5l7.6,0.7l7.9,3.4l3-0.6l2.2-1l7-4.6l1.5-0.5l2.4,0.1l2.6-3.1l1.9-0.2l0,0l-0.2,0.4l0.4,0.4 l1.9,0.2l4.3-0.9l1.1-2.1l1.4,0.2l4.7,2l1.3,0l3.7-1.2l-2,3l0.2,0.7l3.2,1.1l1.2,1.8l0.5,0.2l1.7-0.6l1-1.3l-0.2-0.8l3,2.4l1.3,0.6 l7.1-1.5l1.2,1.2l2.5-0.7h4.1l3.4-0.8l3.7-1.8l4.4,12.9l1.8,3.9l3.3,10.6l-2.2,3.2l-1.7,7.7l-2.4,6l-0.7,5.1l-2.2,3.4l-2-0.8 l-3.9-3.2l-2.3-3.1l-2.5-2.1l-2.3-2.6l-1.6-6.2l-0.8-1.5l-2.8-3.2l-2-3.5l-1-4.2l-1.2-2.7l-0.7-0.2L804,766l0,1.4l-1.1,1.5l-0.7,2.1 l0.6,1.7l2.3,2.2l0.4,0.9l0.5,2l0,3l0.5,1.1l1.7,2.1l1.6,3.3l4.3,5.5l2.4,2.4l1.7,1.2l0.6,1l0.1,3",name:"Egypt"},TR:{path:"M838.4,665.1l-7.4-3.3l-2-0.2l-6.1,3.7l-5,5.2l-3.7,1.8l-10.9,1.4l-2,0.9l-3.4-1l-2.1-1.3l-5.2-5.8l-9.9-4.5 l-10.6-1.1l-1.7,1.9l-0.3,4.3l-1.4,3.9l-2.9-0.7l-7.5,2.5l-6.4-2.6l-0.9-1l-1.5-4.8l-1.5-0.9l-2.4,0.6l-4.6-2L736,662l-3,2.8 l0.3-0.5l-0.7-1.2l-0.7,0l3.5-3l0.3-0.5l-0.7-1.1l-13.6,0.5l0.2-0.5l3.3-0.7l0.6-0.9l-0.6-2l-4-2.1l-1.7-4.1l1.8-1l0.1-4.6l-5.6-1.9 l-2.8-2.3l-2,0.7l-3-1.4l1.6-1.3l0.1-1.7l-0.7-2.2l1.6,0.9l0.2,2.4l1,1.4l0.5,0.3l1.3-1l0-0.1l2,0.4l3.5-0.7l1.2-1.7l-3.7-0.8 l-1.7-3.1l1.8-0.8l1.5-1.9l-0.7-1.6l-2-0.5l0.4-2.7l-2.2-2.7l3-3.2l0-1.3l-1.9-0.8l-9.7,1.5l0.8-2.3l0.3-5.1l1.9-0.7l5.9-6.2l3.7,0 l1.8-1l1.7,0l0.8,1.3l2.5,1l3.9-0.2l1.9-1l0.1-0.9l0.4,1l0.9,0.2l4.7-0.6l10.5,0.2l1.2-0.8l-0.1-1.2l-2.9-1.3l1.4-0.9l12.7-1.9 l0.7-0.6l-0.7-1.3l-8.2-1.4l-2.7-2.3l1-2.8l10.8,1.2l6.3-0.8l6.9,1.9l6.5-0.4l2-1.3l1.5-2.6l8.9-4.6l3.2-2.5l14.1-4.8l21.1,0.8 l3.8-1.8l1.1,0.3l-0.1,2.3l2.9,3.1l1.1,0.4 M727.2,663.8l-0.8,0.4l-0.6-0.1l0.6-0.3C726.4,663.9,727.2,663.8,727.2,663.8z M729.7,601.6L729.7,601.6l-0.9-1l1.4,0.2L729.7,601.6L729.7,601.6z M703.9,596.6l4.2-4.8l-0.3-4.1l3.3-1.7l0.9-1.3l-0.6-4l-3.8-2.4 l2.6-0.9l1.1-2.1l3.9-0.5l2-1.2l3.4-0.4l3.6,2.8l6.4-0.9l-0.2,1.7l0.9,2.2l2.4,3.4l2.3,1.6l9.7,4l-1,2.6l-2.1,0.5l-8.8-1.8l-3.8,1.6 l-2.6-0.3l-3.6,0.7l-3.8,5.1l-6.3,3l0.6-0.8l-0.6-1.2l-9.5,0.3L703.9,596.6L703.9,596.6z M711.8,600.5l-3.4,3.1l-2,2.3l0.2-2.3 l2.4-1.9L711.8,600.5L711.8,600.5z M698.8,606l1.7-0.6l0.4,0.3C700.9,605.7,698.8,606,698.8,606z",name:"Turkey"}},height:790.3360148034734,projection:{type:"mill",centralMeridian:11.5},width:900})}).call(this,i(2))},function(e,t){},,,,,,,,function(e,t,i){"use strict";i.r(t),i.d(t,"default",(function(){return $})),i.d(t,"TweenLite",(function(){return n.l})),i.d(t,"TweenMax",(function(){return $})),i.d(t,"TimelineLite",(function(){return s})),i.d(t,"TimelineMax",(function(){return r})),i.d(t,"CSSPlugin",(function(){return l})),i.d(t,"AttrPlugin",(function(){return o})),i.d(t,"BezierPlugin",(function(){return E})),i.d(t,"RoundPropsPlugin",(function(){return c})),i.d(t,"DirectionalRotationPlugin",(function(){return p})),i.d(t,"TweenPlugin",(function(){return n.j})),i.d(t,"Ease",(function(){return n.b})),i.d(t,"Power0",(function(){return n.d})),i.d(t,"Power1",(function(){return n.e})),i.d(t,"Power2",(function(){return n.f})),i.d(t,"Power3",(function(){return n.g})),i.d(t,"Power4",(function(){return n.h})),i.d(t,"Linear",(function(){return n.c})),i.d(t,"Back",(function(){return P})),i.d(t,"Elastic",(function(){return k})),i.d(t,"Bounce",(function(){return A})),i.d(t,"RoughEase",(function(){return L})),i.d(t,"SlowMo",(function(){return O})),i.d(t,"SteppedEase",(function(){return I})),i.d(t,"Circ",(function(){return D})),i.d(t,"Expo",(function(){return R})),i.d(t,"Sine",(function(){return z})),i.d(t,"ExpoScaleEase",(function(){return N})),i.d(t,"_gsScope",(function(){return n.k}));var n=i(1);
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */n.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var e=function(e){n.i.call(this,e);var t,i,s=this.vars;for(i in this._labels={},this.autoRemoveChildren=!!s.autoRemoveChildren,this.smoothChildTiming=!!s.smoothChildTiming,this._sortChildren=!0,this._onUpdate=s.onUpdate,s)t=s[i],r(t)&&-1!==t.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(t));r(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},t=n.l._internals,i=e._internals={},s=t.isSelector,r=t.isArray,a=t.lazyTweens,l=t.lazyRender,o=n.k._gsDefine.globals,c=function(e){var t,i={};for(t in e)i[t]=e[t];return i},h=function(e,t,i){var n,s,r=e.cycle;for(n in r)s=r[n],e[n]="function"==typeof s?s(i,t[i],t):s[i%s.length];delete e.cycle},d=i.pauseCallback=function(){},u=function(e,t,i,n){var s="immediateRender";return s in t||(t[s]=!(i&&!1===i[s]||n)),t},p=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},i=t.ease,n=t.from||0,s=t.base||0,r={},a=isNaN(n),l=t.axis,o={center:.5,end:1}[n]||0;return function(e,c,h){var d,u,p,f,m,g,v,y,_,b=(h||t).length,w=r[b];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=h[_++].getBoundingClientRect().left)&&_<b;);_--}for(w=r[b]=[],d=a?Math.min(_,b)*o-.5:n%_,u=a?b*o/_-.5:n/_|0,v=0,y=1/0,g=0;g<b;g++)p=g%_-d,f=u-(g/_|0),w[g]=m=l?Math.abs("y"===l?f:p):Math.sqrt(p*p+f*f),m>v&&(v=m),m<y&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b-1:l?"y"===l?b/_:_:Math.max(_,b/_))||0,w.b=b<0?s-b:s}return b=(w[e]-w.min)/w.max,w.b+(i?i.getRatio(b):b)*w.v}},f=e.prototype=new n.i;return e.version="2.1.3",e.distribute=p,f.constructor=e,f.kill()._gc=f._forcingPlayhead=f._hasPause=!1,f.to=function(e,t,i,s){var r=i.repeat&&o.TweenMax||n.l;return t?this.add(new r(e,t,i),s):this.set(e,i,s)},f.from=function(e,t,i,s){return this.add((i.repeat&&o.TweenMax||n.l).from(e,t,u(0,i)),s)},f.fromTo=function(e,t,i,s,r){var a=s.repeat&&o.TweenMax||n.l;return s=u(0,s,i),t?this.add(a.fromTo(e,t,i,s),r):this.set(e,s,r)},f.staggerTo=function(t,i,r,a,l,o,d,u){var f,m,g=new e({onComplete:o,onCompleteParams:d,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),v=p(r.stagger||a),y=r.startAt,_=r.cycle;for("string"==typeof t&&(t=n.l.selector(t)||t),s(t=t||[])&&(t=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i}(t)),m=0;m<t.length;m++)f=c(r),y&&(f.startAt=c(y),y.cycle&&h(f.startAt,t,m)),_&&(h(f,t,m),null!=f.duration&&(i=f.duration,delete f.duration)),g.to(t[m],i,f,v(m,t[m],t));return this.add(g,l)},f.staggerFrom=function(e,t,i,n,s,r,a,l){return i.runBackwards=!0,this.staggerTo(e,t,u(0,i),n,s,r,a,l)},f.staggerFromTo=function(e,t,i,n,s,r,a,l,o){return n.startAt=i,this.staggerTo(e,t,u(0,n,i),s,r,a,l,o)},f.call=function(e,t,i,s){return this.add(n.l.delayedCall(0,e,t,i),s)},f.set=function(e,t,i){return this.add(new n.l(e,0,u(0,t,null,!0)),i)},e.exportRoot=function(t,i){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var s,r,a,l,o=new e(t),c=o._timeline;for(null==i&&(i=!0),c._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=c._time,a=c._first;a;)l=a._next,i&&a instanceof n.l&&a.target===a.vars.onComplete||((r=a._startTime-a._delay)<0&&(s=1),o.add(a,r)),a=l;return c.add(o,0),s&&o.totalDuration(),o},f.add=function(t,i,s,a){var l,o,c,h,d,u;if("number"!=typeof i&&(i=this._parseTimeOrLabel(i,0,!0,t)),!(t instanceof n.a)){if(t instanceof Array||t&&t.push&&r(t)){for(s=s||"normal",a=a||0,l=i,o=t.length,c=0;c<o;c++)r(h=t[c])&&(h=new e({tweens:h})),this.add(h,l),"string"!=typeof h&&"function"!=typeof h&&("sequence"===s?l=h._startTime+h.totalDuration()/h._timeScale:"start"===s&&(h._startTime-=h.delay())),l+=a;return this._uncache(!0)}if("string"==typeof t)return this.addLabel(t,i);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=n.l.delayedCall(0,t)}if(n.i.prototype.add.call(this,t,i),(t._time||!t._duration&&t._initted)&&(l=(this.rawTime()-t._startTime)*t._timeScale,(!t._duration||Math.abs(Math.max(0,Math.min(t.totalDuration(),l)))-t._totalTime>1e-5)&&t.render(l,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(u=(d=this).rawTime()>t._startTime;d._timeline;)u&&d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._gc&&d._enabled(!0,!1),d=d._timeline;return this},f.remove=function(e){if(e instanceof n.a){this._remove(e,!1);var t=e._timeline=e.vars.useFrames?n.a._rootFramesTimeline:n.a._rootTimeline;return e._startTime=(e._paused?e._pauseTime:t._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&r(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},f._remove=function(e,t){return n.i.prototype._remove.call(this,e,t),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},f.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},f.insert=f.insertMultiple=function(e,t,i,n){return this.add(e,t||0,i,n)},f.appendMultiple=function(e,t,i,n){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),i,n)},f.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},f.addPause=function(e,t,i,s){var r=n.l.delayedCall(0,d,i,s||this);return r.vars.onComplete=r.vars.onReverseComplete=t,r.data="isPause",this._hasPause=!0,this.add(r,e)},f.removeLabel=function(e){return delete this._labels[e],this},f.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},f._parseTimeOrLabel=function(e,t,i,s){var a,l;if(s instanceof n.a&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&r(s)))for(l=s.length;--l>-1;)s[l]instanceof n.a&&s[l].timeline===this&&this.remove(s[l]);if(a="number"!=typeof e||t?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof t)return this._parseTimeOrLabel(t,i&&"number"==typeof e&&null==this._labels[t]?e-a:0,i);if(t=t||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=a);else{if(-1===(l=e.indexOf("=")))return null==this._labels[e]?i?this._labels[e]=a+t:t:this._labels[e]+t;t=parseInt(e.charAt(l-1)+"1",10)*Number(e.substr(l+1)),e=l>1?this._parseTimeOrLabel(e.substr(0,l-1),0,i):a}return Number(e)+t},f.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},f.stop=function(){return this.paused(!0)},f.gotoAndPlay=function(e,t){return this.play(e,t)},f.gotoAndStop=function(e,t){return this.pause(e,t)},f.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var n,s,r,o,c,h,d,u,p=this._time,f=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,g=this._timeScale,v=this._paused;if(p!==this._time&&(e+=this._time-p),this._hasPause&&!this._forcingPlayhead&&!t){if(e>p)for(n=this._first;n&&n._startTime<=e&&!h;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(h=n),n=n._next;else for(n=this._last;n&&n._startTime>=e&&!h;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(h=n),n=n._prev;h&&(this._time=this._totalTime=e=h._startTime,u=this._startTime+(this._reversed?this._duration-e:e)/this._timeScale)}if(e>=f-1e-8&&e>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&e>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==e&&this._first&&(c=!0,this._rawPrevTime>1e-8&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,e=f+1e-4;else if(e<1e-8)if(this._totalTime=this._time=0,e>-1e-8&&(e=0),(0!==p||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||e<0&&this._rawPrevTime>=0))&&(o="onReverseComplete",s=this._reversed),e<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=s=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(c=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,0===e&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;e=0,this._initted||(c=!0)}else this._totalTime=this._time=this._rawPrevTime=e;if(this._time!==p&&this._first||i||c||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&e>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||t||this._callback("onStart")),(d=this._time)>=p)for(n=this._first;n&&(r=n._next,d===this._time&&(!this._paused||v));)(n._active||n._startTime<=d&&!n._paused&&!n._gc)&&(h===n&&(this.pause(),this._pauseTime=u),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)),n=r;else for(n=this._last;n&&(r=n._prev,d===this._time&&(!this._paused||v));){if(n._active||n._startTime<=p&&!n._paused&&!n._gc){if(h===n){for(h=n._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(e-h._startTime)*h._timeScale:(e-h._startTime)*h._timeScale,t,i),h=h._prev;h=null,this.pause(),this._pauseTime=u}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)}n=r}this._onUpdate&&(t||(a.length&&l(),this._callback("onUpdate"))),o&&(this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||f>=this.totalDuration())&&(s&&(a.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o)))}},f._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof e&&t._hasPausedChild())return!0;t=t._next}return!1},f.getChildren=function(e,t,i,s){s=s||-9999999999;for(var r=[],a=this._first,l=0;a;)a._startTime<s||(a instanceof n.l?!1!==t&&(r[l++]=a):(!1!==i&&(r[l++]=a),!1!==e&&(l=(r=r.concat(a.getChildren(!0,t,i))).length))),a=a._next;return r},f.getTweensOf=function(e,t){var i,s,r=this._gc,a=[],l=0;for(r&&this._enabled(!0,!0),s=(i=n.l.getTweensOf(e)).length;--s>-1;)(i[s].timeline===this||t&&this._contains(i[s]))&&(a[l++]=i[s]);return r&&this._enabled(!1,!0),a},f.recent=function(){return this._recent},f._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},f.shiftChildren=function(e,t,i){i=i||0;for(var n,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=e),s=s._next;if(t)for(n in r)r[n]>=i&&(r[n]+=e);return this._uncache(!0)},f._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),n=i.length,s=!1;--n>-1;)i[n]._kill(e,t)&&(s=!0);return s},f.clear=function(e){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},f.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return n.a.prototype.invalidate.call(this)},f._enabled=function(e,t){if(e===this._gc)for(var i=this._first;i;)i._enabled(e,!0),i=i._next;return n.i.prototype._enabled.call(this,e,t)},f.totalTime=function(e,t,i){this._forcingPlayhead=!0;var s=n.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},f.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},f.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,i,n=0,s=this,r=s._last,a=999999999999;r;)t=r._prev,r._dirty&&r.totalDuration(),r._startTime>a&&s._sortChildren&&!r._paused&&!s._calculatingDuration?(s._calculatingDuration=1,s.add(r,r._startTime-r._delay),s._calculatingDuration=0):a=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,s._timeline.smoothChildTiming&&(s._startTime+=r._startTime/s._timeScale,s._time-=r._startTime,s._totalTime-=r._startTime,s._rawPrevTime-=r._startTime),s.shiftChildren(-r._startTime,!1,-9999999999),a=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=t;s._duration=s._totalDuration=n,s._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},f.paused=function(e){if(!1===e&&this._paused)for(var t=this._first;t;)t._startTime===this._time&&"isPause"===t.data&&(t._rawPrevTime=0),t=t._next;return n.a.prototype.paused.apply(this,arguments)},f.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===n.a._rootFramesTimeline},f.rawTime=function(e){return e&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},e}),!0);var s=n.m.TimelineLite;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */n.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var e=function(e){s.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},t=n.l._internals,i=t.lazyTweens,r=t.lazyRender,a=n.k._gsDefine.globals,l=new n.b(null,null,1,0),o=e.prototype=new s;return o.constructor=e,o.kill()._gc=!1,e.version="2.1.3",o.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),s.prototype.invalidate.call(this)},o.addCallback=function(e,t,i,s){return this.add(n.l.delayedCall(0,e,i,s),t)},o.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var i=this.getTweensOf(e,!1),n=i.length,s=this._parseTimeOrLabel(t);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},o.removePause=function(e){return this.removeCallback(s._internals.pauseCallback,e)},o.tweenTo=function(e,t){t=t||{};var i,s,r,o={ease:l,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},c=t.repeat&&a.TweenMax||n.l;for(s in t)o[s]=t[s];return o.time=this._parseTimeOrLabel(e),i=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,r=new c(this,i,o),o.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||i!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),t.onStart&&t.onStart.apply(t.onStartScope||t.callbackScope||r,t.onStartParams||[])},r},o.tweenFromTo=function(e,t,i){i=i||{},e=this._parseTimeOrLabel(e),i.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(t,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-e)/this._timeScale||.001)},o.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var s,a,l,o,c,h,d,u,p,f=this._time,m=this._dirty?this.totalDuration():this._totalDuration,g=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,b=this._rawPrevTime,w=this._paused,x=this._cycle;if(f!==this._time&&(e+=this._time-f),e>=m-1e-8&&e>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(a=!0,o="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&e>=-1e-8||b<0||1e-8===b)&&b!==e&&this._first&&(c=!0,b>1e-8&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:1e-8,this._yoyo&&1&this._cycle?this._time=e=0:(this._time=g,e=g+1e-4);else if(e<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,e>-1e-8&&(e=0),(0!==f||0===g&&1e-8!==b&&(b>0||e<0&&b>=0)&&!this._locked)&&(o="onReverseComplete",a=this._reversed),e<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=a=!0,o="onReverseComplete"):b>=0&&this._first&&(c=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=g||!t||e||this._rawPrevTime===e?e:1e-8,0===e&&a)for(s=this._first;s&&0===s._startTime;)s._duration||(a=!1),s=s._next;e=0,this._initted||(c=!0)}else 0===g&&b<0&&(c=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,0!==this._repeat&&(h=g+this._repeatDelay,this._cycle=this._totalTime/h>>0,this._cycle&&this._cycle===this._totalTime/h&&v<=e&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&1&this._cycle&&(this._time=g-this._time),this._time>g?(this._time=g,e=g+1e-4):this._time<0?this._time=e=0:e=this._time));if(this._hasPause&&!this._forcingPlayhead&&!t){if((e=this._time)>f||this._repeat&&x!==this._cycle)for(s=this._first;s&&s._startTime<=e&&!d;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(d=s),s=s._next;else for(s=this._last;s&&s._startTime>=e&&!d;)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(d=s),s=s._prev;d&&(p=this._startTime+(this._reversed?this._duration-d._startTime:d._startTime)/this._timeScale,d._startTime<g&&(this._time=this._rawPrevTime=e=d._startTime,this._totalTime=e+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==x&&!this._locked){var T=this._yoyo&&0!=(1&x),S=T===(this._yoyo&&0!=(1&this._cycle)),M=this._totalTime,E=this._cycle,C=this._rawPrevTime,P=this._time;if(this._totalTime=x*g,this._cycle<x?T=!T:this._totalTime+=g,this._time=f,this._rawPrevTime=0===g?b-1e-4:b,this._cycle=x,this._locked=!0,f=T?0:g,this.render(f,t,0===g),t||this._gc||this.vars.onRepeat&&(this._cycle=E,this._locked=!1,this._callback("onRepeat")),f!==this._time)return;if(S&&(this._cycle=x,this._locked=!0,f=T?g+1e-4:-1e-4,this.render(f,!0,!1)),this._locked=!1,this._paused&&!w)return;this._time=P,this._totalTime=M,this._cycle=E,this._rawPrevTime=C}if(this._time!==f&&this._first||n||c||d){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&e>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||t||this._callback("onStart")),(u=this._time)>=f)for(s=this._first;s&&(l=s._next,u===this._time&&(!this._paused||w));)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(d===s&&(this.pause(),this._pauseTime=p),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,n):s.render((e-s._startTime)*s._timeScale,t,n)),s=l;else for(s=this._last;s&&(l=s._prev,u===this._time&&(!this._paused||w));){if(s._active||s._startTime<=f&&!s._paused&&!s._gc){if(d===s){for(d=s._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(e-d._startTime)*d._timeScale:(e-d._startTime)*d._timeScale,t,n),d=d._prev;d=null,this.pause(),this._pauseTime=p}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,n):s.render((e-s._startTime)*s._timeScale,t,n)}s=l}this._onUpdate&&(t||(i.length&&r(),this._callback("onUpdate"))),o&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||m>=this.totalDuration())&&(a&&(i.length&&r(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o)))}else v!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},o.getActive=function(e,t,i){var n,s,r=[],a=this.getChildren(e||null==e,t||null==e,!!i),l=0,o=a.length;for(n=0;n<o;n++)(s=a[n]).isActive()&&(r[l++]=s);return r},o.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,i=this.getLabelsArray(),n=i.length;for(t=0;t<n;t++)if(i[t].time>e)return i[t].name;return null},o.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),i=t.length;--i>-1;)if(t[i].time<e)return t[i].name;return null},o.getLabelsArray=function(){var e,t=[],i=0;for(e in this._labels)t[i++]={time:this._labels[e],name:e};return t.sort((function(e,t){return e.time-t.time})),t},o.invalidate=function(){return this._locked=!1,s.prototype.invalidate.call(this)},o.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()||0},o.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()||0},o.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(s.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},o.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return e>i&&(e=i),this.totalTime(this._yoyo&&1&n?i-e+s:this._repeat?e+s:e,t)},o.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},o.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},o.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},o.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},e}),!0);var r=n.m.TimelineMax;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/n.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var e=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},t=function(e,t,i){var n,s,r=e.cycle;for(n in r)s=r[n],e[n]="function"==typeof s?s(i,t[i],t):s[i%s.length];delete e.cycle},i=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},i=t.ease,n=t.from||0,s=t.base||0,r={},a=isNaN(n),l=t.axis,o={center:.5,end:1}[n]||0;return function(e,c,h){var d,u,p,f,m,g,v,y,_,b=(h||t).length,w=r[b];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=h[_++].getBoundingClientRect().left)&&_<b;);_--}for(w=r[b]=[],d=a?Math.min(_,b)*o-.5:n%_,u=a?b*o/_-.5:n/_|0,v=0,y=1/0,g=0;g<b;g++)p=g%_-d,f=u-(g/_|0),w[g]=m=l?Math.abs("y"===l?f:p):Math.sqrt(p*p+f*f),m>v&&(v=m),m<y&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b-1:l?"y"===l?b/_:_:Math.max(_,b/_))||0,w.b=b<0?s-b:s}return b=(w[e]-w.min)/w.max,w.b+(i?i.getRatio(b):b)*w.v}},s=function(e,t,i){n.l.call(this,e,t,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=s.prototype.render},r=n.l._internals,a=r.isSelector,l=r.isArray,o=s.prototype=n.l.to({},.1,{}),c=[];s.version="2.1.3",o.constructor=s,o.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=n.l.killTweensOf,s.getTweensOf=n.l.getTweensOf,s.lagSmoothing=n.l.lagSmoothing,s.ticker=n.l.ticker,s.render=n.l.render,s.distribute=i,o.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),n.l.prototype.invalidate.call(this)},o.updateTo=function(e,t){var i,s=this.ratio,r=this.vars.immediateRender||e.immediateRender;for(i in t&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),e)this.vars[i]=e[i];if(this._initted||r)if(t)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&n.l._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||r)for(var l,o=1/(1-s),c=this._firstPT;c;)l=c.s+c.c,c.c*=o,c.s=l-c.c,c=c._next;return this},o.render=function(e,t,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,a,l,o,c,h,d,u,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,v=this._cycle,y=this._duration,_=this._rawPrevTime;if(e>=f-1e-8&&e>=0?(this._totalTime=f,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,a="onComplete",i=i||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(_<0||e<=0&&e>=-1e-8||1e-8===_&&"isPause"!==this.data)&&_!==e&&(i=!0,_>1e-8&&(a="onReverseComplete")),this._rawPrevTime=u=!t||e||_===e?e:1e-8)):e<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===y&&_>0)&&(a="onReverseComplete",s=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||i)&&(_>=0&&(i=!0),this._rawPrevTime=u=!t||e||_===e?e:1e-8)),this._initted||(i=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(o=y+this._repeatDelay,this._cycle=this._totalTime/o>>0,0!==this._cycle&&this._cycle===this._totalTime/o&&g<=e&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&0!=(1&this._cycle)&&(this._time=y-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof n.b?p:n.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof n.b?p:"function"==typeof p?new n.b(p,this.vars.easeParams):n.b.map[p]||n.l.defaultEase:n.l.defaultEase)),this.ratio=p?1-p.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!p?(c=this._time/y,(1===(h=this._easeType)||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===(d=this._easePower)?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:this._time/y<.5?c/2:1-c/2):p||(this.ratio=this._ease.getRatio(this._time/y))),m!==this._time||i||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=_,this._cycle=v,r.lazyTweens.push(this),void(this._lazy=[e,t]);!this._time||s||p?s&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/y)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&e>=0&&(this._active=!0),0===g&&(2===this._initted&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,!0,i):a||(a="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==y||t||this._callback("onStart"))),l=this._firstPT;l;)l.f?l.t[l.p](l.c*this.ratio+l.s):l.t[l.p]=l.c*this.ratio+l.s,l=l._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,!0,i),t||(this._totalTime!==g||a)&&this._callback("onUpdate")),this._cycle!==v&&(t||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),a&&(this._gc&&!i||(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this._callback(a),0===y&&1e-8===this._rawPrevTime&&1e-8!==u&&(this._rawPrevTime=0)))}else g!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},s.to=function(e,t,i){return new s(e,t,i)},s.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new s(e,t,i)},s.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new s(e,t,n)},s.staggerTo=s.allTo=function(r,o,h,d,u,p,f){var m,g,v,y,_=[],b=i(h.stagger||d),w=h.cycle,x=(h.startAt||c).cycle;for(l(r)||("string"==typeof r&&(r=n.l.selector(r)||r),a(r)&&(r=e(r))),m=(r=r||[]).length-1,v=0;v<=m;v++){for(y in g={},h)g[y]=h[y];if(w&&(t(g,r,v),null!=g.duration&&(o=g.duration,delete g.duration)),x){for(y in x=g.startAt={},h.startAt)x[y]=h.startAt[y];t(g.startAt,r,v)}g.delay=b(v,r[v],r)+(g.delay||0),v===m&&u&&(g.onComplete=function(){h.onComplete&&h.onComplete.apply(h.onCompleteScope||this,arguments),u.apply(f||h.callbackScope||this,p||c)}),_[v]=new s(r[v],o,g)}return _},s.staggerFrom=s.allFrom=function(e,t,i,n,r,a,l){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,s.staggerTo(e,t,i,n,r,a,l)},s.staggerFromTo=s.allFromTo=function(e,t,i,n,r,a,l,o){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,s.staggerTo(e,t,n,r,a,l,o)},s.delayedCall=function(e,t,i,n,r){return new s(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,useFrames:r,overwrite:0})},s.set=function(e,t){return new s(e,0,t)},s.isTweening=function(e){return n.l.getTweensOf(e,!0).length>0};var h=function(e,t){for(var i=[],s=0,r=e._first;r;)r instanceof n.l?i[s++]=r:(t&&(i[s++]=r),s=(i=i.concat(h(r,t))).length),r=r._next;return i},d=s.getAllTweens=function(e){return h(n.a._rootTimeline,e).concat(h(n.a._rootFramesTimeline,e))};s.killAll=function(e,t,i,s){null==t&&(t=!0),null==i&&(i=!0);var r,a,l,o=d(0!=s),c=o.length,h=t&&i&&s;for(l=0;l<c;l++)a=o[l],(h||a instanceof n.i||(r=a.target===a.vars.onComplete)&&i||t&&!r)&&(e?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},s.killChildTweensOf=function(t,i){if(null!=t){var o,c,h,d,u,p=r.tweenLookup;if("string"==typeof t&&(t=n.l.selector(t)||t),a(t)&&(t=e(t)),l(t))for(d=t.length;--d>-1;)s.killChildTweensOf(t[d],i);else{for(h in o=[],p)for(c=p[h].target.parentNode;c;)c===t&&(o=o.concat(p[h].tweens)),c=c.parentNode;for(u=o.length,d=0;d<u;d++)i&&o[d].totalTime(o[d].totalDuration()),o[d]._enabled(!1,!1)}}};var u=function(e,t,i,s){t=!1!==t,i=!1!==i;for(var r,a,l=d(s=!1!==s),o=t&&i&&s,c=l.length;--c>-1;)a=l[c],(o||a instanceof n.i||(r=a.target===a.vars.onComplete)&&i||t&&!r)&&a.paused(e)};return s.pauseAll=function(e,t,i){u(!0,e,t,i)},s.resumeAll=function(e,t,i){u(!1,e,t,i)},s.globalTimeScale=function(e){var t=n.a._rootTimeline,i=n.l.ticker.time;return arguments.length?(e=e||1e-8,t._startTime=i-(i-t._startTime)*t._timeScale/e,t=n.a._rootFramesTimeline,i=n.l.ticker.frame,t._startTime=i-(i-t._startTime)*t._timeScale/e,t._timeScale=n.a._rootTimeline._timeScale=e,e):t._timeScale},o.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this.duration()?this._time/this._duration:this.ratio},o.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},o.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return e>i&&(e=i),this.totalTime(this._yoyo&&1&n?i-e+s:this._repeat?e+s:e,t)},o.duration=function(e){return arguments.length?n.a.prototype.duration.call(this,e):this._duration},o.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},o.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},o.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},o.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},s}),!0);var a=n.m.TweenMax;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
n.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var e,t,i,s,r=function(){n.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=r.prototype.setRatio},a=n.k._gsDefine.globals,l={},o=r.prototype=new n.j("css");o.constructor=r,r.version="2.1.3",r.API=2,r.defaultTransformPerspective=0,r.defaultSkewType="compensated",r.defaultSmoothOrigin=!0,o="px",r.suffixMap={top:o,right:o,bottom:o,left:o,width:o,height:o,fontSize:o,padding:o,margin:o,perspective:o,lineHeight:""};var c,h,d,u,p,f,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,M=/alpha\(opacity *=.+?\)/i,E=/^(rgb|hsl)/,C=/([A-Z])/g,P=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(e,t){return t.toUpperCase()},L=/(?:Left|Right|Width)/i,O=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,I=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,R=/[\s,\(]/i,z=Math.PI/180,N=180/Math.PI,$={},F={style:{}},B=n.k.document||{createElement:function(){return F}},V=function(e,t){var i=B.createElementNS?B.createElementNS(t||"http://www.w3.org/1999/xhtml",e):B.createElement(e);return i.style?i:B.createElement(e)},H=V("div"),U=V("img"),G=r._internals={_specialProps:l},j=(n.k.navigator||{}).userAgent||"",W=function(){var e=j.indexOf("Android"),t=V("a");return d=-1!==j.indexOf("Safari")&&-1===j.indexOf("Chrome")&&(-1===e||parseFloat(j.substr(e+8,2))>3),p=d&&parseFloat(j.substr(j.indexOf("Version/")+8,2))<6,u=-1!==j.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(j)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(j))&&(f=parseFloat(RegExp.$1)),!!t&&(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity))}(),X=function(e){return T.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(e){n.k.console&&console.log(e)},Y="",Z="",K=function(e,t){var i,n,s=(t=t||H).style;if(void 0!==s[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===s[i[n]+e];);return n>=0?(Y="-"+(Z=3===n?"ms":i[n]).toLowerCase()+"-",Z+e):null},J="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},Q=function(e){return J.getComputedStyle(e)},ee=r.getStyle=function(e,t,i,n,s){var r;return W||"opacity"!==t?(!n&&e.style[t]?r=e.style[t]:(i=i||Q(e))?r=i[t]||i.getPropertyValue(t)||i.getPropertyValue(t.replace(C,"-$1").toLowerCase()):e.currentStyle&&(r=e.currentStyle[t]),null==s||r&&"none"!==r&&"auto"!==r&&"auto auto"!==r?r:s):X(e)},te=G.convertToPixels=function(e,t,i,s,a){if("px"===s||!s&&"lineHeight"!==t)return i;if("auto"===s||!i)return 0;var l,o,c,h=L.test(t),d=e,u=H.style,p=i<0,f=1===i;if(p&&(i=-i),f&&(i*=100),"lineHeight"!==t||s)if("%"===s&&-1!==t.indexOf("border"))l=i/100*(h?e.clientWidth:e.clientHeight);else{if(u.cssText="border:0 solid red;position:"+ee(e,"position")+";line-height:0;","%"!==s&&d.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)u[h?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(d=e.parentNode||B.body,-1!==ee(d,"display").indexOf("flex")&&(u.position="absolute"),o=d._gsCache,c=n.l.ticker.frame,o&&h&&o.time===c)return o.width*i/100;u[h?"width":"height"]=i+s}d.appendChild(H),l=parseFloat(H[h?"offsetWidth":"offsetHeight"]),d.removeChild(H),h&&"%"===s&&!1!==r.cacheWidths&&((o=d._gsCache=d._gsCache||{}).time=c,o.width=l/i*100),0!==l||a||(l=te(e,t,i,s,!0))}else o=Q(e).lineHeight,e.style.lineHeight=i,l=parseFloat(Q(e).lineHeight),e.style.lineHeight=o;return f&&(l/=100),p?-l:l},ie=G.calculateOffset=function(e,t,i){if("absolute"!==ee(e,"position",i))return 0;var n="left"===t?"Left":"Top",s=ee(e,"margin"+n,i);return e["offset"+n]-(te(e,t,parseFloat(s),s.replace(x,""))||0)},ne=function(e,t){var i,n,s,r={};if(t=t||Q(e))if(i=t.length)for(;--i>-1;)-1!==(s=t[i]).indexOf("-transform")&&De!==s||(r[s.replace(P,A)]=t.getPropertyValue(s));else for(i in t)-1!==i.indexOf("Transform")&&Ie!==i||(r[i]=t[i]);else if(t=e.currentStyle||e.style)for(i in t)"string"==typeof i&&void 0===r[i]&&(r[i.replace(P,A)]=t[i]);return W||(r.opacity=X(e)),n=Xe(e,t,!1),r.rotation=n.rotation,r.skewX=n.skewX,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,ze&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},se=function(e,t,i,n,s){var r,a,l,o={},c=e.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(t[a]!==(r=i[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"!=typeof r&&"string"!=typeof r||(o[a]="auto"!==r||"left"!==a&&"top"!==a?""!==r&&"auto"!==r&&"none"!==r||"string"!=typeof t[a]||""===t[a].replace(w,"")?r:0:ie(e,a),void 0!==c[a]&&(l=new _e(c,a,c[a],l))));if(n)for(a in n)"className"!==a&&(o[a]=n[a]);return{difs:o,firstMPT:l}},re={width:["Left","Right"],height:["Top","Bottom"]},ae=["marginLeft","marginRight","marginTop","marginBottom"],le=function(e,t,i){if("svg"===(e.nodeName+"").toLowerCase())return(i||Q(e))[t]||0;if(e.getCTM&&Ge(e))return e.getBBox()[t]||0;var n=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),s=re[t],r=s.length;for(i=i||Q(e);--r>-1;)n-=parseFloat(ee(e,"padding"+s[r],i,!0))||0,n-=parseFloat(ee(e,"border"+s[r]+"Width",i,!0))||0;return n},oe=function(e,t){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var i,n=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],r=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];if(n.length>3&&!t){for(n=e.split(", ").join(",").split(","),e=[],i=0;i<n.length;i++)e.push(oe(n[i]));return e.join(",")}return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),e=s+" "+r+(n.length>2?" "+n[2]:""),t&&(t.oxp=-1!==s.indexOf("%"),t.oyp=-1!==r.indexOf("%"),t.oxr="="===s.charAt(1),t.oyr="="===r.charAt(1),t.ox=parseFloat(s.replace(w,"")),t.oy=parseFloat(r.replace(w,"")),t.v=e),t||e},ce=function(e,t){return"function"==typeof e&&(e=e(g,m)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0},he=function(e,t){"function"==typeof e&&(e=e(g,m));var i="string"==typeof e&&"="===e.charAt(1);return"string"==typeof e&&"v"===e.charAt(e.length-2)&&(e=(i?e.substr(0,2):0)+window["inner"+("vh"===e.substr(-2)?"Height":"Width")]*(parseFloat(i?e.substr(2):e)/100)),null==e?t:i?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0},de=function(e,t,i,n){var s,r,a,l;return"function"==typeof e&&(e=e(g,m)),null==e?a=t:"number"==typeof e?a=e:(360,s=e.split("_"),r=((l="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===e.indexOf("rad")?1:N)-(l?0:t),s.length&&(n&&(n[i]=t+r),-1!==e.indexOf("short")&&(r%=360)!==r%180&&(r=r<0?r+360:r-360),-1!==e.indexOf("_cw")&&r<0?r=(r+3599999999640)%360-360*(r/360|0):-1!==e.indexOf("ccw")&&r>0&&(r=(r-3599999999640)%360-360*(r/360|0))),a=t+r),a<1e-6&&a>-1e-6&&(a=0),a},ue={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},pe=function(e,t,i){return 255*(6*(e=e<0?e+1:e>1?e-1:e)<1?t+(i-t)*e*6:e<.5?i:3*e<2?t+(i-t)*(2/3-e)*6:t)+.5|0},fe=r.parseColor=function(e,t){var i,n,s,r,a,l,o,c,h,d,u;if(e)if("number"==typeof e)i=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),ue[e])i=ue[e];else if("#"===e.charAt(0))4===e.length&&(n=e.charAt(1),s=e.charAt(2),r=e.charAt(3),e="#"+n+n+s+s+r+r),i=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(i=u=e.match(v),t){if(-1!==e.indexOf("="))return e.match(y)}else a=Number(i[0])%360/360,l=Number(i[1])/100,n=2*(o=Number(i[2])/100)-(s=o<=.5?o*(l+1):o+l-o*l),i.length>3&&(i[3]=Number(i[3])),i[0]=pe(a+1/3,n,s),i[1]=pe(a,n,s),i[2]=pe(a-1/3,n,s);else i=e.match(v)||ue.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ue.black;return t&&!u&&(n=i[0]/255,s=i[1]/255,r=i[2]/255,o=((c=Math.max(n,s,r))+(h=Math.min(n,s,r)))/2,c===h?a=l=0:(d=c-h,l=o>.5?d/(2-c-h):d/(c+h),a=c===n?(s-r)/d+(s<r?6:0):c===s?(r-n)/d+2:(n-s)/d+4,a*=60),i[0]=a+.5|0,i[1]=100*l+.5|0,i[2]=100*o+.5|0),i},me=function(e,t){var i,n,s,r=e.match(ge)||[],a=0,l="";if(!r.length)return e;for(i=0;i<r.length;i++)n=r[i],a+=(s=e.substr(a,e.indexOf(n,a)-a)).length+n.length,3===(n=fe(n,t)).length&&n.push(1),l+=s+(t?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return l+e.substr(a)},ge="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(o in ue)ge+="|"+o+"\\b";ge=new RegExp(ge+")","gi"),r.colorStringFilter=function(e){var t,i=e[0]+" "+e[1];ge.test(i)&&(t=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),e[0]=me(e[0],t),e[1]=me(e[1],t)),ge.lastIndex=0},n.l.defaultStringFilter||(n.l.defaultStringFilter=r.colorStringFilter);var ve=function(e,t,i,n){if(null==e)return function(e){return e};var s,r=t?(e.match(ge)||[""])[0]:"",a=e.split(r).join("").match(_)||[],l=e.substr(0,e.indexOf(a[0])),o=")"===e.charAt(e.length-1)?")":"",c=-1!==e.indexOf(" ")?" ":",",h=a.length,d=h>0?a[0].replace(v,""):"";return h?s=t?function(e){var t,u,p,f;if("number"==typeof e)e+=d;else if(n&&D.test(e)){for(f=e.replace(D,"|").split("|"),p=0;p<f.length;p++)f[p]=s(f[p]);return f.join(",")}if(t=(e.match(ge)||[r])[0],p=(u=e.split(t).join("").match(_)||[]).length,h>p--)for(;++p<h;)u[p]=i?u[(p-1)/2|0]:a[p];return l+u.join(c)+c+t+o+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,r,u;if("number"==typeof e)e+=d;else if(n&&D.test(e)){for(r=e.replace(D,"|").split("|"),u=0;u<r.length;u++)r[u]=s(r[u]);return r.join(",")}if(u=(t=e.match(","===c?_:b)||[]).length,h>u--)for(;++u<h;)t[u]=i?t[(u-1)/2|0]:a[u];return(l&&"none"!==e&&e.substr(0,e.indexOf(t[0]))||l)+t.join(c)+o}:function(e){return e}},ye=function(e){return e=e.split(","),function(t,i,n,s,r,a,l){var o,c=(i+"").split(" ");for(l={},o=0;o<4;o++)l[e[o]]=c[o]=c[o]||c[(o-1)/2>>0];return s.parse(t,l,r,a)}},_e=(G._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,i,n,s,r,a=this.data,l=a.proxy,o=a.firstMPT;o;)t=l[o.v],o.r?t=o.r(t):t<1e-6&&t>-1e-6&&(t=0),o.t[o.p]=t,o=o._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,l.rotation,this.t,this._tween):l.rotation),1===e||0===e)for(o=a.firstMPT,r=1===e?"e":"b";o;){if((i=o.t).type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)s+=i["xn"+n]+i["xs"+(n+1)];i[r]=s}}else i[r]=i.s+i.xs0;o=o._next}},function(e,t,i,n,s){this.t=e,this.p=t,this.v=i,this.r=s,n&&(n._prev=this,this._next=n)}),be=(G._parseToProxy=function(e,t,i,n,s,r){var a,l,o,c,h,d=n,u={},p={},f=i._transform,m=$;for(i._transform=null,$=t,n=h=i.parse(e,t,n,s),$=m,r&&(i._transform=f,d&&(d._prev=null,d._prev&&(d._prev._next=null)));n&&n!==d;){if(n.type<=1&&(p[l=n.p]=n.s+n.c,u[l]=n.s,r||(c=new _e(n,"s",l,c,n.r),n.c=0),1===n.type))for(a=n.l;--a>0;)o="xn"+a,p[l=n.p+"_"+o]=n.data[o],u[l]=n[o],r||(c=new _e(n,o,l,c,n.rxp[o]));n=n._next}return{proxy:u,end:p,firstMPT:c,pt:h}},G.CSSPropTween=function(t,i,n,r,a,l,o,c,h,d,u){this.t=t,this.p=i,this.s=n,this.c=r,this.n=o||i,t instanceof be||s.push(this.n),this.r=c?"function"==typeof c?c:Math.round:c,this.type=l||0,h&&(this.pr=h,e=!0),this.b=void 0===d?n:d,this.e=void 0===u?n+r:u,a&&(this._next=a,a._prev=this)}),we=function(e,t,i,n,s,r){var a=new be(e,t,i,n-i,s,-1,r);return a.b=i,a.e=a.xs0=n,a},xe=r.parseComplex=function(e,t,i,n,s,a,l,o,h,d){i=i||a||"","function"==typeof n&&(n=n(g,m)),l=new be(e,t,0,0,l,d?2:1,null,!1,o,i,n),n+="",s&&ge.test(n+i)&&(n=[i,n],r.colorStringFilter(n),i=n[0],n=n[1]);var u,p,f,_,b,w,x,T,S,M,E,C,P,k=i.split(", ").join(",").split(" "),A=n.split(", ").join(",").split(" "),L=k.length,O=!1!==c;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(k=k.join(" ").replace(D,", ").split(" "),A=A.join(" ").replace(D,", ").split(" ")):(k=k.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),L=k.length),L!==A.length&&(L=(k=(a||"").split(" ")).length),l.plugin=h,l.setRatio=d,ge.lastIndex=0,u=0;u<L;u++)if(_=k[u],b=A[u]+"",(T=parseFloat(_))||0===T)l.appendXtra("",T,ce(b,T),b.replace(y,""),!(!O||-1===b.indexOf("px"))&&Math.round,!0);else if(s&&ge.test(_))C=")"+((C=b.indexOf(")")+1)?b.substr(C):""),P=-1!==b.indexOf("hsl")&&W,M=b,_=fe(_,P),b=fe(b,P),(S=_.length+b.length>6)&&!W&&0===b[3]?(l["xs"+l.l]+=l.l?" transparent":"transparent",l.e=l.e.split(A[u]).join("transparent")):(W||(S=!1),P?l.appendXtra(M.substr(0,M.indexOf("hsl"))+(S?"hsla(":"hsl("),_[0],ce(b[0],_[0]),",",!1,!0).appendXtra("",_[1],ce(b[1],_[1]),"%,",!1).appendXtra("",_[2],ce(b[2],_[2]),S?"%,":"%"+C,!1):l.appendXtra(M.substr(0,M.indexOf("rgb"))+(S?"rgba(":"rgb("),_[0],b[0]-_[0],",",Math.round,!0).appendXtra("",_[1],b[1]-_[1],",",Math.round).appendXtra("",_[2],b[2]-_[2],S?",":C,Math.round),S&&(_=_.length<4?1:_[3],l.appendXtra("",_,(b.length<4?1:b[3])-_,C,!1))),ge.lastIndex=0;else if(w=_.match(v)){if(!(x=b.match(y))||x.length!==w.length)return l;for(f=0,p=0;p<w.length;p++)E=w[p],M=_.indexOf(E,f),l.appendXtra(_.substr(f,M-f),Number(E),ce(x[p],E),"",!(!O||"px"!==_.substr(M+E.length,2))&&Math.round,0===p),f=M+E.length;l["xs"+l.l]+=_.substr(f)}else l["xs"+l.l]+=l.l||l["xs"+l.l]?" "+b:b;if(-1!==n.indexOf("=")&&l.data){for(C=l.xs0+l.data.s,u=1;u<l.l;u++)C+=l["xs"+u]+l.data["xn"+u];l.e=C+l["xs"+u]}return l.l||(l.type=-1,l.xs0=l.e),l.xfirst||l},Te=9;for((o=be.prototype).l=o.pr=0;--Te>0;)o["xn"+Te]=0,o["xs"+Te]="";o.xs0="",o._next=o._prev=o.xfirst=o.data=o.plugin=o.setRatio=o.rxp=null,o.appendXtra=function(e,t,i,n,s,r){var a=this,l=a.l;return a["xs"+l]+=r&&(l||a["xs"+l])?" "+e:e||"",i||0===l||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",l>0?(a.data["xn"+l]=t+i,a.rxp["xn"+l]=s,a["xn"+l]=t,a.plugin||(a.xfirst=new be(a,"xn"+l,t,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0),a):(a.data={s:t+i},a.rxp={},a.s=t,a.c=i,a.r=s,a)):(a["xs"+l]+=t+(n||""),a)};var Se=function(e,t){t=t||{},this.p=t.prefix&&K(e)||e,l[e]=l[this.p]=this,this.format=t.formatter||ve(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.allowFunc=t.allowFunc,this.pr=t.priority||0},Me=G._registerComplexSpecialProp=function(e,t,i){"object"!=typeof t&&(t={parser:i});var n,s=e.split(","),r=t.defaultValue;for(i=i||[r],n=0;n<s.length;n++)t.prefix=0===n&&t.prefix,t.defaultValue=i[n]||r,new Se(s[n],t)},Ee=G._registerPluginProp=function(e){if(!l[e]){var t=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";Me(e,{parser:function(e,i,n,s,r,o,c){var h=a.com.greensock.plugins[t];return h?(h._cssRegister(),l[n].parse(e,i,n,s,r,o,c)):(q("Error: "+t+" js file not loaded."),r)}})}};(o=Se.prototype).parseComplex=function(e,t,i,n,s,r){var a,l,o,c,h,d,u=this.keyword;if(this.multi&&(D.test(i)||D.test(t)?(l=t.replace(D,"|").split("|"),o=i.replace(D,"|").split("|")):u&&(l=[t],o=[i])),o){for(c=o.length>l.length?o.length:l.length,a=0;a<c;a++)t=l[a]=l[a]||this.dflt,i=o[a]=o[a]||this.dflt,u&&(h=t.indexOf(u))!==(d=i.indexOf(u))&&(-1===d?l[a]=l[a].split(u).join(""):-1===h&&(l[a]+=" "+u));t=l.join(", "),i=o.join(", ")}return xe(e,this.p,t,i,this.clrs,this.dflt,n,this.pr,s,r)},o.parse=function(e,t,n,s,r,a,l){return this.parseComplex(e.style,this.format(ee(e,this.p,i,!1,this.dflt)),this.format(t),r,a)},r.registerSpecialProp=function(e,t,i){Me(e,{parser:function(e,n,s,r,a,l,o){var c=new be(e,s,0,0,a,2,s,!1,i);return c.plugin=l,c.setRatio=t(e,n,r._tween,s),c},priority:i})},r.useSVGTransformAttr=!0;var Ce,Pe,ke,Ae,Le,Oe="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ie=K("transform"),De=Y+"transform",Re=K("transformOrigin"),ze=null!==K("perspective"),Ne=G.Transform=function(){this.perspective=parseFloat(r.defaultTransformPerspective)||0,this.force3D=!(!1===r.defaultForce3D||!ze)&&(r.defaultForce3D||"auto")},$e=n.k.SVGElement,Fe=function(e,t,i){var n,s=B.createElementNS("http://www.w3.org/2000/svg",e),r=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(r,"$1-$2").toLowerCase(),i[n]);return t.appendChild(s),s},Be=B.documentElement||{},Ve=(Le=f||/Android/i.test(j)&&!n.k.chrome,B.createElementNS&&Be.appendChild&&!Le&&(Pe=Fe("svg",Be),Ae=(ke=Fe("rect",Pe,{width:100,height:50,x:100})).getBoundingClientRect().width,ke.style[Re]="50% 50%",ke.style[Ie]="scaleX(0.5)",Le=Ae===ke.getBoundingClientRect().width&&!(u&&ze),Be.removeChild(Pe)),Le),He=function(e,t,i,n,s,a){var l,o,c,h,d,u,p,f,m,g,v,y,_,b,w=e._gsTransform,x=We(e,!0);w&&(_=w.xOrigin,b=w.yOrigin),(!n||(l=n.split(" ")).length<2)&&(0===(p=e.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(e.hasAttribute("x")?e.getAttribute("x"):e.hasAttribute("cx")?e.getAttribute("cx"):0)||0,y:parseFloat(e.hasAttribute("y")?e.getAttribute("y"):e.hasAttribute("cy")?e.getAttribute("cy"):0)||0,width:0,height:0}),l=[(-1!==(t=oe(t).split(" "))[0].indexOf("%")?parseFloat(t[0])/100*p.width:parseFloat(t[0]))+p.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*p.height:parseFloat(t[1]))+p.y]),i.xOrigin=h=parseFloat(l[0]),i.yOrigin=d=parseFloat(l[1]),n&&x!==je&&(u=x[0],p=x[1],f=x[2],m=x[3],g=x[4],v=x[5],(y=u*m-p*f)&&(o=h*(m/y)+d*(-f/y)+(f*v-m*g)/y,c=h*(-p/y)+d*(u/y)-(u*v-p*g)/y,h=i.xOrigin=l[0]=o,d=i.yOrigin=l[1]=c)),w&&(a&&(i.xOffset=w.xOffset,i.yOffset=w.yOffset,w=i),s||!1!==s&&!1!==r.defaultSmoothOrigin?(o=h-_,c=d-b,w.xOffset+=o*x[0]+c*x[2]-o,w.yOffset+=o*x[1]+c*x[3]-c):w.xOffset=w.yOffset=0),a||e.setAttribute("data-svg-origin",l.join(" "))},Ue=function(e){var t,i=V("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,r=this.style.cssText;if(Be.appendChild(i),i.appendChild(this),this.style.display="block",e)try{t=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Ue}catch(e){}else this._originalGetBBox&&(t=this._originalGetBBox());return s?n.insertBefore(this,s):n.appendChild(this),Be.removeChild(i),this.style.cssText=r,t},Ge=function(e){return!(!$e||!e.getCTM||e.parentNode&&!e.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Ue.call(e,!0)}}(e))},je=[1,0,0,1,0,0],We=function(e,t){var i,n,s,r,a,l,o,c=e._gsTransform||new Ne,h=e.style;if(Ie?n=ee(e,De,null,!0):e.currentStyle&&(n=(n=e.currentStyle.filter.match(O))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),c.x||0,c.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,Ie&&i&&!e.offsetParent&&e!==Be&&(r=h.display,h.display="block",(o=e.parentNode)&&e.offsetParent||(a=1,l=e.nextSibling,Be.appendChild(e)),i=!(n=ee(e,De,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,r?h.display=r:Ke(h,"display"),a&&(l?o.insertBefore(e,l):o?o.appendChild(e):Be.removeChild(e))),(c.svg||e.getCTM&&Ge(e))&&(i&&-1!==(h[Ie]+"").indexOf("matrix")&&(n=h[Ie],i=0),s=e.getAttribute("transform"),i&&s&&(n="matrix("+(s=e.transform.baseVal.consolidate().matrix).a+","+s.b+","+s.c+","+s.d+","+s.e+","+s.f+")",i=0)),i)return je;for(s=(n||"").match(v)||[],Te=s.length;--Te>-1;)r=Number(s[Te]),s[Te]=(a=r-(r|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+r:r;return t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},Xe=G.getTransform=function(e,t,i,s){if(e._gsTransform&&i&&!s)return e._gsTransform;var a,l,o,c,h,d,u=i&&e._gsTransform||new Ne,p=u.scaleX<0,f=1e5,m=ze&&(parseFloat(ee(e,Re,t,!1,"0 0 0").split(" ")[2])||u.zOrigin)||0,g=parseFloat(r.defaultTransformPerspective)||0;if(u.svg=!(!e.getCTM||!Ge(e)),u.svg&&(He(e,ee(e,Re,t,!1,"50% 50%")+"",u,e.getAttribute("data-svg-origin")),Ce=r.useSVGTransformAttr||Ve),(a=We(e))!==je){if(16===a.length){var v,y,_,b,w,x=a[0],T=a[1],S=a[2],M=a[3],E=a[4],C=a[5],P=a[6],k=a[7],A=a[8],L=a[9],O=a[10],I=a[12],D=a[13],R=a[14],z=a[11],$=Math.atan2(P,O);u.zOrigin&&(I=A*(R=-u.zOrigin)-a[12],D=L*R-a[13],R=O*R+u.zOrigin-a[14]),u.rotationX=$*N,$&&(v=E*(b=Math.cos(-$))+A*(w=Math.sin(-$)),y=C*b+L*w,_=P*b+O*w,A=E*-w+A*b,L=C*-w+L*b,O=P*-w+O*b,z=k*-w+z*b,E=v,C=y,P=_),$=Math.atan2(-S,O),u.rotationY=$*N,$&&(y=T*(b=Math.cos(-$))-L*(w=Math.sin(-$)),_=S*b-O*w,L=T*w+L*b,O=S*w+O*b,z=M*w+z*b,x=v=x*b-A*w,T=y,S=_),$=Math.atan2(T,x),u.rotation=$*N,$&&(v=x*(b=Math.cos($))+T*(w=Math.sin($)),y=E*b+C*w,_=A*b+L*w,T=T*b-x*w,C=C*b-E*w,L=L*b-A*w,x=v,E=y,A=_),u.rotationX&&Math.abs(u.rotationX)+Math.abs(u.rotation)>359.9&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),$=Math.atan2(E,C),u.scaleX=(Math.sqrt(x*x+T*T+S*S)*f+.5|0)/f,u.scaleY=(Math.sqrt(C*C+P*P)*f+.5|0)/f,u.scaleZ=(Math.sqrt(A*A+L*L+O*O)*f+.5|0)/f,x/=u.scaleX,E/=u.scaleY,T/=u.scaleX,C/=u.scaleY,Math.abs($)>2e-5?(u.skewX=$*N,E=0,"simple"!==u.skewType&&(u.scaleY*=1/Math.cos($))):u.skewX=0,u.perspective=z?1/(z<0?-z:z):0,u.x=I,u.y=D,u.z=R,u.svg&&(u.x-=u.xOrigin-(u.xOrigin*x-u.yOrigin*E),u.y-=u.yOrigin-(u.yOrigin*T-u.xOrigin*C))}else if(!ze||s||!a.length||u.x!==a[4]||u.y!==a[5]||!u.rotationX&&!u.rotationY){var F=a.length>=6,B=F?a[0]:1,V=a[1]||0,H=a[2]||0,U=F?a[3]:1;u.x=a[4]||0,u.y=a[5]||0,o=Math.sqrt(B*B+V*V),c=Math.sqrt(U*U+H*H),h=B||V?Math.atan2(V,B)*N:u.rotation||0,d=H||U?Math.atan2(H,U)*N+h:u.skewX||0,u.scaleX=o,u.scaleY=c,u.rotation=h,u.skewX=d,ze&&(u.rotationX=u.rotationY=u.z=0,u.perspective=g,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*B+u.yOrigin*H),u.y-=u.yOrigin-(u.xOrigin*V+u.yOrigin*U))}for(l in Math.abs(u.skewX)>90&&Math.abs(u.skewX)<270&&(p?(u.scaleX*=-1,u.skewX+=u.rotation<=0?180:-180,u.rotation+=u.rotation<=0?180:-180):(u.scaleY*=-1,u.skewX+=u.skewX<=0?180:-180)),u.zOrigin=m,u)u[l]<2e-5&&u[l]>-2e-5&&(u[l]=0)}return i&&(e._gsTransform=u,u.svg&&(Ce&&e.style[Ie]?n.l.delayedCall(.001,(function(){Ke(e.style,Ie)})):!Ce&&e.getAttribute("transform")&&n.l.delayedCall(.001,(function(){e.removeAttribute("transform")})))),u},qe=function(e){var t,i,n=this.data,s=-n.rotation*z,r=s+n.skewX*z,a=1e5,l=(Math.cos(s)*n.scaleX*a|0)/a,o=(Math.sin(s)*n.scaleX*a|0)/a,c=(Math.sin(r)*-n.scaleY*a|0)/a,h=(Math.cos(r)*n.scaleY*a|0)/a,d=this.t.style,u=this.t.currentStyle;if(u){i=o,o=-c,c=-i,t=u.filter,d.filter="";var p,m,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==u.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+l+", M12="+o+", M21="+c+", M22="+h,b=n.x+g*n.xPercent/100,w=n.y+v*n.yPercent/100;if(null!=n.ox&&(b+=(p=(n.oxp?g*n.ox*.01:n.ox)-g/2)-(p*l+(m=(n.oyp?v*n.oy*.01:n.oy)-v/2)*o),w+=m-(p*c+m*h)),_+=y?", Dx="+((p=g/2)-(p*l+(m=v/2)*o)+b)+", Dy="+(m-(p*c+m*h)+w)+")":", sizingMethod='auto expand')",-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?d.filter=t.replace(I,_):d.filter=_+" "+t,0!==e&&1!==e||1===l&&0===o&&0===c&&1===h&&(y&&-1===_.indexOf("Dx=0, Dy=0")||T.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&d.removeAttribute("filter")),!y){var S,M,E,C=f<8?1:-1;for(p=n.ieOffsetX||0,m=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((l<0?-l:l)*g+(o<0?-o:o)*v))/2+b),n.ieOffsetY=Math.round((v-((h<0?-h:h)*v+(c<0?-c:c)*g))/2+w),Te=0;Te<4;Te++)E=(i=-1!==(S=u[M=ae[Te]]).indexOf("px")?parseFloat(S):te(this.t,M,parseFloat(S),S.replace(x,""))||0)!==n[M]?Te<2?-n.ieOffsetX:-n.ieOffsetY:Te<2?p-n.ieOffsetX:m-n.ieOffsetY,d[M]=(n[M]=Math.round(i-E*(0===Te||2===Te?1:C)))+"px"}}},Ye=G.set3DTransformRatio=G.setTransformRatio=function(e){var t,i,n,s,r,a,l,o,c,h,d,p,f,m,g,v,y,_,b,w,x,T=this.data,S=this.t.style,M=T.rotation,E=T.rotationX,C=T.rotationY,P=T.scaleX,k=T.scaleY,A=T.scaleZ,L=T.x,O=T.y,I=T.z,D=T.svg,R=T.perspective,N=T.force3D,$=T.skewY,F=T.skewX;if($&&(F+=$,M+=$),!((1!==e&&0!==e||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||I||R||C||E||1!==A)||Ce&&D||!ze)M||F||D?(M*=z,w=F*z,x=1e5,i=Math.cos(M)*P,r=Math.sin(M)*P,n=Math.sin(M-w)*-k,a=Math.cos(M-w)*k,w&&"simple"===T.skewType&&(t=Math.tan(w-$*z),n*=t=Math.sqrt(1+t*t),a*=t,$&&(t=Math.tan($*z),i*=t=Math.sqrt(1+t*t),r*=t)),D&&(L+=T.xOrigin-(T.xOrigin*i+T.yOrigin*n)+T.xOffset,O+=T.yOrigin-(T.xOrigin*r+T.yOrigin*a)+T.yOffset,Ce&&(T.xPercent||T.yPercent)&&(g=this.t.getBBox(),L+=.01*T.xPercent*g.width,O+=.01*T.yPercent*g.height),L<(g=1e-6)&&L>-g&&(L=0),O<g&&O>-g&&(O=0)),b=(i*x|0)/x+","+(r*x|0)/x+","+(n*x|0)/x+","+(a*x|0)/x+","+L+","+O+")",D&&Ce?this.t.setAttribute("transform","matrix("+b):S[Ie]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+b):S[Ie]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+P+",0,0,"+k+","+L+","+O+")";else{if(u&&(P<(g=1e-4)&&P>-g&&(P=A=2e-5),k<g&&k>-g&&(k=A=2e-5),!R||T.z||T.rotationX||T.rotationY||(R=0)),M||F)M*=z,v=i=Math.cos(M),y=r=Math.sin(M),F&&(M-=F*z,v=Math.cos(M),y=Math.sin(M),"simple"===T.skewType&&(t=Math.tan((F-$)*z),v*=t=Math.sqrt(1+t*t),y*=t,T.skewY&&(t=Math.tan($*z),i*=t=Math.sqrt(1+t*t),r*=t))),n=-y,a=v;else{if(!(C||E||1!==A||R||D))return void(S[Ie]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+L+"px,"+O+"px,"+I+"px)"+(1!==P||1!==k?" scale("+P+","+k+")":""));i=a=1,n=r=0}h=1,s=l=o=c=d=p=0,f=R?-1/R:0,m=T.zOrigin,g=1e-6,",","0",(M=C*z)&&(v=Math.cos(M),o=-(y=Math.sin(M)),d=f*-y,s=i*y,l=r*y,h=v,f*=v,i*=v,r*=v),(M=E*z)&&(t=n*(v=Math.cos(M))+s*(y=Math.sin(M)),_=a*v+l*y,c=h*y,p=f*y,s=n*-y+s*v,l=a*-y+l*v,h*=v,f*=v,n=t,a=_),1!==A&&(s*=A,l*=A,h*=A,f*=A),1!==k&&(n*=k,a*=k,c*=k,p*=k),1!==P&&(i*=P,r*=P,o*=P,d*=P),(m||D)&&(m&&(L+=s*-m,O+=l*-m,I+=h*-m+m),D&&(L+=T.xOrigin-(T.xOrigin*i+T.yOrigin*n)+T.xOffset,O+=T.yOrigin-(T.xOrigin*r+T.yOrigin*a)+T.yOffset),L<g&&L>-g&&(L="0"),O<g&&O>-g&&(O="0"),I<g&&I>-g&&(I=0)),b=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",b+=(i<g&&i>-g?"0":i)+","+(r<g&&r>-g?"0":r)+","+(o<g&&o>-g?"0":o),b+=","+(d<g&&d>-g?"0":d)+","+(n<g&&n>-g?"0":n)+","+(a<g&&a>-g?"0":a),E||C||1!==A?(b+=","+(c<g&&c>-g?"0":c)+","+(p<g&&p>-g?"0":p)+","+(s<g&&s>-g?"0":s),b+=","+(l<g&&l>-g?"0":l)+","+(h<g&&h>-g?"0":h)+","+(f<g&&f>-g?"0":f)+","):b+=",0,0,0,0,1,0,",b+=L+","+O+","+I+","+(R?1+-I/R:1)+")",S[Ie]=b}};(o=Ne.prototype).x=o.y=o.z=o.skewX=o.skewY=o.rotation=o.rotationX=o.rotationY=o.zOrigin=o.xPercent=o.yPercent=o.xOffset=o.yOffset=0,o.scaleX=o.scaleY=o.scaleZ=1,Me("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(e,t,n,s,a,l,o){if(s._lastParsedTransform===o)return a;s._lastParsedTransform=o;var c=o.scale&&"function"==typeof o.scale?o.scale:0;c&&(o.scale=c(g,e));var h,d,u,p,f,v,y,_,b,w=e._gsTransform,x=e.style,T=Oe.length,S=o,M={},E=Xe(e,i,!0,S.parseTransform),C=S.transform&&("function"==typeof S.transform?S.transform(g,m):S.transform);if(E.skewType=S.skewType||E.skewType||r.defaultSkewType,s._transform=E,"rotationZ"in S&&(S.rotation=S.rotationZ),C&&"string"==typeof C&&Ie)(d=H.style)[Ie]=C,d.display="block",d.position="absolute",-1!==C.indexOf("%")&&(d.width=ee(e,"width"),d.height=ee(e,"height")),B.body.appendChild(H),h=Xe(H,null,!1),"simple"===E.skewType&&(h.scaleY*=Math.cos(h.skewX*z)),E.svg&&(v=E.xOrigin,y=E.yOrigin,h.x-=E.xOffset,h.y-=E.yOffset,(S.transformOrigin||S.svgOrigin)&&(C={},He(e,oe(S.transformOrigin),C,S.svgOrigin,S.smoothOrigin,!0),v=C.xOrigin,y=C.yOrigin,h.x-=C.xOffset-E.xOffset,h.y-=C.yOffset-E.yOffset),(v||y)&&(_=We(H,!0),h.x-=v-(v*_[0]+y*_[2]),h.y-=y-(v*_[1]+y*_[3]))),B.body.removeChild(H),h.perspective||(h.perspective=E.perspective),null!=S.xPercent&&(h.xPercent=he(S.xPercent,E.xPercent)),null!=S.yPercent&&(h.yPercent=he(S.yPercent,E.yPercent));else if("object"==typeof S){if(h={scaleX:he(null!=S.scaleX?S.scaleX:S.scale,E.scaleX),scaleY:he(null!=S.scaleY?S.scaleY:S.scale,E.scaleY),scaleZ:he(S.scaleZ,E.scaleZ),x:he(S.x,E.x),y:he(S.y,E.y),z:he(S.z,E.z),xPercent:he(S.xPercent,E.xPercent),yPercent:he(S.yPercent,E.yPercent),perspective:he(S.transformPerspective,E.perspective)},null!=(f=S.directionalRotation))if("object"==typeof f)for(d in f)S[d]=f[d];else S.rotation=f;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(h.x=0,h.xPercent=he(S.x,E.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(h.y=0,h.yPercent=he(S.y,E.yPercent)),h.rotation=de("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":E.rotation,E.rotation,"rotation",M),ze&&(h.rotationX=de("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",M),h.rotationY=de("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",M)),h.skewX=de(S.skewX,E.skewX),h.skewY=de(S.skewY,E.skewY)}for(ze&&null!=S.force3D&&(E.force3D=S.force3D,p=!0),(u=E.force3D||E.z||E.rotationX||E.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==S.scale||(h.scaleZ=1);--T>-1;)((C=h[b=Oe[T]]-E[b])>1e-6||C<-1e-6||null!=S[b]||null!=$[b])&&(p=!0,a=new be(E,b,E[b],C,a),b in M&&(a.e=M[b]),a.xs0=0,a.plugin=l,s._overwriteProps.push(a.n));return C="function"==typeof S.transformOrigin?S.transformOrigin(g,m):S.transformOrigin,E.svg&&(C||S.svgOrigin)&&(v=E.xOffset,y=E.yOffset,He(e,oe(C),h,S.svgOrigin,S.smoothOrigin),a=we(E,"xOrigin",(w?E:h).xOrigin,h.xOrigin,a,"transformOrigin"),a=we(E,"yOrigin",(w?E:h).yOrigin,h.yOrigin,a,"transformOrigin"),v===E.xOffset&&y===E.yOffset||(a=we(E,"xOffset",w?v:E.xOffset,E.xOffset,a,"transformOrigin"),a=we(E,"yOffset",w?y:E.yOffset,E.yOffset,a,"transformOrigin")),C="0px 0px"),(C||ze&&u&&E.zOrigin)&&(Ie?(p=!0,b=Re,C||(C=(C=(ee(e,b,i,!1,"50% 50%")+"").split(" "))[0]+" "+C[1]+" "+E.zOrigin+"px"),C+="",(a=new be(x,b,0,0,a,-1,"transformOrigin")).b=x[b],a.plugin=l,ze?(d=E.zOrigin,C=C.split(" "),E.zOrigin=(C.length>2?parseFloat(C[2]):d)||0,a.xs0=a.e=C[0]+" "+(C[1]||"50%")+" 0px",(a=new be(E,"zOrigin",0,0,a,-1,a.n)).b=d,a.xs0=a.e=E.zOrigin):a.xs0=a.e=C):oe(C+"",E)),p&&(s._transformType=E.svg&&Ce||!u&&3!==this._transformType?2:3),c&&(o.scale=c),a},allowFunc:!0,prefix:!0}),Me("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Me("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:ve("inset(0% 0% 0% 0%)",!1,!0)}),Me("borderRadius",{defaultValue:"0px",parser:function(e,n,s,r,a,l){n=this.format(n);var o,c,h,d,u,p,f,m,g,v,y,_,b,w,x,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],M=e.style;for(g=parseFloat(e.offsetWidth),v=parseFloat(e.offsetHeight),o=n.split(" "),c=0;c<S.length;c++)this.p.indexOf("border")&&(S[c]=K(S[c])),-1!==(u=d=ee(e,S[c],i,!1,"0px")).indexOf(" ")&&(d=u.split(" "),u=d[0],d=d[1]),p=h=o[c],f=parseFloat(u),_=u.substr((f+"").length),(b="="===p.charAt(1))?(m=parseInt(p.charAt(0)+"1",10),p=p.substr(2),m*=parseFloat(p),y=p.substr((m+"").length-(m<0?1:0))||""):(m=parseFloat(p),y=p.substr((m+"").length)),""===y&&(y=t[s]||_),y!==_&&(w=te(e,"borderLeft",f,_),x=te(e,"borderTop",f,_),"%"===y?(u=w/g*100+"%",d=x/v*100+"%"):"em"===y?(u=w/(T=te(e,"borderLeft",1,"em"))+"em",d=x/T+"em"):(u=w+"px",d=x+"px"),b&&(p=parseFloat(u)+m+y,h=parseFloat(d)+m+y)),a=xe(M,S[c],u+" "+d,p+" "+h,!1,"0px",a);return a},prefix:!0,formatter:ve("0px 0px 0px 0px",!1,!0)}),Me("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,n,s,r,a){return xe(e.style,n,this.format(ee(e,n,i,!1,"0px 0px")),this.format(t),!1,"0px",r)},prefix:!0,formatter:ve("0px 0px",!1,!0)}),Me("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,n,s,r,a){var l,o,c,h,d,u,p="background-position",m=i||Q(e),g=this.format((m?f?m.getPropertyValue(p+"-x")+" "+m.getPropertyValue(p+"-y"):m.getPropertyValue(p):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),v=this.format(t);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(u=ee(e,"backgroundImage").replace(k,""))&&"none"!==u){for(l=g.split(" "),o=v.split(" "),U.setAttribute("src",u),c=2;--c>-1;)(h=-1!==(g=l[c]).indexOf("%"))!==(-1!==o[c].indexOf("%"))&&(d=0===c?e.offsetWidth-U.width:e.offsetHeight-U.height,l[c]=h?parseFloat(g)/100*d+"px":parseFloat(g)/d*100+"%");g=l.join(" ")}return this.parseComplex(e.style,g,v,r,a)},formatter:oe}),Me("backgroundSize",{defaultValue:"0 0",formatter:function(e){return"co"===(e+="").substr(0,2)?e:oe(-1===e.indexOf(" ")?e+" "+e:e)}}),Me("perspective",{defaultValue:"0px",prefix:!0}),Me("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Me("transformStyle",{prefix:!0}),Me("backfaceVisibility",{prefix:!0}),Me("userSelect",{prefix:!0}),Me("margin",{parser:ye("marginTop,marginRight,marginBottom,marginLeft")}),Me("padding",{parser:ye("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Me("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,n,s,r,a){var l,o,c;return f<9?(o=e.currentStyle,c=f<8?" ":",",l="rect("+o.clipTop+c+o.clipRight+c+o.clipBottom+c+o.clipLeft+")",t=this.format(t).split(",").join(c)):(l=this.format(ee(e,this.p,i,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,l,t,r,a)}}),Me("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Me("autoRound,strictUnits",{parser:function(e,t,i,n,s){return s}}),Me("border",{defaultValue:"0px solid #000",parser:function(e,t,n,s,r,a){var l=ee(e,"borderTopWidth",i,!1,"0px"),o=this.format(t).split(" "),c=o[0].replace(x,"");return"px"!==c&&(l=parseFloat(l)/te(e,"borderTopWidth",1,c)+c),this.parseComplex(e.style,this.format(l+" "+ee(e,"borderTopStyle",i,!1,"solid")+" "+ee(e,"borderTopColor",i,!1,"#000")),o.join(" "),r,a)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(ge)||["#000"])[0]}}),Me("borderWidth",{parser:ye("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Me("float,cssFloat,styleFloat",{parser:function(e,t,i,n,s,r){var a=e.style,l="cssFloat"in a?"cssFloat":"styleFloat";return new be(a,l,0,0,s,-1,i,!1,0,a[l],t)}});var Ze=function(e){var t,i=this.t,n=i.filter||ee(this.data,"filter")||"",s=this.s+this.c*e|0;100===s&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),t=!ee(this.data,"filter")):(i.filter=n.replace(M,""),t=!0)),t||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0===s&&this.xn1||(i.filter=n+" alpha(opacity="+s+")"):i.filter=n.replace(T,"opacity="+s))};Me("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,n,s,r,a){var l=parseFloat(ee(e,"opacity",i,!1,"1")),o=e.style,c="autoAlpha"===n;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+l),c&&1===l&&"hidden"===ee(e,"visibility",i)&&0!==t&&(l=0),W?r=new be(o,"opacity",l,t-l,r):((r=new be(o,"opacity",100*l,100*(t-l),r)).xn1=c?1:0,o.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=e,r.plugin=a,r.setRatio=Ze),c&&((r=new be(o,"visibility",0,0,r,-1,null,!1,0,0!==l?"inherit":"hidden",0===t?"hidden":"inherit")).xs0="inherit",s._overwriteProps.push(r.n),s._overwriteProps.push(n)),r}});var Ke=function(e,t){t&&(e.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),e.removeProperty(t.replace(C,"-$1").toLowerCase())):e.removeAttribute(t))},Je=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:Ke(i,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Me("className",{parser:function(t,n,s,r,a,l,o){var c,h,d,u,p,f=t.getAttribute("class")||"",m=t.style.cssText;if((a=r._classNamePT=new be(t,s,0,0,a,2)).setRatio=Je,a.pr=-11,e=!0,a.b=f,h=ne(t,i),d=t._gsClassPT){for(u={},p=d.data;p;)u[p.p]=1,p=p._next;d.setRatio(1)}return t._gsClassPT=a,a.e="="!==n.charAt(1)?n:f.replace(new RegExp("(?:\\s|^)"+n.substr(2)+"(?![\\w-])"),"")+("+"===n.charAt(0)?" "+n.substr(2):""),t.setAttribute("class",a.e),c=se(t,h,ne(t),o,u),t.setAttribute("class",f),a.data=c.firstMPT,t.style.cssText!==m&&(t.style.cssText=m),a=a.xfirst=r.parse(t,c.difs,a,l)}});var Qe=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,i,n,s,r,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",s=!0;else for(n=(t=this.e.split(" ").join("").split(",")).length;--n>-1;)i=t[n],l[i]&&(l[i].parse===o?s=!0:i="transformOrigin"===i?Re:l[i].p),Ke(a,i);s&&(Ke(a,Ie),(r=this.t._gsTransform)&&(r.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Me("clearProps",{parser:function(t,i,n,s,r){return(r=new be(t,n,0,0,r,2)).setRatio=Qe,r.e=i,r.pr=-10,r.data=s._tween,e=!0,r}}),o="bezier,throwProps,physicsProps,physics2D".split(","),Te=o.length;Te--;)Ee(o[Te]);(o=r.prototype)._firstPT=o._lastParsedTransform=o._transform=null,o._onInitTween=function(n,a,o,u){if(!n.nodeType)return!1;this._target=m=n,this._tween=o,this._vars=a,g=u,c=a.autoRound,e=!1,t=a.suffixMap||r.suffixMap,i=Q(n),s=this._overwriteProps;var f,v,y,_,b,w,x,T,M,E=n.style;if(h&&""===E.zIndex&&("auto"!==(f=ee(n,"zIndex",i))&&""!==f||this._addLazySet(E,"zIndex",0)),"string"==typeof a&&(_=E.cssText,f=ne(n,i),E.cssText=_+";"+a,f=se(n,f,ne(n)).difs,!W&&S.test(a)&&(f.opacity=parseFloat(RegExp.$1)),a=f,E.cssText=_),a.className?this._firstPT=v=l.className.parse(n,a.className,"className",this,null,null,a):this._firstPT=v=this.parse(n,a,null),this._transformType){for(M=3===this._transformType,Ie?d&&(h=!0,""===E.zIndex&&("auto"!==(x=ee(n,"zIndex",i))&&""!==x||this._addLazySet(E,"zIndex",0)),p&&this._addLazySet(E,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(M?"visible":"hidden"))):E.zoom=1,y=v;y&&y._next;)y=y._next;T=new be(n,"transform",0,0,null,2),this._linkCSSP(T,null,y),T.setRatio=Ie?Ye:qe,T.data=this._transform||Xe(n,i,!0),T.tween=o,T.pr=-1,s.pop()}if(e){for(;v;){for(w=v._next,y=_;y&&y.pr>v.pr;)y=y._next;(v._prev=y?y._prev:b)?v._prev._next=v:_=v,(v._next=y)?y._prev=v:b=v,v=w}this._firstPT=_}return!0},o.parse=function(e,n,s,r){var a,o,h,d,u,p,f,v,y,_,b=e.style;for(a in n){if(p=n[a],o=l[a],"function"!=typeof p||o&&o.allowFunc||(p=p(g,m)),o)s=o.parse(e,p,a,this,s,r,n);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,e.style,"setProperty",Q(e).getPropertyValue(a)+"",p+"",a,!1,a);continue}u=ee(e,a,i)+"",y="string"==typeof p,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&E.test(p)?(y||(p=((p=fe(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),s=xe(b,a,u,p,!0,"transparent",s,0,r)):y&&R.test(p)?s=xe(b,a,u,p,!0,null,s,0,r):(f=(h=parseFloat(u))||0===h?u.substr((h+"").length):"",""!==u&&"auto"!==u||("width"===a||"height"===a?(h=le(e,a,i),f="px"):"left"===a||"top"===a?(h=ie(e,a,i),f="px"):(h="opacity"!==a?0:1,f="")),(_=y&&"="===p.charAt(1))?(d=parseInt(p.charAt(0)+"1",10),p=p.substr(2),d*=parseFloat(p),v=p.replace(x,"")):(d=parseFloat(p),v=y?p.replace(x,""):""),""===v&&(v=a in t?t[a]:f),p=d||0===d?(_?d+h:d)+v:n[a],f!==v&&(""===v&&"lineHeight"!==a||(d||0===d)&&h&&(h=te(e,a,h,f),"%"===v?(h/=te(e,a,100,"%")/100,!0!==n.strictUnits&&(u=h+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?h/=te(e,a,1,v):"px"!==v&&(d=te(e,a,d,v),v="px"),_&&(d||0===d)&&(p=d+h+v))),_&&(d+=h),!h&&0!==h||!d&&0!==d?void 0!==b[a]&&(p||p+""!="NaN"&&null!=p)?(s=new be(b,a,d||h||0,0,s,-1,a,!1,0,u,p)).xs0="none"!==p||"display"!==a&&-1===a.indexOf("Style")?p:u:q("invalid "+a+" tween value: "+n[a]):(s=new be(b,a,h,d-h,s,0,a,!1!==c&&("px"===v||"zIndex"===a),0,u,p)).xs0=v)}r&&s&&!s.plugin&&(s.plugin=r)}return s},o.setRatio=function(e){var t,i,n,s=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(t=s.c*e+s.s,s.r?t=s.r(t):t<1e-6&&t>-1e-6&&(t=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+t+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+t+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(e);else s.t[s.p]=t+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(e),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(t=s.r(s.s+s.c),s.type){if(1===s.type){for(n=s.l,i=s.xs0+t+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}}else s.t[s.p]=t+s.xs0;else s.t[s.p]=s.e;else s.setRatio(e);s=s._next}},o._enableTransforms=function(e){this._transform=this._transform||Xe(this._target,i,!0),this._transformType=this._transform.svg&&Ce||!e&&3!==this._transformType?2:3};var et=function(e){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};o._addLazySet=function(e,t,i){var n=this._firstPT=new be(e,t,0,0,this._firstPT,2);n.e=i,n.setRatio=et,n.data=this},o._linkCSSP=function(e,t,i,n){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,n=!0),i?i._next=e:n||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=i),e},o._mod=function(e){for(var t=this._firstPT;t;)"function"==typeof e[t.p]&&(t.r=e[t.p]),t=t._next},o._kill=function(e){var t,i,s,r=e;if(e.autoAlpha||e.alpha){for(i in r={},e)r[i]=e[i];r.opacity=1,r.autoAlpha&&(r.visibility=1)}for(e.className&&(t=this._classNamePT)&&((s=t.xfirst)&&s._prev?this._linkCSSP(s._prev,t._next,s._prev._prev):s===this._firstPT&&(this._firstPT=t._next),t._next&&this._linkCSSP(t._next,t._next._next,s._prev),this._classNamePT=null),t=this._firstPT;t;)t.plugin&&t.plugin!==i&&t.plugin._kill&&(t.plugin._kill(e),i=t.plugin),t=t._next;return n.j.prototype._kill.call(this,r)};var tt=function(e,t,i){var n,s,r,a;if(e.slice)for(s=e.length;--s>-1;)tt(e[s],t,i);else for(s=(n=e.childNodes).length;--s>-1;)a=(r=n[s]).type,r.style&&(t.push(ne(r)),i&&i.push(r)),1!==a&&9!==a&&11!==a||!r.childNodes.length||tt(r,t,i)};return r.cascadeTo=function(e,t,i){var s,r,a,l,o=n.l.to(e,t,i),c=[o],h=[],d=[],u=[],p=n.l._internals.reservedProps;for(e=o._targets||o.target,tt(e,h,u),o.render(t,!0,!0),tt(e,d),o.render(0,!0,!0),o._enabled(!0),s=u.length;--s>-1;)if((r=se(u[s],h[s],d[s])).firstMPT){for(a in r=r.difs,i)p[a]&&(r[a]=i[a]);for(a in l={},r)l[a]=h[s][a];c.push(n.l.fromTo(u[s],t,l,r))}return c},n.j.activate([r]),r}),!0);var l=n.m.CSSPlugin,o=n.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(e,t,i,n){var s,r;if("function"!=typeof e.setAttribute)return!1;for(s in t)"function"==typeof(r=t[s])&&(r=r(n,e)),this._addTween(e,"setAttribute",e.getAttribute(s)+"",r+"",s,!1,s),this._overwriteProps.push(s);return!0}}),c=n.k._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(e,t,i){return this._tween=i,!0}}),h=function(e){var t=e<1?Math.pow(10,(e+"").length-2):1;return function(i){return(Math.round(i/e)*e*t|0)/t}},d=function(e,t){for(;e;)e.f||e.blob||(e.m=t||Math.round),e=e._next},u=c.prototype;
/*!
 * VERSION: 0.6.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */u._onInitAllProps=function(){var e,t,i,n,s=this._tween,r=s.vars.roundProps,a={},l=s._propLookup.roundProps;if("object"!=typeof r||r.push)for("string"==typeof r&&(r=r.split(",")),i=r.length;--i>-1;)a[r[i]]=Math.round;else for(n in r)a[n]=h(r[n]);for(n in a)for(e=s._firstPT;e;)t=e._next,e.pg?e.t._mod(a):e.n===n&&(2===e.f&&e.t?d(e.t._firstPT,a[n]):(this._add(e.t,n,e.s,e.c,a[n]),t&&(t._prev=e._prev),e._prev?e._prev._next=t:s._firstPT===e&&(s._firstPT=t),e._next=e._prev=null,s._propLookup[n]=l)),e=t;return!1},u._add=function(e,t,i,n,s){this._addTween(e,t,i,i+n,t,s||Math.round),this._overwriteProps.push(t)};
/*!
 * VERSION: 0.3.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
var p=n.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(e,t,i,n){"object"!=typeof t&&(t={rotation:t}),this.finals={};var s,r,a,l,o,c,h=!0===t.useRadians?2*Math.PI:360;for(s in t)"useRadians"!==s&&("function"==typeof(l=t[s])&&(l=l(n,e)),r=(c=(l+"").split("_"))[0],a=parseFloat("function"!=typeof e[s]?e[s]:e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]()),o=(l=this.finals[s]="string"==typeof r&&"="===r.charAt(1)?a+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0)-a,c.length&&(-1!==(r=c.join("_")).indexOf("short")&&(o%=h)!==o%(h/2)&&(o=o<0?o+h:o-h),-1!==r.indexOf("_cw")&&o<0?o=(o+9999999999*h)%h-(o/h|0)*h:-1!==r.indexOf("ccw")&&o>0&&(o=(o-9999999999*h)%h-(o/h|0)*h)),(o>1e-6||o<-1e-6)&&(this._addTween(e,s,a,a+o,s),this._overwriteProps.push(s)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}});p._autoCSS=!0;
/*!
 * VERSION: 1.3.9
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
var f=180/Math.PI,m=[],g=[],v=[],y={},_=n.k._gsDefine.globals,b=function(e,t,i,n){i===n&&(i=n-(n-t)/1e6),e===t&&(t=e+(i-e)/1e6),this.a=e,this.b=t,this.c=i,this.d=n,this.da=n-e,this.ca=i-e,this.ba=t-e},w=function(e,t,i,n){var s={a:e},r={},a={},l={c:n},o=(e+t)/2,c=(t+i)/2,h=(i+n)/2,d=(o+c)/2,u=(c+h)/2,p=(u-d)/8;return s.b=o+(e-o)/4,r.b=d+p,s.c=r.a=(s.b+r.b)/2,r.c=a.a=(d+u)/2,a.b=u-p,l.b=h+(n-h)/4,a.c=l.a=(a.b+l.b)/2,[s,r,a,l]},x=function(e,t,i,n,s){var r,a,l,o,c,h,d,u,p,f,y,_,b,x=e.length-1,T=0,S=e[0].a;for(r=0;r<x;r++)a=(c=e[T]).a,l=c.d,o=e[T+1].d,s?(y=m[r],b=((_=g[r])+y)*t*.25/(n?.5:v[r]||.5),u=l-((h=l-(l-a)*(n?.5*t:0!==y?b/y:0))+(((d=l+(o-l)*(n?.5*t:0!==_?b/_:0))-h)*(3*y/(y+_)+.5)/4||0))):u=l-((h=l-(l-a)*t*.5)+(d=l+(o-l)*t*.5))/2,h+=u,d+=u,c.c=p=h,c.b=0!==r?S:S=c.a+.6*(c.c-c.a),c.da=l-a,c.ca=p-a,c.ba=S-a,i?(f=w(a,S,p,l),e.splice(T,1,f[0],f[1],f[2],f[3]),T+=4):T++,S=d;(c=e[T]).b=S,c.c=S+.4*(c.d-S),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=S-c.a,i&&(f=w(c.a,S,c.c,c.d),e.splice(T,1,f[0],f[1],f[2],f[3]))},T=function(e,t,i,n){var s,r,a,l,o,c,h=[];if(n)for(r=(e=[n].concat(e)).length;--r>-1;)"string"==typeof(c=e[r][t])&&"="===c.charAt(1)&&(e[r][t]=n[t]+Number(c.charAt(0)+c.substr(2)));if((s=e.length-2)<0)return h[0]=new b(e[0][t],0,0,e[0][t]),h;for(r=0;r<s;r++)a=e[r][t],l=e[r+1][t],h[r]=new b(a,0,0,l),i&&(o=e[r+2][t],m[r]=(m[r]||0)+(l-a)*(l-a),g[r]=(g[r]||0)+(o-l)*(o-l));return h[r]=new b(e[r][t],0,0,e[r+1][t]),h},S=function(e,t,i,n,s,r){var a,l,o,c,h,d,u,p,f={},_=[],b=r||e[0];for(l in s="string"==typeof s?","+s+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==t&&(t=1),e[0])_.push(l);if(e.length>1){for(p=e[e.length-1],u=!0,a=_.length;--a>-1;)if(l=_[a],Math.abs(b[l]-p[l])>.05){u=!1;break}u&&(e=e.concat(),r&&e.unshift(r),e.push(e[1]),r=e[e.length-3])}for(m.length=g.length=v.length=0,a=_.length;--a>-1;)l=_[a],y[l]=-1!==s.indexOf(","+l+","),f[l]=T(e,l,y[l],r);for(a=m.length;--a>-1;)m[a]=Math.sqrt(m[a]),g[a]=Math.sqrt(g[a]);if(!n){for(a=_.length;--a>-1;)if(y[l])for(d=(o=f[_[a]]).length-1,c=0;c<d;c++)h=o[c+1].da/g[c]+o[c].da/m[c]||0,v[c]=(v[c]||0)+h*h;for(a=v.length;--a>-1;)v[a]=Math.sqrt(v[a])}for(a=_.length,c=i?4:1;--a>-1;)o=f[l=_[a]],x(o,t,i,n,y[l]),u&&(o.splice(0,c),o.splice(o.length-c,c));return f},M=function(e,t,i){for(var n,s,r,a,l,o,c,h,d,u,p,f=1/i,m=e.length;--m>-1;)for(r=(u=e[m]).a,a=u.d-r,l=u.c-r,o=u.b-r,n=s=0,h=1;h<=i;h++)n=s-(s=((c=f*h)*c*a+3*(d=1-c)*(c*l+d*o))*c),t[p=m*i+h-1]=(t[p]||0)+n*n},E=n.k._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(e,t,i){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var n,s,r,a,l,o=t.values||[],c={},h=o[0],d=t.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null,h)this._props.push(n);for(r=this._props.length;--r>-1;)n=this._props[r],this._overwriteProps.push(n),s=this._func[n]="function"==typeof e[n],c[n]=s?e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(e[n]),l||c[n]!==o[0][n]&&(l=c);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?S(o,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,l):function(e,t,i){var n,s,r,a,l,o,c,h,d,u,p,f={},m="cubic"===(t=t||"soft")?3:2,g="soft"===t,v=[];if(g&&i&&(e=[i].concat(e)),null==e||e.length<m+1)throw"invalid Bezier data";for(d in e[0])v.push(d);for(o=v.length;--o>-1;){for(f[d=v[o]]=l=[],u=0,h=e.length,c=0;c<h;c++)n=null==i?e[c][d]:"string"==typeof(p=e[c][d])&&"="===p.charAt(1)?i[d]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&c>1&&c<h-1&&(l[u++]=(n+l[u-2])/2),l[u++]=n;for(h=u-m+1,u=0,c=0;c<h;c+=m)n=l[c],s=l[c+1],r=l[c+2],a=2===m?0:l[c+3],l[u++]=p=3===m?new b(n,s,r,a):new b(n,(2*s+n)/3,(2*s+r)/3,r);l.length=u}return f}(o,t.type,c),this._segCount=this._beziers[n].length,this._timeRes){var u=function(e,t){var i,n,s,r,a=[],l=[],o=0,c=0,h=(t=t>>0||6)-1,d=[],u=[];for(i in e)M(e[i],a,t);for(s=a.length,n=0;n<s;n++)o+=Math.sqrt(a[n]),u[r=n%t]=o,r===h&&(c+=o,d[r=n/t>>0]=u,l[r]=c,o=0,u=[]);return{length:c,lengths:l,segments:d}}(this._beziers,this._timeRes);this._length=u.length,this._lengths=u.lengths,this._segments=u.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(d=this._autoRotate)for(this._initialRotations=[],d[0]instanceof Array||(this._autoRotate=d=[d]),r=d.length;--r>-1;){for(a=0;a<3;a++)n=d[r][a],this._func[n]="function"==typeof e[n]&&e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)];n=d[r][2],this._initialRotations[r]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var t,i,n,s,r,a,l,o,c,h,d,u=this._segCount,p=this._func,m=this._target,g=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,d=e*this._length,n=this._li,d>this._l2&&n<u-1){for(o=u-1;n<o&&(this._l2=c[++n])<=d;);this._l1=c[n-1],this._li=n,this._curSeg=h=this._segments[n],this._s2=h[this._s1=this._si=0]}else if(d<this._l1&&n>0){for(;n>0&&(this._l1=c[--n])>=d;);0===n&&d<this._l1?this._l1=0:n++,this._l2=c[n],this._li=n,this._curSeg=h=this._segments[n],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(t=n,d-=this._l1,n=this._si,d>this._s2&&n<h.length-1){for(o=h.length-1;n<o&&(this._s2=h[++n])<=d;);this._s1=h[n-1],this._si=n}else if(d<this._s1&&n>0){for(;n>0&&(this._s1=h[--n])>=d;);0===n&&d<this._s1?this._s1=0:n++,this._s2=h[n],this._si=n}a=1===e?1:(n+(d-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(e-(t=e<0?0:e>=1?u-1:u*e>>0)*(1/u))*u;for(i=1-a,n=this._props.length;--n>-1;)s=this._props[n],l=(a*a*(r=this._beziers[s][t]).da+3*i*(a*r.ca+i*r.ba))*a+r.a,this._mod[s]&&(l=this._mod[s](l,m)),p[s]?m[s](l):m[s]=l;if(this._autoRotate){var v,y,_,b,w,x,T,S=this._autoRotate;for(n=S.length;--n>-1;)s=S[n][2],x=S[n][3]||0,T=!0===S[n][4]?1:f,r=this._beziers[S[n][0]],v=this._beziers[S[n][1]],r&&v&&(r=r[t],v=v[t],y=r.a+(r.b-r.a)*a,y+=((b=r.b+(r.c-r.b)*a)-y)*a,b+=(r.c+(r.d-r.c)*a-b)*a,_=v.a+(v.b-v.a)*a,_+=((w=v.b+(v.c-v.b)*a)-_)*a,w+=(v.c+(v.d-v.c)*a-w)*a,l=g?Math.atan2(w-_,b-y)*T+x:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,m)),p[s]?m[s](l):m[s]=l)}}}),C=E.prototype;E.bezierThrough=S,E.cubicToQuadratic=w,E._autoCSS=!0,E.quadraticToCubic=function(e,t,i){return new b(e,(2*t+e)/3,(2*t+i)/3,i)},E._cssRegister=function(){var e=_.CSSPlugin;if(e){var t=e._internals,i=t._parseToProxy,n=t._setPluginRatio,s=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,r,a,l,o){t instanceof Array&&(t={values:t}),o=new E;var c,h,d,u=t.values,p=u.length-1,f=[],m={};if(p<0)return l;for(c=0;c<=p;c++)d=i(e,u[c],a,l,o,p!==c),f[c]=d.end;for(h in t)m[h]=t[h];return m.values=f,(l=new s(e,"bezier",0,0,d.pt,2)).data=d,l.plugin=o,l.setRatio=n,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(c=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=d.end.left?[["left","top","rotation",c,!1]]:null!=d.end.x&&[["x","y","rotation",c,!1]]),m.autoRotate&&(a._transform||a._enableTransforms(!1),d.autoRotate=a._target._gsTransform,d.proxy.rotation=d.autoRotate.rotation||0,a._overwriteProps.push("rotation")),o._onInitTween(d.proxy,m,a._tween),l}})}},C._mod=function(e){for(var t,i=this._overwriteProps,n=i.length;--n>-1;)(t=e[i[n]])&&"function"==typeof t&&(this._mod[i[n]]=t)},C._kill=function(e){var t,i,n=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],i=n.length;--i>-1;)n[i]===t&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;--i>-1;)e[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,e)},
/*!
 * VERSION: 1.16.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
n.k._gsDefine("easing.Back",["easing.Ease"],(function(){var e,t,i,s,r=n.k.GreenSockGlobals||n.k,a=r.com.greensock,l=2*Math.PI,o=Math.PI/2,c=a._class,h=function(e,t){var i=c("easing."+e,(function(){}),!0),s=i.prototype=new n.b;return s.constructor=i,s.getRatio=t,i},d=n.b.register||function(){},u=function(e,t,i,n,s){var r=c("easing."+e,{easeOut:new t,easeIn:new i,easeInOut:new n},!0);return d(r,e),r},p=function(e,t,i){this.t=e,this.v=t,i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-e)},f=function(e,t){var i=c("easing."+e,(function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1}),!0),s=i.prototype=new n.b;return s.constructor=i,s.getRatio=t,s.config=function(e){return new i(e)},i},m=u("Back",f("BackOut",(function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1})),f("BackIn",(function(e){return e*e*((this._p1+1)*e-this._p1)})),f("BackInOut",(function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)}))),g=c("easing.SlowMo",(function(e,t,i){t=t||0===t?t:.7,null==e?e=.7:e>1&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),v=g.prototype=new n.b;return v.constructor=g,v.getRatio=function(e){var t=e+(.5-e)*this._p;return e<this._p1?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1===e?0:1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},g.ease=new g(.7,.7),v.config=g.config=function(e,t,i){return new g(e,t,i)},(v=(e=c("easing.SteppedEase",(function(e,t){e=e||1,this._p1=1/e,this._p2=e+(t?0:1),this._p3=t?1:0}),!0)).prototype=new n.b).constructor=e,v.getRatio=function(e){return e<0?e=0:e>=1&&(e=.999999999),((this._p2*e|0)+this._p3)*this._p1},v.config=e.config=function(t,i){return new e(t,i)},(v=(t=c("easing.ExpoScaleEase",(function(e,t,i){this._p1=Math.log(t/e),this._p2=t-e,this._p3=e,this._ease=i}),!0)).prototype=new n.b).constructor=t,v.getRatio=function(e){return this._ease&&(e=this._ease.getRatio(e)),(this._p3*Math.exp(this._p1*e)-this._p3)/this._p2},v.config=t.config=function(e,i,n){return new t(e,i,n)},(v=(i=c("easing.RoughEase",(function(e){for(var t,i,s,r,a,l,o=(e=e||{}).taper||"none",c=[],h=0,d=0|(e.points||20),u=d,f=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof n.b?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--u>-1;)t=f?Math.random():1/d*u,i=g?g.getRatio(t):t,s="none"===o?v:"out"===o?(r=1-t)*r*v:"in"===o?t*t*v:t<.5?(r=2*t)*r*.5*v:(r=2*(1-t))*r*.5*v,f?i+=Math.random()*s-.5*s:u%2?i+=.5*s:i-=.5*s,m&&(i>1?i=1:i<0&&(i=0)),c[h++]={x:t,y:i};for(c.sort((function(e,t){return e.x-t.x})),l=new p(1,1,null),u=d;--u>-1;)a=c[u],l=new p(a.x,a.y,l);this._prev=new p(0,0,0!==l.t?l:l.next)}),!0)).prototype=new n.b).constructor=i,v.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},v.config=function(e){return new i(e)},i.ease=new i,u("Bounce",h("BounceOut",(function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375})),h("BounceIn",(function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)})),h("BounceInOut",(function(e){var t=e<.5;return(e=t?1-2*e:2*e-1)<1/2.75?e*=7.5625*e:e=e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5}))),u("Circ",h("CircOut",(function(e){return Math.sqrt(1-(e-=1)*e)})),h("CircIn",(function(e){return-(Math.sqrt(1-e*e)-1)})),h("CircInOut",(function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}))),u("Elastic",(s=function(e,t,i){var s=c("easing."+e,(function(e,t){this._p1=e>=1?e:1,this._p2=(t||i)/(e<1?e:1),this._p3=this._p2/l*(Math.asin(1/this._p1)||0),this._p2=l/this._p2}),!0),r=s.prototype=new n.b;return r.constructor=s,r.getRatio=t,r.config=function(e,t){return new s(e,t)},s})("ElasticOut",(function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1}),.3),s("ElasticIn",(function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)}),.3),s("ElasticInOut",(function(e){return(e*=2)<1?this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)*.5+1}),.45)),u("Expo",h("ExpoOut",(function(e){return 1-Math.pow(2,-10*e)})),h("ExpoIn",(function(e){return Math.pow(2,10*(e-1))-.001})),h("ExpoInOut",(function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))}))),u("Sine",h("SineOut",(function(e){return Math.sin(e*o)})),h("SineIn",(function(e){return 1-Math.cos(e*o)})),h("SineInOut",(function(e){return-.5*(Math.cos(Math.PI*e)-1)}))),c("easing.EaseLookup",{find:function(e){return n.b.map[e]}},!0),d(r.SlowMo,"SlowMo","ease,"),d(i,"RoughEase","ease,"),d(e,"SteppedEase","ease,"),m}),!0);var P=n.m.Back,k=n.m.Elastic,A=n.m.Bounce,L=n.m.RoughEase,O=n.m.SlowMo,I=n.m.SteppedEase,D=n.m.Circ,R=n.m.Expo,z=n.m.Sine,N=n.m.ExpoScaleEase,$=a;$._autoActivated=[s,r,l,o,E,c,p,P,k,A,L,O,I,D,R,z,N]}]);