1(window.webpackJsonp=window.webpackJsonp||[]).push([[3],[,,,,function(e,t,i){"use strict";i.d(t,"d",(function(){return l})),i.d(t,"e",(function(){return d}));i(1);var n=i(0),o=i.n(n),s=(i(2),i(10));i.d(t,"b",(function(){return s.b}));var r=i(11);i.d(t,"c",(function(){return r.b}));var a=i(12);function l(e){var t="";for(var i in e)e.hasOwnProperty(i)&&(t.length>1&&(t+="&"),t+=encodeURIComponent(i),void 0!==e[i]&&(t+="="+encodeURIComponent(e[i])));return t}function d(e,t){t=t||[];var i={},n=e.split("&");return o.a.each(n,(function(e,n){var o=n.split("=",2),s=o[0],r=o[1];if(s&&t.indexOf(s)>-1){var a=decodeURIComponent(s);i[a]=void 0!==r?decodeURIComponent(r):""}})),i}i.d(t,"a",(function(){return a.b}))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},,function(e,t,i){ 2/* @preserve 3 * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com 4 * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade 5 */ 6!function(e){"use strict";function t(e){var t,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(t in o=arguments[i])e[t]=o[t];return e}var i=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}();function n(e,t){var i=Array.prototype.slice;if(e.bind)return e.bind.apply(e,i.call(arguments,1));var n=i.call(arguments,2);return function(){return e.apply(t,n.length?n.concat(i.call(arguments)):arguments)}}var o=0;function s(e){return e._leaflet_id=e._leaflet_id||++o,e._leaflet_id}function r(e,t,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(e.apply(i,arguments),setTimeout(r,t),n=!0)}}function a(e,t,i){var n=t[1],o=t[0],s=n-o;return e===n&&i?e:((e-o)%s+s)%s+o}function l(){return!1}function d(e,t){var i=Math.pow(10,void 0===t?6:t);return Math.round(e*i)/i}function c(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function u(e){return c(e).split(/\s+/)}function h(e,t){for(var n in Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?i(e.options):{}),t)e.options[n]=t[n];return e.options}function p(e,t,i){var n=[];for(var o in e)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(e[o]));return(t&&-1!==t.indexOf("?")?"&":"?")+n.join("&")}var f=/\{ *([\w_-]+) *\}/g;function m(e,t){return e.replace(f,(function(e,i){var n=t[i];if(void 0===n)throw new Error("No value provided for variable "+e);return"function"==typeof n&&(n=n(t)),n}))}var v=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function g(e,t){for(var i=0;i<e.length;i++)if(e[i]===t)return i;return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var b=0;function w(e){var t=+new Date,i=Math.max(0,16-(t-b));return b=t+i,window.setTimeout(e,i)}var x=window.requestAnimationFrame||_("RequestAnimationFrame")||w,E=window.cancelAnimationFrame||_("CancelAnimationFrame")||_("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function T(e,t,i){if(!i||x!==w)return x.call(window,n(e,t));e.call(t)}function S(e){e&&E.call(window,e)}var k={extend:t,create:i,bind:n,lastId:o,stamp:s,throttle:r,wrapNum:a,falseFn:l,formatNum:d,trim:c,splitWords:u,setOptions:h,getParamString:p,template:m,isArray:v,indexOf:g,emptyImageUrl:y,requestFn:x,cancelFn:E,requestAnimFrame:T,cancelAnimFrame:S};function P(){}P.extend=function(e){var n=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=n.__super__=this.prototype,s=i(o);for(var r in s.constructor=n,n.prototype=s,this)Object.prototype.hasOwnProperty.call(this,r)&&"prototype"!==r&&"__super__"!==r&&(n[r]=this[r]);return e.statics&&(t(n,e.statics),delete e.statics),e.includes&&(function(e){if("undefined"!=typeof L&&L&&L.Mixin){e=v(e)?e:[e];for(var t=0;t<e.length;
vendor: 4,138 bytes, line 6
6t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(e.includes),t.apply(null,[s].concat(e.includes)),delete e.includes),s.options&&(e.options=t(i(s.options),e.options)),t(s,e),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=s._initHooks.length;e<t;e++)s._initHooks[e].call(this)}},n},P.include=function(e){return t(this.prototype,e),this},P.mergeOptions=function(e){return t(this.prototype.options,e),this},P.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),i="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var C={on:function(e,t,i){if("object"==typeof e)for(var n in e)this._on(n,e[n],t);else for(var o=0,s=(e=u(e)).length;o<s;o++)this._on(e[o],t,i);return this},off:function(e,t,i){if(e)if("object"==typeof e)for(var n in e)this._off(n,e[n],t);else for(var o=0,s=(e=u(e)).length;o<s;o++)this._off(e[o],t,i);else delete this._events;return this},_on:function(e,t,i){this._events=this._events||{};var n=this._events[e];n||(n=[],this._events[e]=n),i===this&&(i=void 0);for(var o={fn:t,ctx:i},s=n,r=0,a=s.length;r<a;r++)if(s[r].fn===t&&s[r].ctx===i)return;s.push(o)},_off:function(e,t,i){var n,o,s;if(this._events&&(n=this._events[e]))if(t){if(i===this&&(i=void 0),n)for(o=0,s=n.length;o<s;o++){var r=n[o];if(r.ctx===i&&r.fn===t)return r.fn=l,this._firingCount&&(this._events[e]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=l;delete this._events[e]}},fire:function(e,i,n){if(!this.listens(e,n))return this;var o=t({},i,{type:e,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var s=this._events[e];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var l=s[r];l.fn.call(l.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(e,t){var i=this._events&&this._events[e];if(i&&i.length)return!0;if(t)for(var n in this._eventParents)if(this._eventParents[n].listens(e,t))return!0;return!1},once:function(e,t,i){if("object"==typeof e){for(var o in e)this.once(o,e[o],t);return this}var s=n((function(){this.off(e,t,i).off(e,s,i)}),this);return this.on(e,t,i).on(e,s,i)},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[s(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[s(e)],this},_propagateEvent:function(e){for(var i in this._eventParents)this._eventParents[i].fire(e.type,t({layer:e.target,propagatedFrom:e.target},e),!0)}};C.addEventListener=C.on,C.removeEventListener=C.clearAllEventListeners=C.off,C.addOneTimeEventListener=C.once,C.fireEvent=C.fire,C.hasEventListeners=C.listens;var A=P.extend(C);function M(e,t,i){this.x=i?Math.round(e):e,this.y=i?Math.round(t):t}var I=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};function N(e,t,i){return e instanceof M?e:v(e)?new M(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new M(e.x,e.y):new M(e,t,i)}function O(e,t){if(e)for(var i=t?[e,t]:e,n=0,o=i.length;n<o;n++)this.extend(i[n])}function j(e,t){return!e||e instanceof O?e:new O(e,t)}function z(e,t){if(e)for(var i=t?[e,t]:e,n=0,o=i.length;n<o;n++)this.extend(i[n])}function F(e,t){return e instanceof z?e:new z(e,t)}function D(e,t,i){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==i&&(this.alt=+i)}function B(e,t,i){return e instanceof D?e:v(e)&&"object"!=typeof e[0]?3===e.length?new D(e[0],e[1],e[2]):2===e.length?new D(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new D(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new D(e,t,i)}M.prototype={clone:function(){return new M(this.x,this.y)},add:function(e){return this.clone()._add(N(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(N(e))}
vendor: 5,790 bytes, line 6
6,_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new M(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new M(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=I(this.x),this.y=I(this.y),this},distanceTo:function(e){var t=(e=N(e)).x-this.x,i=e.y-this.y;return Math.sqrt(t*t+i*i)},equals:function(e){return(e=N(e)).x===this.x&&e.y===this.y},contains:function(e){return e=N(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+d(this.x)+", "+d(this.y)+")"}},O.prototype={extend:function(e){return e=N(e),this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(e.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(e.y,this.max.y)):(this.min=e.clone(),this.max=e.clone()),this},getCenter:function(e){return new M((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return new M(this.min.x,this.max.y)},getTopRight:function(){return new M(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,i;return(e="number"==typeof e[0]||e instanceof M?N(e):j(e))instanceof O?(t=e.min,i=e.max):t=i=e,t.x>=this.min.x&&i.x<=this.max.x&&t.y>=this.min.y&&i.y<=this.max.y},intersects:function(e){e=j(e);var t=this.min,i=this.max,n=e.min,o=e.max,s=o.x>=t.x&&n.x<=i.x,r=o.y>=t.y&&n.y<=i.y;return s&&r},overlaps:function(e){e=j(e);var t=this.min,i=this.max,n=e.min,o=e.max,s=o.x>t.x&&n.x<i.x,r=o.y>t.y&&n.y<i.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},z.prototype={extend:function(e){var t,i,n=this._southWest,o=this._northEast;if(e instanceof D)t=e,i=e;else{if(!(e instanceof z))return e?this.extend(B(e)||F(e)):this;if(t=e._southWest,i=e._northEast,!t||!i)return this}return n||o?(n.lat=Math.min(t.lat,n.lat),n.lng=Math.min(t.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new D(t.lat,t.lng),this._northEast=new D(i.lat,i.lng)),this},pad:function(e){var t=this._southWest,i=this._northEast,n=Math.abs(t.lat-i.lat)*e,o=Math.abs(t.lng-i.lng)*e;return new z(new D(t.lat-n,t.lng-o),new D(i.lat+n,i.lng+o))},getCenter:function(){return new D((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new D(this.getNorth(),this.getWest())},getSouthEast:function(){return new D(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e="number"==typeof e[0]||e instanceof D||"lat"in e?B(e):F(e);var t,i,n=this._southWest,o=this._northEast;return e instanceof z?(t=e.getSouthWest(),i=e.getNorthEast()):t=i=e,t.lat>=n.lat&&i.lat<=o.lat&&t.lng>=n.lng&&i.lng<=o.lng},intersects:function(e){e=F(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),o=e.getNorthEast(),s=o.lat>=t.lat&&n.lat<=i.lat,r=o.lng>=t.lng&&n.lng<=i.lng;return s&&r},overlaps:function(e){e=F(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),o=e.getNorthEast(),s=o.lat>t.lat&&n.lat<i.lat,r=o.lng>t.lng&&n.lng<i.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=F(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!(!this._southWest||!this._northEast)}},D.prototype={equals:function(e,t){return!!e&&(e=B(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+d(this.lat,e)+", "+d(this.lng,e)+")"},distanceTo:function(e){return U.distance(this,B(e))},wrap:function(){return U.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,i=t/Math.cos(Math.PI/180*this.lat);return F([this.lat-t,this.lng-i],[this.lat+t,this.lng+i])},clone:function(){return new D(this.lat,this.lng,this.alt)}};var R,H={latLngToPoint:function(e,t){var i=this.projection.project(e),n=this.scale(t);return this.transformation._transform(i,n)},pointToLatLng:function(e,t){var i=this.scale(t),n=this.transformation.untransform(e,i);return this.projection.unproject(n)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,i=this.scale(e);return new O(this.transformation.transform(t.min,i),this.transformation.transform(t.max,i))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?a(e.lng,this.wrapLng,!0):e.lng;return new D(this.wrapLat?a(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),i=this.wrapLatLng(t),n=t.lat-i.lat,o=t.lng-i.lng;if(0===n&&0===o)return e;
vendor: 63,689 bytes, line 6
6var s=e.getSouthWest(),r=e.getNorthEast();return new z(new D(s.lat-n,s.lng-o),new D(r.lat-n,r.lng-o))}},U=t({},H,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var i=Math.PI/180,n=e.lat*i,o=t.lat*i,s=Math.sin((t.lat-e.lat)*i/2),r=Math.sin((t.lng-e.lng)*i/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),Z={R:6378137,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,e.lat),-i),o=Math.sin(n*t);return new M(this.R*e.lng*t,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(e){var t=180/Math.PI;return new D((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(R=6378137*Math.PI,new O([-R,-R],[R,R]))};function $(e,t,i,n){if(v(e))return this._a=e[0],this._b=e[1],this._c=e[2],void(this._d=e[3]);this._a=e,this._b=t,this._c=i,this._d=n}function q(e,t,i,n){return new $(e,t,i,n)}$.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new M((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};var V=t({},U,{code:"EPSG:3857",projection:Z,transformation:function(){var e=.5/(Math.PI*Z.R);return q(e,.5,-e,.5)}()}),W=t({},V,{code:"EPSG:900913"});function G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function X(e,t){var i,n,o,s,r,a,l="";for(i=0,o=e.length;i<o;i++){for(n=0,s=(r=e[i]).length;n<s;n++)l+=(n?"L":"M")+(a=r[n]).x+" "+a.y;l+=t?Pe?"z":"x":""}return l||"M0 0"}var Y=document.documentElement.style,K="ActiveXObject"in window,J=K&&!document.addEventListener,Q="msLaunchUri"in navigator&&!("documentMode"in document),ee=Le("webkit"),te=Le("android"),ie=Le("android 2")||Le("android 3"),ne=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),oe=te&&Le("Google")&&ne<537&&!("AudioNode"in window),se=!!window.opera,re=!Q&&Le("chrome"),ae=Le("gecko")&&!ee&&!se&&!K,le=!re&&Le("safari"),de=Le("phantom"),ce="OTransition"in Y,ue=0===navigator.platform.indexOf("Win"),he=K&&"transition"in Y,pe="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ie,fe="MozPerspective"in Y,me=!window.L_DISABLE_3D&&(he||pe||fe)&&!ce&&!de,ve="undefined"!=typeof orientation||Le("mobile"),ge=ve&&ee,ye=ve&&pe,_e=!window.PointerEvent&&window.MSPointerEvent,be=!(!window.PointerEvent&&!_e),we=!window.L_NO_TOUCH&&(be||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),xe=ve&&se,Ee=ve&&ae,Te=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Se=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",l,t),window.removeEventListener("testPassiveEventSupport",l,t)}catch(e){}return e}(),ke=!!document.createElement("canvas").getContext,Pe=!(!document.createElementNS||!G("svg").createSVGRect),Ce=!Pe&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}();function Le(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Ae={ie:K,ielt9:J,edge:Q,webkit:ee,android:te,android23:ie,androidStock:oe,opera:se,chrome:re,gecko:ae,safari:le,phantom:de,opera12:ce,win:ue,ie3d:he,webkit3d:pe,gecko3d:fe,any3d:me,mobile:ve,mobileWebkit:ge,mobileWebkit3d:ye,msPointer:_e,pointer:be,touch:we,mobileOpera:xe,mobileGecko:Ee,retina:Te,passiveEvents:Se,canvas:ke,svg:Pe,vml:Ce},Me=_e?"MSPointerDown":"pointerdown",Ie=_e?"MSPointerMove":"pointermove",Ne=_e?"MSPointerUp":"pointerup",Oe=_e?"MSPointerCancel":"pointercancel",je={},ze=!1;function Fe(e,t,i,o){return"touchstart"===t?function(e,t,i){var o=n((function(e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ot(e),He(e,t)}));e["_leaflet_touchstart"+i]=o,e.addEventListener(Me,o,!1),ze||(document.addEventListener(Me,De,!0),document.addEventListener(Ie,Be,!0),document.addEventListener(Ne,Re,!0),document.addEventListener(Oe,Re,!0),ze=!0)}(e,i,o):"touchmove"===t?function(e,t,i){var n=function(e){e.pointerType===(e.MSPOINTER_TYPE_MOUSE||"mouse")&&0===e.buttons||He(e,t)};e["_leaflet_touchmove"+i]=n,e.addEventListener(Ie,n,!1)}(e,i,o):"touchend"===t&&function(e,t,i){var n=function(e){He(e,t)};e["_leaflet_touchend"+i]=n,e.addEventListener(Ne,n,!1),e.addEventListener(Oe,n,!1)}(e,i,o),this}function De(e){je[e.pointerId]=e}function Be(e){je[e.pointerId]&&(je[e.pointerId]=e)}function Re(e){delete je[e.pointerId]}function He(e,t){for(var i in e.touches=[],je)e.touches.push(je[i]);e.changedTouches=[e],t(e)}var Ue,Ze,$e,qe,Ve,We=_e?"MSPointerDown":be?"pointerdown":"touchstart",Ge=_e?"MSPointerUp":be?"pointerup":"touchend",Xe="_leaflet_",Ye=ht(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Ke=ht(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Je="webkitTransition"===Ke||"OTransition"===Ke?Ke+"End":"transitionend";function Qe(e){return"string"==typeof e?document.getElementById(e):e}function et(e,t){var i=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(e,null);i=n?n[t]:null}return"auto"===i?null:i}function tt(e,t,i){var n=document.createElement(e);return n.className=t||"",i&&i.appendChild(n),n}function it(e){var t=e.parentNode;t&&t.removeChild(e)}function nt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function ot(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function st(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function rt(e,t){if(void 0!==e.classList)return e.classList.contains(t);var i=ct(e);return i.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(i)}function at(e,t){if(void 0!==e.classList)for(var i=u(t),n=0,o=i.length;n<o;n++)e.classList.add(i[n]);else if(!rt(e,t)){var s=ct(e);dt(e,(s?s+" ":"")+t)}}function lt(e,t){void 0!==e.classList?e.classList.remove(t):dt(e,c((" "+ct(e)+" ").replace(" "+t+" "," ")))}function dt(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function ct(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function ut(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=e.filters.item(n)}catch(e){if(1===t)return}t=Math.round(100*t),i?(i.Enabled=100!==t,i.Opacity=t):e.style.filter+=" progid:"+n+"(opacity="+t+")"}(e,t)}function ht(e){for(var t=document.documentElement.style,i=0;i<e.length;i++)if(e[i]in t)return e[i];return!1}function pt(e,t,i){var n=t||new M(0,0);e.style[Ye]=(he?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function ft(e,t){e._leaflet_pos=t,me?pt(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function mt(e){return e._leaflet_pos||new M(0,0)}if("onselectstart"in document)Ue=function(){Tt(window,"selectstart",Ot)},Ze=function(){kt(window,"selectstart",Ot)};else{var vt=ht(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ue=function(){if(vt){var e=document.documentElement.style;$e=e[vt],e[vt]="none"}},Ze=function(){vt&&(document.documentElement.style[vt]=$e,$e=void 0)}}function gt(){Tt(window,"dragstart",Ot)}function yt(){kt(window,"dragstart",Ot)}function _t(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(bt(),qe=e,Ve=e.style.outline,e.style.outline="none",Tt(window,"keydown",bt))}function bt(){qe&&(qe.style.outline=Ve,qe=void 0,Ve=void 0,kt(window,"keydown",bt))}function wt(e){do{e=e.parentNode}while(!(e.offsetWidth&&e.offsetHeight||e===document.body));return e}function xt(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Et={TRANSFORM:Ye,TRANSITION:Ke,TRANSITION_END:Je,get:Qe,getStyle:et,create:tt,remove:it,empty:nt,toFront:ot,toBack:st,hasClass:rt,addClass:at,removeClass:lt,setClass:dt,getClass:ct,setOpacity:ut,testProp:ht,setTransform:pt,setPosition:ft,getPosition:mt,disableTextSelection:Ue,enableTextSelection:Ze,disableImageDrag:gt,enableImageDrag:yt,preventOutline:_t,restoreOutline:bt,getSizedParentNode:wt,getScale:xt};function Tt(e,t,i,n){if("object"==typeof t)for(var o in t)Lt(e,o,t[o],i);else for(var s=0,r=(t=u(t)).length;s<r;s++)Lt(e,t[s],i,n);return this}var St="_leaflet_events";function kt(e,t,i,n){if("object"==typeof t)for(var o in t)At(e,o,t[o],i);else if(t)for(var s=0,r=(t=u(t)).length;s<r;s++)At(e,t[s],i,n);else{for(var a in e[St])At(e,a,e[St][a]);delete e[St]}return this}function Pt(){if(be)return!(Q||le)}var Ct={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Lt(e,t,i,n){var o=t+s(i)+(n?"_"+s(n):"");if(e[St]&&e[St][o])return this;var r=function(t){return i.call(n||e,t||window.event)},a=r;be&&0===t.indexOf("touch")?Fe(e,t,r,o):we&&"dblclick"===t&&!Pt()?function(e,t,i){var n,o,s=!1;function r(e){if(be){if(!e.isPrimary)return;if("mouse"===e.pointerType)return}else if(e.touches.length>1)return;var t=Date.now(),i=t-(n||t);o=e.touches?e.touches[0]:e,s=i>0&&i<=250,n=t}function a(e){if(s&&!o.cancelBubble){if(be){if("mouse"===e.pointerType)return;var i,r,a={};for(r in o)i=o[r],a[r]=i&&i.bind?i.bind(o):i;o=a}o.type="dblclick",o.button=0,t(o),n=null}}e[Xe+We+i]=r,e[Xe+Ge+i]=a,e[Xe+"dblclick"+i]=t,e.addEventListener(We,r,!!Se&&{passive:!1}),e.addEventListener(Ge,a,!!Se&&{passive:!1}),e.addEventListener("dblclick",t,!1)}(e,r,o):"addEventListener"in e?"touchstart"===t||"touchmove"===t||"wheel"===t||"mousewheel"===t?e.addEventListener(Ct[t]||t,r,!!Se&&{passive:!1}):"mouseenter"===t||"mouseleave"===t?(r=function(t){t=t||window.event,Ut(e,t)&&a(t)},e.addEventListener(Ct[t],r,!1)):e.addEventListener(t,a,!1):"attachEvent"in e&&e.attachEvent("on"+t,r),e[St]=e[St]||{},e[St][o]=r}function At(e,t,i,n){var o=t+s(i)+(n?"_"+s(n):""),r=e[St]&&e[St][o];if(!r)return this;be&&0===t.indexOf("touch")?function(e,t,i){var n=e["_leaflet_"+t+i];"touchstart"===t?e.removeEventListener(Me,n,!1):"touchmove"===t?e.removeEventListener(Ie,n,!1):"touchend"===t&&(e.removeEventListener(Ne,n,!1),e.removeEventListener(Oe,n,!1))}(e,t,o):we&&"dblclick"===t&&!Pt()?function(e,t){var i=e[Xe+We+t],n=e[Xe+Ge+t],o=e[Xe+"dblclick"+t];e.removeEventListener(We,i,!!Se&&{passive:!1}),e.removeEventListener(Ge,n,!!Se&&{passive:!1}),e.removeEventListener("dblclick",o,!1)}(e,o):"removeEventListener"in e?e.removeEventListener(Ct[t]||t,r,!1):"detachEvent"in e&&e.detachEvent("on"+t,r),e[St][o]=null}function Mt(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,Ht(e),this}function It(e){return Lt(e,"wheel",Mt),this}function Nt(e){return Tt(e,"mousedown touchstart dblclick",Mt),Lt(e,"click",Rt),this}function Ot(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function jt(e){return Ot(e),Mt(e),this}function zt(e,t){if(!t)return new M(e.clientX,e.clientY);var i=xt(t),n=i.boundingClientRect;return new M((e.clientX-n.left)/i.x-t.clientLeft,(e.clientY-n.top)/i.y-t.clientTop)}var Ft=ue&&re?2*window.devicePixelRatio:ae?window.devicePixelRatio:1;function Dt(e){return Q?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Ft:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}var Bt={};function Rt(e){Bt[e.type]=!0}function Ht(e){var t=Bt[e.type];return Bt[e.type]=!1,t}function Ut(e,t){var i=t.relatedTarget;if(!i)return!0;try{for(;i&&i!==e;)i=i.parentNode}catch(e){return!1}return i!==e}var Zt={on:Tt,off:kt,stopPropagation:Mt,disableScrollPropagation:It,disableClickPropagation:Nt,preventDefault:Ot,stop:jt,getMousePosition:zt,getWheelDelta:Dt,fakeStop:Rt,skipped:Ht,isExternalTarget:Ut,addListener:Tt,removeListener:kt},$t=A.extend({run:function(e,t,i,n){this.stop(),this._el=e,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=mt(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=T(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,i=1e3*this._duration;t<i?this._runFrame(this._easeOut(t/i),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var i=this._startPos.add(this._offset.multiplyBy(e));t&&i._round(),ft(this._el,i),this.fire("step")},_complete:function(){S(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),qt=A.extend({options:{crs:V,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=h(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=n(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(B(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Ke&&me&&!xe&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Tt(this._proxy,Je,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,i,n){return i=void 0===i?this._zoom:this._limitZoom(i),e=this._limitCenter(B(e),i,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=t({animate:n.animate},n.zoom),n.pan=t({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,i,n.zoom):this._tryAnimatedPan(e,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,i),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(me?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(me?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,i){var n=this.getZoomScale(t),o=this.getSize().divideBy(2),s=(e instanceof M?e:this.latLngToContainerPoint(e)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,t,{zoom:i})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():F(e);var i=N(t.paddingTopLeft||t.padding||[0,0]),n=N(t.paddingBottomRight||t.padding||[0,0]),o=this.getBoundsZoom(e,!1,i.add(n));if((o="number"==typeof t.maxZoom?Math.min(t.maxZoom,o):o)===1/0)return{center:e.getCenter(),zoom:o};var s=n.subtract(i).divideBy(2),r=this.project(e.getSouthWest(),o),a=this.project(e.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(e,t){if(!(e=F(e)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(e,t);return this.setView(i.center,i.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(t=t||{},!(e=N(e).round()).x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new $t,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){at(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,i,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,i){if(!1===(i=i||{}).animate||!me)return this.setView(e,t,i);this._stop();var n=this.project(this.getCenter()),o=this.project(e),s=this.getSize(),r=this._zoom;e=B(e),t=void 0===t?r:t;var a=Math.max(s.x,s.y),l=a*this.getZoomScale(r,t),d=o.distanceTo(n)||1;function c(e){var t=(l*l-a*a+2.0164*(e?-1:1)*2.0164*d*d)/(2*(e?l:a)*2.0164*d),i=Math.sqrt(t*t+1)-t;return i<1e-9?-18:Math.log(i)}function u(e){return(Math.exp(e)-Math.exp(-e))/2}function h(e){return(Math.exp(e)+Math.exp(-e))/2}var p=c(0);function f(e){return a*(h(p)*(u(t=p+1.42*e)/h(t))-u(p))/2.0164;var t}var m=Date.now(),v=(c(1)-p)/1.42,g=i.duration?1e3*i.duration:1e3*v*.8;return this._moveStart(!0,i.noMoveStart),function i(){var s=(Date.now()-m)/g,l=function(e){return 1-Math.pow(1-e,1.5)}(s)*v;s<=1?(this._flyToFrame=T(i,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(f(l)/d)),r),this.getScaleZoom(a/function(e){return a*(h(p)/h(p+1.42*e))}(l),r),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}.call(this),this},flyToBounds:function(e,t){var i=this._getBoundsCenterZoom(e,t);return this.flyTo(i.center,i.zoom,t)},setMaxBounds:function(e){return(e=F(e)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,F(e));return i.equals(n)||this.panTo(n,t),this._enforcingBounds=!1,this},panInside:function(e,t){var i=N((t=t||{}).paddingTopLeft||t.padding||[0,0]),n=N(t.paddingBottomRight||t.padding||[0,0]),o=this.getCenter(),s=this.project(o),r=this.project(e),a=this.getPixelBounds(),l=a.getSize().divideBy(2),d=j([a.min.add(i),a.max.subtract(n)]);if(!d.contains(r)){this._enforcingBounds=!0;var c=s.subtract(r),u=N(r.x+c.x,r.y+c.y);(r.x<d.min.x||r.x>d.max.x)&&(u.x=s.x-c.x,c.x>0?u.x+=l.x-i.x:u.x-=l.x-n.x),(r.y<d.min.y||r.y>d.max.y)&&(u.y=s.y-c.y,c.y>0?u.y+=l.y-i.y:u.y-=l.y-n.y),this.panTo(this.unproject(u),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=t({animate:!1,pan:!0},!0===e?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),s=i.divideBy(2).round(),r=o.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(e.animate&&e.pan?this.panBy(a):(e.pan&&this._rawPanBy(a),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(n(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=t({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=n(this._handleGeolocationResponse,this),o=n(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,e):navigator.geolocation.getCurrentPosition(i,o,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,i=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(e){var t=new D(e.coords.latitude,e.coords.longitude),i=t.toBounds(2*e.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(t,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:t,bounds:i,timestamp:e.timestamp};for(var r in e.coords)"number"==typeof e.coords[r]&&(s[r]=e.coords[r]);this.fire("locationfound",s)},addHandler:function(e,t){if(!t)return this;var i=this[e]=new t(this);return this._handlers.push(i),this.options[e]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),it(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)it(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var i=tt("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new z(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,i){e=F(e),i=N(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=e.getNorthWest(),a=e.getSouthEast(),l=this.getSize().subtract(i),d=j(this.project(a,n),this.project(r,n)).getSize(),c=me?this.options.zoomSnap:1,u=l.x/d.x,h=l.y/d.y,p=t?Math.max(u,h):Math.min(u,h);return n=this.getScaleZoom(p,n),c&&(n=Math.round(n/(c/100))*(c/100),n=t?Math.ceil(n/c)*c:Math.floor(n/c)*c),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var i=this._getTopLeftPoint(e,t);return new O(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var i=this.options.crs;return t=void 0===t?this._zoom:t,i.scale(e)/i.scale(t)},getScaleZoom:function(e,t){var i=this.options.crs;t=void 0===t?this._zoom:t;var n=i.zoom(e*i.scale(t));return isNaN(n)?1/0:n},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(B(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(N(e),t)},layerPointToLatLng:function(e){var t=N(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(B(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(B(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(F(e))},distance:function(e,t){return this.options.crs.distance(B(e),B(t))},containerPointToLayerPoint:function(e){return N(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return N(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(N(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(B(e)))},mouseEventToContainerPoint:function(e){return zt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=Qe(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Tt(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&me,at(e,"leaflet-container"+(we?" leaflet-touch":"")+(Te?" leaflet-retina":"")+(J?" leaflet-oldie":"")+(le?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=et(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ft(this._mapPane,new M(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(at(e.markerPane,"leaflet-zoom-hide"),at(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){ft(this._mapPane,new M(0,0));var i=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var n=this._zoom!==t;this._moveStart(n,!1)._move(e,t)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,i){void 0===t&&(t=this._zoom);var n=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){ft(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[s(this._container)]=this;var t=e?kt:Tt;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),me&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=T((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var i,n=[],o="mouseout"===t||"mouseover"===t,r=e.target||e.srcElement,a=!1;r;){if((i=this._targets[s(r)])&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(t,!0)){if(o&&!Ut(r,e))break;if(n.push(i),o)break}if(r===this._container)break;r=r.parentNode}return n.length||a||o||!Ut(r,e)||(n=[this]),n},_handleDOMEvent:function(e){if(this._loaded&&!Ht(e)){var t=e.type;"mousedown"!==t&&"keypress"!==t&&"keyup"!==t&&"keydown"!==t||_t(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,i,n){if("click"===e.type){var o=t({},e);o.type="preclick",this._fireDOMEvent(o,o.type,n)}if(!e._stopped&&(n=(n||[]).concat(this._findEventTargets(e,i))).length){var s=n[0];"contextmenu"===i&&s.listens(i,!0)&&Ot(e);var r={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var a=s.getLatLng&&(!s._radius||s._radius<=10);r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(e),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var l=0;l<n.length;l++)if(n[l].fire(i,r,!0),r.originalEvent._stopped||!1===n[l].options.bubblingMouseEvents&&-1!==g(this._mouseEvents,i))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return mt(this._mapPane)||new M(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var i=this.getSize()._divideBy(2);return this.project(e,t)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,i){var n=this._getNewPixelOrigin(i,t);return this.project(e,t)._subtract(n)},_latLngBoundsToNewLayerBounds:function(e,t,i){var n=this._getNewPixelOrigin(i,t);return j([this.project(e.getSouthWest(),t)._subtract(n),this.project(e.getNorthWest(),t)._subtract(n),this.project(e.getSouthEast(),t)._subtract(n),this.project(e.getNorthEast(),t)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,i){if(!i)return e;var n=this.project(e,t),o=this.getSize().divideBy(2),s=new O(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,i,t);return r.round().equals([0,0])?e:this.unproject(n.add(r),t)},_limitOffset:function(e,t){if(!t)return e;var i=this.getPixelBounds(),n=new O(i.min.add(e),i.max.add(e));return e.add(this._getBoundsOffset(n,t))},_getBoundsOffset:function(e,t,i){var n=j(this.project(t.getNorthEast(),i),this.project(t.getSouthWest(),i)),o=n.min.subtract(e.min),s=n.max.subtract(e.max);return new M(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),i=this.getMaxZoom(),n=me?this.options.zoomSnap:1;return n&&(e=Math.round(e/n)*n),Math.max(t,Math.min(i,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){lt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var i=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(i)||(this.panBy(i,t),0))},_createAnimProxy:function(){var e=this._proxy=tt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",(function(e){var t=Ye,i=this._proxy.style[t];pt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),i===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){it(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();pt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(T((function(){this._moveStart(!0,!1)._animateZoom(e,t,!0)}),this),0))},_animateZoom:function(e,t,i,o){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,at(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:o}),setTimeout(n(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&<(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),T((function(){this._moveEnd(!0)}),this))}}),Vt=P.extend({options:{position:"topright"},initialize:function(e){h(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),i=this.getPosition(),n=e._controlCorners[i];return at(t,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(t,n.firstChild):n.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(it(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Wt=function(e){return new Vt(e)};qt.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",i=this._controlContainer=tt("div",t+"control-container",this._container);function n(n,o){var s=t+n+" "+t+o;e[n+o]=tt("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)it(this._controlCorners[e]);it(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Gt=Vt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,i,n){return i<n?-1:n<i?1:0}},initialize:function(e,t,i){for(var n in h(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,e)this._addLayer(e[n],n);for(n in t)this._addLayer(t[n],n,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return Vt.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(s(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){at(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(at(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):lt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return lt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=tt("div",e),i=this.options.collapsed;t.setAttribute("aria-haspopup",!0),Nt(t),It(t);var n=this._section=tt("section",e+"-list");i&&(this._map.on("click",this.collapse,this),te||Tt(t,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=tt("a",e+"-toggle",t);o.href="#",o.title="Layers",we?(Tt(o,"click",jt),Tt(o,"click",this.expand,this)):Tt(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=tt("div",e+"-base",n),this._separator=tt("div",e+"-separator",n),this._overlaysList=tt("div",e+"-overlays",n),t.appendChild(n)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&s(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,i){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:i}),this.options.sortLayers&&this._layers.sort(n((function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)}),this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;nt(this._baseLayersList),nt(this._overlaysList),this._layerControlInputs=[];var e,t,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),t=t||n.overlay,e=e||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(e=e&&o>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(s(e.target)),i=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;i&&this._map.fire(i,t)},_createRadioElement:function(e,t){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(e){var t,i=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+s(this),n),this._layerControlInputs.push(t),t.layerId=s(e.layer),Tt(t,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var r=document.createElement("div");return i.appendChild(r),r.appendChild(t),r.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var e,t,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)e=i[s],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||o.push(t);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var e,t,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;o>=0;o--)e=i[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&n<t.options.minZoom||void 0!==t.options.maxZoom&&n>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Xt=Vt.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",i=tt("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",i,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,i,n,o){var s=tt("a",i,n);return s.innerHTML=e,s.href="#",s.title=t,s.setAttribute("role","button"),s.setAttribute("aria-label",t),Nt(s),Tt(s,"click",jt),Tt(s,"click",o,this),Tt(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";lt(this._zoomInButton,t),lt(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMinZoom())&&at(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMaxZoom())&&at(this._zoomInButton,t)}});qt.mergeOptions({zoomControl:!0}),qt.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Xt,this.addControl(this.zoomControl))}));var Yt=Vt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=tt("div","leaflet-control-scale"),i=this.options;return this._addScales(i,"leaflet-control-scale-line",t),e.on(i.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),t},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,i){e.metric&&(this._mScale=tt("div",t,i)),e.imperial&&(this._iScale=tt("div",t,i))},_update:function(){var e=this._map,t=e.getSize().y/2,i=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(i)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),i=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,i,t/e)},_updateImperial:function(e){var t,i,n,o=3.2808399*e;o>5280?(t=o/5280,i=this._getRoundNum(t),this._updateScale(this._iScale,i+" mi",i/t)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(e,t,i){e.style.width=Math.round(this.options.maxWidth*i)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),i=e/t;return t*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),Kt=Vt.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(e){h(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=tt("div","leaflet-control-attribution"),Nt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(" | ")}}});qt.mergeOptions({attributionControl:!0}),qt.addInitHook((function(){this.options.attributionControl&&(new Kt).addTo(this)})),Vt.Layers=Gt,Vt.Zoom=Xt,Vt.Scale=Yt,Vt.Attribution=Kt,Wt.layers=function(e,t,i){return new Gt(e,t,i)},Wt.zoom=function(e){return new Xt(e)},Wt.scale=function(e){return new Yt(e)},Wt.attribution=function(e){return new Kt(e)};var Jt=P.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Jt.addTo=function(e,t){return e.addHandler(t,this),this};var Qt,ei={Events:C},ti=we?"touchstart mousedown":"mousedown",ii={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},ni={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},oi=A.extend({options:{clickTolerance:3},initialize:function(e,t,i,n){h(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=i},enable:function(){this._enabled||(Tt(this._dragStartTarget,ti,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(oi._dragging===this&&this.finishDrag(),kt(this._dragStartTarget,ti,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!e._simulated&&this._enabled&&(this._moved=!1,!rt(this._element,"leaflet-zoom-anim")&&!(oi._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(oi._dragging=this,this._preventOutline&&_t(this._element),gt(),Ue(),this._moving)))){this.fire("down");var t=e.touches?e.touches[0]:e,i=wt(this._element);this._startPoint=new M(t.clientX,t.clientY),this._parentScale=xt(i),Tt(document,ni[e.type],this._onMove,this),Tt(document,ii[e.type],this._onUp,this)}},_onMove:function(e){if(!e._simulated&&this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,i=new M(t.clientX,t.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Ot(e),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=mt(this._element).subtract(i),at(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),at(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,S(this._animRequest),this._lastEvent=e,this._animRequest=T(this._updatePosition,this,!0)))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),ft(this._element,this._newPos),this.fire("drag",e)},_onUp:function(e){!e._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var e in lt(document.body,"leaflet-dragging"),this._lastTarget&&(lt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ni)kt(document,ni[e],this._onMove,this),kt(document,ii[e],this._onUp,this);yt(),Ze(),this._moved&&this._moving&&(S(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,oi._dragging=!1}});function si(e,t){if(!t||!e.length)return e.slice();var i=t*t;return e=function(e,t){var i=e.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,function e(t,i,n,o,s){var r,a,l,d=0;for(a=o+1;a<=s-1;a++)(l=ci(t[a],t[o],t[s],!0))>d&&(r=a,d=l);d>n&&(i[r]=1,e(t,i,n,o,r),e(t,i,n,r,s))}(e,n,t,0,i-1);var o,s=[];for(o=0;o<i;o++)n[o]&&s.push(e[o]);return s}(e=function(e,t){for(var i=[e[0]],n=1,o=0,s=e.length;n<s;n++)r=e[n],a=e[o],l=void 0,d=void 0,l=a.x-r.x,d=a.y-r.y,l*l+d*d>t&&(i.push(e[n]),o=n);var r,a,l,d;return o<s-1&&i.push(e[s-1]),i}(e,i),i)}function ri(e,t,i){return Math.sqrt(ci(e,t,i,!0))}function ai(e,t,i,n,o){var s,r,a,l=n?Qt:di(e,i),d=di(t,i);for(Qt=d;;){if(!(l|d))return[e,t];if(l&d)return!1;a=di(r=li(e,t,s=l||d,i,o),i),s===l?(e=r,l=a):(t=r,d=a)}}function li(e,t,i,n,o){var s,r,a=t.x-e.x,l=t.y-e.y,d=n.min,c=n.max;return 8&i?(s=e.x+a*(c.y-e.y)/l,r=c.y):4&i?(s=e.x+a*(d.y-e.y)/l,r=d.y):2&i?(s=c.x,r=e.y+l*(c.x-e.x)/a):1&i&&(s=d.x,r=e.y+l*(d.x-e.x)/a),new M(s,r,o)}function di(e,t){var i=0;return e.x<t.min.x?i|=1:e.x>t.max.x&&(i|=2),e.y<t.min.y?i|=4:e.y>t.max.y&&(i|=8),i}function ci(e,t,i,n){var o,s=t.x,r=t.y,a=i.x-s,l=i.y-r,d=a*a+l*l;return d>0&&((o=((e.x-s)*a+(e.y-r)*l)/d)>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=l*o)),a=e.x-s,l=e.y-r,n?a*a+l*l:new M(s,r)}function ui(e){return!v(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function hi(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ui(e)}var pi={simplify:si,pointToSegmentDistance:ri,closestPointOnSegment:function(e,t,i){return ci(e,t,i)},clipSegment:ai,_getEdgeIntersection:li,_getBitCode:di,_sqClosestPointOnSegment:ci,isFlat:ui,_flat:hi};function fi(e,t,i){var n,o,s,r,a,l,d,c,u,h=[1,4,2,8];for(o=0,d=e.length;o<d;o++)e[o]._code=di(e[o],t);for(r=0;r<4;r++){for(c=h[r],n=[],o=0,s=(d=e.length)-1;o<d;s=o++)a=e[o],l=e[s],a._code&c?l._code&c||((u=li(l,a,c,t,i))._code=di(u,t),n.push(u)):(l._code&c&&((u=li(l,a,c,t,i))._code=di(u,t),n.push(u)),n.push(a));e=n}return e}var mi={clipPolygon:fi},vi={project:function(e){return new M(e.lng,e.lat)},unproject:function(e){return new D(e.y,e.x)},bounds:new O([-180,-90],[180,90])},gi={R:6378137,R_MINOR:6356752.314245179,bounds:new O([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,i=this.R,n=e.lat*t,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-i*Math.log(Math.max(a,1e-10)),new M(e.lng*t*i,n)},unproject:function(e){for(var t,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-e.y/n),a=Math.PI/2-2*Math.atan(r),l=0,d=.1;l<15&&Math.abs(d)>1e-7;l++)t=s*Math.sin(a),t=Math.pow((1-t)/(1+t),s/2),a+=d=Math.PI/2-2*Math.atan(r*t)-a;return new D(a*i,e.x*i/n)}},yi={LonLat:vi,Mercator:gi,SphericalMercator:Z},_i=t({},U,{code:"EPSG:3395",projection:gi,transformation:function(){var e=.5/(Math.PI*gi.R);return q(e,.5,-e,.5)}()}),bi=t({},U,{code:"EPSG:4326",projection:vi,transformation:q(1/180,1,-1/180,.5)}),wi=t({},H,{projection:vi,transformation:q(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var i=t.lng-e.lng,n=t.lat-e.lat;return Math.sqrt(i*i+n*n)},infinite:!0});H.Earth=U,H.EPSG3395=_i,H.EPSG3857=V,H.EPSG900913=W,H.EPSG4326=bi,H.Simple=wi;var xi=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[s(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[s(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var i=this.getEvents();t.on(i,this),this.once("remove",(function(){t.off(i,this)}),this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}});qt.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=s(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=s(e);return this._layers[t]?(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return!!e&&s(e)in this._layers},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},_addLayers:function(e){for(var t=0,i=(e=e?v(e)?e:[e]:[]).length;t<i;t++)this.addLayer(e[t])},_addZoomLimit:function(e){!isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[s(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=s(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;e=void 0===o.minZoom?e:Math.min(e,o.minZoom),t=void 0===o.maxZoom?t:Math.max(t,o.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ei=xi.extend({initialize:function(e,t){var i,n;if(h(this,t),this._layers={},e)for(i=0,n=e.length;i<n;i++)this.addLayer(e[i])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return!!e&&("number"==typeof e?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,i,n=Array.prototype.slice.call(arguments,1);for(t in this._layers)(i=this._layers[t])[e]&&i[e].apply(i,n);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return s(e)}}),Ti=Ei.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),Ei.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),Ei.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new z;for(var t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),Si=P.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(e){h(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var i=this._getIconUrl(e);if(!i){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(n,e),n},_setIconStyles:function(e,t){var i=this.options,n=i[t+"Size"];"number"==typeof n&&(n=[n,n]);var o=N(n),s=N("shadow"===t&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(i.className||""),s&&(e.style.marginLeft=-s.x+"px",e.style.marginTop=-s.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return Te&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),ki=Si.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return ki.imagePath||(ki.imagePath=this._detectIconPath()),(this.options.imagePath||ki.imagePath)+Si.prototype._getIconUrl.call(this,e)},_detectIconPath:function(){var e=tt("div","leaflet-default-icon-path",document.body),t=et(e,"background-image")||et(e,"backgroundImage");return document.body.removeChild(e),t=null===t||0!==t.indexOf("url")?"":t.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Pi=Jt.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new oi(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),at(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&<(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,i=t._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=mt(t._icon),r=i.getPixelBounds(),a=i.getPixelOrigin(),l=j(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!l.contains(s)){var d=N((Math.max(l.max.x,s.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,s.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,s.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,s.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(n);i.panBy(d,{animate:!1}),this._draggable._newPos._add(d),this._draggable._startPos._add(d),ft(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=T(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(S(this._panRequest),this._panRequest=T(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,i=t._shadow,n=mt(t._icon),o=t._map.layerPointToLatLng(n);i&&ft(i,n),t._latlng=o,e.latlng=o,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){S(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Ci=xi.extend({options:{icon:new ki,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){h(this,t),this._latlng=B(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=B(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=e.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,e.title&&(i.title=e.title),"IMG"===i.tagName&&(i.alt=e.alt||"")),at(i,t),e.keyboard&&(i.tabIndex="0"),this._icon=i,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=e.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(at(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),it(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&it(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&ft(this._icon,e),this._shadow&&ft(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(at(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Pi)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Pi(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&ut(this._icon,e),this._shadow&&ut(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Li=xi.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return h(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),Ai=Li.extend({options:{fill:!0,radius:10},initialize:function(e,t){h(this,t),this._latlng=B(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=B(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return Li.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,i=this._clickTolerance(),n=[e
vendor: 2,110 bytes, line 6
6+i,t+i];this._pxBounds=new O(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Mi=Ai.extend({initialize:function(e,i,n){if("number"==typeof i&&(i=t({},n,{radius:i})),h(this,i),this._latlng=B(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new z(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:Li.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===U.distance){var o=Math.PI/180,s=this._mRadius/U.R/o,r=i.project([t+s,e]),a=i.project([t-s,e]),l=r.add(a).divideBy(2),d=i.unproject(l).lat,c=Math.acos((Math.cos(s*o)-Math.sin(t*o)*Math.sin(d*o))/(Math.cos(t*o)*Math.cos(d*o)))/o;(isNaN(c)||0===c)&&(c=s/Math.cos(Math.PI/180*t)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(c)?0:l.x-i.project([d,e-c]).x,this._radiusY=l.y-r.y}else{var u=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(u).x}this._updateBounds()}}),Ii=Li.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){h(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,i,n=1/0,o=null,s=ci,r=0,a=this._parts.length;r<a;r++)for(var l=this._parts[r],d=1,c=l.length;d<c;d++){var u=s(e,t=l[d-1],i=l[d],!0);u<n&&(n=u,o=s(e,t,i))}return o&&(o.distance=Math.sqrt(n)),o}
vendor: 63,865 bytes, line 6
6,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,i,n,o,s,r,a=this._rings[0],l=a.length;if(!l)return null;for(e=0,t=0;e<l-1;e++)t+=a[e].distanceTo(a[e+1])/2;if(0===t)return this._map.layerPointToLatLng(a[0]);for(e=0,n=0;e<l-1;e++)if(o=a[e],s=a[e+1],(n+=i=o.distanceTo(s))>t)return r=(n-t)/i,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=B(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new z,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return ui(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],i=ui(e),n=0,o=e.length;n<o;n++)i?(t[n]=B(e[n]),this._bounds.extend(t[n])):t[n]=this._convertLatLngs(e[n]);return t},_project:function(){var e=new O;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new M(e,e);this._pxBounds=new O([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)])},_projectLatlngs:function(e,t,i){var n,o,s=e[0]instanceof D,r=e.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(e[n]),i.extend(o[n]);t.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(e[n],t,i)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else{var t,i,n,o,s,r,a,l=this._parts;for(t=0,n=0,o=this._rings.length;t<o;t++)for(i=0,s=(a=this._rings[t]).length;i<s-1;i++)(r=ai(a[i],a[i+1],e,i,!0))&&(l[n]=l[n]||[],l[n].push(r[0]),r[1]===a[i+1]&&i!==s-2||(l[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,i=0,n=e.length;i<n;i++)e[i]=si(e[i],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var i,n,o,s,r,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(r=(a=this._parts[i]).length)-1;n<r;o=n++)if((t||0!==n)&&ri(e,a[o],a[n])<=l)return!0;return!1}});Ii._flat=hi;var Ni=Ii.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var e,t,i,n,o,s,r,a,l,d=this._rings[0],c=d.length;if(!c)return null;for(s=r=a=0,e=0,t=c-1;e<c;t=e++)i=d[e],n=d[t],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,a+=(i.y+n.y)*o,s+=3*o;return l=0===s?d[0]:[r/s,a/s],this._map.layerPointToLatLng(l)},_convertLatLngs:function(e){var t=Ii.prototype._convertLatLngs.call(this,e),i=t.length;return i>=2&&t[0]instanceof D&&t[0].equals(t[i-1])&&t.pop(),t},_setLatLngs:function(e){Ii.prototype._setLatLngs.call(this,e),ui(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ui(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,i=new M(t,t);if(e=new O(e.min.subtract(i),e.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=fi(this._rings[o],e,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,i,n,o,s,r,a,l,d=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(l=(t=this._parts[o]).length)-1;s<l;r=s++)i=t[s],n=t[r],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(d=!d);return d||Ii.prototype._containsPoint.call(this,e,!0)}}),Oi=Ti.extend({initialize:function(e,t){h(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,i,n,o=v(e)?e:e.features;if(o){for(t=0,i=o.length;t<i;t++)((n=o[t]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(e))return this;var r=ji(e,s);return r?(r.feature=Ui(e),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(e,r),this.addLayer(r)):this},resetStyle:function(e){return void 0===e?this.eachLayer(this.resetStyle,this):(e.options=t({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer((function(t){this._setLayerStyle(t,e)}),this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function ji(e,t){var i,n,o,s,r="Feature"===e.type?e.geometry:e,a=r?r.coordinates:null,l=[],d=t&&t.pointToLayer,c=t&&t.coordsToLatLng||Fi;if(!a&&!r)return null;switch(r.type){case"Point":return zi(d,e,i=c(a),t);case"MultiPoint":for(o=0,s=a.length;o<s;o++)i=c(a[o]),l.push(zi(d,e,i,t));return new Ti(l);case"LineString":case"MultiLineString":return n=Di(a,"LineString"===r.type?0:1,c),new Ii(n,t);case"Polygon":case"MultiPolygon":return n=Di(a,"Polygon"===r.type?1:2,c),new Ni(n,t);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var u=ji({geometry:r.geometries[o],type:"Feature",properties:e.properties},t);u&&l.push(u)}return new Ti(l);default:throw new Error("Invalid GeoJSON object.")}}function zi(e,t,i,n){return e?e(t,i):new Ci(i,n&&n.markersInheritOptions&&n)}function Fi(e){return new D(e[1],e[0],e[2])}function Di(e,t,i){for(var n,o=[],s=0,r=e.length;s<r;s++)n=t?Di(e[s],t-1,i):(i||Fi)(e[s]),o.push(n);return o}function Bi(e,t){return t="number"==typeof t?t:6,void 0!==e.alt?[d(e.lng,t),d(e.lat,t),d(e.alt,t)]:[d(e.lng,t),d(e.lat,t)]}function Ri(e,t,i,n){for(var o=[],s=0,r=e.length;s<r;s++)o.push(t?Ri(e[s],t-1,i,n):Bi(e[s],n));return!t&&i&&o.push(o[0]),o}function Hi(e,i){return e.feature?t({},e.feature,{geometry:i}):Ui(i)}function Ui(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var Zi={toGeoJSON:function(e){return Hi(this,{type:"Point",coordinates:Bi(this.getLatLng(),e)})}};function $i(e,t){return new Oi(e,t)}Ci.include(Zi),Mi.include(Zi),Ai.include(Zi),Ii.include({toGeoJSON:function(e){var t=!ui(this._latlngs);return Hi(this,{type:(t?"Multi":"")+"LineString",coordinates:Ri(this._latlngs,t?1:0,!1,e)})}}),Ni.include({toGeoJSON:function(e){var t=!ui(this._latlngs),i=t&&!ui(this._latlngs[0]),n=Ri(this._latlngs,i?2:t?1:0,!0,e);return t||(n=[n]),Hi(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Ei.include({toMultiPoint:function(e){var t=[];return this.eachLayer((function(i){t.push(i.toGeoJSON(e).geometry.coordinates)})),Hi(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var i="GeometryCollection"===t,n=[];return this.eachLayer((function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(i)n.push(o.geometry);else{var s=Ui(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}})),i?Hi(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var qi=$i,Vi=xi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,i){this._url=e,this._bounds=F(t),h(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(at(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){it(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&ot(this._image),this},bringToBack:function(){return this._map&&st(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=F(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:tt("img");at(t,"leaflet-image-layer"),this._zoomAnimated&&at(t,"leaflet-zoom-animated"),this.options.className&&at(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onload=n(this.fire,this,"load"),t.onerror=n(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;pt(this._image,i,t)},_reset:function(){var e=this._image,t=new O(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=t.getSize();ft(e,t.min),e.style.width=i.x+"px",e.style.height=i.y+"px"},_updateOpacity:function(){ut(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)}}),Wi=Vi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:tt("video");if(at(t,"leaflet-image-layer"),this._zoomAnimated&&at(t,"leaflet-zoom-animated"),this.options.className&&at(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onloadeddata=n(this.fire,this,"load"),e){for(var i=t.getElementsByTagName("source"),o=[],s=0;s<i.length;s++)o.push(i[s].src);this._url=i.length>0?o:[t.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted;for(var r=0;r<this._url.length;r++){var a=tt("source");a.src=this._url[r],t.appendChild(a)}}}}),Gi=Vi.extend({_initImage:function(){var e=this._image=this._url;at(e,"leaflet-image-layer"),this._zoomAnimated&&at(e,"leaflet-zoom-animated"),this.options.className&&at(e,this.options.className),e.onselectstart=l,e.onmousemove=l}}),Xi=xi.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(e,t){h(this,e),this._source=t},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&ut(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&ut(this._container,1),this.bringToFront()},onRemove:function(e){e._fadeAnimated?(ut(this._container,0),this._removeTimeout=setTimeout(n(it,void 0,this._container),200)):it(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=B(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ot(this._container),this},bringToBack:function(){return this._map&&st(this._container),this},_prepareOpen:function(e,t,i){if(t instanceof xi||(i=t,t=e),t instanceof Ti)for(var n in e._layers){t=e._layers[n];break}if(!i)if(t.getCenter)i=t.getCenter();else{if(!t.getLatLng)throw new Error("Unable to get source layer LatLng.");i=t.getLatLng()}return this._source=t,this.update(),i},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=N(this.options.offset),i=this._getAnchor();this._zoomAnimated?ft(this._container,e.add(i)):t=t.add(e).add(i);var n=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),Yi=Xi.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e.openPopup(this),this},onAdd:function(e){Xi.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Li||this._source.on("preclick",Mt))},onRemove:function(e){Xi.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Li||this._source.off("preclick",Mt))},getEvents:function(){var e=Xi.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this._close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var e="leaflet-popup",t=this._container=tt("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=tt("div",e+"-content-wrapper",t);if(this._contentNode=tt("div",e+"-content",i),Nt(t),It(this._contentNode),Tt(t,"contextmenu",Mt),this._tipContainer=tt("div",e+"-tip-container",t),this._tip=tt("div",e+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=tt("a",e+"-close-button",t);n.href="#close",n.innerHTML="×",Tt(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var i=e.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),t.width=i+1+"px",t.whiteSpace="",t.height="";var n=e.offsetHeight,o=this.options.maxHeight;o&&n>o?(t.height=o+"px",at(e,"leaflet-popup-scrolled")):lt(e,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),i=this._getAnchor();ft(this._container,t.add(i))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var e=this._map,t=parseInt(et(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+t,n=this._containerWidth,o=new M(this._containerLeft,-i-this._containerBottom);o._add(mt(this._container));var s=e.layerPointToContainerPoint(o),r=N(this.options.autoPanPadding),a=N(this.options.autoPanPaddingTopLeft||r),l=N(this.options.autoPanPaddingBottomRight||r),d=e.getSize(),c=0,u=0;s.x+n+l.x>d.x&&(c=s.x+n-d.x+l.x),s.x-c-a.x<0&&(c=s.x-a.x),s.y+i+l.y>d.y&&(u=s.y+i-d.y+l.y),s.y-u-a.y<0&&(u=s.y-a.y),(c||u)&&e.fire("autopanstart").panBy([c,u])}},_onCloseButtonClick:function(e){this._close(),jt(e)},_getAnchor:function(){return N(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});qt.mergeOptions({closePopupOnClick:!0}),qt.include({openPopup:function(e,t,i){return e instanceof Yi||(e=new Yi(i).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),xi.include({bindPopup:function(e,t){return e instanceof Yi?(h(e,t),this._popup=e,e._source=this):(this._popup&&!t||(this._popup=new Yi(t,this)),this._popup.setContent(e)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e,t){return this._popup&&this._map&&(t=this._popup._prepareOpen(this,e,t),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;this._popup&&this._map&&(jt(e),t instanceof Li?this.openPopup(e.layer||e.target,e.latlng):this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Ki=Xi.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){Xi.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){Xi.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=Xi.prototype.getEvents.call(this);return we&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=tt("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(e),a=this.options.direction,l=o.offsetWidth,d=o.offsetHeight,c=N(this.options.offset),u=this._getAnchor();"top"===a?(t=l/2,i=d):"bottom"===a?(t=l/2,i=0):"center"===a?(t=l/2,i=d/2):"right"===a?(t=0,i=d/2):"left"===a?(t=l,i=d/2):r.x<s.x?(a="right",t=0,i=d/2):(a="left",t=l+2*(c.x+u.x),i=d/2),e=e.subtract(N(t,i,!0)).add(c).add(u),lt(o,"leaflet-tooltip-right"),lt(o,"leaflet-tooltip-left"),lt(o,"leaflet-tooltip-top"),lt(o,"leaflet-tooltip-bottom"),at(o,"leaflet-tooltip-"+a),ft(o,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&ut(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return N(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});qt.include({openTooltip:function(e,t,i){return e instanceof Ki||(e=new Ki(i).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:this.addLayer(e)},closeTooltip:function(e){return e&&this.removeLayer(e),this}}),xi.include({bindTooltip:function(e,t){return e instanceof Ki?(h(e,t),this._tooltip=e,e._source=this):(this._tooltip&&!t||(this._tooltip=new Ki(t,this)),this._tooltip.setContent(e)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),we&&(i.click=this._openTooltip)),this[t](i),this._tooltipHandlersAdded=!e}},openTooltip:function(e,t){return this._tooltip&&this._map&&(t=this._tooltip._prepareOpen(this,e,t),this._map.openTooltip(this._tooltip,t),this._tooltip.options.interactive&&this._tooltip._container&&(at(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(lt(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(e){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(e)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_openTooltip:function(e){var t=e.layer||e.target;this._tooltip&&this._map&&this.openTooltip(t,this._tooltip.options.sticky?e.latlng:void 0)},_moveTooltip:function(e){var t,i,n=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),i=this._map.containerPointToLayerPoint(t),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var Ji=Si.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),i=this.options;if(i.html instanceof Element?(nt(t),t.appendChild(i.html)):t.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=N(i.bgPos);t.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});Si.Default=ki;var Qi=xi.extend({options:{tileSize:256,opacity:1,updateWhenIdle:ve,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){h(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),it(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ot(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(st(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=r(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof M?e:new M(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,i=this.getPane().children,n=-e(-1/0,1/0),o=0,s=i.length;o<s;o++)t=i[o].style.zIndex,i[o]!==this._container&&t&&(n=e(n,+t));isFinite(n)&&(this.options.zIndex=n+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!J){ut(this._container,this.options.opacity);var e=+new Date,t=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(e-o.loaded)/200);ut(o.el,s),s<1?t=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),t&&(S(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=tt("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===e?(this._levels[i].el.style.zIndex=t-Math.abs(e-i),this._onUpdateLevel(i)):(it(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[e],o=this._map;return n||((n=this._levels[e]={}).el=tt("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=t,n.origin=o.project(o.unproject(o.getPixelOrigin()),e).round(),n.zoom=e,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var e,t,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var n=t.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)it(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,i,n){var o=Math.floor(e/2),s=Math.floor(t/2),r=i-1,a=new M(+o,+s);a.z=+r;var l=this._tileCoordsToKey(a),d=this._tiles[l];return d&&d.active?(d.retain=!0,!0):(d&&d.loaded&&(d.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(e,t,i,n){for(var o=2*e;o<2*e+2;o++)for(var s=2*t;s<2*t+2;s++){var r=new M(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),l=this._tiles[a];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(o,s,i+1,n))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,i,n){var o=Math.round(t);o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(e),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var i in this._levels)this._setZoomTransform(this._levels[i],e,t)},_setZoomTransform:function(e,t,i){var n=this._map.getZoomScale(i,e.zoom),o=e.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(t,i)).round();me?pt(e.el,o,n):ft(e.el,o)},_resetGrid:function(){var e=this._map,t=e.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],n).x/i.x),Math.ceil(e.project([0,t.wrapLng[1]],n).x/i.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],n).y/i.x),Math.ceil(e.project([t.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,i=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),n=t.getZoomScale(i,this._tileZoom),o=t.project(e,this._tileZoom).floor(),s=t.getSize().divideBy(2*n);return new O(o.subtract(s),o.add(s))},_update:function(e){var t=this._map;if(t){var i=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(e),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,l=new O(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var d in this._tiles){var c=this._tiles[d].coords;c.z===this._tileZoom&&l.contains(new M(c.x,c.y))||(this._tiles[d].current=!1)}if(Math.abs(i-this._tileZoom)>1)this._setView(e,i);else{for(var u=o.min.y;u<=o.max.y;u++)for(var h=o.min.x;h<=o.max.x;h++){var p=new M(h,u);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:r.push(p)}}if(r.sort((function(e,t){return e.distanceTo(s)-t.distanceTo(s)})),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;h<r.length;h++)this._addTile(r[h],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var i=this._globalTileRange;if(!t.wrapLng&&(e.x<i.min.x||e.x>i.max.x)||!t.wrapLat&&(e.y<i.min.y||e.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(e);return F(this.options.bounds).overlaps(n)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,i=this.getTileSize(),n=e.scaleBy(i),o=n.add(i);return[t.unproject(n,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),i=new z(t[0],t[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),i=new M(+t[0],+t[1]);return i.z=+t[2],i},_removeTile:function(e){var t=this._tiles[e];t&&(it(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){at(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=l,e.onmousemove=l,J&&this.options.opacity<1&&ut(e,this.options.opacity),te&&!ie&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var i=this._getTilePos(e),o=this._tileCoordsToKey(e),s=this.createTile(this._wrapCoords(e),n(this._tileReady,this,e));this._initTile(s),this.createTile.length<2&&T(n(this._tileReady,this,e,null,s)),ft(s,i),this._tiles[o]={el:s,coords:e,current:!0},t.appendChild(s),this.fire("tileloadstart",{tile:s,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var o=this._tileCoordsToKey(e);(i=this._tiles[o])&&(i.loaded=+new Date,this._map._fadeAnimated?(ut(i.el,0),S(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(at(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),J||!this._map._fadeAnimated?T(this._pruneTiles,this):setTimeout(n(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new M(this._wrapX?a(e.x,this._wrapX):e.x,this._wrapY?a(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new O(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),en=Qi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,(t=h(this,t)).detectRetina&&Te&&t.maxZoom>0&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),te||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var i=document.createElement("img");return Tt(i,"load",n(this._tileOnLoad,this,t,i)),Tt(i,"error",n(this._tileOnError,this,t,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(e),i},getTileUrl:function(e){var i={r:Te?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-e.y;this.options.tms&&(i.y=n),i["-y"]=n}return m(this._url,t(i,this.options))},_tileOnLoad:function(e,t){J?setTimeout(n(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,i){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(i,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=l,t.onerror=l,t.complete||(t.src=y,it(t),delete this._tiles[e]))},_removeTile:function(e){var t=this._tiles[e];if(t)return oe||t.el.setAttribute("src",y),Qi.prototype._removeTile.call(this,e)},_tileReady:function(e,t,i){if(this._map&&(!i||i.getAttribute("src")!==y))return Qi.prototype._tileReady.call(this,e,t,i)}});function tn(e,t){return new en(e,t)}var nn=en.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,i){this._url=e;var n=t({},this.defaultWmsParams);for(var o in i)o in this.options||(n[o]=i[o]);var s=(i=h(this,i)).detectRetina&&Te?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,en.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),i=this._crs,n=j(i.project(t[0]),i.project(t[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===bi?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=en.prototype.getTileUrl.call(this,e);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(e,i){return t(this.wmsParams,e),i||this.redraw(),this}});en.WMS=nn,tn.wms=function(e,t){return new nn(e,t)};var on=xi.extend({options:{padding:.1,tolerance:0},initialize:function(e){h(this,e),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&at(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var i=this._map.getZoomScale(t,this._zoom),n=mt(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,t),r=this._map.project(e,t).subtract(s),a=o.multiplyBy(-i).add(n).add(o).subtract(r);me?pt(this._container,a,i):ft(this._container,a)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),i=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new O(i,i.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),sn=on.extend({getEvents:function(){var e=on.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){on.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Tt(e,"mousemove",this._onMouseMove,this),Tt(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Tt(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,it(this._container),kt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){on.prototype._update.call(this);var e=this._bounds,t=this._container,i=e.getSize(),n=Te?2:1;ft(t,e.min),t.width=n*i.x,t.height=n*i.y,t.style.width=i.x+"px",t.style.height=i.y+"px",Te&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){on.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[s(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,i=t.next,n=t.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete e._order,delete this._layers[s(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,i,n=e.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(t=Number(n[i]),isNaN(t))return;o.push(t)}e.options._dashArray=o}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||T(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new O,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var i=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)e=n.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var i,n,o,s,r=e._parts,a=r.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],l[n?"lineTo":"moveTo"](s.x,s.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,i=this._ctx,n=Math.max(Math.round(e._radius),1),o=(Math.max(Math.round(e._radiusY),1)||n)/n;1!==o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(t.x,t.y/o,n,0,2*Math.PI,!1),1!==o&&i.restore(),this._fillStroke(i,e)}},_fillStroke:function(e,t){var i=t.options;i.fill&&(e.globalAlpha=i.fillOpacity,e.fillStyle=i.fillColor||i.color,e.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=i.opacity,e.lineWidth=i.weight,e.strokeStyle=i.color,e.lineCap=i.lineCap,e.lineJoin=i.lineJoin,e.stroke())},_onClick:function(e){for(var t,i,n=this._map.mouseEventToLayerPoint(e),o=this._drawFirst;o;o=o.next)(t=o.layer).options.interactive&&t._containsPoint(n)&&("click"!==e.type&&"preclick"===e.type||!this._map._draggableMoved(t))&&(i=t);i&&(Rt(e),this._fireEvent([i],e))},_onMouseMove:function(e){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(lt(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var i,o,s=this._drawFirst;s;s=s.next)(i=s.layer).options.interactive&&i._containsPoint(t)&&(o=i);o!==this._hoveredLayer&&(this._handleMouseOut(e),o&&(at(this._container,"leaflet-interactive"),this._fireEvent([o],e,"mouseover"),this._hoveredLayer=o)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],e),this._mouseHoverThrottled=!0,setTimeout(n((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(e,t,i){this._map._fireDOMEvent(t,i||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var i=t.next,n=t.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e))}},_bringToBack:function(e){var t=e._order;if(t){var i=t.next,n=t.prev;n&&(n.next=i,i?i.prev=n:n&&(this._drawLast=n),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e))}}});function rn(e){return ke?new sn(e):null}var an=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),ln={_initContainer:function(){this._container=tt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(on.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=an("shape");at(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=an("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;it(t),e.removeInteractiveTarget(t),delete this._layers[s(e)]},_updateStyle:function(e){var t=e._stroke,i=e._fill,n=e.options,o=e._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(t||(t=e._stroke=an("stroke")),o.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=v(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(o.removeChild(t),e._stroke=null),n.fill?(i||(i=e._fill=an("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),i=Math.round(e._radius),n=Math.round(e._radiusY||i);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+i+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){ot(e._container)},_bringToBack:function(e){st(e._container)}},dn=Ce?an:G,cn=on.extend({getEvents:function(){var e=on.prototype.getEvents.call(this);return e.zoomstart=this._onZoomStart,e},_initContainer:function(){this._container=dn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=dn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){it(this._container),kt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){on.prototype._update.call(this);var e=this._bounds,t=e.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,i.setAttribute("width",t.x),i.setAttribute("height",t.y)),ft(i,e.min),i.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=dn("path");e.options.className&&at(t,e.options.className),e.options.interactive&&at(t,"leaflet-interactive"),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){it(e._path),e.removeInteractiveTarget(e._path),delete this._layers[s(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,i=e.options;t&&(i.stroke?(t.setAttribute("stroke",i.color),t.setAttribute("stroke-opacity",i.opacity),t.setAttribute("stroke-width",i.weight),t.setAttribute("stroke-linecap",i.lineCap),t.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?t.setAttribute("stroke-dasharray",i.dashArray):t.removeAttribute("stroke-dasharray"),i.dashOffset?t.setAttribute("stroke-dashoffset",i.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),i.fill?(t.setAttribute("fill",i.fillColor||i.color),t.setAttribute("fill-opacity",i.fillOpacity),t.setAttribute("fill-rule",i.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,X(e._parts,t))},_updateCircle:function(e){var t=e._point,i=Math.max(Math.round(e._radius),1),n="a"+i+","+(Math.max(Math.round(e._radiusY),1)||i)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-i)+","+t.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){ot(e._path)},_bringToBack:function(e){st(e._path)}});function un(e){return Pe||Ce?new cn(e):null}Ce&&cn.include(ln),qt.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&rn(e)||un(e)}});var hn=Ni.extend({initialize:function(e,t){Ni.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=F(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});cn.create=dn,cn.pointsToPath=X,Oi.geometryToLayer=ji,Oi.coordsToLatLng=Fi,Oi.coordsToLatLngs=Di,Oi.latLngToCoords=Bi,Oi.latLngsToCoords=Ri,Oi.getFeature=Hi,Oi.asFeature=Ui,qt.mergeOptions({boxZoom:!0});var pn=Jt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Tt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){kt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){it(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),Ue(),gt(),this._startPoint=this._map.mouseEventToContainerPoint(e),Tt(document,{contextmenu:jt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=tt("div","leaflet-zoom-box",this._container),at(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new O(this._point,this._startPoint),i=t.getSize();ft(this._box,t.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(it(this._box),lt(this._container,"leaflet-crosshair")),Ze(),yt(),kt(document,{contextmenu:jt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(n(this._resetState,this),0);var t=new z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}});qt.addInitHook("addHandler","boxZoom",pn),qt.mergeOptions({doubleClickZoom:!0});var fn=Jt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,i=t.getZoom(),n=t.options.zoomDelta,o=e.originalEvent.shiftKey?i-n:i+n;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});qt.addInitHook("addHandler","doubleClickZoom",fn),qt.mergeOptions({dragging:!0,inertia:!ie,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mn=Jt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new oi(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}at(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){lt(this._map._container,"leaflet-grab"),lt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=F(this._map.options.maxBounds);this._offsetLimit=j(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-t+i)%e+t-i,s=(n+t+i)%e-t-i,r=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(e){var t=this._map,i=t.options,n=!i.inertia||this._times.length<2;if(t.fire("dragend",e),n)t.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,a=o.multiplyBy(r/s),l=a.distanceTo([0,0]),d=Math.min(i.inertiaMaxSpeed,l),c=a.multiplyBy(d/l),u=d/(i.inertiaDeceleration*r),h=c.multiplyBy(-u/2).round();h.x||h.y?(h=t._limitOffset(h,t.options.maxBounds),T((function(){t.panBy(h,{duration:u,easeLinearity:r,noMoveStart:!0,animate:!0})}))):t.fire("moveend")}}});qt.addInitHook("addHandler","dragging",mn),qt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vn=Jt.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),Tt(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),kt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,i=e.scrollTop||t.scrollTop,n=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,i,n=this._panKeys={},o=this.keyCodes;for(t=0,i=o.left.length;t<i;t++)n[o.left[t]]=[-1*e,0];for(t=0,i=o.right.length;t<i;t++)n[o.right[t]]=[e,0];for(t=0,i=o.down.length;t<i;t++)n[o.down[t]]=[0,e];for(t=0,i=o.up.length;t<i;t++)n[o.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,i,n=this._zoomKeys={},o=this.keyCodes;for(t=0,i=o.zoomIn.length;t<i;t++)n[o.zoomIn[t]]=e;for(t=0,i=o.zoomOut.length;t<i;t++)n[o.zoomOut[t]]=-e},_addHooks:function(){Tt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){kt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,i=e.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(t=this._panKeys[i],e.shiftKey&&(t=N(t).multiplyBy(3)),n.panBy(t),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}jt(e)}}});qt.addInitHook("addHandler","keyboard",vn),qt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var gn=Jt.extend({addHooks:function(){Tt(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){kt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=Dt(e),i=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var o=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(n(this._performZoom,this),o),jt(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),i=this._map.options.zoomSnap||0;e._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=i?Math.ceil(o/i)*i:o,r=e._limitZoom(t+(this._delta>0?s:-s))-t;this._delta=0,this._startTime=null,r&&("center"===e.options.scrollWheelZoom?e.setZoom(t+r):e.setZoomAround(this._lastMousePos,t+r))}});qt.addInitHook("addHandler","scrollWheelZoom",gn),qt.mergeOptions({tap:!0,tapTolerance:15});var yn=Jt.extend({addHooks:function(){Tt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){kt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(Ot(e),this._fireClick=!0,e.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],i=t.target;this._startPos=this._newPos=new M(t.clientX,t.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&at(i,"leaflet-active"),this._holdTimeout=setTimeout(n((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))}),this),1e3),this._simulateEvent("mousedown",t),Tt(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),kt(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],i=t.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&<(i,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new M(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var i=document.createEvent("MouseEvents");i._simulated=!0,t.target._simulatedClick=!0,i.initMouseEvent(e,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(i)}});!we||be&&!le||qt.addInitHook("addHandler","tap",yn),qt.mergeOptions({touchZoom:we&&!ie,bounceAtZoomLimits:!0});var _n=Jt.extend({addHooks:function(){at(this._map._container,"leaflet-touch-zoom"),Tt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){lt(this._map._container,"leaflet-touch-zoom"),kt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),Tt(document,"touchmove",this._onTouchMove,this),Tt(document,"touchend",this._onTouchEnd,this),Ot(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,i=t.mouseEventToContainerPoint(e.touches[0]),o=t.mouseEventToContainerPoint(e.touches[1]),s=i.distanceTo(o)/this._startDist;if(this._zoom=t.getScaleZoom(s,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&s<1||this._zoom>t.getMaxZoom()&&s>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var a=n(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=T(a,this,!0),Ot(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),kt(document,"touchmove",this._onTouchMove,this),kt(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});qt.addInitHook("addHandler","touchZoom",_n),qt.BoxZoom=pn,qt.DoubleClickZoom=fn,qt.Drag=mn,qt.Keyboard=vn,qt.ScrollWheelZoom=gn,qt.Tap=yn,qt.TouchZoom=_n,e.version="1.7.1",e.Control=Vt,e.control=Wt,e.Browser=Ae,e.Evented=A,e.Mixin=ei,e.Util=k,e.Class=P,e.Handler=Jt,e.extend=t,e.bind=n,e.stamp=s,e.setOptions=h,e.DomEvent=Zt,e.DomUtil=Et,e.PosAnimation=$t,e.Draggable=oi,e.LineUtil=pi,e.PolyUtil=mi,e.Point=M,e.point=N,e.Bounds=O,e.bounds=j,e.Transformation=$,e.transformation=q,e.Projection=yi,e.LatLng=D,e.latLng=B,e.LatLngBounds=z,e.latLngBounds=F,e.CRS=H,e.GeoJSON=Oi,e.geoJSON=$i,e.geoJson=qi,e.Layer=xi,e.LayerGroup=Ei,e.layerGroup=function(e,t){return new Ei(e,t)},e.FeatureGroup=Ti,e.featureGroup=function(e,t){return new Ti(e,t)},e.ImageOverlay=Vi,e.imageOverlay=function(e,t,i){return new Vi(e,t,i)},e.VideoOverlay=Wi,e.videoOverlay=function(e,t,i){return new Wi(e,t,i)},e.SVGOverlay=Gi,e.svgOverlay=function(e,t,i){return new Gi(e,t,i)},e.DivOverlay=Xi,e.Popup=Yi,e.popup=function(e,t){return new Yi(e,t)},e.Tooltip=Ki,e.tooltip=function(e,t){return new Ki(e,t)},e.Icon=Si,e.icon=function(e){return new Si(e)},e.DivIcon=Ji,e.divIcon=function(e){return new Ji(e)},e.Marker=Ci,e.marker=function(e,t){return new Ci(e,t)},e.TileLayer=en,e.tileLayer=tn,e.GridLayer=Qi,e.gridLayer=function(e){return new Qi(e)},e.SVG=cn,e.svg=un,e.Renderer=on,e.Canvas=sn,e.canvas=rn,e.Path=Li,e.CircleMarker=Ai,e.circleMarker=function(e,t){return new Ai(e,t)},e.Circle=Mi,e.circle=function(e,t,i){return new Mi(e,t,i)},e.Polyline=Ii,e.polyline=function(e,t){return new Ii(e,t)},e.Polygon=Ni,e.polygon=function(e,t){return new Ni(e,t)},e.Rectangle=hn,e.rectangle=function(e,t){return new hn(e,t)},e.Map=qt,e.map=function(e,t){return new qt(e,t)};var bn=window.L;e.noConflict=function(){return window.L=bn,this},window.L=e}(t)},function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"c",(function(){return d})),i.d(t,"d",(function(){return c})),i.d(t,"e",(function(){return u})),i.d(t,"b",(function(){return h}));var n=i(0),o=i.n(n),s=i(1),r=i(2),a=o()(document),l="coremedia.blueprint.basic.nodeAppended";function d(e){var t;t=window.location.pathname.match(/^\/dynamic\//)||window.location.pathname.match(/^\/blueprint\/servlet\/dynamic\//)?o()('input
6:hidden[name="nextUrl"]').val()||"":(t=window.location.href).replace(/^(http|https):(.+)/,"$2");Object(s.d)(e,"a[data-href]").each((function(){var e=o()(this);e.attr("href",e.data("href").replace(/\$nextUrl\$/g,encodeURIComponent(t)))}))}function c(e,t,i){i?(Object(r.e)(e),e.replaceWith(t)):(e.children().each((function(){Object(r.e)(this)})),e.empty().append(t)),Object(r.d)(t),a.trigger(l,[t])}function u(e,t,i,n){if(t=o.a.extend({url:void 0,params:{},method:"GET"},t),void 0===i&&(i=!0),void 0!==t.url){var r=(e.data("cm-fragment-request-counter")||0)+1;e.data("cm-fragment-request-counter",r);var a=function(){return!o.a.contains(document.documentElement,e[0])||r!==e.data("cm-fragment-request-counter")};e.addClass("cm-fragment--loading"),Object(s.b)({type:t.method,url:t.url,data:t.params,dataType:"text"}).done((function(t,s,r){if(!a()){var l=void 0;200===r.status&&(l=o()(t),c(e,l,i)),n&&n(r,l)}})).fail((function(e){n&&n(e)})).always((function(){a()||e.removeClass("cm-fragment--loading")}))}}function h(e,t,i){var n=o.a.extend({url:void 0},e.data("cm-refreshable-fragment"));u(e,{url:n.url,params:i},!0,t)}},,function(e,t,i){"use strict";i.d(t,"a",(function(){return f})),i.d(t,"b",(function(){return m}));var n=i(5),o=i.n(n),s=i(16),r=i.n(s),a=i(0),l=i.n(a),d=i(1),c=i(4),u=i(8),h=l()(window);function p(e){return e.baseUrl&&(!e.fragmentContainer||!1===e.fragmentContainer.global||!0===e.fragmentContainer.global&&e.fragmentContainer.selector)}var f={baseUrl:void 0,validParameters:[],modifiedParametersHeaderPrefix:void 0,fragmentContainer:{selector:void 0,global:!1}},m=function(){function e(t,i){o()(this,e),this._element=t,this._config=i,this._lastRequestParam
6s=void 0,this._windowListener=void 0,this._disabled=!1,this._init()}return r()(e,[{key:"disable",value:function(){this._disabled=!0}},{key:"enable",value:function(){this._disabled=!1}},{key:"_getFragmentContainer",value:function(){return this._config.fragmentContainer.selector?this._config.fragmentContainer.global?l.a.find(this._config.fragmentContainer.selector):this._handler.find(this._config.fragmentContainer.selector):this._element}},{key:"_requestParamsChanged",value:function(e){if(!this._lastRequestParams&&e||this._lastRequestParams&&!e)return!0;var t;for(t in this._lastRequestParams)if(this._lastRequestParams.hasOwnProperty(t)&&this._lastRequestParams[t]!==e[t])return!0;for(t in e)if(e.hasOwnProperty(t)&&this._lastRequestParams[t]!==e[t])return!0;return!1}},{key:"_changeRef",value:function(e){if(!this._disabled){var t=this._getFragmentContainer(),i=t.find(":data(hash-based-fragment-handler-state)");i.each((function(){l()(this).data("hash-based-fragment-handler-state").instance.disable()}));var n={url:this._config.baseUrl,params:e},o=this;Object(u.e)(t,n,!1,(function(t){if(200===t.status){if(o._config.modifiedParametersHeaderPrefix){var n=!1;if(l.a.each(o._config.validParameters,(function(i,s){var r=t.getResponseHeader(o._config.modifiedParametersHeaderPrefix+s);r&&(n=!0,e[s]=r)}
6)),n){o._lastRequestParams=e;var s="#"+c.d(e);history.replaceState&&history.replaceState({},"",s)}}}else i.each((function(){l()(this).data("hash-based-fragment-handler-state").instance.enable()}))}))}}},{key:"_handleHashChange",value:function(e){var t=c.e(e.replace(/^#/,"")||"",this._config.validParameters);this._requestParamsChanged(t)&&(this._lastRequestParams=t,this._changeRef(t))}},{key:"_init",value:function(){if(!p(this._config))throw"Invalid handler configuration";var e=window.location.hash;this._handleHashChange(e);var t=this;this._windowListener=function(){t._handleHashChange(window.location.hash)},h.on("hashchange",this._windowListener)}},{key:"destroy",value:function(){p(this._config)?this._windowListener&&(h.off("hashchange",this._windowListener),this._windowListener=void 0):d.f("Invalid configuration:",this._config)}}]),e}()},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i(5),o=i.n(n),s=i(4),r={requestParams:[]},a=function e(t,i){o()(this,e),t.attr("href","#"+s.d(i.requestParams))}},function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"b",(function(){return d}));var n=i(5),o=i.n(n),s=i(4),r=i(0),a=i.n(r),l={},d=function e(t){o()(this,e),t.on("submit",(function(e){e.preventDefault();var i={},n=t.serializeArray();a.a.each(n,(function(e,t){i[t.name]=t.value})),window.location.hash="#"+s.d(i)}))}},,,,function(e,t){function i(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)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}},function(e,t){e.exports=function(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},function(e,t,i){(function(t){t.coremedia||(t.coremedia={}),t.coremedia.blueprint||(t.coremedia.blueprint={}),e.exports=t.coremedia.blueprint.basic=i(47)}).call(this,i(9))},,,function(e,t,i){e.exports=i(39)},,,,,,function(e,t,i){i(28),i(19),i(35),i(36),i(54),i(57),i(53),i(56),i(52),e.exports=i(48)},function(e,t,i){},,,,,,,function(e,t,i){"use strict";i.r(t);var n=i(0),o=i.n(n),s=i(15);o()((function(){o()((function(){Object(s.d)(document)}))}))},function(e,t,i){"use strict";i.r(t);var n=i(1),o=i(0),s=i.n(o),r=i(2),a=i(8),l=i(10),d=i(11),c=i(12);s()((function(){var e=s()(document);Object(r.a)(a.c),Object(r.b)(void 0,"cm-fragment",(function(t,i){n.b({url:i,dataType:"text"}).done((function(i){var n=s()(i);Object(r.e)(t),t.replaceWith(n),Object(r.d)(n),e.trigger(a.a,[n])}))})),Object(r.b)(l.a,"hash-based-fragment-handler",(function(e,t,i){try{i.instance=new l.b(e,t)}catch(e){n.f(e)}}),(function(e,t,i){i.instance&&i.instance.destroy()})),Object(r.b)(d.a,"hash-based-fragment-link",(function(e,t){new d.b(e,t)})),Object(r.b)(c.a,"hash-based-fragment-form",(function(e,t){new c.b(e,t)}))}))},function(e,t,i){var n,o,s,r;"undefined"!=typeof window&&window,s={id:"ev-emitter/ev-emitter",exports:{},loaded:!1},n="function"==typeof(o=function(){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],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?o.call(s.exports,i,s.exports,s):o,s.loaded=!0,void 0!==n||(n=s.exports), 7/*! 8 * imagesLoaded v4.1.4 9 * JavaScript is all like "You images are done yet or what?" 10 * MIT License 11 */ 12function(i,o){"use strict";void 0===(r=function(e){return function(e,t){var i=e.jQuery,n=e.console;function o(e,t){for(var i in t)e[i]=t[i];return e}var s=Array.prototype.slice;function r(e,t,a){if(!(this instanceof r))return new r(e,t,a);var l,d=e;("string"==typeof e&&(d=document.querySelectorAll(e)),d)?(this.elements=(l=d,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?s.call(l):[l]),this.options=o({},this.options),"function"==typeof t?a=t:o(this.options,t),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(d||e))}r.prototype=Object.create(t.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEac
12h(this.addElementImages,this)},r.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&a[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var a={1:!0,9:!0,11:!0};function l(e){this.img=e}function d(e,t){this.url=e,this.element=t,this.img=new Image}return r.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},r.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},r.prototype.addBackground=function(e,t){var i=new d(e,t);this.images.push(i)},r.prototype.check=function(){var e=this;function t(t,i,n){setTimeout((function(){e.progress(t,i,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},r.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,e,t)},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},l.prototype=Object.create(t.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(l.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((i=t).fn.imagesLoaded=function(e,t){return new r(this,e,t).jqDeferred.promise(i(this))})},r.makeJQueryPlugin(),r}(i,e)}.apply(t,[n]))||(e.exports=r)}("undefined"!=typeof window?window:this)},function(e,t,i){var n,o,s;!function(r){"use strict";o=[i(0)],void 0===(s="function"==typeof(n=function(e){var t=window.Slick||{};(i=0,t=function(t,n){var o,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(t),appendDots:e(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(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},s.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,
12sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(t),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,o=e(t).data("slick")||{},s.options=e.extend({},s.defaults,n,o),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.keyHandler=e.proxy(s.keyHandler,s),s.instanceUid=i++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.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 o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?e(t).appendTo(o.$slideTrack):n?e(t).insertBefore(o.$slides.eq(i)):e(t).insertAfter(o.$slides.eq(i)):!0===n?e(t).prependTo(o.$slideTrack):e(t).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),o.$slidesCache=o.$slides,o.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={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(t=-t),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:t},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:t},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),e({animStart:o.currentLeft}).animate({animStart:t},{duration:o.options.speed,easing:o.options.easing,step:function(e){e=Math.ceil(e),!1===o.options.vertical?(n[o.animType]="translate("+e+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+e+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),t=Math.ceil(t),!1===o.options.vertical?n[o.animType]="translate3d("+t+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+t+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout((function(){o.disableTransition(),i.call()}),o.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,o,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(s.length/r),e=0;e<o;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var d=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var c=e*r+(t*a.options.slidesPerRow+i);s.get(c)&&d.appendChild(s.get(c))}l.appendChild(d)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var n,o,s,r=this,a=!1,l=r.$slider.width(),d=window.innerWidth||e(window).width();if("window"===r.respondTo?s=d:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(d,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in o=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[n]&&(o=r.breakpoints[n]):s>r.breakpoints[n]&&(o=r.breakpoints[n]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unsl
12ick(o):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[o]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[o]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),a=o),t||!1===a||r.$slider.trigger("breakpoint",[r,a])}},t.prototype.changeSlide=function(t,i){var n,o,s=this,r=e(t.currentTarget);switch(r.is("a")&&t.preventDefault(),r.is("li")||(r=r.closest("li")),n=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":o=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,i);break;case"next":o=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,i);break;case"index":var a=0===t.data.index?0:t.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.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.
12slick",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,o,s=this,r=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,o=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?o=-1.5:1===s.options.slidesToShow&&(o=-2)),r=i*s.options.slidesToShow*o),s.slideCount%s.options.slidesToScroll!=0&&e+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(e>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(e-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(e-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*i*-1))):e+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(e+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(e+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),t=!1===s.options.vertical?e*s.slideWidth*-1+s.slideOffset:e*i*-1+r,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow),t=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow+1),t=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(s.$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,o=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)o.push(i),i=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return o},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(o,s){if(s.offsetLeft-i+e(s).outerWidth()/2>-1*n.swipeLeft)return t=s,!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:
12parseInt(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 o=n.indexOf(i);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==o&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+o})})),t.$dots.attr("role","tablist").find("li").each((function(o){var s=n[o];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+o,"aria-controls":"slick-slide"+t.instanceUid+s,"aria-label":o+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=t.currentSlide,s=o+t.options.slidesToShow;o<s;o++)t.$slides.eq(o).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"}
12,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(){var t,i,n,o=this;function s(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")||o.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){t.animate({opacity:0}
12,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")})),o.$slider.trigger("lazyLoaded",[o,t,i])}))},r.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,t,i])},r.src=i}))}if(!0===o.options.centerMode?!0===o.options.infinite?n=(i=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(i=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),n=o.options.slidesToShow/2+1+2+o.currentSlide):(i=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,n=Math.ceil(i+o.options.slidesToShow),!0===o.options.fade&&(i>0&&i--,n<=o.slideCount&&n++)),t=o.$slider.find(".slick-slide").slice(i,n),"anticipated"===o.options.lazyLoad)for(var r=i-1,a=n,l=o.$slider.find(".slick-slide"),d=0;d<o.options.slidesToScroll;d++)r<0&&(r=o.slideCount-1),t=(t=t.add(l.eq(r))).add(l.eq(a)),r--,a++;s(t),o.slideCount<=o.options.slidesToShow?s(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?s(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&s(o.$slider.find(".slick-cloned").slice(-1*o.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,o,s,r,a=this,l=e("img[data-lazy]",a.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),o=i.attr("data-srcset"),s=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){o&&(i.attr("srcset",o),s&&i.attr("sizes",s)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,n]),a.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout((function(){a.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,n]),a.progressiveLazyLoad())},r.src=n):a.$slider.trigger("allImagesLoaded",[a])},t.prototype.refresh=function(t){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),e.extend(o,o.initials,{currentSlide:i}),o.init(),t||o.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,n,o=this,s=o.options.responsive||null;if("array"===e.type(s)&&s.length){for(t in o.respondTo=o.options.respondTo||"window",s)if(n=o.breakpoints.length-1,s.hasOwnProperty(t)){for(i=s[t].breakpoint;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=s[t].settings}o.breakpoints.sort((function(e,t){return o.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.o
12ptions.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,o={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",o[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(o):(o={},!1===n.cssTransitions?(o[n.animType]="translate("+t+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+t+", "+i+", 0px)",n.$slideTrack.css(o)))},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,o){t=i.slideWidth*n*-1,!0===i.options.rtl?e(o).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}
12):e(o).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,o,s,r=this,a=!1;if("object"===e.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[n]=o;else if("multiple"===s)e.each(n,(function(e,t){r.options[e]=t}));else if("responsive"===s)for(i in o)if("array"!==e.type(r.options.responsive))r.options.responsive=[o[i]];else{for(t=r.options.responsive.length-1;t>=0;)r.options.responsive[t].breakpoint===o[i].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(o[i])}a&&(r.unload(),r.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,o,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(e).addClass("slick-current"),!0===s.options.centerMode){var r=s.options.slidesToShow%2==0?1:0;t=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(e>=t&&e<=s.slideCount-1-t?s.$slides.slice(e-t+r,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+e,i.slice(n-t+1+r,n+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=s.slideCount%s.options.slidesToShow,n=!0===s.options.infinite?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-e<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,n,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,t=o.slideCount;t>o.slideCount-n;t-=1)i=t-1,e(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(t=0;t<n+o.slideCount;t+=1)i=t,e(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$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"),o=parseInt(n.attr("data-slick-index"));o||(o=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(o,!1,!0):i.slideHandler(o)},t.prototype.slideHandler=function(e,t,i){var n,o,s,r,a,l,d=this;if(t=t||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===e))if(!1===t&&d.asNavFor(e),n=e,a=d.getLeft(n),r=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?r:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(e<0||e>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(n=d.currentSlide,!0!==i?d.animateSlide(r,(function(){d.postSlide(n)})):d.postSlide(n));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(e<0||e>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(n=d.currentSlide,!0!==i?d.animateSlide(r,(function(){d.postSlide(n)})):d.postSlide(n));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),o=n<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+n:n>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:n-d.slideCount:n,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,o]),s=d.currentSlide,d.currentSlide=o,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(l=(l=d.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==i?(d.fadeSlideOut(s),d.fadeSlide(o,(function(){d.postSlide(o)}))):d.postSlide(o),void d.animateHeight();!0!==i?d.animateSlide(a,(function(){d.postSlide(o)})):d.postSlide(o)}},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,o=this;return e=o.touchObject.startX-o.touchObject.curX,t=o.touchObject.startY-o.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===o.options.rtl?"left":"right":n>=135&&n<=225?!1===o.options.rtl?"right":"left":!0===o.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("mou
vendor: 20,224 bytes, lines 12-24
12se")))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,o,s,r,a=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),n=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(n=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+n*o:a.swipeLeft=t+n*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=t+n*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.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,o=arguments[0],s=Array.prototype.slice.call(arguments,1),r=n.length;for(e=0;e<r;e++)if("object"==typeof o||void 0===o?n[e].slick=new t(n[e],o):i=n[e].slick[o].apply(n[e].slick,s),void 0!==i)return i;return n};var i})?n.apply(t,o):n)||(e.exports=s)}()},function(e,t,i){(function(e,t){ 13/*! 14 * MediaElement.js 15 * http://www.mediaelementjs.com/ 16 * 17 * Wrapper that mimics native HTML5 MediaElement (audio and video) 18 * using a variety of technologies (pure JavaScript, Flash, iframe) 19 * 20 * Copyright 2010-2017, John Dyer (http://j.hn/) 21 * License: MIT 22 * 23 */ 24!function e(t,i,n){function o(r,a){if(!i[r]){if(!t[r]){if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[r]={exports:{}};t[r][0].call(d.exports,(function(e){var i=t[r][1][e];return o(i||e)}),d,d.exports,e,t,i,n)}return i[r].exports}for(var s=!1,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(e,t,i){},{}],2:[function(t,i,n){(function(e){var n,o=void 0!==e?e:"undefined"!=typeof window?window:{},s=t(1);"undefined"!=typeof document?n=document:(n=o["__GLOBAL_DOCUMENT_CACHE@4"])||(n=o["__GLOBAL_DOCUMENT_CACHE@4"]=s),i.exports=n}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{1:1}],3:[function(t,i,n){(function(e){var t;t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},i.exports=t}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,i,n){!function(e){var n=setTimeout;function o(){}function s(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function r(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,s._immediateFn((function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var n;try{n=i(e._value)}catch(e){return void l(t.promise,e)}a(t.promise,n)}else(1===e._state?a:l)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var i=t.then;if(t instanceof s)return e._state=3,e._value=t,void d(e);if("function"==typeof i)return void u((n=i,o=t,function(){n.apply(o,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(t){l(e,t)}var n,o}function l(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&s._immediateFn((function(){e._handled||s._unhandledRejectionFn(e._value)}));for(var t=0,i=e._deferreds.length;t<i;t++)r(e,e._deferreds[t]);e._deferreds=null}function c(e,t,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=i}function u(e,t){var i=!1;try{e((function(e){i||(i=!0,a(t,e))}),(function(e){i||(i=!0,l(t,e))}))}catch(e){if(i)return;i=!0,l(t,e)}}s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,t){var i=new this.constructor(o);return r(this,new c(e,t,i)),i},s.all=function(e){var t=Array.prototype.slice.call(e);return new s((function(e,i){if(0===t.length)return e([]);var n=t.length;function o(s,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var a=r.then;if("function"==typeof a)return void a.call(r,(function(e){o(s,e)}),i)}t[s]=r,0==--n&&e(t)}catch(e){i(e)}}for(var s=0;s<t.length;s++)o(s,t[s])}))},s.resolve=function(e){return e&&"object"==typeof e&&e.constructor===s?e:new s((function(t){t(e)}))},s.reject=function(e){return new s((function(t,i){i(e)}))},s.race=function(e){return new s((function(t,i){for(var n=0,o=e.length;n<o;n++)e[n].then(t,i)}))},s._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){n(e,0)},s._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},s._setImmediateFn=function(e){s._immediateFn=e},s._setUnhandledRejectionFn=function(e){s._unhandledRejectionFn=e},void 0!==i&&i.exports?i.exports=s:e.Promise||(e.Promise=s)}(this)},{}],5:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=e(7),r=(n=s)&&n.__esModule?n:{default:n},a=e(15),l=e(27);var d={lang:"en",en:a.EN,language:function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if(null!=t&&t.length){if("string"!=typeof t[0])throw new TypeError("Language code must be a string value");if(!/^[a-z]{2,3}((\-|_)[a-z]{2})?$/i.test(t[0]))throw new TypeError("Language code must have format 2-3 letters and. optionally, hyphen, underscore followed by 2 more letters");d.lang=t[0],void 0===d[t[0]]?(t[1]=null!==t[1]&&void 0!==t[1]&&"object"===o(t[1])?t[1]:{},d[t[0]]=(0,l.isObjectEmpty)(t[1])?a.EN:t[1]):null!==t[1]&&void 0!==t[1]&&"object"===o(t[1])&&(d[t[0]]=t[1])}return d.lang},t:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e&&e.length){var i=void 0,n=void 0,s=d.language(),r=function(e,t,i){return"object"!==(void 0===e?"undefined":o(e))||"number"!=typeof t||"number"!=typeof i?e:[function(){return arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 0===(arguments.length<=0?void 0:arguments[0])||1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:0!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])||11===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])||12===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>0&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])>=2&&(arguments.length<=0?void 0:arguments[0])<=4?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%100==1?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100==2?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100==3||(arguments.length<=0?void 0:arguments[0])%100==4?arguments.length<=4?void 0:arguments[4]:arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<7?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])>6&&(arguments.length<=0?void 0:arguments[0])<11?arguments.length<=4?void 0:arguments[4]:arguments.length<=5?void 0:arguments[5]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100>=3&&(arguments.length<=0?void 0:arguments[0])%100<=10?arguments.length<=4?void 0:arguments[4]:(arguments.length<=0?void 0:arguments[0])%100>=11?arguments.length<=5?void 0:arguments[5]:arguments.length<=6?void 0:arguments[6]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>1&&(arguments.length<=0?void 0:arguments[0])%100<11?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100>10&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10==2?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 11!==(arguments.length<=0?void 0:arguments[0])&&(arguments.length<=0?void 0:arguments[0])%10==1?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:8!==(arguments.length<=0?void 0:arguments[0])&&11!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:3===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]}][i].apply(null,[t].concat(e))};return void 0!==d[s]&&(i=d[s][e],null!==t&&"number"==typeof t&&(n=d[s]["mejs.plural-form"],i=r.apply(null,[i,t,n]))),!i&&d.en&&(i=d.en[e],null!==t&&"number"==typeof t&&(n=d.en["mejs.plural-form"],i=r.apply(null,[i,t,n]))),i=i||e,null!==t&&"number"==typeof t&&(i=i.replace("%1",t)),(0,l.escapeHTML)(i)}return e}};r.default.i18n=d,"undefined"!=typeof mejsL10n&&r.default.i18n.language(mejsL10n.language,mejsL10n.strings),i.default=d},{15:15,27:27,7:7}],6:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(e(3)),s=u(e(2)),r=u(e(7)),a=e(27),l=e(28),d=e(8),c=e(25);function u(e){return e&&e.__esModule?e:{default:e}}var h=function e(t,i,u){var h=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var p=this;u=Array.isArray(u)?u:null,p.defaults={renderers:[],fakeNodeName:"mediaelementwrapper",pluginPath:"build/",shimScriptAccess:"sameDomain"},i=Object.assign(p.defaults,i),p.mediaElement=s.default.createElement(i.fakeNodeName);var f=t,m=!1;if("string"==typeof t?p.mediaElement.originalNode=s.default.getElementById(t):(p.mediaElement.originalNode=t,f=t.id),void 0===p.mediaElement.originalNode||null===p.mediaElement.originalNode)return null;p.mediaElement.options=i,f=f||"mejs_"+Math.random().toString().slice(2),p.mediaElement.originalNode.setAttribute("id",f+"_from_mejs");var v=p.mediaElement.originalNode.tagName.toLowerCase();["video","audio"].indexOf(v)>-1&&!p.mediaElement.originalNode.getAttribute("preload")&&p.mediaElement.originalNode.setAttribute("preload","none"),p.mediaElement.originalNode.parentNode.insertBefore(p.mediaElement,p.mediaElement.originalNode),p.mediaElement.appendChild(p.mediaElement.originalNode);var g=function(e,t){if("https:"===o.default.location.protocol&&0===e.indexOf("http:")&&c.IS_IOS&&r.default.html5media.mediaTypes.indexOf(t)>-1){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState&&200===this.status){var t=(o.default.URL||o.default.webkitURL).createObjectURL(this.response);return p.mediaElement.originalNode.setAttribute("src",t),t}return e},i.open("GET",e),i.responseType="blob",i.send()}return e},y=void 0;if(null!==u)y=u;else if(null!==p.mediaElement.originalNode)switch(y=[],p.mediaElement.originalNode.nodeName.toLowerCase()){case"iframe":y.push({type:"",src:p.mediaElement.originalNode.getAttribute("src")});break;case"audio":case"video":var _=p.mediaElement.originalNode.children.length,b=p.mediaElement.originalNode.getAttribute("src");if(b){var w=p.mediaElement.originalNode,x=(0,l.formatType)(b,w.getAttribute("type"));y.push({type:x,src:g(b,x)})}for(var E=0;E<_;E++){var T=p.mediaElement.originalNode.children[E];if("source"===T.tagName.toLowerCase()){var S=T.getAttribute("src"),k=(0,l.formatType)(S,T.getAttribute("type"));y.push({type:k,src:g(S,k)})}}}p.mediaElement.id=f,p.mediaElement.renderers={},p.mediaElement.events={},p.mediaElement.promises=[],p.mediaElement.renderer=null,p.mediaElement.rendererName=null,p.mediaElement.changeRenderer=function(e,t){var i=h,n=Object.keys(t[0]).length>2?t[0]:t[0].src;if(void 0!==i.mediaElement.renderer&&null!==i.mediaElement.renderer&&i.mediaElement.renderer.name===e)return i.mediaElement.renderer.pause(),i.mediaElement.renderer.stop&&i.mediaElement.renderer.stop(),i.mediaElement.renderer.show(),i.mediaElement.renderer.setSrc(n),!0;void 0!==i.mediaElement.renderer&&null!==i.mediaElement.renderer&&(i.mediaElement.renderer.pause(),i.mediaElement.renderer.stop&&i.mediaElement.renderer.stop(),i.mediaElement.renderer.hide());var o=i.mediaElement.renderers[e],s=null;if(null!=o)return o.show(),o.setSrc(n),i.mediaElement.renderer=o,i.mediaElement.rendererName=e,!0;for(var r=i.mediaElement.options.renderers.length?i.mediaElement.options.renderers:d.renderer.order,a=0,l=r.length;a<l;a++){var c=r[a];if(c===e){s=d.renderer.renderers[c];var u=Object.assign(s.options,i.mediaElement.options);return(o=s.create(i.mediaElement,u,t)).name=e,i.mediaElement.renderers[s.name]=o,i.mediaElement.renderer=o,i.mediaElement.rendererN
vendor: 2,260 bytes, line 24
24ame=e,o.show(),!0}}return!1},p.mediaElement.setSize=function(e,t){void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&p.mediaElement.renderer.setSize(e,t)},p.mediaElement.generateError=function(e,t){e=e||"",t=Array.isArray(t)?t:[];var i=(0,a.createEvent)("error",p.mediaElement);i.message=e,i.urls=t,p.mediaElement.dispatchEvent(i),m=!0};var P=r.default.html5media.properties,C=r.default.html5media.methods,L=function(e,t,i,n){var o=e[t];Object.defineProperty(e,t,{get:function(){return i.apply(e,[o])},set:function(t){return o=n.apply(e,[t])}})},A=function(e){if("src"!==e){var t=""+e.substring(0,1).toUpperCase()+e.substring(1),i=function(){return void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer["get"+t]?p.mediaElement.renderer["get"+t]():null},n=function(e){void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer["set"+t]&&p.mediaElement.renderer["set"+t](e)};L(p.mediaElement,e,i,n),p.mediaElement["get"+t]=i,p.mediaElement["set"+t]=n}},M=function(){return void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer?p.mediaElement.renderer.getSrc():null},I=function(e){var t=[];if("string"==typeof e)t.push({src:e,type:e?(0,l.getTypeFromFile)(e):""});else if("object"===(void 0===e?"undefined":n(e))&&void 0!==e.src){var i=(0,l.absolutizeUrl)(e.src),o=e.type,s=Object.assign(e,{src:i,type:""!==o&&null!=o||!i?o:(0,l.getTypeFromFile)(i)});t.push(s)}else if(Array.isArray(e))for(var r=0,c=e.length;r<c;r++){var u=(0,l.absolutizeUrl)(e[r].src),h=e[r].type,f=Object.assign(e[r],{src:u,type:""!==h&&null!=h||!u?h:(0,l.getTypeFromFile)(u)});t.push(f)}var m=d.renderer.select(t,p.mediaElement.options.renderers.length?p.mediaElement.options.renderers:[]),v=void 0;if(p.mediaElement.paused||null==p.mediaElement.src||""===p.mediaElement.src||(p.mediaElement.pause(),v=(0,a.createEvent)("pause",p.mediaElement),p.mediaElement.dispatchEvent(v)),p.mediaElement.originalNode.src=t[0].src||"",null!==m||!t[0].src)return!(null==t[0].src||""===t[0].src)?p.mediaElement.changeRenderer(m.rendererName,t):null;p.mediaElement.generateError("No renderer found",t)},N=function(e,t){try{if("play"!==e||"native_dash"!==p.mediaElement.rendererN
vendor: 40,832 bytes, line 24
24ame&&"native_hls"!==p.mediaElement.rendererName&&"vimeo_iframe"!==p.mediaElement.rendererName)p.mediaElement.renderer[e](t);else{var i=p.mediaElement.renderer[e](t);i&&"function"==typeof i.then&&i.catch((function(){p.mediaElement.paused&&setTimeout((function(){var e=p.mediaElement.renderer.play();void 0!==e&&e.catch((function(){p.mediaElement.renderer.paused||p.mediaElement.renderer.pause()}))}),150)}))}}catch(e){p.mediaElement.generateError(e,y)}},O=function(e){p.mediaElement[e]=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer[e]&&(p.mediaElement.promises.length?Promise.all(p.mediaElement.promises).then((function(){N(e,i)})).catch((function(e){p.mediaElement.generateError(e,y)})):N(e,i)),null}};L(p.mediaElement,"src",M,I),p.mediaElement.getSrc=M,p.mediaElement.setSrc=I;for(var j=0,z=P.length;j<z;j++)A(P[j]);for(var F=0,D=C.length;F<D;F++)O(C[F]);return p.mediaElement.addEventListener=function(e,t){p.mediaElement.events[e]=p.mediaElement.events[e]||[],p.mediaElement.events[e].push(t)},p.mediaElement.removeEventListener=function(e,t){if(!e)return p.mediaElement.events={},!0;var i=p.mediaElement.events[e];if(!i)return!0;if(!t)return p.mediaElement.events[e]=[],!0;for(var n=0;n<i.length;n++)if(i[n]===t)return p.mediaElement.events[e].splice(n,1),!0;return!1},p.mediaElement.dispatchEvent=function(e){var t=p.mediaElement.events[e.type];if(t)for(var i=0;i<t.length;i++)t[i].apply(null,[e])},p.mediaElement.destroy=function(){var e=p.mediaElement.originalNode.cloneNode(!0),t=p.mediaElement.parentElement;e.removeAttribute("id"),e.remove(),p.mediaElement.remove(),t.appendChild(e)},y.length&&(p.mediaElement.src=y),p.mediaElement.promises.length?Promise.all(p.mediaElement.promises).then((function(){p.mediaElement.options.success&&p.mediaElement.options.success(p.mediaElement,p.mediaElement.originalNode)})).catch((function(){m&&p.mediaElement.options.error&&p.mediaElement.options.error(p.mediaElement,p.mediaElement.originalNode)})):(p.mediaElement.options.success&&p.mediaElement.options.success(p.mediaElement,p.mediaElement.originalNode),m&&p.mediaElement.options.error&&p.mediaElement.options.error(p.mediaElement,p.mediaElement.originalNode)),p.mediaElement};o.default.MediaElement=h,r.default.MediaElement=h,i.default=h},{2:2,25:25,27:27,28:28,3:3,7:7,8:8}],7:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,o=e(3);var s={version:"4.2.16",html5media:{properties:["volume","src","currentTime","muted","duration","paused","ended","buffered","error","networkState","readyState","seeking","seekable","currentSrc","preload","bufferedBytes","bufferedTime","initialTime","startOffsetTime","defaultPlaybackRate","playbackRate","played","autoplay","loop","controls"],readOnlyProperties:["duration","paused","ended","buffered","error","networkState","readyState","seeking","seekable"],methods:["load","play","pause","canPlayType"],events:["loadstart","durationchange","loadedmetadata","loadeddata","progress","canplay","canplaythrough","suspend","abort","error","emptied","stalled","play","playing","pause","waiting","seeking","seeked","timeupdate","ended","ratechange","volumechange"],mediaTypes:["audio/mp3","audio/ogg","audio/oga","audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav","audio/mpeg","audio/mp4","video/mp4","video/webm","video/ogg","video/ogv"]}};((n=o)&&n.__esModule?n:{default:n}).default.mejs=s,i.default=s},{3:3}],8:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.renderer=void 0;var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=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}}(),r=e(7),a=(n=r)&&n.__esModule?n:{default:n};var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.renderers={},this.order=[]}return s(e,[{key:"add",value:function(e){if(void 0===e.name)throw new TypeError("renderer must contain at least `name` property");this.renderers[e.name]=e,this.order.push(e.name)}},{key:"select",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=t.length;if(t=t.length?t:this.order,!i){var n=[/^(html5|native)/i,/^flash/i,/iframe$/i],o=function(e){for(var t=0,i=n.length;t<i;t++)if(n[t].test(e))return t;return n.length};t.sort((function(e,t){return o(e)-o(t)}))}for(var s=0,r=t.length;s<r;s++){var a=t[s],l=this.renderers[a];if(null!=l)for(var d=0,c=e.length;d<c;d++)if("function"==typeof l.canPlayType&&"string"==typeof e[d].type&&l.canPlayType(e[d].type))return{rendererName:l.name,src:e[d].src}}return null}},{key:"order",set:function(e){if(!Array.isArray(e))throw new TypeError("order must be an array of strings.");this._order=e},get:function(){return this._order}},{key:"renderers",set:function(e){if(null!==e&&"object"!==(void 0===e?"undefined":o(e)))throw new TypeError("renderers must be an array of objects.");this._renderers=e},get:function(){return this._renderers}}]),e}(),d=i.renderer=new l;a.default.Renderers=d},{7:7}],9:[function(e,t,i){"use strict";var n=h(e(3)),o=h(e(2)),s=h(e(5)),r=e(16),a=h(r),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(e(25)),d=e(27),c=e(26),u=e(28);function h(e){return e&&e.__esModule?e:{default:e}}Object.assign(r.config,{usePluginFullScreen:!0,fullscreenText:null,useFakeFullscreen:!1}),Object.assign(a.default.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,isPluginClickThroughCreated:!1,fullscreenMode:"",containerSizeTimeout:null,buildfullscreen:function(e){if(e.isVideo){e.isInIframe=n.default.location!==n.default.parent.location,e.detectFullscreenMode();var t=this,i=(0,d.isString)(t.options.fullscreenText)?t.options.fullscreenText:s.default.t("mejs.fullscreen"),r=o.default.createElement("div");if(r.className=t.options.classPrefix+"button "+t.options.classPrefix+"fullscreen-button",r.innerHTML='<button type="button" aria-controls="'+t.id+'" title="'+i+'" aria-label="'+i+'" tabindex="0"></button>',t.addControlElement(r,"fullscreen"),r.addEventListener("click",(function(){l.HAS_TRUE_NATIVE_FULLSCREEN&&l.IS_FULLSCREEN||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()})),e.fullscreenBtn=r,t.options.keyActions.push({keys:[70],action:function(e,t,i,n){n.ctrlKey||void 0!==e.enterFullScreen&&(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}}),t.exitFullscreenCallback=function(i){var n=i.which||i.keyCode||0;t.options.enableKeyboard&&27===n&&(l.HAS_TRUE_NATIVE_FULLSCREEN&&l.IS_FULLSCREEN||t.isFullScreen)&&e.exitFullScreen()},t.globalBind("keydown",t.exitFullscreenCallback),t.normalHeight=0,t.normalWidth=0,l.HAS_TRUE_NATIVE_FULLSCREEN){e.globalBind(l.FULLSCREEN_EVENT_NAME,(function(){e.isFullScreen&&(l.isFullScreen()?(e.isNativeFullScreen=!0,e.setControlsSize()):(e.isNativeFullScreen=!1,e.exitFullScreen()))}))}}},cleanfullscreen:function(e){e.exitFullScreen(),e.globalUnbind("keydown",e.exitFullscreenCallback)},detectFullscreenMode:function(){var e=this,t=null!==e.media.rendererName&&/(native|html5)/i.test(e.media.rendererName),i="";return l.HAS_TRUE_NATIVE_FULLSCREEN&&t?i="native-native":l.HAS_TRUE_NATIVE_FULLSCREEN&&!t?i="plugin-native":e.usePluginFullScreen&&l.SUPPORT_POINTER_EVENTS&&(i="plugin-click"),e.fullscreenMode=i,i},enterFullScreen:function(){var e=this,t=null!==e.media.rendererName&&/(html5|native)/i.test(e.media.rendererName),i=getComputedStyle(e.getElement(e.container));if(e.isVideo)if(!1===e.options.useFakeFullscreen&&l.IS_IOS&&l.HAS_IOS_FULLSCREEN&&"function"==typeof e.media.originalNode.webkitEnterFullscreen&&e.media.originalNode.canPlayType((0,u.getTypeFromFile)(e.media.getSrc())))e.media.originalNode.webkitEnterFullscreen();else{if((0,c.addClass)(o.default.documentElement,e.options.classPrefix+"fullscreen"),(0,c.addClass)(e.getElement(e.container),e.options.classPrefix+"container-fullscreen"),e.normalHeight=parseFloat(i.height),e.normalWidth=parseFloat(i.width),"native-native"!==e.fullscreenMode&&"plugin-native"!==e.fullscreenMode||(l.requestFullScreen(e.getElement(e.container)),e.isInIframe&&setTimeout((function t(){if(e.isNativeFullScreen){var i=n.default.innerWidth||o.default.documentElement.clientWidth||o.default.body.clientWidth,s=screen.width;Math.abs(s-i)>.002*s?e.exitFullScreen():setTimeout(t,500)}}),1e3)),e.getElement(e.container).style.width="100%",e.getElement(e.container).style.height="100%",e.containerSizeTimeout=setTimeout((function(){e.getElement(e.container).style.width="100%",e.getElement(e.container).style.height="100%",e.setControlsSize()}),500),t)e.node.style.width="100%",e.node.style.height="100%";else for(var s=e.getElement(e.container).querySelectorAll("embed, object, video"),r=s.length,a=0;a<r;a++)s[a].style.width="100%",s[a].style.height="100%";e.options.setDimensions&&"function"==typeof e.media.setSize&&e.media.setSize(screen.width,screen.height);for(var h=e.getElement(e.layers).children,p=h.length,f=0;f<p;f++)h[f].style.width="100%",h[f].style.height="100%";e.fullscreenBtn&&((0,c.removeClass)(e.fullscreenBtn,e.options.classPrefix+"fullscreen"),(0,c.addClass)(e.fullscreenBtn,e.options.classPrefix+"unfullscreen")),e.setControlsSize(),e.isFullScreen=!0;var m=Math.min(screen.width/e.width,screen.height/e.height),v=e.getElement(e.container).querySelector("."+e.options.classPrefix+"captions-text");v&&(v.style.fontSize=100*m+"%",v.style.lineHeight="normal",e.getElement(e.container).querySelector("."+e.options.classPrefix+"captions-position").style.bottom=(screen.height-e.normalHeight)/2-e.getElement(e.controls).offsetHeight/2+m+15+"px");var g=(0,d.createEvent)("enteredfullscreen",e.getElement(e.container));e.getElement(e.container).dispatchEvent(g)}},exitFullScreen:function(){var e=this,t=null!==e.media.rendererName&&/(native|html5)/i.test(e.media.rendererName);if(e.isVideo){if(clearTimeout(e.containerSizeTimeout),l.HAS_TRUE_NATIVE_FULLSCREEN&&(l.IS_FULLSCREEN||e.isFullScreen)&&l.cancelFullScreen(),(0,c.removeClass)(o.default.documentElement,e.options.classPrefix+"fullscreen"),(0,c.removeClass)(e.getElement(e.container),e.options.classPrefix+"container-fullscreen"),e.options.setDimensions){if(e.getElement(e.container).style.width=e.normalWidth+"px",e.getElement(e.container).style.height=e.normalHeight+"px",t)e.node.style.width=e.normalWidth+"px",e.node.style.height=e.normalHeight+"px";else for(var i=e.getElement(e.container).querySelectorAll("embed, object, video"),n=i.length,s=0;s<n;s++)i[s].style.width=e.normalWidth+"px",i[s].style.height=e.normalHeight+"px";"function"==typeof e.media.setSize&&e.media.setSize(e.normalWidth,e.normalHeight);for(var r=e.getElement(e.layers).children,a=r.length,u=0;u<a;u++)r[u].style.width=e.normalWidth+"px",r[u].style.height=e.normalHeight+"px"}e.fullscreenBtn&&((0,c.removeClass)(e.fullscreenBtn,e.options.classPrefix+"unfullscreen"),(0,c.addClass)(e.fullscreenBtn,e.options.classPrefix+"fullscreen")),e.setControlsSize(),e.isFullScreen=!1;var h=e.getElement(e.container).querySelector("."+e.options.classPrefix+"captions-text");h&&(h.style.fontSize="",h.style.lineHeight="",e.getElement(e.container).querySelector("."+e.options.classPrefix+"captions-position").style.bottom="");var p=(0,d.createEvent)("exitedfullscreen",e.getElement(e.container));e.getElement(e.container).dispatchEvent(p)}}})},{16:16,2:2,25:25,26:26,27:27,28:28,3:3,5:5}],10:[function(e,t,i){"use strict";var n=d(e(2)),o=e(16),s=d(o),r=d(e(5)),a=e(27),l=e(26);function d(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{playText:null,pauseText:null}),Object.assign(s.default.prototype,{buildplaypause:function(e,t,i,o){var s=this,d=s.options,c=(0,a.isString)(d.playText)?d.playText:r.default.t("mejs.play"),u=(0,a.isString)(d.pauseText)?d.pauseText:r.default.t("mejs.pause"),h=n.default.createElement("div");h.className=s.options.classPrefix+"button "+s.options.classPrefix+"playpause-button "+s.options.classPrefix+"play",h.innerHTML='<button type="button" aria-controls="'+s.id+'" title="'+c+'" aria-label="'+u+'" tabindex="0"></button>',h.addEventListener("click",(function(){s.paused?s.play():s.pause()}));var p=h.querySelector("button");function f(e){"play"===e?((0,l.removeClass)(h,s.options.classPrefix+"play"),(0,l.removeClass)(h,s.options.classPrefix+"replay"),(0,l.addClass)(h,s.options.classPrefix+"pause"),p.setAttribute("title",u),p.setAttribute("aria-label",u)):((0,l.removeClass)(h,s.options.classPrefix+"pause"),(0,l.removeClass)(h,s.options.classPrefix+"replay"),(0,l.addClass)(h,s.options.classPrefix+"play"),p.setAttribute("title",c),p.setAttribute("aria-label",c))}s.addControlElement(h,"playpause"),f("pse"),o.addEventListener("loadedmetadata",(function(){-1===o.rendererName.indexOf("flash")&&f("pse")})),o.addEventListener("play",(function(){f("play")})),o.addEventListener("playing",(function(){f("play")})),o.addEventListener("pause",(function(){f("pse")})),o.addEventListener("ended",(function(){e.options.loop||((0,l.removeClass)(h,s.options.classPrefix+"pause"),(0,l.removeClass)(h,s.options.classPrefix+"play"),(0,l.addClass)(h,s.options.classPrefix+"replay"),p.setAttribute("title",c),p.setAttribute("aria-label",c))}))}})},{16:16,2:2,26:26,27:27,5:5}],11:[function(e,t,i){"use strict";var n=c(e(2)),o=e(16),s=c(o),r=c(e(5)),a=e(25),l=e(30),d=e(26);function c(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{enableProgressTooltip:!0,useSmoothHover:!0,forceLive:!1}),Object.assign(s.default.prototype,{buildprogress:function(e,t,i,o){var s=0,c=!1,u=!1,h=this,p=e.options.autoRewind,f=e.options.enableProgressTooltip?'<span class="'+h.options.classPrefix+'time-float"><span class="'+h.options.classPrefix+'time-float-current">00:00</span><span class="'+h.options.classPrefix+'time-float-corner"></span></span>':"",m=n.default.createElement("div");m.className=h.options.classPrefix+"time-rail",m.innerHTML='<span class="'+h.options.classPrefix+"time-total "+h.options.classPrefix+'time-slider"><span class="'+h.options.classPrefix+'time-buffering"></span><span class="'+h.options.classPrefix+'time-loaded"></span><span class="'+h.options.classPrefix+'time-current"></span><span class="'+h.options.classPrefix+'time-hovered no-hover"></span><span class="'+h.options.classPrefix+'time-handle"><span class="'+h.options.classPrefix+'time-handle-content"></span></span>'+f+"</span>",h.addControlElement(m,"progress"),h.options.keyActions.push({keys:[37,227],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var t=e.getElement(e.container).querySelector("."+h.options.classPrefix+"time-total");t&&t.focus();var i=Math.max(e.currentTime-e.options.defaultSeekBackwardInterval(e),0);e.paused||e.pause(),setTimeout((function(){e.setCurrentTime(i)}),0),setTimeout((function(){e.play()}),0)}}},{keys:[39,228],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var t=e.getElement(e.container).querySelector("."+h.options.classPrefix+"time-total");t&&t.focus();var i=Math.min(e.currentTime+e.options.defaultSeekForwardInterval(e),e.duration);e.paused||e.pause(),setTimeout((function(){e.setCurrentTime(i)}),0),setTimeout((function(){e.play()}),0)}}}),h.rail=t.querySelector("."+h.options.classPrefix+"time-rail"),h.total=t.querySelector("."+h.options.classPrefix+"time-total"),h.loaded=t.querySelector("."+h.options.classPrefix+"time-loaded"),h.current=t.querySelector("."+h.options.classPrefix+"time-current"),h.handle=t.querySelector("."+h.options.classPrefix+"time-handle"),h.timefloat=t.querySelector("."+h.options.classPrefix+"time-float"),h.timefloatcurrent=t.querySelector("."+h.options.classPrefix+"time-float-current"),h.slider=t.querySelector("."+h.options.classPrefix+"time-slider"),h.hovered=t.querySelector("."+h.options.classPrefix+"time-hovered"),h.buffer=t.querySelector("."+h.options.classPrefix+"time-buffering"),h.newTime=0,h.forcedHandlePause=!1,h.setTransformStyle=function(e,t){e.style.transform=t,e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t},h.buffer.style.display="none";var v=function(t){var i=getComputedStyle(h.total),n=(0,d.offset)(h.total),o=h.total.offsetWidth,s=void 0!==i.webkitTransform?"webkitTransform":void 0!==i.mozTransform?"mozTransform ":void 0!==i.oTransform?"oTransform":void 0!==i.msTransform?"msTransform":"transform",r="WebKitCSSMatrix"in window?"WebKitCSSMatrix":"MSCSSMatrix"in window?"MSCSSMatrix":"CSSMatrix"in window?"CSSMatrix":void 0,u=0,p=0,f=0,m=void 0;if(m=t.originalEvent&&t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.changedTouches?t.changedTouches[0].pageX:t.pageX,h.getDuration()){if(m<n.left?m=n.left:m>o+n.left&&(m=o+n.left),u=(f=m-n.left)/o,h.newTime=u*h.getDuration(),c&&null!==h.getCurrentTime()&&h.newTime.toFixed(4)!==h.getCurrentTime().toFixed(4)&&(h.setCurrentRailHandle(h.newTime),h.updateCurrent(h.newTime)),!a.IS_IOS&&!a.IS_ANDROID){if(f<0&&(f=0),h.options.useSmoothHover&&null!==r&&void 0!==window[r]){var v=new window[r](getComputedStyle(h.handle)[s]).m41,g=f/parseFloat(getComputedStyle(h.total).width)-v/parseFloat(getComputedStyle(h.total).width);h.hovered.style.left=v+"px",h.setTransformStyle(h.hovered,"scaleX("+g+")"),h.hovered.setAttribute("pos",f),g>=0?(0,d.removeClass)(h.hovered,"negative"):(0,d.addClass)(h.hovered,"negative")}if(h.timefloat){var y=h.timefloat.offsetWidth/2,_=mejs.Utils.offset(h.getElement(h.container)),b=getComputedStyle(h.timefloat);p=m-_.left<h.timefloat.offsetWidth?y:m-_.left>=h.getElement(h.container).offsetWidth-y?h.total.offsetWidth-y:f,(0,d.hasClass)(h.getElement(h.container),h.options.classPrefix+"long-video")&&(p+=parseFloat(b.marginLeft)/2+h.timefloat.offsetWidth/2),h.timefloat.style.left=p+"px",h.timefloatcurrent.innerHTML=(0,l.secondsToTimeCode)(h.newTime,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat),h.timefloat.style.display="block"}}}else a.IS_IOS||a.IS_ANDROID||!h.timefloat||(p=h.timefloat.offsetWidth+o>=h.getElement(h.container).offsetWidth?h.timefloat.offsetWidth/2:0,h.timefloat.style.left=p+"px",h.timefloat.style.left=p+"px",h.timefloat.style.display="block")},g=function(){new Date-s>=1e3&&h.play()};h.slider.addEventListener("focus",(function(){e.options.autoRewind=!1})),h.slider.addEventListener("blur",(function(){e.options.autoRewind=p})),h.slider.addEventListener("keydown",(function(t){if(new Date-s>=1e3&&(u=h.paused),h.options.enableKeyboard&&h.options.keyActions.length){var i=t.which||t.keyCode||0,n=h.getDuration(),r=e.options.defaultSeekForwardInterval(o),l=e.options.defaultSeekBackwardInterval(o),d=h.getCurrentTime(),c=h.getElement(h.container).querySelector("."+h.options.classPrefix+"volume-slider");if(38===i||40===i){c&&(c.style.display="block"),h.isVideo&&(h.showControls(),h.startControlsTimer());var p=38===i?Math.min(h.volume+.1,1):Math.max(h.volume-.1,0),f=p<=0;return h.setVolume(p),void h.setMuted(f)}switch(c&&(c.style.display="none"),i){case 37:h.getDuration()!==1/0&&(d-=l);break;case 39:h.getDuration()!==1/0&&(d+=r);break;case 36:d=0;break;case 35:d=n;break;case 13:case 32:return void(a.IS_FIREFOX&&(h.paused?h.play():h.pause()));default:return}d=d<0||isNaN(d)?0:d>=n?n:Math.floor(d),s=new Date,u||e.pause(),setTimeout((function(){h.setCurrentTime(d)}),0),d<h.getDuration()&&!u&&setTimeout(g,1100),e.showControls(),t.preventDefault(),t.stopPropagation()}}));var y=["mousedown","touchstart"];h.slider.addEventListener("dragstart",(function(){return!1}));for(var _=0,b=y.length;_<b;_++)h.slider.addEventListener(y[_],(function(e){if(h.forcedHandlePause=!1,h.getDuration()!==1/0&&(1===e.which||0===e.which)){h.paused||(h.pause(),h.forcedHandlePause=!0),c=!0,v(e);for(var t=["mouseup","touchend"],i=0,n=t.length;i<n;i++)h.getElement(h.container).addEventListener(t[i],(function(e){var t=e.target;(t===h.slider||t.closest("."+h.options.classPrefix+"time-slider"))&&v(e)}));h.globalBind("mouseup.dur touchend.dur",(function(){c&&null!==h.getCurrentTime()&&h.newTime.toFixed(4)!==h.getCurrentTime().toFixed(4)&&(h.setCurrentTime(h.newTime),h.setCurrentRailHandle(h.newTime),h.updateCurrent(h.newTime)),h.forcedHandlePause&&(h.slider.focus(),h.play()),h.forcedHandlePause=!1,c=!1,h.timefloat&&(h.timefloat.style.display="none")}))}}),!(!a.SUPPORT_PASSIVE_EVENT||"touchstart"!==y[_])&&{passive:!0});h.slider.addEventListener("mouseenter",(function(e){e.target===h.slider&&h.getDuration()!==1/0&&(h.getElement(h.container).addEventListener("mousemove",(function(e){var t=e.target;(t===h.slider||t.closest("."+h.options.classPrefix+"time-slider"))&&v(e)})),!h.timefloat||a.IS_IOS||a.IS_ANDROID||(h.timefloat.style.display="block"),h.hovered&&!a.IS_IOS&&!a.IS_ANDROID&&h.options.useSmoothHover&&(0,d.removeClass)(h.hovered,"no-hover"))})),h.slider.addEventListener("mouseleave",(function(){h.getDuration()!==1/0&&(c||(h.timefloat&&(h.timefloat.style.display="none"),h.hovered&&h.options.useSmoothHover&&(0,d.addClass)(h.hovered,"no-hover")))})),h.broadcastCallback=function(i){var s,a,d,c,u=t.querySelector("."+h.options.classPrefix+"broadcast");if(h.options.forceLive||h.getDuration()===1/0){if(!u&&h.options.forceLive){var p=n.default.createElement("span");p.className=h.options.classPrefix+"broadcast",p.innerText=r.default.t("mejs.live-broadcast"),h.slider.style.display="none",h.rail.appendChild(p)}}else u&&(h.slider.style.display="",u.remove()),e.setProgressRail(i),h.forcedHandlePause||e.setCurrentRail(i),s=h.getCurrentTime(),a=r.default.t("mejs.time-slider"),d=(0,l.secondsToTimeCode)(s,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat),c=h.getDuration(),h.slider.setAttribute("role","slider"),h.slider.tabIndex=0,o.paused?(h.slider.setAttribute("aria-label",a),h.slider.setAttribute("aria-valuemin",0),h.slider.setAttribute("aria-valuemax",isNaN(c)?0:c),h.slider.setAttribute("aria-valuenow",s),h.slider.setAttribute("aria-valuetext",d)):(h.slider.removeAttribute("aria-label"),h.slider.removeAttribute("aria-valuemin"),h.slider.removeAttribute("aria-valuemax"),h.slider.removeAttribute("aria-valuenow"),h.slider.removeAttribute("aria-valuetext"))},o.addEventListener("progress",h.broadcastCallback),o.addEventListener("timeupdate",h.broadcastCallback),o.addEventListener("play",(function(){h.buffer.style.display="none"})),o.addEventListener("playing",(function(){h.buffer.style.display="none"})),o.addEventListener("seeking",(function(){h.buffer.style.display=""})),o.addEventListener("seeked",(function(){h.buffer.style.display="none"})),o.addEventListener("pause",(function(){h.buffer.style.display="none"})),o.addEventListener("waiting",(function(){h.buffer.style.display=""})),o.addEventListener("loadeddata",(function(){h.buffer.style.display=""})),o.addEventListener("canplay",(function(){h.buffer.style.display="none"})),o.addEventListener("error",(function(){h.buffer.style.display="none"})),h.getElement(h.container).addEventListener("controlsresize",(function(t){h.getDuration()!==1/0&&(e.setProgressRail(t),h.forcedHandlePause||e.setCurrentRail(t))}))},cleanprogress:function(e,t,i,n){n.removeEventListener("progress",e.broadcastCallback),n.removeEventListener("timeupdate",e.broadcastCallback),e.rail&&e.rail.remove()},setProgressRail:function(e){var t=this,i=void 0!==e?e.detail.target||e.target:t.media,n=null;i&&i.buffered&&i.buffered.length>0&&i.buffered.end&&t.getDuration()?n=i.buffered.end(i.buffered.length-1)/t.getDuration():i&&void 0!==i.bytesTotal&&i.bytesTotal>0&&void 0!==i.bufferedBytes?n=i.bufferedBytes/i.bytesTotal:e&&e.lengthComputable&&0!==e.total&&(n=e.loaded/e.total),null!==n&&(n=Math.min(1,Math.max(0,n)),t.loaded&&t.setTransformStyle(t.loaded,"scaleX("+n+")"))},setCurrentRailHandle:function(e){this.setCurrentRailMain(this,e)},setCurrentRail:function(){this.setCurrentRailMain(this)},setCurrentRailMain:function(e,t){if(void 0!==e.getCurrentTime()&&e.getDuration()){var i=void 0===t?e.getCurrentTime():t;if(e.total&&e.handle){var n=parseFloat(getComputedStyle(e.total).width),o=Math.round(n*i/e.getDuration()),s=o-Math.round(e.handle.offsetWidth/2);if(s=s<0?0:s,e.setTransformStyle(e.current,"scaleX("+o/n+")"),e.setTransformStyle(e.handle,"translateX("+s+"px)"),e.options.useSmoothHover&&!(0,d.hasClass)(e.hovered,"no-hover")){var r=parseInt(e.hovered.getAttribute("pos"),10),a=(r=isNaN(r)?0:r)/n-s/n;e.hovered.style.left=s+"px",e.setTransformStyle(e.hovered,"scaleX("+a+")"),a>=0?(0,d.removeClass)(e.hovered,"negative"):(0,d.addClass)(e.hovered,"negative")}}}}})},{16:16,2:2,25:25,26:26,30:30,5:5}],12:[function(e,t,i){"use strict";var n=l(e(2)),o=e(16),s=l(o),r=e(30),a=e(26);function l(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{duration:0,timeAndDurationSeparator:"<span> | </span>"}),Object.assign(s.default.prototype,{buildcurrent:function(e,t,i,o){var s=this,a=n.default.createElement("div");a.className=s.options.classPrefix+"time",a.setAttribute("role","timer"),a.setAttribute("aria-live","off"),a.innerHTML='<span class="'+s.options.classPrefix+'currenttime">'+(0,r.secondsToTimeCode)(0,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat)+"</span>",s.addControlElement(a,"current"),e.updateCurrent(),s.updateTimeCallback=function(){s.controlsAreVisible&&e.updateCurrent()},o.addEventListener("timeupdate",s.updateTimeCallback)},cleancurrent:function(e,t,i,n){n.removeEventListener("timeupdate",e.updateTimeCallback)},buildduration:function(e,t,i,o){var s=this;if(t.lastChild.querySelector("."+s.options.classPrefix+"currenttime"))t.querySelector("."+s.options.classPrefix+"time").innerHTML+=s.options.timeAndDurationSeparator+'<span class="'+s.options.classPrefix+'duration">'+(0,r.secondsToTimeCode)(s.options.duration,s.options.alwaysShowHours,s.options.showTimecodeFrameCount,s.options.framesPerSecond,s.options.secondsDecimalLength,s.options.timeFormat)+"</span>";else{t.querySelector("."+s.options.classPrefix+"currenttime")&&(0,a.addClass)(t.querySelector("."+s.options.classPrefix+"currenttime").parentNode,s.options.classPrefix+"currenttime-container");var l=n.default.createElement("div");l.className=s.options.classPrefix+"time "+s.options.classPrefix+"duration-container",l.innerHTML='<span class="'+s.options.classPrefix+'duration">'+(0,r.secondsToTimeCode)(s.options.duration,s.options.alwaysShowHours,s.options.showTimecodeFrameCount,s.options.framesPerSecond,s.options.secondsDecimalLength,s.options.timeFormat)+"</span>",s.addControlElement(l,"duration")}s.updateDurationCallback=function(){s.controlsAreVisible&&e.updateDuration()},o.addEventListener("timeupdate",s.updateDurationCallback)},cleanduration:function(e,t,i,n){n.removeEventListener("timeupdate",e.updateDurationCallback)},updateCurrent:function(){var e=this,t=e.getCurrentTime();isNaN(t)&&(t=0);var i=(0,r.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat);i.length>5?(0,a.addClass)(e.getElement(e.container),e.options.classPrefix+"long-video"):(0,a.removeClass)(e.getElement(e.container),e.options.classPrefix+"long-video"),e.getElement(e.controls).querySelector("."+e.options.classPrefix+"currenttime")&&(e.getElement(e.controls).querySelector("."+e.options.classPrefix+"currenttime").innerText=i)},updateDuration:function(){var e=this,t=e.getDuration();void 0!==e.media&&(isNaN(t)||t===1/0||t<0)&&(e.media.duration=e.options.duration=t=0),e.options.duration>0&&(t=e.options.duration);var i=(0,r.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat);i.length>5?(0,a.addClass)(e.getElement(e.container),e.options.classPrefix+"long-video"):(0,a.removeClass)(e.getElement(e.container),e.options.classPrefix+"long-video"),e.getElement(e.controls).querySelector("."+e.options.classPrefix+"duration")&&t>0&&(e.getElement(e.controls).querySelector("."+e.options.classPrefix+"duration").innerHTML=i)}})},{16:16,2:2,26:26,30:30}],13:[function(e,t,i){"use strict";var n=u(e(2)),o=u(e(7)),s=u(e(5)),r=e(16),a=u(r),l=e(30),d=e(27),c=e(26);function u(e){return e&&e.__esModule?e:{default:e}}Object.assign(r.config,{startLanguage:"",tracksText:null,chaptersText:null,tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),Object.assign(a.default.prototype,{hasChapters:!1,buildtracks:function(e,t,i,o){if(this.findTracks(),e.tracks.length||e.trackFiles&&0!==!e.trackFiles.length){var r=this,a=r.options.tracksAriaLive?' role="log" aria-live="assertive" aria-atomic="false"':"",l=(0,d.isString)(r.options.tracksText)?r.options.tracksText:s.default.t("mejs.captions-subtitles"),u=(0,d.isString)(r.options.chaptersText)?r.options.chaptersText:s.default.t("mejs.captions-chapters"),h=null===e.trackFiles?e.tracks.length:e.trackFiles.length;if(r.domNode.textTracks)for(var p=r.domNode.textTracks.length-1;p>=0;p--)r.domNode.textTracks[p].mode="hidden";r.cleartracks(e),e.captions=n.default.createElement("div"),e.captions.className=r.options.classPrefix+"captions-layer "+r.options.classPrefix+"layer",e.captions.innerHTML='<div class="'+r.options.classPrefix+"captions-position "+r.options.classPrefix+'captions-position-hover"'+a+'><span class="'+r.options.classPrefix+'captions-text"></span></div>',e.captions.style.display="none",i.insertBefore(e.captions,i.firstChild),e.captionsText=e.captions.querySelector("."+r.options.classPrefix+"captions-text"),e.captionsButton=n.default.createElement("div"),e.captionsButton.className=r.options.classPrefix+"button "+r.options.classPrefix+"captions-button",e.captionsButton.innerHTML='<button type="button" aria-controls="'+r.id+'" title="'+l+'" aria-label="'+l+'" tabindex="0"></button><div class="'+r.options.classPrefix+"captions-selector "+r.options.classPrefix+'offscreen"><ul class="'+r.options.classPrefix+'captions-selector-list"><li class="'+r.options.classPrefix+'captions-selector-list-item"><input type="radio" class="'+r.options.classPrefix+'captions-selector-input" name="'+e.id+'_captions" id="'+e.id+'_captions_none" value="none" checked disabled><label class="'+r.options.classPrefix+"captions-selector-label "+r.options.classPrefix+'captions-selected" for="'+e.id+'_captions_none">'+s.default.t("mejs.none")+"</label></li></ul></div>",r.addControlElement(e.captionsButton,"tracks"),e.captionsButton.querySelector("."+r.options.classPrefix+"captions-selector-input").disabled=!1,e.chaptersButton=n.default.createElement("div"),e.chaptersButton.className=r.options.classPrefix+"button "+r.options.classPrefix+"chapters-button",e.chaptersButton.innerHTML='<button type="button" aria-controls="'+r.id+'" title="'+u+'" aria-label="'+u+'" tabindex="0"></button><div class="'+r.options.classPrefix+"chapters-selector "+r.options.classPrefix+'offscreen"><ul class="'+r.options.classPrefix+'chapters-selector-list"></ul></div>';for(var f=0,m=0;m<h;m++){var v=e.tracks[m].kind;e.tracks[m].src.trim()&&("subtitles"===v||"captions"===v?f++:"chapters"!==v||t.querySelector("."+r.options.classPrefix+"chapter-selector")||e.captionsButton.parentNode.insertBefore(e.chaptersButton,e.captionsButton))}e.trackToLoad=-1,e.selectedTrack=null,e.isLoadingTrack=!1;for(var g=0;g<h;g++){var y=e.tracks[g].kind;!e.tracks[g].src.trim()||"subtitles"!==y&&"captions"!==y||e.addTrackButton(e.tracks[g].trackId,e.tracks[g].srclang,e.tracks[g].label)}e.loadNextTrack();var _=["mouseenter","focusin"],b=["mouseleave","focusout"];if(r.options.toggleCaptionsButtonWhenOnlyOne&&1===f)e.captionsButton.addEventListener("click",(function(t){var i="none";null===e.selectedTrack&&(i=e.tracks[0].trackId);var n=t.keyCode||t.which;e.setTrack(i,void 0!==n)}));else{for(var w=e.captionsButton.querySelectorAll("."+r.options.classPrefix+"captions-selector-label"),x=e.captionsButton.querySelectorAll("input[type=radio]"),E=0,T=_.length;E<T;E++)e.captionsButton.addEventListener(_[E],(function(){(0,c.removeClass)(this.querySelector("."+r.options.classPrefix+"captions-selector"),r.options.classPrefix+"offscreen")}));for(var S=0,k=b.length;S<k;S++)e.captionsButton.addEventListener(b[S],(function(){(0,c.addClass)(this.querySelector("."+r.options.classPrefix+"captions-selector"),r.options.classPrefix+"offscreen")}));for(var P=0,C=x.length;P<C;P++)x[P].addEventListener("click",(function(t){var i=t.keyCode||t.which;e.setTrack(this.value,void 0!==i)}));for(var L=0,A=w.length;L<A;L++)w[L].addEventListener("click",(function(e){var t=(0,c.siblings)(this,(function(e){return"INPUT"===e.tagName}))[0],i=(0,d.createEvent)("click",t);t.dispatchEvent(i),e.preventDefault()}));e.captionsButton.addEventListener("keydown",(function(e){e.stopPropagation()}))}for(var M=0,I=_.length;M<I;M++)e.chaptersButton.addEventListener(_[M],(function(){this.querySelector("."+r.options.classPrefix+"chapters-selector-list").children.length&&(0,c.removeClass)(this.querySelector("."+r.options.classPrefix+"chapters-selector"),r.options.classPrefix+"offscreen")}));for(var N=0,O=b.length;N<O;N++)e.chaptersButton.addEventListener(b[N],(function(){(0,c.addClass)(this.querySelector("."+r.options.classPrefix+"chapters-selector"),r.options.classPrefix+"offscreen")}));e.chaptersButton.addEventListener("keydown",(function(e){e.stopPropagation()})),e.options.alwaysShowControls?(0,c.addClass)(e.getElement(e.container).querySelector("."+r.options.classPrefix+"captions-position"),r.options.classPrefix+"captions-position-hover"):(e.getElement(e.container).addEventListener("controlsshown",(function(){(0,c.addClass)(e.getElement(e.container).querySelector("."+r.options.classPrefix+"captions-position"),r.options.classPrefix+"captions-position-hover")})),e.getElement(e.container).addEventListener("controlshidden",(function(){o.paused||(0,c.removeClass)(e.getElement(e.container).querySelector("."+r.options.classPrefix+"captions-position"),r.options.classPrefix+"captions-position-hover")}))),o.addEventListener("timeupdate",(function(){e.displayCaptions()})),""!==e.options.slidesSelector&&(e.slidesContainer=n.default.querySelectorAll(e.options.slidesSelector),o.addEventListener("timeupdate",(function(){e.displaySlides()})))}},cleartracks:function(e){e&&(e.captions&&e.captions.remove(),e.chapters&&e.chapters.remove(),e.captionsText&&e.captionsText.remove(),e.captionsButton&&e.captionsButton.remove(),e.chaptersButton&&e.chaptersButton.remove())},rebuildtracks:function(){var e=this;e.findTracks(),e.buildtracks(e,e.getElement(e.controls),e.getElement(e.layers),e.media)},findTracks:function(){var e=this,t=null===e.trackFiles?e.node.querySelectorAll("track"):e.trackFiles,i=t.length;e.tracks=[];for(var n=0;n<i;n++){var o=t[n],s=o.getAttribute("srclang").toLowerCase()||"",r=e.id+"_track_"+n+"_"+o.getAttribute("kind")+"_"+s;e.tracks.push({trackId:r,srclang:s,src:o.getAttribute("src"),kind:o.getAttribute("kind"),label:o.getAttribute("label")||"",entries:[],isLoaded:!1})}},setTrack:function(e,t){for(var i=this,n=i.captionsButton.querySelectorAll('input[type="radio"]'),o=i.captionsButton.querySelectorAll("."+i.options.classPrefix+"captions-selected"),s=i.captionsButton.querySelector('input[value="'+e+'"]'),r=0,a=n.length;r<a;r++)n[r].checked=!1;for(var l=0,u=o.length;l<u;l++)(0,c.removeClass)(o[l],i.options.classPrefix+"captions-selected");s.checked=!0;for(var h=(0,c.siblings)(s,(function(e){return(0,c.hasClass)(e,i.options.classPrefix+"captions-selector-label")})),p=0,f=h.length;p<f;p++)(0,c.addClass)(h[p],i.options.classPrefix+"captions-selected");if("none"===e)i.selectedTrack=null,(0,c.removeClass)(i.captionsButton,i.options.classPrefix+"captions-enabled");else for(var m=0,v=i.tracks.length;m<v;m++){var g=i.tracks[m];if(g.trackId===e){null===i.selectedTrack&&(0,c.addClass)(i.captionsButton,i.options.classPrefix+"captions-enabled"),i.selectedTrack=g,i.captions.setAttribute("lang",i.selectedTrack.srclang),i.displayCaptions();break}}var y=(0,d.createEvent)("captionschange",i.media);y.detail.caption=i.selectedTrack,i.media.dispatchEvent(y),t||setTimeout((function(){i.getElement(i.container).focus()}),500)},loadNextTrack:function(){var e=this;e.trackToLoad++,e.trackToLoad<e.tracks.length?(e.isLoadingTrack=!0,e.loadTrack(e.trackToLoad)):(e.isLoadingTrack=!1,e.checkForTracks())},loadTrack:function(e){var t=this,i=t.tracks[e];void 0===i||void 0===i.src&&""===i.src||(0,c.ajax)(i.src,"text",(function(e){i.entries="string"==typeof e&&/<tt\s+xml/gi.exec(e)?o.default.TrackFormatParser.dfxp.parse(e):o.default.TrackFormatParser.webvtt.parse(e),i.isLoaded=!0,t.enableTrackButton(i),t.loadNextTrack(),"slides"===i.kind?t.setupSlides(i):"chapters"!==i.kind||t.hasChapters||(t.drawChapters(i),t.hasChapters=!0)}),(function(){t.removeTrackButton(i.trackId),t.loadNextTrack()}))},enableTrackButton:function(e){var t=this,i=e.srclang,r=n.default.getElementById(""+e.trackId);if(r){var a=e.label;""===a&&(a=s.default.t(o.default.language.codes[i])||i),r.disabled=!1;for(var l=(0,c.siblings)(r,(function(e){return(0,c.hasClass)(e,t.options.classPrefix+"captions-selector-label")})),u=0,h=l.length;u<h;u++)l[u].innerHTML=a;if(t.options.startLanguage===i){r.checked=!0;var p=(0,d.createEvent)("click",r);r.dispatchEvent(p)}}},removeTrackButton:function(e){var t=n.default.getElementById(""+e);if(t){var i=t.closest("li");i&&i.remove()}},addTrackButton:function(e,t,i){var n=this;""===i&&(i=s.default.t(o.default.language.codes[t])||t),n.captionsButton.querySelector("ul").innerHTML+='<li class="'+n.options.classPrefix+'captions-selector-list-item"><input type="radio" class="'+n.options.classPrefix+'captions-selector-input" name="'+n.id+'_captions" id="'+e+'" value="'+e+'" disabled><label class="'+n.options.classPrefix+'captions-selector-label"for="'+e+'">'+i+" (loading)</label></li>"},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(var i=0,n=e.tracks.length;i<n;i++){var o=e.tracks[i].kind;if(("subtitles"===o||"captions"===o)&&e.tracks[i].isLoaded){t=!0;break}}e.captionsButton.style.display=t?"":"none",e.setControlsSize()}},displayCaptions:function(){if(void 0!==this.tracks){var e=this,t=e.selectedTrack;if(null!==t&&t.isLoaded){var i=e.searchTrackPosition(t.entries,e.media.currentTime);if(i>-1){var o=t.entries[i].text;return"function"==typeof e.options.captionTextPreprocessor&&(o=e.options.captionTextPreprocessor(o)),e.captionsText.innerHTML=function(e){var t=n.default.createElement("div");t.innerHTML=e;for(var i=t.getElementsByTagName("script"),o=i.length;o--;)i[o].remove();for(var s=t.getElementsByTagName("*"),r=0,a=s.length;r<a;r++)for(var l=s[r].attributes,d=Array.prototype.slice.call(l),c=0,u=d.length;c<u;c++)d[c].name.startsWith("on")||d[c].value.startsWith("javascript")?s[r].remove():"style"===d[c].name&&s[r].removeAttribute(d[c].name);return t.innerHTML}(o),e.captionsText.className=e.options.classPrefix+"captions-text "+(t.entries[i].identifier||""),e.captions.style.display="",void(e.captions.style.height="0px")}e.captions.style.display="none"}else e.captions.style.display="none"}},setupSlides:function(e){var t=this;t.slides=e,t.slides.entries.imgs=[t.slides.entries.length],t.showSlide(0)},showSlide:function(e){var t=this,i=this;if(void 0!==i.tracks&&void 0!==i.slidesContainer){var o=i.slides.entries[e].text,s=i.slides.entries[e].imgs;if(void 0===s||void 0===s.fadeIn){var r=n.default.createElement("img");r.src=o,r.addEventListener("load",(function(){var e=t,n=(0,c.siblings)(e,(function(e){return n(e)}));e.style.display="none",i.slidesContainer.innerHTML+=e.innerHTML,(0,c.fadeIn)(i.slidesContainer.querySelector(r));for(var o=0,s=n.length;o<s;o++)(0,c.fadeOut)(n[o],400)})),i.slides.entries[e].imgs=s=r}else if(!(0,c.visible)(s)){var a=(0,c.siblings)(self,(function(e){return a(e)}));(0,c.fadeIn)(i.slidesContainer.querySelector(s));for(var l=0,d=a.length;l<d;l++)(0,c.fadeOut)(a[l])}}},displaySlides:function(){var e=this;if(void 0!==this.slides){var t=e.slides,i=e.searchTrackPosition(t.entries,e.media.currentTime);i>-1&&e.showSlide(i)}},drawChapters:function(e){var t=this,i=e.entries.length;if(i){t.chaptersButton.querySelector("ul").innerHTML="";for(var n=0;n<i;n++)t.chaptersButton.querySelector("ul").innerHTML+='<li class="'+t.options.classPrefix+'chapters-selector-list-item" role="menuitemcheckbox" aria-l
24ive="polite" aria-disabled="false" aria-checked="false"><input type="radio" class="'+t.options.classPrefix+'captions-selector-input" name="'+t.id+'_chapters" id="'+t.id+"_chapters_"+n+'" value="'+e.entries[n].start+'" disabled><label class="'+t.options.classPrefix+'chapters-selector-label"for="'+t.id+"_chapters_"+n+'">'+e.entries[n].text+"</label></li>";for(var o=t.chaptersButton.querySelectorAll('input[type="radio"]'),s=t.chaptersButton.querySelectorAll("."+t.options.classPrefix+"chapters-selector-label"),r=0,a=o.length;r<a;r++)o[r].disabled=!1,o[r].checked=!1,o[r].addEventListener("click",(function(e){var i=t.chaptersButton.querySelectorAll("li"),n=(0,c.siblings)(this,(function(e){return(0,c.hasClass)(e,t.options.classPrefix+"chapters-selector-label")}))[0];this.checked=!0,this.parentNode.setAttribute("aria-checked",!0),(0,c.addClass)(n,t.options.classPrefix+"chapters-selected"),(0,c.removeClass)(t.chaptersButton.querySelector("."+t.options.classPrefix+"chapters-selected"),t.options.classPrefix+"chapters-selected");for(var o=0,s=i.length;o<s;o++)i[o].setAttribute("aria-checked",!1);void 0===(e.keyCode||e.which)&&setTimeout((function(){t.getElement(t.container).focus()}),500),t.media.setCurrentTime(parseFloat(this.value)),t.media.paused&&t.media.play()}));for(var l=0,u=s.length;l<u;l++)s[l].addEventListener("click",(function(e){var t=(0,c.siblings)(this,(function(e){return"INPUT"===e.tagName}))[0],i=(0,d.createEvent)("click",t);t.dispatchEvent(i),e.preventDefault()}))}},searchTrackPosition:function(e,t){for(var i=0,n=e.length-1,o=void 0,s=void 0,r=void 0;i<=n;){if(s=e[o=i+n>>1].start,r=e[o].stop,t>=s&&t<r)return o;s<t?i=o+1:s>t&&(n=o-1)}return-1}}),o.default.language={codes:{af:"mejs.afrikaans",sq:"mejs.albanian",ar:"mejs.arabic",be:"mejs.belarusian",bg:"mejs.bulgarian",ca:"mejs.catalan",zh:"mejs.chinese","zh-cn":"mejs.chinese-simplified","zh-tw":"mejs.chines-traditional",hr:"mejs.croatian",cs:"mejs.czech",da:"mejs.danish",nl:"mejs.dutch",en:"mejs.english",et:"mejs.estonian",fl:"mejs.filipino",fi:"mejs.finnish",fr:"mejs.french",gl:"mejs.galician",de:"mejs.german",el:"mejs.greek",ht:"mejs.haitian-creole",iw:"mejs.hebrew",hi:"mejs.hindi",hu:"mejs.hungarian",is:"mejs.icelandic",id:"mejs.indonesian",ga:"mejs.irish",it:"mejs.italian",ja:"mejs.japanese",ko:"mejs.korean",lv:"mejs.latvian",lt:"mejs.lithuanian",mk:"mejs.macedonian",ms:"mejs.malay",mt:"mejs.maltese",no:"mejs.norwegian",fa:"mejs.persian",pl:"mejs.polish",pt:"mejs.portuguese",ro:"mejs.romanian",ru:"mejs.russian",sr:"mejs.serbian",sk:"mejs.slovak",sl:"mejs.slovenian",es:"mejs.spanish",sw:"mejs.swahili",sv:"mejs.swedish",tl:"mejs.tagalog",th:"mejs.thai",tr:"mejs.turkish",uk:"mejs.ukrainian",vi:"mejs.vietnamese",cy:"mejs.welsh",yi:"mejs.yiddish"}},o.default.TrackFormatParser={webvtt:{pattern:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t=e.split(/\r?\n/),i=[],n=void 0,o=void 0,s=void 0,r=0,a=t.length;r<a;r++){if((n=this.pattern.exec(t[r]))&&r<t.length){for(r-1>=0&&""!==t[r-1]&&(s=t[r-1]),o=t[++r],r++;""!==t[r]&&r<t.length;)o=o+"\n"+t[r],r++;o=null===o?"":o.trim().replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),i.push({identifier:s,start:0===(0,l.convertSMPTEtoSeconds)(n[1])?.2:(0,l.convertSMPTEtoSeconds)(n[1]),stop:(0,l.convertSMPTEtoSeconds)(n[3]),text:o,settings:n[5]})}s=""}return i}},dfxp:{parse:function(e){var t=(e=$(e).filter("tt")).firstChild,i=t.querySelectorAll("p"),n=e.getElementById(""+t.attr("style")),o=[],s=void 0;if(n.length){n.removeAttribute("id");var r=n.attributes;if(r.length){s={};for(var a=0,d=r.length;a<d;a++)s[r[a].name.split(":")[1]]=r[a].value}}for(var c=0,u=i.length;c<u;c++){var h=void 0,p={start:null,stop:null,style:null,text:null};if(i.eq(c).attr("begin")&&(p.start=(0,l.convertSMPTEtoSeconds)(i.eq(c).attr("begin"))),!p.start&&i.eq(c-1).attr("end")&&(p.start=(0,l.convertSMPTEtoSeconds)(i.eq(c-1).attr("end"))),i.eq(c).attr("end")&&(p.stop=(0,l.convertSMPTEtoSeconds)(i.eq(c).attr("end"))),!p.stop&&i.eq(c+1).attr("begin")&&(p.stop=(0,l.convertSMPTEtoSeconds)(i.eq(c+1).attr("begin"))),s)for(var f in h="",s)h+=f+":"+s[f]+";";h&&(p.style=h),0===p.start&&(p.start=.2),p.text=i.eq(c).innerHTML.trim().replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),o.push(p)}return o}}}},{16:16,2:2,26:26,27:27,30:30,5:5,7:7}],14:[function(e,t,i){"use strict";
vendor: 17,790 bytes, line 24
24var n=c(e(2)),o=e(16),s=c(o),r=c(e(5)),a=e(25),l=e(27),d=e(26);function c(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{muteText:null,unmuteText:null,allyVolumeControlText:null,hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical",startVolume:.8}),Object.assign(s.default.prototype,{buildvolume:function(e,t,i,o){if(!a.IS_ANDROID&&!a.IS_IOS||!this.options.hideVolumeOnTouchDevices){var s=this,c=s.isVideo?s.options.videoVolume:s.options.audioVolume,u=(0,l.isString)(s.options.muteText)?s.options.muteText:r.default.t("mejs.mute"),h=(0,l.isString)(s.options.unmuteText)?s.options.unmuteText:r.default.t("mejs.unmute"),p=(0,l.isString)(s.options.allyVolumeControlText)?s.options.allyVolumeControlText:r.default.t("mejs.volume-help-text"),f=n.default.createElement("div");if(f.className=s.options.classPrefix+"button "+s.options.classPrefix+"volume-button "+s.options.classPrefix+"mute",f.innerHTML="horizontal"===c?'<button type="button" aria-controls="'+s.id+'" title="'+u+'" aria-label="'+u+'" tabindex="0"></button>':'<button type="button" aria-controls="'+s.id+'" title="'+u+'" aria-label="'+u+'" tabindex="0"></button><a href="javascript:void(0);" class="'+s.options.classPrefix+'volume-slider" aria-label="'+r.default.t("mejs.volume-slider")+'" aria-valuemin="0" aria-valuemax="100" role="slider" aria-orientation="vertical"><span class="'+s.options.classPrefix+'offscreen">'+p+'</span><div class="'+s.options.classPrefix+'volume-total"><div class="'+s.options.classPrefix+'volume-current"></div><div class="'+s.options.classPrefix+'volume-handle"></div></div></a>',s.addControlElement(f,"volume"),s.options.keyActions.push({keys:[38],action:function(e){var t=e.getElement(e.container).querySelector("."+s.options.classPrefix+"volume-slider");t&&t.matches(":focus")&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer());var i=Math.min(e.volume+.1,1);e.setVolume(i),i>0&&e.setMuted(!1)}},{keys:[40],action:function(e){var t=e.getElement(e.container).querySelector("."+s.options.classPrefix+"volume-slider");t&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer());var i=Math.max(e.volume-.1,0);e.setVolume(i),i<=.1&&e.setMuted(!0)}},{keys:[77],action:function(e){var t=e.getElement(e.container).querySelector("."+s.options.classPrefix+"volume-slider");t&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer()),e.media.muted?e.setMuted(!1):e.setMuted(!0)}}),"horizontal"===c){var m=n.default.createElement("a");m.className=s.options.classPrefix+"horizontal-volume-slider",m.href="javascript:void(0);",m.setAttribute("aria-label",r.default.t("mejs.volume-slider")),m.setAttribute("aria-valuemin",0),m.setAttribute("aria-valuemax",100),m.setAttribute("aria-valuenow",100),m.setAttribute("role","slider"),m.innerHTML+='<span class="'+s.options.classPrefix+'offscreen">'+p+'</span><div class="'+s.options.classPrefix+'horizontal-volume-total"><div class="'+s.options.classPrefix+'horizontal-volume-current"></div><div class="'+s.options.classPrefix+'horizontal-volume-handle"></div></div>',f.parentNode.insertBefore(m,f.nextSibling)}var v=!1,g=!1,y=!1,_="vertical"===c?s.getElement(s.container).querySelector("."+s.options.classPrefix+"volume-slider"):s.getElement(s.container).querySelector("."+s.options.classPrefix+"horizontal-volume-slider"),b="vertical"===c?s.getElement(s.container).querySelector("."+s.options.classPrefix+"volume-total"):s.getElement(s.container).querySelector("."+s.options.classPrefix+"horizontal-volume-total"),w="vertical"===c?s.getElement(s.container).querySelector("."+s.options.classPrefix+"volume-current"):s.getElement(s.container).querySelector("."+s.options.classPrefix+"horizontal-volume-current"),x="vertical"===c?s.getElement(s.container).querySelector("."+s.options.classPrefix+"volume-handle"):s.getElement(s.container).querySelector("."+s.options.classPrefix+"horizontal-volume-handle"),E=function(e){if(null!==e&&!isNaN(e)&&void 0!==e){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,d.removeClass)(f,s.options.classPrefix+"mute"),(0,d.addClass)(f,s.options.classPrefix+"unmute");var t=f.firstElementChild;t.setAttribute("title",h),t.setAttribute("aria-label",h)}else{(0,d.removeClass)(f,s.options.classPrefix+"unmute"),(0,d.addClass)(f,s.options.classPrefix+"mute");var i=f.firstElementChild;i.setAttribute("title",u),i.setAttribute("aria-label",u)}var n=100*e+"%",o=getComputedStyle(x);"vertical"===c?(w.style.bottom=0,w.style.height=n,x.style.bottom=n,x.style.marginBottom=-parseFloat(o.height)/2+"px"):(w.style.left=0,w.style.width=n,x.style.left=n,x.style.marginLeft=-parseFloat(o.width)/2+"px")}},T=function(e){var t=(0,d.offset)(b),i=getComputedStyle(b);y=!0;var n=null;if("vertical"===c){var o=parseFloat(i.height);if(n=(o-(e.pageY-t.top))/o,0===t.top||0===t.left)return}else{var r=parseFloat(i.width);n=(e.pageX-t.left)/r}n=Math.max(0,n),n=Math.min(n,1),E(n),s.setMuted(0===n),s.setVolume(n),e.preventDefault(),e.stopPropagation()},S=function(){s.muted?(E(0),(0,d.removeClass)(f,s.options.classPrefix+"mute"),(0,d.addClass)(f,s.options.classPrefix+"unmute")):(E(o.volume),(0,d.removeClass)(f,s.options.classPrefix+"unmute"),(0,d.addClass)(f,s.options.classPrefix+"mute"))};e.getElement(e.container).addEventListener("keydown",(function(e){!!e.target.closest("."+s.options.classPrefix+"container")||"vertical"!==c||(_.style.display="none")})),f.addEventListener("mouseenter",(function(e){e.target===f&&(_.style.display="block",g=!0,e.preventDefault(),e.stopPropagation())})),f.addEventListener("focusin",(function(){_.style.display="block",g=!0})),f.addEventListener("focusout",(function(e){e.relatedTarget&&(!e.relatedTarget||e.relatedTarget.matches("."+s.options.classPrefix+"volume-slider"))||"vertical"!==c||(_.style.display="none")})),f.addEventListener("mouseleave",(function(){g=!1,v||"vertical"!==c||(_.style.display="none")})),f.addEventListener("focusout",(function(){g=!1})),f.addEventListener("keydown",(function(e){if(s.options.enableKeyboard&&s.options.keyActions.length){var t=e.which||e.keyCode||0,i=o.volume;switch(t){case 38:i=Math.min(i+.1,1);break;case 40:i=Math.max(0,i-.1);break;default:return!0}v=!1,E(i),o.setVolume(i),e.preventDefault(),e.stopPropagation()}})),f.querySelector("button").addEventListener("click",(function(){o.setMuted(!o.muted);var e=(0,l.createEvent)("volumechange",o);o.dispatchEvent(e)})),_.addEventListener("dragstart",(function(){return!1})),_.addEventListener("mouseover",(function(){g=!0})),_.addEventListener("focusin",(function(){_.style.display="block",g=!0})),_.addEventListener("focusout",(function(){g=!1,v||"vertical"!==c||(_.style.display="none")})),_.addEventListener("mousedown",(function(e){T(e),s.globalBind("mousemove.vol",(function(e){var t=e.target;v&&(t===_||t.closest("vertical"===c?"."+s.options.classPrefix+"volume-slider":"."+s.options.classPrefix+"horizontal-volume-slider"))&&T(e)})),s.globalBind("mouseup.vol",(function(){v=!1,g||"vertical"!==c||(_.style.display="none")})),v=!0,e.preventDefault(),e.stopPropagation()})),o.addEventListener("volumechange",(function(e){var t;v||S(),t=Math.floor(100*o.volume),_.setAttribute("aria-valuenow",t),_.setAttribute("aria-valuetext",t+"%")}));var k=!1;o.addEventListener("rendererready",(function(){y||setTimeout((function(){k=!0,(0===e.options.startVolume||o.originalNode.muted)&&(o.setMuted(!0),e.options.startVolume=0),o.setVolume(e.options.startVolume),s.setControlsSize()}),250)})),o.addEventListener("loadedmetadata",(function(){setTimeout((function(){y||k||((0===e.options.startVolume||o.originalNode.muted)&&o.setMuted(!0),o.setVolume(e.options.startVolume),s.setControlsSize()),k=!1}),250)})),(0===e.options.startVolume||o.originalNode.muted)&&(o.setMuted(!0),e.options.startVolume=0,S()),s.getElement(s.container).addEventListener("controlsresize",(function(){S()}))}}})},{16:16,2:2,25:25,26:26,27:27,5:5}],15:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.EN={"mejs.plural-form":1,"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}},{}],16:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.config=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=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}}(),s=v(e(3)),r=v(e(2)),a=v(e(7)),l=v(e(6)),d=v(e(17)),c=v(e(5)),u=e(25),h=e(27),p=e(30),f=e(28),m=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(e(26));function v(e){return e&&e.__esModule?e:{default:e}}a.default.mepIndex=0,a.default.players={};var g=i.config={poster:"",showPosterWhenEnded:!1,showPosterWhenPaused:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:40,defaultSeekBackwardInterval:function(e){return.05*e.getDuration()},defaultSeekForwardInterval:function(e){return.05*e.getDuration()},setDimensions:!0,audioWidth:-1,audioHeight:-1,loop:!1,autoRewind:!0,enableAutosize:!0,timeFormat:"",alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,hideVideoControlsOnPause:!1,clickToPlayPause:!0,controlsTimeoutDefault:1500,controlsTimeoutMouseEnter:2500,controlsTimeoutMouseLeave:1e3,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],useDefaultControls:!1,isVideo:!0,stretching:"auto",classPrefix:"mejs__",enableKeyboard:!0,pauseOtherPlayers:!0,secondsDecimalLength:0,customError:null,keyActions:[{keys:[32,179],action:function(e){u.IS_FIREFOX||(e.paused||e.ended?e.play():e.pause())}}]};a.default.MepDefaults=g;var y=function(){function e(t,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this,o="string"==typeof t?r.default.getElementById(t):t;if(!(n instanceof e))return new e(o,i);if(n.node=n.media=o,n.node){if(n.media.player)return n.media.player;if(n.hasFocus=!1,n.controlsAreVisible=!0,n.controlsEnabled=!0,n.controlsTimer=null,n.currentMediaTime=0,n.proxy=null,void 0===i){var s=n.node.getAttribute("data-mejsoptions");i=s?JSON.parse(s):{}}return n.options=Object.assign({},g,i),n.options.loop&&!n.media.getAttribute("loop")?(n.media.loop=!0,n.node.loop=!0):n.media.loop&&(n.options.loop=!0),n.options.timeFormat||(n.options.timeFormat="mm:ss",n.options.alwaysShowHours&&(n.options.timeFormat="hh:mm:ss"),n.options.showTimecodeFrameCount&&(n.options.timeFormat+=":ff")),(0,p.calculateTimeFormat)(0,n.options,n.options.framesPerSecond||25),n.id="mep_"+a.default.mepIndex++,a.default.players[n.id]=n,n.init(),n}}return o(e,[{key:"getElement",value:function(e){return e}},{key:"init",value:function(){var e=this,t=Object.assign({},e.options,{success:function(t,i){e._meReady(t,i)},error:function(t){e._handleError(t)}}),i=e.node.tagName.toLowerCase();if(e.isDynamic="audio"!==i&&"video"!==i&&"iframe"!==i,e.isVideo=(e.isDynamic||"audio"!==i)&&e.options.isVideo,e.mediaFiles=null,e.trackFiles=null,u.IS_IPAD&&e.options.iPadUseNativeControls||u.IS_IPHONE&&e.options.iPhoneUseNativeControls)e.node.setAttribute("controls",!0),u.IS_IPAD&&e.node.getAttribute("autoplay")&&e.play();else if(!e.isVideo&&(e.isVideo||!e.options.features.length&&!e.options.useDefaultControls)||u.IS_ANDROID&&e.options.AndroidUseNativeControls)e.isVideo||e.options.features.length||e.options.useDefaultControls||(e.node.style.display="none");else{e.node.removeAttribute("controls");var n=e.isVideo?c.default.t("mejs.video-player"):c.default.t("mejs.audio-player"),o=r.default.createElement("span");if(o.className=e.options.classPrefix+"offscreen",o.innerText=n,e.media.parentNode.insertBefore(o,e.media),e.container=r.default.createElement("div"),e.getElement(e.container).id=e.id,e.getElement(e.container).className=e.options.classPrefix+"container "+e.options.classPrefix+"container-keyboard-inactive "+e.media.className,e.getElement(e.container).tabIndex=0,e.getElement(e.container).setAttribute("role","application"),e.getElement(e.container).setAttribute("aria-label",n),e.getElement(e.container).innerHTML='<div class="'+e.options.classPrefix+'inner"><div class="'+e.options.classPrefix+'mediaelement"></div><div class="'+e.options.classPrefix+'layers"></div><div class="'+e.options.classPrefix+'controls"></div></div>',e.getElement(e.container).addEventListener("focus",(function(t){if(!e.controlsAreVisible&&!e.hasFocus&&e.controlsEnabled){e.showControls(!0);var i=(0,h.isNodeAfter)(t.relatedTarget,e.getElement(e.container))?"."+e.options.classPrefix+"controls ."+e.options.classPrefix+"button:last-child > button":"."+e.options.classPrefix+"playpause-button > button";e.getElement(e.container).querySelector(i).focus()}})),e.node.parentNode.insertBefore(e.getElement(e.container),e.node),e.options.features.length||e.options.useDefaultControls||(e.getElement(e.container).style.background="transparent",e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls").style.display="none"),e.isVideo&&"fill"===e.options.stretching&&!m.hasClass(e.getElement(e.container).parentNode,e.options.classPrefix+"fill-container")){e.outerContainer=e.media.parentNode;var s=r.default.createElement("div");s.className=e.options.classPrefix+"fill-container",e.getElement(e.container).parentNode.insertBefore(s,e.getElement(e.container)),s.appendChild(e.getElement(e.container))}u.IS_ANDROID&&m.addClass(e.getElement(e.container),e.options.classPrefix+"android"),u.IS_IOS&&m.addClass(e.getElement(e.container),e.options.classPrefix+"ios"),u.IS_IPAD&&m.addClass(e.getElement(e.container),e.options.classPrefix+"ipad"),u.IS_IPHONE&&m.addClass(e.getElement(e.container),e.options.classPrefix+"iphone"),m.addClass(e.getElement(e.container),e.isVideo?e.options.classPrefix+"video":e.options.classPrefix+"audio"),e.getElement(e.container).querySelector("."+e.options.classPrefix+"mediaelement").appendChild(e.node),e.media.player=e,e.controls=e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls"),e.layers=e.getElement(e.container).querySelector("."+e.options.classPrefix+"layers");var d=e.isVideo?"video":"audio",p=d.substring(0,1).toUpperCase()+d.substring(1);e.options[d+"Width"]>0||e.options[d+"Width"].toString().indexOf("%")>-1?e.width=e.options[d+"Width"]:""!==e.node.style.width&&null!==e.node.style.width?e.width=e.node.style.width:e.node.getAttribute("width")?e.width=e.node.getAttribute("width"):e.width=e.options["default"+p+"Width"],e.options[d+"Height"]>0||e.options[d+"Height"].toString().indexOf("%")>-1?e.height=e.options[d+"Height"]:""!==e.node.style.height&&null!==e.node.style.height?e.height=e.node.style.height:e.node.getAttribute("height")?e.height=e.node.getAttribute("height"):e.height=e.options["default"+p+"Height"],e.initialAspectRatio=e.height>=e.width?e.width/e.height:e.height/e.width,e.setPlayerSize(e.width,e.height),t.pluginWidth=e.width,t.pluginHeight=e.height}if(a.default.MepDefaults=t,new l.default(e.media,t,e.mediaFiles),void 0!==e.getElement(e.container)&&e.options.features.length&&e.controlsAreVisible&&!e.options.hideVideoControlsOnLoad){var f=(0,h.createEvent)("c
24ontrolsshown",e.getElement(e.container));e.getElement(e.container).dispatchEvent(f)}}},{key:"showControls",value:function(e){var t=this;if(e=void 0===e||e,!t.controlsAreVisible&&t.isVideo){if(e)!function(){m.fadeIn(t.getElement(t.controls),200,(function(){m.removeClass(t.getElement(t.controls),t.options.classPrefix+"offscreen");var e=(0,h.createEvent)("controlsshown",t.getElement(t.container));t.getElement(t.container).dispatchEvent(e)}));for(var e=t.getElement(t.container).querySelectorAll("."+t.options.classPrefix+"control"),i=function(i,n){m.fadeIn(e[i],200,(function(){m.removeClass(e[i],t.options.classPrefix+"offscreen")}))},n=0,o=e.length;n<o;n++)i(n)}();else{m.removeClass(t.getElement(t.controls),t.options.classPrefix+"offscreen"),t.getElement(t.controls).style.display="",t.getElement(t.controls).style.opacity=1;for(var i=t.getElement(t.container).querySelectorAll("."+t.options.classPrefix+"control"),n=0,o=i.length;n<o;n++)m.removeClass(i[n],t.options.classPrefix+"offscreen"),i[n].style.display="";var s=(0,h.createEvent)("controlsshown",t.getElement(t.container));t.getElement(t.container).dispatchEvent(s)}t.controlsAreVisible=!0,t.setControlsSize()}}},{key:"hideControls",value:function(e,t){var i=this;if(e=void 0===e||e,!0===t||!(!i.controlsAreVisible||i.options.alwaysShowControls||i.paused&&4===i.readyState&&(!i.options.hideVideoControlsOnLoad&&i.currentTime<=0||!i.options.hideVideoControlsOnPause&&i.currentTime>0)||i.isVideo&&!i.options.hideVideoControlsOnLoad&&!i.readyState||i.ended)){if(e)!function(){m.fadeOut(i.getElement(i.controls),200,(function(){m.addClass(i.getElement(i.controls),i.options.classPrefix+"offscreen"),i.getElement(i.controls).style.display="";var e=(0,h.createEvent)("controlshidden",i.getElement(i.container));i.getElement(i.container).dispatchEvent(e)}));for(var e=i.getElement(i.container).querySelectorAll("."+i.options.classPrefix+"control"),t=function(t,n){m.fadeOut(e[t],200,(function(){m.addClass(e[t],i.options.classPrefix+"offscreen"),e[t].style.display=""}))},n=0,o=e.length;n<o;n++)t(n)}();else{m.addClass(i.getElement(i.controls),i.options.classPrefix+"offscreen"),i.getElement(i.controls).style.display="",i.getElement(i.controls).style.opacity=0;for(var n=i.getElement(i.container).querySelectorAll("."+i.options.classPrefix+"control"),o=0,s=n.length;o<s;o++)m.addClass(n[o],i.options.classPrefix+"offscreen"),n[o].style.display="";var r=(0,h.createEvent)("controlshidden",i.getElement(i.container));i.getElement(i.container).dispatchEvent(r)}i.controlsAreVisible=!1}}},{key:"startControlsTimer",value:function(e){var t=this;e=void 0!==e?e:t.options.controlsTimeoutDefault,t.killControlsTimer("start"),t.controlsTimer=setTimeout((function(){t.hideControls(),t.killControlsTimer("hide")}),e)}},{key:"killControlsTimer",value:function(){var e=this;null!==e.controlsTimer&&(clearTimeout(e.controlsTimer),delete e.controlsTimer,e.controlsTimer=null)}},{key:"disableControls",value:function(){var e=this;e.killControlsTimer(),e.controlsEnabled=!1,e.hideControls(!1,!0)}},{key:"enableControls",value:function(){this.controlsEnabled=!0,this.showControls(!1)}},{key:"_setDefaultPlayer",value:function(){var e=this;e.proxy&&e.proxy.pause(),e.proxy=new d.default(e),e.media.addEventListener("loadedmetadata",(function(){e.getCurrentTime()>0&&e.currentMediaTime>0&&(e.setCurrentTime(e.currentMediaTime),u.IS_IOS||u.IS_ANDROID||e.play())}))}},{key:"_meReady",value:function(e,t){var i=this,n=t.getAttribute("autoplay"),o=!(null==n||"false"===n),l=null!==e.rendererName&&/(native|html5)/i.test(i.media.rendererName);if(i.getElement(i.controls)&&i.enableControls(),i.getElement(i.container)&&i.getElement(i.container).querySelector("."+i.options.classPrefix+"overlay-play")&&(i.getElement(i.container).querySelector("."+i.options.classPrefix+"overlay-play").style.display=""),!i.created){if(i.created=!0,i.media=e,i.domNode=t,!(u.IS_ANDROID&&i.options.AndroidUseNativeControls||u.IS_IPAD&&i.options.iPadUseNativeControls||u.IS_IPHONE&&i.options.iPhoneUseNativeControls)){if(!i.isVideo&&!i.options.features.length&&!i.options.useDefaultControls)return o&&l&&i.play(),void(i.options.success&&("string"==typeof i.options.success?s.default[i.options.success](i.media,i.domNo
vendor: 23,398 bytes, line 24
24de,i):i.options.success(i.media,i.domNode,i)));if(i.featurePosition={},i._setDefaultPlayer(),i.buildposter(i,i.getElement(i.controls),i.getElement(i.layers),i.media),i.buildkeyboard(i,i.getElement(i.controls),i.getElement(i.layers),i.media),i.buildoverlays(i,i.getElement(i.controls),i.getElement(i.layers),i.media),i.options.useDefaultControls){var d=["playpause","current","progress","duration","tracks","volume","fullscreen"];i.options.features=d.concat(i.options.features.filter((function(e){return-1===d.indexOf(e)})))}i.buildfeatures(i,i.getElement(i.controls),i.getElement(i.layers),i.media);var c=(0,h.createEvent)("controlsready",i.getElement(i.container));i.getElement(i.container).dispatchEvent(c),i.setPlayerSize(i.width,i.height),i.setControlsSize(),i.isVideo&&(i.clickToPlayPauseCallback=function(){if(i.options.clickToPlayPause){var e=i.getElement(i.container).querySelector("."+i.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");i.paused&&t?i.pause():i.paused?i.play():i.pause(),e.setAttribute("aria-pressed",!t),i.getElement(i.container).focus()}},i.createIframeLayer(),i.media.addEventListener("click",i.clickToPlayPauseCallback),!u.IS_ANDROID&&!u.IS_IOS||i.options.alwaysShowControls?(i.getElement(i.container).addEventListener("mouseenter",(function(){i.controlsEnabled&&(i.options.alwaysShowControls||(i.killControlsTimer("enter"),i.showControls(),i.startControlsTimer(i.options.controlsTimeoutMouseEnter)))})),i.getElement(i.container).addEventListener("mousemove",(function(){i.controlsEnabled&&(i.controlsAreVisible||i.showControls(),i.options.alwaysShowControls||i.startControlsTimer(i.options.controlsTimeoutMouseEnter))})),i.getElement(i.container).addEventListener("mouseleave",(function(){i.controlsEnabled&&(i.paused||i.options.alwaysShowControls||i.startControlsTimer(i.options.controlsTimeoutMouseLeave))}))):i.node.addEventListener("touchstart",(function(){i.controlsAreVisible?i.hideControls(!1):i.controlsEnabled&&i.showControls(!1)}),!!u.SUPPORT_PASSIVE_EVENT&&{passive:!0}),i.options.hideVideoControlsOnLoad&&i.hideControls(!1),i.options.enableAutosize&&i.media.addEventListener("loadedmetadata",(function(e){var t=void 0!==e?e.detail.target||e.target:i.media;i.options.videoHeight<=0&&!i.domNode.getAttribute("height")&&!i.domNode.style.height&&null!==t&&!isNaN(t.videoHeight)&&(i.setPlayerSize(t.videoWidth,t.videoHeight),i.setControlsSize(),i.media.setSize(t.videoWidth,t.videoHeight))}))),i.media.addEventListener("play",(function(){for(var e in i.hasFocus=!0,a.default.players)if(a.default.players.hasOwnProperty(e)){var t=a.default.players[e];t.id===i.id||!i.options.pauseOtherPlayers||t.paused||t.ended||!0===t.options.ignorePauseOtherPlayersOption||(t.pause(),t.hasFocus=!1)}u.IS_ANDROID||u.IS_IOS||i.options.alwaysShowControls||!i.isVideo||i.hideControls()})),i.media.addEventListener("ended",(function(){if(i.options.autoRewind)try{i.setCurrentTime(0),setTimeout((function(){var e=i.getElement(i.container).querySelector("."+i.options.classPrefix+"overlay-loading");e&&e.parentNode&&(e.parentNode.style.display="none")}),20)}catch(e){}"function"==typeof i.media.renderer.stop?i.media.renderer.stop():i.pause(),i.setProgressRail&&i.setProgressRail(),i.setCurrentRail&&i.setCurrentRail(),i.options.loop?i.play():!i.options.alwaysShowControls&&i.controlsEnabled&&i.showControls()})),i.media.addEventListener("loadedmetadata",(function(){(0,p.calculateTimeFormat)(i.getDuration(),i.options,i.options.framesPerSecond||25),i.updateDuration&&i.updateDuration(),i.updateCurrent&&i.updateCurrent(),i.isFullScreen||(i.setPlayerSize(i.width,i.height),i.setControlsSize())}));var f=null;i.media.addEventListener("timeupdate",(function(){isNaN(i.getDuration())||f===i.getDuration()||(f=i.getDuration(),(0,p.calculateTimeFormat)(f,i.options,i.options.framesPerSecond||25),i.updateDuration&&i.updateDuration(),i.updateCurrent&&i.updateCurrent(),i.setControlsSize())})),i.getElement(i.container).addEventListener("click",(function(e){m.addClass(e.currentTarget,i.options.classPrefix+"container-keyboard-inactive")})),i.getElement(i.container).addEventListener("focusin",(function(e){m.removeClass(e.currentTarget,i.options.classPrefix+"container-keyboard-inactive"),!i.isVideo||u.IS_ANDROID||u.IS_IOS||!i.controlsEnabled||i.options.alwaysShowControls||(i.killControlsTimer("enter"),i.showControls(),i.startControlsTimer(i.options.controlsTimeoutMouseEnter))})),i.getElement(i.container).addEventListener("focusout",(function(e){setTimeout((function(){e.relatedTarget&&i.keyboardAction&&!e.relatedTarget.closest("."+i.options.classPrefix+"container")&&(i.keyboardAction=!1,!i.isVideo||i.options.alwaysShowControls||i.paused||i.startControlsTimer(i.options.controlsTimeoutMouseLeave))}),0)})),setTimeout((function(){i.setPlayerSize(i.width,i.height),i.setControlsSize()}),0),i.globalResizeCallback=function(){i.isFullScreen||u.HAS_TRUE_NATIVE_FULLSCREEN&&r.default.webkitIsFullScreen||i.setPlayerSize(i.width,i.height),i.setControlsSize()},i.globalBind("resize",i.globalResizeCallback)}o&&l&&i.play(),i.options.success&&("string"==typeof i.options.success?s.default[i.options.success](i.media,i.domNode,i):i.options.success(i.media,i.domNode,i))}}},{key:"_handleError",value:function(e,t,i){var n=this,o=n.getElement(n.layers).querySelector("."+n.options.classPrefix+"overlay-play");o&&(o.style.display="none"),n.options.error&&n.options.error(e,t,i),n.getElement(n.container).querySelector("."+n.options.classPrefix+"cannotplay")&&n.getElement(n.container).querySelector("."+n.options.classPrefix+"cannotplay").remove();var s=r.default.createElement("div");s.className=n.options.classPrefix+"cannotplay",s.style.width="100%",s.style.height="100%";var l="function"==typeof n.options.customError?n.options.customError(n.media,n.media.originalNode):n.options.customError,d="";if(!l){var c=n.media.originalNode.getAttribute("poster");if(c&&(d='<img src="'+c+'" alt="'+a.default.i18n.t("mejs.download-file")+'">'),e.message&&(l="<p>"+e.message+"</p>"),e.urls)for(var u=0,h=e.urls.length;u<h;u++){var p=e.urls[u];l+='<a href="'+p.src+'" data-type="'+p.type+'"><span>'+a.default.i18n.t("mejs.download-file")+": "+p.src+"</span></a>"}}l&&n.getElement(n.layers).querySelector("."+n.options.classPrefix+"overlay-error")&&(s.innerHTML=l,n.getElement(n.layers).querySelector("."+n.options.classPrefix+"overlay-error").innerHTML=""+d+s.outerHTML,n.getElement(n.layers).querySelector("."+n.options.classPrefix+"overlay-error").parentNode.style.display="block"),n.controlsEnabled&&n.disableControls()}},{key:"setPlayerSize",value:function(e,t){var i=this;if(!i.options.setDimensions)return!1;switch(void 0!==e&&(i.width=e),void 0!==t&&(i.height=t),i.options.stretching){case"fill":i.isVideo?i.setFillMode():i.setDimensions(i.width,i.height);break;case"responsive":i.setResponsiveMode();break;case"none":i.setDimensions(i.width,i.height);break;default:!0===i.hasFluidMode()?i.setResponsiveMode():i.setDimensions(i.width,i.height)}}},{key:"hasFluidMode",value:function(){var e=this;return-1!==e.height.toString().indexOf("%")||e.node&&e.node.style.maxWidth&&"none"!==e.node.style.maxWidth&&e.node.style.maxWidth!==e.width||e.node&&e.node.currentStyle&&"100%"===e.node.currentStyle.maxWidth}},{key:"setResponsiveMode",value:function(){var e,t=this,i=function(){for(var e=void 0,i=t.getElement(t.container);i;){try{if(u.IS_FIREFOX&&"html"===i.tagName.toLowerCase()&&s.default.self!==s.default.top&&null!==s.default.frameElement)return s.default.frameElement;e=i.parentElement}catch(t){e=i.parentElement}if(e&&m.visible(e))return e;i=e}return null}(),n=i?getComputedStyle(i,null):getComputedStyle(r.default.body,null),o=t.isVideo?t.node.videoWidth&&t.node.videoWidth>0?t.node.videoWidth:t.node.getAttribute("width")?t.node.getAttribute("width"):t.options.defaultVideoWidth:t.options.defaultAudioWidth,a=t.isVideo?t.node.videoHeight&&t.node.videoHeight>0?t.node.videoHeight:t.node.getAttribute("height")?t.node.getAttribute("height"):t.options.defaultVideoHeight:t.options.defaultAudioHeight,l=(e=1,t.isVideo?(e=t.node.videoWidth&&t.node.videoWidth>0&&t.node.videoHeight&&t.node.videoHeight>0?t.height>=t.width?t.node.videoWidth/t.node.videoHeight:t.node.videoHeight/t.node.videoWidth:t.initialAspectRatio,(isNaN(e)||e<.01||e>100)&&(e=1),e):e),d=parseFloat(n.height),c=void 0,h=parseFloat(n.width);if(c=t.isVideo?"100%"===t.height?parseFloat(h*a/o,10):t.height>=t.width?parseFloat(h/l,10):parseFloat(h*l,10):a,isNaN(c)&&(c=d),t.getElement(t.container).parentNode.length>0&&"body"===t.getElement(t.container).parentNode.tagName.toLowerCase()&&(h=s.default.innerWidth||r.default.documentElement.clientWidth||r.default.body.clientWidth,c=s.default.innerHeight||r.default.documentElement.clientHeight||r.default.body.clientHeight),c&&h){t.getElement(t.container).style.width=h+"px",t.getElement(t.container).style.height=c+"px",t.node.style.width="100%",t.node.style.height="100%",t.isVideo&&t.media.setSize&&t.media.setSize(h,c);for(var p=t.getElement(t.layers).children,f=0,v=p.length;f<v;f++)p[f].style.width="100%",p[f].style.height="100%"}}},{key:"setFillMode",value:function(){var e=this,t=s.default.self!==s.default.top&&null!==s.default.frameElement,i=function(){for(var t=void 0,i=e.getElement(e.container);i;){try{if(u.IS_FIREFOX&&"html"===i.tagName.toLowerCase()&&s.default.self!==s.default.top&&null!==s.default.frameElement)return s.default.frameElement;t=i.parentElement}catch(e){t=i.parentElement}if(t&&m.visible(t))return t;i=t}return null}(),n=i?getComputedStyle(i,null):getComputedStyle(r.default.body,null);"none"!==e.node.style.height&&e.node.style.height!==e.height&&(e.node.style.height="auto"),"none"!==e.node.style.maxWidth&&e.node.style.maxWidth!==e.width&&(e.node.style.maxWidth="none"),"none"!==e.node.style.maxHeight&&e.node.style.maxHeight!==e.height&&(e.node.style.maxHeight="none"),e.node.currentStyle&&("100%"===e.node.currentStyle.height&&(e.node.currentStyle.height="auto"),"100%"===e.node.currentStyle.maxWidth&&(e.node.currentStyle.maxWidth="none"),"100%"===e.node.currentStyle.maxHeight&&(e.node.currentStyle.maxHeight="none")),t||parseFloat(n.width)||(i.style.width=e.media.offsetWidth+"px"),t||parseFloat(n.height)||(i.style.height=e.media.offsetHeight+"px"),n=getComputedStyle(i);var o=parseFloat(n.width),a=parseFloat(n.height);e.setDimensions("100%","100%");var l=e.getElement(e.container).querySelector("."+e.options.classPrefix+"poster>img");l&&(l.style.display="");for(var d=e.getElement(e.container).querySelectorAll("object, embed, iframe, video"),c=e.height,h=e.width,p=o,f=c*o/h,v=h*a/c,g=a,y=v>o==!1,_=y?Math.floor(p):Math.floor(v),b=y?Math.floor(f):Math.floor(g),w=y?o+"px":_+"px",x=y?b+"px":a+"px",E=0,T=d.length;E<T;E++)d[E].style.height=x,d[E].style.width=w,e.media.setSize&&e.media.setSize(w,x),d[E].style.marginLeft=Math.floor((o-_)/2)+"px",d[E].style.marginTop=0}},{key:"setDimensions",value:function(e,t){var i=this;e=(0,h.isString)(e)&&e.indexOf("%")>-1?e:parseFloat(e)+"px",t=(0,h.isString)(t)&&t.indexOf("%")>-1?t:parseFloat(t)+"px",i.getElement(i.container).style.width=e,i.getElement(i.container).style.height=t;for(var n=i.getElement(i.layers).children,o=0,s=n.length;o<s;o++)n[o].style.width=e,n[o].style.height=t}},{key:"setControlsSize",value:function(){var e=this;if(m.visible(e.getElement(e.container)))if(e.rail&&m.visible(e.rail)){for(var t=e.total?getComputedStyle(e.total,null):null,i=t?parseFloat(t.marginLeft)+parseFloat(t.marginRight):0,n=getComputedStyle(e.rail),o=parseFloat(n.marginLeft)+parseFloat(n.marginRight),s=0,r=m.siblings(e.rail,(function(t){return t!==e.rail})),a=r.length,l=0;l<a;l++)s+=r[l].offsetWidth;s+=i+(0===i?2*o:o)+1,e.getElement(e.container).style.minWidth=s+"px";var d=(0,h.createEvent)("controlsresize",e.getElement(e.container));e.getElement(e.container).dispatchEvent(d)}else{for(var c=e.getElement(e.controls).children,u=0,p=0,f=c.length;p<f;p++)u+=c[p].offsetWidth;e.getElement(e.container).style.minWidth=u+"px"}}},{key:"addControlElement",value:function(e,t){var i=this;if(void 0!==i.featurePosition[t]){var n=i.getElement(i.controls).children[i.featurePosition[t]-1];n.parentNode.insertBefore(e,n.nextSibling)}else{i.getElement(i.controls).appendChild(e);for(var o=i.getElement(i.controls).children,s=0,r=o.length;s<r;s++)if(e===o[s]){i.featurePosition[t]=s;break}}}},{key:"createIframeLayer",value:function(){var e=this;if(e.isVideo&&null!==e.media.rendererName&&e.media.rendererName.indexOf("iframe")>-1&&!r.default.getElementById(e.media.id+"-iframe-overlay")){var t=r.default.createElement("div"),i=r.default.getElementById(e.media.id+"_"+e.media.rendererName);t.id=e.media.id+"-iframe-overlay",t.className=e.options.classPrefix+"iframe-overlay",t.addEventListener("click",(function(t){e.options.clickToPlayPause&&(e.paused?e.play():e.pause(),t.preventDefault(),t.stopPropagation())})),i.parentNode.insertBefore(t,i)}}},{key:"resetSize",value:function(){var e=this;setTimeout((function(){e.setPlayerSize(e.width,e.height),e.setControlsSize()}),50)}},{key:"setPoster",value:function(e){var t=this;if(t.getElement(t.container)){var i=t.getElement(t.container).querySelector("."+t.options.classPrefix+"poster");i||((i=r.default.createElement("div")).className=t.options.classPrefix+"poster "+t.options.classPrefix+"layer",t.getElement(t.layers).appendChild(i));var n=i.querySelector("img");!n&&e&&((n=r.default.createElement("img")).className=t.options.classPrefix+"poster-img",n.width="100%",n.height="100%",i.style.display="",i.appendChild(n)),e?(n.setAttribute("src",e),i.style.backgroundImage='url("'+e+'")',i.style.display=""):n?(i.style.backgroundImage="none",i.style.display="none",n.remove()):i.style.display="none"}else(u.IS_IPAD&&t.options.iPadUseNativeControls||u.IS_IPHONE&&t.options.iPhoneUseNativeControls||u.IS_ANDROID&&t.options.AndroidUseNativeControls)&&(t.media.originalNode.poster=e)}},{key:"changeSkin",value:function(e){var t=this;t.getElement(t.container).className=t.options.classPrefix+"container "+e,t.setPlayerSize(t.width,t.height),t.setControlsSize()}},{key:"globalBind",value:function(e,t){var i=this,n=i.node?i.node.ownerDocument:r.default;if((e=(0,h.splitEvents)(e,i.id)).d)for(var o=e.d.split(" "),a=0,l=o.length;a<l;a++)o[a].split(".").reduce((function(e,i){return n.addEventListener(i,t,!1),i}),"");if(e.w)for(var d=e.w.split(" "),c=0,u=d.length;c<u;c++)d[c].split(".").reduce((function(e,i){return s.default.addEventListener(i,t,!1),i}),"")}},{key:"globalUnbind",value:function(e,t){var i=this,n=i.node?i.node.ownerDocument:r.default;if((e=(0,h.splitEvents)(e,i.id)).d)for(var o=e.d.split(" "),a=0,l=o.length;a<l;a++)o[a].split(".").reduce((function(e,i){return n.removeEventListener(i,t,!1),i}),"");if(e.w)for(var d=e.w.split(" "),c=0,u=d.length;c<u;c++)d[c].split(".").reduce((function(e,i){return s.default.removeEventListener(i,t,!1),i}),"")}},{key:"buildfeatures",value:function(e,t,i,n){for(var o=this,s=0,r=o.options.features.length;s<r;s++){var a=o.options.features[s];if(o["build"+a])try{o["build"+a](e,t,i,n)}catch(e){console.error("error building "+a,e)}}}},{key:"buildposter",value:function(e,t,i,n){var o=this,s=r.default.createElement("div");s.className=o.options.classPrefix+"poster "+o.options.classPrefix+"layer",i.appendChild(s);var a=n.originalNode.getAttribute("poster");""!==e.options.poster&&(a&&u.IS_IOS&&n.originalNode.removeAttribute("poster"),a=e.options.poster),a?o.setPoster(a):null!==o.media.renderer&&"function"==typeof o.media.renderer.getPosterUrl?o.setPoster(o.media.renderer.getPosterUrl()):s.style.display="none",n.addEventListener("play",(function(){s.style.display="none"})),n.addEventListener("playing",(function(){s.style.display="none"})),e.options.showPosterWhenEnded&&e.options.autoRewind&&n.addEventListener("ended",(function(){s.style.display=""})),n.addEventListener("error",(function(){s.style.display="none"})),e.options.showPosterWhenPaused&&n.addEventListener("pause",(function(){e.ended||(s.style.display="")}))}},{key:"buildoverlays",value:function(e,t,i,n){if(e.isVideo){var o=this,s=r.default.createElement("div"),a=r.default.createElement("div"),l=r.default.createElement("div");s.style.display="none",s.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer",s.innerHTML='<div class="'+o.options.classPrefix+'overlay-loading"><span class="'+o.options.classPrefix+'overlay-loading-bg-img"></span></div>',i.appendChild(s),a.style.display="none",a.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer",a.innerHTML='<div class="'+o.options.classPrefix+'overlay-error"></div>',i.appendChild(a),l.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer "+o.options.classPrefix+"overlay-play",l.innerHTML='<div class="'+o.options.classPrefix+'overlay-button" role="button" tabindex="0" aria-label="'+c.default.t("mejs.play")+'" aria-pressed="false"></div>',l.addEventListener("click",(function(){if(o.options.clickToPlayPause){var e=o.getElement(o.container).querySelector("."+o.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");o.paused?o.play():o.pause(),e.setAttribute("aria-pressed",!!t),o.getElement(o.container).focus()}})),l.addEventListener("keydown",(function(e){var t=e.keyCode||e.which||0;if(13===t||u.IS_FIREFOX&&32===t){var i=(0,h.createEvent)("click",l);return l.dispatchEvent(i),!1}})),i.appendChild(l),null!==o.media.rendererName&&(/(youtube|facebook)/i.test(o.media.rendererName)&&!(o.media.originalNode.getAttribute("poster")||e.options.poster||"function"==typeof o.media.renderer.getPosterUrl&&o.media.renderer.getPosterUrl())||u.IS_STOCK_ANDROID||o.media.originalNode.getAttribute("autoplay"))&&(l.style.display="none");var d=!1;n.addEventListener("play",(function(){l.style.display="none",s.style.display="none",a.style.display="none",d=!1})),n.addEventListener("playing",(function(){l.style.display="none",s.style.display="none",a.style.display="none",d=!1})),n.addEventListener("seeking",(function(){l.style.display="none",s.style.display="",d=!1})),n.addEventListener("seeked",(function(){l.style.display=o.paused&&!u.IS_STOCK_ANDROID?"":"none",s.style.display="none",d=!1})),n.addEventListener("pause",(function(){s.style.display="none",u.IS_STOCK_ANDROID||d||(l.style.display=""),d=!1})),n.addEventListener("waiting",(function(){s.style.display="",d=!1})),n.addEventListener("loadeddata",(function(){s.style.display="",u.IS_ANDROID&&(n.canplayTimeout=setTimeout((function(){if(r.default.createEvent){var e=r.default.createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),n.dispatchEvent(e)}}),300)),d=!1})),n.addEventListener("canplay",(function(){s.style.display="none",clearTimeout(n.canplayTimeout),d=!1})),n.addEventListener("error",(function(e){o._handleError(e,o.media,o.node),s.style.display="none",l.style.display="none",d=!0})),n.addEventListener("loadedmetadata",(function(){o.controlsEnabled||o.enableControls()})),n.addEventListener("keydown",(function(t){o.onkeydown(e,n,t),d=!1}))}}},{key:"buildkeyboard",value:function(e,t,i,n){var o=this;o.getElement(o.container).addEventListener("keydown",(function(){o.keyboardAction=!0})),o.globalKeydownCallback=function(t){var i=r.default.activeElement.closest("."+o.options.classPrefix+"container"),s=o.media.closest("."+o.options.classPrefix+"container");return o.hasFocus=!(!i||!s||i.id!==s.id),o.onkeydown(e,n,t)},o.globalClickCallback=function(e){o.hasFocus=!!e.target.closest("."+o.options.classPrefix+"container")},o.globalBind("keydown",o.globalKeydownCallback),o.globalBind("click",o.globalClickCallback)}},{key:"onkeydown",value:function(e,t,i){if(e.hasFocus&&e.options.enableKeyboard)for(var n=0,o=e.options.keyActions.length;n<o;n++)for(var s=e.options.keyActions[n],r=0,a=s.keys.length;r<a;r++)if(i.keyCode===s.keys[r])return s.action(e,t,i.keyCode,i),i.preventDefault(),void i.stopPropagation();return!0}},{key:"play",value:function(){this.proxy.play()}},{key:"pause",value:function(){this.proxy.pause()}},{key:"load",value:function(){this.proxy.load()}},{key:"setCurrentTime",value:function(e){this.proxy.setCurrentTime(e)}},{key:"getCurrentTime",value:function(){return this.proxy.currentTime}},{key:"getDuration",value:function(){return this.proxy.duration}},{key:"setVolume",value:function(e){this.proxy.volume=e}},{key:"getVolume",value:function(){return this.proxy.getVolume()}},{key:"setMuted",value:function(e){this.proxy.setMuted(e)}},{key:"setSrc",value:function(e){this.controlsEnabled||this.enableControls(),this.proxy.setSrc(e)}},{key:"getSrc",value:function(){return this.proxy.getSrc()}},{key:"canPlayType",value:function(e){return this.proxy.canPlayType(e)}},{key:"remove",value:function(){var e=this,t=e.media.rendererName,i=e.media.originalNode.src;for(var o in e.options.features){var s=e.options.features[o];if(e["clean"+s])try{e["clean"+s](e,e.getElement(e.layers),e.getElement(e.controls),e.media)}catch(e){console.error("error cleaning "+s,e)}}var l=e.node.getAttribute("width"),d=e.node.getAttribute("height");(l?-1===l.indexOf("%")&&(l+="px"):l="auto",d?-1===d.indexOf("%")&&(d+="px"):d="auto",e.node.style.width=l,e.node.style.height=d,e.setPlayerSize(0,0),e.isDynamic?e.getElement(e.container).parentNode.insertBefore(e.node,e.getElement(e.container)):function(){e.node.setAttribute("controls",!0),e.node.setAttribute("id",e.node.getAttribute("id").replace("_"+t,"").replace("_from_mejs",""));var n=e.getElement(e.container).querySelector("."+e.options.classPrefix+"poster>img");(n&&e.node.setAttribute("poster",n.src),delete e.node.autoplay,e.node.setAttribute("src",""),""!==e.media.canPlayType((0,f.getTypeFromFile)(i))&&e.node.setAttribute("src",i),t&&t.indexOf("iframe")>-1)&&r.default.getElementById(e.media.id+"-iframe-overlay").remove();var o=e.node.cloneNode();if(o.style.display="",e.getElement(e.container).parentNode.insertBefore(o,e.getElement(e.container)),e.node.remove(),e.mediaFiles)for(var s=0,a=e.mediaFiles.length;s<a;s++){var l=r.default.createElement("source");l.setAttribute("src",e.mediaFiles[s].src),l.setAttribute("type",e.mediaFiles[s].type),o.appendChild(l)}if(e.trackFiles)for(var d=function(t,i){var n=e.trackFiles[t],s=r.default.createElement("track");s.kind=n.kind,s.label=n.label,s.srclang=n.srclang,s.src=n.src,o.appendChild(s),s.addEventListener("load",(function(){this.mode="showing",o.textTracks[t].mode="showing"}))},c=0,u=e.trackFiles.length;c<u;c++)d(c);delete e.node,delete e.mediaFiles,delete e.trackFiles}(),e.media.renderer&&"function"==typeof e.media.renderer.destroy&&e.media.renderer.destroy(),delete a.default.players[e.id],"object"===n(e.getElement(e.container)))&&(e.getElement(e.container).parentNode.querySelector("."+e.options.classPrefix+"offscreen").remove(),e.getElement(e.container).remove());e.globalUnbind("resize",e.globalResizeCallback),e.globalUnbind("keydown",e.globalKeydownCallback),e.globalUnbind("click",e.globalClickCallback),delete e.media.player}},{key:"paused",get:function(){return this.proxy.paused}},{key:"muted",get:function(){return this.proxy.muted},set:function(e){this.setMuted(e)}},{key:"ended",get:function(){return this.proxy.ended}},{key:"readyState",get:function(){return this.proxy.readyState}},{key:"currentTime",set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:"duration",get:function(){return this.getDuration()}},{key:"volume",set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:"src",set:function(e){this.setSrc(e)}
vendor: 2,766 bytes, line 24
24,get:function(){return this.getSrc()}}]),e}();s.default.MediaElementPlayer=y,a.default.MediaElementPlayer=y,i.default=y},{17:17,2:2,25:25,26:26,27:27,28:28,3:3,30:30,5:5,6:6,7:7}],17:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,o=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}}(),s=e(3),r=(n=s)&&n.__esModule?n:{default:n};var a=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.media=t.media,this.isVideo=t.isVideo,this.classPrefix=t.options.classPrefix,this.createIframeLayer=function(){return t.createIframeLayer()},this.setPoster=function(e){return t.setPoster(e)},this}return o(e,[{key:"play",value:function(){this.media.play()}},{key:"pause",value:function(){this.media.pause()}},{key:"load",value:function(){var e=this;e.isLoaded||e.media.load(),e.isLoaded=!0}},{key:"setCurrentTime",value:function(e){this.media.setCurrentTime(e)}},{key:"getCurrentTime",value:function(){return this.media.currentTime}},{key:"getDuration",value:function(){var e=this.media.getDuration();return e===1/0&&this.media.seekable&&this.media.seekable.length&&(e=this.media.seekable.end(0)),e}},{key:"setVolume",value:function(e){this.media.setVolume(e)}},{key:"getVolume",value:function(){return this.media.getVolume()}},{key:"setMuted",value:function(e){this.media.setMuted(e)}},{key:"setSrc",value:function(e){var t=this,i=document.getElementById(t.media.id+"-iframe-overlay");i&&i.remove(),t.media.setSrc(e),t.createIframeLayer(),null!==t.media.renderer&&"function"==typeof t.media.renderer.getPosterUrl&&t.setPoster(t.media.renderer.getPosterUrl())}},{key:"getSrc",value:function(){return this.media.getSrc()}},{key:"canPlayType",value:function(e){return this.media.canPlayType(e)}},{key:"paused",get:function(){return this.media.paused}},{key:"muted",set:function(e){this.setMuted(e)},get:function(){return this.media.muted}},{key:"ended",get:function(){return this.media.ended}},{key:"readyState",get:function(){return this.media.readyState}},{key:"currentTime",set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:"duration",get:function(){return this.getDuration()}},{key:"remainingTime",get:function(){return this.getDuration()-this.currentTime()}},{key:"volume",set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:"src",set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),e}();i.default=a,r.default.DefaultPlayer=a},{3:3}],18:[function(e,t,i){"use strict";s(e(3));
vendor: 4,318 bytes, line 24
24var n=s(e(7)),o=s(e(16));function s(e){return e&&e.__esModule?e:{default:e}}"undefined"!=typeof jQuery?n.default.$=jQuery:"undefined"!=typeof Zepto?n.default.$=Zepto:"undefined"!=typeof ender&&(n.default.$=ender),function(e){void 0!==e&&(e.fn.mediaelementplayer=function(t){return!1===t?this.each((function(){var t=e(this).data("mediaelementplayer");t&&t.remove(),e(this).removeData("mediaelementplayer")})):this.each((function(){e(this).data("mediaelementplayer",new o.default(this,t))})),this},e(document).ready((function(){e("."+n.default.MepDefaults.classPrefix+"player").mediaelementplayer()})))}(n.default.$)},{16:16,3:3,7:7}],19:[function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(e(3)),s=u(e(7)),r=e(8),a=e(27),l=e(28),d=e(25),c=e(26);function u(e){return e&&e.__esModule?e:{default:e}}var h={promise:null,load:function(e){return"undefined"!=typeof dashjs?h.promise=new Promise((function(e){e()})).then((function(){h._createPlayer(e)})):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdn.dashjs.org/latest/dash.all.min.js",h.promise=h.promise||(0,c.loadScript)(e.options.path),h.promise.then((function(){h._createPlayer(e)}))),h.promise},_createPlayer:function(e){var t=dashjs.MediaPlayer().create();return o.default["__ready__"+e.id](t),t}},p={name:"native_dash",options:{prefix:"native_dash",dash:{path:"https://cdn.dashjs.org/latest/dash.all.min.js",debug:!1,drm:{},robustnessLevel:""}},canPlayType:function(e){return d.HAS_MSE&&["application/dash+xml"].indexOf(e.toLowerCase())>-1},create:function(e,t,i){var l=e.originalNode,d=e.id+"_"+t.prefix,c=l.autoplay,u=l.children,p=null,f=null;l.removeAttribute("type");for(var m=0,v=u.length;m<v;m++)u[m].removeAttribute("type");p=l.cloneNode(!0),t=Object.assign(t,e.options);for(var g=s.default.html5media.properties,y=s.default.html5media.events.concat(["click","mouseover","mouseout"]).filter((function(e){return"error"!==e})),_=function(t){var i=(0,a.createEvent)(t.type,e);e.dispatchEvent(i)},b=function(e){var i=""+e.substring(0,1).toUpperCase()+e.substring(1);p["get"+i]=function(){return null!==f?p[e]:null},p["set"+i]=function(i){if(-1===s.default.html5media.readOnlyProperties.indexOf(e))if("src"===e){var o="object"===(void 0===i?"undefined":n(i))&&i.src?i.src:i;if(p[e]=o,null!==f){f.reset();for(var r=0,l=y.length;r<l;r++)p.removeEventListener(y[r],_);f=h._createPlayer({options:t.dash,id:d}),i&&"object"===(void 0===i?"undefined":n(i))&&"object"===n(i.drm)&&(f.setProtectionData(i.drm),(0,a.isString)(t.dash.robustnessLevel)&&t.dash.robustnessLevel&&f.getProtectionController().setRobustnessLevel(t.dash.robustnessLevel)),f.attachSource(o),c&&f.play()}}else p[e]=i}},w=0,x=g.length;w<x;w++)b(g[w]);if(o.default["__ready__"+d]=function(i){e.dashPlayer=f=i;for(var o,r=dashjs.MediaPlayer.events,l=0,d=y.length;l<d;l++)"loadedmetadata"===(o=y[l])&&(f.initialize(),f.attachView(p),f.setAutoPlay(!1),"object"!==n(t.dash.drm)||s.default.Utils.isObjectEmpty(t.dash.drm)||(f.setProtectionData(t.dash.drm),(0,a.isString)(t.dash.robustnessLevel)&&t.dash.robustnessLevel&&f.getProtectionController().setRobustnessLevel(t.dash.robustnessLevel)),f.attachSource(p.getSrc())),p.addEventListener(o,_);var c=function(t){if("error"===t.type.toLowerCase())e.generateError(t.message,p.src),console.error(t);else{var i=(0,a.createEvent)(t.type,e);i.data=t,e.dispatchEvent(i)}};for(var u in r)r.hasOwnProperty(u)&&f.on(r[u],(function(e){return c(e)}))},i&&i.length>0)for(var E=0,T=i.length;E<T;E++)if(r.renderer.renderers[t.prefix].canPlayType(i[E].type)){p.setAttribute("src",i[E].src),void 0!==i[E].drm&&(t.dash.drm=i[E].drm);break}p.setAttribute("id",d),l.parentNode.insertBefore(p,l),l.autoplay=!1,l.style.display="none",p.setSize=function(e,t){return p.style.width=e+"px",p.style.height=t+"px",p},p.hide=function(){return p.pause(),p.style.display="none",p},p.show=function(){return p.style.display="",p},p.destroy=function(){null!==f&&f.reset()};var S=(0,a.createEvent)("rendererready",p);return e.dispatchEvent(S),e.promises.push(h.load({options:t.dash,id:d})),p}};l.typeChecks.push((function(e){return~e.toLowerCase().indexOf(".mpd")?"application/d
24ash+xml":null})),r.renderer.add(p)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],20:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PluginDetector=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=h(e(3)),s=h(e(2)),r=h(e(7)),a=h(e(5)),l=e(8),d=e(27),c=e(25),u=e(28);function h(e){return e&&e.__esModule?e:{default:e}}var p=i.PluginDetector={plugins:[],hasPluginVersion:function(e,t){var i=p.plugins[e];return t[1]=t[1]||0,t[2]=t[2]||0,i[0]>t[0]||i[0]===t[0]&&i[1]>t[1]||i[0]===t[0]&&i[1]===t[1]&&i[2]>=t[2]},addPlugin:function(e,t,i,n,o){p.plugins[e]=p.detectPlugin(t,i,n,o)},detectPlugin:function(e,t,i,s){var r=[0,0,0],a=void 0,l=void 0;if(null!==c.NAV.plugins&&void 0!==c.NAV.plugins&&"object"===n(c.NAV.plugins[e])){if((a=c.NAV.plugins[e].description)&&(void 0===c.NAV.mimeTypes||!c.NAV.mimeTypes[t]||c.NAV.mimeTypes[t].enabledPlugin))for(var d=0,u=(r=a.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".")).length;d<u;d++)r[d]=parseInt(r[d].match(/\d+/),10)}else if(void 0!==o.default.ActiveXObject)try{(l=new ActiveXObject(i))&&(r=s(l))}catch(e){}return r}};p.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",(function(e){var t=[],i=e.GetVariable("$version");return i&&(i=i.split(" ")[1].split(","),t=[parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10)]),t}));var f={create:function(e,t,i){var n={},h=!1;n.options=t,n.id=e.id+"_"+n.options.prefix,n.mediaElement=e,n.flashState={},n.flashApi=null,n.flashApiStack=[];for(var p=r.default.html5media.properties,f=function(e){n.flashState[e]=null;var t=""+e.substring(0,1).toUpperCase()+e.substring(1);n["get"+t]=function(){if(null!==n.flashApi){if("function"==typeof n.flashApi["get_"+e]){var t=n.flashApi["get_"+e]();return"buffered"===e?{start:function(){return 0},end:function(){return t},length:1}:t}return null}return null},n["set"+t]=function(t){if("src"===e&&(t=(0,u.absolutizeUrl)(t)),null!==n.flashApi&&void 0!==n.flashApi["set_"+e])try{n.flashApi["set_"+e](t)}catch(e){}else n.flashApiStack.push({type:"set",propName:e,value:t})}},m=0,v=p.length;m<v;m++)f(p[m]);var g=r.default.html5media.methods,y=function(e){n[e]=function(){if(h)if(null!==n.flashApi){if(n.flashApi["fire_"+e])try{n.flashApi["fire_"+e]()}catch(e){}}else n.flashApiStack.push({type:"call",methodName:e})}};g.push("stop");for(var _=0,b=g.length;_<b;_++)y(g[_]);for(var w=["rendererready"],x=0,E=w.length;x<E;x++){var T=(0,d.createEvent)(w[x],n);e.dispatchEvent(T)}o.default["__ready__"+n.id]=function(){if(n.flashReady=!0,n.flashApi=s.default.getElementById("__"+n.id),n.flashApiStack.length)for(var e=0,t=n.flashApiStack.length;e<t;e++){var i=n.flashApiStack[e];if("set"===i.type){var o=i.propName,r=""+o.substring(0,1).toUpperCase()+o.substring(1);n["set"+r](i.value)}else"call"===i.type&&n[i.methodName]()}},o.default["__event__"+n.id]=function(e,t){var i=(0,d.createEvent)(e,n);if(t)try{i.data=JSON.parse(t),i.details.data=JSON.parse(t)}catch(e){i.message=t}n.mediaElement.dispatchEvent(i)},n.flashWrapper=s.default.createElement("div"),-1===["always","sameDomain"].indexOf(n.options.shimScriptAccess)&&(n.options.shimScriptAccess="sameDomain");var S=e.originalNode.autoplay,k=["uid="+n.id,"autoplay="+S,"allowScriptAccess="+n.options.shimScriptAccess,"preload="+(e.originalNode.getAttribute("preload")||"")],P=null!==e.originalNode&&"video"===e.originalNode.tagName.toLowerCase(),C=P?e.originalNode.height:1,L=P?e.originalNode.width:1;e.originalNode.getAttribute("src")&&k.push("src="+e.originalNode.getAttribute("src")),!0===n.options.enablePseudoStreaming&&(k.push("pseudostreamstart="+n.options.pseudoStreamingStartQueryParam),k.push("pseudostreamtype="+n.options.pseudoStreamingType)),n.options.streamDelimiter&&k.push("streamdelimiter="+encodeURIComponent(n.options.streamDelimiter)),n.options.proxyType&&k.push("proxytype="+n.options.proxyType),e.appendChild(n.flashWrapper),e.originalNode.style.display="none";var A=[];
vendor: 35,541 bytes, line 24
24if(c.IS_IE||c.IS_EDGE){var M=s.default.createElement("div");n.flashWrapper.appendChild(M),A=c.IS_EDGE?['type="application/x-shockwave-flash"','data="'+n.options.pluginPath+n.options.filename+'"','id="__'+n.id+'"','width="'+L+'"','height="'+C+"'\""]:['classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"','codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"','id="__'+n.id+'"','width="'+L+'"','height="'+C+'"'],P||A.push('style="clip: rect(0 0 0 0); position: absolute;"'),M.outerHTML="<object "+A.join(" ")+'><param name="movie" value="'+n.options.pluginPath+n.options.filename+"?x="+new Date+'" /><param name="flashvars" value="'+k.join("&")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="'+n.options.shimScriptAccess+'" /><param name="allowFullScreen" value="true" /><div>'+a.default.t("mejs.install-flash")+"</div></object>"}else A=['id="__'+n.id+'"','name="__'+n.id+'"','play="true"','loop="false"','quality="high"','bgcolor="#000000"','wmode="transparent"','allowScriptAccess="'+n.options.shimScriptAccess+'"','allowFullScreen="true"','type="application/x-shockwave-flash"','pluginspage="//www.macromedia.com/go/getflashplayer"','src="'+n.options.pluginPath+n.options.filename+'"','flashvars="'+k.join("&")+'"'],P?(A.push('width="'+L+'"'),A.push('height="'+C+'"')):A.push('style="position: fixed; left: -9999em; top: -9999em;"'),n.flashWrapper.innerHTML="<embed "+A.join(" ")+">";if(n.flashNode=n.flashWrapper.lastChild,n.hide=function(){h=!1,P&&(n.flashNode.style.display="none")},n.show=function(){h=!0,P&&(n.flashNode.style.display="")},n.setSize=function(e,t){n.flashNode.style.width=e+"px",n.flashNode.style.height=t+"px",null!==n.flashApi&&"function"==typeof n.flashApi.fire_setSize&&n.flashApi.fire_setSize(e,t)},n.destroy=function(){n.flashNode.remove()},i&&i.length>0)for(var I=0,N=i.length;I<N;I++)if(l.renderer.renderers[t.prefix].canPlayType(i[I].type)){n.setSrc(i[I].src);break}return n}};if(p.hasPluginVersion("flash",[10,0,0])){u.typeChecks.push((function(e){return(e=e.toLowerCase()).startsWith("rtmp")?~e.indexOf(".mp3")?"audio/rtmp":"video/rtmp":/\.og(a|g)/i.test(e)?"audio/ogg":~e.indexOf(".m3u8")?"application/x-mpegURL":~e.indexOf(".mpd")?"application/dash+xml":~e.indexOf(".flv")?"video/flv":null}));var m={name:"flash_video",options:{prefix:"flash_video",filename:"mediaelement-flash-video.swf",enablePseudoStreaming:!1,pseudoStreamingStartQueryParam:"start",pseudoStreamingType:"byte",proxyType:"",streamDelimiter:""},canPlayType:function(e){return~["video/mp4","video/rtmp","audio/rtmp","rtmp/mp4","audio/mp4","video/flv","video/x-flv"].indexOf(e.toLowerCase())},create:f.create};l.renderer.add(m);var v={name:"flash_hls",options:{prefix:"flash_hls",filename:"mediaelement-flash-video-hls.swf"},canPlayType:function(e){return~["application/x-mpegurl","application/vnd.apple.mpegurl","audio/mpegurl","audio/hls","video/hls"].indexOf(e.toLowerCase())},create:f.create};l.renderer.add(v);var g={name:"flash_dash",options:{prefix:"flash_dash",filename:"mediaelement-flash-video-mdash.swf"},canPlayType:function(e){return~["application/dash+xml"].indexOf(e.toLowerCase())},create:f.create};l.renderer.add(g);var y={name:"flash_audio",options:{prefix:"flash_audio",filename:"mediaelement-flash-audio.swf"},canPlayType:function(e){return~["audio/mp3"].indexOf(e.toLowerCase())},create:f.create};l.renderer.add(y);var _={name:"flash_audio_ogg",options:{prefix:"flash_audio_ogg",filename:"mediaelement-flash-audio-ogg.swf"},canPlayType:function(e){return~["audio/ogg","audio/oga","audio/ogv"].indexOf(e.toLowerCase())},create:f.create};l.renderer.add(_)}},{2:2,25:25,27:27,28:28,3:3,5:5,7:7,8:8}],21:[function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(e(3)),s=u(e(7)),r=e(8),a=e(27),l=e(25),d=e(28),c=e(26);function u(e){return e&&e.__esModule?e:{default:e}}var h={promise:null,load:function(e){return"undefined"!=typeof flvjs?h.promise=new Promise((function(e){e()})).then((function(){h._createPlayer(e)})):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdn.jsdelivr.net/npm/flv.js@latest",h.promise=h.promise||(0,c.loadScript)(e.options.path),h.promise.then((function(){h._createPlayer(e)}))),h.promise},_createPlayer:function(e){flvjs.LoggingControl.enableDebug=e.options.debug,flvjs.LoggingControl.enableVerbose=e.options.debug;var t=flvjs.createPlayer(e.options,e.configs);return o.default["__ready__"+e.id](t),t}},p={name:"native_flv",options:{prefix:"native_flv",flv:{path:"https://cdn.jsdelivr.net/npm/flv.js@latest",cors:!0,debug:!1}},canPlayType:function(e){return l.HAS_MSE&&["video/x-flv","video/flv"].indexOf(e.toLowerCase())>-1},create:function(e,t,i){var l=e.originalNode,d=e.id+"_"+t.prefix,c=null,u=null;c=l.cloneNode(!0),t=Object.assign(t,e.options);for(var p=s.default.html5media.properties,f=s.default.html5media.events.concat(["click","mouseover","mouseout"]).filter((function(e){return"error"!==e})),m=function(t){var i=(0,a.createEvent)(t.type,e);e.dispatchEvent(i)},v=function(e){var i=""+e.substring(0,1).toUpperCase()+e.substring(1);c["get"+i]=function(){return null!==u?c[e]:null},c["set"+i]=function(i){if(-1===s.default.html5media.readOnlyProperties.indexOf(e))if("src"===e){if(c[e]="object"===(void 0===i?"undefined":n(i))&&i.src?i.src:i,null!==u){var o={type:"flv"};o.url=i,o.cors=t.flv.cors,o.debug=t.flv.debug,o.path=t.flv.path;var r=t.flv.configs;u.destroy();for(var a=0,l=f.length;a<l;a++)c.removeEventListener(f[a],m);(u=h._createPlayer({options:o,configs:r,id:d})).attachMediaElement(c),u.load()}}else c[e]=i}},g=0,y=p.length;g<y;g++)v(p[g]);if(o.default["__ready__"+d]=function(t){e.flvPlayer=u=t;for(var i,n=flvjs.Events,o=0,s=f.length;o<s;o++)"loadedmetadata"===(i=f[o])&&(u.unload(),u.detachMediaElement(),u.attachMediaElement(c),u.load()),c.addEventListener(i,m);var r=function(t,i){if("error"===t){var n=i[0]+": "+i[1]+" "+i[2].msg;e.generateError(n,c.src)}else{var o=(0,a.createEvent)(t,e);o.data=i,e.dispatchEvent(o)}},l=function(e){n.hasOwnProperty(e)&&u.on(n[e],(function(){for(var t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return r(n[e],i)}))};for(var d in n)l(d)},i&&i.length>0)for(var _=0,b=i.length;_<b;_++)if(r.renderer.renderers[t.prefix].canPlayType(i[_].type)){c.setAttribute("src",i[_].src);break}c.setAttribute("id",d),l.parentNode.insertBefore(c,l),l.autoplay=!1,l.style.display="none";var w={type:"flv"};w.url=c.src,w.cors=t.flv.cors,w.debug=t.flv.debug,w.path=t.flv.path;var x=t.flv.configs;c.setSize=function(e,t){return c.style.width=e+"px",c.style.height=t+"px",c},c.hide=function(){return null!==u&&u.pause(),c.style.display="none",c},c.show=function(){return c.style.display="",c},c.destroy=function(){null!==u&&u.destroy()};var E=(0,a.createEvent)("rendererready",c);return e.dispatchEvent(E),e.promises.push(h.load({options:w,configs:x,id:d})),c}};d.typeChecks.push((function(e){return~e.toLowerCase().indexOf(".flv")?"video/flv":null})),r.renderer.add(p)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],22:[function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(e(3)),s=u(e(7)),r=e(8),a=e(27),l=e(25),d=e(28),c=e(26);function u(e){return e&&e.__esModule?e:{default:e}}var h={promise:null,load:function(e){return"undefined"!=typeof Hls?h.promise=new Promise((function(e){e()})).then((function(){h._createPlayer(e)})):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdn.jsdelivr.net/npm/hls.js@latest",h.promise=h.promise||(0,c.loadScript)(e.options.path),h.promise.then((function(){h._createPlayer(e)}))),h.promise},_createPlayer:function(e){var t=new Hls(e.options);return o.default["__ready__"+e.id](t),t}},p={name:"native_hls",options:{prefix:"native_hls",hls:{path:"https://cdn.jsdelivr.net/npm/hls.js@latest",autoStartLoad:!1,debug:!1}},canPlayType:function(e){return l.HAS_MSE&&["application/x-mpegurl","application/vnd.apple.mpegurl","audio/mpegurl","audio/hls","video/hls"].indexOf(e.toLowerCase())>-1},create:function(e,t,i){var l=e.originalNode,d=e.id+"_"+t.prefix,c=l.getAttribute("preload"),u=l.autoplay,p=null,f=null,m=0,v=i.length;f=l.cloneNode(!0),(t=Object.assign(t,e.options)).hls.autoStartLoad=c&&"none"!==c||u;for(var g=s.default.html5media.properties,y=s.default.html5media.events.concat(["click","mouseover","mouseout"]).filter((function(e){return"error"!==e})),_=function(t){var i=(0,a.createEvent)(t.type,e);e.dispatchEvent(i)},b=function(e){var i=""+e.substring(0,1).toUpperCase()+e.substring(1);f["get"+i]=function(){return null!==p?f[e]:null},f["set"+i]=function(i){if(-1===s.default.html5media.readOnlyProperties.indexOf(e))if("src"===e){if(f[e]="object"===(void 0===i?"undefined":n(i))&&i.src?i.src:i,null!==p){p.destroy();for(var o=0,r=y.length;o<r;o++)f.removeEventListener(y[o],_);(p=h._createPlayer({options:t.hls,id:d})).loadSource(i),p.attachMedia(f)}}else f[e]=i}},w=0,x=g.length;w<x;w++)b(g[w]);if(o.default["__ready__"+d]=function(t){e.hlsPlayer=p=t;for(var n=Hls.Events,o=function(t){if("loadedmetadata"===t){var i=e.originalNode.src;p.detachMedia(),p.loadSource(i),p.attachMedia(f)}f.addEventListener(t,_)},s=0,r=y.length;s<r;s++)o(y[s]);var l=void 0,d=void 0,c=function(t,n){if("hlsError"===t&&(console.warn(n),(n=n[1]).fatal))switch(n.type){case"mediaError":var o=(new Date).getTime();if(!l||o-l>3e3)l=(new Date).getTime(),p.recoverMediaError();else if(!d||o-d>3e3)d=(new Date).getTime(),console.warn("Attempting to swap Audio Codec and recover from media error"),p.swapAudioCodec(),p.recoverMediaError();else{var s="Cannot recover, last media error recovery failed";e.generateError(s,f.src),console.error(s)}break;case"networkError":if("manifestLoadError"===n.details)if(m<v&&void 0!==i[m+1])f.setSrc(i[m++].src),f.load(),f.play();else{e.generateError("Network error",i),console.error("Network error")}else{e.generateError("Network error",i),console.error("Network error")}break;default:p.destroy()}else{var r=(0,a.createEvent)(t,e);r.data=n,e.dispatchEvent(r)}},u=function(e){n.hasOwnProperty(e)&&p.on(n[e],(function(){for(var t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return c(n[e],i)}))};for(var h in n)u(h)},v>0)for(;m<v;m++)if(r.renderer.renderers[t.prefix].canPlayType(i[m].type)){f.setAttribute("src",i[m].src);break}"auto"===c||u||(f.addEventListener("play",(function(){null!==p&&p.startLoad()})),f.addEventListener("pause",(function(){null!==p&&p.stopLoad()}))),f.setAttribute("id",d),l.parentNode.insertBefore(f,l),l.autoplay=!1,l.style.display="none",f.setSize=function(e,t){return f.style.width=e+"px",f.style.height=t+"px",f},f.hide=function(){return f.pause(),f.style.display="none",f},f.show=function(){return f.style.display="",f},f.destroy=function(){null!==p&&(p.stopLoad(),p.destroy())};var E=(0,a.createEvent)("rendererready",f);return e.dispatchEvent(E),e.promises.push(h.load({options:t.hls,id:d})),f}};d.typeChecks.push((function(e){return~e.toLowerCase().indexOf(".m3u8")?"application/x-mpegURL":null})),r.renderer.add(p)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],23:[function(e,t,i){"use strict";var n=d(e(3)),o=d(e(2)),s=d(e(7)),r=e(8),a=e(27),l=e(25);function d(e){return e&&e.__esModule?e:{default:e}}var c={name:"html5",options:{prefix:"html5"},canPlayType:function(e){var t=o.default.createElement("video");return l.IS_ANDROID&&/\/mp(3|4)$/i.test(e)||~["application/x-mpegurl","vnd.apple.mpegurl","audio/mpegurl","audio/hls","video/hls"].indexOf(e.toLowerCase())&&l.SUPPORTS_NATIVE_HLS?"yes":t.canPlayType?t.canPlayType(e.toLowerCase()).replace(/no/,""):""},create:function(e,t,i){var n=e.id+"_"+t.prefix,l=!1,d=null;void 0===e.originalNode||null===e.originalNode?(d=o.default.createElement("audio"),e.appendChild(d)):d=e.originalNode,d.setAttribute("id",n);for(var c=s.default.html5media.properties,u=function(e){var t=""+e.substring(0,1).toUpperCase()+e.substring(1);d["get"+t]=function(){return d[e]},d["set"+t]=function(t){-1===s.default.html5media.readOnlyProperties.indexOf(e)&&(d[e]=t)}},h=0,p=c.length;h<p;h++)u(c[h]);for(var f,m=s.default.html5media.events.concat(["click","mouseover","mouseout"]).filter((function(e){return"error"!==e})),v=0,g=m.length;v<g;v++)f=m[v],d.addEventListener(f,(function(t){if(l){var i=(0,a.createEvent)(t.type,t.target);e.dispatchEvent(i)}}));d.setSize=function(e,t){return d.style.width=e+"px",d.style.height=t+"px",d},d.hide=function(){return l=!1,d.style.display="none",d},d.show=function(){return l=!0,d.style.display="",d};var y=0,_=i.length;if(_>0)for(;y<_;y++)if(r.renderer.renderers[t.prefix].canPlayType(i[y].type)){d.setAttribute("src",i[y].src);break}d.addEventListener("error",(function(t){t&&t.target&&t.target.error&&4===t.target.error.code&&l&&(y<_&&void 0!==i[y+1]?(d.src=i[y++].src,d.load(),d.play()):e.generateError("Media error: Format(s) not supported or source(s) not found",i))}));var b=(0,a.createEvent)("rendererready",d);return e.dispatchEvent(b),d}};n.default.HtmlMediaElement=s.default.HtmlMediaElement=c,r.renderer.add(c)},{2:2,25:25,27:27,3:3,7:7,8:8}],24:[function(e,t,i){"use strict";var n=c(e(3)),o=c(e(2)),s=c(e(7)),r=e(8),a=e(27),l=e(28),d=e(26);function c(e){return e&&e.__esModule?e:{default:e}}var u={isIframeStarted:!1,isIframeLoaded:!1,iframeQueue:[],enqueueIframe:function(e){u.isLoaded="undefined"!=typeof YT&&YT.loaded,u.isLoaded?u.createIframe(e):(u.loadIframeApi(),u.iframeQueue.push(e))},loadIframeApi:function(){u.isIframeStarted||((0,d.loadScript)("https://www.youtube.com/player_api"),u.isIframeStarted=!0)},iFrameReady:function(){for(u.isLoaded=!0,u.isIframeLoaded=!0;u.iframeQueue.length>0;){var e=u.iframeQueue.pop();u.createIframe(e)}},createIframe:function(e){return new YT.Player(e.containerId,e)},getYouTubeId:function(e){var t="";e.indexOf("?")>0?""===(t=u.getYouTubeIdFromParam(e))&&(t=u.getYouTubeIdFromUrl(e)):t=u.getYouTubeIdFromUrl(e);var i=t.substring(t.lastIndexOf("/")+1);return(t=i.split("?"))[0]},getYouTubeIdFromParam:function(e){if(null==e||!e.trim().length)return null;for(var t=e.split("?")[1].split("&"),i="",n=0,o=t.length;n<o;n++){var s=t[n].split("=");if("v"===s[0]){i=s[1];break}}return i},getYouTubeIdFromUrl:function(e){if(null==e||!e.trim().length)return null;var t=e.split("?");return(e=t[0]).substring(e.lastIndexOf("/")+1)},getYouTubeNoCookieUrl:function(e){if(null==e||!e.trim().length||-1===e.indexOf("//www.youtube"))return e;var t=e.split("/");return t[2]=t[2].replace(".com","-nocookie.com"),t.join("/")}},h={name:"youtube_iframe",options:{prefix:"youtube_iframe",youtube:{autoplay:0,controls:0,disablekb:1,end:0,loop:0,modestbranding:0,playsinline:0,rel:0,showinfo:0,start:0,iv_load_policy:3,nocookie:!1,imageQuality:null}},canPlayType:function(e){return~["video/youtube","video/x-youtube"].indexOf(e.toLowerCase())},create:function(e,t,i){var r={},l=[],d=null,c=!0,h=!1,p=null;r.options=t,r.id=e.id+"_"+t.prefix,r.mediaElement=e;for(var f=s.default.html5media.properties,m=function(t){var i=""+t.substring(0,1).toUpperCase()+t.substring(1);r["get"+i]=function(){if(null!==d){switch(t){case"currentTime":return d.getCurrentTime();case"duration":return d.getDuration();case"volume":return d.getVolume()/100;case"playbackRate":return d.getPlaybackRate();case"paused":return c;case"ended":return h;case"muted":return d.isMuted();case"buffered":var e=d.getVideoLoadedFraction(),i=d.getDuration();return{start:function(){return 0},end:function(){return e*i},length:1};case"src":return d.getVideoUrl();case"readyState":return 4}return null}return null},r["set"+i]=function(i){if(null!==d)switch(t){case"src":var n="string"==typeof i?i:i[0].src,o=u.getYouTubeId(n);e.originalNode.autoplay?d.loadVideoById(o):d.cueVideoById(o);break;case"currentTime":d.seekTo(i);break;case"muted":i?d.mute():d.unMute(),setTimeout((function(){var t=(0,a.createEvent)("volumechange",r);e.dispatchEvent(t)}),50);break;case"volume":i,d.setVolume(100*i),setTimeout((function(){var t=(0,a.createEvent)("volumechange",r);e.dispatchEvent(t)}),50);break;case"playbackRate":d.setPlaybackRate(i),setTimeout((function(){var t=(0,a.createEvent)("ratechange",r);e.dispatchEvent(t)}),50);break;case"readyState":var s=(0,a.createEvent)("canplay",r);e.dispatchEvent(s)}else l.push({type:"set",propName:t,value:i})}},v=0,g=f.length;v<g;v++)m(f[v]);for(var y=s.default.html5media.methods,_=function(e){r[e]=function(){if(null!==d)switch(e){case"play":return c=!1,d.playVideo();case"pause":return c=!0,d.pauseVideo();case"load":return null}else l.push({type:"call",methodName:e})}},b=0,w=y.length;b<w;b++)_(y[b]);var x=o.default.createElement("div");x.id=r.id,r.options.youtube.nocookie&&(e.originalNode.src=u.getYouTubeNoCookieUrl(i[0].src)),e.originalNode.parentNode.insertBefore(x,e.originalNode),e.originalNode.style.display="none";var E="audio"===e.originalNode.tagName.toLowerCase(),T=E?"1":e.originalNode.height,S=E?"1":e.originalNode.width,k=u.getYouTubeId(i[0].src),P={id:r.id,containerId:x.id,videoId:k,height:T,width:S,playerVars:Object.assign({controls:0,rel:0,disablekb:1,showinfo:0,modestbranding:0,html5:1,iv_load_policy:3},r.options.youtube),origin:n.default.location.host,events:{onReady:function(t){if(e.youTubeApi=d=t.target,e.youTubeState={paused:!0,ended:!1},l.length)for(var i=0,n=l.length;i<n;i++){var o=l[i];if("set"===o.type){var s=o.propName,c=""+s.substring(0,1).toUpperCase()+s.substring(1);r["set"+c](o.value)}else"call"===o.type&&r[o.methodName]()}p=d.getIframe(),e.originalNode.muted&&d.mute();for(var u=["mouseover","mouseout"],h=function(t){var i=(0,a.createEvent)(t.type,r);e.dispatchEvent(i)},f=0,m=u.length;f<m;f++)p.addEventListener(u[f],h,!1);for(var v=["rendererready","loadedmetadata","loadeddata","canplay"],g=0,y=v.length;g<y;g++){var _=(0,a.createEvent)(v[g],r);e.dispatchEvent(_)}},onStateChange:function(t){var i=[];switch(t.data){case-1:i=["loadedmetadata"],c=!0,h=!1;break;case 0:i=["ended"],c=!1,h=!r.options.youtube.loop,r.options.youtube.loop||r.stopInterval();break;case 1:i=["play","playing"],c=!1,h=!1,r.startInterval();break;case 2:i=["pause"],c=!0,h=!1,r.stopInterval();break;case 3:i=["progress"],h=!1;break;case 5:i=["loadeddata","loadedmetadata","canplay"],c=!0,h=!1}for(var n=0,o=i.length;n<o;n++){var s=(0,a.createEvent)(i[n],r);e.dispatchEvent(s)}},onError:function(t){return function(t){var n="";switch(t.data){case 2:n="The request contains an invalid parameter value. Verify that video ID has 11 characters and that contains no invalid characters, such as exclamation points or asterisks.";break;case 5:n="The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.";break;case 100:n="The video requested was not found. Either video has been removed or has been marked as private.";break;case 101:case 105:n="The owner of the requested video does not allow it to be played in embedded players.";break;default:n="Unknown error."}e.generateError("Code "+t.data+": "+n,i)}(t)}}};return(E||e.originalNode.hasAttribute("playsinline"))&&(P.playerVars.playsinline=1),e.originalNode.controls&&(P.playerVars.controls=1),e.originalNode.autoplay&&(P.playerVars.autoplay=1),e.originalNode.loop&&(P.playerVars.loop=1),(P.playerVars.loop&&1===parseInt(P.playerVars.loop,10)||e.originalNode.src.indexOf("loop=")>-1)&&!P.playerVars.playlist&&-1===e.originalNode.src.indexOf("playlist=")&&(P.playerVars.playlist=u.getYouTubeId(e.originalNode.src)),u.enqueueIframe(P),r.onEvent=function(t,i,n){null!=n&&(e.youTubeState=n)},r.setSize=function(e,t){null!==d&&d.setSize(e,t)},r.hide=function(){r.stopInterval(),r.pause(),p&&(p.style.display="none")},r.show=function(){p&&(p.style.display="")},r.destroy=function(){d.destroy()},r.interval=null,r.startInterval=function(){r.interval=setInterval((function(){var t=(0,a.createEvent)("timeupdate",r);e.dispatchEvent(t)}),250)},r.stopInterval=function(){r.interval&&clearInterval(r.interval)},r.getPosterUrl=function(){var i=t.youtube.imageQuality,n=u.getYouTubeId(e.originalNode.src);return i&&["default","hqdefault","mqdefault","sddefault","maxresdefault"].indexOf(i)>-1&&n?"https://img.youtube.com/vi/"+n+"/"+i+".jpg":""},r}};n.default.onYouTubePlayerAPIReady=function(){u.iFrameReady()},l.typeChecks.push((function(e){return/\/\/(www\.youtube|youtu\.?be)/i.test(e)?"video/x-youtube":null})),r.renderer.add(h)},{2:2,26:26,27:27,28:28,3:3,7:7,8:8}],25:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.cancelFullScreen=i.requestFullScreen=i.isFullScreen=i.FULLSCREEN_EVENT_NAME=i.HAS_NATIVE_FULLSCREEN_ENABLED=i.HAS_TRUE_NATIVE_FULLSCREEN=i.HAS_IOS_FULLSCREEN=i.HAS_MS_NATIVE_FULLSCREEN=i.HAS_MOZ_NATIVE_FULLSCREEN=i.HAS_WEBKIT_NATIVE_FULLSCREEN=i.HAS_NATIVE_FULLSCREEN=i.SUPPORTS_NATIVE_HLS=i.SUPPORT_PASSIVE_EVENT=i.SUPPORT_POINTER_EVENTS=i.HAS_MSE=i.IS_STOCK_ANDROID=i.IS_SAFARI=i.IS_FIREFOX=i.IS_CHROME=i.IS_EDGE=i.IS_IE=i.IS_ANDROID=i.IS_IOS=i.IS_IPOD=i.IS_IPHONE=i.IS_IPAD=i.UA=i.NAV=void 0;var n=r(e(3)),o=r(e(2)),s=r(e(7));function r(e){return e&&e.__esModule?e:{default:e}}for(var a=i.NAV=n.default.navigator,l=i.UA=a.userAgent.toLowerCase(),d=i.IS_IPAD=/ipad/i.test(l)&&!n.default.MSStream,c=i.IS_IPHONE=/iphone/i.test(l)&&!n.default.MSStream,u=i.IS_IPOD=/ipod/i.test(l)&&!n.default.MSStream,h=(i.IS_IOS=/ipad|iphone|ipod/i.test(l)&&!n.default.MSStream,i.IS_ANDROID=/android/i.test(l)),p=i.IS_IE=/(trident|microsoft)/i.test(a.appName),f=(i.IS_EDGE="msLaunchUri"in a&&!("documentMode"in o.default)),m=i.IS_CHROME=/chrome/i.test(l),v=i.IS_FIREFOX=/firefox/i.test(l),g=i.IS_SAFARI=/safari/i.test(l)&&!m,y=i.IS_STOCK_ANDROID=/^mozilla\/\d+\.\d+\s\(linux;\su;/i.test(l),_=(i.HAS_MSE="MediaSource"in n.default),b=i.SUPPORT_POINTER_EVENTS=function(){var e=o.default.createElement("x"),t=o.default.documentElement,i=n.default.getComputedStyle;if(!("pointerEvents"in e.style))return!1;e.style.pointerEvents="auto",e.style.pointerEvents="x",t.appendChild(e);var s=i&&"auto"===(i(e,"")||{}).pointerEvents;return e.remove(),!!s}(),w=i.SUPPORT_PASSIVE_EVENT=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});n.default.addEventListener("test",null,t)}catch(e){}return e}(),x=["source","track","audio","video"],E=void 0,T=0,S=x.length;T<S;T++)E=o.default.createElement(x[T]);var k=i.SUPPORTS_NATIVE_HLS=g||p&&/edge/i.test(l),P=void 0!==E.webkitEnterFullscreen,C=void 0!==E.requestFullscreen;P&&/mac os x 10_5/i.test(l)&&(C=!1,P=!1);var L=void 0!==E.webkitRequestFullScreen,A=void 0!==E.mozRequestFullScreen,M=void 0!==E.msRequestFullscreen,I=L||A||M,N=I,O="",j=void 0,z=void 0,F=void 0;A?N=o.default.mozFullScreenEnabled:M&&(N=o.default.msFullscreenEnabled),m&&(P=!1),I&&(L?O="webkitfullscreenchange":A?O="fullscreenchange":M&&(O="MSFullscreenChange"),i.isFullScreen=j=function(){return A?o.default.mozFullScreen:L?o.default.webkitIsFullScreen:M?null!==o.default.msFullscreenElement:void 0},i.requestFullScreen=z=function(e){L?e.webkitRequestFullScreen():A?e.mozRequestFullScreen():M&&e.msRequestFullscreen()},i.cancelFullScreen=F=function(){L?o.default.webkitCancelFullScreen():A?o.default.mozCancelFullScreen():M&&o.default.msExitFullscreen()});var D=i.HAS_NATIVE_FULLSCREEN=C,B=i.HAS_WEBKIT_NATIVE_FULLSCREEN=L,R=i.HAS_MOZ_NATIVE_FULLSCREEN=A,H=i.HAS_MS_NATIVE_FULLSCREEN=M,U=i.HAS_IOS_FULLSCREEN=P,Z=i.HAS_TRUE_NATIVE_FULLSCREEN=I,$=i.HAS_NATIVE_FULLSCREEN_ENABLED=N,q=i.FULLSCREEN_EVENT_NAME=O;i.isFullScreen=j,i.requestFullScreen=z,i.cancelFullScreen=F,s.default.Features=s.default.Features||{},s.default.Features.isiPad=d,s.default.Features.isiPod=u,s.default.Features.isiPhone=c,s.default.Features.isiOS=s.default.Features.isiPhone||s.default.Features.isiPad,s.default.Features.isAndroid=h,s.default.Features.isIE=p,s.default.Features.isEdge=f,s.default.Features.isChrome=m,s.default.Features.isFirefox=v,s.default.Features.isSafari=g,s.default.Features.isStockAndroid=y,s.default.Features.hasMSE=_,s.default.Features.supportsNativeHLS=k,s.default.Features.supportsPointerEvents=b,s.default.Features.supportsPassiveEvent=w,s.default.Features.hasiOSFullScreen=U,s.default.Features.hasNativeFullscreen=D,s.default.Features.hasWebkitNativeFullScreen=B,s.default.Features.hasMozNativeFullScreen=R,s.default.Features.hasMsNativeFullScreen=H,s.default.Features.hasTrueNativeFullScreen=Z,s.default.Features.nativeFullScreenEnabled=$,s.default.Features.fullScreenEventName=q,s.default.Features.isFullScreen=j,s.default.Features.requestFullScreen=z,s.default.Features.cancelFullScreen=F},{2:2,3:3,7:7}],26:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.removeClass=i.addClass=i.hasClass=void 0,i.loadScript=a,i.offset=l,i.toggleClass=m,i.fadeOut=v,i.fadeIn=g,i.siblings=y,i.visible=_,i.ajax=b;var n=r(e(3)),o=r(e(2)),s=r(e(7));function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return new Promise((function(t,i){var n=o.default.createElement("script");n.src=e,n.async=!0,n.onload=function(){n.remove(),t()},n.onerror=function(){n.remove(),i()},o.default.head.appendChild(n)}))}function l(e){var t=e.getBoundingClientRect(),i=n.default.pageXOffset||o.default.documentElement.scrollLeft,s=n.default.pageYOffset||o.default.documentElement.scrollTop;return{top:t.top+s,left:t.left+i}}var d=void 0,c=void 0,u=void 0;"classList"in o.default.documentElement?(d=function(e,t){return void 0!==e.classList&&e.classList.contains(t)},c=function(e,t){return e.classList.add(t)},u=function(e,t){return e.classList.remove(t)}):(d=function(e,t){return new RegExp("\\b"+t+"\\b").test(e.className)},c=function(e,t){h(e,t)||(e.className+=" "+t)},u=function(e,t){e.className=e.className.replace(new RegExp("\\b"+t+"\\b","g"),"")});var h=i.hasClass=d,p=i.addClass=c,f=i.removeClass=u;function m(e,t){h(e,t)?f(e,t):p(e,t)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,i=arguments[2];e.style.opacity||(e.style.opacity=1);var o=null;n.default.requestAnimationFrame((function s(r){var a=r-(o=o||r),l=parseFloat(1-a/t,2);e.style.opacity=l<0?0:l,a>t?i&&"function"==typeof i&&i():n.default.requestAnimationFrame(s)}))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,i=arguments[2];e.style.opacity||(e.style.opacity=0);var o=null;n.default.requestAnimationFrame((function s(r){var a=r-(o=o||r),l=parseFloat(a/t,2);e.style.opacity=l>1?1:l,a>t?i&&"function"==typeof i&&i():n.default.requestAnimationFrame(s)}))}function y(e,t){var i=[];e=e.parentNode.firstChild;do{t&&!t(e)||i.push(e)}while(e=e.nextSibling);return i}function _(e){return void 0!==e.getClientRects&&"function"===e.getClientRects?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):!(!e.offsetWidth&&!e.offsetHeight)}function b(e,t,i,o){var s=n.default.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),r="application/x-www-form-urlencoded; charset=UTF-8",a=!1,l="*/".concat("*");switch(t){case"text":r="text/plain";break;case"json":r="application/json, text/javascript";break;case"html":r="text/html";break;case"xml":r="application/xml, text/xml"}"application/x-www-form-urlencoded"!==r&&(l=r+", */*; q=0.01"),s&&(s.open("GET",e,!0),s.setRequestHeader("Accept",l),s.onreadystatechange=function(){if(!a&&4===s.readyState)if(200===s.status){a=!0;var e=void 0;switch(t){case"json":e=JSON.parse(s.responseText);break;case"xml":e=s.responseXML;break;default:e=s.responseText}i(e)}else"function"==typeof o&&o(s.status)},s.send())}s.default.Utils=s.default.Utils||{},s.default.Utils.offset=l,s.default.Utils.hasClass=h,s.default.Utils.addClass=p,s.default.Utils.removeClass=f,s.default.Utils.toggleClass=m,s.default.Utils.fadeIn=g,s.default.Utils.fadeOut=v,s.default.Utils.siblings=y,s.default.Utils.visible=_,s.default.Utils.ajax=b,s.default.Utils.loadScript=a},{2:2,3:3,7:7}],27:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.escapeHTML=r,i.debounce=a,i.isObjectEmpty=l,i.splitEvents=d,i.createEvent=c,i.isNodeAfter=u,i.isString=h;var n,o=e(7),s=(n=o)&&n.__esModule?n:{default:n};function r(e){if("string"!=typeof e)throw new Error("Argument passed must be a string");var t={"&":"&","<":"<",">":">",'"':"""};return e.replace(/[&<>"]/g,(function(e){return t[e]}))}function a(e,t){var i=this,n=arguments,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!=typeof e)throw new Error("First argument must be a function");if("number"!=typeof t)throw new Error("Second argument must be a numeric value");var s=void 0;return function(){var r=i,a=n,l=o&&!s;clearTimeout(s),s=setTimeout((function(){s=null,o||e.apply(r,a)}),t),l&&e.apply(r,a)}}function l(e){return Object.getOwnPropertyNames(e).length<=0}function d(e,t){var i=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/,n={d:[],w:[]};return(e||"").split(" ").forEach((function(e){var o=e+(t?"."+t:"");o.startsWith(".")?(n.d.push(o),n.w.push(o)):n[i.test(e)?"w":"d"].push(o)})),n.d=n.d.join(" "),n.w=n.w.join(" "),n}function c(e,t){if("string"!=typeof e)throw new Error("Event name must be a string");var i=e.match(/([a-z]+\.([a-z]+))/i),n={target:t};return null!==i&&(e=i[1],n.namespace=i[2]),new window.CustomEvent(e,{detail:n})}function u(e,t){return!!(e&&t&&2&e.compareDocumentPosition(t))}function h(e){return"string"==typeof e}s.default.Utils=s.default.Utils||{},s.default.Utils.escapeHTML=r,s.default.Utils.debounce=a,s.default.Utils.isObjectEmpty=l,s.default.Utils.splitEvents=d,s.default.Utils.createEvent=c,s.default.Utils.isNodeAfter=u,s.default.Utils.isString=h},{7:7}],28:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.typeChecks=void 0,i.absolutizeUrl=l,i.formatType=d,i.getMimeFromType=c,i.getTypeFromFile=u,i.getExtension=h,i.normalizeExtension=p;var n,o=e(7),s=(n=o)&&n.__esModule?n:{default:n},r=e(27);var a=i.typeChecks=[];function l(e){if("string"!=typeof e)throw new Error("`url` argument must be a string");var t=document.createElement("div");return t.innerHTML='<a href="'+(0,r.escapeHTML)(e)+'">x</a>',t.firstChild.href}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&!t?u(e):t}function c(e){if("string"!=typeof e)throw new Error("`type` argument must be a string");return e&&e.indexOf(";")>-1?e.substr(0,e.indexOf(";")):e}function u(e){if("string"!=typeof e)throw new Error("`url` argument must be a string");for(var t=0,i=a.length;t<i;t++){var n=a[t](e);if(n)return n}var o=p(h(e)),s="video/mp4";return o&&(~["mp4","m4v","ogg","ogv","webm","flv","mpeg","mov"].indexOf(o)?s="video/"+o:~["mp3","oga","wav","mid","midi"].indexOf(o)&&(s="audio/"+o)),s}function h(e){if("string"!=typeof e)throw new Error("`url` argument must be a string");var t=e.split("?")[0].split("\\").pop().split("/").pop();return~t.indexOf(".")?t.substring(t.lastIndexOf(".")+1):""}function p(e){if("string"!=typeof e)throw new Error("`extension` argument must be a string");switch(e){case"mp4":case"m4v":return"mp4";case"webm":case"webma":case"webmv":return"webm";case"ogg":case"oga":case"ogv":return"ogg";default:return e}}s.default.Utils=s.default.Utils||{},s.default.Utils.typeChecks=a,s.default.Utils.absolutizeUrl=l,s.default.Utils.formatType=d,s.default.Utils.getMimeFromType=c,s.default.Utils.getTypeFromFile=u,s.default.Utils.getExtension=h,s.default.Utils.normalizeExtension=p},{27:27,7:7}],29:[function(e,t,i){"use strict";var n,o=r(e(2)),s=r(e(4));function r(e){return e&&e.__esModule?e:{default:e}}if([Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})})),function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=o.default.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}e.prototype=window.Event.prototype,window.CustomEvent=e}(),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),i=1,n=arguments.length;i<n;i++){var o=arguments[i];if(null!==o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t}),String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),i=t.length-1;--i>=0&&t.item(i)!==this;);return i>-1}),window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t=(this.document||this.ownerDocument).querySelectorAll(e),i=void 0,n=this;do{for(i=t.length;--i>=0&&t.item(i)!==n;);}while(i<0&&(n=n.parentElement));return n}),function(){for(var e=0,t=["ms","moz","webkit","o"],i=0;i<t.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[t[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[i]+"CancelAnimationFrame"]||window[t[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t){var i=(new Date).getTime(),n=Math.max(0,16-(i-e)),o=window.setTimeout((function(){t(i+n)}),n);return e=i+n,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),/firefox/i.test(navigator.userAgent)){var a=window.getComputedStyle;window.getComputedStyle=function(e,t){var i=a(e,t);return null===i?{getPropertyValue:function(){}}:i}}window.Promise||(window.Promise=s.default),(n=window.Node||window.Element)&&n.prototype&&null===n.prototype.children&&Object.defineProperty(n.prototype,"children",{get:function(){for(var e=0,t=void 0,i=this.childNodes,n=[];t=i[e++];)1===t.nodeType&&n.push(t);return n}})},{2:2,4:4}],30:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isDropFrame=r,i.secondsToTimeCode=a,i.timeCodeToSeconds=l,i.calculateTimeFormat=d,i.convertSMPTEtoSeconds=c;var n,o=e(7),s=(n=o)&&n.__esModule?n:{default:n};function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25;return!(e%1==0)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:25,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"hh:mm:ss";e=!e||"number"!=typeof e||e<0?0:e;var a=Math.round(.066666*n),l=Math.round(n),d=24*Math.round(3600*n),c=Math.round(600*n),u=r(n)?";":":",h=void 0,p=void 0,f=void 0,m=void 0,v=Math.round(e*n);if(r(n)){v<0&&(v=d+v),v%=d;var g=Math.floor(v/c),y=v%c;v+=9*a*g,y>a&&(v+=a*Math.floor((y-a)/Math.round(60*l-a)));var _=Math.floor(v/l);h=Math.floor(Math.floor(_/60)/60),p=Math.floor(_/60)%60,f=i?_%60:Math.floor(v/l%60).toFixed(o)}else h=Math.floor(e/3600)%24,p=Math.floor(e/60)%60,f=i?Math.floor(e%60):Math.floor(e%60).toFixed(o);h=h<=0?0:h,f=60===(f=f<=0?0:f)?0:f,p=60===(p=p<=0?0:p)?0:p;for(var b=s.split(":"),w={},x=0,E=b.length;x<E;
24++x){for(var T="",S=0,k=b[x].length;S<k;S++)T.indexOf(b[x][S])<0&&(T+=b[x][S]);~["f","s","m","h"].indexOf(T)&&(w[T]=b[x].length)}var P=t||h>0?(h<10&&w.h>1?"0"+h:h)+":":"";return P+=(p<10&&w.m>1?"0"+p:p)+":",P+=""+(f<10&&w.s>1?"0"+f:f),i&&(P+=(m=(m=(v%l).toFixed(0))<=0?0:m)<10&&w.f?u+"0"+m:""+u+m),P}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25;if("string"!=typeof e)throw new TypeError("Time must be a string");if(e.indexOf(";")>0&&(e=e.replace(";",":")),!/\d{2}(\:\d{2}){0,3}/i.test(e))throw new TypeError("Time code must have the format `00:00:00`");var i=e.split(":"),n=void 0,o=0,s=0,a=0,l=0,d=0,c=Math.round(.066666*t),u=Math.round(t),h=3600*u,p=60*u;switch(i.length){default:case 1:a=parseInt(i[0],10);break;case 2:s=parseInt(i[0],10),a=parseInt(i[1],10);break;case 3:o=parseInt(i[0],10),s=parseInt(i[1],10),a=parseInt(i[2],10);break;case 4:o=parseInt(i[0],10),s=parseInt(i[1],10),a=parseInt(i[2],10),l=parseInt(i[3],10)}return n=r(t)?h*o+p*s+u*a+l-c*((d=60*o+s)-Math.floor(d/10)):(h*o+p*s+t*a+l)/t,parseFloat(n.toFixed(3))}function d(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:25;e=!e||"number"!=typeof e||e<0?0:e;for(var n=Math.floor(e/3600)%24,o=Math.floor(e/60)%60,s=Math.floor(e%60),r=Math.floor((e%1*i).toFixed(3)),a=[[r,"f"],[s,"s"],[o,"m"],[n,"h"]],l=t.timeFormat,d=l[1]===l[0],c=d?2:1,u=l.length<c?l[c]:":",h=l[0],p=!1,f=0,m=a.length;f<m;f++)if(~l.indexOf(a[f][1]))p=!0;else if(p){for(var v=!1,g=f;g<m;g++)if(a[g][0]>0){v=!0;break}if(!v)break;d||(l=h+l),l=a[f][1]+u+l,d&&(l=a[f][1]+l),h=a[f][1]}t.timeFormat=l}function c(e){if("string"!=typeof e)throw new TypeError("Argument must be a string value");for(var t=~(e=e.replace(",",".")).indexOf(".")?e.split(".")[1].length:0,i=0,n=1,o=0,s=(e=e.split(":").reverse()).length;o<s;o++)n=1,o>0&&(n=Math.pow(60,o)),i+=Number(e[o])*n;return Number(i.toFixed(t))}s.default.Utils=s.default.Utils||{},s.default.Utils.secondsToTimeCode=a,s.default.Utils.timeCodeToSeconds=l,s.default.Utils.calculateTimeFormat=d,s.default.Utils.convertSMPTEtoSeconds=c},{7:7}]},{},[29,6,5,15,23,20,19,21,22,24,16,18,17,9,10,11,12,13,14])}).call(this,i(9),i(40).setImmediate)},function(e,t,i){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new s(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},i(41),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,i(9))},function(e,t,i){(function(e,t){!function(e,i){"use strict";if(!e.setImmediate){var n,o,s,r,a,l=1,d={},c=!1,u=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,i=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=i,t}}()?e.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){f(e.data)},n=function(e){s.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(o=u.documentElement,n=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(f,0,e)}:(r="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&f(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(r+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var o={callback:e,args:t};return d[l]=o,n(l),l++},h.clearImmediate=p}function p(e){delete d[e]}function f(e){if(c)setTimeout(f,0,e);else{var t=d[e];if(t){c=!0;try{!function(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(void 0,i)}}(t)}finally{p(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,i(9),i(42))},function(e,t){var i,n,o=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}
24catch(e){i=s}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(e){n=r}}();var l,d=[],c=!1,u=-1;function h(){c&&l&&(c=!1,l.length?d=l.concat(d):u=-1,d.length&&p())}function p(){if(!c){var e=a(h);c=!0;for(var t=d.length;t;){for(l=d,d=[];++u<t;)l&&l[u].run();u=-1,t=d.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===r||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];d.push(new f(e,t)),1!==d.length||c||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,i){ 25/*! 26 * MediaElement.js 27 * http://www.mediaelementjs.com/ 28 * 29 * Wrapper that mimics native HTML5 MediaElement (audio and video) 30 * using a variety of technologies (pure JavaScript, Flash, iframe) 31 * 32 * Copyright 2010-2017, John Dyer (http://j.hn/) 33 * License: MIT 34 * 35 */ 36!function e(t,i,n){function o(r,a){if(!i[r]){if(!t[r]){if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[r]={exports:{}};t[r][0].call(d.exports,(function(e){var i=t[r][1][e];return o(i||e)}),d,d.exports,e,t,i,n)}return i[r].exports}for(var s=!1,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(e,t,i){"use strict";var n={isSDKStarted:!1,isSDKLoaded:!1,iframeQueue:[],enqueueIframe:function(e){n.isLoaded?n.createIframe(e):(n.loadIframeApi(),n.iframeQueue.push(e))},loadIframeApi:function(){n.isSDKStarted||(mejs.Utils.loadScript("https://api.dmcdn.net/all.js"),n.isSDKStarted=!0)},apiReady:function(){for(n.isLoaded=!0,n.isSDKLoaded=!0;n.iframeQueue.length>0;){var e=n.iframeQueue.pop();DM.init({apiKey:e.apiKey,status:e.status,cookie:e.cookie}),n.createIframe(e)}},createIframe:function(e){var t=DM.player(e.container,{height:e.height||"100%",width:e.width||"100%",video:e.videoId,params:Object.assign({api:!0},e.params),origin:location.host});t.addEventListener("apiready",(function(){window["__ready__"+e.id](t,{paused:!0,ended:!1})}))},getDailyMotionId:function(e){var t=e.split("/");return t[t.length-1].split("_")[0]}},o={name:"dailymotion_iframe",options:{prefix:"dailymotion_iframe",dailymotion:{width:"100%",height:"100%",params:{autoplay:!1,chromeless:1,info:0,logo:0,related:0},apiKey:null,status:!0,cookie:!0}},canPlayType:function(e){return~["video/dailymotion","video/x-dailymotion"].indexOf(e.toLowerCase())},create:function(e,t,i){var o={},s=[],r=void 0,a=null,l=null;e.originalNode.muted;o.options=t,o.id=e.id+"_"+t.prefix,o.mediaElement=e;for(var d=mejs.html5media.properties,c=function(t){var i=""+t.substring(0,1).toUpperCase()+t.substring(1);o["get"+i]=function(){if(null!==a){switch(t){case"currentTime":return a.currentTime;case"duration":return isNaN(a.duration)?0:a.duration;case"volume":return a.volume;case"paused":return a.paused;case"ended":return a.ended;case"muted":return a.muted;case"buffered":var i=a.bufferedTime,n=a.duration;return{start:function(){return 0},end:function(){return i/n},length:1};case"src":return e.originalNode.getAttribute("src");case"readyState":return 4}return null}return null},o["set"+i]=function(i){if(null!==a)switch(t){case"src":var r="string"==typeof i?i:i[0].src;a.load(n.getDailyMotionId(r));break;case"currentTime":a.seek(i);break;case"muted":!0===i&&a.setVolume(0),a.setMuted(i),i,setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)}),50);break;case"volume":a.setVolume(i),0!==i||a.muted?i>0&&a.muted&&(a.setMuted(!1),!1):(a.setMuted(!0),!0),setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)}),50);break;case"readyState":var l=mejs.Utils.createEvent("canplay",o);e.dispatchEvent(l)}else s.push({type:"set",propName:t,value:i})}},u=0,h=d.length;u<h;u++)c(d[u]);for(var p=mejs.html5media.methods,f=function(e){o[e]=function(){if(null!==a)switch(e){case"play":return a.play();case"pause":return a.pause();case"load":return null}else s.push({type:"call",methodName:e})}},m=0,v=p.length;m<v;m++)f(p[m]);window["__ready__"+o.id]=function(t){if(e.dmPlayer=a=t,s.length)for(var i=0,n=s.length;i<n;i++){var d=s[i];if("set"===d.type){var c=d.propName,u=""+c.substring(0,1).toUpperCase()+c.substring(1);o["set"+u](d.value)}else"call"===d.type&&o[d.methodName]()}l=document.getElementById(o.id);for(var h=function(t){var i=mejs.Utils.createEvent(t.type,o);e.dispatchEvent(i)},p=0,f=(r=["mouseover","mouseout"]).length;p<f;p++)l.addEventListener(r[p],h,!1);e.originalNode.muted?(a.setVolume(0),a.setMuted(!0)):(a.setVolume(a.volume),a.setMuted(!1));for(var m,v=0,g=(r=(r=mejs.html5media.events).concat(["click","mouseover","mouseout"])).length;v<g;v++)"ended"!==(m=r[v])&&a.addEventListener(m,(function(t){var i=mejs.Utils.createEvent(t.type,o);e.dispatchEvent(i)}));a.addEventListener("ad_start",(function(){var t=mejs.Utils.createEvent("play",o);e.dispatchEvent(t),t=mejs.Utils.createEvent("progress",o),e.dispatchEvent(t),t=mejs.Utils.createEvent("timeupdate",o),e.dispatchEvent(t)})),a.addEventListener("ad_timeupdate",(function(){var t=mejs.Utils.createEvent("timeupdate",o);e.dispatchEvent(t)})),a.addEventListener("ad_pause",(function(){var t=mejs.Utils.createEvent("pause",o);e.dispatchEvent(t)})),a.addEventListener("start",(function(){if(a.muted){var t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)}})),a.addEventListener("video_start",(function(){var t=mejs.Utils.createEvent("play",o);e.dispatchEvent(t);var i=mejs.Utils.createEvent("playing",o);e.dispatchEvent(i)})),a.addEventListener("ad_timeupdate",(function(){var t=mejs.Utils.createEvent("timeupdate",o);e.dispatchEvent(t)})),a.addEventListener("video_end",(function(){var t=mejs.Utils.createEvent("ended",o);e.dispatchEvent(t),e.originalNode.getAttribute("loop")&&a.play()}));for(var y=["rendererready","loadedmetadata","loadeddata","canplay"],_=0,b=y.length;_<b;_++){var w=mejs.Utils.createEvent(y[_],o);e.dispatchEvent(w)}};var g=document.createElement("div");g.id=o.id,e.appendChild(g),e.originalNode&&(g.style.width=e.originalNode.style.width,g.style.height=e.originalNode.style.height),e.originalNode.style.display="none";var y=n.getDailyMotionId(i[0].src),_={id:o.id,container:g,videoId:y};return _.params=Object.assign({},o.options.dailymotion),_.params.controls=!!e.originalNode.controls,e.originalNode.autoplay&&(_.params.autoplay=!0),e.originalNode.muted&&(_.params.mute=!0),_.params.api="1",n.enqueueIframe(_),o.hide=function(){o.pause(),l&&(l.style.display="none")},o.show=function(){l&&(l.style.display="")},o.setSize=function(e,t){l&&(l.width=e,l.height=t)},o.destroy=function(){a.destroy()},o}};mejs.Utils.typeChecks.push((function(e){return/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(e)?"video/x-dailymotion":null})),window.dmAsyncInit=function(){n.apiReady()},mejs.Renderers.add(o)},{}]},{},[1])},function(e,t,i){ 37/*! 38 * MediaElement.js 39 * http://www.mediaelementjs.com/ 40 * 41 * Wrapper that mimics native HTML5 MediaElement (audio and video) 42 * using a variety of technologies (pure JavaScript, Flash, iframe) 43 * 44 * Copyright 2010-2017, John Dyer (http://j.hn/) 45 * License: MIT 46 * 47 */ 48!function e(t,i,n){function o(r,a){if(!i[r]){if(!t[r]){if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[r]={exports:{}};t[r][0].call(d.exports,(function(e){var i=t[r][1][e];return o(i||e)}),d,d.exports,e,t,i,n)}return i[r].exports}for(var s=!1,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(e,t,i){"use strict";var n={promise:null,load:function(e){"undefined"!=typeof Twitch?n.promise=new Promise((function(e){e()}
48)).then((function(){n._createPlayer(e)})):(n.promise=n.promise||mejs.Utils.loadScript("https://player.twitch.tv/js/embed/v1.js"),n.promise.then((function(){n._createPlayer(e)})))},_createPlayer:function(e){var t=new Twitch.Player(e.id,e);window["__ready__"+e.id](t)},getTwitchId:function(e){var t="";return e.indexOf("?")>0?""===(t=n.getTwitchIdFromParam(e))&&(t=n.getTwitchIdFromUrl(e)):t=n.getTwitchIdFromUrl(e),t},getTwitchIdFromParam:function(e){if(null==e||!e.trim().length)return null;for(var t=e.split("?")[1].split("&"),i="",n=0,o=t.length;n<o;n++){var s=t[n].split("=");if(~s[0].indexOf("channel")){i=s[1];break}if(~s[0].indexOf("video")){i="v"+s[1];break}}return i},getTwitchIdFromUrl:function(e){if(null==e||!e.trim().length)return null;var t=e.split("?"),i=(e=t[0]).substring(e.lastIndexOf("/")+1);return/^\d+$/i.test(i)?"v"+i:i},getTwitchType:function(e){return/^v\d+/i.test(e)?"video":"channel"}},o={name:"twitch_iframe",options:{prefix:"twitch_iframe"},canPlayType:function(e){return~["video/twitch","video/x-twitch"].indexOf(e.toLowerCase())},create:function(e,t,i){var o={},s=[],r=n.getTwitchId(i[0].src),a=null,l=!1;o.options=t,o.id=e.id+"_"+t.prefix,o.mediaElement=e;for(var d=mejs.html5media.properties,c=function(t){var i=""+t.substring(0,1).toUpperCase()+t.substring(1);o["get"+i]=function(){if(null!==a){switch(t){case"currentTime":return a.getCurrentTime();case"duration":return a.getDuration();case"volume":return a.getVolume();case"paused":return a.isPaused();case"ended":return a.getEnded();case"muted":return a.getMuted();case"buffered":return{start:function(){return 0},end:function(){return 0},length:1};case"src":return"channel"===n.getTwitchType(r)?a.getChannel():a.getVideo();case"readyState":return 4}return null}return null},o["set"+i]=function(i){if(null!==a)switch(t){case"src":var l="string"==typeof i?i:i[0].src,d=n.getTwitchId(l);"channel"===n.getTwitchType(r)?a.setChannel(d):a.setVideo(d);break;case"currentTime":a.seek(i),setTimeout((function(){var t=mejs.Utils.createEvent("timeupdate",o);e.dispatchEvent(t)}),50);break;case"muted":a.setMuted(i),setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)}),50);break;case"volume":i,a.setVolume(i),setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)}),50);break;case"readyState":var c=mejs.Utils.createEvent("canplay",o);e.dispatchEvent(c)}else s.push({type:"set",propName:t,value:i})}},u=0,h=d.length;u<h;u++)c(d[u]);for(var p=mejs.html5media.methods,f=function(e){o[e]=function(){if(null!==a)switch(e){case"play":return!1,a.play();case"pause":return!0,a.pause();case"load":return null}else s.push({type:"call",methodName:e})}},m=0,v=p.length;m<v;m++)f(p[m]);function g(t){for(var i=0,n=t.length;i<n;i++){var s=mejs.Utils.createEvent(t[i],o);e.dispatchEvent(s)}}window["__ready__"+o.id]=function(t){if(e.twitchPlayer=a=t,s.length)for(var i=0,n=s.length;i<n;i++){var r=s[i];if("set"===r.type){var d=r.propName,c=""+d.substring(0,1).toUpperCase()+d.substring(1);o["set"+c](r.value)}else"call"===r.type&&o[r.methodName]()}var u=document.getElementById(o.id).firstChild;u.style.width="100%",u.style.height="100%";for(var h=["mouseover","mouseout"],p=function(t){var i=mejs.Utils.createEvent(t.type,o);e.dispatchEvent(i)},f=0,m=h.length;f<m;f++)u.addEventListener(h[f],p,!1);var v=void 0;a.addEventListener(Twitch.Player.READY,(function(){!1,!1,g(["rendererready","loadedmetadata","loadeddata","canplay"])})),a.addEventListener(Twitch.Player.PLAY,(function(){l||(l=!0),!1,!1,g(["play","playing","progress"]),v=setInterval((function(){a.getCurrentTime(),g(["timeupdate"])}),250)})),a.addEventListener(Twitch.Player.PAUSE,(function(){!0,!1,a.getEnded()||g(["pause"])})),a.addEventListener(Twitch.Player.ENDED,(function(){!0,!0,g(["ended"]),clearInterval(v),l=!1,v=null}))};var y=e.originalNode.height,_=e.originalNode.width,b=document.createElement("div"),w=n.getTwitchType(r),x={id:o.id,width:_,height:y,playsinline:!1,autoplay:e.originalNode.autoplay,muted:e.originalNode.muted};return x[w]=r,b.id=o.id,b.style.width="100%",b.style.height="100%",e.originalNode.parentNode.insertBefore(b,e.originalNode),e.originalNode.style.display="none",e.originalNode.autoplay=!1,o.setSize=function(e,t){null===n||isNaN(e)||isNaN(t)||(b.setAttribute("width",e),b.setAttribute("height",t))},o.hide=function(){o.pause(),b.style.display="none"},o.show=function(){b.style.display=""},o.destroy=function(){},n.load(x),o}};mejs.Utils.typeChecks.push((function(e){return/\/\/(www|player).twitch.tv/i.test(e)?"video/x-twitch":null})),mejs.Renderers.add(o)},{}]},{},[1])},function(e,t,i){ 49/*! 50 * MediaElement.js 51 * http://www.mediaelementjs.com/ 52 * 53 * Wrapper that mimics native HTML5 MediaElement (audio and video) 54 * using a variety of technologies (pure JavaScript, Flash, iframe) 55 * 56 * Copyright 2010-2017, John Dyer (http://j.hn/) 57 * License: MIT 58 * 59 */ 60!function e(t,i,n){function o(r,a){if(!i[r]){if(!t[r]){if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[r]={exports:{}};t[r][0].call(d.exports,(function(e){var i=t[r][1][e];return o(i||e)}),d,d.exports,e,t,i,n)}return i[r].exports}for(var s=!1,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(e,t,i){"use strict";var n={promise:null,load:function(e){"undefined"!=typeof Vimeo?n._createPlayer(e):(n.promise=n.promise||mejs.Utils.loadScript("https://player.vimeo.com/api/player.js"),n.promise.then((function(){n._createPlayer(e)})))},_createPlayer:function(e){var t=new Vimeo.Player(e.iframe);window["__ready__"+e.id](t)},getVimeoId:function(e){if(null==e)return null;var t=e.split("?"),i=(e=t[0]).match(/https:\/\/player.vimeo.com\/video\/(\d+)$/);if(i)return parseInt(i[1],10);var n=e.match(/https:\/\/vimeo.com\/(\d+)$/);if(n)return parseInt(n[1],10);var o=e.match(/https:\/\/vimeo.com\/(\d+)\/\w+$/);return o?parseInt(o[1],10):NaN}},o={name:"vimeo_iframe",options:{prefix:"vimeo_iframe"},canPlayType:function(e){return~["video/vimeo","video/x-vimeo"].indexOf(e.toLowerCase())},create:function(e,t,i){var o=[],s={},r=!0,a=1,l=a,d=0,c=0,u=!1,h=0,p=null,f="";s.options=t,s.id=e.id+"_"+t.prefix,s.mediaElement=e;for(var m=function(t){e.generateError("Code "+t.name+": "+t.message,i)},v=mejs.html5media.properties,g=function(t){var i=""+t.substring(0,1).toUpperCase()+t.substring(1);s["get"+i]=function(){if(null!==p){switch(t){case"currentTime":return d;case"duration":return h;case"volume":return a;case"muted":return 0===a;case"paused":return r;case"ended":return u;case"src":return p.getVideoUrl().then((function(e){f=e})).catch((function(e){return m(e)})),f;case"buffered":return{start:function(){return 0},end:function(){return c*h},length:1};case"readyState":return 4}return null}return null}
60,s["set"+i]=function(i){if(null!==p)switch(t){case"src":var r="string"==typeof i?i:i[0].src,c=n.getVimeoId(r);p.loadVideo(c).then((function(){e.originalNode.autoplay&&p.play()})).catch((function(e){return m(e)}));break;case"currentTime":p.setCurrentTime(i).then((function(){d=i,setTimeout((function(){var t=mejs.Utils.createEvent("timeupdate",s);e.dispatchEvent(t)}),50)})).catch((function(e){return m(e)}));break;case"volume":p.setVolume(i).then((function(){l=a=i,setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",s);e.dispatchEvent(t)}),50)})).catch((function(e){return m(e)}));break;case"loop":p.setLoop(i).catch((function(e){return m(e)}));break;case"muted":i?p.setVolume(0).then((function(){a=0,setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",s);e.dispatchEvent(t)}),50)})).catch((function(e){return m(e)})):p.setVolume(l).then((function(){a=l,setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",s);e.dispatchEvent(t)}),50)})).catch((function(e){return m(e)}));break;case"readyState":var u=mejs.Utils.createEvent("canplay",s);e.dispatchEvent(u)}else o.push({type:"set",propName:t,value:i})}},y=0,_=v.length;y<_;y++)g(v[y]);for(var b=mejs.html5media.methods,w=function(e){s[e]=function(){if(null!==p)switch(e){case"play":return r=!1,p.play();case"pause":return r=!0,p.pause();case"load":return null}else o.push({type:"call",methodName:e})}},x=0,E=b.length;x<E;x++)w(b[x]);window["__ready__"+s.id]=function(t){if(e.vimeoPlayer=p=t,o.length)for(var i=0,n=o.length;i<n;i++){var l=o[i];if("set"===l.type){var f=l.propName,v=""+f.substring(0,1).toUpperCase()+f.substring(1);s["set"+v](l.value)}else"call"===l.type&&s[l.methodName]()}e.originalNode.muted&&(p.setVolume(0),a=0);for(var g=document.getElementById(s.id),y=void 0,_=function(t){var i=mejs.Utils.createEvent(t.type,s);e.dispatchEvent(i)},b=0,w=(y=["mouseover","mouseout"]).length;b<w;b++)g.addEventListener(y[b],_,!1);p.on("loaded",(function(){p.getDuration().then((function(t){if((h=t)>0&&(c=h*t,e.originalNode.autoplay)){r=!1,u=!1;var i=mejs.Utils.createEvent("play",s);e.dispatchEvent(i)}})).catch((function(e){m(e)}))})),p.on("progress",(function(){p.getDuration().then((function(t){if((h=t)>0&&(c=h*t,e.originalNode.autoplay)){var i=mejs.Utils.createEvent("play",s);e.dispatchEvent(i);var n=mejs.Utils.createEvent("playing",s);e.dispatchEvent(n)}var o=mejs.Utils.createEvent("progress",s);e.dispatchEvent(o)})).catch((function(e){return m(e)}))})),p.on("timeupdate",(function(){p.getCurrentTime().then((function(t){d=t;var i=mejs.Utils.createEvent("timeupdate",s);e.dispatchEvent(i)})).catch((function(e){return m(e)}))})),p.on("play",(function(){r=!1,u=!1;var t=mejs.Utils.createEvent("play",s);e.dispatchEvent(t);var i=mejs.Utils.createEvent("playing",s);e.dispatchEvent(i)})),p.on("pause",(function(){r=!0,u=!1;var t=mejs.Utils.createEvent("pause",s);e.dispatchEvent(t)})),p.on("ended",(function(){r=!1,u=!0;var t=mejs.Utils.createEvent("ended",s);e.dispatchEvent(t)}));for(var x=0,E=(y=["rendererready","loadedmetadata","loadeddata","canplay"]).length;x<E;x++){var T=mejs.Utils.createEvent(y[x],s);e.dispatchEvent(T)}};var T=e.originalNode.height,S=e.originalNode.width,k=document.createElement("iframe"),P="https://player.vimeo.com/video/"+n.getVimeoId(i[0].src),C=~i[0].src.indexOf("?")?"?"+i[0].src.slice(i[0].src.indexOf("?")+1):"",L=[];return e.originalNode.autoplay&&-1===C.indexOf("autoplay")&&L.push("autoplay=1"),e.originalNode.loop&&-1===C.indexOf("loop")&&L.push("loop=1"),C=C+(C?"&":"?")+L.join("&"),k.setAttribute("id",s.id),k.setAttribute("width",S),k.setAttribute("height",T),k.setAttribute("frameBorder","0"),k.setAttribute("src",""+P+C),k.setAttribute("webkitallowfullscreen","true"),k.setAttribute("mozallowfullscreen","true"),k.setAttribute("allowfullscreen","true"),k.setAttribute("allow","autoplay"),e.originalNode.parentNode.insertBefore(k,e.originalNode),e.originalNode.style.display="none",n.load({iframe:k,id:s.id}),s.hide=function(){s.pause(),p&&(k.style.display="none")},s.setSize=function(e,t){k.setAttribute("width",e),k.setAttribute("height",t)},s.show=function(){p&&(k.style.display="")},s.destroy=function(){},s}};mejs.Utils.typeChecks.push((function(e){return/(\/\/player\.vimeo|vimeo\.com)/i.test(e)?"video/x-vimeo":null})),mejs.Renderers.add(o)},{}]},{},[1])},function(e,t,i){ 61/*! 62 * MediaElement.js 63 * http://www.mediaelementjs.com/ 64 * 65 * Wrapper that mimics native HTML5 MediaElement (audio and video) 66 * using a variety of technologies (pure JavaScript, Flash, iframe) 67 * 68 * Copyright 2010-2017, John Dyer (http://j.hn/) 69 * License: MIT 70 * 71 */ 72!function e(t,i,n){function o(r,a){if(!i[r]){if(!t[r]){if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[r]={exports:{}};t[r][0].call(d.exports,(function(e){var i=t[r][1][e];return o(i||e)}),d,d.exports,e,t,i,n)}return i[r].exports}for(var s=!1,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(e,t,i){"use strict";var n={promise:null,load:function(e){"undefined"!=typeof FB?n._createPlayer(e):(n.promise=n.promise||mejs.Utils.loadScript("https://connect.facebook.net/"+e.options.lang+"/sdk.js"),n.promise.then((function(){FB.init(e.options),setTimeout((function(){n._createPlayer(e)}),50)})))},_createPlayer:function(e){window["__ready__"+e.id]()}},o={name:"facebook",options:{prefix:"facebook",facebook:{appId:"",xfbml:!0,version:"v2.10",lang:"en_US"}},canPlayType:function(e){return~["video/facebook","video/x-facebook"].indexOf(e.toLowerCase())},create:function(e,t,i){var o=[],s={},r=!1,a=!0,l=!1,d=null,c="",u="",h=e.originalNode.autoplay;s.options=t,s.id=e.id+"_"+t.prefix,s.mediaElement=e,mejs.Features.isiPhone&&e.originalNode.getAttribute("poster")&&(u=e.originalNode.getAttribute("poster"),e.originalNode.removeAttribute("poster"));for(var p=mejs.html5media.properties,f=function(t){var i=""+t.substring(0,1).toUpperCase()+t.substring(1);s["get"+i]=function(){if(null!==d){switch(t){case"currentTime":return d.getCurrentPosition();case"duration":return d.getDuration();case"volume":return d.getVolume();case"paused":return a;case"ended":return l;case"muted":return d.isMuted();case"buffered":return{start:function(){return 0},end:function(){return 0},length:1};case"src":return c;case"readyState":return 4}return null}return null}
72,s["set"+i]=function(i){if(null!==d)switch(t){case"src":var r="string"==typeof i?i:i[0].src;c=r,x.remove(),(x=document.createElement("div")).id=s.id,x.className="fb-video",x.setAttribute("data-href",r),x.setAttribute("data-allowfullscreen","true"),x.setAttribute("data-controls","false"),e.originalNode.parentNode.insertBefore(x,e.originalNode),e.originalNode.style.display="none",n.load({lang:s.options.lang,id:s.id}),FB.XFBML.parse(),h&&d.play();break;case"currentTime":d.seek(i);break;case"muted":i?d.mute():d.unmute(),setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",s);e.dispatchEvent(t)}),50);break;case"volume":d.setVolume(i),setTimeout((function(){var t=mejs.Utils.createEvent("volumechange",s);e.dispatchEvent(t)}),50);break;case"readyState":var a=mejs.Utils.createEvent("canplay",s);e.dispatchEvent(a)}else o.push({type:"set",propName:t,value:i})}},m=0,v=p.length;m<v;m++)f(p[m]);for(var g=mejs.html5media.methods,y=function(e){s[e]=function(){if(null!==d)switch(e){case"play":return d.play();case"pause":return d.pause();case"load":return null}else o.push({type:"call",methodName:e})}},_=0,b=g.length;_<b;_++)y(g[_]);function w(t){for(var i=0,n=t.length;i<n;i++){var o=mejs.Utils.createEvent(t[i],s);e.dispatchEvent(o)}}window["__ready__"+s.id]=function(){FB.Event.subscribe("xfbml.ready",(function(t){if("video"===t.type&&s.id===t.id){e.fbPlayer=d=t.instance;var i=document.getElementById(s.id),n=i.offsetWidth,c=i.offsetHeight,u=["mouseover","mouseout"],p=function(t){var i=mejs.Utils.createEvent(t.type,s);e.dispatchEvent(i)};s.setSize(n,c),e.originalNode.muted||d.unmute(),h&&d.play();for(var f=0,m=u.length;f<m;f++)i.addEventListener(u[f],p);s.eventHandler={};for(var v=["startedPlaying","paused","finishedPlaying","startedBuffering","finishedBuffering"],g=0,y=v.length;g<y;g++){var _=v[g],b=s.eventHandler[_];null==b||mejs.Utils.isObjectEmpty(b)||"function"!=typeof b.removeListener||b.removeListener(_)}if(o.length)for(var x=0,E=o.length;x<E;x++){var T=o[x];if("set"===T.type){var S=T.propName,k=""+S.substring(0,1).toUpperCase()+S.substring(1);s["set"+k](T.value)}else"call"===T.type&&s[T.methodName]()}w(["rendererready","loadeddata","canplay","progress","loadedmetadata","timeupdate"]);var P=void 0;s.eventHandler.startedPlaying=d.subscribe("startedPlaying",(function(){r||(r=!0),a=!1,l=!1,w(["play","playing","timeupdate"]),P=setInterval((function(){d.getCurrentPosition(),w(["timeupdate"])}),250)})),s.eventHandler.paused=d.subscribe("paused",(function(){a=!0,l=!1,w(["pause"])})),s.eventHandler.finishedPlaying=d.subscribe("finishedPlaying",(function(){a=!0,l=!0,w(["ended"]),clearInterval(P),P=null})),s.eventHandler.startedBuffering=d.subscribe("startedBuffering",(function(){w(["progress","timeupdate"])})),s.eventHandler.finishedBuffering=d.subscribe("finishedBuffering",(function(){w(["progress","timeupdate"])}))}}))},c=i[0].src;var x=document.createElement("div");return x.id=s.id,x.className="fb-video",x.setAttribute("data-href",c),x.setAttribute("data-allowfullscreen","true"),x.setAttribute("data-controls",!!e.originalNode.controls),e.originalNode.parentNode.insertBefore(x,e.originalNode),e.originalNode.style.display="none",n.load({options:s.options.facebook,id:s.id}),s.hide=function(){s.pause(),d&&(x.style.display="none")},s.setSize=function(e){null===d||isNaN(e)||(x.style.width=e)},s.show=function(){d&&(x.style.display="")},s.destroy=function(){u&&e.originalNode.setAttribute("poster",u)},s}};mejs.Utils.typeChecks.push((function(e){return~e.toLowerCase().indexOf("//www.facebook")?"video/x-facebook":null})),mejs.Renderers.add(o)},{}]},{},[1])},function(e,t,i){"use strict";i.r(t);var n=i(8);i.d(t,"EVENT_NODE_APPENDED",(function(){return n.a})),i.d(t,"renderFragmentHrefs",(function(){return n.c})),i.d(t,"updateTarget",(function(){return n.d})),i.d(t,"updateTargetWithAjaxResponse",(function(){return n.e})),i.d(t,"refreshFragment",(function(){return n.b}));var o=i(4);i.d(t,"Handler",(function(){return o.b})),i.d(t,"Link",(function(){return o.c})),i.d(t,"Form",(function(){return o.a})),i.d(t,"requestParamsToString",(function(){return o.d}
72)),i.d(t,"stringToRequestParams",(function(){return o.e}))},function(e,t){},,,,function(e,t,i){"use strict";i.r(t);var n=i(0),o=i.n(n),s=i(1),r=i(2);function a(e,t){if(e){var i,n,o,s=function(){},r=function(e){setTimeout(e||s,0)},a=!!window.addEventListener,l="ontouchstart"in window||window.DocumentTouch&&document instanceof Document,d=function(e){var t=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"];for(var i in t)if(void 0!==e.style[t[i]])return!0;return!1}(document.createElement("swipe")),c=e.children().first();t=t||{};var u=parseInt(t.startSlide,10)||0,h=t.speed||300;t.continuous=void 0===t.continuous||t.continuous;var p,f,m=t.auto||0,v={},g={},y={handleEvent:function(e){switch(e.type){case"touchstart":this.start(e);break;case"touchmove":this.move(e);break;case"touchend":r(this.end(e));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":r(this.transitionEnd(e));break;case"resize":r(_.call())}t.stopPropagation&&e.stopPropagation()},start:function(e){var t=e.touches[0];v={x:t.pageX,y:t.pageY,time:+new Date},f=void 0,g={},c.get(0).addEventListener("touchmove",this,!1),c.get(0).addEventListener("touchend",this,!1)},move:function(e){if(!(e.touches.length>1||e.scale&&1!==e.scale)){t.disableScroll&&e.preventDefault();var s=e.touches[0];g={x:s.pageX-v.x,y:s.pageY-v.y},void 0===f&&(f=!!(f||Math.abs(g.x)<Math.abs(g.y))),f||(e.preventDefault(),S(),g.x=g.x/(!u&&g.x>0||u==i.length-1&&g.x<0?Math.abs(g.x)/o+1:1),E(u-1,g.x+n[u-1],0),E(u,g.x+n[u],0),E(u+1,g.x+n[u+1],0))}},end:function(){var e=+new Date-v.time,s=Number(e)<250&&Math.abs(g.x)>20||Math.abs(g.x)>o/2,r=!u&&g.x>0||u==i.length-1&&g.x<0,a=g.x<0;f||(s&&!r?(a?(x(u-1,-o,0),x(u,n[u]-o,h),x(u+1,n[u+1]-o,h),u+=1):(x(u+1,o,0),x(u,n[u]+o,h),x(u-1,n[u-1]+o,h),u+=-1),t.callback&&t.callback(u,i[u])):(x(u-1,-o,h),x(u,0,h),x(u+1,o,h))),c.removeEventListener("touchmove",y,!1),c.removeEventListener("touchend",y,!1)},transitionEnd:function(e){parseInt(e.target.getAttribute("data-index"),10)==u&&(m&&T(),t.transitionEnd&&t.transitionEnd.call(e,u,i[u]))}};if(_(),m&&T(),c&&c.get(0))return a?(l&&c.get(0).addEventListener("touchstart",y,!1),d&&(c.get(0).addEventListener("webkitTransitionEnd",y,!1),c.get(0).addEventListener("msTransitionEnd",y,!1),c.get(0).addEventListener("oTransitionEnd",y,!1),c.get(0).addEventListener("otransitionend",y,!1),c.get(0).addEventListener("transitionend",y,!1)),window.addEventListener("resize",y,!1)):window.onresize=function(){_()},{setup:function(){_()},slide:function(e,t){S(),w(e,t)},prev:function(){S(),u?w(u-1):t.continuous&&w(i.length-1)},next:function(){S(),b()},getPos:function(){return u},getNumSlides:function(){return i.length},kill:function(){S(),c.style.width="auto",c.style.left=0;for(var e=i.length;e--;){var t=i[e];t.style.width="100%",t.style.left=0,d&&E(e,0,0)}a?(c.removeEventListener("touchstart",y,!1),c.removeEventListener("webkitTransitionEnd",y,!1),c.removeEventListener("msTransitionEnd",y,!1),c.removeEventListener("oTransitionEnd",y,!1),c.removeEventListener("otransitionend",y,!1),c.removeEventListener("transitionend",y,!1),window.removeEventListener("resize",y,!1)):window.onresize=null}}}function _(){if(i=c.children(),n=new Array(i.length),e&&e.get(0)){o=e.get(0).getBoundingClientRect().width||e.get(0).offsetWidth,c.get(0).style.width=i.length*o+"px";for(var t=i.length;t--;){var s=i[t];s.style.width=o+"px",s.setAttribute("data-index",t),d&&(s.style.left=t*-o+"px",x(t,u>t?-o:u<t?o:0,0))}
72d||(c.get(0).style.left=u*-o+"px"),e.get(0).style.visibility="visible"}}function b(){u<i.length-1?w(u+1):t.continuous&&w(0)}function w(e,n){if(u!=e){if(d){for(var s=Math.abs(u-e)-1,a=Math.abs(u-e)/(u-e);s--;)x((e>u?e:u)-s-1,o*a,0);x(u,o*a,n||h),x(e,0,n||h)}else!function(e,n,o){if(!o)return void(c.get(0).style.left=n+"px");var s=+new Date,r=setInterval((function(){var a=+new Date-s;if(a>o)return c.get(0).style.left=n+"px",m&&T(),t.transitionEnd&&t.transitionEnd.call(event,u,i[u]),void clearInterval(r);c.get(0).style.left=(n-e)*(Math.floor(a/o*100)/100)+e+"px"}),4)}(u*-o,e*-o,n||h);u=e,r(t.callback&&t.callback(u,i[u]))}}function x(e,t,i){E(e,t,i),n[e]=t}function E(e,t,n){var o=i[e],s=o&&o.style;s&&(s.webkitTransitionDuration=s.MozTransitionDuration=s.msTransitionDuration=s.OTransitionDuration=s.transitionDuration=n+"ms",s.webkitTransform="translate("+t+"px,0)translateZ(0)",s.msTransform=s.MozTransform=s.OTransform="translateX("+t+"px)")}function T(){p=setTimeout(b,m)}function S(){m=0,clearTimeout(p)}}o()((function(){o()(document).ready((function(){var e=o()("#prev"),t=o()(".photo-left"),i=o()("#next"),n=o()(".photo-right"),s=a(o()("#mySwipe"),{}),r=a(o()("#mySwipeCaption"),{});function l(){s.next(),r.next()}function d(){s.prev(),r.prev()}n.on("click",l),t.on("click",d),i.on("click",l),e.on("click",d)}))})),(window.jQuery||window.Zepto)&&function(e){e.fn.Swipe=function(t){return this.each((function(){e(this).data("Swipe",new a(e(this)[0],t))}))}}(window.jQuery||window.Zepto);var l=i(5),d=i.n(l),c=i(16),u=i.n(c),h=i(7),p=function(){function e(t,i){d()(this,e),console.log("creating map with id "+t),this.id=t,this.config=i,this.createInitialConfig(),console.log("[NATIONMAP] using provider from config "+i.provider+"may be empty"),h.tileLayer(i.provider?i.provider:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{}).addTo(this.map),this.addMarker(),this.drawPolygons()}return u()(e,[{key:"drawPolygons",value:function(){var e=this;if(this.config.polygons){var t=[];if(this.config.polygons.forEach((function(i){t.push(e.parseLatLon(i))})),1==t.length)console.log("[LEAFLET_MAP] writing circle with latlon "+t[0]),h.circle(t[0],this.getCircleData()).addTo(this.map);else if(this.config.line){var i=this.config.polygonColor,n=h.polyline(t,{color:i||"#000"}).addTo(this.map);this.map.fitBounds(n.getBounds())}else h.polygon(t,this.getPolygonData(this.config)).addTo(this.map)}}},{key:"getPolygonData",value:function(e){var t=e.polygonColor,i=e.polygonFillColor,n=e.polygonAlpha;return{color:t||"#red",fillColor:i||"#red",fillOpacity:n>0?n:1}}},{key:"getCircleData",value:function(e){var t=e.radius;return Object.assign({radius:t||50},this.getPolygonData(e))}},{key:"addMarker",value:function(){var e=this;this.config.marker&&(this.map.zoomIn(10,{}),this.config.marker.forEach((function(t){var i=e.parseLatLon(t.latlon);h.marker(i).addTo(e.map).bindPopup(t.teaserText),t.radius>0&&h.circle(i,e.getCircleData(t)).addTo(e.map)})))}},{key:"createInitialConfig",value:function(){this.config.marker&&(this.map=h.map(this.id),this.map.setView(this.parseLatLon(this.config.center),this.config.zoom))}},{key:"parseLatLon",value:function(e){var t=e.split(",");return[parseFloat(t[0]),parseFloat(t[1])]}}]),e}();o()(".toggle-tabs li").click((function(){o()(this).addClass("active-tab").parents("ul.toggle-tabs").find("li").not(o()(this)).removeClass("active-tab");var e=o()(this).parents("ul.toggle-tabs").data("graph"),t=o()(this).index();o()("#"+e+" .content-box:eq("+t+")").addClass("active-content-box").parents(".tabbed-content").find(".content-box").not(o()("#"+e+" .content-box:eq("+t+")")).removeClass("active-content-box")})),o()((function(){function e(e,t){t.append(e)}function t(e,t){o.a.getJSON(e).done(t).fail((function(t){s.c("Error during AJAX call for fragment urls.",t.status,e)}))}function i(e,t){s.b({url:e}).done(t).fail((function(t){s.c("Error during fragment call.",t.status,e)}))}s.f("Theme nation-base is used."),Object(r.c)(".nationmap",(function(e){var t=o()(e),i=JSON.parse(t.attr("data-map"));new p("map-"+i.id,i)})),Object(r.c)(".btn-slide",(function(e){o()(e).click((function(e){var t=o()("#panel");t.toggleClass("panel-drop"),t.slideToggle("fast"),o()(this).toggleClass("active"),e.preventDefault()}))})),Object(r.c)("#live-texting-container",(function n(s){var r=o()(s);t(r.attr("data-fragments-link"),(function(t){!function(t,n){o.a.each(t.reverse(),(function(t,s){if(0===o()(".live-texting-fragment-row[data-fragment-index='".concat(t,"']")).length){n.prepend("<li class='live-texting-fragment-row' data-fragment-index='".concat(t,"'> </li>"));var r=o()(".live-texting-fragment-row[data-fragment-index='".concat(t,"']"));0===o()('.live-texting-fragment[data-fragment-url="'.concat(s,'"]')).length&&i(s,(function(t){e(t,r)}))}}))}(t,r),setTimeout((function(){n(s)}),1e4)}))})),Object(r.c)(".breaking-news-container",(function n(s){var r=o()(s);t(r.attr("data-fragments-link"),(function(t){0===t.length?(r.parent().parent().hide(),r.empty()):(r.empty(),function(t,n){var s=n.attr("data-separator"),r='<span class="breaking-news-separator">'.concat(s,"</span>");o.a.each(t,(function(t,s){0===t&&e(r,n),n.append('<span class="breaking-news-fragment-wrapper" data-fragment-index="'.concat(t,'"> </span>')),e(r,n),i(s,(function(i){e(i,o()(".breaking-news-fragment-wrapper[data-fragment-index='".concat(t,"']"))),n.parent().parent().show()}))}))}(t,r)),setTimeout((function(){n(s)}),1e4)}))})),Object(r.c)(".tweetbox",(function(e){var t=o()(e).children().get(0),i=t.getAttribute("data-tweetID"),n=t.getAttribute("data-conversation"),s=t.getAttribute("data-cards"),r=t.getAttribute("data-theme"),a=t.getAttribute("data-width"),l=t.getAttribute("data-align"),d=t.getAttribute("data-lang"),c=t.getAttribute("data-dnt");twttr.widgets.createTweet(i,t,{conversation:"".concat(n),cards:"".concat(s),theme:"".concat(r),width:"".concat(a),align:"".concat(l),lang:"".concat(d),dnt:"".concat(c)}).then((function(e){e.shadowRoot.querySelector(".CallToAction").style.display="none"}))}))}))},function(e,t,i){"use strict";i.r(t);var n=i(2),o=i(0),s=i.n(o),r=i(1);i(21),i(43),i(44),i(45),i(46);function a(e){var t=s()(e),i=s()(document),n=t.attr("src");-1!==n.indexOf("youtube.com")&&t.attr("type","video/youtube"),-1!==n.indexOf("vimeo.com")&&t.attr("type","video/vimeo");var o=new MediaElement(e,{renderers:["html5","youtube_iframe","vimeo_iframe"],stretching:"fill",fakeNodeName:"cm-mediaelementwrapper",useDefaultControls:!0,success:function(e){s()(e).addClass("cm-mediaelementwrapper"),e.addEventListener("loadedmetadata",(function(){r.f("Video "+e.src+" ("+(e.muted?"muted, ":"")+(e.loop?"looped, ":"")+(e.autoplay?"autoplay, ":"")+(!1!==e.controls?"controls":"no-controls")+") loaded.",t),i.trigger(r.a)}),!1),e.addEventListener("playing",(function(){r.f("Video started with duration of "+o.duration+"ms.")}),!1),e.addEventListener("ended",(function(){r.f("Video playback ended."),t.trigger("videoEnded")}),!1),e.addEventListener("timeupdate",(function(e){var i=e.detail.target.currentTime;t.trigger("videoTimeUpdated",{position:1e3*Math.floor(i)})}),!1)},error:function(e){r.c("Error: Could not load video.",e.src)}},null);t.on("videoStart",(function(){r.f("Video started by EVENT_VIDEO_START"),o.play()})),t.on("videoStop",(function(){r.f("Video stopped by EVENT_VIDEO_STOP"),o.pause()}))}function l(e){var t=s()(e),i=s()(document),n=new MediaElement(e,{fakeNodeName:"cm-mediaelementwrapper",useDefaultControls:!0,success:function(e){s()(e).addClass("cm-mediaelementwrapper"),e.addEventListener("loadedmetadata",(function(){r.f("Audio "+e.src+" loaded.",t),i.trigger(r.a)}),!1),e.addEventListener("playing",(function(){r.f("Audio started with duration of "+n.duration+"ms.")}),!1),e.addEventListener("ended",(function(){r.f("Audio playback ended.")}),!1)}})}Object(n.b)({},"cm-video",(function(e){e instanceof s.a?s.a.each(e,(function(e,t){a(t)})):a(e)})),Object(n.c)("cm-audio",(function(e){e instanceof s.a?s.a.each(e,(function(e,t){l(t)})):l(e)}))},function(e,t,i){"use strict";i.r(t);var n=i(6),o=i.n(n),s=i(0),r=i.n(s),a=i(2),l=i(1);i(37);function d(e){var t=r()(e).data("cm-responsive-media");return Array.isArray(t)?t:[]}function c(e){var t=r()(e);function i(){t.trigger({type:"srcChanged",src:t.attr("src"),maxWidth:t.data("lastMaxWidth"),ratio:t.data("lastRatio")})}var n="function"==typeof r.a.fn.imagesLoaded;void 0===t.data("cm-responsive-media-state")&&(t.data("cm-responsive-media-state","initialized"),n?t.attr("src")&&t.imagesLoaded(i):t.on("load",i));var o=d(e);if(0!==o.length){var s=t.parent(),a=s.width(),c=s.height();if(a&&c){var u=window.devicePixelRatio,h=!1;u>1&&t.data("cm-retina")&&(h=!0,c*=u,a*=u);var p=a/c,f=o.filter((function(e){return e.ratioHeight>0&&e.ratioWidth>0}
72)).map((function(e){return{format:e,difference:Math.abs(p-e.ratioWidth/e.ratioHeight)}})).reduce((function(e,t){return t.difference<e.difference?t:e}),{format:null,difference:1/0}).format;if(f){var m=Object.keys(f.linksForWidth).map((function(e){return parseInt(e)})).filter((function(e){return!isNaN(e)&&f.linksForWidth[e]})).reduce((function(e,t){return e<a&&t<a&&t>e||e<a&&t>=a||e>=a&&t>=a&&t<e?t:e}),-1);if(-1!==m){var v=f.linksForWidth[m],g=h?" (Retina Images enabled with deviceRatio: ".concat(u,")"):"";t.is("img")?v!==t.attr("src")&&(l.e("Change Responsive Image to aspect ratio: '".concat(f.name,"' and maxWidth: '").concat(m,"'").concat(g),e),t.trigger({type:"srcChanging",src:t.attr("src"),maxWidth:m,ratio:f.name}),t.data("lastMaxWidth",m),t.data("lastRatio",f.name),t.attr("src",v),n&&t.imagesLoaded(i)):"background-image: url('"+v+"');"!==t.attr("style")&&(l.e("Change Responsive Background Image to aspect ratio: '".concat(f.name,"' and maxWidth: '").concat(m,"'").concat(g),e),t.data("lastMaxWidth",m),t.data("lastRatio",f.name),t.attr("style","background-image: url('"+v+"');"))}else l.g("Found no matching link in aspect ratio '".concat(f.name,"'."),e)}else l.g("Found no matching aspect ratio.",e)}else l.f("Could not load hidden Responsive Media. The width and height of the surrounding container must be greater than zero.",e)}else l.g("No responsive image data found.",e)}var u=function(e){e instanceof r.a?r.a.each(e,(function(e,t){c(t)})):c(e)};r()((function(){a.c("[data-cm-responsive-media]",(function(e){u(e)})),a.c(".cm-media--loading",(function(e){var t=function(){e.removeClass("cm-media--loading")};o()(r.a.fn.imagesLoaded)===o()(t)?e.imagesLoaded(t):e.on("load",t)})),r()(document).on(l.a,(function(){u(r()("[data-cm-responsive-media]"))}))}))},,function(e,t,i){"use strict";i.r(t);var n=i(0),o=i.n(n),s=i(1),r=i(2),a=i(18);function l(e,t){var i=o()(t),n=i.next();Object(s.f)("Load more search results via ajax.",i,e),i.hide(),n.show(),Object(s.f)("ajaxUrl",e),o.a.ajax({url:e}).done((function(e){Object(s.f)("Loaded search results successfully."),n.remove(),Object(a.updateTarget)(i,o()(e),!0)})).fail((function(){Object(s.c)("Could not load more search results."),n.hide(),i.show()}))}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cm-search-results-page",i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e){var n=o()("#"+t);Object(s.f)("Load search result page via ajax.",e,n);var r=o()("#cm-search-results");r.addClass("cm-search__results--loading"),o.a.ajax({url:e}).done((function(t){Object(s.f)("Loaded search result page successfully."),Object(a.updateTarget)(n,o()(t),!0),c(e,i)})).fail((function(){r.removeClass("cm-search__results--loading"),Object(s.c)("Could not load search result page.")}))}}function c(e,t){t&&(Object(s.f)("Add search to browser history"),window.history.pushState({id:"search",link:e},"",function(e,t){var i=e.split("?");if(i.length>=2){for(var n=encodeURIComponent(t)+"=",o=i[1].split(/[&]/g),s=o.length;s-- >0;)-1!==o[s].lastIndexOf(n,0)&&o.splice(s,1);e=i[0]+"?"+o.join("&")}return e}(e,"view")))}Object(r.b)(void 0,"cm-search-results",(function(e,t){Object(s.f)("Initialize loadSearchResultsClickHandler",e,t),e.on("click touch",(function(){l(t,e)})),e.removeAttr("disabled")}));Object(r.c)("#cm-search-result-page",(function(e){Object(s.f)("Initialize loadSearchResultPageClickHandler",e),e.on("click touch","[data-cm-search-link]",(function(e){e.preventDefault();var t=o()(this),i=t.data("cm-search-link");t.data("cm-search-suggestion")&&o()("[name=query]").val(t.data("cm-search-suggestion")),d(i,"cm-search-result-page",!o()("body").data("cm-search-disable-browser-history"))})),e.on("change","[data-cm-search-dropdown]",(function(){d(o()(this).find("option:selected").data("cm-search-sort-link"),"cm-search-result-page",!o()("body").data("cm-search-disable-browser-history"))})),e.on("submit","[data-cm-search-form-submit]",(function(e){e.preventDefault();var t=o()("[data-cm-search-form-input]").val();o()("[name=query]").val(t);var i=o()(this).data("cm-search-form-submit"),n=new RegExp("([?&])query=.*?(&|$)","i");i.match(n)&&(i=i.replace(n,"$1query="+t+"$2")),d(i,"cm-search-result-page",!o()("body").data("cm-search-disable-browser-history"))}))}),(function(){o()("body").removeClass("cm-body--filter-popup-active")})),Object(r.c)("[data-cm-search-filter-popup-toggle]",(function(e){Object(s.f)("Initialize toggleFilterMobilePopupClickHandler"),e.on("click touch",(function(){o()("[data-cm-search-filter-popup]").toggleClass("cm-search__filter-popup--active"),o()("body").toggleClass("cm-body--filter-popup-active")}))})),Object(r.c)("[data-cm-search-filter]",(function(e){Object(s.f)("Initialize toggleSearchFilterClickHandler",e),e.on("click touch","[data-cm-search-filter-toggle]",(function(){o()(this).toggleClass("cm-search__filter-title--list-collapsed"),o()(this).next("[data-cm-search-filter-links]").toggle()}))})),o()("body").data("cm-search-disable-browser-history")||(window.addEventListener("popstate",(function(){history.state&&"search"===history.state.id&&d(history.state.link,"cm-search-result-page",!1)}),!1),o()(".cm-search--results")[0]&&window.history.replaceState({id:"search",link:window.location+"&view=asSearchResultPage"},"",window.location))},function(e,t,i){"use strict";i.r(t);var n=i(0),o=i.n(n),s=i(1),r=i(2),a=i(17),l=i.n(a),d=(i(38),"portrait"),c="landscape";function u(){return window.matchMedia("(orientation: portrait)").matches?d:c}var h=o()(document);Object(r.b)({},"cm-slick-carousel",(function(e,t){!function(e,t){var i=o()(e);if(Object(s.f)("Initialize slickCarousel",i),t.responsive&&t.responsive.some((function(e){return-1!==[d,c].indexOf(e.orientation)}))){var n,r=(n={},l()(n,d,t.responsive.filter((function(e){return!e.orientation||e.orientation===d}))),l()(n,c,t.responsive.filter((function(e){return!e.orientation||e.orientation===c}))),n),a=u();o()(window).on("resize",(function(){var e=u();a!==e&&(i.slick("slickSetOption",{responsive:[].concat(r[e])},!0),a=e)})),t.responsive=r[a]}i.on("beforeChange",(function(){i.addClass("cm-slick-carousel--transitioning")})),i.on("afterChange",(function(){i.removeClass("cm-slick-carousel--transitioning")})),i.slick(t)}(e,t),h.on(s.a,(function(){var t=e.width(),i=e.height();e.slick("setPosition"),t===e.width()&&i===e.height()||h.trigger(s.a)}))}))}
72],[[27,0]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.