1!(function (window) { 2 var $q = function (q, res) { 3 if (document.querySelectorAll) { 4 res = document.querySelectorAll(q); 5 } else { 6 var d = document, 7 a = d.styleSheets[0] || d.createStyleSheet(); 8 a.addRule(q, "f:b"); 9 for (var l = d.all, b = 0, c = [], f = l.length; b < f; b++) l[b].currentStyle.f && c.push(l[b]); 10 11 a.removeRule(0); 12 res = c; 13 } 14 return res; 15 }, 16 addEventListener = function (evt, fn) { 17 window.addEventListener ? this.addEventListener(evt, fn, false) : window.attachEvent ? this.attachEvent("on" + evt, fn) : (this["on" + evt] = fn); 18 }, 19 _has = function (obj, key) { 20 return Object.prototype.hasOwnProperty.call(obj, key); 21 }; 22 function loadImage(el, fn) { 23 var img = new Image(), 24 src = el.getAttribute("data-src"); 25 img.onload = function () { 26 if (!!el.parent) el.parent.replaceChild(img, el); 27 else el.src = src; 28 29 fn ? fn() : null; 30 }; 31 img.src = src; 32 } 33 34 function elementInViewport(el) { 35 var rect = el.getBoundingClientRect(); 36 37 return rect.top >= 0 && rect.left >= 0 && rect.top <= (window.innerHeight || document.documentElement.clientHeight); 38 } 39 40 var images = new Array(), 41 query = $q("img.lazy"), 42 processScroll = function () { 43 for (var i = 0; i < images.length; i++) { 44 if (elementInViewport(images[i])) { 45 loadImage(images[i], function () { 46 images.splice(i, i); 47 }); 48 } 49 } 50 }; 51 // Array.prototype.slice.call is not callable under our lovely IE8 52 for (var i = 0; i < query.length; i++) { 53 images.push(query[i]); 54 } 55 56 processScroll(); 57 addEventListener("scroll", processScroll); 58})(this); 59 60!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(139)},function(t,e,n){var r=n(3),i=n(24),o=n(14),s=n(15),a=n(21),l="prototype",c=function(t,e,n){var u,h,p,f,d=t&c.F,g=t&c.G,v=t&c.S,m=t&c.P,y=t&c.B,b=g?r:v?r[e]||(r[e]={}):(r[e]||{})[l],w=g?i:i[e]||(i[e]={}),x=w[l]||(w[l]={});g&&(n=e);for(u in n)h=!d&&b&&void 0!==b[u],p=(h?b:n)[u],f=y&&h?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,b&&s(b,u,p,t&c.U),w[u]!=p&&o(w,u,f),m&&x[u]!=p&&(x[u]=p)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(62)("wks"),i=n(43),o=n(3).Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},function(t,e,n){t.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(2),i=n(105),o=n(28),s=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(27),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r,i;/*! 61 * jQuery JavaScript Library v3.3.1 62 * https://jquery.com/ 63 * 64 * Includes Sizzle.js 65 * https://sizzlejs.com/ 66 * 67 * Copyright JS Foundation and other contributors 68 * Released under the MIT license 69 * https://jquery.org/license 70 * 71 * Date: 2018-01-20T17:24Z 72 */ 73!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function s(t,e,n){e=e||ut;var r,i=e.createElement("script");
73if(i.text=t,n)for(r in Ct)n[r]&&(i[r]=n[r]);e.head.appendChild(i).parentNode.removeChild(i)}function a(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?vt[mt.call(t)]||"object":typeof t}function l(t){var e=!!t&&"length"in t&&t.length,n=a(t);return!_t(t)&&!Tt(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function c(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function u(t,e,n){return _t(e)?Et.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?Et.grep(t,function(t){return t===e!==n}):"string"!=typeof e?Et.grep(t,function(t){return gt.call(e,t)>-1!==n}):Et.filter(e,t,n)}function h(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function p(t){var e={};return Et.each(t.match(Rt)||[],function(t,n){e[n]=!0}),e}function f(t){return t}function d(t){throw t}function g(t,e,n,r){var i;try{t&&_t(i=t.promise)?i.call(t).done(e).fail(n):t&&_t(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function v(){ut.removeEventListener("DOMContentLoaded",v),n.removeEventListener("load",v),Et.ready()}function m(t,e){return e.toUpperCase()}function y(t){return t.replace(Ht,"ms-").replace(qt,m)}function b(){this.expando=Et.expando+b.uid++}function w(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Yt.test(t)?JSON.parse(t):t)}function x(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Xt,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n=w(n)}catch(t){}Vt.set(t,e,n)}else n=void 0;return n}function _(t,e,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return Et.css(t,e,"")},l=a(),c=n&&n[3]||(Et.cssNumber[e]?"":"px"),u=(Et.cssNumber[e]||"px"!==c&&+l)&&Jt.exec(Et.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)Et.style(t,e,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,Et.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}function T(t){var e,n=t.ownerDocument,r=t.nodeName,i=te[r];return i?i:(e=n.body.appendChild(n.createElement(r)),i=Et.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),te[r]=i,i)}function C(t,e){for(var n,r,i=[],o=0,s=t.length;o<s;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=Ut.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Zt(r)&&(i[o]=T(r))):"none"!==n&&(i[o]="none",Ut.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function S(t,e){var n;return n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&c(t,e)?Et.merge([t],n):n}function E(t,e){for(var n=0,r=t.length;n<r;n++)Ut.set(t[n],"globalEval",!e||Ut.get(e[n],"globalEval"))}function k(t,e,n,r,i){for(var o,s,l,c,u,h,p=e.createDocumentFragment(),f=[],d=0,g=t.length;d<g;d++)if(o=t[d],o||0===o)if("object"===a(o))Et.merge(f,o.nodeType?[o]:o);else if(oe.test(o)){for(s=s||p.appendChild(e.createElement("div")),l=(ne.exec(o)||["",""])[1].toLowerCase(),c=ie[l]||ie._default,s.innerHTML=c[1]+Et.htmlPrefilter(o)+c[2],h=c[0];h--;)s=s.lastChild;Et.merge(f,s.childNodes),s=p.firstChild,s.textContent=""}else f.push(e.createTextNode(o));for(p.textContent="",d=0;o=f[d++];)if(r&&Et.inArray(o,r)>-1)i&&i.push(o);else if(u=Et.contains(o.ownerDocument,o),s=S(p.appendChild(o),"script"),u&&E(s),n)for(h=0;o=s[h++];)re.test(o.type||"")&&n.push(o);return p}function A(){return!0}function P(){return!1}function M(){try{return ut.activeElement}catch(t){}}function j(t,e,n,r,i,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)j(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=P;else if(!i)return t;return 1===o&&(s=i,i=function(t){return Et().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Et.guid++)),t.each(function(){Et.event.add(this,e,i,r,n)})}function I(t,e){return c(t,"table")&&c(11!==e.nodeType?e:e.firstChild,"tr")?Et(t).children("tbody")[0]||t:t}function O(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function L(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function N(t,e){var n,r,i,o,s,a,l,c;if(1===e.nodeType){if(Ut.hasData(t)&&(o=Ut.access(t),s=Ut.set(e,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;n<r;n++)Et.event.add(e,i,c[i][n])}Vt.hasData(t)&&(a=Vt.access(t),l=Et.extend({},a),Vt.set(e,l))}}function B(t,e){var n=e.nodeName.toLowerCase();
vendor: 5,526 bytes, line 73
73"input"===n&&ee.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function D(t,e,n,r){e=ft.apply([],e);var i,o,a,l,c,u,h=0,p=t.length,f=p-1,d=e[0],g=_t(d);if(g||p>1&&"string"==typeof d&&!xt.checkClone&&pe.test(d))return t.each(function(i){var o=t.eq(i);g&&(e[0]=d.call(this,i,o.html())),D(o,e,n,r)});if(p&&(i=k(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=Et.map(S(i,"script"),O),l=a.length;h<p;h++)c=i,h!==f&&(c=Et.clone(c,!0,!0),l&&Et.merge(a,S(c,"script"))),n.call(t[h],c,h);if(l)for(u=a[a.length-1].ownerDocument,Et.map(a,L),h=0;h<l;h++)c=a[h],re.test(c.type||"")&&!Ut.access(c,"globalEval")&&Et.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Et._evalUrl&&Et._evalUrl(c.src):s(c.textContent.replace(fe,""),u,c))}return t}function R(t,e,n){for(var r,i=e?Et.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Et.cleanData(S(r)),r.parentNode&&(n&&Et.contains(r.ownerDocument,r)&&E(S(r,"script")),r.parentNode.removeChild(r));return t}function F(t,e,n){var r,i,o,s,a=t.style;return n=n||ge(t),n&&(s=n.getPropertyValue(e)||n[e],""!==s||Et.contains(t.ownerDocument,t)||(s=Et.style(t,e)),!xt.pixelBoxStyles()&&de.test(s)&&ve.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function $(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function z(t){if(t in _e)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=xe.length;n--;)if(t=xe[n]+e,t in _e)return t}function H(t){var e=Et.cssProps[t];return e||(e=Et.cssProps[t]=z(t)||t),e}function q(t,e,n){var r=Jt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function W(t,e,n,r,i,o){var s="width"===e?1:0,a=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=Et.css(t,n+Kt[s],!0,i)),r?("content"===n&&(l-=Et.css(t,"padding"+Kt[s],!0,i)),"margin"!==n&&(l-=Et.css(t,"border"+Kt[s]+"Width",!0,i))):(l+=Et.css(t,"padding"+Kt[s],!0,i),"padding"!==n?l+=Et.css(t,"border"+Kt[s]+"Width",!0,i):a+=Et.css(t,"border"+Kt[s]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))),l}function U(t,e,n){var r=ge(t),i=F(t,e,r),o="border-box"===Et.css(t,"boxSizing",!1,r),s=o;if(de.test(i)){if(!n)return i;i="auto"}return s=s&&(xt.boxSizingReliable()||i===t.style[e]),("auto"===i||!parseFloat(i)&&"inline"===Et.css(t,"display",!1,r))&&(i=t["offset"+e[0].toUpperCase()+e.slice(1)],s=!0),i=parseFloat(i)||0,i+W(t,e,n||(o?"border":"content"),s,r,i)+"px"}function V(t,e,n,r,i){return new V.prototype.init(t,e,n,r,i)}function Y(){Ce&&(ut.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Y):n.setTimeout(Y,Et.fx.interval),Et.fx.tick())}function X(){return n.setTimeout(function(){Te=void 0}),Te=Date.now()}function G(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=Kt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function J(t,e,n){for(var r,i=(Q.tweeners[e]||[]).concat(Q.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function K(t,e,n){var r,i,o,s,a,l,c,u,h="width"in e||"height"in e,p=this,f={},d=t.style,g=t.nodeType&&Zt(t),v=Ut.get(t,"fxshow");n.queue||(s=Et._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,Et.queue(t,"fx").length||s.empty.fire()})}));for(r in e)if(i=e[r],Se.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}f[r]=v&&v[r]||Et.style(t,r)}if(l=!Et.isEmptyObject(e),l||!Et.isEmptyObject(f)){h&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=v&&v.display,null==c&&(c=Ut.get(t,"display")),u=Et.css(t,"display"),"none"===u&&(c?u=c:(C([t],!0),c=t.style.display||c,u=Et.css(t,"display"),C([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===Et.css(t,"float")&&(l||(p.done(function(){d.display=c}),null==c&&(u=d.display,c="none"===u?"":u)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",p.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),l=!1;for(r in f)l||(v?"hidden"in v&&(g=v.hidden):v=Ut.access(t,"fxshow",{display:c}),o&&(v.hidden=!g),g&&C([t],!0),p.done(function(){g||C([t]),Ut.remove(t,"fxshow");for(r in f)Et.style(t,r,f[r])})),l=J(g?v[r]:0,r,p),r in v||(v[r]=l.start,g&&(l.end=l.start,l.start=0))}}function Z(t,e){var n,r,i,o,s;for(n in t)if(r=y(n),i=e[r],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),s=Et.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function Q(t,e,n){var r,i,o=0,s=Q.prefilters.length,a=Et.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var e=Te||X(),n=Math.max(0,c.startTime+c.duration-e),r=n/c.duration||0,o=1-r,s=0,l=c.tweens.length;s<l;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),o<1&&l?n:(l||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Et.extend({},e),opts:Et.extend(!0,{specialEasing:{},easing:Et.easing._default},n),originalProperties:e,originalOptions:n,startTime:Te||X(),duration:n.duration,tweens:[],createTween:function(e,n){var r=Et.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);
73return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(Z(u,c.opts.specialEasing);o<s;o++)if(r=Q.prefilters[o].call(c,t,u,c.opts))return _t(r.stop)&&(Et._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return Et.map(u,J,c),_t(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Et.fx.timer(Et.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}function tt(t){var e=t.match(Rt)||[];return e.join(" ")}function et(t){return t.getAttribute&&t.getAttribute("class")||""}function nt(t){return Array.isArray(t)?t:"string"==typeof t?t.match(Rt)||[]:[]}function rt(t,e,n,r){var i;if(Array.isArray(e))Et.each(e,function(e,i){n||De.test(t)?r(t,i):rt(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==a(e))r(t,e);else for(i in e)rt(t+"["+i+"]",e[i],n,r)}function it(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Rt)||[];if(_t(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function ot(t,e,n,r){function i(a){var l;return o[a]=!0,Et.each(t[a]||[],function(t,a){var c=a(e,n,r);return"string"!=typeof c||s||o[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),i(c),!1)}),l}var o={},s=t===Ge;return i(e.dataTypes[0])||!o["*"]&&i("*")}function st(t,e){var n,r,i=Et.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&Et.extend(!0,t,r),t}function at(t,e,n){for(var r,i,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function lt(t,e,n,r){var i,o,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(s=c[l+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],u.unshift(a[1]));break}if(s!==!0)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}var ct=[],ut=n.document,ht=Object.getPrototypeOf,pt=ct.slice,ft=ct.concat,dt=ct.push,gt=ct.indexOf,vt={},mt=vt.toString,yt=vt.hasOwnProperty,bt=yt.toString,wt=bt.call(Object),xt={},_t=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},Tt=function(t){return null!=t&&t===t.window},Ct={type:!0,src:!0,noModule:!0},St="3.3.1",Et=function(t,e){return new Et.fn.init(t,e)},kt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Et.fn=Et.prototype={jquery:St,constructor:Et,length:0,toArray:function(){return pt.call(this)},get:function(t){return null==t?pt.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=Et.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return Et.each(this,t)},map:function(t){return this.pushStack(Et.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(pt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:dt,sort:ct.sort,splice:ct.splice},Et.extend=Et.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||_t(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],r=t[e],s!==r&&(c&&r&&(Et.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&Et.isPlainObject(n)?n:{},s[e]=Et.extend(c,o,r)):void 0!==r&&(s[e]=r));return s},Et.extend({expando:"jQuery"+(St+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==mt.call(t))&&(!(e=ht(t))||(n=yt.call(e,"constructor")&&e.constructor,"function"==typeof n&&bt.call(n)===wt))},isEmptyObject:function(t){var e;
vendor: 4,284 bytes, lines 73-83
73for(e in t)return!1;return!0},globalEval:function(t){s(t)},each:function(t,e){var n,r=0;if(l(t))for(n=t.length;r<n&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(kt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(l(Object(t))?Et.merge(n,"string"==typeof t?[t]:t):dt.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:gt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,s=t.length,a=!n;o<s;o++)r=!e(t[o],o),r!==a&&i.push(t[o]);return i},map:function(t,e,n){var r,i,o=0,s=[];if(l(t))for(r=t.length;o<r;o++)i=e(t[o],o,n),null!=i&&s.push(i);else for(o in t)i=e(t[o],o,n),null!=i&&s.push(i);return ft.apply([],s)},guid:1,support:xt}),"function"==typeof Symbol&&(Et.fn[Symbol.iterator]=ct[Symbol.iterator]),Et.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){vt["[object "+e+"]"]=e.toLowerCase()});var At=/*! 74 * Sizzle CSS Selector Engine v2.3.3 75 * https://sizzlejs.com/ 76 * 77 * Copyright jQuery Foundation and other contributors 78 * Released under the MIT license 79 * http://jquery.org/license 80 * 81 * Date: 2016-08-08 82 */ 83function(t){function e(t,e,n,r){var i,o,s,a,l,c,u,p=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&((e?e.ownerDocument||e:z)!==O&&I(e),e=e||O,N)){if(11!==d&&(l=mt.exec(t)))if(i=l[1]){if(9===d){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(p&&(s=p.getElementById(i))&&F(e,s)&&s.id===i)return n.push(s),n}else{if(l[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((i=l[3])&&_.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(i)),n}if(_.qsa&&!V[t+" "]&&(!B||!B.test(t))){if(1!==d)p=e,u=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(xt,_t):e.setAttribute("id",a=$),c=E(t),o=c.length;o--;)c[o]="#"+a+" "+f(c[o]);u=c.join(","),p=yt.test(t)&&h(e.parentNode)||e}if(u)try{return Z.apply(n,p.querySelectorAll(u)),n}catch(t){}finally{a===$&&e.removeAttribute("id")}}}return A(t.replace(at,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>T.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[$]=!0,t}function i(t){var e=O.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function h(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function p(){}function f(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function d(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=q++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,l){var c,u,h,p=[H,a];if(l){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(h=e[$]||(e[$]={}),u=h[e.uniqueID]||(h[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=u[o])&&c[0]===H&&c[1]===a)return p[2]=c[2];if(u[o]=p,p[2]=t(e,n,l))return!0}return!1}}function g(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function v(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function m(t,e,n,r,i){for(var o,s=[],a=0,l=t.length,c=null!=e;a<l;
vendor: 1,091 bytes, line 83
83a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),c&&e.push(a)));return s}function y(t,e,n,i,o,s){return i&&!i[$]&&(i=y(i)),o&&!o[$]&&(o=y(o,s)),r(function(r,s,a,l){var c,u,h,p=[],f=[],d=s.length,g=r||v(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?g:m(g,p,t,a,l),b=n?o||(r?t:d||i)?[]:s:y;if(n&&n(y,b,a,l),i)for(c=m(b,f),i(c,[],a,l),u=c.length;u--;)(h=c[u])&&(b[f[u]]=!(y[f[u]]=h));if(r){if(o||t){if(o){for(c=[],u=b.length;u--;)(h=b[u])&&c.push(y[u]=h);o(null,b=[],c,l)}for(u=b.length;u--;)(h=b[u])&&(c=o?tt(r,h):p[u])>-1&&(r[c]=!(s[c]=h))}}else b=m(b===s?b.splice(d,b.length):b),o?o(null,s,b,l):Z.apply(s,b)})}function b(t){for(var e,n,r,i=t.length,o=T.relative[t[0].type],s=o||T.relative[" "],a=o?1:0,l=d(function(t){return t===e},s,!0),c=d(function(t){return tt(e,t)>-1},s,!0),u=[function(t,n,r){var i=!o&&(r||n!==P)||((e=n).nodeType?l(t,n,r):c(t,n,r));return e=null,i}];a<i;a++)if(n=T.relative[t[a].type])u=[d(g(u),n)];else{if(n=T.filter[t[a].type].apply(null,t[a].matches),n[$]){for(r=++a;r<i&&!T.relative[t[r].type];r++);return y(a>1&&g(u),a>1&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""}
vendor: 10,292 bytes, line 83
83)).replace(at,"$1"),n,a<r&&b(t.slice(a,r)),r<i&&b(t=t.slice(r)),r<i&&f(t))}u.push(n)}return g(u)}function w(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,l,c){var u,h,p,f=0,d="0",g=r&&[],v=[],y=P,b=r||o&&T.find.TAG("*",c),w=H+=null==y?1:Math.random()||.1,x=b.length;for(c&&(P=s===O||s||c);d!==x&&null!=(u=b[d]);d++){if(o&&u){for(h=0,s||u.ownerDocument===O||(I(u),a=!N);p=t[h++];)if(p(u,s||O,a)){l.push(u);break}c&&(H=w)}i&&((u=!p&&u)&&f--,r&&g.push(u))}if(f+=d,i&&d!==f){for(h=0;p=n[h++];)p(g,v,s,a);if(r){if(f>0)for(;d--;)g[d]||v[d]||(v[d]=J.call(l));v=m(v)}Z.apply(l,v),c&&!r&&v.length>0&&f+n.length>1&&e.uniqueSort(l)}return c&&(H=w,P=y),g};return i?r(s):s}var x,_,T,C,S,E,k,A,P,M,j,I,O,L,N,B,D,R,F,$="sizzle"+1*new Date,z=t.document,H=0,q=0,W=n(),U=n(),V=n(),Y=function(t,e){return t===e&&(j=!0),0},X={}.hasOwnProperty,G=[],J=G.pop,K=G.push,Z=G.push,Q=G.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),at=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(ot),pt=new RegExp("^"+rt+"$"),ft={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),wt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){I()},Ct=d(function(t){return t.disabled===!0&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{Z.apply(G=Q.call(z.childNodes),z.childNodes),G[z.childNodes.length].nodeType}catch(t){Z={apply:G.length?function(t,e){K.apply(t,Q.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}_=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},I=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:z;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,L=O.documentElement,N=!S(O),z!==O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Tt,!1):n.attachEvent&&n.attachEvent("onunload",Tt)),_.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=i(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=vt.test(O.getElementsByClassName),_.getById=i(function(t){return L.appendChild(t).id=$,!O.getElementsByName||!O.getElementsByName($).length}),_.getById?(T.filter.ID=function(t){var e=t.replace(bt,wt);return function(t){return t.getAttribute("id")===e}},T.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&N){var n=e.getElementById(t);return n?[n]:[]}}):(T.filter.ID=function(t){var e=t.replace(bt,wt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},T.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&N){var n,r,i,o=e.getElementById(t);if(o){if(n=o.getAttributeNode("id"),n&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if(n=o.getAttributeNode("id"),n&&n.value===t)return[o]}return[]}}),T.find.TAG=_.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},T.find.CLASS=_.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&N)return e.getElementsByClassName(t)},D=[],B=[],(_.qsa=vt.test(O.querySelectorAll))&&(i(function(t){L.appendChild(t).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||B.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+$+"-]").length||B.push("~="),t.querySelectorAll(":checked").length||B.push(":checked"),t.querySelectorAll("a#"+$+"+*").length||B.push(".#.+[+~]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&B.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),B.push(",.*:")})),(_.matchesSelector=vt.test(R=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(t){_.disconnectedMatch=R.call(t,"*"),R.call(t,"[s!='']:x"),D.push("!=",ot)}),B=B.length&&new RegExp(B.join("|")),D=D.length&&new RegExp(D.join("|")),e=vt.test(L.compareDocumentPosition),F=e||vt.test(L.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},Y=e?function(t,e){if(t===e)return j=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!_.sortDetached&&e.compareDocumentPosition(t)===n?t===O||t.ownerDocument===z&&F(z,t)?-1:e===O||e.ownerDocument===z&&F(z,e)?1:M?tt(M,t)-tt(M,e):0:4&n?-1:1)}:function(t,e){if(t===e)return j=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],l=[e];if(!i||!o)return t===O?-1:e===O?1:i?-1:o?1:M?tt(M,t)-tt(M,e):0;if(i===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?s(a[r],l[r]):a[r]===z?-1:l[r]===z?1:0},O):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&I(t),n=n.replace(ut,"='$1']"),_.matchesSelector&&N&&!V[n+" "]&&(!D||!D.test(n))&&(!B||!B.test(n)))try{var r=R.call(t,n);if(r||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&I(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&I(t);var n=T.attrHandle[e.toLowerCase()],r=n&&X.call(T.attrHandle,e.toLowerCase())?n(t,e,!N):void 0;return void 0!==r?r:_.attributes||!N?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(xt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(j=!_.detectDuplicates,M=!_.sortStable&&t.slice(0),t.sort(Y),j){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return M=null,t},C=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=C(e);return n},T=e.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,wt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=E(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(st," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var c,u,h,p,f,d,g=o!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(v){if(o){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}
vendor: 1,279 bytes, line 83
83if(d=[s?v.firstChild:v.lastChild],s&&y){for(p=v,h=p[$]||(p[$]={}),u=h[p.uniqueID]||(h[p.uniqueID]={}),c=u[t]||[],f=c[0]===H&&c[1],b=f&&c[2],p=f&&v.childNodes[f];p=++f&&p&&p[g]||(b=f=0)||d.pop();)if(1===p.nodeType&&++b&&p===e){u[t]=[H,f,b];break}}else if(y&&(p=e,h=p[$]||(p[$]={}),u=h[p.uniqueID]||(h[p.uniqueID]={}),c=u[t]||[],f=c[0]===H&&c[1],b=f),b===!1)for(;(p=++f&&p&&p[g]||(b=f=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&(h=p[$]||(p[$]={}),u=h[p.uniqueID]||(h[p.uniqueID]={}),u[t]=[H,b]),p!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=T.pseudos[t]||T.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[$]?o(n):o.length>1?(i=[t,t,"",n],T.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)r=tt(t,i[s]),t[r]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=k(t.replace(at,"$1"));return i[$]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(bt,wt),function(e){return(e.textContent||e.innerText||
vendor: 8,467 bytes, line 83
83C(e)).indexOf(t)>-1}}),lang:r(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,wt).toLowerCase(),function(e){var n;do if(n=N?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!T.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:u(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},T.pseudos.nth=T.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})T.pseudos[x]=l(x);return p.prototype=T.filters=T.pseudos,T.setFilters=new p,E=e.tokenize=function(t,n){var r,i,o,s,a,l,c,u=U[t+" "];if(u)return n?0:u.slice(0);for(a=t,l=[],c=T.preFilter;a;){r&&!(i=lt.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(o=[])),r=!1,(i=ct.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(at," ")}),a=a.slice(r.length));for(s in T.filter)!(i=ft[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):U(t,l).slice(0)},k=e.compile=function(t,e){var n,r=[],i=[],o=V[t+" "];if(!o){for(e||(e=E(t)),n=e.length;n--;)o=b(e[n]),o[$]?r.push(o):i.push(o);o=V(t,w(i,r)),o.selector=t}return o},A=e.select=function(t,e,n,r){var i,o,s,a,l,c="function"==typeof t&&t,u=!r&&E(t=c.selector||t);if(n=n||[],1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===e.nodeType&&N&&T.relative[o[1].type]){if(e=(T.find.ID(s.matches[0].replace(bt,wt),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i--&&(s=o[i],!T.relative[a=s.type]);)if((l=T.find[a])&&(r=l(s.matches[0].replace(bt,wt),yt.test(o[0].type)&&h(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&f(o),!t)return Z.apply(n,r),n;break}}return(c||k(t,u))(r,e,!N,n,!e||yt.test(t)&&h(e.parentNode)||e),n},_.sortStable=$.split("").sort(Y).join("")===$,_.detectDuplicates=!!j,I(),_.sortDetached=i(function(t){return 1&t.compareDocumentPosition(O.createElement("fieldset"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);Et.find=At,Et.expr=At.selectors,Et.expr[":"]=Et.expr.pseudos,Et.uniqueSort=Et.unique=At.uniqueSort,Et.text=At.getText,Et.isXMLDoc=At.isXML,Et.contains=At.contains,Et.escapeSelector=At.escape;var Pt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&Et(t).is(n))break;r.push(t)}return r},Mt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},jt=Et.expr.match.needsContext,It=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Et.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?Et.find.matchesSelector(r,t)?[r]:[]:Et.find.matches(t,Et.grep(e,function(t){return 1===t.nodeType}))},Et.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(Et(t).filter(function(){for(e=0;e<r;e++)if(Et.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)Et.find(t,i[e],n);return r>1?Et.uniqueSort(n):n},filter:function(t){return this.pushStack(u(this,t||[],!1))},not:function(t){return this.pushStack(u(this,t||[],!0))},is:function(t){return!!u(this,"string"==typeof t&&jt.test(t)?Et(t):t||[],!1).length}});var Ot,Lt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Nt=Et.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Ot,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Lt.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof Et?e[0]:e,Et.merge(this,Et.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:ut,!0)),It.test(r[1])&&Et.isPlainObject(e))for(r in e)_t(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=ut.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):_t(t)?void 0!==n.ready?n.ready(t):t(Et):Et.makeArray(t,this)};Nt.prototype=Et.fn,Ot=Et(ut);var Bt=/^(?:parents|prev(?:Until|All))/,Dt={children:!0,contents:!0,next:!0,prev:!0};Et.fn.extend({has:function(t){var e=Et(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(Et.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&Et(t);if(!jt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Et.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?Et.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?gt.call(Et(t),this[0]):gt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Et.uniqueSort(Et.merge(this.get(),Et(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Et.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Pt(t,"parentNode")},parentsUntil:function(t,e,n){return Pt(t,"parentNode",n)},next:function(t){return h(t,"nextSibling")},prev:function(t){return h(t,"previousSibling")},nextAll:function(t){return Pt(t,"nextSibling")},prevAll:function(t){return Pt(t,"previousSibling")},nextUntil:function(t,e,n){return Pt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Pt(t,"previousSibling",n)},siblings:function(t){return Mt((t.parentNode||{}).firstChild,t)},children:function(t){return Mt(t.firstChild)},contents:function(t){return c(t,"iframe")?t.contentDocument:(c(t,"template")&&(t=t.content||t),Et.merge([],t.childNodes))}},function(t,e){Et.fn[t]=function(n,r){var i=Et.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Et.filter(r,i)),this.length>1&&(Dt[t]||Et.uniqueSort(i),Bt.test(t)&&i.reverse()),this.pushStack(i)}});var Rt=/[^\x20\t\r\n\f]+/g;Et.Callbacks=function(t){t="string"==typeof t?p(t):Et.extend({},t);var e,n,r,i,o=[],s=[],l=-1,c=function(){for(i=i||t.once,r=e=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&t.stopOnFalse&&(l=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(l=o.length-1,s.push(n)),function e(n){Et.each(n,function(n,r){_t(r)?t.unique&&u.has(r)||o.push(r):r&&r.length&&"string"!==a(r)&&e(r)})}(arguments),n&&!e&&c()),this},remove:function(){return Et.each(arguments,function(t,e){for(var n;(n=Et.inArray(e,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(t){return t?Et.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||e||(o=n=""),this},locked:function(){return!!i}
vendor: 4,329 bytes, line 83
83,fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},Et.extend({Deferred:function(t){var e=[["notify","progress",Et.Callbacks("memory"),Et.Callbacks("memory"),2],["resolve","done",Et.Callbacks("once memory"),Et.Callbacks("once memory"),0,"resolved"],["reject","fail",Et.Callbacks("once memory"),Et.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return Et.Deferred(function(n){Et.each(e,function(e,r){var i=_t(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&_t(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,e,r,i){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t<s)){if(n=r.apply(a,l),n===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,_t(c)?i?c.call(n,o(s,e,f,i),o(s,e,d,i)):(s++,c.call(n,o(s,e,f,i),o(s,e,d,i),o(s,e,f,e.notifyWith))):(r!==f&&(a=void 0,l=[n]),(i||e.resolveWith)(a,l))}},u=i?c:function(){try{c()}catch(n){Et.Deferred.exceptionHook&&Et.Deferred.exceptionHook(n,u.stackTrace),t+1>=s&&(r!==d&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?u():(Et.Deferred.getStackHook&&(u.stackTrace=Et.Deferred.getStackHook()),n.setTimeout(u))}}var s=0;return Et.Deferred(function(n){e[0][3].add(o(0,n,_t(i)?i:f,n.notifyWith)),e[1][3].add(o(0,n,_t(t)?t:f)),e[2][3].add(o(0,n,_t(r)?r:d))}).promise()},promise:function(t){return null!=t?Et.extend(t,i):i}},o={};return Et.each(e,function(t,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add(function(){r=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=pt.call(arguments),o=Et.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?pt.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(g(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||_t(i[n]&&i[n].then)))return o.then();for(;n--;)g(i[n],s(n),o.reject);return o.promise()}});var Ft=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Et.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Ft.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},Et.readyException=function(t){n.setTimeout(function(){throw t})};var $t=Et.Deferred();Et.fn.ready=function(t){return $t.then(t).catch(function(t){Et.readyException(t)}),this},Et.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--Et.readyWait:Et.isReady)||(Et.isReady=!0,t!==!0&&--Et.readyWait>0||$t.resolveWith(ut,[Et]))}}),Et.ready.then=$t.then,"complete"===ut.readyState||"loading"!==ut.readyState&&!ut.documentElement.doScroll?n.setTimeout(Et.ready):(ut.addEventListener("DOMContentLoaded",v),n.addEventListener("load",v));var zt=function(t,e,n,r,i,o,s){var l=0,c=t.length,u=null==n;if("object"===a(n)){i=!0;for(l in n)zt(t,e,l,n[l],!0,o,s)}else if(void 0!==r&&(i=!0,_t(r)||(s=!0),u&&(s?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(Et(t),n)})),e))for(;l<c;l++)e(t[l],n,s?r:r.call(t[l],l,e(t[l],n)));return i?t:u?e.call(t):c?e(t[0],n):o},Ht=/^-ms-/,qt=/-([a-z])/g,Wt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};b.uid=1,b.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Wt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[y(e)]=n;else for(r in e)i[y(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][y(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){Array.isArray(e)?e=e.map(y):(e=y(e),e=e in r?[e]:e.match(Rt)||[]),n=e.length;for(;n--;)delete r[e[n]]}
vendor: 6,124 bytes, lines 83-84
83(void 0===e||Et.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!Et.isEmptyObject(e)}};var Ut=new b,Vt=new b,Yt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Xt=/[A-Z]/g;Et.extend({hasData:function(t){return Vt.hasData(t)||Ut.hasData(t)},data:function(t,e,n){return Vt.access(t,e,n)},removeData:function(t,e){Vt.remove(t,e)},_data:function(t,e,n){return Ut.access(t,e,n)},_removeData:function(t,e){Ut.remove(t,e)}}),Et.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Vt.get(o),1===o.nodeType&&!Ut.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=y(r.slice(5)),x(o,r,i[r])));Ut.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Vt.set(this,t)}):zt(this,function(e){var n;if(o&&void 0===e){if(n=Vt.get(o,t),void 0!==n)return n;if(n=x(o,t),void 0!==n)return n}else this.each(function(){Vt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Vt.remove(this,t)})}}),Et.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Ut.get(t,e),n&&(!r||Array.isArray(n)?r=Ut.access(t,e,Et.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=Et.queue(t,e),r=n.length,i=n.shift(),o=Et._queueHooks(t,e),s=function(){Et.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ut.get(t,n)||Ut.access(t,n,{empty:Et.Callbacks("once memory").add(function(){Ut.remove(t,[e+"queue",n])})})}}),Et.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Et.queue(this[0],t):void 0===e?this:this.each(function(){var n=Et.queue(this,t,e);Et._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Et.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Et.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=Et.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Ut.get(o[s],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var Gt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Jt=new RegExp("^(?:([+-])=|)("+Gt+")([a-z%]*)$","i"),Kt=["Top","Right","Bottom","Left"],Zt=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&Et.contains(t.ownerDocument,t)&&"none"===Et.css(t,"display")},Qt=function(t,e,n,r){var i,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=s[o];return i},te={};Et.fn.extend({show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Zt(this)?Et(this).show():Et(this).hide()})}});var ee=/^(?:checkbox|radio)$/i,ne=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,re=/^$|^module$|\/(?:java|ecma)script/i,ie={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ie.optgroup=ie.option,ie.tbody=ie.tfoot=ie.colgroup=ie.caption=ie.thead,ie.th=ie.td;var oe=/<|&#?\w+;/;!function(){var t=ut.createDocumentFragment(),e=t.appendChild(ut.createElement("div")),n=ut.createElement("input");n.setAttribute("type","radio"), 84n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),xt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",xt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var se=ut.documentElement,ae=/^key/,le=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ce=/^([^.]*)(?:\.(.+)|)/;Et.event={global:{},add:function(t,e,n,r,i){var o,s,a,l,c,u,h,p,f,d,g,v=Ut.get(t);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&Et.find.matchesSelector(se,i),n.guid||(n.guid=Et.guid++),(l=v.events)||(l=v.events={}),(s=v.handle)||(s=v.handle=function(e){return"undefined"!=typeof Et&&Et.event.triggered!==e.type?Et.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Rt)||[""],c=e.length;c--;)a=ce.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f&&(h=Et.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,h=Et.event.special[f]||{},u=Et.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Et.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=l[f])||(p=l[f]=[],p.delegateCount=0,h.setup&&h.setup.call(t,r,d,s)!==!1||t.addEventListener&&t.addEventListener(f,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),Et.event.global[f]=!0)},remove:function(t,e,n,r,i){var o,s,a,l,c,u,h,p,f,d,g,v=Ut.hasData(t)&&Ut.get(t);if(v&&(l=v.events)){for(e=(e||"").match(Rt)||[""],c=e.length;c--;)if(a=ce.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f){for(h=Et.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,p=l[f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)u=p[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,h.remove&&h.remove.call(t,u));s&&!p.length&&(h.teardown&&h.teardown.call(t,d,v.handle)!==!1||Et.removeEvent(t,f,v.handle),delete l[f])}else for(f in l)Et.event.remove(t,f+e[c],n,r,!0);Et.isEmptyObject(l)&&Ut.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=Et.event.fix(t),l=new Array(arguments.length),c=(Ut.get(this,"events")||{})[a.type]||[],u=Et.event.special[a.type]||{};for(l[0]=a,e=1;e<arguments.length;e++)l[e]=arguments[e];if(a.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,a)!==!1){for(s=Et.event.handlers.call(this,a,c),e=0;(i=s[e++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();
vendor: 3,323 bytes, line 84
84)a.rnamespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,r=((Et.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,l),void 0!==r&&(a.result=r)===!1&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,r,i,o,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||c.disabled!==!0)){for(o=[],s={},n=0;n<l;n++)r=e[n],i=r.selector+" ",void 0===s[i]&&(s[i]=r.needsContext?Et(i,this).index(c)>-1:Et.find(i,this,null,[c]).length),s[i]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(Et.Event.prototype,t,{enumerable:!0,configurable:!0,get:_t(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[Et.expando]?t:new Et.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==M()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===M()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&c(this,"input"))return this.click(),!1},_default:function(t){return c(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},Et.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},Et.Event=function(t,e){return this instanceof Et.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?A:P,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&Et.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),void(this[Et.expando]=!0)):new Et.Event(t,e)},Et.Event.prototype={constructor:Et.Event,isDefaultPrevented:P,isPropagationStopped:P,isImmediatePropagationStopped:P,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=A,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=A,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=A,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Et.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&ae.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&le.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},Et.event.addProp),Et.each({mouseenter:"mouseover",mouseleave:"mou
84seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Et.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||Et.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),Et.fn.extend({on:function(t,e,n,r){return j(this,t,e,n,r)},one:function(t,e,n,r){return j(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,Et(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=P),this.each(function(){Et.event.remove(this,t,n,e)})}});var ue=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,he=/<script|<style|<link/i,pe=/checked\s*(?:[^=]|=\s*.checked.)/i,fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Et.extend({htmlPrefilter:function(t){return t.replace(ue,"<$1></$2>")},clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),l=Et.contains(t.ownerDocument,t);if(!(xt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Et.isXMLDoc(t)))for(s=S(a),o=S(t),r=0,i=o.length;r<i;r++)B(o[r],s[r]);if(e)if(n)for(o=o||S(t),s=s||S(a),r=0,i=o.length;r<i;r++)N(o[r],s[r]);else N(t,a);return s=S(a,"script"),s.length>0&&E(s,!l&&S(t,"script")),a},cleanData:function(t){for(var e,n,r,i=Et.event.special,o=0;void 0!==(n=t[o]);o++)if(Wt(n)){if(e=n[Ut.expando]){if(e.events)for(r in e.events)i[r]?Et.event.remove(n,r):Et.removeEvent(n,r,e.handle);n[Ut.expando]=void 0}n[Vt.expando]&&(n[Vt.expando]=void 0)}}}),Et.fn.extend({detach:function(t){return R(this,t,!0)},remove:function(t){return R(this,t)},text:function(t){return zt(this,function(t){return void 0===t?Et.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return D(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=I(this,t);e.appendChild(t)}})},prepend:function(){return D(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=I(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Et.cleanData(S(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Et.clone(this,t,e)})},html:function(t){return zt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!he.test(t)&&!ie[(ne.exec(t)||["",""])[1].toLowerCase()]){t=Et.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(Et.cleanData(S(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return D(this,arguments,function(e){var n=this.parentNode;Et.inArray(this,t)<0&&(Et.cleanData(S(this)),n&&n.replaceChild(e,this))},t)}}),Et.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Et.fn[t]=function(t){for(var n,r=[],i=Et(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Et(i[s])[e](n),dt.apply(r,n.get());return this.pushStack(r)}});var de=new RegExp("^("+Gt+")(?!px)[a-z%]+$","i"),ge=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},ve=new RegExp(Kt.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",se.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);
vendor: 9,467 bytes, line 84
84r="1%"!==t.top,a=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",se.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,s,a,l=ut.createElement("div"),c=ut.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",xt.clearCloneStyle="content-box"===c.style.backgroundClip,Et.extend(xt,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),o}}))}();var me=/^(none|table(?!-c[ea]).+)/,ye=/^--/,be={position:"absolute",visibility:"hidden",display:"block"},we={letterSpacing:"0",fontWeight:"400"},xe=["Webkit","Moz","ms"],_e=ut.createElement("div").style;Et.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=F(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=y(e),l=ye.test(e),c=t.style;return l||(e=H(a)),s=Et.cssHooks[e]||Et.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:c[e]:(o=typeof n,"string"===o&&(i=Jt.exec(n))&&i[1]&&(n=_(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(Et.cssNumber[a]?"":"px")),xt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(l?c.setProperty(e,n):c[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,s,a=y(e),l=ye.test(e);return l||(e=H(a)),s=Et.cssHooks[e]||Et.cssHooks[a],s&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=F(t,e,r)),"normal"===i&&e in we&&(i=we[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),Et.each(["height","width"],function(t,e){Et.cssHooks[e]={get:function(t,n,r){if(n)return!me.test(Et.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?U(t,e,r):Qt(t,be,function(){return U(t,e,r)})},set:function(t,n,r){var i,o=ge(t),s="border-box"===Et.css(t,"boxSizing",!1,o),a=r&&W(t,e,r,s,o);return s&&xt.scrollboxSize()===o.position&&(a-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-W(t,e,"border",!1,o)-.5)),a&&(i=Jt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=Et.css(t,e)),q(t,n,a)}}}),Et.cssHooks.marginLeft=$(xt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(F(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),Et.each({margin:"",padding:"",border:"Width"},function(t,e){Et.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+Kt[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(Et.cssHooks[t+e].set=q)}),Et.fn.extend({css:function(t,e){return zt(this,function(t,e,n){var r,i,o={},s=0;if(Array.isArray(e)){for(r=ge(t),i=e.length;s<i;s++)o[e[s]]=Et.css(t,e[s],!1,r);return o}return void 0!==n?Et.style(t,e,n):Et.css(t,e)},t,e,arguments.length>1)}}),Et.Tween=V,V.prototype={constructor:V,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||Et.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Et.cssNumber[n]?"":"px")},cur:function(){var t=V.propHooks[this.prop];return t&&t.get?t.get(this):V.propHooks._default.get(this)},run:function(t){var e,n=V.propHooks[this.prop];return this.options.duration?this.pos=e=Et.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Et.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){Et.fx.step[t.prop]?Et.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[Et.cssProps[t.prop]]&&!Et.cssHooks[t.prop]?t.elem[t.prop]=t.now:Et.style(t.elem,t.prop,t.now+t.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Et.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Et.fx=V.prototype.init,Et.fx.step={};var Te,Ce,Se=/^(?:toggle|show|hide)$/,Ee=/queueHooks$/;Et.Animation=Et.extend(Q,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return _(n.elem,t,Jt.exec(e),n),n}]},tweener:function(t,e){_t(t)?(e=t,t=["*"]):t=t.match(Rt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(e)},prefilters:[K],prefilter:function(t,e){e?Q.prefilters.unshift(t):Q.prefilters.push(t)}}),Et.speed=function(t,e,n){var r=t&&"object"==typeof t?Et.extend({},t):{complete:n||!n&&e||_t(t)&&t,duration:t,easing:n&&e||e&&!_t(e)&&e};return Et.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Et.fx.speeds?r.duration=Et.fx.speeds[r.duration]:r.duration=Et.fx.speeds._default),null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){_t(r.old)&&r.old.call(this),r.queue&&Et.dequeue(this,r.queue)},r},Et.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Zt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=Et.isEmptyObject(t),o=Et.speed(e,n,r),s=function(){var e=Q(this,Et.extend({},t),o);(i||Ut.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=Et.timers,s=Ut.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Ee.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||Et.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Ut.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=Et.timers,s=r?r.length:0;for(n.finish=!0,Et.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),Et.each(["toggle","show","hide"],function(t,e){var n=Et.fn[e];Et.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(G(e,!0),t,r,i)}}),Et.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Et.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),Et.timers=[],Et.fx.tick=function(){var t,e=0,n=Et.timers;for(Te=Date.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||Et.fx.stop(),Te=void 0},Et.fx.timer=function(t){Et.timers.push(t),Et.fx.start()},Et.fx.interval=13,Et.fx.start=function(){Ce||(Ce=!0,Y())},Et.fx.stop=function(){Ce=null},Et.fx.speeds={slow:600,fast:200,_default:400},Et.fn.delay=function(t,e){return t=Et.fx?Et.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=ut.createElement("input"),e=ut.createElement("select"),n=e.appendChild(ut.createElement("option"));t.type="checkbox",xt.checkOn=""!==t.value,xt.optSelected=n.selected,t=ut.createElement("input"),t.value="t",t.type="radio",xt.radioValue="t"===t.value}();var ke,Ae=Et.expr.attrHandle;Et.fn.extend({attr:function(t,e){return zt(this,Et.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Et.removeAttr(this,t)})}}),Et.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?Et.prop(t,e,n):(1===o&&Et.isXMLDoc(t)||(i=Et.attrHooks[e.toLowerCase()]||(Et.expr.match.bool.test(e)?ke:void 0)),void 0!==n?null===n?void Et.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=Et.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!xt.radioValue&&"radio"===e&&c(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Rt);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),ke={set:function(t,e,n){return e===!1?Et.removeAttr(t,n):t.setAttribute(n,n),n}},Et.each(Et.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ae[e]||Et.find.attr;Ae[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=Ae[s],Ae[s]=i,i=null!=n(t,e,r)?s:null,Ae[s]=o),i}});var Pe=/^(?:input|select|textarea|button)$/i,Me=/^(?:a|area)$/i;Et.fn.extend({prop:function(t,e){return zt(this,Et.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Et.propFix[t]||t]})}}),Et.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Et.isXMLDoc(t)||(e=Et.propFix[e]||e,i=Et.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=Et.find.attr(t,"tabindex");
84return e?parseInt(e,10):Pe.test(t.nodeName)||Me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),xt.optSelected||(Et.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Et.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Et.propFix[this.toLowerCase()]=this}),Et.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,l=0;if(_t(t))return this.each(function(e){Et(this).addClass(t.call(this,e,et(this)))});if(e=nt(t),e.length)for(;n=this[l++];)if(i=et(n),r=1===n.nodeType&&" "+tt(i)+" "){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=tt(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,l=0;if(_t(t))return this.each(function(e){Et(this).removeClass(t.call(this,e,et(this)))});if(!arguments.length)return this.attr("class","");if(e=nt(t),e.length)for(;n=this[l++];)if(i=et(n),r=1===n.nodeType&&" "+tt(i)+" "){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=tt(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):_t(t)?this.each(function(n){Et(this).toggleClass(t.call(this,n,et(this),e),e)}):this.each(function(){var e,i,o,s;if(r)for(i=0,o=Et(this),s=nt(t);e=s[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||(e=et(this),e&&Ut.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Ut.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+tt(et(n))+" ").indexOf(e)>-1)return!0;return!1}});var je=/\r/g;Et.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=_t(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,Et(this).val()):t,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Et.map(i,function(t){return null==t?"":t+""})),e=Et.valHooks[this.type]||Et.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=Et.valHooks[i.type]||Et.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(je,""):null==n?"":n)}}}),Et.extend({valHooks:{option:{get:function(t){var e=Et.find.attr(t,"value");return null!=e?e:tt(Et.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){if(e=Et(n).val(),s)return e;a.push(e)}return a}
vendor: 11,101 bytes, lines 84-85
84,set:function(t,e){for(var n,r,i=t.options,o=Et.makeArray(e),s=i.length;s--;)r=i[s],(r.selected=Et.inArray(Et.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),Et.each(["radio","checkbox"],function(){Et.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=Et.inArray(Et(t).val(),e)>-1}},xt.checkOn||(Et.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),xt.focusin="onfocusin"in n;var Ie=/^(?:focusinfocus|focusoutblur)$/,Oe=function(t){t.stopPropagation()};Et.extend(Et.event,{trigger:function(t,e,r,i){var o,s,a,l,c,u,h,p,f=[r||ut],d=yt.call(t,"type")?t.type:t,g=yt.call(t,"namespace")?t.namespace.split("."):[];if(s=p=a=r=r||ut,3!==r.nodeType&&8!==r.nodeType&&!Ie.test(d+Et.event.triggered)&&(d.indexOf(".")>-1&&(g=d.split("."),d=g.shift(),g.sort()),c=d.indexOf(":")<0&&"on"+d,t=t[Et.expando]?t:new Et.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:Et.makeArray(e,[t]),h=Et.event.special[d]||{},i||!h.trigger||h.trigger.apply(r,e)!==!1)){if(!i&&!h.noBubble&&!Tt(r)){for(l=h.delegateType||d,Ie.test(l+d)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(r.ownerDocument||ut)&&f.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)p=s,t.type=o>1?l:h.bindType||d,u=(Ut.get(s,"events")||{})[t.type]&&Ut.get(s,"handle"),u&&u.apply(s,e),u=c&&s[c],u&&u.apply&&Wt(s)&&(t.result=u.apply(s,e),t.result===!1&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||h._default&&h._default.apply(f.pop(),e)!==!1||!Wt(r)||c&&_t(r[d])&&!Tt(r)&&(a=r[c],a&&(r[c]=null),Et.event.triggered=d,t.isPropagationStopped()&&p.addEventListener(d,Oe),r[d](),t.isPropagationStopped()&&p.removeEventListener(d,Oe),Et.event.triggered=void 0,a&&(r[c]=a)),t.result}},simulate:function(t,e,n){var r=Et.extend(new Et.Event,n,{type:t,isSimulated:!0});Et.event.trigger(r,null,e)}}),Et.fn.extend({trigger:function(t,e){return this.each(function(){Et.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return Et.event.trigger(t,e,n,!0)}}),xt.focusin||Et.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Et.event.simulate(e,t.target,Et.event.fix(t))};Et.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Ut.access(r,e);i||r.addEventListener(t,n,!0),Ut.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Ut.access(r,e)-1;i?Ut.access(r,e,i):(r.removeEventListener(t,n,!0),Ut.remove(r,e))}}});var Le=n.location,Ne=Date.now(),Be=/\?/;Et.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||Et.error("Invalid XML: "+t),e};var De=/\[\]$/,Re=/\r?\n/g,Fe=/^(?:submit|button|image|reset|file)$/i,$e=/^(?:input|select|textarea|keygen)/i;Et.param=function(t,e){var n,r=[],i=function(t,e){var n=_t(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!Et.isPlainObject(t))Et.each(t,function(){i(this.name,this.value)});else for(n in t)rt(n,t[n],e,i);return r.join("&")},Et.fn.extend({serialize:function(){return Et.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Et.prop(this,"elements");return t?Et.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Et(this).is(":disabled")&&$e.test(this.nodeName)&&!Fe.test(t)&&(this.checked||!ee.test(t))}).map(function(t,e){var n=Et(this).val();return null==n?null:Array.isArray(n)?Et.map(n,function(t){return{name:e.name,value:t.replace(Re,"\r\n")}}):{name:e.name,value:n.replace(Re,"\r\n")}}).get()}});var ze=/%20/g,He=/#.*$/,qe=/([?&])_=[^&]*/,We=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ue=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ve=/^(?:GET|HEAD)$/,Ye=/^\/\//,Xe={},Ge={},Je="*/".concat("*"),Ke=ut.createElement("a");Ke.href=Le.href,Et.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Le.href,type:"GET",isLocal:Ue.test(Le.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Je,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Et.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?st(st(t,Et.ajaxSettings),e):st(Et.ajaxSettings,t)},ajaxPrefilter:it(Xe),ajaxTransport:it(Ge),ajax:function(t,e){function r(t,e,r,a){var c,p,f,w,x,_=e;u||(u=!0,l&&n.clearTimeout(l),i=void 0,s=a||"",T.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(w=at(d,T,r)),w=lt(d,w,T,c),c?(d.ifModified&&(x=T.getResponseHeader("Last-Modified"),x&&(Et.lastModified[o]=x),x=T.getResponseHeader("etag"),x&&(Et.etag[o]=x)),204===t||"HEAD"===d.type?_="nocontent":304===t?_="notmodified":(_=w.state,p=w.data,f=w.error,c=!f)):(f=_,!t&&_||(_="error",t<0&&(t=0))),T.status=t,T.statusText=(e||_)+"",c?m.resolveWith(g,[p,_,T]):m.rejectWith(g,[T,_,f]),T.statusCode(b),b=void 0,h&&v.trigger(c?"ajaxSuccess":"ajaxError",[T,d,c?p:f]),y.fireWith(g,[T,_]),h&&(v.trigger("ajaxComplete",[T,d]),--Et.active||Et.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,s,a,l,c,u,h,p,f,d=Et.ajaxSetup({},e),g=d.context||d,v=d.context&&(g.nodeType||g.jquery)?Et(g):Et.event,m=Et.Deferred(),y=Et.Callbacks("once memory"),b=d.statusCode||{},w={},x={},_="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=We.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){return null==u&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==u&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)T.always(t[T.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return i&&i.abort(e),r(0,e),this}};if(m.promise(T),d.url=((t||d.url||Le.href)+"").replace(Ye,Le.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Rt)||[""],null==d.crossDomain){c=ut.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Ke.protocol+"//"+Ke.host!=c.protocol+"//"+c.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=Et.param(d.data,d.traditional)),ot(Xe,d,e,T),u)return T;h=Et.event&&d.global,h&&0===Et.active++&&Et.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ve.test(d.type),o=d.url.replace(He,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(ze,"+")):(f=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(Be.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(o=o.replace(qe,"$1"),f=(Be.test(o)?"&":"?")+"_="+Ne++ +f),d.url=o+f),d.ifModified&&(Et.lastModified[o]&&T.setRequestHeader("If-Modified-Since",Et.lastModified[o]),Et.etag[o]&&T.setRequestHeader("If-None-Match",Et.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Je+"; q=0.01":""):d.accepts["*"]);for(p in d.headers)T.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(d.beforeSend.call(g,T,d)===!1||u))return T.abort();if(_="abort",y.add(d.complete),T.done(d.success),T.fail(d.error),i=ot(Ge,d,e,T)){if(T.readyState=1,h&&v.trigger("ajaxSend",[T,d]),u)return T;d.async&&d.timeout>0&&(l=n.setTimeout(function(){T.abort("timeout")},d.timeout));try{u=!1,i.send(w,r)}catch(t){if(u)throw t;r(-1,t)}}else r(-1,"No Transport");return T},getJSON:function(t,e,n){return Et.get(t,e,n,"json")},getScript:function(t,e){return Et.get(t,void 0,e,"script")}}),Et.each(["get","post"],function(t,e){Et[e]=function(t,n,r,i){return _t(n)&&(i=i||r,r=n,n=void 0),Et.ajax(Et.extend({url:t,type:e,dataType:i,data:n,success:r},Et.isPlainObject(t)&&t))}}),Et._evalUrl=function(t){return Et.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},Et.fn.extend({wrapAll:function(t){var e;return this[0]&&(_t(t)&&(t=t.call(this[0])),e=Et(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return _t(t)?this.each(function(e){Et(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Et(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=_t(t);return this.each(function(n){Et(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){Et(this).replaceWith(this.childNodes)}),this}}),Et.expr.pseudos.hidden=function(t){return!Et.expr.pseudos.visible(t)},Et.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Et.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},Qe=Et.ajaxSettings.xhr();xt.cors=!!Qe&&"withCredentials"in Qe,xt.ajax=Qe=!!Qe,Et.ajaxTransport(function(t){var e,r;if(xt.cors||Qe&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password), 85t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ze[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),r=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),Et.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),Et.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return Et.globalEval(t),t}}}),Et.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Et.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=Et("<script>
85").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),ut.head.appendChild(e[0])},abort:function(){n&&n()}}}});var tn=[],en=/(=)\?(?=&|$)|\?\?/;Et.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tn.pop()||Et.expando+"_"+Ne++;return this[t]=!0,t}}),Et.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,s,a=t.jsonp!==!1&&(en.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=_t(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(en,"$1"+i):t.jsonp!==!1&&(t.url+=(Be.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||Et.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always(function(){void 0===o?Et(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,tn.push(i)),s&&_t(o)&&o(s[0]),s=o=void 0}),"script"}),xt.createHTMLDocument=function(){var t=ut.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),Et.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(xt.createHTMLDocument?(e=ut.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=ut.location.href,e.head.appendChild(r)):e=ut),i=It.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=k([t],e,o),o&&o.length&&Et(o).remove(),Et.merge([],i.childNodes))},Et.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=tt(t.slice(a)),t=t.slice(0,a)),_t(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&Et.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?Et("<div>").append(Et.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},Et.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Et.fn[e]=function(t){return this.on(e,t)}}),Et.expr.pseudos.animated=function(t){return Et.grep(Et.timers,function(e){return t===e.elem}).length},Et.offset={setOffset:function(t,e,n){var r,i,o,s,a,l,c,u=Et.css(t,"position"),h=Et(t),p={};"static"===u&&(t.style.position="relative"),a=h.offset(),o=Et.css(t,"top"),l=Et.css(t,"left"),c=("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1,c?(r=h.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(l)||0),_t(e)&&(e=e.call(t,n,Et.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+i),"using"in e?e.using.call(t,p):h.css(p)}},Et.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Et.offset.setOffset(this,t,e)});var e,n,r=this[0];if(r)return r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===Et.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===Et.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&(i=Et(t).offset(),i.top+=Et.css(t,"borderTopWidth",!0),i.left+=Et.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-Et.css(r,"marginTop",!0),left:e.left-i.left-Et.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===Et.css(t,"position");)t=t.offsetParent;return t||se})}}),Et.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;Et.fn[t]=function(r){return zt(this,function(t,r,i){var o;return Tt(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),Et.each(["top","left"],function(t,e){Et.cssHooks[e]=$(xt.pixelPosition,function(t,n){if(n)return n=F(t,e),de.test(n)?Et(t).position()[e]+"px":n})}),Et.each({Height:"height",Width:"width"},function(t,e){Et.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){Et.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||o===!0?"margin":"border");return zt(this,function(e,n,i){var o;return Tt(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?Et.css(e,n,a):Et.style(e,n,i,a)},e,s?i:void 0,s)}})}),Et.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){Et.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),Et.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),Et.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),Et.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),_t(t))return r=pt.call(arguments,2),i=function(){return t.apply(e||this,r.concat(pt.call(arguments)))},i.guid=t.guid=t.guid||Et.guid++,i},Et.holdReady=function(t){t?Et.readyWait++:Et.ready(!0)},Et.isArray=Array.isArray,Et.parseJSON=JSON.parse,Et.nodeName=c,Et.isFunction=_t,Et.isWindow=Tt,Et.camelCase=y,Et.type=a,Et.now=Date.now,Et.isNumeric=function(t){var e=Et.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},r=[],i=function(){return Et}.apply(e,r),!(void 0!==i&&(t.exports=i));var nn=n.jQuery,rn=n.$;return Et.noConflict=function(t){return n.$===Et&&(n.$=rn),t&&n.jQuery===Et&&(n.jQuery=nn),Et},o||(n.jQuery=n.$=Et),Et})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(8),i=n(39);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(3),i=n(14),o=n(13),s=n(43)("src"),a="toString",l=Function[a],c=(""+l).split(a);n(24).inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,n,a){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))
vendor: 4,103 bytes, line 85
85),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[s]||l.call(this)})},function(t,e,n){var r=n(1),i=n(4),o=n(25),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(50),i=n(39),o=n(19),s=n(28),a=n(13),l=n(105),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=o(t),e=s(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(13),i=n(10),o=n(82)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(49),i=n(25);t.exports=function(t){return r(i(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(12);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(21),i=n(49),o=n(10),s=n(9),a=n(67);t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,h=6==t,p=5==t||h,f=e||a;return function(e,a,d){for(var g,v,m=o(e),y=i(m),b=r(a,d,3),w=s(y.length),x=0,_=n?f(e,w):l?f(e,0):void 0;w>x;x++)if((p||x in y)&&(g=y[x],v=b(g,x,m),t))if(n)_[x]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:_.push(g)}else if(u)return!1;return h?-1:c||u?u:_}}},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(1),i=n(24),o=n(4);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(126),i=n(1),o=n(62)("metadata"),s=o.store||(o.store=new(n(129))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},l=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},u=function(t,e,n,r){a(n,r,!0).set(t,e)},h=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},f=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:l,get:c,set:u,keys:h,key:p,exp:f}},function(t,e,n){"use strict";if(n(7)){var r=n(35),i=n(3),o=n(4),s=n(1),a=n(64),l=n(88),c=n(21),u=n(33),h=n(39),p=n(14),f=n(40),d=n(27),g=n(9),v=n(124),m=n(42),y=n(28),b=n(13),w=n(48),x=n(5),_=n(10),T=n(74),C=n(36),S=n(18),E=n(37).f,k=n(91),A=n(43),P=n(6),M=n(23),j=n(51),I=n(63),O=n(92),L=n(44),N=n(57),B=n(41),D=n(66),R=n(97),F=n(8),$=n(17),z=F.f,H=$.f,q=i.RangeError,W=i.TypeError,U=i.Uint8Array,V="ArrayBuffer",Y="Shared"+V,X="BYTES_PER_ELEMENT",G="prototype",J=Array[G],K=l.ArrayBuffer,Z=l.DataView,Q=M(0),tt=M(2),et=M(3),nt=M(4),rt=M(5),it=M(6),ot=j(!0),st=j(!1),at=O.values,lt=O.keys,ct=O.entries,ut=J.lastIndexOf,ht=J.reduce,pt=J.reduceRight,ft=J.join,dt=J.sort,gt=J.slice,vt=J.toString,mt=J.toLocaleStr
vendor: 4,468 bytes, line 85
85ing,yt=P("iterator"),bt=P("toStringTag"),wt=A("typed_constructor"),xt=A("def_constructor"),_t=a.CONSTR,Tt=a.TYPED,Ct=a.VIEW,St="Wrong length!",Et=M(1,function(t,e){return jt(I(t,t[xt]),e)}),kt=o(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),At=!!U&&!!U[G].set&&o(function(){new U(1).set({})}),Pt=function(t,e){var n=d(t);if(n<0||n%e)throw q("Wrong offset!");return n},Mt=function(t){if(x(t)&&Tt in t)return t;throw W(t+" is not a typed array!")},jt=function(t,e){if(!(x(t)&&wt in t))throw W("It is not a typed array constructor!");return new t(e)},It=function(t,e){return Ot(I(t,t[xt]),e)},Ot=function(t,e){for(var n=0,r=e.length,i=jt(t,r);r>n;)i[n]=e[n++];return i},Lt=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},Nt=function(t){var e,n,r,i,o,s,a=_(t),l=arguments.length,u=l>1?arguments[1]:void 0,h=void 0!==u,p=k(a);if(void 0!=p&&!T(p)){for(s=p.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(h&&l>2&&(u=c(u,arguments[2],2)),e=0,n=g(a.length),i=jt(this,n);n>e;e++)i[e]=h?u(a[e],e):a[e];return i},Bt=function(){for(var t=0,e=arguments.length,n=jt(this,e);e>t;)n[t]=arguments[t++];return n},Dt=!!U&&o(function(){mt.call(new U(1))}),Rt=function(){return mt.apply(Dt?gt.call(Mt(this)):Mt(this),arguments)},Ft={copyWithin:function(t,e){return R.call(Mt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Mt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(Mt(this),arguments)},filter:function(t){return It(this,tt(Mt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Mt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Mt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Mt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return st(Mt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Mt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Mt(this),arguments)},lastIndexOf:function(t){return ut.apply(Mt(this),arguments)},map:function(t){return Et(Mt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ht.apply(Mt(this),arguments)},reduceRight:function(t){return pt.apply(Mt(this),arguments)},reverse:function(){for(var t,e=this,n=Mt(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return et(Mt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return dt.call(Mt(this),t)},subarray:function(t,e){var n=Mt(this),r=n.length,i=m(t,r);return new(I(n,n[xt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,g((void 0===e?r:m(e,r))-i))}},$t=function(t,e){return It(this,gt.call(Mt(this),t,e))},zt=function(t){Mt(this);var e=Pt(arguments[1],1),n=this.length,r=_(t),i=g(r.length),o=0;if(i+e>n)throw q(St);for(;o<i;)this[e+o]=r[o++]},Ht={entries:function(){return ct.call(Mt(this))},keys:function(){return lt.call(Mt(this))},values:function(){return at.call(Mt(this))}},qt=function(t,e){return x(t)&&t[Tt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Wt=function(t,e){return qt(t,e=y(e,!0))?h(2,t[e]):H(t,e)},Ut=function(t,e,n){return!(qt(t,e=y(e,!0))&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?z(t,e,n):(t[e]=n.value,t)};_t||($.f=Wt,F.f=Ut),s(s.S+s.F*!_t,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Ut}),o(function(){vt.call({})})&&(vt=mt=function(){return ft.call(this)});var Vt=f({},Ft);f(Vt,Ht),p(Vt,yt,Ht.values),f(Vt,{slice:$t,set:zt,constructor:function(){},toString:vt,toLocaleString:Rt}),Lt(Vt,"buffer","b"),Lt(Vt,"byteOffset","o"),Lt(Vt,"byteLength","l"),Lt(Vt,"length","e"),z(Vt,bt,{get:function(){return this[Tt]}}),t.exports=function(t,e,n,l){l=!!l;var c=t+(l?"Clamped":"")+"Array",h="get"+t,f="set"+t,d=i[c],m=d||{},y=d&&S(d),b=!d||!a.ABV,_={},T=d&&d[G],k=function(t,n){var r=t._d;return r.v[h](n*e+r.o,kt)},A=function(t,n,r){var i=t._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[f](n*e+i.o,r,kt)},P=function(t,e){z(t,e,{get:function(){return k(this,e)},set:function(t){return A(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,i){u(t,d,c,"_d");var o,s,a,l,h=0,f=0;if(x(n)){if(!(n instanceof K||(l=w(n))==V||l==Y))return Tt in n?Ot(d,n):Nt.call(d,n);o=n,f=Pt(r,e);var m=n.byteLength;if(void 0===i){if(m%e)throw q(St);if(s=m-f,s<0)throw q(St)}else if(s=g(i)*e,s+f>m)throw q(St);a=s/e}else a=v(n),s=a*e,o=new K(s);
vendor: 5,116 bytes, line 85
85for(p(t,"_d",{b:o,o:f,l:s,e:a,v:new Z(o)});h<a;)P(t,h++)}),T=d[G]=C(Vt),p(T,"constructor",d)):o(function(){d(1)})&&o(function(){new d(-1)})&&N(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=n(function(t,n,r,i){u(t,d,c);var o;return x(n)?n instanceof K||(o=w(n))==V||o==Y?void 0!==i?new m(n,Pt(r,e),i):void 0!==r?new m(n,Pt(r,e)):new m(n):Tt in n?Ot(d,n):Nt.call(d,n):new m(v(n))}),Q(y!==Function.prototype?E(m).concat(E(y)):E(m),function(t){t in d||p(d,t,m[t])}),d[G]=T,r||(T.constructor=d));var M=T[yt],j=!!M&&("values"==M.name||void 0==M.name),I=Ht.values;p(d,wt,!0),p(T,Tt,c),p(T,Ct,!0),p(T,xt,d),(l?new d(1)[bt]==c:bt in T)||z(T,bt,{get:function(){return c}}),_[c]=d,s(s.G+s.W+s.F*(d!=m),_),s(s.S,c,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*o(function(){m.of.call(d,1)}),c,{from:Nt,of:Bt}),X in T||p(T,X,e),s(s.P,c,Ft),B(c),s(s.P+s.F*At,c,{set:zt}),s(s.P+s.F*!j,c,Ht),r||T.toString==vt||(T.toString=vt),s(s.P+s.F*o(function(){new d(1).slice()}),c,{slice:$t}),s(s.P+s.F*(o(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!o(function(){T.toLocaleString.call([1,2])})),c,{toLocaleString:Rt}),L[c]=j?M:I,r||j||p(T,yt,I)}}else t.exports=function(){}},function(t,e,n){var r=n(6)("unscopables"),i=Array.prototype;void 0==i[r]&&n(14)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(43)("meta"),i=n(5),o=n(13),s=n(8).f,a=0,l=Object.isExtensible||function(){return!0},c=!n(4)(function(){return l(Object.preventExtensions({}))}),u=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[r].w},f=function(t){return c&&d.NEED&&l(t)&&!o(t,r)&&u(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:h,getWeak:p,onFreeze:f}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(21),i=n(108),o=n(74),s=n(2),a=n(9),l=n(91),c={},u={},e=t.exports=function(t,e,n,h,p){var f,d,g,v,m=p?function(){return t}:l(t),y=r(n,h,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(f=a(t.length);f>b;b++)if(v=e?y(s(d=t[b])[0],d[1]):y(t[b]),v===c||v===u)return v}else for(g=m.call(t);!(d=g.next()).done;)if(v=i(g,y,d.value,e),v===c||v===u)return v};e.BREAK=c,e.RETURN=u},function(t,e){t.exports=!1},function(t,e,n){var r=n(2),i=n(114),o=n(70),s=n(82)("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=n(69)("iframe"),r=o.length,i="<",s=">";for(e.style.display="none",n(72).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),c=t.F;r--;)delete c[l][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[l]=r(t),n=new a,a[l]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(116),i=n(70).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(116),i=n(70);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(15);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(3),i=n(8),o=n(7),s=n(6)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(27),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={}},function(t,e,n){var r=n(8).f,i=n(13),o=n(6)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(1),i=n(25),o=n(4),s=n(86),a="["+s+"]",l="ââ¬â¹Ãâ¦",c=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,n){var i={},a=o(function(){return!!s[t]()||l[t]()!=l}),c=i[t]=a?e(p):s[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},p=h.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(20),i=n(6)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(19),i=n(9),o=n(42);t.exports=function(t){return function(e,n,s){var a,l=r(e),c=i(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;
vendor: 10,721 bytes, lines 85-86
85)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(3),i=n(1),o=n(15),s=n(40),a=n(32),l=n(34),c=n(33),u=n(5),h=n(4),p=n(57),f=n(45),d=n(73);t.exports=function(t,e,n,g,v,m){var y=r[t],b=y,w=v?"set":"add",x=b&&b.prototype,_={},T=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(m||x.forEach&&!h(function(){(new b).entries().next()}))){var C=new b,S=C[w](m?{}:-0,1)!=C,E=h(function(){C.has(1)}),k=p(function(t){new b(t)}),A=!m&&h(function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)});k||(b=e(function(e,n){c(e,b,t);var r=d(new y,e,b);return void 0!=n&&l(n,v,r[w],r),r}),b.prototype=x,x.constructor=b),(E||A)&&(T("delete"),T("has"),v&&T("get")),(A||S)&&T(w),m&&x.clear&&delete x.clear}else b=g.getConstructor(e,t,v,w),s(b.prototype,n),a.NEED=!0;return f(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=y),_),m||g.setStrong(b,t,v),b}},function(t,e,n){"use strict";var r=n(14),i=n(15),o=n(4),s=n(25),a=n(6);t.exports=function(t,e,n){var l=a(t),c=n(s,l,""[t]),u=c[0],h=c[1];o(function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,u),r(RegExp.prototype,l,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(5),i=n(20),o=n(6)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(6)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){"use strict";t.exports=n(35)||!n(4)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(3)[t]})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(21),s=n(34);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,a,l=arguments[1];return i(this),e=void 0!==l,e&&i(l),void 0==t?new this:(n=[],e?(r=0,a=o(l,arguments[2],2),s(t,!1,function(t){n.push(a(t,r++))})):s(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){var r=n(3),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(2),i=n(12),o=n(6)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},function(t,e,n){for(var r,i=n(3),o=n(14),s=n(43),a=s("typed_array"),l=s("view"),c=!(!i.ArrayBuffer||!i.DataView),u=c,h=0,p=9,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<p;)(r=i[f[h++]])?(o(r.prototype,a,!0),o(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:a,VIEW:l}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={websiteBaseUrl:"https://etemadonline.com",baseUrl:"https://api.etemaadonline.ir/v1.0"}},function(t,e,n){"use strict";var r=n(10),i=n(42),o=n(9);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),l=s>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>a;)e[a++]=t;return e}},function(t,e,n){var r=n(149);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(8),i=n(39);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(5),i=n(3).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(6)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(5),i=n(81).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){var r=n(44),i=n(6)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){"use strict";var r=n(36),i=n(39),o=n(45),s={};n(14)(s,n(6)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(35),i=n(1),o=n(15),s=n(14),a=n(13),l=n(44),c=n(75),u=n(45),h=n(18),p=n(6)("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",g="keys",v="values",m=function(){return this};t.exports=function(t,e,n,y,b,w,x){c(n,e,y);var _,T,C,S=function(t){if(!f&&t in P)return P[t];switch(t){case g:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",k=b==v,A=!1,P=t.prototype,M=P[p]||P[d]||b&&P[b],j=!f&&M||S(b),I=b?k?S("entries"):j:void 0,O="Array"==e?P.entries||M:M;if(O&&(C=h(O.call(new t)),C!==Object.prototype&&C.next&&(u(C,E,!0),r||a(C,p)||s(C,p,m))),k&&M&&M.name!==v&&(A=!0,j=function(){return M.call(this)}),r&&!x||!f&&!A&&P[p]||s(P,p,j),l[e]=j,l[E]=m,b)if(_={values:k?j:S(v),keys:w?j:S(g),entries:I},x)for(T in _)T in P||o(P,T,_[T]);else i(i.P+i.F*(f||A),e,_);return _}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r=n(3),i=n(87).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,l="process"==n(20)(s);t.exports=function(){var t,e,n,c=function(){var r,i;for(l&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var u=a.resolve();n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var h=!0,p=document.createTextNode("");new o(c).observe(p,{characterData:!0}),n=function(){p.data=h=!h}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(12);t.exports.f=function(t){return new r(t)}},function(t,e,n){var r=n(5),i=n(2),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(21)(Function.call,n(17).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var r=n(62)("keys"),i=n(43);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(27),i=n(25);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){var r=n(56),i=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){"use strict";var r=n(27),i=n(25);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports="\t\n\v\f\r à ášâ¬Ã¡ Žââ¬â¬Ã¢â¬Âââ¬âÃ¢â¬ÆÃ¢â¬âââ¬â¦Ã¢â¬â ââ¬â¡Ã¢â¬Ëââ¬â°Ã¢â¬Å ââ¬Â¯Ã¢ÂŸãâ¬â¬\u2028\u2029\ufeff"},function(t,e,n){var r,i,o,s=n(21),a=n(106),l=n(72),c=n(69),u=n(3),h=u.process,p=u.setImmediate,f=u.clearImmediate,d=u.MessageChannel,g=u.Dispatch,v=0,m={},y="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){b.call(t.data)};p&&f||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},f=function(t){delete m[t]},"process"==n(20)(h)?r=function(t){h.nextTick(s(b,t,1))}:g&&g.now?r=function(t){g.now(s(b,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=w,r=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",w,!1)):r=y in c("script")?function(t){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:p,clear:f}},function(t,e,n){"use strict";function r(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,l=(1<<a)-1,c=l>>1,u=23===e?z(2,-24)-z(2,-77):0,h=0,p=t<0||0===t&&1/t<0?1:0;for(t=$(t),t!=t||t===R?(i=t!=t?1:0,r=l):(r=H(q(t)/W),t*(o=z(2,-r))<1&&(r--,o*=2),t+=r+c>=1?u/o:u*z(2,1-c),t*o>=2&&(r++,o/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(t*o-1)*z(2,e),r+=c):(i=t*z(2,c-1)*z(2,e),r=0));e>=8;s[h++]=255&i,i/=256,e-=8);for(r=r<<e|i,a+=e;a>0;s[h++]=255&r,r/=256,a-=8);return s[--h]|=128*p,s}function i(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,s=o>>1,a=i-7,l=n-1,c=t[l--],u=127&c;for(c>>=7;a>0;u=256*u+t[l],l--,a-=8);for(r=u&(1<<-a)-1,u>>=-a,a+=e;a>0;r=256*r+t[l],l--,a-=8);if(0===u)u=1-s;else{if(u===o)return r?NaN:c?-R:R;r+=z(2,e),u-=s}return(c?-1:1)*r*z(2,u-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function s(t){return[255&t]}function a(t){return[255&t,t>>8&255]}function l(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]; 86}function c(t){return r(t,52,8)}function u(t){return r(t,23,4)}function h(t,e,n){E(t[j],e,{get:function(){return this[n]}})}function p(t,e,n,r){var i=+n,o=C(i);if(o+e>t[G])throw D(O);var s=t[X]._b,a=o+t[J],l=s.slice(a,a+e);return r?l:l.reverse()}function f(t,e,n,r,i,o){var s=+n,a=C(s);if(a+e>t[G])throw D(O);for(var l=t[X]._b,c=a+t[J],u=r(+i),h=0;h<e;
86h++)l[c+h]=u[o?h:e-h-1]}var d=n(3),g=n(7),v=n(35),m=n(64),y=n(14),b=n(40),w=n(4),x=n(33),_=n(27),T=n(9),C=n(124),S=n(37).f,E=n(8).f,k=n(66),A=n(45),P="ArrayBuffer",M="DataView",j="prototype",I="Wrong length!",O="Wrong index!",L=d[P],N=d[M],B=d.Math,D=d.RangeError,R=d.Infinity,F=L,$=B.abs,z=B.pow,H=B.floor,q=B.log,W=B.LN2,U="buffer",V="byteLength",Y="byteOffset",X=g?"_b":U,G=g?"_l":V,J=g?"_o":Y;if(m.ABV){if(!w(function(){L(1)})||!w(function(){new L(-1)})||w(function(){return new L,new L(1.5),new L(NaN),L.name!=P})){L=function(t){return x(this,L),new F(C(t))};for(var K,Z=L[j]=F[j],Q=S(F),tt=0;Q.length>tt;)(K=Q[tt++])in L||y(L,K,F[K]);v||(Z.constructor=L)}var et=new N(new L(2)),nt=N[j].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||b(N[j],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else L=function(t){x(this,L,P);var e=C(t);this._b=k.call(new Array(e),0),this[G]=e},N=function(t,e,n){x(this,N,M),x(t,L,M);var r=t[G],i=_(e);if(i<0||i>r)throw D("Wrong offset!");if(n=void 0===n?r-i:T(n),i+n>r)throw D(I);this[X]=t,this[J]=i,this[G]=n},g&&(h(L,V,"_l"),h(N,U,"_b"),h(N,V,"_l"),h(N,Y,"_o")),b(N[j],{getInt8:function(t){return p(this,1,t)[0]<<24>>24},getUint8:function(t){return p(this,1,t)[0]},getInt16:function(t){var e=p(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=p(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return o(p(this,4,t,arguments[1]))},getUint32:function(t){return o(p(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return i(p(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return i(p(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){f(this,1,t,s,e)},setUint8:function(t,e){f(this,1,t,s,e)},setInt16:function(t,e){f(this,2,t,a,e,arguments[2])},setUint16:function(t,e){f(this,2,t,a,e,arguments[2])},setInt32:function(t,e){f(this,4,t,l,e,arguments[2])},setUint32:function(t,e){f(this,4,t,l,e,arguments[2])},setFloat32:function(t,e){f(this,4,t,u,e,arguments[2])},setFloat64:function(t,e){f(this,8,t,c,e,arguments[2])}});A(L,P),A(N,M),y(N[j],m.VIEW,!0),e[P]=L,e[M]=N},function(t,e,n){var r=n(3),i=r.navigator;t.exports=i&&i.userAgent||""},function(t,e,n){var r=n(3),i=n(24),o=n(35),s=n(125),a=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(48),i=n(6)("iterator"),o=n(44);t.exports=n(24).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(31),i=n(109),o=n(44),s=n(19);t.exports=n(76)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){(function(e){var n;n="undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(e,function(){return this}())},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={isXS:function(){return this.displaySizeDetector("xs")},isSM:function(){return this.displaySizeDetector("sm")},isLG:function(){return this.displaySizeDetector("lg")},displaySizeDetector:function(e){return t(".display-size-detector.visible-"+e).is(":visible")},numbersToPersian:function(t){["ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù"].forEach(function(e,n){t.textContent=t.textContent.replace(new RegExp(n,"g"),e)})},traverseToLeaf:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){0!==t.childNodes.length&&t.childNodes.forEach(function(t){3===t.nodeType?numbersToPersian(t):traverseToLeaf(t)})}),slugify:function(t){return t&&"string"==typeof t?t.toLowerCase().replace(/([à áâãäÃ¥æçèé])|([ðñòóôõö÷øù])/g,function(t,e,n){return t.charCodeAt(0)-(e?1632:1776)}).replace(/[^âæa-z0-9ç-ÃÅ]+/g,"-").replace(/^-|-$/g,"").slice(0,100):""}};e.default=n}).call(e,n(11))},function(t,e,n){(function(t){"use strict";
vendor: 3,943 bytes, line 86
86Object.defineProperty(e,"__esModule",{value:!0}),e.default={modal:null,init:function(){this.modal=new Vue({name:"Modal",el:"#modal-placeholder",template:"#modal-template",data:{visible:!0},mounted:function(){t("body").addClass("has-modal")},methods:{close:function(){this.visible=!1,t("body").removeClass("has-modal")},closeForEver:function(){this.visible=!1,t("body").removeClass("has-modal")}}})}}}).call(e,n(11))},function(t,e,n){var r=n(20);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(10),i=n(42),o=n(9);t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),l=i(e,s),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?s:i(c,s))-l,s-a),h=1;for(l<a&&a<l+u&&(h=-1,l+=u-1,a+=u-1);u-- >0;)l in n?n[a]=n[l]:delete n[a],a+=h,l+=h;return n}},function(t,e,n){var r=n(34);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(12),i=n(10),o=n(49),s=n(9);t.exports=function(t,e,n,a,l){r(e);var c=i(t),u=o(c),h=s(c.length),p=l?h-1:0,f=l?-1:1;if(n<2)for(;;){if(p in u){a=u[p],p+=f;break}if(p+=f,l?p<0:h<=p)throw TypeError("Reduce of empty array with no initial value")}for(;l?p>=0:h>p;p+=f)p in u&&(a=e(a,u[p],p,c));return a}},function(t,e,n){"use strict";var r=n(12),i=n(5),o=n(106),s=[].slice,a={},l=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?l(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,n){"use strict";var r=n(8).f,i=n(36),o=n(40),s=n(21),a=n(33),l=n(34),c=n(76),u=n(109),h=n(41),p=n(7),f=n(32).fastKey,d=n(47),g=p?"_s":"size",v=function(t,e){var n,r=f(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var u=t(function(t,r){a(t,u,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&l(r,n,t[c],t)});return o(u.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=d(this,e),r=v(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){d(this,e);for(var n,r=s(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!v(d(this,e),t)}}),p&&r(u.prototype,"size",{get:function(){return d(this,e)[g]}}),u},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=f(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?u(0,n.k):"values"==e?u(0,n.v):u(0,[n.k,n.v]):(t._t=void 0,u(1))},n?"entries":"values",!n,!0),h(e)}}},function(t,e,n){var r=n(48),i=n(98);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){"use strict";var r=n(40),i=n(32).getWeak,o=n(2),s=n(5),a=n(33),l=n(34),c=n(23),u=n(13),h=n(47),p=c(5),f=c(6),d=0,g=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},m=function(t,e){return p(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){a(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&l(r,n,t[o],t)}
vendor: 6,282 bytes, line 86
86);return r(c.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return n===!0?g(h(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return n===!0?g(h(this,e)).has(t):n&&u(n,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return r===!0?g(t).set(e,n):r[t._i]=n,t},ufstore:g}},function(t,e,n){"use strict";function r(t,e,n,c,u,h,p,f){for(var d,g,v=u,m=0,y=!!p&&a(p,f,3);m<c;){if(m in n){if(d=y?y(n[m],m,e):n[m],g=!1,o(d)&&(g=d[l],g=void 0!==g?!!g:i(d)),g&&h>0)v=r(t,e,d,s(d.length),v,h-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=d}v++}m++}return v}var i=n(55),o=n(5),s=n(9),a=n(21),l=n(6)("isConcatSpreadable");t.exports=r},function(t,e,n){t.exports=!n(7)&&!n(4)(function(){return 7!=Object.defineProperty(n(69)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(5),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){var r=n(2);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(78),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),l=i(2,-126),c=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),u=r(t);return i<l?u*c(i/l/s)*l*s:(e=(1+s/o)*i,n=e-(e-i),n>a||n!=n?u*(1/0):u*n)}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-(1/0)?t:(t-e)*(i-r)/(n-e)+r}},function(t,e,n){"use strict";var r=n(38),i=n(59),o=n(50),s=n(10),a=n(49),l=Object.assign;t.exports=!l||n(4)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=s(t),l=arguments.length,c=1,u=i.f,h=o.f;l>c;)for(var p,f=a(arguments[c++]),d=u?r(f).concat(u(f)):r(f),g=d.length,v=0;g>v;)h.call(f,p=d[v++])&&(n[p]=f[p]);return n}:l},function(t,e,n){var r=n(8),i=n(2),o=n(38);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,l=0;a>l;)r.f(t,n=s[l++],e[n]);return t}},function(t,e,n){var r=n(19),i=n(37).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){var r=n(13),i=n(19),o=n(51)(!1),s=n(82)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),l=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>l;)r(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(38),i=n(19),o=n(50).f;t.exports=function(t){return function(e){for(var n,s=i(e),a=r(s),l=a.length,c=0,u=[];l>c;)o.call(s,n=a[c++])&&u.push(t?[n,s[n]]:s[n]);return u}}},function(t,e,n){var r=n(37),i=n(59),o=n(2),s=n(3).Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(3).parseFloat,i=n(46).trim;t.exports=1/r(n(86)+"-0")!==-(1/0)?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(3).parseInt,i=n(46).trim,o=n(86),s=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(2),i=n(5),o=n(80);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},function(t,e,n){var r=n(9),i=n(85),o=n(25);t.exports=function(t,e,n,s){var a=String(o(t)),l=a.length,c=void 0===n?" ":String(n),u=r(e);if(u<=l||""==c)return a;var h=u-l,p=i.call(c,Math.ceil(h/c.length));return p.length>h&&(p=p.slice(0,h)),s?p+a:a+p}},function(t,e,n){var r=n(27),i=n(9);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){e.f=n(6)},function(t,e,n){"use strict";var r=n(101),i=n(47),o="Map";t.exports=n(52)(o,function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(8).f(RegExp.prototype,"flags",{configurable:!0,get:n(54)})},function(t,e,n){"use strict";var r=n(101),i=n(47),o="Set";t.exports=n(52)(o,function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(23)(0),o=n(15),s=n(32),a=n(113),l=n(103),c=n(5),u=n(4),h=n(47),p="WeakMap",f=s.getWeak,d=Object.isExtensible,g=l.ufstore,v={},m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(c(t)){var e=f(t);return e===!0?g(h(this,p)).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(h(this,p),t,e)}},b=t.exports=n(52)(p,m,y,l,!0,!0);u(function(){return 7!=(new b).set((Object.freeze||Object)(v),7).get(v)})&&(r=l.getConstructor(m,p),a(r.prototype,y),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=b.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!d(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e){function n(t){var e=r.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}t.exports=n;var r=Object.prototype.toString},function(t,e,n){var r,i;!function(o){var s=!1;if(r=o,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i)),s=!0,t.exp
86orts=o(),s=!0,!s){var a=window.Cookies,l=window.Cookies=o();l.noConflict=function(){return window.Cookies=a,l}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(n){function r(e,i,o){var s;if("undefined"!=typeof document){if(arguments.length>1){if(o=t({path:"/"},r.defaults,o),"number"==typeof o.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*o.expires),o.expires=a}o.expires=o.expires?o.expires.toUTCString():"";try{s=JSON.stringify(i),/^[\{\[]/.test(s)&&(i=s)}catch(t){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape);var l="";for(var c in o)o[c]&&(l+="; "+c,o[c]!==!0&&(l+="="+o[c]));return document.cookie=e+"="+i+l}e||(s={});for(var u=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,p=0;p<u.length;p++){var f=u[p].split("="),d=f.slice(1).join("=");this.json||'"'!==d.charAt(0)||(d=d.slice(1,-1));try{var g=f[0].replace(h,decodeURIComponent);if(d=n.read?n.read(d,g):n(d,g)||d.replace(h,decodeURIComponent),this.json)try{d=JSON.parse(d)}catch(t){}if(e===g){s=d;break}e||(s[g]=d)}catch(t){}}return s}}return r.set=r,r.get=function(t){return r.call(r,t)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(e,n){r(e,"",t(n,{expires:-1}))},r.withConverter=e,r}return e(function(){})})},function(t,e,n){/** 87 * @license 88 * Video.js 6.6.3 <http://videojs.com/> 89 * Copyright Brightcove, Inc. <https://www.brightcove.com/> 90 * Available under Apache License Version 2.0 91 * <https://github.com/videojs/video.js/blob/master/LICENSE> 92 * 93 * Includes vtt.js <https://github.com/mozilla/vtt.js> 94 * Available under Apache License Version 2.0 95 * <https://github.com/mozilla/vtt.js/blob/master/LICENSE> 96 */ 97function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}function i(t,e){le(t).forEach(function(n){return e(t[n],n)})}function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return le(t).reduce(function(n,r){return e(n,t[r],r)},n)}function s(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return Object.assign?Object.assign.apply(Object,[t].concat(n)):(n.forEach(function(e){e&&i(e,function(e,n){t[n]=e})}),t)}function a(t){return!!t&&"object"===("undefined"==typeof t?"undefined":ne(t))}function l(t){return a(t)&&"[object Object]"===ae.call(t)&&t.constructor===Object}function c(t,e){if(!t||!e)return"";if("function"==typeof Et.getComputedStyle){var n=Et.getComputedStyle(t);return n?n[e]:""}return t.currentStyle[e]||""}function u(t){return"string"==typeof t&&/\S/.test(t)}function h(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function p(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}function f(){return kt===Et.document&&"undefined"!=typeof kt.createElement}function d(t){return a(t)&&1===t.nodeType}function g(){try{return Et.parent!==Et.self}catch(t){return!0}}function v(t){return function(e,n){if(!u(e))return kt[t](null);u(n)&&(n=kt.querySelector(n));var r=d(n)?n:kt;return r[t]&&r[t](e)}}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i=kt.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];t.indexOf("aria-")!==-1||"role"===t||"type"===t?(fe.warn(At(de,t,n)),i.setAttribute(t,n)):"textContent"===t?y(i,n):i[t]=n}),Object.getOwnPropertyNames(n).forEach(function(t){i.setAttribute(t,n[t])}),r&&D(i,r),i}function y(t,e){return"undefined"==typeof t.textContent?t.innerText=e:t.textContent=e,t}function b(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function w(t,e){return h(e),t.classList?t.classList.contains(e):p(e).test(t.className)}function x(t,e){return t.classList?t.classList.add(e):w(t,e)||(t.className=(t.className+" "+e).trim()),t}function _(t,e){return t.classList?t.classList.remove(e):(h(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function T(t,e,n){var r=w(t,e);if("function"==typeof n&&(n=n(t,e)),"boolean"!=typeof n&&(n=!r),n!==r)return n?x(t,e):_(t,e),t}function C(t,e){Object.getOwnPropertyNames(e).forEach(function(n){var r=e[n];null===r||"undefined"==typeof r||r===!1?t.removeAttribute(n):t.setAttribute(n,r===!0?"":r)})}function S(t){var e={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var r=t.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,s=r[i].value;"boolean"!=typeof t[o]&&n.indexOf(","+o+",")===-1||(s=null!==s),e[o]=s}return e}function E(t,e){return t.getAttribute(e)}function k(t,e,n){t.setAttribute(e,n)}function A(t,e){t.removeAttribute(e)}function P(){kt.body.focus(),kt.onselectstart=function(){return!1}}function M(){kt.onselectstart=function(){return!0}}function j(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),n.height||(n.height=parseFloat(c(t,"height"))),n.width||(n.width=parseFloat(c(t,"width"))),n}}function I(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var n=kt.documentElement,r=kt.body,i=n.clientLeft||r.clientLeft||0,o=Et.pageXOffset||r.scrollLeft,s=e.left+o-i,a=n.clientTop||r.clientTop||0,l=Et.pageYOffset||r.scrollTop,c=e.top+l-a;return{left:Math.round(s),top:Math.round(c)}}function O(t,e){var n={},r=I(t),i=t.offsetWidth,o=t.offsetHeight,s=r.top,a=r.left,l=e.pageY,c=e.pageX;return e.changedTouches&&(c=e.changedTouches[0].pageX,l=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(s-l+o)/o)),n.x=Math.max(0,Math.min(1,(c-a)/i)),n}function L(t){return a(t)&&3===t.nodeType}function N(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function B(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),d(t)||L(t)?t:"string"==typeof t&&/\S/.test(t)?kt.createTextNode(t):void 0}).filter(function(t){return t})}function D(t,e){return B(e).forEach(function(e){return t.appendChild(e)}),t}function R(t,e){return D(N(t),e)}function F(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||(9===Jt||0===t.button&&1===t.buttons))}function $(){return ye++}function z(t){var e=t[we];return e||(e=t[we]=$()),be[e]||(be[e]={}),be[e]}function H(t){var e=t[we];return!!e&&!!Object.getOwnPropertyNames(be[e]).length}function q(t){var e=t[we];if(e){delete be[e];try{delete t[we]}catch(e){t.removeAttribute?t.removeAttribute(we):t[we]=null}}}function W(t,e){var n=z(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&q(t)}
97function U(t,e,n,r){n.forEach(function(n){t(e,n,r)})}function V(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var r=t||Et.event;t={};for(var i in r)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&("returnValue"===i&&r.preventDefault||(t[i]=r[i]));if(t.target||(t.target=t.srcElement||kt),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){r.preventDefault&&r.preventDefault(),t.returnValue=!1,r.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),t.cancelBubble=!0,r.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX){var o=kt.documentElement,s=kt.body;t.pageX=t.clientX+(o&&o.scrollLeft||s&&s.scrollLeft||0)-(o&&o.clientLeft||s&&s.clientLeft||0),t.pageY=t.clientY+(o&&o.scrollTop||s&&s.scrollTop||0)-(o&&o.clientTop||s&&s.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}function Y(t,e,n){if(Array.isArray(e))return U(Y,t,e,n);var r=z(t);if(r.handlers||(r.handlers={}),r.handlers[e]||(r.handlers[e]=[]),n.guid||(n.guid=$()),r.handlers[e].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(e,n){if(!r.disabled){e=V(e);var i=r.handlers[e.type];if(i)for(var o=i.slice(0),s=0,a=o.length;s<a&&!e.isImmediatePropagationStopped();s++)try{o[s].call(t,e,n)}catch(t){fe.error(t)}}}),1===r.handlers[e].length)if(t.addEventListener){var i=!1;xe&&_e.indexOf(e)>-1&&(i={passive:!0}),t.addEventListener(e,r.dispatcher,i)}else t.attachEvent&&t.attachEvent("on"+e,r.dispatcher)}function X(t,e,n){if(H(t)){var r=z(t);if(r.handlers){if(Array.isArray(e))return U(X,t,e,n);var i=function(t,e){r.handlers[e]=[],W(t,e)};if(void 0!==e){var o=r.handlers[e];if(o){if(!n)return void i(t,e);if(n.guid)for(var s=0;s<o.length;s++)o[s].guid===n.guid&&o.splice(s--,1);W(t,e)}}else for(var a in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},a)&&i(t,a)}}}function G(t,e,n){var r=H(t)?z(t):{},i=t.parentNode||t.ownerDocument;if("string"==typeof e&&(e={type:e,target:t}),e=V(e),r.dispatcher&&r.dispatcher.call(t,e,n),i&&!e.isPropagationStopped()&&e.bubbles===!0)G.call(null,i,e,n);else if(!i&&!e.defaultPrevented){var o=z(e.target);e.target[e.type]&&(o.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),o.disabled=!1)}return!e.defaultPrevented}function J(t,e,n){if(Array.isArray(e))return U(J,t,e,n);var r=function r(){X(t,e,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||$(),Y(t,e,r)}function K(t,e){e&&(Se=e),Et.setTimeout(Ee,t)}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.eventBusKey;if(n){if(!t[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');t.eventBusEl_=t[n]}else t.eventBusEl_=m("span",{className:"vjs-event-bus"});return s(t,Fe),t.on("dispose",function(){t.off(),Et.setTimeout(function(){t.eventBusEl_=null},0)}),t}function Q(t,e){return s(t,$e),t.state=s({},t.state,e),"function"==typeof t.handleStateChanged&&Ie(t)&&t.on("statechanged",t.handleStateChanged),t}function tt(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function et(t,e){return tt(t)===tt(e)}function nt(){for(var t={},e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach(function(e){e&&i(e,function(e,n){return l(e)?(l(t[n])||(t[n]={}),void(t[n]=nt(t[n],e))):void(t[n]=e)})}),t}function rt(t,e,n){if("number"!=typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}function it(t,e,n,r){return rt(t,r,n.length-1),n[r][e]}function ot(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:it.bind(null,"start",0,t),end:it.bind(null,"end",1,t)}}function st(t,e){return Array.isArray(t)?ot(t):void 0===t||void 0===e?ot():ot([[t,e]])}function at(t,e){var n=0,r=void 0,i=void 0;if(!e)return 0;t&&t.length||(t=st(0,0));for(var o=0;o<t.length;o++)r=t.start(o),i=t.end(o),i>e&&(i=e),n+=i-r;return n/e}function lt(t){return t instanceof lt?t:("number"==typeof t?this.code=t:"string"==typeof t?this.message=t:a(t)&&("number"==typeof t.code&&(this.code=t.code),s(this,t)),void(this.message||(this.message=lt.defaultMessages[this.code]||"")))}function ct(t){return void 0!==t&&"function"==typeof t.then}function ut(t){ct(t)&&t.then(null,function(t){})}function ht(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();i.kind=e,n&&(i.label=n),r&&(i.language=r),i.tech=t;var s=new Ln.text.TrackClass(i);return o.addTrack(s),s}function pt(t,e){Bn[t]=Bn[t]||[],Bn[t].push(e)}function ft(t,e,n){t.setTimeout(function(){return yt(e,Bn[e.type],n,t)},1)}function dt(t,e){t.forEach(function(t){return t.setTech&&t.setTech(e)})}function gt(t,e,n){return t.reduceRight(mt(n),e[n]())}function vt(t,e,n,r){return e[n](t.reduce(mt(n),r))}function mt(t){return function(e,n){return n[t]?n[t](e):e}}function yt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=e[0],l=e.slice(1);if("string"==typeof a)yt(t,Bn[a],n,r,i,o);else if(a){var c=a(r);c.setSource(s({},t),function(e,s){return e?yt(t,l,n,r,i,o):(i.push(c),void yt(s,t.type===s.type?l:Bn[s.type],n,r,i,o))})}else l.length?yt(t,l,n,r,i,o):o?n(t,i):yt(t,Bn["*"],n,r,i,!0)}function bt(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function wt(t,e,n){try{t.style[e]=n}catch(t){return}}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;t=t<0?0:t;
97var n=Math.floor(t%60),r=Math.floor(t/60%60),i=Math.floor(t/3600),o=Math.floor(e/60%60),s=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(i=r=n="-"),i=i>0||s>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n}function _t(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}function Tt(t,e){var n=t.options[t.options.selectedIndex].value;return _t(n,e)}function Ct(t,e,n){if(e)for(var r=0;r<t.options.length;r++)if(_t(t.options[r].value,n)===e){t.selectedIndex=r;break}}function St(t,e,n){var r=void 0;if("string"==typeof t){var i=St.getPlayers();if(0===t.indexOf("#")&&(t=t.slice(1)),i[t])return e&&fe.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&i[t].ready(n),i[t];r=ge("#"+t)}else r=t;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(r.player||hi.players[r.playerId])return r.player||hi.players[r.playerId];d(r)&&!kt.body.contains(r)&&fe.warn("The element supplied is not included in the DOM"),e=e||{},St.hooks("beforesetup").forEach(function(t){var n=t(r,nt(e));return!a(n)||Array.isArray(n)?void fe.error("please return an object in beforesetup hooks"):void(e=nt(e,n))});var o=ze.getComponent("Player"),s=new o(r,e,n);return St.hooks("setup").forEach(function(t){return t(s)}),s}var Et=r(n(93)),kt=r(n(352)),At=r(n(362)),Pt=r(n(360)),Mt=r(n(367)),jt=r(n(363)),It="6.6.3",Ot=Et.navigator&&Et.navigator.userAgent||"",Lt=/AppleWebKit\/([\d.]+)/i.exec(Ot),Nt=Lt?parseFloat(Lt.pop()):null,Bt=/iPad/i.test(Ot),Dt=/iPhone/i.test(Ot)&&!Bt,Rt=/iPod/i.test(Ot),Ft=Dt||Bt||Rt,$t=function(){var t=Ot.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),zt=/Android/i.test(Ot),Ht=function(){var t=Ot.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return e&&n?parseFloat(t[1]+"."+t[2]):e?e:null}(),qt=zt&&/webkit/i.test(Ot)&&Ht<2.3,Wt=zt&&Ht<5&&Nt<537,Ut=/Firefox/i.test(Ot),Vt=/Edge/i.test(Ot),Yt=!Vt&&/Chrome/i.test(Ot),Xt=function(){var t=Ot.match(/Chrome\/(\d+)/);return t&&t[1]?parseFloat(t[1]):null}(),Gt=/MSIE\s8\.0/.test(Ot),Jt=function(){var t=/MSIE\s(\d+)\.\d/.exec(Ot),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(Ot)&&/rv:11.0/.test(Ot)&&(e=11),e}(),Kt=/Safari/i.test(Ot)&&!Yt&&!zt&&!Vt,Zt=Kt||Ft,Qt=f()&&("ontouchstart"in Et||Et.DocumentTouch&&Et.document instanceof Et.DocumentTouch),te=f()&&"backgroundSize"in Et.document.createElement("video").style,ee=(Object.freeze||Object)({IS_IPAD:Bt,IS_IPHONE:Dt,IS_IPOD:Rt,IS_IOS:Ft,IOS_VERSION:$t,IS_ANDROID:zt,ANDROID_VERSION:Ht,IS_OLD_ANDROID:qt,IS_NATIVE_ANDROID:Wt,IS_FIREFOX:Ut,IS_EDGE:Vt,IS_CHROME:Yt,CHROME_VERSION:Xt,IS_IE8:Gt,IE_VERSION:Jt,IS_SAFARI:Kt,IS_ANY_SAFARI:Zt,TOUCH_ENABLED:Qt,BACKGROUND_SIZE_SUPPORTED:te}),ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ie=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},oe=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},se=function(t,e){return t.raw=e,t},ae=Object.prototype.toString,le=function(t){return a(t)?Object.keys(t):[]},ce=void 0,ue="info",he=[],pe=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!Jt&&Jt<11,r=ce.levels[ue],i=new RegExp("^("+r+")$");if("log"!==t&&e.unshift(t.toUpperCase()+":"),he&&he.push([].concat(e)),e.unshift("VIDEOJS:"),Et.console){var o=Et.console[t];o||"debug"!==t||(o=Et.console.info||Et.console.log),o&&r&&i.test(t)&&(n&&(e=e.map(function(t){if(a(t)||Array.isArray(t))try{return JSON.stringify(t)}catch(e){return String(t)}return String(t)}).join(" ")),o.apply?o[Array.isArray(e)?"apply":"call"](Et.console,e):o(e))}};ce=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];pe("log",e)},ce.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:ue},ce.level=function(t){if("string"==typeof t){if(!ce.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');ue=t}return ue},ce.history=function(){return he?[].concat(he):[]},ce.history.clear=function(){he&&(he.length=0)},ce.history.disable=function(){null!==he&&(he.length=0,he=null)},ce.history.enable=function(){null===he&&(he=[])},ce.error=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return pe("error",e)},ce.warn=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return pe("warn",e)},ce.debug=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return pe("debug",e)};var fe=ce,de=se(["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]),ge=v("querySelector"),ve=v("querySelectorAll"),me=(Object.freeze||Object)({isReal:f,isEl:d,isInFrame:g,createEl:m,textContent:y,prependTo:b,hasClass:w,addClass:x,removeClass:_,toggleClass:T,setAttributes:C,getAttributes:S,getAttribute:E,setAttribute:k,removeAttribute:A,blockTextSelection:P,unblockTextSelection:M,getBoundingClientRect:j,findPosition:I,getPointerPosition:O,isTextNode:L,emptyEl:N,normalizeContent:B,appendContent:D,insertContent:R,isSingleLeftClick:F,$:ge,$$:ve}),ye=1,be={},we="vdata"+(new Date).getTime(),xe=!1;!function(){try{var t=Object.defineProperty({},"passive",{get:function(){xe=!0}});Et.addEventListener("test",null,t),Et.removeEventListener("test",null,t)}catch(t){}}();var _e=["touchstart","touchmove"],Te=(Object.freeze||Object)({fixEvent:V,on:Y,off:X,trigger:G,one:J}),Ce=!1,Se=void 0,Ee=function(){if(f()){var t=kt.getElementsByTagName("video"),e=kt.getElementsByTagName("audio"),n=kt.getElementsByTagName("video-js"),r=[];if(t&&t.length>0)for(var i=0,o=t.length;i<o;i++)r.push(t[i]);if(e&&e.length>0)for(var s=0,a=e.length;s<a;s++)r.push(e[s]);if(n&&n.length>0)for(var l=0,c=n.length;l<c;l++)r.push(n[l]);if(r&&r.length>0)for(var u=0,h=r.length;u<h;u++){var p=r[u];if(!p||!p.getAttribute){K(1);break}if(void 0===p.player){var d=p.getAttribute("data-setup");null!==d&&Se(p)}}else Ce||K(1)}};f()&&"complete"===kt.readyState?Ce=!0:J(Et,"load",function(){Ce=!0});var ke=function(t){var e=kt.createElement("style");return e.className=t,e},Ae=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e},Pe=function(t,e,n){e.guid||(e.guid=$());var r=function(){return e.apply(t,arguments)};return r.guid=n?n+"_"+e.guid:e.guid,r},Me=function(t,e){var n=Date.now(),r=function(){var r=Date.now();r-n>=e&&(t.apply(void 0,arguments),n=r)};return r},je=function(){};je.prototype.allowedEvents_={},je.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Y(this,t,e),this.addEventListener=n},je.prototype.addEventListener=je.prototype.on,je.prototype.off=function(t,e){X(this,t,e)},je.prototype.removeEventListener=je.prototype.off,je.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},J(this,t,e),this.addEventListener=n},je.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=V(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),G(this,t)},je.prototype.dispatchEvent=je.prototype.trigger;var Ie=function(t){return t instanceof je||!!t.eventBusEl_&&["on","one","off","trigger"].every(function(e){return"function"==typeof t[e]}
vendor: 1,336 bytes, line 97
97)},Oe=function(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},Le=function(t){if(!t.nodeName&&!Ie(t))throw new Error("Invalid target; must be a DOM node or evented object.")},Ne=function(t){if(!Oe(t))throw new Error("Invalid event type; must be a non-empty string or array.")},Be=function(t){if("function"!=typeof t)throw new Error("Invalid listener; must be a function.")},De=function(t,e){var n=e.length<3||e[0]===t||e[0]===t.eventBusEl_,r=void 0,i=void 0,o=void 0;return n?(r=t.eventBusEl_,e.length>=3&&e.shift(),i=e[0],o=e[1]):(r=e[0],i=e[1],o=e[2]),Le(r),Ne(i),Be(o),o=Pe(t,o),{isTargetingSelf:n,target:r,type:i,listener:o}},Re=function(t,e,n,r){Le(t),t.nodeName?Te[e](t,n,r):t[e](n,r)},Fe={on:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=De(this,n),o=i.isTargetingSelf,s=i.target,a=i.type,l=i.listener;if(Re(s,"on",a,l),!o){var c=function(){return t.off(s,a,l)};c.guid=l.guid;var u=function(){return t.off("dispose",c)};u.guid=l.guid,Re(this,"on","dispose",c),Re(s,"on","dispose",u)}},one:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=De(this,n),o=i.isTargetingSelf,s=i.target,a=i.type,l=i.listener;if(o)Re(s,"one",a,l);else{var c=function e(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];
97t.off(s,a,e),l.apply(null,r)};c.guid=l.guid,Re(s,"one",a,c)}},off:function(t,e,n){if(!t||Oe(t))X(this.eventBusEl_,t,e);else{var r=t,i=e;Le(r),Ne(i),Be(n),n=Pe(this,n),this.off("dispose",n),r.nodeName?(X(r,i,n),X(r,"dispose",n)):Ie(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(t,e){return G(this.eventBusEl_,t,e)}},$e={state:{},setState:function(t){var e=this;"function"==typeof t&&(t=t());var n=void 0;return i(t,function(t,r){e.state[r]!==t&&(n=n||{},n[r]={from:e.state[r],to:t}),e.state[r]=t}),n&&Ie(this)&&this.trigger({changes:n,type:"statechanged"}),n}},ze=function(){function t(e,n,r){if(re(this,t),!e&&this.play?this.player_=e=this:this.player_=e,this.options_=nt({},this.options_),n=this.options_=nt(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var i=e&&e.id&&e.id()||"no_player";this.id_=i+"_component_"+$()}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),n.evented!==!1&&Z(this,{eventBusKey:this.el_?"el_":null}),Q(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},n.initChildren!==!1&&this.initChildren(),this.ready(r),n.reportTouchActivity!==!1&&this.enableTouchActivity()}return t.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),q(this.el_),this.el_=null),this.player_=null},t.prototype.player=function(){return this.player_},t.prototype.options=function(t){return fe.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t?(this.options_=nt(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,n){return m(t,e,n)},t.prototype.localize=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],s=r&&r.split("-")[0],a=i&&i[s],l=n;return o&&o[t]?l=o[t]:a&&a[t]&&(l=a[t]),e&&(l=l.replace(/\{(\d+)\}/g,function(t,n){var r=e[n-1],i=r;return"undefined"==typeof r&&(i=t),i})),l},t.prototype.contentEl=function(){return this.contentEl_||this.el_},t.prototype.id=function(){return this.id_},t.prototype.name=function(){return this.name_},t.prototype.children=function(){return this.children_},t.prototype.getChildById=function(t){return this.childIndex_[t]},t.prototype.getChild=function(t){if(t)return t=tt(t),this.childNameIndex_[t]},t.prototype.addChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,o=void 0;if("string"==typeof e){o=tt(e);var s=n.componentClass||o;n.name=o;var a=t.getComponent(s);if(!a)throw new Error("Component "+s+" does not exist");if("function"!=typeof a)return null;i=new a(this.player_||this,n)}else i=e;if(this.children_.splice(r,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),o=o||i.name&&tt(i.name()),o&&(this.childNameIndex_[o]=i),"function"==typeof i.el&&i.el()){var l=this.contentEl().children,c=l[r]||null;this.contentEl().insertBefore(i.el(),c)}return i},t.prototype.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var r=t.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,n=this.options_.children;if(n){var r=this.options_,i=function(t){var n=t.name,i=t.opts;if(void 0!==r[n]&&(i=r[n]),i!==!1){i===!0&&(i={}),i.playerOptions=e.options_.playerOptions;var o=e.addChild(n,i);o&&(e[n]=o)}},o=void 0,s=t.getComponent("Tech");o=Array.isArray(n)?n:Object.keys(n),o.concat(Object.keys(this.options_).filter(function(t){return!o.some(function(e){return"string"==typeof e?t===e:t===e.name})})).map(function(t){var r=void 0,i=void 0;return"string"==typeof t?(r=t,i=n[r]||e.options_[r]||{}):(r=t.name,i=t),{name:r,opts:i}}
97).filter(function(e){var n=t.getComponent(e.opts.componentClass||tt(e.name));return n&&!s.isTech(n)}).forEach(i)}},t.prototype.buildCSSClass=function(){return""},t.prototype.ready=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},t.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},t.prototype.$=function(t,e){return ge(t,e||this.contentEl())},t.prototype.$$=function(t,e){return ve(t,e||this.contentEl())},t.prototype.hasClass=function(t){return w(this.el_,t)},t.prototype.addClass=function(t){x(this.el_,t)},t.prototype.removeClass=function(t){_(this.el_,t)},t.prototype.toggleClass=function(t,e){T(this.el_,t,e)},t.prototype.show=function(){this.removeClass("vjs-hidden")},t.prototype.hide=function(){this.addClass("vjs-hidden")},t.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},t.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.prototype.getAttribute=function(t){return E(this.el_,t)},t.prototype.setAttribute=function(t,e){k(this.el_,t,e)},t.prototype.removeAttribute=function(t){A(this.el_,t)},t.prototype.width=function(t,e){return this.dimension("width",t,e)},t.prototype.height=function(t,e){return this.dimension("height",t,e)},t.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},t.prototype.dimension=function(t,e,n){if(void 0!==e)return null!==e&&e===e||(e=0),(""+e).indexOf("%")!==-1||(""+e).indexOf("px")!==-1?this.el_.style[t]=e:"auto"===e?this.el_.style[t]="":this.el_.style[t]=e+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[t],i=r.indexOf("px");return i!==-1?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+tt(t)],10)},t.prototype.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if("function"==typeof Et.getComputedStyle){var n=Et.getComputedStyle(this.el_);e=n.getPropertyValue(t)||n[t]}if(e=parseFloat(e),0===e){var r="offset"+tt(t);e=this.el_[r]}return e},t.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.prototype.currentWidth=function(){return this.currentDimension("width")},t.prototype.currentHeight=function(){return this.currentDimension("height")},t.prototype.focus=function(){this.el_.focus()},t.prototype.blur=function(){this.el_.blur()},t.prototype.emitTapEvents=function(){var t=0,e=null,n=10,r=200,i=void 0;this.on("touchstart",function(n){1===n.touches.length&&(e={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},t=(new Date).getTime(),i=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)i=!1;else if(e){var r=t.touches[0].pageX-e.pageX,o=t.touches[0].pageY-e.pageY,s=Math.sqrt(r*r+o*o);s>n&&(i=!1)}});var o=function(){i=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",function(n){if(e=null,i===!0){var o=(new Date).getTime()-t;o<r&&(n.preventDefault(),this.trigger("tap"))}})},t.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t=Pe(this.player(),this.player().reportUserActivity),e=void 0;this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.prototype.setTimeout=function(t,e){var n=this;t=Pe(this,t);var r=Et.setTimeout(t,e),i=function(){return n.clearTimeout(r)};return i.guid="vjs-timeout-"+r,this.on("dispose",i),r},t.prototype.clearTimeout=function(t){Et.clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},t.prototype.setInterval=function(t,e){var n=this;t=Pe(this,t);var r=Et.setInterval(t,e),i=function(){return n.clearInterval(r)};return i.guid="vjs-interval-"+r,this.on("dispose",i),r},t.prototype.clearInterval=function(t){Et.clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},t.prototype.requestAnimationFrame=function(t){var e=this;if(this.supportsRaf_){t=Pe(this,t);var n=Et.requestAnimationFrame(t),r=function(){return e.cancelAnimationFrame(n)};return r.guid="vjs-raf-"+n,this.on("dispose",r),n}return this.setTimeout(t,1e3/60)},t.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){Et.cancelAnimationFrame(t);var e=function(){};return e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},t.registerComponent=function(e,n){if("string"!=typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var r=t.getComponent("Tech"),i=r&&r.isTech(n),o=t===n||t.prototype.isPrototypeOf(n.prototype);if(i||!o){var s=void 0;throw s=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+s+".")}e=tt(e),t.components_||(t.components_={});var a=t.getComponent("Player");if("Player"===e&&a&&a.players){var l=a.players,c=Object.keys(l);if(l&&c.length>0&&c.map(function(t){return l[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=n,n},t.getComponent=function(e){if(e)return e=tt(e),t.components_&&t.components_[e]?t.components_[e]:void 0},t}();ze.prototype.supportsRaf_="function"==typeof Et.requestAnimationFrame&&"function"==typeof Et.cancelAnimationFrame,ze.registerComponent("Component",ze);for(var He={},qe=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
vendor: 4,466 bytes, lines 97-98
97webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],We=qe[0],Ue=void 0,Ve=0;Ve<qe.length;Ve++)if(qe[Ve][1]in kt){Ue=qe[Ve];break}if(Ue)for(var Ye=0;Ye<Ue.length;Ye++)He[We[Ye]]=Ue[Ye];lt.prototype.code=0,lt.prototype.message="",lt.prototype.status=null,lt.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],lt.defaultMessages={1:"You aborted the media playback", 982:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Xe=0;Xe<lt.errorTypes.length;Xe++)lt[lt.errorTypes[Xe]]=Xe,lt.prototype[lt.errorTypes[Xe]]=Xe;var Ge=function(t){var e=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(e,n,r){return t[n]&&(e[n]=t[n]),e},{cues:t.cues&&Array.prototype.map.call(t.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})});return e},Je=function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,function(t){return t.track}),r=Array.prototype.map.call(e,function(t){var e=Ge(t.track);return t.src&&(e.src=t.src),e});return r.concat(Array.prototype.filter.call(t.textTracks(),function(t){return n.indexOf(t)===-1}).map(Ge))},Ke=function(t,e){return t.forEach(function(t){var n=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return n.addCue(t)})}),e.textTracks()},Ze={textTracksToJson:Je,jsonToTextTracks:Ke,trackToJson_:Ge},Qe="vjs-modal-dialog",tn=27,en=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.opened_=i.hasBeenOpened_=i.hasBeenFilled_=!1,i.closeable(!i.options_.uncloseable),i.content(i.options_.content),i.contentEl_=m("div",{className:Qe+"-content"},{role:"document"}),i.descEl_=m("p",{className:Qe+"-description vjs-control-text",id:i.el().getAttribute("aria-describedby")}),y(i.descEl_,i.description()),i.el_.appendChild(i.descEl_),i.el_.appendChild(i.contentEl_),i}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return Qe+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},e.prototype.handleKeyPress=function(t){t.which===tn&&this.closeable()&&this.close()},e.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},e.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.prototype.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",Pe(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},e.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},e.prototype.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpe
98n&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",Pe(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},e.prototype.closeable=function t(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!t&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},e.prototype.fill=function(){this.fillWith(this.content())},e.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,r=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),R(e,t),this.trigger("modalfill"),r?n.insertBefore(e,r):n.appendChild(e);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},e.prototype.empty=function(){this.trigger("beforemodalempty"),N(this.contentEl()),this.trigger("modalempty")},e.prototype.content=function(t){return"undefined"!=typeof t&&(this.content_=t),this.content_},e.prototype.conditionalFocus_=function(){var t=kt.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,(e.contains(t)||e===t)&&(this.previouslyActiveEl_=t,this.focus(),this.on(kt,"keydown",this.handleKeyDown))},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(kt,"keydown",this.handleKeyDown)},e.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),n=this.el_.querySelector(":focus"),r=void 0,i=0;i<e.length;i++)if(n===e[i]){r=i;break}kt.activeElement===this.el_&&(r=0),t.shiftKey&&0===r?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||r!==e.length-1||(e[0].focus(),t.preventDefault())}},e.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(t){return(t instanceof Et.HTMLAnchorElement||t instanceof Et.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof Et.HTMLInputElement||t instanceof Et.HTMLSelectElement||t instanceof Et.HTMLTextAreaElement||t instanceof Et.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof Et.HTMLIFrameElement||t instanceof Et.HTMLObjectElement||t instanceof Et.HTMLEmbedElement||t.hasAttribute("tabindex")&&t.getAttribute("tabindex")!==-1||t.hasAttribute("contenteditable")})},e}(ze);en.prototype.options_={pauseOnOpen:!0,temporary:!0},ze.registerComponent("ModalDialog",en);var nn=function(t){function e(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;re(this,e);var o=oe(this,t.call(this));if(!i&&(i=o,Gt)){i=kt.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(i[s]=e.prototype[s])}i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}});for(var a=0;a<r.length;a++)i.addTrack(r[a]);return n=i,oe(o,n)}return ie(e,t),e.prototype.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),this.tracks_.indexOf(t)===-1&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},e.prototype.removeTrack=function(t){for(var e=void 0,n=0,r=this.length;n<r;n++)if(this[n]===t){e=this[n],e.off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===t){e=i;break}}return e},e}(je);nn.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var rn in nn.prototype.allowedEvents_)nn.prototype["on"+rn]=null;var on=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].enabled=!1)},sn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];re(this,e);for(var o=void 0,s=i.length-1;s>=0;s--)if(i[s].enabled){on(i,i[s]);break}if(Gt){o=kt.createElement("custom");for(var a in nn.prototype)"constructor"!==a&&(o[a]=nn.prototype[a]);for(var l in e.prototype)"constructor"!==l&&(o[l]=e.prototype[l])}return o=n=oe(this,t.call(this,i,o)),o.changing_=!1,r=o,oe(n,r)}return ie(e,t),e.prototype.addTrack=function(e){var n=this;e.enabled&&on(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,on(n,e),n.changing_=!1,n.trigger("change"))})},e}(nn),an=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].selected=!1)},ln=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];re(this,e);for(var o=void 0,s=i.length-1;s>=0;s--)if(i[s].selected){an(i,i[s]);break}if(Gt){o=kt.createElement("custom");for(var a in nn.prototype)"constructor"!==a&&(o[a]=nn.prototype[a]);for(var l in e.prototype)"constructor"!==l&&(o[l]=e.prototype[l])}return o=n=oe(this,t.call(this,i,o)),o.changing_=!1,Object.defineProperty(o,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),r=o,oe(n,r)}return ie(e,t),e.prototype.addTrack=function(e){var n=this;e.selected&&an(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,an(n,e),n.changing_=!1,n.trigger("change"))})},e}(nn),cn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];re(this,e);var o=void 0;if(Gt){o=kt.createElement("custom");for(var s in nn.prototype)"constructor"!==s&&(o[s]=nn.prototype[s]);for(var a in e.prototype)"constructor"!==a&&(o[a]=e.prototype[a])}return o=n=oe(this,t.call(this,i,o)),r=o,oe(n,r)}return ie(e,t),e.prototype.addTrack=function(e){t.prototype.addTrack.call(this,e),e.addEventListener("modechange",Pe(this,function(){this.trigger("change")}));var n=["metadata","chapters"];n.indexOf(e.kind)===-1&&e.addEventListener("modechange",Pe(this,function(){this.trigger("selectedlanguagechange")}))},e}(nn),un=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];re(this,t);var n=this;if(Gt){n=kt.createElement("custom");for(var r in t.prototype)"constructor"!==r&&(n[r]=t.prototype[r])}n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var i=0,o=e.length;i<o;i++)n.addTrackElement_(e[i]);if(Gt)return n}return t.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}
98),this.trackElements_.indexOf(t)===-1&&this.trackElements_.push(t)},t.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},t.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},t}(),hn=function(){function t(e){re(this,t);var n=this;if(Gt){n=kt.createElement("custom");for(var r in t.prototype)"constructor"!==r&&(n[r]=t.prototype[r])}if(t.prototype.setCues_.call(n,e),Object.defineProperty(n,"length",{get:function(){return this.length_}}),Gt)return n}return t.prototype.setCues_=function(t){var e=this.length||0,n=0,r=t.length;this.cues_=t,this.length_=t.length;var i=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<r)for(n=e;n<r;n++)i.call(this,n)},t.prototype.getCueById=function(t){for(var e=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===t){e=i;break}}return e},t}(),pn={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},fn={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},dn={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},gn={disabled:"disabled",hidden:"hidden",showing:"showing"},vn=function(t){function e(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};re(this,e);var i=oe(this,t.call(this)),o=i;if(Gt){o=kt.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(o[s]=e.prototype[s])}var a={id:r.id||"vjs_track_"+$(),kind:r.kind||"",label:r.label||"",language:r.language||""},l=function(t){Object.defineProperty(o,t,{get:function(){return a[t]},set:function(){}})};for(var c in a)l(c);return n=o,oe(i,n)}return ie(e,t),e}(je),mn=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=kt.createElement("a");n.href=t;var r=""===n.host&&"file:"!==n.protocol,i=void 0;r&&(i=kt.createElement("div"),i.innerHTML='<a href="'+t+'"></a>',n=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),kt.body.appendChild(i));for(var o={},s=0;s<e.length;s++)o[e[s]]=n[e[s]];return"http:"===o.protocol&&(o.host=o.host.replace(/:80$/,"")),"https:"===o.protocol&&(o.host=o.host.replace(/:443$/,"")),o.protocol||(o.protocol=Et.location.protocol),r&&kt.body.removeChild(i),o},yn=function(t){if(!t.match(/^https?:\/\//)){var e=kt.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t},bn=function(t){if("string"==typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=e.exec(t);if(n)return n.pop().toLowerCase()}return""},wn=function(t){var e=Et.location,n=mn(t),r=":"===n.protocol?e.protocol:n.protocol,i=r+n.host!==e.protocol+e.host;return i},xn=(Object.freeze||Object)({parseUrl:mn,getAbsoluteURL:yn,getFileExtension:bn,isCrossOrigin:wn}),_n=function(t,e){var n=new Et.WebVTT.Parser(Et,Et.vttjs,Et.WebVTT.StringDecoder()),r=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){r.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),r.length>0&&(Et.console&&Et.console.groupCollapsed&&Et.console.groupCollapsed("Text Track parsing errors for "+e.src),r.forEach(function(t){return fe.error(t)}),Et.console&&Et.console.groupEnd&&Et.console.groupEnd()),n.flush()},Tn=function(t,e){var n={uri:t},r=wn(t);r&&(n.cors=r),Mt(n,Pe(this,function(t,n,r){if(t)return fe.error(t,n);if(e.loaded_=!0,"function"!=typeof Et.WebVTT){if(e.tech_){var i=function(){return _n(r,e)};e.tech_.on("vttjsloaded",i),e.tech_.on("vttjserror",function(){fe.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",i)})}}else _n(r,e)}))},Cn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(re(this,e),!i.tech)throw new Error("A tech was not provided.");var o=nt(i,{kind:dn[i.kind]||"subtitles",language:i.language||i.srclang||""}),s=gn[o.mode]||"disabled",a=o.default;"metadata"!==o.kind&&"chapters"!==o.kind||(s="hidden");var l=n=oe(this,t.call(this,o));if(l.tech_=o.tech,Gt)for(var c in e.prototype)"constructor"!==c&&(l[c]=e.prototype[c]);l.cues_=[],l.activeCues_=[];var u=new hn(l.cues_),h=new hn(l.activeCues_),p=!1,f=Pe(l,function(){this.activeCues,p&&(this.trigger("cuechange"),p=!1)});return"disabled"!==s&&l.tech_.ready(function(){l.tech_.on("timeupdate",f)}
98,!0),Object.defineProperty(l,"default",{get:function(){return a},set:function(){}}),Object.defineProperty(l,"mode",{get:function(){return s},set:function(t){var e=this;gn[t]&&(s=t,"showing"===s&&this.tech_.ready(function(){e.tech_.on("timeupdate",f)},!0),this.trigger("modechange"))}}),Object.defineProperty(l,"cues",{get:function(){return this.loaded_?u:null},set:function(){}}),Object.defineProperty(l,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return h;for(var t=this.tech_.currentTime(),e=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];i.startTime<=t&&i.endTime>=t?e.push(i):i.startTime===i.endTime&&i.startTime<=t&&i.startTime+.5>=t&&e.push(i)}if(p=!1,e.length!==this.activeCues_.length)p=!0;else for(var o=0;o<e.length;o++)this.activeCues_.indexOf(e[o])===-1&&(p=!0);return this.activeCues_=e,h.setCues_(this.activeCues_),h},set:function(){}}),o.src?(l.src=o.src,Tn(o.src,l)):l.loaded_=!0,r=l,oe(n,r)}return ie(e,t),e.prototype.addCue=function(t){var e=t;if(Et.vttjs&&!(t instanceof Et.vttjs.VTTCue)){e=new Et.vttjs.VTTCue(t.startTime,t.endTime,t.text);for(var n in t)n in e||(e[n]=t[n]);e.id=t.id,e.originalCue_=t}for(var r=this.tech_.textTracks(),i=0;i<r.length;i++)r[i]!==this&&r[i].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},e.prototype.removeCue=function(t){for(var e=this.cues_.length;e--;){var n=this.cues_[e];if(n===t||n.originalCue_&&n.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},e}(vn);Cn.prototype.allowedEvents_={cuechange:"cuechange"};var Sn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};re(this,e);var o=nt(i,{kind:fn[i.kind]||""}),s=n=oe(this,t.call(this,o)),a=!1;if(Gt)for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l]);return Object.defineProperty(s,"enabled",{get:function(){return a}
98,set:function(t){"boolean"==typeof t&&t!==a&&(a=t,this.trigger("enabledchange"))}}),o.enabled&&(s.enabled=o.enabled),s.loaded_=!0,r=s,oe(n,r)}return ie(e,t),e}(vn),En=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};re(this,e);var o=nt(i,{kind:pn[i.kind]||""}),s=n=oe(this,t.call(this,o)),a=!1;if(Gt)for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l]);return Object.defineProperty(s,"selected",{get:function(){return a},set:function(t){"boolean"==typeof t&&t!==a&&(a=t,this.trigger("selectedchange"))}}),o.selected&&(s.selected=o.selected),r=s,oe(n,r)}return ie(e,t),e}(vn),kn=0,An=1,Pn=2,Mn=3,jn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};re(this,e);var r=oe(this,t.call(this)),i=void 0,o=r;if(Gt){o=kt.createElement("custom");for(var s in e.prototype)"constructor"!==s&&(o[s]=e.prototype[s])}var a=new Cn(n);if(o.kind=a.kind,o.src=a.src,o.srclang=a.language,o.label=a.label,o.default=a.default,Object.defineProperty(o,"readyState",{get:function(){return i}}),Object.defineProperty(o,"track",{get:function(){return a}}),i=kn,a.addEventListener("loadeddata",function(){i=Pn,o.trigger({type:"load",target:o})}),Gt){var l;return l=o,oe(r,l)}return r}return ie(e,t),e}(je);jn.prototype.allowedEvents_={load:"load"},jn.NONE=kn,jn.LOADING=An,jn.LOADED=Pn,jn.ERROR=Mn;var In={audio:{ListClass:sn,TrackClass:Sn,capitalName:"Audio"},video:{ListClass:ln,TrackClass:En,capitalName:"Video"},text:{ListClass:cn,TrackClass:Cn,capitalName:"Text"}};Object.keys(In).forEach(function(t){In[t].getterName=t+"Tracks",In[t].privateName=t+"Tracks_"});var On={remoteText:{ListClass:cn,TrackClass:Cn,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:un,TrackClass:jn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Ln=nt(In,On);On.names=Object.keys(On),In.names=Object.keys(In),Ln.names=[].concat(On.names).concat(In.names);var Nn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};re(this,e),n.reportTouchActivity=!1;var i=oe(this,t.call(this,null,n,r));return i.hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),Ln.names.forEach(function(t){var e=Ln[t];n&&n[e.getterName]&&(i[e.privateName]=n[e.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){n["native"+t+"Tracks"]===!1&&(i["featuresNative"+t+"Tracks"]=!1)}),n.nativeCaptions===!1||n.nativeTextTracks===!1?i.featuresNativeTextTracks=!1:n.nativeCaptions!==!0&&n.nativeTextTracks!==!0||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new Ln.text.ListClass,i.initTrackListeners(),n.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}return ie(e,t),e.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},e.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},e.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Pe(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()}),500)},e.prototype.onDurationChange=function(t){this.duration_=this.duration()},e.prototype.buffered=function(){return st(0,0)},e.prototype.bufferedPercent=function(){return at(this.buffered(),this.duration_)},e.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},e.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},e.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},e.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.dispose=function(){this.clearTracks(In.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},e.prototype.clearTracks=function(t){var e=this;t=[].concat(t),t.forEach(function(t){for(var n=e[t+"Tracks"]()||[],r=n.length;r--;){var i=n[r];"text"===t&&e.removeRemoteTextTrack(i),n.removeTrack(i)}})},e.prototype.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var n=t[e];this.removeRemoteTextTrack(n)}},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new lt(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?st(0,0):st()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTrackListeners=function(){var t=this;
vendor: 60,020 bytes, lines 98-100
98In.names.forEach(function(e){var n=In[e],r=function(){t.trigger(e+"trackchange")},i=t[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),t.on("dispose",function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)})})},e.prototype.addWebVttScript_=function(){var t=this;if(!Et.WebVTT)if(kt.body.contains(this.el())){if(!this.options_["vtt.js"]&&l(jt)&&Object.keys(jt).length>0)return void this.trigger("vttjsloaded");var e=kt.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},this.on("dispose",function(){e.onload=null,e.onerror=null}),Et.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)},e.prototype.emulateTextTracks=function(){var t=this,e=this.textTracks(),n=this.remoteTextTracks(),r=function(t){return e.addTrack(t.track)},i=function(t){return e.removeTrack(t.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return t.trigger("texttrackchange")},s=function(){o();for(var t=0;t<e.length;t++){var n=e[t];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};s(),e.addEventListener("change",s),e.addEventListener("addtrack",s),e.addEventListener("removetrack",s),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",i),e.removeEventListener("change",s),e.removeEventListener("addtrack",s),e.removeEventListener("removetrack",s);for(var t=0;t<e.length;t++){var a=e[t];a.removeEventListener("cuechange",o)}})},e.prototype.addTextTrack=function(t,e,n){if(!t)throw new Error("TextTrack kind is required but was not provided");return ht(this,t,e,n)},e.prototype.createRemoteTextTrack=function(t){var e=nt(t,{tech:this});return new On.remoteTextEl.TrackClass(e)},e.prototype.addRemoteTextTrack=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=this.createRemoteTextTrack(e);return n!==!0&&n!==!1&&(fe.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),n!==!0&&this.ready(function(){return t.autoRemoteTextTracks_.addTrack(r.track)}),r},e.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},e.prototype.getVideoPlaybackQuality=function(){return{}},e.prototype.setPoster=function(){},e.prototype.playsinline=function(){},e.prototype.setPlaysinline=function(){},e.prototype.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,n){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,n){if(e.techs_||(e.techs_={}),!e.isTech(n))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=tt(t),e.techs_[t]=n,"Tech"!==t&&e.defaultTechOrder_.push(t),n},e.getTech=function(t){if(t)return t=tt(t),e.techs_&&e.techs_[t]?e.techs_[t]:Et&&Et.videojs&&Et.videojs[t]?(fe.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),Et.videojs[t]):void 0},e}(ze);Ln.names.forEach(function(t){var e=Ln[t];Nn.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),Nn.prototype.featuresVolumeControl=!0,Nn.prototype.featuresFullscreenResize=!1,Nn.prototype.featuresPlaybackRate=!1,Nn.prototype.featuresProgressEvents=!1,Nn.prototype.featuresTimeupdateEvents=!1,Nn.prototype.featuresNativeTextTracks=!1,Nn.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var r=t.sourceHandlers;r||(r=t.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,e)},t.canPlayType=function(e){for(var n=t.sourceHandlers||[],r=void 0,i=0;i<n.length;i++)if(r=n[i].canPlayType(e))return r;return""},t.selectSourceHandler=function(e,n){for(var r=t.sourceHandlers||[],i=void 0,o=0;o<r.length;o++)if(i=r[o].canHandleSource(e,n))return r[o];return null},t.canPlaySource=function(e,n){var r=t.selectSourceHandler(e,n);return r?r.canHandleSource(e,n):""};var e=["seekable","duration"];e.forEach(function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},t.prototype),t.prototype.setSource=function(e){var n=t.selectSourceHandler(e,this.options_);n||(t.nativeSourceHandler?n=t.nativeSourceHandler:fe.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==t.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=n.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},ze.registerComponent("Tech",Nn),Nn.registerTech("Tech",Nn),Nn.defaultTechOrder_=[];var Bn={},Dn={buffered:1,currentTime:1,duration:1,seekable:1,played:1},Rn={setCurrentTime:1},Fn=function t(e){if(Array.isArray(e)){var n=[];e.forEach(function(e){e=t(e),Array.isArray(e)?n=n.concat(e):a(e)&&n.push(e)}),e=n}else e="string"==typeof e&&e.trim()?[{src:e}]:a(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[e]:[];return e},$n=function(t){function e(n,r,i){re(this,e);var o=nt({createEl:!1},r),s=oe(this,t.call(this,n,o,i));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var a=0,l=r.playerOptions.techOrder;a<l.length;a++){var c=tt(l[a]),u=Nn.getTech(c);if(c||(u=ze.getComponent(c)),u&&u.isSupported()){n.loadTech_(c);break}}return s}return ie(e,t),e}(ze);ze.registerComponent("MediaLoader",$n);var zn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.emitTapEvents(),i.enable(),i}return ie(e,t),e.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=s({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===e&&fe.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),r=s({role:"button","aria-live":"polite"},r),this.tabIndex_=n.tabIndex;var i=t.prototype.createEl.call(this,e,n,r);return this.createControlTextEl(i),i},e.prototype.dispose=function(){this.controlTextEl_=null,t.prototype.dispose.call(this)},e.prototype.createControlTextEl=function(t){return this.controlTextEl_=m("span",{className:"vjs-control-text"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===t)return this.controlText_||"Need Text";var n=this.localize(t);this.controlText_=t,y(this.controlTextEl_,n),this.nonIconControl||e.setAttribute("title",n)},e.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},e.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},e.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},e.prototype.handleClick=function(t){},e.prototype.handleFocus=function(t){Y(kt,"keydown",Pe(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.trigger("click")):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e.prototype.handleBlur=function(t){X(kt,"keydown",Pe(this,this.handleKeyPress))},e}(ze);ze.registerComponent("ClickableComponent",zn);var Hn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.update(),n.on("posterchange",Pe(i,i.update)),i}return ie(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=m("div",{className:"vjs-poster",tabIndex:-1});return te||(this.fallbackImg_=m("img"),t.appendChild(this.fallbackImg_)),t},e.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},e.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},e.prototype.handleClick=function(t){ 99this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},e}(zn);ze.registerComponent("PosterImage",Hn);var qn="#222",Wn="#ccc",Un={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},Vn=function(t){function e(n,r,i){re(this,e);var o=oe(this,t.call(this,n,r,i));return n.on("loadstart",Pe(o,o.toggleDisplay)),n.on("texttrackchange",Pe(o,o.updateDisplay)),n.on("loadstart",Pe(o,o.preselectTrack)),n.ready(Pe(o,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)return void this.hide();n.on("fullscreenchange",Pe(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()})),o}return ie(e,t),e.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,r=void 0,i=void 0,o=void 0,s=0;s<e.length;s++){var a=e[s];n&&n.enabled&&n.language===a.language?a.kind===n.kind?o=a:o||(o=a):n&&!n.enabled?(o=null,r=null,i=null):a.default&&("descriptions"!==a.kind||r?a.kind in t&&!i&&(i=a):r=a)}o?o.mode="showing":i?i.mode="showing":r&&(r.mode="showing")},e.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},e.prototype.clearDisplay=function(){"function"==typeof Et.WebVTT&&Et.WebVTT.processCues(Et,[],this.el_)},e.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();for(var e=null,n=null,r=t.length;r--;){var i=t[r];"showing"===i.mode&&("descriptions"===i.kind?e=i:n=i)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},e.prototype.updateForTrack=function(t){if("function"==typeof Et.WebVTT&&t.activeCues){for(var e=this.player_.textTrackSettings.getValues(),n=[],r=0;r<t.activeCues.length;r++)n.push(t.activeCues[r]);Et.WebVTT.processCues(Et,n,this.el_);for(var i=n.length;i--;){var o=n[i];if(o){var s=o.displayState;if(e.color&&(s.firstChild.style.color=e.color),e.textOpacity&&wt(s.firstChild,"color",bt(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(s.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&wt(s.firstChild,"backgroundColor",bt(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?wt(s,"backgroundColor",bt(e.windowColor,e.windowOpacity)):s.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px "+qn+", 2px 2px 4px "+qn+", 2px 2px 5px "+qn:"raised"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px "+qn+", 2px 2px "+qn+", 3px 3px "+qn:"depressed"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px "+Wn+", 0 1px "+Wn+", -1px -1px "+qn+", 0 -1px "+qn:"uniform"===e.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px "+qn+", 0 0 4px "+qn+", 0 0 4px "+qn+", 0 0 4px "+qn)),e.fontPercent&&1!==e.fontPercent){var a=Et.parseFloat(s.style.fontSize);s.style.fontSize=a*e.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"}e.fontFamily&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=Un[e.fontFamily])}}}},e}(ze);ze.registerComponent("TextTrackDisplay",Vn);var Yn=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},e}(ze);ze.registerComponent("LoadingSpinner",Yn);var Xn=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t="button",e=s({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),n=s({type:"button","aria-live":"polite"},n);var r=ze.prototype.createEl.call(this,t,e,n);return this.createControlTextEl(r),r},e.prototype.addChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return fe.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),ze.prototype.addChild.call(this,t,e)},e.prototype.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute("disabled")},e.prototype.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},e.prototype.handleKeyPress=function(e){32!==e.which&&13!==e.which&&t.prototype.handleKeyPress.call(this,e)},e}(zn);ze.registerComponent("Button",Xn);var Gn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.mouseused_=!1,i.on("mousedown",i.handleMouseDown),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-big-play-button"},e.prototype.handleClick=function(t){var e=this.player_.play();if(!(this.mouseused_&&t.clientX&&t.clientY)){var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(!r)return void this.player_.focus();var i=function(){return r.focus()};ct(e)?e.then(i,function(){}):this.setTimeout(i,1)}},e.prototype.handleKeyPress=function(e){this.mouseused_=!1,t.prototype.handleKeyPress.call(this,e)},e.prototype.handleMouseDown=function(t){this.mouseused_=!0},e}(Xn);Gn.prototype.controlText_="Play Video",ze.registerComponent("BigPlayButton",Gn);var Jn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.controlText(r&&r.controlText||i.localize("Close")),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},e}(Xn);ze.registerComponent("CloseButton",Jn);var Kn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on(n,"play",i.handlePlay),i.on(n,"pause",i.handlePause),i.on(n,"ended",i.handleEnded),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},e.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},e}(Xn);Kn.prototype.controlText_="Play",ze.registerComponent("PlayToggle",Kn);var Zn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.throttledUpdateContent=Me(Pe(i,i.updateContent),25),i.on(n,"timeupdate",i.throttledUpdateContent),i}return ie(e,t),e.prototype.createEl=function(e){var n=this.buildCSSClass(),r=t.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control"});return this.contentEl_=m("div",{className:n+"-display"},{"aria-live":"off"},m("span",{className:"vjs-control-text",textContent:this.localize(this.controlText_)})),this.updateTextNode_(),r.appendChild(this.contentEl_),r},e.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,t.prototype.dispose.call(this)},e.prototype.updateTextNode_=function(){if(this.contentEl_){for(;this.contentEl_.firstChild;)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=kt.createTextNode(this.formattedTime_||"0:00"),this.contentEl_.appendChild(this.textNode_)}},e.prototype.formatTime_=function(t){return xt(t)},e.prototype.updateFormattedTime_=function(t){var e=this.formatTime_(t);e!==this.formattedTime_&&(this.formattedTime_=e,this.requestAnimationFrame(this.updateTextNode_))},e.prototype.updateContent=function(t){},e}(ze);Zn.prototype.controlText_="Time",ze.registerComponent("TimeDisplay",Zn);var Qn=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on(n,"ended",i.handleEnded),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-current-time"},e.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},e}(Zn);Qn.prototype.controlText_="Current Time",ze.registerComponent("CurrentTimeDisplay",Qn);var tr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on(n,"durationchange",i.updateContent),i.on(n,"loadedmetadata",i.throttledUpdateContent),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-duration"},e.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},e}(Zn);tr.prototype.controlText_="Duration Time",ze.registerComponent("DurationDisplay",tr);var er=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},e}(ze);ze.registerComponent("TimeDivider",er);var nr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on(n,"durationchange",i.throttledUpdateContent),i.on(n,"ended",i.handleEnded),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-remaining-time"},e.prototype.formatTime_=function(e){return"-"+t.prototype.formatTime_.call(this,e)},e.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},e}(Zn);nr.prototype.controlText_="Remaining Time",ze.registerComponent("RemainingTimeDisplay",nr);var rr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.updateShowing(),i.on(i.player(),"durationchange",i.updateShowing),i}return ie(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=m("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(ze);ze.registerComponent("LiveDisplay",rr);var ir=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}return ie(e,t),e.prototype.enabled=function(){return this.enabled_},e.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},e.prototype.disable=function(){if(this.enabled()){var t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},e.prototype.createEl=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=s({tabIndex:0},n),r=s({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),t.prototype.createEl.call(this,e,n,r)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;t.preventDefault(),P(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.prototype.handleMouseMove=function(t){},e.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;M(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){("number"!=typeof t||t!==t||t<0||t===1/0)&&(t=0);var n=(100*t).toFixed(2)+"%",r=e.el().style;return this.vertical()?r.height=n:r.width=n,t}}},e.prototype.calculateDistance=function(t){var e=O(this.el_,t);return this.vertical()?e.y:e.x},e.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},e.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},e.prototype.vertical=function(t){return void 0===t?this.vertical_||!1:(this.vertical_=!!t,void(this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")))},e}(ze);ze.registerComponent("Slider",ir);var or=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.partEls_=[],i.on(n,"progress",i.update),i}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},e.prototype.dispose=function(){this.partEls_=null,t.prototype.dispose.call(this)},e.prototype.update=function(t){var e=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=function(t,e){var n=t/e||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(r,n);for(var s=0;s<e.length;s++){var a=e.start(s),l=e.end(s),c=i[s];c||(c=this.el_.appendChild(m()),i[s]=c),c.style.left=o(a,r),c.style.width=o(l-a,r)}for(var u=i.length;u>e.length;u--)this.el_.removeChild(i[u-1]);i.length=e.length},e}(ze);ze.registerComponent("LoadProgressBar",or);var sr=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},e.prototype.update=function(t,e,n){var r=j(this.el_),i=j(this.player_.el()),o=t.width*e;if(i&&r){var s=t.left-i.left+o,a=t.width-o+(i.right-t.right),l=r.width/2;s<l?l+=l-s:a<l&&(l=a),l<0?l=0:l>r.width&&(l=r.width),this.el_.style.right="-"+l+"px",y(this.el_,n)}},e}(ze);ze.registerComponent("TimeTooltip",sr);var ar=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),i=xt(r,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(t,e,i)})},e}(ze);ar.prototype.options_={children:[]},Jt&&!(Jt>8)||Ft||zt||ar.prototype.options_.children.push("timeTooltip"),ze.registerComponent("PlayProgressBar",ar);var lr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.update=Me(Pe(i,i.update),25),i}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.duration(),i=xt(e*r,r);n.el_.style.left=t.width*e+"px",n.getChild("timeTooltip").update(t,e,i)})},e}(ze);lr.prototype.options_={children:["timeTooltip"]},ze.registerComponent("MouseTimeDisplay",lr);var cr=5,ur=30,hr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.update=Me(Pe(i,i.update),ur),i.on(n,"timeupdate",i.update),i.on(n,"ended",i.handleEnded),i.updateInterval=null,i.on(n,["playing"],function(){i.clearInterval(i.updateInterval),i.updateInterval=i.setInterval(function(){i.requestAnimationFrame(function(){i.update()})},ur)}),i.on(n,["ended","pause","waiting"],function(){i.clearInterval(i.updateInterval)}),i.on(n,["timeupdate","ended"],i.update),i}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},e.prototype.update_=function(t,e){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[xt(t,n),xt(n,n)],"{1} of {2}")),this.bar.update(j(this.el_),e)},e.prototype.update=function(e){var n=t.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},e.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},e.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},e.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return t>=1?1:t},e.prototype.handleMouseDown=function(e){F(e)&&(this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),t.prototype.handleMouseDown.call(this,e))},e.prototype.handleMouseMove=function(t){if(F(t)){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)}},e.prototype.enable=function(){t.prototype.enable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.show()},e.prototype.disable=function(){t.prototype.disable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.hide()},e.prototype.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&ut(this.player_.play())},e.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+cr)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-cr)},e.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleAction(e)):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e}(ir);hr.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Jt&&!(Jt>8)||Ft||zt||hr.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),hr.prototype.playerEvent="timeupdate",ze.registerComponent("SeekBar",hr);var pr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.handleMouseMove=Me(Pe(i,i.handleMouseMove),25),i.throttledHandleMouseSeek=Me(Pe(i,i.handleMouseSeek),25),i.enable(),i}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e.prototype.handleMouseMove=function(t){var e=this.getChild("seekBar"),n=e.getChild("mouseTimeDisplay"),r=e.el(),i=j(r),o=O(r,t).x;o>1?o=1:o<0&&(o=0),n&&n.update(i,o)},e.prototype.handleMouseSeek=function(t){var e=this.getChild("seekBar");e.handleMouseMove(t)},e.prototype.enabled=function(){return this.enabled_},e.prototype.disable=function(){this.children().forEach(function(t){return t.disable&&t.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},e.prototype.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e}(ze);pr.prototype.options_={children:["seekBar"]},ze.registerComponent("ProgressControl",pr);var fr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on(n,"fullscreenchange",i.handleFullscreenChange),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(Xn);fr.prototype.controlText_="Fullscreen",ze.registerComponent("FullscreenToggle",fr);var dr=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},gr=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(ze);ze.registerComponent("VolumeLevel",gr);var vr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on("slideractive",i.updateLastVolume_),i.on(n,"volumechange",i.updateARIAAttributes),n.ready(function(){return i.updateARIAAttributes()}),i}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},e.prototype.handleMouseDown=function(e){F(e)&&t.prototype.handleMouseDown.call(this,e)},e.prototype.handleMouseMove=function(t){F(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},e.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},e.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},e.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",function(){0===t.player_.volume()&&t.player_.lastVolume_(e)})},e}(ir);vr.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},vr.prototype.playerEvent="volumechange",ze.registerComponent("VolumeBar",vr);var mr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};re(this,e),r.vertical=r.vertical||!1,("undefined"==typeof r.volumeBar||l(r.volumeBar))&&(r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=r.vertical);var i=oe(this,t.call(this,n,r));return dr(i,n),i.throttledHandleMouseMove=Me(Pe(i,i.handleMouseMove),25),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")}),i.on(i.volumeBar,["blur","sliderinactive"],function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")}),i}return ie(e,t),e.prototype.createEl=function(){var e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+e})},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(ze);mr.prototype.options_={children:["volumeBar"]},ze.registerComponent("VolumeControl",mr);var yr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return dr(i,n),i.on(n,["loadstart","volumechange"],i.update),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){var e=this.player_.volume(),n=this.player_.lastVolume_();if(0===e){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},e.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},e.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var n=0;n<4;n++)_(this.el_,"vjs-vol-"+n);x(this.el_,"vjs-vol-"+e)},e.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume(),e=t?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},e}(Xn);yr.prototype.controlText_="Mute",ze.registerComponent("MuteToggle",yr);var br=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};re(this,e),"undefined"!=typeof r.inline?r.inline=r.inline:r.inline=!0,("undefined"==typeof r.volumeControl||l(r.volumeControl))&&(r.volumeControl=r.volumeControl||{},r.volumeControl.vertical=!r.inline);var i=oe(this,t.call(this,n,r));return dr(i,n),i.on(i.volumeControl,["slideractive"],i.sliderActive_),i.on(i.volumeControl,["sliderinactive"],i.sliderInactive_),i}return ie(e,t),e.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},e.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},e.prototype.createEl=function(){var e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+e})},e}(ze);br.prototype.options_={children:["muteToggle","volumeControl"]},ze.registerComponent("VolumePanel",br);var wr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return r&&(i.menuButton_=r.menuButton),i.focusedChild_=-1,i.on("keydown",i.handleKeyPress),i}return ie(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",Pe(this,function(e){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())}))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=m(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),Y(n,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),n},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},e.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.prototype.focus=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice(),n=e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className);n&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(ze);ze.registerComponent("Menu",wr);var xr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};re(this,e);var i=oe(this,t.call(this,n,r));i.menuButton_=new Xn(n,r),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");var o=Xn.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+o,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"focus",i.handleFocus),i.on(i.menuButton_,"blur",i.handleBlur),i.on("keydown",i.handleSubmenuKeyPress),i}return ie(e,t),e.prototype.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},e.prototype.createMenu=function(){var t=new wr(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=m("li",{className:"vjs-menu-title",innerHTML:tt(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,t.children_.unshift(e),b(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)t.addItem(this.items[n]);return t},e.prototype.createItems=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},e.prototype.buildWrapperCSSClass=function(){var e="vjs-menu-button"; 100e+=this.options_.inline===!0?"-inline":"-popup";var n=Xn.prototype.buildCSSClass();return"vjs-menu-button "+e+" "+n+" "+t.prototype.buildCSSClass.call(this)},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return e+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},e.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",Pe(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},e.prototype.focus=function(){this.menuButton_.focus()},e.prototype.blur=function(){this.menuButton_.blur()},e.prototype.handleFocus=function(){Y(kt,"keydown",Pe(this,this.handleKeyPress))},e.prototype.handleBlur=function(){X(kt,"keydown",Pe(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},e.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},e.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Ft&&g())return;this.menu.focus()}},e.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},e.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},e.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(ze);ze.registerComponent("MenuButton",xr);var _r=function(t){function e(n,r){re(this,e);var i=r.tracks,o=oe(this,t.call(this,n,r));if(o.items.length<=1&&o.hide(),!i)return oe(o);var s=Pe(o,o.update);return i.addEventListener("removetrack",s),i.addEventListener("addtrack",s),o.player_.on("ready",s),o.player_.on("dispose",function(){i.removeEventListener("removetrack",s),i.removeEventListener("addtrack",s)}),o}return ie(e,t),e}(xr);ze.registerComponent("TrackButton",_r);var Tr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.selectable=r.selectable,i.selected(r.selected),i.selectable?i.el_.setAttribute("role","menuitemcheckbox"):i.el_.setAttribute("role","menuitem"),i}return ie(e,t),e.prototype.createEl=function(e,n,r){return this.nonIconControl=!0,t.prototype.createEl.call(this,"li",s({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),r)},e.prototype.handleClick=function(t){this.selected(!0)},e.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText("")))},e}(zn);ze.registerComponent("MenuItem",Tr);var Cr=function(t){function e(n,r){re(this,e);var i=r.track,o=n.textTracks();r.label=i.label||i.language||"Unknown",r.selected="showing"===i.mode;var s=oe(this,t.call(this,n,r));s.track=i;var a=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleTracksChange.apply(s,e)},l=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleSelectedLanguageChange.apply(s,e)};if(n.on(["loadstart","texttrackchange"],a),o.addEventListener("change",a),o.addEventListener("selectedlanguagechange",l),s.on("dispose",function(){n.off(["loadstart","texttrackchange"],a),o.removeEventListener("change",a),o.removeEventListener("selectedlanguagechange",l)}),void 0===o.onchange){var c=void 0;s.on(["tap","click"],function(){if("object"!==ne(Et.Event))try{c=new Et.Event("change")}catch(t){}c||(c=kt.createEvent("Event"),c.initEvent("change",!0,!0)),o.dispatchEvent(c)})}return s.handleTracksChange(),s}return ie(e,t),e.prototype.handleClick=function(e){var n=this.track.kind,r=this.track.kinds,i=this.player_.textTracks();if(r||(r=[n]),t.prototype.handleClick.call(this,e),i)for(var o=0;o<i.length;o++){var s=i[o];s===this.track&&r.indexOf(s.kind)>-1?"showing"!==s.mode&&(s.mode="showing"):"disabled"!==s.mode&&(s.mode="disabled")}},e.prototype.handleTracksChange=function(t){this.selected("showing"===this.track.mode)},e.prototype.handleSelectedLanguageChange=function(t){if("showing"===this.track.mode){var e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},e.prototype.dispose=function(){this.track=null,t.prototype.dispose.call(this)},e}(Tr);ze.registerComponent("TextTrackMenuItem",Cr);var Sr=function(t){function e(n,r){return re(this,e),r.track={player:n,kind:r.kind,kinds:r.kinds,default:!1,mode:"disabled"},r.kinds||(r.kinds=[r.kind]),r.label?r.track.label=r.label:r.track.label=r.kinds.join(" and ")+" off",r.selectable=!0,oe(this,t.call(this,n,r))}return ie(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!0,r=0,i=e.length;r<i;r++){var o=e[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}this.selected(n)},e.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),n=!0,r=0,i=e.length;r<i;r++){var o=e[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(Cr);ze.registerComponent("OffTextTrackMenuItem",Sr);var Er=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return re(this,e),r.tracks=n.textTracks(),oe(this,t.call(this,n,r))}return ie(e,t),e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cr,n=void 0;this.label_&&(n=this.label_+" off"),t.push(new Sr(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var o=r[i];if(this.kinds_.indexOf(o.kind)>-1){var s=new e(this.player_,{track:o,selectable:!0});s.addClass("vjs-"+o.kind+"-menu-item"),t.push(s)}}return t},e}(_r);ze.registerComponent("TextTrackButton",Er);var kr=function(t){function e(n,r){re(this,e);var i=r.track,o=r.cue,s=n.currentTime();r.selectable=!0,r.label=o.text,r.selected=o.startTime<=s&&s<o.endTime;var a=oe(this,t.call(this,n,r));return a.track=i,a.cue=o,i.addEventListener("cuechange",Pe(a,a.update)),a}return ie(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.prototype.update=function(t){var e=this.cue,n=this.player_.currentTime();this.selected(e.startTime<=n&&n<e.endTime)},e}(Tr);ze.registerComponent("ChaptersTrackMenuItem",kr);var Ar=function(t){function e(n,r,i){return re(this,e),oe(this,t.call(this,n,r,i))}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.update=function(e){this.track_&&(!e||"addtrack"!==e.type&&"removetrack"!==e.type)||this.setTrack(this.findChaptersTrack()),t.prototype.update.call(this)},e.prototype.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},e.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;e>=0;e--){var n=t[e];if(n.kind===this.kind_)return n}},e.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(tt(this.kind_))},e.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),t.prototype.createMenu.call(this)},e.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var n=0,r=e.length;n<r;n++){var i=e[n],o=new kr(this.player_,{track:this.track_,cue:i});t.push(o)}return t},e}(Er);Ar.prototype.kind_="chapters",Ar.prototype.controlText_="Chapters",ze.registerComponent("ChaptersButton",Ar);var Pr=function(t){function e(n,r,i){re(this,e);var o=oe(this,t.call(this,n,r,i)),s=n.textTracks(),a=Pe(o,o.handleTracksChange);return s.addEventListener("change",a),o.on("dispose",function(){s.removeEventListener("change",a)}),o}return ie(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!1,r=0,i=e.length;r<i;r++){var o=e[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},e.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(Er);Pr.prototype.kind_="descriptions",Pr.prototype.controlText_="Descriptions",ze.registerComponent("DescriptionsButton",Pr);var Mr=function(t){function e(n,r,i){return re(this,e),oe(this,t.call(this,n,r,i))}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(Er);Mr.prototype.kind_="subtitles",Mr.prototype.controlText_="Subtitles",ze.registerComponent("SubtitlesButton",Mr);var jr=function(t){function e(n,r){re(this,e),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1,r.name="CaptionSettingsMenuItem";var i=oe(this,t.call(this,n,r));return i.addClass("vjs-texttrack-settings"),i.controlText(", opens "+r.kind+" settings dialog"),i}return ie(e,t),e.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(Cr);ze.registerComponent("CaptionSettingsMenuItem",jr);var Ir=function(t){function e(n,r,i){return re(this,e),oe(this,t.call(this,n,r,i))}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(e.push(new jr(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),t.prototype.createItems.call(this,e)},e}(Er);Ir.prototype.kind_="captions",Ir.prototype.controlText_="Captions",ze.registerComponent("CaptionsButton",Ir);var Or=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(e,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);"captions"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),i+="</span>";var o=t.prototype.createEl.call(this,e,s({innerHTML:i},n),r);return o},e}(Cr);ze.registerComponent("SubsCapsMenuItem",Or);var Lr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};re(this,e);var i=oe(this,t.call(this,n,r));return i.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(i.player_.language_)>-1&&(i.label_="captions"),i.menuButton_.controlText(tt(i.label_)),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(e.push(new jr(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=t.prototype.createItems.call(this,e,Or)},e}(Er);Lr.prototype.kinds_=["captions","subtitles"],Lr.prototype.controlText_="Subtitles",ze.registerComponent("SubsCapsButton",Lr);var Nr=function(t){function e(n,r){re(this,e);var i=r.track,o=n.audioTracks();r.label=i.label||i.language||"Unknown",r.selected=i.enabled;var s=oe(this,t.call(this,n,r));s.track=i;var a=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleTracksChange.apply(s,e)};return o.addEventListener("change",a),s.on("dispose",function(){o.removeEventListener("change",a)}),s}return ie(e,t),e.prototype.handleClick=function(e){var n=this.player_.audioTracks();t.prototype.handleClick.call(this,e);for(var r=0;r<n.length;r++){var i=n[r];i.enabled=i===this.track}},e.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(Tr);ze.registerComponent("AudioTrackMenuItem",Nr);var Br=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return re(this,e),r.tracks=n.audioTracks(),oe(this,t.call(this,n,r))}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),n=0;n<e.length;n++){var r=e[n];t.push(new Nr(this.player_,{track:r,selectable:!0}))}return t},e}(_r);Br.prototype.controlText_="Audio Track",ze.registerComponent("AudioTrackButton",Br);var Dr=function(t){function e(n,r){re(this,e);var i=r.rate,o=parseFloat(i,10);r.label=i,r.selected=1===o,r.selectable=!0;var s=oe(this,t.call(this,n,r));return s.label=i,s.rate=o,s.on(n,"ratechange",s.update),s}return ie(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}(Tr);Dr.prototype.contentElType="button",ze.registerComponent("PlaybackRateMenuItem",Dr);var Rr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.updateVisibility(),i.updateLabel(),i.on(n,"loadstart",i.updateVisibility),i.on(n,"ratechange",i.updateLabel),i}return ie(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelEl_=m("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),e.appendChild(this.labelEl_),e},e.prototype.dispose=function(){this.labelEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createMenu=function(){var t=new wr(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;n>=0;n--)t.addChild(new Dr(this.player(),{rate:e[n]+"x"}));return t},e.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),n=this.playbackRates(),r=n[0],i=0;i<n.length;i++)if(n[i]>e){r=n[i];break}this.player().playbackRate(r)},e.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},e.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},e}(xr);Rr.prototype.controlText_="Playback Rate",ze.registerComponent("PlaybackRateMenuButton",Rr);var Fr=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(ze);ze.registerComponent("Spacer",Fr);var $r=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML="Ã ",e},e}(Fr);ze.registerComponent("CustomControlSpacer",$r);var zr=function(t){function e(){return re(this,e),oe(this,t.apply(this,arguments))}return ie(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},e}(ze);zr.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},ze.registerComponent("ControlBar",zr);var Hr=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r));return i.on(n,"error",i.open),i}return ie(e,t),e.prototype.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},e.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(en);
100Hr.prototype.options_=nt(en.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),ze.registerComponent("ErrorDisplay",Hr);var qr="vjs-text-track-settings",Wr=["#000","Black"],Ur=["#00F","Blue"],Vr=["#0FF","Cyan"],Yr=["#0F0","Green"],Xr=["#F0F","Magenta"],Gr=["#F00","Red"],Jr=["#FFF","White"],Kr=["#FF0","Yellow"],Zr=["1","Opaque"],Qr=["0.5","Semi-Transparent"],ti=["0","Transparent"],ei={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Wr,Jr,Gr,Yr,Ur,Kr,Xr,Vr]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[Zr,Qr,ti]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Jr,Wr,Gr,Yr,Ur,Kr,Xr,Vr]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[Zr,Qr]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[ti,Qr,Zr]}};ei.windowColor.options=ei.backgroundColor.options;var ni=function(t){function e(n,r){re(this,e),r.temporary=!1;var o=oe(this,t.call(this,n,r));return o.updateDisplay=Pe(o,o.updateDisplay),o.fill(),o.hasBeenOpened_=o.hasBeenFilled_=!0,o.endDialog=m("p",{className:"vjs-control-text",textContent:o.localize("End of dialog window.")}),o.el().appendChild(o.endDialog),o.setDefaults(),void 0===r.persistTextTrackSettings&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings),o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings(),o.close()}),o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults(),o.updateDisplay()}),i(ei,function(t){o.on(o.$(t.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return ie(e,t),e.prototype.dispose=function(){this.endDialog=null,t.prototype.dispose.call(this)},e.prototype.createElSelect_=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",i=ei[t],o=i.id.replace("%s",this.id_);return["<"+r+' id="'+o+'" class="'+("label"===r?"vjs-label":"")+'">',this.localize(i.label),"</"+r+">",'<select aria-labelledby="'+(""!==n?n+" ":"")+o+'">'].concat(i.options.map(function(t){var r=o+"-"+t[1];return['<option id="'+r+'" value="'+t[0]+'" ','aria-labelledby="'+(""!==n?n+" ":"")+o+" "+r+'">',e.localize(t[1]),"</option>"].join("")})).concat("</select>").join("")},e.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">
100',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElColors_=function(){return m("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},e.prototype.createElFont_=function(){return m("div",{className:'vjs-track-settings-font">',innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},e.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return m("div",{className:"vjs-track-settings-controls",innerHTML:['<button class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},e.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},e.prototype.label=function(){return this.localize("Caption Settings Dialog")},e.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},e.prototype.buildCSSClass=function(){return t.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},e.prototype.getValues=function(){var t=this;return o(ei,function(e,n,r){var i=Tt(t.$(n.selector),n.parser);return void 0!==i&&(e[r]=i),e},{})},e.prototype.setValues=function(t){var e=this;i(ei,function(n,r){Ct(e.$(n.selector),t[r],n.parser)})},e.prototype.setDefaults=function(){var t=this;i(ei,function(e){var n=e.hasOwnProperty("default")?e.default:0;t.$(e.selector).selectedIndex=n})},e.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(Et.localStorage.getItem(qr))}catch(t){fe.warn(t)}t&&this.setValues(t)},e.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?Et.localStorage.setItem(qr,JSON.stringify(t)):Et.localStorage.removeItem(qr)}catch(t){fe.warn(t)}}},e.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(kt,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton,n=t&&t.captionsButton;e?e.focus():n&&n.focus()},e}(en);ze.registerComponent("TextTrackSettings",ni);var ri=se(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]),ii=function(t){function e(n,r){re(this,e);var i=oe(this,t.call(this,n,r)),o=n.source,s=!1;if(o&&(i.el_.currentSrc!==o.src||n.tag&&3===n.tag.initNetworkState_)?i.setSource(o):i.handleLateInit_(i.el_),i.el_.hasChildNodes()){for(var a=i.el_.childNodes,l=a.length,c=[];l--;){var u=a[l],h=u.nodeName.toLowerCase();"track"===h&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(u),i.remoteTextTracks().addTrack(u.track),i.textTracks().addTrack(u.track),s||i.el_.hasAttribute("crossorigin")||!wn(u.src)||(s=!0)):c.push(u))}for(var p=0;p<c.length;p++)i.el_.removeChild(c[p])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&s&&fe.warn(At(ri)),i.restoreMetadataTracksInIOSNativePlayer_(),(Qt||Dt||Wt)&&n.nativeControlsForTouch===!0&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}return ie(e,t),e.prototype.dispose=function(){e.disposeMediaElement(this.el_),this.options_=null,t.prototype.dispose.call(this)},e.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){var t=this.textTracks(),e=void 0,n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",function(){return t.removeEventListener("change",n)});var r=function n(){for(var r=0;r<e.length;r++){var i=e[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)}),this.on("webkitendfullscreen",function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)})},e.prototype.proxyNativeTracks_=function(){var t=this;
100In.names.forEach(function(e){var n=In[e],r=t.el()[n.getterName],i=t[n.getterName]();if(t["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var o={change:function(t){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},addtrack:function(t){i.addTrack(t.track)},removetrack:function(t){i.removeTrack(t.track)}},s=function(){for(var t=[],e=0;e<i.length;e++){for(var n=!1,o=0;o<r.length;o++)if(r[o]===i[e]){n=!0;break}n||t.push(i[e])}for(;t.length;)i.removeTrack(t.shift())};Object.keys(o).forEach(function(e){var n=o[e];r.addEventListener(e,n),t.on("dispose",function(t){return r.removeEventListener(e,n)})}),t.on("loadstart",s),t.on("dispose",function(e){return t.off("loadstart",s)})}})},e.prototype.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var n=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(n,t),e.disposeMediaElement(t),t=n}else{t=kt.createElement("video");var r=this.options_.tag&&S(this.options_.tag),i=nt({},r);Qt&&this.options_.nativeControlsForTouch===!0||delete i.controls,C(t,s(i,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}"undefined"!=typeof this.options_.preload&&k(t,"preload",this.options_.preload);for(var o=["loop","muted","playsinline","autoplay"],a=0;a<o.length;a++){var l=o[a],c=this.options_[l];"undefined"!=typeof c&&(c?k(t,l,l):A(t,l),t[l]=c)}return t},e.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,n=function(){e=!0};this.on("loadstart",n);var r=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),e||this.trigger("loadstart")})}var i=["loadstart"];i.push("loadedmetadata"),t.readyState>=2&&i.push("loadeddata"),t.readyState>=3&&i.push("canplay"),t.readyState>=4&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(t){this.trigger(t)},this)})}},e.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){fe(t,"Video is not ready. (Video.js)")}},e.prototype.duration=function(){var t=this;if(this.el_.duration===1/0&&zt&&Yt&&0===this.el_.currentTime){var e=function e(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN},e.prototype.width=function(){return this.el_.offsetWidth},e.prototype.height=function(){return this.el_.offsetHeight},e.prototype.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){t.off("webkitbeginfullscreen",n),t.off("webkitendfullscreen",e)})}},e.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=Et.navigator&&Et.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},e.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},e.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},e.prototype.src=function(t){return void 0===t?this.el_.src:void this.setSrc(t)},e.prototype.reset=function(){e.resetMediaElement(this.el_)},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.prototype.setControls=function(t){this.el_.controls=!!t},e.prototype.addTextTrack=function(e,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,n,r):t.prototype.addTextTrack.call(this,e,n,r)},e.prototype.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.createRemoteTextTrack.call(this,e);var n=kt.createElement("track");return e.kind&&(n.kind=e.kind),e.label&&(n.label=e.label),(e.language||e.srclang)&&(n.srclang=e.language||e.srclang),e.default&&(n.default=e.default),e.id&&(n.id=e.id),e.src&&(n.src=e.src),n},e.prototype.addRemoteTextTrack=function(e,n){ 101var r=t.prototype.addRemoteTextTrack.call(this,e,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},e.prototype.removeRemoteTextTrack=function(e){if(t.prototype.removeRemoteTextTrack.call(this,e),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)e!==n[r]&&e!==n[r].track||this.el().removeChild(n[r])},e.prototype.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return"undefined"!=typeof this.el().webkitDroppedFrameCount&&"undefined"!=typeof this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),Et.performance&&"function"==typeof Et.performance.now?t.creationTime=Et.performance.now():Et.performance&&Et.performance.timing&&"number"==typeof Et.performance.timing.navigationStart&&(t.creationTime=Et.Date.now()-Et.performance.timing.navigationStart),t},e}(Nn);if(f()){ii.TEST_VID=kt.createElement("video");var oi=kt.createElement("track");oi.kind="captions",oi.srclang="en",oi.label="English",ii.TEST_VID.appendChild(oi)}ii.isSupported=function(){try{ii.TEST_VID.volume=.5}catch(t){return!1}
vendor: 3,963 bytes, line 101
101return!(!ii.TEST_VID||!ii.TEST_VID.canPlayType)},ii.canPlayType=function(t){return ii.TEST_VID.canPlayType(t)},ii.canPlaySource=function(t,e){return ii.canPlayType(t.type)},ii.canControlVolume=function(){try{var t=ii.TEST_VID.volume;return ii.TEST_VID.volume=t/2+.1,t!==ii.TEST_VID.volume}catch(t){return!1}},ii.canControlPlaybackRate=function(){if(zt&&Yt&&Xt<58)return!1;try{var t=ii.TEST_VID.playbackRate;return ii.TEST_VID.playbackRate=t/2+.1,t!==ii.TEST_VID.playbackRate}catch(t){return!1}},ii.supportsNativeTextTracks=function(){return Zt},ii.supportsNativeVideoTracks=function(){return!(!ii.TEST_VID||!ii.TEST_VID.videoTracks)},ii.supportsNativeAudioTracks=function(){return!(!ii.TEST_VID||!ii.TEST_VID.audioTracks)},ii.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],ii.prototype.featuresVolumeControl=ii.canControlVolume(),ii.prototype.featuresPlaybackRate=ii.canControlPlaybackRate(),ii.prototype.movingMediaElementInDOM=!Ft,ii.prototype.featuresFullscreenResize=!0,ii.prototype.featuresProgressEvents=!0,ii.prototype.featuresTimeupdateEvents=!0,ii.prototype.featuresNativeTextTracks=ii.supportsNativeTextTracks(),ii.prototype.featuresNativeVideoTracks=ii.supportsNativeVideoTracks(),ii.prototype.featuresNativeAudioTracks=ii.supportsNativeAudioTracks();var si=ii.TEST_VID&&ii.TEST_VID.constructor.prototype.canPlayType,ai=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,li=/^video\/mp4/i;ii.patchCanPlayType=function(){Ht>=4&&!Ut?ii.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&ai.test(t)?"maybe":si.call(this,t)}:qt&&(ii.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&li.test(t)?"maybe":si.call(this,t)})},ii.unpatchCanPlayType=function(){var t=ii.TEST_VID.constructor.prototype.canPlayType;return ii.TEST_VID.constructor.prototype.canPlayType=si,t},ii.patchCanPlayType(),ii.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&!function(){try{t.load()}catch(t){}}()}},ii.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),n=e.length;n--;)t.removeChild(e[n]);t.removeAttribute("src"),"function"==typeof t.load&&!function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){ii.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(t){ii.prototype["set"+tt(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(t){ii.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach(function(t){ii.prototype["set"+tt(t)]=function(e){this.el_[t]=e}}),["pause","load","play"].forEach(function(t){ii.prototype[t]=function(){return this.el_[t]()}}),Nn.withSourceHandlers(ii),ii.nativeSourceHandler={},ii.nativeSourceHandler.canPlayType=function(t){try{return ii.TEST_VID.canPlayType(t)}catch(t){return""}},ii.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return ii.nativeSourceHandler.canPlayType(t.type);if(t.src){var n=bn(t.src);return ii.nativeSourceHandler.canPlayType("video/"+n)}return""},ii.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},ii.nativeSourceHandler.dispose=function(){},ii.registerSourceHandler(ii.nativeSourceHandler),Nn.registerTech("Html5",ii);var ci=se(["\n Using the tech directly can be dangerous. I hope you know
101what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "],["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "]),ui=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","resize","volumechange","texttrackchange"],hi=function(t){function e(n,r,i){if(re(this,e),n.id=n.id||"vjs_video_"+$(),r=s(e.getTagSettings(n),r),r.initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var o=n.closest("[lang]");o&&o.getAttribute&&(r.language=o.getAttribute("lang"))}else for(var a=n;a&&1===a.nodeType;){if(S(a).hasOwnProperty("lang")){r.language=a.getAttribute("lang");break}a=a.parentNode}var l=oe(this,t.call(this,null,r,i));if(l.isReady_=!1,l.hasStarted_=!1,l.userActive_=!1,!l.options_||!l.options_.techOrder||!l.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(l.tag=n,l.tagAttributes=n&&S(n),l.language(l.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach(function(t){c[t.toLowerCase()]=r.languages[t]}),l.languages_=c}else l.languages_=e.prototype.options_.languages;l.cache_={},l.poster_=r.poster||"",l.controls_=!!r.controls,l.cache_.lastVolume=1,n.controls=!1,n.removeAttribute("controls"),l.scrubbing_=!1,l.el_=l.createEl(),Z(l,{eventBusKey:"el_"});var u=nt(l.options_);if(r.plugins){var h=r.plugins;Object.keys(h).forEach(function(t){if("function"!=typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](h[t])},l)}l.options_.playerOptions=u,l.middleware_=[],l.initChildren(),l.isAudio("audio"===n.nodeName.toLowerCase()),l.controls()?l.addClass("vjs-controls-enabled"):l.addClass("vjs-controls-disabled"),l.el_.setAttribute("role","region"),l.isAudio()?l.el_.setAttribute("aria-label",l.localize("Audio Player")):l.el_.setAttribute("aria-label",l.localize("Video Player")),l.isAudio()&&l.addClass("vjs-audio"),l.flexNotSupported_()&&l.addClass("vjs-no-flex"),Ft||l.addClass("vjs-workinghover"),e.players[l.id_]=l;var p=It.split(".")[0];return l.addClass("vjs-v"+p),l.userActive(!0),l.reportUserActivity(),l.listenForUserActivity_(),l.on("fullscreenchange",l.handleFullscreenChange_),l.on("stageclick",l.handleStageClick_),l.changingSrc_=!1,l.playWaitingForReady_=!1,l.playOnLoadstart_=null,l.forceAutoplayInChrome_(),l}return ie(e,t),e.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var e=this.tag,n=void 0,r=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player"),i="video-js"===this.tag.tagName.toLowerCase();r?n=this.el_=e.parentNode:i||(n=this.el_=t.prototype.createEl.call(this,"div"));var o=S(e);if(i){for(n=this.el_=e,e=this.tag=kt.createElement("video");n.children.length;)e.appendChild(n.firstChild);w(n,"video-js")||x(n,"video-js"),n.appendChild(e),r=this.playerElIngest_=n}if(e.setAttribute("tabindex","-1"),e.removeAttribute("width"),e.removeAttribute("height"),Object.getOwnPropertyNames(o).forEach(function(t){"class"===t?(n.className+=" "+o[t],i&&(e.className+=" "+o[t])):(n.setAttribute(t,o[t]),i&&e.setAttribute(t,o[t]))}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=n.player=this,this.addClass("vjs-paused"),Et.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=ke("vjs-styles-dimensions");var s=ge(".vjs-styles-defaults"),a=ge("head");a.insertBefore(this.styleEl_,s?s.nextSibling:a.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var l=e.getElementsByTagName("a"),c=0;c<l.length;c++){var u=l.item(c);x(u,"vjs-hidden"),u.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!r&&e.parentNode.insertBefore(n,e),b(e,n),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_=n,n},e.prototype.width=function(t,e){return this.dimension("width",t,e)},e.prototype.height=function(t,e){return this.dimension("height",t,e)},e.prototype.dimension=function(t,e,n){var r=t+"_";if(void 0===e)return this[r]||0;if(""===e)return this[r]=void 0,void this.updateStyleEl_();var i=parseFloat(e);return isNaN(i)?void fe.error('Improper value "'+e+'" supplied for for '+t):(this[r]=i,this.updateStyleEl_(),void(this.isReady_&&!n&&this.trigger("playerresize")))},e.prototype.fluid=function(t){return void 0===t?!!this.fluid_:(this.fluid_=!!t,t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},e.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},e.prototype.updateStyleEl_=function(){if(Et.VIDEOJS_NO_DYNAMIC_STYLE===!0){var t="number"==typeof this.width_?this.width_:this.options_.width,e="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(t>=0&&(n.width=t),e>=0&&(n.height=e)))}var r=void 0,i=void 0,o=void 0,s=void 0;o=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var a=o.split(":"),l=a[1]/a[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/l:this.videoWidth()||300,i=void 0!==this.height_?this.height_:r*l,s=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(s),Ae(this.styleEl_,"\n ."+s+" {\n width: "+r+"px;\n height: "+i+"px;\n }\n\n ."+s+".vjs-fluid {\n padding-top: "+100*l+"%;\n }\n ")},e.prototype.loadTech_=function(t,e){var n=this;this.tech_&&this.unloadTech_();var r=tt(t),i=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==r&&this.tag&&(Nn.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var o={source:e,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",autoplay:this.options_.autoplay,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]};
101Ln.names.forEach(function(t){var e=Ln[t];o[e.getterName]=n[e.privateName]}),s(o,this.options_[r]),s(o,this.options_[i]),s(o,this.options_[t.toLowerCase()]),this.tag&&(o.tag=this.tag),e&&e.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);var a=Nn.getTech(t);if(!a)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new a(o),this.tech_.ready(Pe(this,this.handleTechReady_),!0),Ze.jsonToTextTracks(this.textTracksJson_||[],this.tech_),ui.forEach(function(t){n.on(n.tech_,t,n["handleTech"+tt(t)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||b(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.prototype.unloadTech_=function(){var t=this;Ln.names.forEach(function(e){var n=Ln[e];t[n.privateName]=t[n.getterName]()}),this.textTracksJson_=Ze.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},e.prototype.tech=function(t){return void 0===t&&fe.warn(At(ci)),this.tech_},e.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},e.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},e.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){fe("deleting tag.poster throws in some browsers",t)}},e.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},e.prototype.hasStarted=function(t){return void 0===t?this.hasStarted_:void(t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")))},e.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},e.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},e.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},e.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},e.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},e.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},e.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},e.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(fe.warn("Passing the `starttime` option to the player will be deprecated
101in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},e.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},e.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},e.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},e.prototype.handleTechClick_=function(t){F(t)&&this.controls_&&(this.paused()?this.play():this.pause())},e.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},e.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},e.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},e.prototype.handleStageClick_=function(){this.reportUserActivity()},e.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},e.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},e.prototype.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},e.prototype.getCache=function(){return this.cache_},e.prototype.techCall_=function(t,e){this.ready(function(){if(t in Rn)return vt(this.middleware_,this.tech_,t,e);try{this.tech_&&this.tech_[t](e)}catch(t){throw fe(t),t}},!0)},e.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in Dn)return gt(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw fe("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw fe("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw fe(e),e}}},e.prototype.play=function(){var t=this;if(this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_){if(!this.changingSrc_&&(this.src()||this.currentSrc()))return this.techGet_("play");this.playOnLoadstart_=function(){t.playOnLoadstart_=null,ut(t.play())},this.one("loadstart",this.playOnLoadstart_)}else{if(this.playWaitingForReady_)return;this.playWaitingForReady_=!0,this.ready(function(){t.playWaitingForReady_=!1,ut(t.play())})}},e.prototype.pause=function(){this.techCall_("pause")},e.prototype.paused=function(){return this.techGet_("paused")!==!1},e.prototype.played=function(){return this.techGet_("played")||st(0,0)},e.prototype.scrubbing=function(t){return"undefined"==typeof t?this.scrubbing_:(this.scrubbing_=!!t,void(t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")))},e.prototype.currentTime=function(t){return"undefined"!=typeof t?(t<0&&(t=0),void this.techCall_("setCurrentTime",t)):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},e.prototype.duration=function(t){return void 0===t?void 0!==this.cache_.duration?this.cache_.duration:NaN:(t=parseFloat(t),t<0&&(t=1/0),void(t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))))},e.prototype.remainingTime=function(){return this.duration()-this.currentTime()},e.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},e.prototype.buffered=function t(){var t=this.techGet_("buffered");return t&&t.length||(t=st(0,0)),t},e.prototype.bufferedPercent=function(){return at(this.buffered(),this.duration())},e.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),n=t.end(t.length-1);return n>e&&(n=e),n},e.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(e>0&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},e.prototype.muted=function(t){return void 0!==t?void this.techCall_("setMuted",t):this.techGet_("muted")||!1},e.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},e.prototype.lastVolume_=function(t){return void 0!==t&&0!==t?void(this.cache_.lastVolume=t):this.cache_.lastVolume},e.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},e.prototype.isFullscreen=function(t){return void 0!==t?void(this.isFullscreen_=!!t):!!this.isFullscreen_},e.prototype.requestFullscreen=function(){var t=He;this.isFullscreen(!0),t.requestFullscreen?(Y(kt,t.fullscreenchange,Pe(this,function e(n){this.isFullscreen(kt[t.fullscreenElement]),this.isFullscreen()===!1&&X(kt,t.fullscreenchange,e),this.trigger("fullscreenchange")})),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},e.prototype.exitFullscreen=function(){var t=He;this.isFullscreen(!1),t.requestFullscreen?kt[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},e.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=kt.documentElement.style.overflow,Y(kt,"keydown",Pe(this,this.fullWindowOnEscKey)),kt.documentElement.style.overflow="hidden",x(kt.body,"vjs-full-window"),this.trigger("enterFullWindow")},e.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},e.prototype.exitFullWindow=function(){this.isFullWindow=!1,X(kt,"keydown",this.fullWindowOnEscKey),kt.documentElement.style.overflow=this.docOrigOverflow,_(kt.body,"vjs-full-window"),this.trigger("exitFullWindow")},e.prototype.canPlayType=function(t){for(var e=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],o=Nn.getTech(i);if(o||(o=ze.getComponent(i)),o){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else fe.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},e.prototype.selectSource=function(t){var e=this,n=this.options_.techOrder.map(function(t){return[t,Nn.getTech(t)]}).filter(function(t){var e=t[0],n=t[1];return n?n.isSupported():(fe.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}
101),r=function(t,e,n){var r=void 0;return t.some(function(t){return e.some(function(e){if(r=n(t,e))return!0})}),r},i=void 0,o=function(t){return function(e,n){return t(n,e)}},s=function(t,n){var r=t[0],i=t[1];if(i.canPlaySource(n,e.options_[r.toLowerCase()]))return{source:n,tech:r}};return i=this.options_.sourceOrder?r(t,n,o(s)):r(n,t,s),i||!1},e.prototype.src=function(t){var e=this;if("undefined"==typeof t)return this.cache_.src||"";var n=Fn(t);return n.length?(this.cache_.sources=n,this.changingSrc_=!0,this.cache_.source=n[0],void ft(this,n[0],function(t,r){e.middleware_=r;var i=e.src_(t);return i?n.length>1?e.src(n.slice(1)):(e.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void e.triggerReady()):(e.changingSrc_=!1,e.cache_.src=t.src,void dt(r,e.tech_))})):void this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},e.prototype.src_=function(t){var e=this.selectSource([t]);return!e||(et(e.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),"auto"===this.options_.preload&&this.load()},!0),!1):(this.changingSrc_=!0,this.loadTech_(e.tech,e.source),!1))},e.prototype.load=function(){this.techCall_("load")},e.prototype.reset=function(){this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},e.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},e.prototype.currentSource=function(){return this.cache_.source||{}},e.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},e.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},e.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},e.prototype.autoplay=function(t){return void 0!==t?(this.techCall_("setAutoplay",t),this.options_.autoplay=t,void this.ready(this.forceAutoplayInChrome_)):this.techGet_("autoplay",t)},e.prototype.forceAutoplayInChrome_=function(){this.paused()&&(this.autoplay()||this.options_.autoplay)&&Yt&&!zt&&this.play()},e.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},e.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},e.prototype.poster=function(t){return void 0===t?this.poster_:(t||(t=""),this.poster_=t,this.techCall_("setPoster",t),void this.trigger("posterchange"))},e.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},e.prototype.controls=function(t){return void 0===t?!!this.controls_:(t=!!t,void(this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))))},e.prototype.usingNativeControls=function(t){return void 0===t?!!this.usingNativeControls_:(t=!!t,void(this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))))},e.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new lt(t),this.addClass("vjs-error"),fe.error("(CODE:"+this.error_.code+" "+lt.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},e.prototype.reportUserActivity=function(t){this.userActivity_=!0},e.prototype.userActive=function(t){if(void 0===t)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},e.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,r=Pe(this,this.reportUserActivity),i=function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,r())},o=function(){r(),this.clearInterval(t),t=this.setInterval(r,250)},s=function(e){r(),this.clearInterval(t)};this.on("mousedown",o),this.on("mousemove",i),this.on("mouseup",s),this.on("keydown",r),this.on("keyup",r);var a=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);var t=this.options_.inactivityTimeout;t<=0||(a=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},e.prototype.playbackRate=function(t){return void 0!==t?void this.techCall_("setPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},e.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},e.prototype.isAudio=function(t){return void 0!==t?void(this.isAudio_=!!t):!!this.isAudio_},e.prototype.addTextTrack=function(t,e,n){if(this.tech_)return this.tech_.addTextTrack(t,e,n)},e.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},e.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.track,n=void 0===e?arguments[0]:e;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},e.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},e.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.prototype.language=function(t){return void 0===t?this.language_:void(this.language_=String(t).toLowerCase())},e.prototype.languages=function(){return nt(e.prototype.options_.languages,this.languages_)},e.prototype.toJSON=function(){var t=nt(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var r=e[n];r=nt(r),r.player=void 0,t.tracks[n]=r}return t},e.prototype.createModal=function(t,e){var n=this;e=e||{},e.content=t||"";var r=new en(this,e);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open(),r},e.getTagSettings=function(t){var e={sources:[],tracks:[]},n=S(t),r=n["data-setup"];if(w(t,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=Pt(r||"{}"),o=i[0],a=i[1];o&&fe.error(o),s(n,a)}if(s(e,n),t.hasChildNodes())for(var l=t.childNodes,c=0,u=l.length;c<u;c++){var h=l[c],p=h.nodeName.toLowerCase();"source"===p?e.sources.push(S(h)):"track"===p&&e.tracks.push(S(h))}return e},e.prototype.flexNotSupported_=function(){var t=kt.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)}
101,e}(ze);Ln.names.forEach(function(t){var e=Ln[t];hi.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),hi.players={};var pi=Et.navigator;hi.prototype.options_={techOrder:Nn.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:pi&&(pi.languages&&pi.languages[0]||pi.userLanguage||pi.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(t){hi.prototype[t]=function(){return this.techGet_(t)}}),ui.forEach(function(t){hi.prototype["handleTech"+tt(t)+"_"]=function(){return this.trigger(t)}}),ze.registerComponent("Player",hi);var fi="plugin",di="activePlugins_",gi={},vi=function(t){ 102return gi.hasOwnProperty(t)},mi=function(t){return vi(t)?gi[t]:void 0},yi=function(t,e){t[di]=t[di]||{},t[di][e]=!0},bi=function(t,e,n){var r=(n?"before":"")+"pluginsetup";t.trigger(r,e),t.trigger(r+":"+e.name,e)},wi=function(t,e){var n=function(){bi(this,{name:t,plugin:e,instance:null},!0);var n=e.apply(this,arguments);return yi(this,t),bi(this,{name:t,plugin:e,instance:n}),n};return Object.keys(e).forEach(function(t){n[t]=e[t]}),n},xi=function(t,e){return e.prototype.name=t,function(){bi(this,{name:t,plugin:e,instance:null},!0);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new(Function.prototype.bind.apply(e,[null].concat([this].concat(r))));return this[t]=function(){return o},bi(this,o.getEventHash()),o}},_i=function(){function t(e){if(re(this,t),this.constructor===t)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,Z(this),delete this.trigger,Q(this,this.constructor.defaultState),yi(e,this.name),this.dispose=Pe(this,this.dispose),e.on("dispose",this.dispose)}return t.prototype.version=function(){return this.constructor.VERSION},t.prototype.getEventHash=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},t.prototype.trigger=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return G(this.eventBusEl_,t,this.getEventHash(e))},t.prototype.handleStateChanged=function(t){},t.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[di][t]=!1,this.player=this.state=null,e[t]=xi(t,gi[t])},t.isBasic=function(e){var n="string"==typeof e?mi(e):e;return"function"==typeof n&&!t.prototype.isPrototypeOf(n.prototype)},t.registerPlugin=function(e,n){if("string"!=typeof e)throw new Error('Illegal plugin name, "'+e+'", must be a string, was '+("undefined"==typeof e?"undefined":ne(e))+".");if(vi(e))fe.warn('A plugin named "'+e+'" already exists. You may want to avoid re-registering plugins!');else if(hi.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+e+'", must be a function, was '+("undefined"==typeof n?"undefined":ne(n))+".");return gi[e]=n,e!==fi&&(t.isBasic(n)?hi.prototype[e]=wi(e,n):hi.prototype[e]=xi(e,n)),n},t.deregisterPlugin=function(t){if(t===fi)throw new Error("Cannot de-register base plugin.");vi(t)&&(delete gi[t],delete hi.prototype[t])},t.getPlugins=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(gi),e=void 0;return t.forEach(function(t){var n=mi(t);n&&(e=e||{},e[t]=n)}),e},t.getPluginVersion=function(t){var e=mi(t);return e&&e.VERSION||""},t}();_i.getPlugin=mi,_i.BASE_PLUGIN_NAME=fi,_i.registerPlugin(fi,_i),hi.prototype.usingPlugin=function(t){return!!this[di]&&this[di][t]===!0},hi.prototype.hasPlugin=function(t){return!!vi(t)};var Ti=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":ne(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)},Ci=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){t.apply(this,arguments)},r={};"object"===("undefined"==typeof e?"undefined":ne(e))?(e.constructor!==Object.prototype.constructor&&(n=e.constructor),r=e):"function"==typeof e&&(n=e),Ti(n,t);for(var i in r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n};if("undefined"==typeof HTMLVideoElement&&f()&&(kt.createElement("video"),kt.createElement("audio"),kt.createElement("track"),kt.createElement("video-js")),St.hooks_={},St.hooks=function(t,e){return St.hooks_[t]=St.hooks_[t]||[],e&&(St.hooks_[t]=St.hooks_[t].concat(e)),St.hooks_[t]},St.hook=function(t,e){St.hooks(t,e)},St.hookOnce=function(t,e){St.hooks(t,[].concat(e).map(function(e){var n=function n(){return St.removeHook(t,n),e.apply(void 0,arguments)};return n}))},St.removeHook=function(t,e){var n=St.hooks(t).indexOf(e);return!(n<=-1)&&(St.hooks_[t]=St.hooks_[t].slice(),St.hooks_[t].splice(n,1),!0)},Et.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&f()){var Si=ge(".vjs-styles-defaults");if(!Si){Si=ke("vjs-styles-defaults");var Ei=ge("head");Ei&&Ei.insertBefore(Si,Ei.firstChild),Ae(Si,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}K(1,St),St.VERSION=It,St.options=hi.prototype.options_,St.getPlayers=function(){return hi.players},St.players=hi.players,St.getComponent=ze.getComponent,St.registerComponent=function(t,e){Nn.isTech(e)&&fe.warn("The "+t+" tech w
102as registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),ze.registerComponent.call(ze,t,e)},St.getTech=Nn.getTech,St.registerTech=Nn.registerTech,St.use=pt,St.browser=ee,St.TOUCH_ENABLED=Qt,St.extend=Ci,St.mergeOptions=nt,St.bind=Pe,St.registerPlugin=_i.registerPlugin,St.plugin=function(t,e){return fe.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),_i.registerPlugin(t,e)},St.getPlugins=_i.getPlugins,St.getPlugin=_i.getPlugin,St.getPluginVersion=_i.getPluginVersion,St.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),St.options.languages=nt(St.options.languages,(n={},n[t]=e,n)),St.options.languages[t]},St.log=fe,St.createTimeRange=St.createTimeRanges=st,St.formatTime=xt,St.parseUrl=mn,St.isCrossOrigin=wn,St.EventTarget=je,St.on=Y,St.one=J,St.off=X,St.trigger=G,St.xhr=Mt,St.TextTrack=Cn,St.AudioTrack=Sn,St.VideoTrack=En,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(t){St[t]=function(){return fe.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),me[t].apply(null,arguments)}}),St.computedStyle=c,St.dom=me,St.url=xn,t.exports=St},function(t,e,n){(function(t){!function(t,e,n,r){"use strict";function i(t,e){var r,i,o,s=[],a=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=d(t.data.options,e)),r=e.$target||n(t.currentTarget).trigger("blur"),o=n.fancybox.getInstance(),o&&o.$trigger&&o.$trigger.is(r)||(e.selector?s=n(e.selector):(i=r.attr("data-fancybox")||"",i?(s=t.data?t.data.items:[],s=s.length?s.filter('[data-fancybox="'+i+'"]'):n('[data-fancybox="'+i+'"]')):s=[r]),a=n(s).index(r),a<0&&(a=0),o=n.fancybox.open(s,e,a),o.$trigger=r))}if(t.console=t.console||{info:function(t){}},n){if(n.fn.fancybox)return void console.info("fancyBox already initialized");var o={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
102<path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},s=n(t),a=n(e),l=0,c=function(t){return t&&t.hasOwnProperty&&t instanceof n},u=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),h=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),p=function(){var t,n=e.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(n.style[t]!==r)return i[t];return"transitionend"}(),f=function(t){return t&&t.length&&t[0].offsetHeight},d=function(t,e){var r=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(r[t]=e)}),r},g=function(t){var r,i;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),r={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},i=e.elementFromPoint(r.x,r.y)===t,n(".fancybox-container").css("pointer-events",""),i)},v=function(t,e,r){var i=this;i.opts=d({index:r},n.fancybox.defaults),n.isPlainObject(e)&&(i.opts=d(i.opts,e)),n.fancybox.isMobile&&(i.opts=d(i.opts,i.opts.mobile)),i.id=i.opts.id||++l,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};n.extend(v.prototype,{init:function(){var r,i,o=this,s=o.group[o.currIndex],a=s.opts;a.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&a.hideScrollbar!==!1&&!n.fancybox.isMobile&&e.body.scrollHeight>
vendor: 48,976 bytes, lines 102-103
102t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),i="",n.each(a.buttons,function(t,e){i+=a.btnTpl[e]||""}),r=n(o.translate(o,a.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",a.btnTpl.arrowLeft+a.btnTpl.arrowRight))).attr("id","fancybox-container-"+o.id).addClass(a.baseClass).data("FancyBox",o).appendTo(a.parentEl),o.$refs={container:r},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){o.$refs[t]=r.find(".fancybox-"+t)}),o.trigger("onInit"),o.activate(),o.jumpTo(o.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return n[e]===r?t:n[e]})},addContent:function(t){var e,i=this,o=n.makeArray(t);n.each(o,function(t,e){var o,s,a,l,c,u={},h={};n.isPlainObject(e)?(u=e,h=e.opts||e):"object"===n.type(e)&&n(e).length?(o=n(e),h=o.data()||{},h=n.extend(!0,{},h,h.options),h.$orig=o,u.src=i.opts.src||h.src||o.attr("href"),u.type||u.src||(u.type="inline",u.src=e)):u={type:"html",src:e+""},u.opts=n.extend(!0,{},i.opts,h),n.isArray(h.buttons)&&(u.opts.buttons=h.buttons),n.fancybox.isMobile&&u.opts.mobile&&(u.opts=d(u.opts,u.opts.mobile)),s=u.type||u.opts.type,l=u.src||"",!s&&l&&((a=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(s="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===a[1]?"ogg":a[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(s="iframe",u=n.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(s="inline")),s?u.type=s:i.trigger("objectNeedsType",u),u.contentType||(u.contentType=n.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type),u.index=i.group.length,"auto"==u.opts.smallBtn&&(u.opts.smallBtn=n.inArray(u.type,["html","inline","ajax"])>-1),"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn),u.$thumb=u.opts.$thumb||null,u.opts.$trigger&&u.index===i.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger)),u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first")),u.$thumb&&!u.$thumb.length&&(u.$thumb=null),u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null),"function"===n.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(e,[i,u])),"function"===n.type(i.opts.caption)&&(u.opts.caption=i.opts.caption.apply(e,[i,u])),u.opts.caption instanceof n||(u.opts.caption=u.opts.caption===r?"":u.opts.caption+""),"ajax"===u.type&&(c=l.split(/\s+/,2),c.length>1&&(u.src=c.shift(),u.opts.filter=c.shift())),u.opts.modal&&(u.opts=n.extend(!0,u.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),i.group.push(u)}),Object.keys(i.slides).length&&(i.updateControls(),e=i.Thumbs,e&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on("click.fb","[data-fancybox-zoom]",function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&h(e.requestId),e.requestId=u(function(){e.update(t)})):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}),a.on("keydown.fb",function(t){var r=n.fancybox?n.fancybox.getInstance():null,i=r.current,o=t.keyCode||t.which;if(9==o)return void(i.opts.trapFocus&&e.focus(t));if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio")))return 8===o||27===o?(t.preventDefault(),void e.close(t)):37===o||38===o?(t.preventDefault(),void e.previous()):39===o||40===o?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,o)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){e.idleSecondsCounter++,e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),a.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var i,o,s,a,l,c,u,h,p,d=this,g=d.group.length;if(!(d.isDragging||d.isClosing||d.isAnimating&&d.firstRun)){if(t=parseInt(t,10),s=d.current?d.current.opts.loop:d.opts.loop,!s&&(t<0||t>=g))return!1;if(i=d.firstRun=!Object.keys(d.slides).length,l=d.current,d.prevIndex=d.currIndex,d.prevPos=d.currPos,a=d.createSlide(t),g>1&&((s||a.index<g-1)&&d.createSlide(t+1),(s||a.index>0)&&d.createSlide(t-1)),d.current=a,d.currIndex=a.index,d.currPos=a.pos,d.trigger("beforeShow",i),d.updateControls(),a.forcedDuration=r,n.isNumeric(e)?a.forcedDuration=e:e=a.opts[i?"animationDuration":"transitionDuration"],e=parseInt(e,10),o=d.isMoved(a),a.$slide.addClass("fancybox-slide--current"),i)return a.opts.animationEffect&&e&&d.$refs.container.css("transition-duration",e+"ms"),d.$refs.container.addClass("fancybox-is-open").trigger("focus"),d.loadSlide(a),void d.preload("image");c=n.fancybox.getTranslate(l.$slide),u=n.fancybox.getTranslate(d.$refs.stage),n.each(d.slides,function(t,e){n.fancybox.stop(e.$slide,!0)}),l.pos!==a.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),o?(p=c.left-(l.pos*c.width+l.pos*l.opts.gutter),n.each(d.slides,function(t,r){r.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=r.pos*c.width+r.pos*r.opts.gutter;n.fancybox.setTranslate(r.$slide,{top:0,left:i-u.left+p}),r.pos!==a.pos&&r.$slide.addClass("fancybox-slide--"+(r.pos>a.pos?"next":"previous")),f(r.$slide),n.fancybox.animate(r.$slide,{top:0,left:(r.pos-a.pos)*c.width+(r.pos-a.pos)*r.opts.gutter},e,function(){r.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),r.pos===d.currPos&&d.complete()})})):e&&a.opts.transitionEffect&&(h="fancybox-animated fancybox-fx-"+a.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>a.pos?"next":"previous")),n.fancybox.animate(l.$slide,h,e,function(){l.$slide.removeClass(h).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),a.isLoaded?d.revealContent(a):d.loadSlide(a),d.preload("image")}},createSlide:function(t){var e,r,i=this;return r=t%i.group.length,r=r<0?i.group.length+r:r,!i.slides[t]&&i.group[r]&&(e=n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[r],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,i){var o,s,a,l,c,u=this,h=u.current,p=h.$content,f=n.fancybox.getTranslate(h.$slide).width,d=n.fancybox.getTranslate(h.$slide).height,g=h.width,v=h.height;u.isAnimating||u.isMoved()||!p||"image"!=h.type||!h.isLoaded||h.hasError||(u.isAnimating=!0,n.fancybox.stop(p),t=t===r?.5*f:t,e=e===r?.5*d:e,o=n.fancybox.getTranslate(p),o.top-=n.fancybox.getTranslate(h.$slide).top,o.left-=n.fancybox.getTranslate(h.$slide).left,l=g/o.width,c=v/o.height,s=.5*f-.5*g,a=.5*d-.5*v,g>f&&(s=o.left*l-(t*l-t),s>0&&(s=0),s<f-g&&(s=f-g)),v>d&&(a=o.top*c-(e*c-e),a>0&&(a=0),a<d-v&&(a=d-v)),u.updateCursor(g,v),n.fancybox.animate(p,{top:a,left:s,scaleX:l,scaleY:c},i||366,function(){u.isAnimating=!1}),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(t){var e,r=this,i=r.current,o=i.$content;r.isAnimating||r.isMoved()||!o||"image"!=i.type||!i.isLoaded||i.hasError||(r.isAnimating=!0,n.fancybox.stop(o),e=r.getFitPos(i),r.updateCursor(e.width,e.height),n.fancybox.animate(o,{top:e.top,left:e.left,scaleX:e.width/o.width(),scaleY:e.height/o.height()},t||366,function(){r.isAnimating=!1}))},getFitPos:function(t){var e,r,i,o,s=this,a=t.$content,l=t.$slide,c=t.width||t.opts.width,u=t.height||t.opts.height,h={};return!!(t.isLoaded&&a&&a.length)&&(e=n.fancybox.getTranslate(s.$refs.stage).width,r=n.fancybox.getTranslate(s.$refs.stage).height,e-=parseFloat(l.css("paddingLeft"))+parseFloat(l.css("paddingRight"))+parseFloat(a.css("marginLeft"))+parseFloat(a.css("marginRight")),r-=parseFloat(l.css("paddingTop"))+parseFloat(l.css("paddingBottom"))+parseFloat(a.css("marginTop"))+parseFloat(a.css("marginBottom")),c&&u||(c=e,u=r),i=Math.min(1,e/c,r/u),c*=i,u*=i,c>e-.5&&(c=e),u>r-.5&&(u=r),"image"===t.type?(h.top=Math.floor(.5*(r-u))+parseFloat(l.css("paddingTop")),h.left=Math.floor(.5*(e-c))+parseFloat(l.css("paddingLeft"))):"video"===t.contentType&&(o=t.opts.width&&t.opts.height?c/u:t.opts.ratio||16/9,u>c/o?u=c/o:c>u*o&&(c=u*o)),h.width=c,h.height=u,h)},update:function(t){var e=this;n.each(e.slides,function(n,r){e.updateSlide(r,t)})},updateSlide:function(t,e){var r=this,i=t&&t.$content,o=t.width||t.opts.width,s=t.height||t.opts.height,a=t.$slide;r.adjustCaption(t),i&&(o||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,r.getFitPos(t)),t.pos===r.currPos&&(r.isAnimating=!1,r.updateCursor())),r.adjustLayout(t),a.length&&(a.trigger("refresh"),t.pos===r.currPos&&r.$refs.toolbar.add(r.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),r.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,i=e.current,o=i.$slide;!e.isClosing&&i&&(o.siblings().css({transform:"",opacity:""}),o.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(o,{top:0,left:0,opacity:1},t===r?0:t,function(){o.css({transform:"",opacity:""}),i.isComplete||e.complete()},!1))},isMoved:function(t){var e,r,i=t||this.current;return!!i&&(r=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-r.top)>.5||Math.abs(e.left-r.left)>.5))},updateCursor:function(t,e){var r,i,o=this,s=o.current,a=o.$refs.container;s&&!o.isClosing&&o.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),r=o.canPan(t,e),i=!!r||o.isZoomable(),a.toggleClass("fancybox-is-zoomable",i),n("[data-fancybox-zoom]").prop("disabled",!i),r?a.addClass("fancybox-can-pan"):i&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?a.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||o.group.length>1)&&"video"!==s.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if(t=e.getFitPos(n),t&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var i=this,o=!1,s=i.current,a=s.$content;return t!==r&&e!==r?o=t<s.width&&e<s.height:a&&(o=n.fancybox.getTranslate(a),o=o.width<s.width&&o.height<s.height),o},canPan:function(t,e){var i=this,o=i.current,s=null,a=!1;return"image"===o.type&&(o.isComplete||t&&e)&&!o.hasError&&(a=i.getFitPos(o),t!==r&&e!==r?s={width:t,height:e}:o.isComplete&&(s=n.fancybox.getTranslate(o.$content)),s&&a&&(a=Math.abs(s.width-a.width)>1.5||Math.abs(s.height-a.height)>1.5)),a},loadSlide:function(t){var e,r,i,o=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,o.trigger("beforeLoad",t)===!1)return t.isLoading=!1,!1;switch(e=t.type,r=t.$slide,r.off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":o.setImage(t);break;case"iframe":o.setIframe(t);break;case"html":o.setContent(t,t.src||t.content);break;case"video":o.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?o.setContent(t,n(t.src)):o.setError(t);break;case"ajax":o.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&o.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&o.setError(t)}})),r.one("onReset",function(){i.abort()});break;default:o.setError(t)}return!0}},setImage:function(t){var r,i=this;setTimeout(function(){var e=t.$image;i.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||i.showLoading(t)},50),i.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),t.opts.preload!==!1&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,r=e.createElement("img"),r.onerror=function(){n(this).remove(),t.$ghost=null},r.onload=function(){i.afterLoad(t)},t.$ghost=n(r).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var n,r,i,o,s=e.opts.srcset||e.opts.image.srcset;if(s){i=t.devicePixelRatio||1,o=t.innerWidth*i,r=s.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var r=parseInt(t.substring(0,t.length-1),10);return 0===n?e.url=t:void(r&&(e.value=r,e.postfix=t[t.length-1]))}),e}),r.sort(function(t,e){return t.value-e.value});for(var a=0;a<r.length;a++){var l=r[a];if("w"===l.postfix&&l.value>=o||"x"===l.postfix&&l.value>=i){n=l;break}}!n&&r.length&&(n=r[r.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var r=this,i=e.createElement("img"),o=n(i);t.$image=o.one("error",function(){r.setError(t)}).one("load",function(){var e;t.$ghost||(r.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),r.afterLoad(t)),r.isClosing||(t.opts.srcset&&(e=t.opts.sizes,e&&"auto"!==e||(e=(t.width/t.height>1&&s.width()/s.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),o.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!r.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),r.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(i.complete||"complete"==i.readyState)&&o.naturalWidth&&o.naturalHeight?o.trigger("load"):i.error&&o.trigger("error")},resolveImageSlideSize:function(t,e,n){var r=parseInt(t.opts.width,10),i=parseInt(t.opts.height,10);t.width=e,t.height=n,r>0&&(t.width=r,t.height=Math.floor(r*n/e)),i>0&&(t.width=Math.floor(i*e/n),t.height=i)},setIframe:function(t){var e,i=this,o=t.opts.iframe,s=t.$slide;t.$content=n('<div class="fancybox-content'+(o.preload?" fancybox-is-hidden":"")+'"></div>').css(o.css).appendTo(s),s.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(o.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(o.attr).appendTo(t.$content),o.preload?(i.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)}),s.on("refresh.fb",function(){var n,i,a=t.$content,l=o.css.width,c=o.css.height;if(1===e[0].isReady){try{n=e.contents(),i=n.find("body")}catch(t){}i&&i.length&&i.children().length&&(s.css("overflow","visible"),a.css({width:"100%","max-width":"100%",height:"9999px"}),l===r&&(l=Math.ceil(Math.max(i[0].clientWidth,i.outerWidth(!0)))),a.css("width",l?l:"").css("max-width",""),c===r&&(c=Math.ceil(Math.max(i[0].clientHeight,i.outerHeight(!0)))),a.css("height",c?c:""),s.css("overflow","auto")),a.removeClass("fancybox-is-hidden")}})):i.afterLoad(t),e.attr("src",t.src),s.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var r=this;r.isClosing||(r.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),c(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents()),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),r.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;t=t||e.current,t&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){var e=this;t=t||e.current,t&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){ 103return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,r=t||n.current,i=r.opts.caption,o=r.opts.preventCaptionOverlap,s=n.$refs.caption,a=!1;s.toggleClass("fancybox-caption--separate",o),o&&i&&i.length&&(r.pos!==n.currPos?(e=s.clone().appendTo(s.parent()),e.children().eq(0).empty().html(i),a=e.outerHeight(!0),e.empty().remove()):n.$caption&&(a=n.$caption.outerHeight(!0)),r.$slide.css("padding-bottom",a||""))},adjustLayout:function(t){var e,n,r,i,o=this,s=t||o.current;s.isLoaded&&s.opts.disableLayoutFix!==!0&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(r=s.$slide[0].style["padding-bottom"],i=s.$slide.css("padding-bottom"),parseFloat(i)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(n=i),s.$slide.css("padding-bottom",r))),s.$content.css("margin-bottom",n))},revealContent:function(t){var e,i,o,s,a=this,l=t.$slide,c=!1,u=!1,h=a.isMoved(t),p=t.isRevealed;return t.isRevealed=!0,e=t.opts[a.firstRun?"animationEffect":"transitionEffect"],o=t.opts[a.firstRun?"animationDuration":"transitionDuration"],o=parseInt(t.forcedDuration===r?o:t.forcedDuration,10),!h&&t.pos===a.currPos&&o||(e=!1),"zoom"===e&&(t.pos===a.currPos&&o&&"image"===t.type&&!t.hasError&&(u=a.getThumbPos(t))?c=a.getFitPos(t):e="fade"),"zoom"===e?(a.isAnimating=!0,c.scaleX=c.width/u.width,c.scaleY=c.height/u.height,s=t.opts.zoomOpacity,"auto"==s&&(s=Math.abs(t.width/t.height-u.width/u.height)>.1),s&&(u.opacity=.1,c.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),u),f(t.$content),void n.fancybox.animate(t.$content,c,o,function(){a.isAnimating=!1,a.complete()})):(a.updateSlide(t),e?(n.fancybox.stop(l),i="fancybox-slide--"+(t.pos>=a.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,l.addClass(i).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),f(l),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",o,function(){l.removeClass(i).css({transform:"",opacity:""}),t.pos===a.currPos&&a.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),p||!h||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===a.currPos&&a.complete())))},getThumbPos:function(t){var e,r,i,o,s,a=!1,l=t.$thumb;return!(!l||!g(l[0]))&&(e=n.fancybox.getTranslate(l),r=parseFloat(l.css("border-top-width")||0),i=parseFloat(l.css("border-right-width")||0),o=parseFloat(l.css("border-bottom-width")||0),s=parseFloat(l.css("border-left-width")||0),a={top:e.top+r,left:e.left+s,width:e.width-i-s,height:e.height-r-o,scaleX:1,scaleY:1},e.width>0&&e.height>0&&a)},complete:function(){var t,e=this,r=e.current,i={};!e.isMoved()&&r.isLoaded&&(r.isComplete||(r.isComplete=!0,r.$slide.siblings().trigger("onReset"),e.preload("inline"),f(r.$slide),r.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,function(t,r){r.pos>=e.currPos-1&&r.pos<=e.currPos+1?i[r.pos]=r:r&&(n.fancybox.stop(r.$slide),r.$slide.off().remove())}),e.slides=i),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),r.opts.video.autoStart&&r.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),r.opts.autoFocus&&"html"===r.contentType&&(t=r.$content.find("input[autofocus]:enabled:visible:first"),t.length?t.trigger("focus"):e.focus(null,!0)),r.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,r=this;r.group.length<2||(n=r.slides[r.currPos+1],e=r.slides[r.currPos-1],e&&e.type===t&&r.loadSlide(e),n&&n.type===t&&r.loadSlide(n))},focus:function(t,r){var i,o,s=this,a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||(i=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(r?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible"),i=i.filter(a).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}),i.length?(o=i.index(e.activeElement),t&&t.shiftKey?(o<0||0==o)&&(t.preventDefault(),i.eq(i.length-1).trigger("focus")):(o<0||o==i.length-1)&&(t&&t.preventDefault(),i.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var r,i,o,s,a,l,c,h=this,p=h.current,d=function(){h.cleanUp(t)};return!h.isClosing&&(h.isClosing=!0,h.trigger("beforeClose",t)===!1?(h.isClosing=!1,u(function(){h.update()}),!1):(h.removeEvents(),o=p.$content,r=p.opts.animationEffect,i=n.isNumeric(e)?e:r?p.opts.animationDuration:0,p.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),t!==!0?n.fancybox.stop(p.$slide):r=!1,p.$slide.siblings().trigger("onReset").remove(),i&&h.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),h.hideLoading(p),h.hideControls(!0),h.updateCursor(),"zoom"!==r||o&&i&&"image"===p.type&&!h.isMoved()&&!p.hasError&&(c=h.getThumbPos(p))||(r="fade"),"zoom"===r?(n.fancybox.stop(o),s=n.fancybox.getTranslate(o),l={top:s.top,left:s.left,scaleX:s.width/c.width,scaleY:s.height/c.height,width:c.width,height:c.height},a=p.opts.zoomOpacity,"auto"==a&&(a=Math.abs(p.width/p.height-c.width/c.height)>.1),a&&(c.opacity=0),n.fancybox.setTranslate(o,l),f(o),n.fancybox.animate(o,c,i,d),!0):(r&&i?n.fancybox.animate(p.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+r,i,d):t===!0?setTimeout(d,i):d(),!0)))},cleanUp:function(e){var r,i,o,s=this,a=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=s.$trigger),a&&a.length&&(i=t.scrollX,o=t.scrollY,a.trigger("focus"),n("html, body").scrollTop(o).scrollLeft(i))),s.current=null,r=n.fancybox.getInstance(),r?r.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var r,i=Array.prototype.slice.call(arguments,1),o=this,s=e&&e.opts?e:o.current;return s?i.unshift(s):s=o,i.unshift(o),n.isFunction(s.opts[t])&&(r=s.opts[t].apply(s,i)),r===!1?r:void("afterClose"!==t&&o.$refs?o.$refs.container.trigger(t+".fb",i):a.trigger(t+".fb",i))},updateControls:function(){var t=this,r=t.current,i=r.index,o=t.$refs.container,s=t.$refs.caption,a=r.opts.caption;r.$slide.trigger("refresh"),a&&a.length?(t.$caption=s,s.children().eq(0).html(a)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),o.find("[data-fancybox-count]").html(t.group.length),o.find("[data-fancybox-index]").html(i+1),o.find("[data-fancybox-prev]").prop("disabled",!r.opts.loop&&i<=0),o.find("[data-fancybox-next]").prop("disabled",!r.opts.loop&&i>=t.group.length-1),"image"===r.type?o.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",r.opts.image.src||r.src).show():r.opts.toolbar&&o.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=this,n=["infobar","toolbar","nav"];!t&&e.current.opts.preventCaptionOverlap||n.push("caption"),this.$refs.container.removeClass(n.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.6",defaults:o,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),r=Array.prototype.slice.call(arguments,1);return e instanceof v&&("string"===n.type(t)?e[t].apply(e,r):"function"===n.type(t)&&t.apply(e,r),e)},open:function(t,e,n){return new v(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),t===!0&&this.close(t))},destroy:function(){this.close(!0),a.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&(e=t[0].getBoundingClientRect(),{top:e.top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))})},setTranslate:function(t,e){var n="",i={};if(t&&e)return e.left===r&&e.top===r||(n=(e.left===r?t.position().left:e.left)+"px, "+(e.top===r?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),e.scaleX!==r&&e.scaleY!==r?n+=" scale("+e.scaleX+", "+e.scaleY+")":e.scaleX!==r&&(n+=" scaleX("+e.scaleX+")"),n.length&&(i.transform=n),e.opacity!==r&&(i.opacity=e.opacity),e.width!==r&&(i.width=e.width),e.height!==r&&(i.height=e.height),t.css(i)},animate:function(t,e,i,o,s){var a,l=this;n.isFunction(i)&&(o=i,i=null),l.stop(t),a=l.getTranslate(t),t.on(p,function(c){(!c||!c.originalEvent||t.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(l.stop(t),n.isNumeric(i)&&t.css("transition-duration",""),n.isPlainObject(e)?e.scaleX!==r&&e.scaleY!==r&&l.setTranslate(t,{top:e.top,left:e.left,width:a.width*e.scaleX,height:a.height*e.scaleY,scaleX:1,scaleY:1}):s!==!0&&t.removeClass(e),n.isFunction(o)&&o(c))}),n.isNumeric(i)&&t.css("transition-duration",i+"ms"),n.isPlainObject(e)?(e.scaleX!==r&&e.scaleY!==r&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(p)},i+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(p),t.off(p).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},a.on("click.fb-start","[data-fancybox]",i),a.on("click.fb-start","[data-fancybox-trigger]",function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),function(){var t=".fancybox-button",e="fancybox-focus",r=null;a.on("mousedown mouseup focus blur",t,function(i){switch(i.type){case"mousedown":r=n(this);break;case"mouseup":r=null;break;case"focusin":n(t).removeClass(e),n(this).is(r)||n(this).is("[disabled]")||n(this).addClass(e);break;case"focusout":n(t).removeClass(e)}})}()}}(window,document,t),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,r){if(e)return r=r||"","object"===t.type(r)&&(r=t.param(r,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),r.length&&(e+=(e.indexOf("?")>0?"&":"?")+r),e};t(document).on("objectNeedsType.fb",function(r,i,o){var s,a,l,c,u,h,p,f=o.src||"",d=!1;s=t.extend(!0,{},e,o.opts.media),t.each(s,function(e,r){if(l=f.match(r.matcher)){if(d=r.type,p=e,h={},r.paramPlace&&l[r.paramPlace]){u=l[r.paramPlace],"?"==u[0]&&(u=u.substring(1)),u=u.split("&");for(var i=0;i<u.length;++i){var s=u[i].split("=",2);2==s.length&&(h[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return c=t.extend(!0,{},r.params,o.opts[e],h),f="function"===t.type(r.url)?r.url.call(this,l,c,o):n(r.url,l,c),a="function"===t.type(r.thumb)?r.thumb.call(this,l,c,o):n(r.thumb,l),"youtube"===e?f=f.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,r){return"&start="+((n?60*parseInt(n,10):0)+parseInt(r,10))}):"vimeo"===e&&(f=f.replace("&%23","#")),!1}}),d?(o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=a),"iframe"===d&&(o.opts=t.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(o,{type:d,src:f,origSrc:o.src,contentSource:p,contentType:"image"===d?"image":"gmap_place"==p||"gmap_search"==p?"map":"video"})):f&&(o.type=o.opts.defaultType)});var r={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,n=this;return this[t].loaded?void setTimeout(function(){n.done(t)}):void(this[t].loading||(this[t].loading=!0,e=document.createElement("script"),e.type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e)))},done:function(e){var n,r,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,n=t.fancybox.getInstance(),n&&(r=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?i=new YT.Player(r.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&(i=new Vimeo.Player(r),i.on("ended",function(){n.next()})))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&r.load(n.contentSource)}})}(t),function(t,e,n){"use strict";var r=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),i=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),o=function(e){var n=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var r in e)e[r].pageX?n.push({x:e[r].pageX,y:e[r].pageY}):e[r].clientX&&n.push({x:e[r].clientX,y:e[r].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},a=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,r=t[0].attributes,i=r.length;e<i;e++)if("data-fancybox-"===r[e].nodeName.substr(0,14))return!0;return!1},l=function(e){var n=t.getComputedStyle(e)["overflow-y"],r=t.getComputedStyle(e)["overflow-x"],i=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,o=("scroll"===r||"auto"===r)&&e.scrollWidth>e.clientWidth;return i||o},c=function(t){for(var e=!1;;){if(e=l(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(i(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},u.prototype.ontouchstart=function(r){var i=this,l=n(r.target),u=i.instance,h=u.current,p=h.$slide,f=h.$content,d="touchstart"==r.type;if(d&&i.$container.off("mousedown.fb.touch"),(!r.originalEvent||2!=r.originalEvent.button)&&p.length&&l.length&&!a(l)&&!a(l.parent())&&(l.is("img")||!(r.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!h||u.isAnimating||h.$slide.hasClass("fancybox-animated"))return r.stopPropagation(),void r.preventDefault();i.realPoints=i.startPoints=o(r),i.startPoints.length&&(h.touch&&r.stopPropagation(),i.startEvent=r,i.canTap=!0,i.$target=l,i.$content=f,i.opts=h.opts.touch,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.isScrolling=!1,i.canPan=u.canPan(),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.canvasWidth=Math.round(p[0].clientWidth),i.canvasHeight=Math.round(p[0].clientHeight),i.contentLastPos=null,i.contentStartPos=n.fancybox.getTranslate(i.$content)||{top:0,left:0},i.sliderStartPos=n.fancybox.getTranslate(p),i.stagePos=n.fancybox.getTranslate(u.$refs.stage),i.sliderStartPos.top-=i.stagePos.top,i.sliderStartPos.left-=i.stagePos.left,i.contentStartPos.top-=i.stagePos.top,i.contentStartPos.left-=i.stagePos.left,n(e).off(".fb.touch").on(d?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")).on(d?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",i.onscroll,!0),((i.opts||i.canPan)&&(l.is(i.$stage)||i.$stage.find(l).length)||(l.is(".fancybox-image")&&r.preventDefault(),n.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(i.isScrollable=c(l)||c(l.parent()),n.fancybox.isMobile&&i.isScrollable||r.preventDefault(),(1===i.startPoints.length||h.hasError)&&(i.canPan?(n.fancybox.stop(i.$content),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-is-grabbing")),2===i.startPoints.length&&"image"===h.type&&(h.isLoaded||h.$ghost)&&(i.canTap=!1,i.isSwiping=!1,i.isPanning=!1,i.isZooming=!0,n.fancybox.stop(i.$content),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))))}},u.prototype.onscroll=function(t){var n=this;n.isScrolling=!0,e.removeEventListener("scroll",n.onscroll,!0)},u.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=o(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&e.isSwiping===!0||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},u.prototype.onSwipe=function(e){var o,s=this,a=s.instance,l=s.isSwiping,c=s.sliderStartPos.left||0;if(l!==!0)"x"==l&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?c+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?c-=Math.pow(-s.distanceX,.8):c+=s.distanceX),s.sliderLastPos={top:"x"==l?0:s.sliderStartPos.top+s.distanceY,left:c},s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=r(function(){s.sliderLastPos&&(n.each(s.instance.slides,function(t,e){var r=e.pos-s.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+r*s.canvasWidth+r*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(s.distance)>10){if(s.canTap=!1,a.group.length<2&&s.opts.vertical?s.isSwiping="y":a.isDragging||s.opts.vertical===!1||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(o=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=o>45&&o<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);a.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(a.slides,function(t,e){var r,i;n.fancybox.stop(e.$slide),r=n.fancybox.getTranslate(e.$slide),i=n.fancybox.getTranslate(a.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===a.current.pos&&(s.sliderStartPos.top=r.top-i.top,s.sliderStartPos.left=r.left-i.left),n.fancybox.setTranslate(e.$slide,{top:r.top-i.top,left:r.left-i.left})}),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop()}},u.prototype.onPan=function(){var t=this;return s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5)?void(t.startPoints=t.newPoints):(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&i(t.requestId),void(t.requestId=r(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})))},u.prototype.limitMovement=function(){var t,e,n,r,i,o,s=this,a=s.canvasWidth,l=s.canvasHeight,c=s.distanceX,u=s.distanceY,h=s.contentStartPos,p=h.left,f=h.top,d=h.width,g=h.height;return i=d>a?p+c:p,o=f+u,t=Math.max(0,.5*a-.5*d),e=Math.max(0,.5*l-.5*g),n=Math.min(a-d,.5*a-.5*d),r=Math.min(l-g,.5*l-.5*g),c>0&&i>t&&(i=t-1+Math.pow(-t+p+c,.8)||0),c<0&&i<n&&(i=n+1-Math.pow(n-p-c,.8)||0),u>0&&o>e&&(o=e-1+Math.pow(-e+f+u,.8)||0),u<0&&o<r&&(o=r+1-Math.pow(r-f-u,.8)||0),{top:o,left:i}},u.prototype.limitPosition=function(t,e,n,r){var i=this,o=i.canvasWidth,s=i.canvasHeight;return n>o?(t=t>0?0:t,t=t<o-n?o-n:t):t=Math.max(0,o/2-n/2),r>s?(e=e>0?0:e,e=e<s-r?s-r:e):e=Math.max(0,s/2-r/2),{top:e,left:t}},u.prototype.onZoom=function(){var e=this,o=e.contentStartPos,a=o.width,l=o.height,c=o.left,u=o.top,h=s(e.newPoints[0],e.newPoints[1]),p=h/e.startDistanceBetweenFingers,f=Math.floor(a*p),d=Math.floor(l*p),g=(a-f)*e.percentageOfImageAtPinchPointX,v=(l-d)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),y=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),b=m-e.centerPointStartX,w=y-e.centerPointStartY,x=c+(g+b),_=u+(v+w),T={top:_,left:x,scaleX:p,scaleY:p};e.canTap=!1,e.newWidth=f,e.newHeight=d,e.contentLastPos=T,e.requestId&&i(e.requestId),e.requestId=r(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},u.prototype.ontouchend=function(t){var r=this,s=r.isSwiping,a=r.isPanning,l=r.isZooming,c=r.isScrolling;return r.endPoints=o(t),r.dMs=Math.max((new Date).getTime()-r.startTime,1),r.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",r.onscroll,!0),r.requestId&&(i(r.requestId),r.requestId=null),r.isSwiping=!1,r.isPanning=!1,r.isZooming=!1,r.isScrolling=!1,r.instance.isDragging=!1,r.canTap?r.onTap(t):(r.speed=100,r.velocityX=r.distanceX/r.dMs*.5,r.velocityY=r.distanceY/r.dMs*.5,void(a?r.endPanning():l?r.endZooming():r.endSwiping(s,c)))},u.prototype.endSwiping=function(t,e){var r=this,i=!1,o=r.instance.group.length,s=Math.abs(r.distanceX),a="x"==t&&o>1&&(r.dMs>130&&s>10||s>50),l=300;r.sliderLastPos=null,"y"==t&&!e&&Math.abs(r.distanceY)>50?(n.fancybox.animate(r.instance.current.$slide,{top:r.sliderStartPos.top+r.distanceY+150*r.velocityY,opacity:0},200),i=r.instance.close(!0,250)):a&&r.distanceX>0?i=r.instance.previous(l):a&&r.distanceX<0&&(i=r.instance.next(l)),i!==!1||"x"!=t&&"y"!=t||r.instance.centerSlide(200),r.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,r,i=this;i.contentLastPos&&(i.opts.momentum===!1||i.dMs>350?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,e=i.contentLastPos.top+500*i.velocityY),r=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),r.width=i.contentStartPos.width,r.height=i.contentStartPos.height,n.fancybox.animate(i.$content,r,366))},u.prototype.endZooming=function(){var t,e,r,i,o=this,s=o.instance.current,a=o.newWidth,l=o.newHeight;o.contentLastPos&&(t=o.contentLastPos.left,e=o.contentLastPos.top,i={top:e,left:t,width:a,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(o.$content,i),a<o.canvasWidth&&l<o.canvasHeight?o.instance.scaleToFit(150):a>s.width||l>s.height?o.instance.scaleToActual(o.centerPointStartX,o.centerPointStartY,150):(r=o.limitPosition(t,e,a,l),n.fancybox.animate(o.$content,r,150)))},u.prototype.onTap=function(e){var r,i=this,s=n(e.target),a=i.instance,l=a.current,c=e&&o(e)||i.startPoints,u=c[0]?c[0].x-n(t).scrollLeft()-i.stagePos.left:0,h=c[0]?c[0].y-n(t).scrollTop()-i.stagePos.top:0,p=function(t){var r=l.opts[t];if(n.isFunction(r)&&(r=r.apply(a,[l,e])),r)switch(r){case"close":a.close(i.startEvent);break;case"toggleControls":a.toggleControls();break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(i.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(u,h):a.group.length<2&&a.close(i.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(u>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))r="Outside";else if(s.is(".fancybox-slide"))r="Slide";else{if(!a.current.$content||!a.current.$content.find(s).addBack().filter(s).length)return;r="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(u-i.tapX)>50||Math.abs(h-i.tapY)>50)return this;p("dblclick"+r)}else i.tapX=u,i.tapY=h,l.opts["dblclick"+r]&&l.opts["dblclick"+r]!==l.opts["click"+r]?i.tapped=setTimeout(function(){i.tapped=null,a.isAnimating||p("click"+r)},500):p("click"+r);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,t),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,r=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),n.group.length<2||!r?t.$button.hide():r.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this,r=n.instance,i=r.current;i&&(t===!0||i.opts.loop||r.currIndex<r.group.length-1)?n.isActive&&"video"!==i.contentType&&(n.$progress&&e.fancybox.animate(n.$progress.show(),{scaleX:1},i.opts.slideShow.speed),n.timer=setTimeout(function(){r.current.opts.loop||r.current.index!=r.group.length-1?r.next():r.jumpTo(0)},i.opts.slideShow.speed)):(n.stop(),r.idleSecondsCounter=0,r.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,r){var i=e&&e.SlideShow;r?i&&n.opts.slideShow.autoStart&&i.start():i&&i.isActive&&i.clear()},"afterShow.fb":function(t,e,n){var r=e&&e.SlideShow;r&&r.isActive&&r.set()},"afterKeydown.fb":function(n,r,i,o,s){var a=r&&r.SlideShow;!a||!i.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(o.preventDefault(),a.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),r=n&&n.SlideShow;r&&r.isActive&&(t.hidden?r.clear():r.set())})}(document,t),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
103webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},r=0;r<e.length;r++){var i=e[r];if(i&&i[1]in t){for(var o=0;o<i.length;o++)n[e[0][o]]=i[o];return n}}return!1}();if(n){var r={request:function(e){e=e||t.documentElement,e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,function(){var t=r.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0), 104n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}e(t).on({"onInit.fb":function(t,e){var i;return n?void(e&&e.group[e.currIndex].opts.fullScreen?(i=e.$refs.container,i.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),r.toggle(
vendor: 6,560 bytes, line 104
104)}),e.opts.fullScreen&&e.opts.fullScreen.autoStart===!0&&r.request(),e.FullScreen=r):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()):void e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,n,r,i){e&&e.FullScreen&&70===i&&(r.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&r.exit()}})}(document,t),function(t,e){"use strict";var n="fancybox-thumbs",r=n+"-active";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var i=function(t){this.init(t)};e.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,r=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var i=0,o=n.length;i<o&&(n[i].thumb&&r++,!(r>1));i++);r>1&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,r=this,i=r.instance,o=r.opts.parentEl,s=[];r.$grid||(r.$grid=e('<div class="'+n+" "+n+"-"+r.opts.axis+'"></div>').appendTo(i.$refs.container.find(o).addBack().filter(o)),r.$grid.on("click","a",function(){i.jumpTo(e(this).attr("data-index"))})),r.$list||(r.$list=e('<div class="'+n+'__list">').appendTo(r.$grid)),e.each(i.group,function(e,n){t=n.thumb,t||"image"!==n.type||(t=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")}),r.$list[0].innerHTML=s.join(""),"x"===r.opts.axis&&r.$list.width(parseInt(r.$grid.css("padding-right"),10)+i.group.length*r.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,i=this,o=i.$list,s=i.$grid;i.instance.current&&(e=o.children().removeClass(r).filter('[data-index="'+i.instance.current.index+'"]').addClass(r),n=e.position(),"y"===i.opts.axis&&(n.top<0||n.top>o.height()-e.outerHeight())?o.stop().animate({scrollTop:o.scrollTop()+n.top},t):"x"===i.opts.axis&&(n.left<s.scrollLeft()||n.left>s.scrollLeft()+(s.width()-e.outerWidth()))&&o.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new i(e),n.isActive&&n.opts.autoStart===!0&&n.show())},"beforeShow.fb":function(t,e,n,r){var i=e&&e.Thumbs;i&&i.isVisible&&i.focus(r?0:250)},"afterKeydown.fb":function(t,e,n,r,i){var o=e&&e.Thumbs;o&&o.isActive&&71===i&&(r.preventDefault(),o.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&n.opts.hideOnClose!==!1&&n.$grid.hide()}})}(document,t),function(t,e){"use strict";function n(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})}e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,r,i=e.fancybox.getInstance(),o=i.current||null;o&&("function"===e.type(o.opts.share.url)&&(t=o.opts.share.url.apply(o,[i,o])),r=o.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===o.type?encodeURIComponent(o.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,r),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}
104,mobile:{autoFocus:!1}}}))})}(document,t),function(t,e,n){"use strict";function r(){var e=t.location.hash.substr(1),n=e.split("-"),r=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return{hash:e,index:r<1?1:r,gallery:i}}function i(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function o(t){var e,n;return!!t&&(e=t.current?t.current.opts:t.opts,n=e.hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""),""!==n&&n)}n.escapeSelector||(n.escapeSelector=function(t){var e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,n=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};return(t+"").replace(e,n)}),n(function(){n.fancybox.defaults.hash!==!1&&(n(e).on({"onInit.fb":function(t,e){var n,i;e.group[e.currIndex].opts.hash!==!1&&(n=r(),i=o(e),i&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,r,i,s){var a;i&&i.opts.hash!==!1&&(a=o(r),a&&(r.currentHash=a+(r.group.length>1?"-"+(i.index+1):""),t.location.hash!=="#"+r.currentHash&&(s&&!r.origHash&&(r.origHash=t.location.hash),r.hashTimer&&clearTimeout(r.hashTimer),r.hashTimer=setTimeout(function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+r.currentHash),s&&(r.hasCreatedHistory=!0)):t.location.hash=r.currentHash,r.hashTimer=null},300))))},"beforeClose.fb":function(n,r,i){i&&i.opts.hash!==!1&&(clearTimeout(r.hashTimer),r.currentHash&&r.hasCreatedHistory?t.history.back():r.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(r.origHash||"")):t.location.hash=r.origHash),r.currentHash=null)}}),n(t).on("hashchange.fb",function(){var t=r(),e=null;n.each(n(".fancybox-container").get().reverse(),function(t,r){var i=n(r).data("FancyBox");if(i&&i.currentHash)return e=i,!1}),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&i(t)}),setTimeout(function(){n.fancybox.getInstance()||i(r())},50))})}(window,document,t),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,r){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var r=e.current,i=(new Date).getTime();e.group.length<2||r.opts.wheel===!1||"auto"===r.opts.wheel&&"image"!==r.type||(t.preventDefault(),t.stopPropagation(),r.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,t)}).call(e,n(11))},function(t,e,n){(function(e){!function(e,n){t.exports=n()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=13)}([function(t,e,n){var r=n(3);"string"==typeof r&&(r=[[t.i,r,""]]),n(10)(r,{}),r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-r(t)}function o(t){var e,n,i,o,s,a,l=t.length;s=r(t),a=new h(3*l/4-s),i=s>0?l-4:l;var c=0;for(e=0,n=0;e<i;e+=4,n+=3)o=u[t.charCodeAt(e)]<<18|u[t.charCodeAt(e+1)]<<12|u[t.charCodeAt(e+2)]<<6|u[t.charCodeAt(e+3)],a[c++]=o>>16&255,a[c++]=o>>8&255,a[c++]=255&o;return 2===s?(o=u[t.charCodeAt(e)]<<2|u[t.charCodeAt(e+1)]>>4,a[c++]=255&o):1===s&&(o=u[t.charCodeAt(e)]<<10|u[t.charCodeAt(e+1)]<<4|u[t.charCodeAt(e+2)]>>2,a[c++]=o>>8&255,a[c++]=255&o),a}function s(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function a(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(s(r));return i.join("")}function l(t){for(var e,n=t.length,r=n%3,i="",o=[],s=16383,l=0,u=n-r;l<u;l+=s)o.push(a(t,l,l+s>u?u:l+s));return 1===r?(e=t[n-1],i+=c[e>>2],i+=c[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=c[e>>10],i+=c[e>>4&63],i+=c[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=l;for(var c=[],u=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
104+/",f=0,d=p.length;f<d;++f)c[f]=p[f],u[p.charCodeAt(f)]=f;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(t,e,n){"use strict";(function(t){function r(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function i(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=s.prototype):(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return u(this,t)}return a(this,t,e,n)}function a(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?f(t,e,n,r):"string"==typeof e?h(t,e,n):d(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e,n,r){return l(e),e<=0?o(t,e):void 0!==n?"string"==typeof r?o(t,e).fill(n,r):o(t,e).fill(n):o(t,e)}function u(t,e){if(l(e),t=o(t,e<0?0:0|g(e)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|m(e,n);t=o(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function p(t,e){var n=e.length<0?0:0|g(e.length);t=o(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function f(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),s.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=s.prototype):t=p(t,e),t}function d(t,e){if(s.isBuffer(e)){var n=0|g(e.length);return t=o(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||J(e.length)?o(t,0):p(t,e);if("Buffer"===e.type&&Q(e.data))return p(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),s.alloc(+t)}function m(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(r)return U(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return I(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function b(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,i);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,i){function o(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;
vendor: 11,935 bytes, lines 104-110
104s=2,a/=2,l/=2,n/=2}var c;if(i){var u=-1;for(c=n;c<a;c++)if(o(t,c)===o(e,u===-1?0:c-u)){if(u===-1&&(u=c),c-u+1===l)return u*s}else u!==-1&&(c-=c-u),u=-1}else for(n+l>a&&(n=a-l),c=n;c>=0;c--){for(var h=!0,p=0;p<l;p++)if(o(t,c+p)!==o(e,p)){h=!1;break}if(h)return c}return-1}function _(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function T(t,e,n,r){return G(U(e,t.length-n),t,n,r)}function C(t,e,n,r){return G(V(e),t,n,r)}function S(t,e,n,r){return C(t,e,n,r)}function E(t,e,n,r){return G(X(e),t,n,r)}function k(t,e,n,r){return G(Y(e,t.length-n),t,n,r)}function A(t,e,n){return 0===e&&n===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=n){var l,c,u,h;switch(a){case 1:o<128&&(s=o);break;case 2:l=t[i+1],128==(192&l)&&(h=(31&o)<<6|63&l)>127&&(s=h);break;case 3:l=t[i+1],c=t[i+2],128==(192&l)&&128==(192&c)&&(h=(15&o)<<12|(63&l)<<6|63&c)>2047&&(h<55296||h>57343)&&(s=h);break;case 4:l=t[i+1],c=t[i+2],u=t[i+3],128==(192&l)&&128==(192&c)&&128==(192&u)&&(h=(15&o)<<18|(63&l)<<12|(63&c)<<6|63&u)>65535&&h<1114112&&(s=h)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return M(r)}function M(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=tt));return n}function j(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function I(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function O(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=W(t[o]);return i}function L(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function N(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,n,r,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function D(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function R(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function F(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function $(t,e,n,r,i){return i||F(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(t,e,n,r,23,4),n+4}function z(t,e,n,r,i){return i||F(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(t,e,n,r,52,8),n+8}function H(t){if(t=q(t).replace(et,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function W(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function Y(t,e){for(var n,r,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function X(t){return K.toByteArray(H(t))}function G(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function J(t){return t!==t}/*! 105 * The buffer module from node.js, for the browser. 106 * 107 * @author Feross Aboukhadijeh <[email protected]> <http://feross.org> 108 * @license MIT 109 */ 110var K=n(1),Z=n(6),Q=n(7);e.Buffer=s,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:r(),e.kMaxLength=i(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,n){return a(null,t,e,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,n){return c(null,t,e,n)},s.allocUnsafe=function(t){return u(null,t)},s.allocUnsafeSlow=function(t){return u(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(!s.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},s.byteLength=m,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):y.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,n,r,i){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,l=Math.min(o,a),c=this.slice(r,i),u=t.slice(e,n),h=0;h<l;++h)if(c[h]!==u[h]){o=c[h],a=u[h];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return this.indexOf(t,e,n)!==-1},s.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return T(this,t,e,n);case"ascii":return C(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;s.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r;if(s.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=s.prototype;else{var i=e-t;r=new s(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},s.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUInt8=function(t,e){return e||N(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||N(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||N(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return e||N(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},s.prototype.readInt16LE=function(t,e){e||N(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||N(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||N(t,4,this.length),Z.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||N(t,4,this.length),Z.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||N(t,8,this.length),Z.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||N(t,8,this.length),Z.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||B(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},s.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||B(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 4,491 bytes, line 110
1108,this[e+1]=255&t):D(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return $(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return $(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},s.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=s.isBuffer(t)?t:U(new s(t,r).toString()),l=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%l]}return this};var et=/[^+\/0-9A-Za-z-_]/g}).call(e,n(12))},function(t,e,n){e=t.exports=n(5)(),e.push([t.i,".aplayer-narrow {\n width: 66px; }\n .aplayer-narrow .aplayer-info {\n display: none; }\n\n.aplayer-withlrc.aplayer-narrow {\n width: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-pic {\n height: 90px;\n width: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-info {\n margin-left: 90px;\n height: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-lrc {\n display: block; }\n\n.aplayer-withlrc.aplayer .aplayer-info {\n padding: 10px 7px 0 7px; }\n\n.aplayer-withlist.aplayer .aplayer-info {\n border-bottom: 1px solid #e9e9e9; }\n\n.aplayer-withlist.aplayer .aplayer-list {\n display: block; }\n\n.aplayer-withlist.aplayer .aplayer-icon-menu {\n display: inline !important; }\n\n.aplayer {\n font-family: Arial, Helvetica, sans-serif;\n margin: 5px;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n border-radius: 2px;\n overflow: hidden;\n -webkit-user-select: none;\n -moz-user-select: none;
110\n -ms-user-select: none;\n user-select: none;\n line-height: initial; }\n .aplayer * {\n box-sizing: content-box; }\n .aplayer .aplayer-icon {\n width: 15px;\n height: 15px;\n border: none;\n background-color: transparent;\n outline: none;\n cursor: pointer;\n opacity: .8;\n vertical-align: middle;\n padding: 0;\n font-size: 12px;\n margin: 0;\n display: inline; }\n .aplayer .aplayer-icon .aplayer-fill {\n -webkit-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out; }\n .aplayer .aplayer-lrc-content {\n display: none; }\n .aplayer .aplayer-pic {\n position: relative;\n float: left;\n height: 66px;\n width: 66px;\n background-image: url("+n(11)+");\n background-size: 100%;\n -webkit-transition: all 0.3s ease;\n transition: all 0.3s ease; }\n .aplayer .aplayer-pic .aplayer-button {\n position: absolute;\n border-radius: 50%;\n opacity: 0.8;\n cursor: pointer;\n text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n background: rgba(0, 0, 0, 0.2);\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease; }\n .aplayer .aplayer-pic .aplayer-button:hover {\n opacity: 1; }\n .aplayer .aplayer-pic .aplayer-button .aplayer-fill {\n fill: #fff; }\n .aplayer .aplayer-pic .aplayer-hide {\n display: none; }\n .aplayer .aplayer-pic .aplayer-play {\n width: 26px;\n height: 26px;\n border: 2px solid #fff;\n bottom: 50%;\n right: 50%;\n margin: 0 -15px -15px 0; }\n .aplayer .aplayer-pic .aplayer-play .aplayer-icon-play {\n position: absolute;\n top: 3px;\n left: 4px;\n height: 20px;\n width: 20px; }\n .aplayer .aplayer-pic .aplayer-pause {\n width: 16px;\n height: 16px;\n border: 2px solid #fff;\n bottom: 4px;\n right: 4px; }\n .aplayer .aplayer-pic .aplayer-pause .aplayer-icon-pause {\n position: absolute;\n top: 2px;\n left: 2px;\n height: 12px;\n width: 12px; }\n .aplayer .aplayer-info {\n margin-left: 66px;\n padding: 14px 7px 0 10px;\n height: 66px;\n box-sizing: border-box; }\n .aplayer .aplayer-info .aplayer-music {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin: 0 0 13px 5px;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default;\n padding-bottom: 2px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-title {\n font-size: 14px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-author {\n font-size: 12px;\n color: #666; }\n .aplayer .aplayer-info .aplayer-controller {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {\n margin: 0 0 0 5px;\n padding: 4px 0;\n cursor: pointer !important;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {\n position: relative;\n height: 2px;\n width: 100%;\n background: #cdcdcd; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: #aaa;\n height: 2px;\n -webkit-transition: all 0.5s ease;\n transition: all 0.5s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n height: 2px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {\n position: absolute;\n top: 0;\n right: 5px;\n margin-top: -4px;\n margin-right: -10px;\n height: 8px;\n width: 8px;\n border-radius: 50%;\n background: #fff;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time {\n position: relative;\n right: 0;\n bottom: 3px;\n height: 17px;\n color: #999;\n font-size: 11px;\n padding-left: 7px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner {\n vertical-align: middle; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon {\n cursor: pointer;\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon .aplayer-fill {\n fill: #666; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-mode {\n margin-right: 4px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover .aplayer-fill {\n fill: #000; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {\n position: relative;\n display: inline-block;\n margin-left: 3px;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap {\n display: block; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap {\n display: none;\n position: absolute;\n bottom: 15px;\n right: -3px;\n width: 25px;\n height: 40px;\n z-index: 99; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar {\n position: absolute;\n bottom: 0;\n right: 10px;\n width: 5px;\n height: 35px;\n background: #aaa; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {\n position: absolute;\n bottom: 0;\n right: 0;\n width: 5px;\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease; }\n .aplayer .aplayer-lrc {\n display: none;\n position: relative;\n height: 30px;\n text-align: center;\n overflow: hidden;\n margin: -10px 0 7px; }\n .aplayer .aplayer-lrc:before {\n position: absolute;\n top: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 10%;\n content: ' ';\n background: -webkit-linear-gradient(top, white 0%, rgba(255, 255, 255, 0) 100%);\n background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc:after {\n position: absolute;\n bottom: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 33%;\n content: ' ';\n background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ccffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc p {\n font-size: 12px;\n color: #666;\n line-height: 16px !important;\n height: 16px !important;\n padding: 0 !important;\n margin: 0 !important;\n -webkit-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n opacity: 0.4;\n overflow: hidden; }\n .aplayer .aplayer-lrc p.aplayer-lrc-current {\n opacity: 1;\n overflow: visible;\n height: initial !important; }\n .aplayer .aplayer-lrc .aplayer-lrc-contents {\n width: 100%;\n -webkit-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n -webkit-user-select: text;\n -moz-user-select: text;
110\n -ms-user-select: text;\n user-select: text;\n cursor: default; }\n .aplayer .aplayer-list {\n overflow: auto;\n -webkit-transition: all 0.5s ease;\n transition: all 0.5s ease;\n will-change: height;\n display: none; }\n .aplayer .aplayer-list.aplayer-list-hide {\n height: 0 !important; }\n .aplayer .aplayer-list::-webkit-scrollbar {\n width: 5px; }\n .aplayer .aplayer-list::-webkit-scrollbar-track {\n background-color: #f9f9f9; }\n .aplayer .aplayer-list::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: #eee; }\n .aplayer .aplayer-list::-webkit-scrollbar-thumb:hover {\n background-color: #ccc; }\n .aplayer .aplayer-list ol {\n list-style-type: none;\n margin: 0;\n padding: 0; }\n .aplayer .aplayer-list ol li {\n position: relative;\n height: 32px;\n line-height: 32px;\n padding: 0 15px;\n font-size: 12px;\n border-top: 1px solid #e9e9e9;\n cursor: pointer;\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease;\n overflow: hidden; }\n .aplayer .aplayer-list ol li:first-child {\n border-top: none; }\n .aplayer .aplayer-list ol li:hover {\n background: #efefef; }\n .aplayer .aplayer-list ol li.aplayer-list-light {\n background: #e9e9e9; }\n .aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur {\n display: inline-block; }\n .aplayer .aplayer-list ol li .aplayer-list-cur {\n display: none;\n width: 3px;\n height: 22px;\n position: absolute;\n left: 0;\n top: 5px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-index {\n color: #666;\n margin-right: 12px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-author {\n color: #666;\n float: right;\n cursor: pointer; }\n\n@-webkit-keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n\n@keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n",""])},function(t,e,n){"use strict";(function(t){function r(e){return new t(e,"base64").toString()}function i(t){return t.split(",").pop()}function o(t,e){c.lastIndex=0;var n=c.exec(t),r=n[1]||n[2],i=a.resolve(e,r);try{return fs.readFileSync(i,"utf8")}catch(t){throw new Error("An error occurred while trying to read the map file at "+i+"\n"+t)}}function s(t,e){e=e||{},e.isFileComment&&(t=o(t,e.commentFileDir)),e.hasComment&&(t=i(t)),e.isEncoded&&(t=r(t)),(e.isJSON||e.isEncoded)&&(t=JSON.parse(t)),this.sourcemap=t}var a=n(8),l=/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm,c=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm;s.prototype.toJSON=function(t){return JSON.stringify(this.sourcemap,null,t)},s.prototype.toBase64=function(){return new t(this.toJSON()).toString("base64")},s.prototype.toComment=function(t){var e=this.toBase64(),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return t&&t.multiline?"/*# "+n+" */":"//# "+n},s.prototype.toObject=function(){return JSON.parse(this.toJSON())},s.prototype.addProperty=function(t,e){if(this.sourcemap.hasOwnProperty(t))throw new Error("property %s already exists on the sourcemap, use set property instead");return this.setProperty(t,e)},s.prototype.setProperty=function(t,e){return this.sourcemap[t]=e,this},s.prototype.getProperty=function(t){return this.sourcemap[t]},e.fromObject=function(t){return new s(t)},e.fromJSON=function(t){return new s(t,{isJSON:!0})},e.fromBase64=function(t){return new s(t,{isEncoded:!0})},e.fromComment=function(t){return t=t.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),new s(t,{isEncoded:!0,hasComment:!0})},e.fromMapFileComment=function(t,e){return new s(t,{commentFileDir:e,isFileComment:!0,isJSON:!0})},e.fromSource=function(t){var n=t.match(l);return n?e.fromComment(n.pop()):null},e.fromMapFileSource=function(t,n){var r=t.match(c);
110return r?e.fromMapFileComment(r.pop(),n):null},e.removeComments=function(t){return t.replace(l,"")},e.removeMapFileComments=function(t){return t.replace(c,"")},e.generateMapFileComment=function(t,e){var n="sourceMappingURL="+t;return e&&e.multiline?"/*# "+n+" */":"//# "+n},Object.defineProperty(e,"commentRegex",{get:function(){return l}}),Object.defineProperty(e,"mapFileCommentRegex",{get:function(){return c}})}).call(e,n(2).Buffer)},function(t,e,n){function r(t){var e=t[1]||"",r=t[3];if(!r)return e;var i=n(4),o=i.fromObject(r).toComment({multiline:!0}),s=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[e].concat(s).concat([o]).join("\n")}t.exports=function(){var t=[];return t.toString=function(){return this.map(function(t){const e=r(t);return t[2]?"@media "+t[2]+"{"+e+"}":e}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var s=e[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(t,e){e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,c=l>>1,u=-7,h=n?i-1:0,p=n?-1:1,f=t[e+h];for(h+=p,o=f&(1<<-u)-1,f>>=-u,u+=a;u>0;o=256*o+t[e+h],h+=p,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+t[e+h],h+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),e+=s+h>=1?p/l:p*Math.pow(2,1-h),e*l>=2&&(s++,l/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(e*l-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+f]=255&a,f+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[n+f]=255&s,f+=d,s/=256,c-=8);t[n+f-d]|=128*g}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(t){return i.exec(t).slice(1)};e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,i="/"===s.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),o="/"===s(t,-1);return t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"),t||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,l=0;l<s;l++)if(i[l]!==o[l]){a=l;break}for(var c=[],l=a;l<i.length;l++)c.push("..");return c=c.concat(o.slice(a)),c.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){var e=o(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},e.basename=function(t,e){var n=o(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){return o(t)[3]};var s="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(e,n(9))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function o(t){if(h===clearTimeout)return clearTimeout(t);if((h===r||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function s(){g&&f&&(g=!1,f.length?d=f.concat(d):v=-1,d.length&&a())}function a(){if(!g){var t=i(s);g=!0;for(var e=d.length;e;){for(f=d,d=[];++v<e;)f&&f[v].run();v=-1,e=d.length}f=null,g=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function c(){}var u,h,p=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(t){u=n}try{h="function"==typeof clearTimeout?clearTimeout:r}catch(t){h=r}}();var f,d=[],g=!1,v=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new l(t,e)),1!==d.length||g||i(a)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e){function n(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=p[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(l(r.parts[o],e))}else{for(var s=[],o=0;o<r.parts.length;o++)s.push(l(r.parts[o],e));p[r.id]={id:r.id,refs:1,parts:s}}}}function r(t){for(var e=[],n={},r=0;r<t.length;r++){var i=t[r],o=i[0],s=i[1],a=i[2],l=i[3],c={css:s,media:a,sourceMap:l};n[o]?n[o].parts.push(c):e.push(n[o]={id:o,parts:[c]})}return e}function i(t,e){var n=g(),r=y[y.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),y.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function o(t){t.parentNode.removeChild(t);var e=y.indexOf(t);e>=0&&y.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",i(t,e),e}function a(t){var e=document.createElement("link");return e.rel="stylesheet",i(t,e),e}function l(t,e){var n,r,i;if(e.singleton){var l=m++;n=v||(v=s(e)),r=c.bind(null,n,l,!1),i=c.bind(null,n,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(e), 111r=h.bind(null,n),i=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=u.bind(null,n),i=function(){o(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function c(t,e,n,r){var i=n?"":r.css;
vendor: 4,193 bytes, line 111
111if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function u(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function h(t,e){var n=e.css,r=e.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var i=new Blob([n],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}var p={},f=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},d=f(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=f(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,m=0,y=[];t.exports=function(t,e){e=e||{},void 0===e.singleton&&(e.singleton=d()),void 0===e.insertAt&&(e.insertAt="bottom");var i=r(t);return n(i,e),function(t){for(var o=[],s=0;s<i.length;s++){var a=i[s],l=p[a.id];l.refs--,o.push(l)}t&&n(r(t),e);for(var s=0;s<o.length;s++){var l=o[s];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete p[l.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMfaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzA2NyA3OS4xNTc3NDcsIDIwMTUvMDMvMzAtMjM6NDA6NDIgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjE2NjQ3NUZBM0Y4RDExRTY4NzJCRDdCNkZCQTQ0MjNBIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjE2NjQ3NUY5M0Y4RDExRTY4NzJCRDdCNkZCQTQ0MjNBIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IE1hY2ludG9zaCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSI5OENEMEFFRjM0NTI1NjE0NEREQkU4RjkxRjAwNjM3NiIgc3RSZWY6ZG9jdW1lbnRJRD0iOThDRDBBRUYzNDUyNTYxNDREREJFOEY5MUYwMDYzNzYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAQCwsLDAsQDAwQFw8NDxcbFBAQFBsfFxcXFxcfHhcaGhoaFx4eIyUnJSMeLy8zMy8vQEBAQEBAQEBAQEBAQEBAAREPDxETERUSEhUUERQRFBoUFhYUGiYaGhwaGiYwIx4eHh4jMCsuJycnLis1NTAwNTVAQD9AQEBAQEBAQEBAQED/wAARCABkAGQDASIAAhEBAxEB/8QAgwAAAgIDAQAAAAAAAAAAAAAAAAYBBQIDBAcBAQEBAAAAAAAAAAAAAAAAAAABAhAAAQIEBAEJBgMHBQAAAAAAAQIDABEEBSExEgZBUWFxgaGxIhMUkTJCUmIVI0MWwdHh8XKSsvCCojNzEQEBAQEBAQEBAAAAAAAAAAAAAREhMVFBYf/aAAwDAQACEQMRAD8AaJ8vCJEYTjIZxtlIicc40VFZS0idVS6lpP1HE9Aind3dSrWWbdTPVruXgSQn98Awd0SBC+mp3fVYtUjFGk5F5U1S6Me6Mvtu6ncXbo01zNtzl2CJovwZxML/ANl3DwvZn/5fxiPt+72sWbkw/Lg4jTP/AImGhhiYWlXXdlD4q23IqWh7zlOZ/wCGrujpt+7bTWKDTijSvEy0O4CfJqy9sNMXmWMTECRExjzxMUEEEEBxLcbbQXHVBCEialKMgBFBU7jqax/0dmbU64fzJYy+aZwSOcxT7kvdPXVJpU6jTU5IC0HBauKucDhF7tS3ejolVJK51UlJQrCSRkeuJqppdspcV593dNU8cS0kkNjpPvKi8ZaZp2w3TtpabGSUAJHZEgzjXUVdPStebUOBpE5AnieQDieiKjeYyELVVva3ML0IZddI44IHaZxtod52upcDbqV0ylGSVLkUTP1JyibDDBOJxzjTUF8UzqqdIVUBtRZByK9J09seb1lzuKawuIqngRLSorUDMZ6k8DPMSwhaSPTwSDFbd7Bb7s2rzkBupl4KlIksH6vmHTE2GucuNqp6p3/tIKXCOKknST1xYgZDlihPsNxrLTXItFevXTuLU02omZadQZFP9Jw9ohxjz2tfF03GhFKdQXV6kqHINCJ/2tTj0KYJiQow6oIJY5QRR5hYLM5cK9KHkFNO1JbxIImOCeuPREyAAAkAJARyW63s26n8hlSnATqUtZmonnlKOucokhQtxDTa3XTpbbSVrVyJSNRhFq6usvNyap0K0v1JA5mG1YhtPJJOKzxOENG5HS3Yq1ScyhKSOZS0pPZCts8+ZfQtWK/LcUOk/wA4X3FhwoLJbKBgMtMIWZeN1xKVqWecqB9kJm7aKlo7wpulQGm3G0OKbT7qVKmDIcAZTh/LiW0KW4oJQgFS1HAAJEyTHnb6ndxX5XlAgVCwlH0MoEpnoSJwpD5ZFrXZ6JThOtTKJk9GHZCxvZmn9YHkJSh1KGw6QAC4p0uEauUhKIcmW0NNIaQJIbSEp5kpEhHntyqV3q7hlkzFQ/4T9ODSPYhM+uFI7rbZ9zU1EzXWuoGl5Ic9Pq0nH6XPAZ9MY1+6r2hh+3VjKGKojQtwApWlKhjhMjEcYZrzcW7JavMaA1pAZpUn5pSB6EgThT2xaTeLi5U1ZLjLJ8x4qzccUZhJ7zE/g6dlrtNO+t+pfSisUNDKF+EJScyFHC
111Zh5BEpgzB4xR3TaVqr0lTKBR1BEw42JIJ+tvL2ShaZuN62xWejqZuMiRLKjqQtB+JpXD/U4vh69BxnKCK/73Qfa/uus+m0z+rVl5cvmnhBFRsHLyxIkrolGIMhKJSchAcl4pzVWmsYAmtbSijnUjxp7UwibdrEUd4pnlnS2olCycgFjTjHo4VHm9/paeku1QxTKCmtWrSPyyrFTf8AtiX6sW+5dwmtV9st5K2SoJdWnEuqnghP0z9sXe2rCLXTl18A1rwGvj5afkH7YoNov2aneW7WLCK2cmVOYISn6Tlq6Yaau+2mkaLjlU2ogYNtkLWo8JBMJ9GndFzFBanEpMqipmy1ygKHjV1J74odkW4u1blwWPw6ceW0eVxYx9ie+K+oeuG57sA0iXwtozSy1P3lHvh+t1AzbqNqkY9xsYq4qUcVKPSYe0/C9vxp9VPRvAEstqWlZGSVLCdM+mRjn2Xd6KkS9R1K0sqcUFtuKwSrCRSTDg42262pp1CXGljStChqSoHlBigqdk2h5RUyt2mn8CSFo6tePbDO6Ll67W1hOtyrZSn+sHsGMJW6r3S3Z9hukQS3T6gHSJFZXLBIzlhFs3sO3pV+JVPLHIEoR2+KLm32C024hdMwPNGTrh1r6irLqh2pwvfp+4fpPydJ9T5vqfT/ABaJadMvmljKCHLjxnBDDXDPGXGJmTkcogETMshjyxlPhFGqqfVT0b9QMSy2twDnSkkdsJtoomK7cC2KoB1plKtSVfmKT4ST0qUVQ7KbQ62th3xNuJUhY46VDSewwhvqrdvXsPrTqUMZ/C82fCVJP1dhiVYvKjY9vcVqpqhxgH8tQDgHQZpMRT7EokkF+qccHyISlufX4oubddKG5shymWCvNbRwWk84jtBMgeSGRNaKOgo7eyWaNoNIPvEYqUfqUcTHVOMRIxOKscooyBxg5eSIM5T48IkY/vgJOPVBOXOIBM80aKqspaNvzap1LaRlM4noGZgOjVBC5+sqX1ejyj6aUp6vxf6tGUuac4ImwxbAkKlEzBywjHGUgermiRPLhFGYJ48Y01tDSXBg09Y2HG5+E5KSZZoUMo2AgZRkDiBLDiIBQq9n3ClcL9pf80JxSkny3k9fuqjBvcu4bYfLuDBWBh+MgoV/eMDDoMyZ4RIM0kETT8pxETPi6WmN9UKhJ+ncQTnpIUP2R1p3jZCMVOJ5igxYu2q1vmbtGwvn0JB7JRznbthOJoW8eQqHcqHU40K3nZAMFOKllJB/bHI9vuiTMU9M44o/MQkdk4tUbdsaDMUTXXNXeY6maChp5eTTNI5ClCQe6HThWN+3Rc/Bb6UtIV8SUH/NeEZ02zrhWOefdqognNKT5izzajgIbpz7gIkfzhhqs/TFk9J6b0w05+ZM+ZPl1wRay9kEUV4y+qXZGachyc8EEBKeMAnLCf8ACCCAzE5d8ZHMS64IIA7oy+HDqgggIEpYdUZJnpE84IICeScSJYwQQE8IIIID/9k="},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();console.log("\n %c APlayer 1.6.0 %c http://aplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),n(0);var s=[],a=function(){function t(e){function n(t){for(var e=t.offsetLeft,n=t.offsetParent,r=void 0;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return r=document.body.scrollLeft+document.documentElement.scrollLeft,e-r}function r(t){for(var e=t.offsetTop,n=t.offsetParent,r=void 0;null!==n;)e+=n.offsetTop,n=n.offsetParent;return r=document.body.scrollTop+document.documentElement.scrollTop,e-r}var o=this;i(this,t);var a={play:["0 0 16 31","M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"],pause:["0 0 17 32","M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"],"volume-up":["0 0 28 32","M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"],"volume-down":["0 0 28 32","M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32
111-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"],"volume-off":["0 0 28 32","M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"],circulation:["0 0 29 32","M25.6 9.92q1.344 0 2.272 0.928t0.928 2.272v9.28q0 1.28-0.928 2.24t-2.272 0.96h-22.4q-1.28 0-2.24-0.96t-0.96-2.24v-9.28q0-1.344 0.96-2.272t2.24-0.928h8v-3.52l6.4 5.76-6.4 5.76v-3.52h-6.72v6.72h19.84v-6.72h-4.8v-4.48h6.080z"],random:["0 0 33 31","M29.867 9.356l-5.003 5.003c-0.094 0.094-0.235 0.141-0.36 0.141-0.266 0-0.5-0.219-0.5-0.5v-3.002h-4.002c-2.079 0-3.064 1.423-3.94 3.111-0.453 0.875-0.844 1.782-1.219 2.673-1.735 4.033-3.768 8.223-8.849 8.223h-3.502c-0.281 0-0.5-0.219-0.5-0.5v-3.002c0-0.281 0.219-0.5 0.5-0.5h3.502c2.079 0 3.064-1.423 3.94-3.111 0.453-0.875 0.844-1.782 1.219-2.673 1.735-4.033 3.768-8.223 8.849-8.223h4.002v-3.002c0-0.281 0.219-0.5 0.5-0.5 0.141 0 0.266 0.063 0.375 0.156l4.987 4.987c0.094 0.094 0.141 0.235 0.141 0.36s-0.047 0.266-0.141 0.36zM10.262 14.781c-0.907-1.892-1.907-3.783-4.268-3.783h-3.502c-0.281 0-0.5-0.219-0.5-0.5v-3.002c0-0.281 0.219-0.5 0.5-0.5h3.502c2.783 0 4.831 1.298 6.41 3.518-0.876 1.344-1.517 2.798-2.142 4.268zM29.867 23.363l-5.003 5.003c-0.094 0.094-0.235 0.141-0.36 0.141-0.266 0-0.5-0.235-0.5-0.5v-3.002c-4.643 0-7.504 0.547-10.396-3.518 0.86-1.344 1.501-2.798 2.126-4.268 0.907 1.892 1.907 3.783 4.268 3.783h4.002v-3.002c0-0.281 0.219-0.5 0.5-0.5 0.141 0 0.266 0.063 0.375 0.156l4.987 4.987c0.094 0.094 0.141 0.235 0.141 0.36s-0.047 0.266-0.141 0.36z"],order:["0 0 32 32","M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"],single:["0 0 38 32","M2.072 21.577c0.71-0.197 1.125-0.932 0.928-1.641-0.221-0.796-0.333-1.622-0.333-2.457 0-5.049 4.108-9.158 9.158-9.158h5.428c0.056-0.922 0.221-1.816 0.482-2.667h-5.911c-3.158 0-6.128 1.23-8.361 3.463s-3.463 5.203-3.463 8.361c0 1.076 0.145 2.143 0.431 3.171 0.164 0.59 0.7 0.976 1.284 0.976 0.117 0 0.238-0.016 0.357-0.049zM21.394 25.613h-12.409v-2.362c0-0.758-0.528-1.052-1.172-0.652l-5.685 3.522c-0.644 0.4-0.651 1.063-0.014 1.474l5.712 3.69c0.637 0.411 1.158 0.127 1.158-0.63v-2.374h12.409c3.158 0 6.128-1.23 8.361-3.463 1.424-1.424 2.44-3.148 2.99-5.029-0.985 0.368-2.033 0.606-3.125 0.691-1.492 3.038-4.619 5.135-8.226 5.135zM28.718 0c-4.985 0-9.026 4.041-9.026 9.026s4.041 9.026 9.026 9.026 9.026-4.041 9.026-9.026-4.041-9.026-9.026-9.026zM30.392 13.827h-1.728v-6.822c-0.635 0.576-1.433 1.004-2.407 1.285v-1.713c0.473-0.118 0.975-0.325 1.506-0.62 0.532-0.325 0.975-0.665 1.329-1.034h1.3v8.904z"],menu:["0 0 22 32","M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"]};this.getSVG=function(t){return'\n <svg xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" version="1.1" viewBox="'+a[t][0]+'" width="100%">\n <use xlink:href="#aplayer-'+t+'"></use>\n <path class="aplayer-fill" d="'+a[t][1]+'" id="aplayer-'+t+'"></path>\n </svg>\n '},this.isMobile=/mobile/i.test(window.navigator.userAgent),this.isMobile&&(e.autoplay=!1);var l={element:document.getElementsByClassName("aplayer")[0],narrow:!1,autoplay:!1,mutex:!0,showlrc:0,theme:"#b7daff",mode:"circulation"};for(var c in l)l.hasOwnProperty(c)&&!e.hasOwnProperty(c)&&(e[c]=l[c]);if(this.option=e,this.audios=[],this.mode=e.mode,this.secondToTime=function(t){if(isNaN(t))return"00:00";var e=function(t){return t<10?"0"+t:""+t},n=parseInt(t/60),r=parseInt(t-60*n),i=parseInt(n/60),o=parseInt(t/60-60*parseInt(t/60/60));return t>=3600?e(i)+":"+e(o)+":"+e(r):e(n)+":"+e(r)},this.element=this.option.element,2===this.option.showlrc||this.option.showlrc===!0){this.savelrc=[];for(var u=0;u<this.element.getElementsByClassName("aplayer-lrc-content").length;u++)this.savelrc.push(this.element.getElementsByClassName("aplayer-lrc-content")[u].innerHTML)}this.lrcs=[],this.updateBar=function(t,e,n){e=e>0?e:0,e=e<1?e:1,g[t+"Bar"].style[n]=100*e+"%"},this.updateLrc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.audio.currentTime;if(o.lrcIndex>o.lrc.length-1||t<o.lrc[o.lrcIndex][0]||!o.lrc[o.lrcIndex+1]||t>=o.lrc[o.lrcIndex+1][0])for(var e=0;e<o.lrc.length;e++)t>=o.lrc[e][0]&&(!o.lrc[e+1]||t<o.lrc[e+1][0])&&(o.lrcIndex=e,o.lrcContents.style.transform="translateY("+16*-o.lrcIndex+"px)",o.lrcContents.style.webkitTransform="translateY("+16*-o.lrcIndex+"px)",o.lrcContents.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),o.lrcContents.getElementsByTagName("p")[e].classList.add("aplayer-lrc-current"))};var h=["play","pause","canplay","playing","ended","error"];this.event={};for(var p=0;p<h.length;p++)this.event[h[p]]=[];this.trigger=function(t){for(var e=0;e<o.event[t].length;e++)o.event[t][e]()},this.playIndex=0,this.multiple="[object Array]"===Object.prototype.toString.call(e.music),this.multiple||(this.option.music=[this.option.music]),this.music=this.option.music[this.playIndex],this.option.showlrc&&this.element.classList.add("aplayer-withlrc"),this.option.music.length>1&&this.element.classList.add("aplayer-withlist"),this.multiple||"circulation"===this.mode||"order"===this.mode||(this.mode="circulation"),this.getRandomOrder();for(var f='\n <div class="aplayer-pic" '+(this.music.pic?"style=\"background-image: url('"+this.music.pic+"');\"":"")+'>\n <div class="aplayer-button aplayer-play">\n <button type="button" class="aplayer-icon aplayer-icon-play">'+this.getSVG("play")+' </button>\n </div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">
111\n <span class="aplayer-title"></span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: '+this.option.theme+';">\n <span class="aplayer-thumb" style="border: 1px solid '+this.option.theme+';"></span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n - <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down" '+(this.isMobile?'style="display: none;"':"")+">"+this.getSVG("volume-down")+' </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: '+this.option.theme+';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-mode">'+this.getSVG(this.mode)+' </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">'+this.getSVG("menu")+' </button>\n </div>\n </div>\n </div>\n <div class="aplayer-list" '+(this.option.listmaxheight?'style="max-height: '+this.option.listmaxheight:"")+'">\n <ol>',d=0;d<this.option.music.length;d++)f+='\n <li>\n <span class="aplayer-list-cur" style="background: '+this.option.theme+';"></span>\n <span class="aplayer-list-index">'+(d+1)+'</span>\n <span class="aplayer-list-title">'+this.option.music[d].title+'</span>\n <span class="aplayer-list-author">'+this.option.music[d].author+"</span>\n </li>";f+="\n </ol>\n </div>",this.element.innerHTML=f,this.element.offsetWidth<300&&(this.element.getElementsByClassName("aplayer-icon-mode")[0].style.display="none"),this.ptime=this.element.getElementsByClassName("aplayer-ptime")[0],this.element.getElementsByClassName("aplayer-info")[0].offsetWidth<200&&this.element.getElementsByClassName("aplayer-time")[0].classList.add("aplayer-time-narrow");var g={};g.barWrap=this.element.getElementsByClassName("aplayer-bar-wrap")[0],this.option.narrow&&this.element.classList.add("aplayer-narrow"),this.button=this.element.getElementsByClassName("aplayer-button")[0],this.button.addEventListener("click",function(t){o.toggle()});var v=this.element.getElementsByClassName("aplayer-list")[0];v.addEventListener("click",function(t){var e=void 0;e="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var n=parseInt(e.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;n!==o.playIndex?(o.setMusic(n),o.play()):o.toggle()}),g.playedBar=this.element.getElementsByClassName("aplayer-played")[0],g.loadedBar=this.element.getElementsByClassName("aplayer-loaded")[0];var m=this.element.getElementsByClassName("aplayer-thumb")[0],y=void 0;g.barWrap.addEventListener("click",function(t){var e=t||window.event;y=g.barWrap.clientWidth;var r=(e.clientX-n(g.barWrap))/y;isNaN(o.audio.duration)?o.updateBar("played",0,"width"):(o.updateBar("played",r,"width"),o.element.getElementsByClassName("aplayer-ptime")[0].innerHTML=o.secondToTime(r*o.audio.duration),o.audio.currentTime=parseFloat(g.playedBar.style.width)/100*o.audio.duration)}),m.addEventListener("mouseover",function(){m.style.background=o.option.theme}),m.addEventListener("mouseout",function(){m.style.background="#fff"});var b=function(t){var e=t||window.event,r=(e.clientX-n(g.barWrap))/y;r=r>0?r:0,r=r<1?r:1,o.updateBar("played",r,"width"),o.option.showlrc&&o.updateLrc(parseFloat(g.playedBar.style.width)/100*o.audio.duration),o.element.getElementsByClassName("aplayer-ptime")[0].innerHTML=o.secondToTime(r*o.audio.duration)},w=function t(){document.removeEventListener("mouseup",t),document.removeEventListener("mousemove",b),isNaN(o.audio.duration)?o.updateBar("played",0,"width"):(o.audio.currentTime=parseFloat(g.playedBar.style.width)/100*o.audio.duration,o.playedTime=setInterval(function(){o.updateBar("played",o.audio.currentTime/o.audio.duration,"width"),o.option.showlrc&&o.updateLrc(),o.element.getElementsByClassName("aplayer-ptime")[0].innerHTML=o.secondToTime(o.audio.currentTime),o.trigger("playing")},100))};m.addEventListener("mousedown",function(){y=g.barWrap.clientWidth,clearInterval(o.playedTime),document.addEventListener("mousemove",b),document.addEventListener("mouseup",w)}),g.volumeBar=this.element.getElementsByClassName("aplayer-volume")[0];var x=this.element.getElementsByClassName("aplayer-volume-bar")[0];this.volumeicon=this.element.getElementsByClassName("aplayer-time")[0].getElementsByTagName("button")[0];var _=35;this.element.getElementsByClassName("aplayer-volume-bar-wrap")[0].addEventListener("click",function(t){var e=t||window.event,n=(_-e.clientY+r(x))/_;n=n>0?n:0,n=n<1?n:1,o.volume(n)}),this.volumeicon.addEventListener("click",function(){o.audio.muted?(o.audio.muted=!1,o.volumeicon.className=1===o.audio.volume?"aplayer-icon aplayer-icon-volume-up":"aplayer-icon aplayer-icon-volume-down",1===o.audio.volume?(o.volumeicon.className="aplayer-icon aplayer-icon-volume-up",o.volumeicon.innerHTML=o.getSVG("volume-up")):(o.volumeicon.className="aplayer-icon aplayer-icon-volume-down",o.volumeicon.innerHTML=o.getSVG("volume-down")),o.updateBar("volume",o.audio.volume,"height")):(o.audio.muted=!0,o.volumeicon.className="aplayer-icon aplayer-icon-volume-off",o.volumeicon.innerHTML=o.getSVG("volume-off"),o.updateBar("volume",0,"height"))});var T=this.element.getElementsByClassName("aplayer-icon-mode")[0];T.addEventListener("click",function(){o.multiple?"random"===o.mode?o.mode="single":"single"===o.mode?o.mode="order":"order"===o.mode?o.mode="circulation":"circulation"===o.mode&&(o.mode="random"):"circulation"===o.mode?o.mode="order":o.mode="circulation",T.innerHTML=o.getSVG(o.mode),o.audio.loop=!(o.multiple||"order"===o.mode)}),v.style.height=v.offsetHeight+"px",this.element.getElementsByClassName("aplayer-icon-menu")[0].addEventListener("click",function(){v.classList.contains("aplayer-list-hide")?v.classList.remove("aplayer-list-hide"):v.classList.add("aplayer-list-hide")}),"random"===this.mode?this.setMusic(this.randomOrder[0]):this.setMusic(0),s.push(this)}return o(t,[{key:"setMusic",value:function(t){var e=this;void 0!==t&&(this.playIndex=t);var n=this.playIndex;this.music=this.option.music[n],this.music.pic&&(this.element.getElementsByClassName("aplayer-pic")[0].style.backgroundImage="url('"+this.music.pic+"')"),this.element.getElementsByClassName("aplayer-title")[0].innerHTML=this.music.title,this.element.getElementsByClassName("aplayer-author")[0].innerHTML=" - "+this.music.author,this.element.getElementsByClassName("aplayer-list-light")[0]&&this.element.getElementsByClassName("aplayer-list-light")[0].classList.remove("aplayer-list-light"),this.element.getElementsByClassName("aplayer-list")[0].getElementsByTagName("li")[n].classList.add("aplayer-list-light"),this.audio&&(this.pause(),this.audio.currentTime=0),this.element.getElementsByClassName("aplayer-list")[0].scrollTop=33*n,this.audios[n]?(this.audio=this.audios[n],this.audio.volume=parseInt(this.element.getElementsByClassName("aplayer-volume")[0].style.height)/100,this.audio.currentTime=0):(this.audio=document.createElement("audio"),this.audio.src=this.music.url,this.audio.preload=this.option.preload?this.option.preload:"auto",this.audio.addEventListener("play",function(){if(e.button.classList.contains("aplayer-play")){if(e.button.classList.remove("aplayer-play"),e.button.classList.add("aplayer-pause"),e.button.innerHTML="",setTimeout(function(){e.button.innerHTML='\n <button type="button" class="aplayer-icon aplayer-icon-pause">'+e.getSVG("pause")+" </button>"}
111,100),e.option.mutex)for(var t=0;t<s.length;t++)e!=s[t]&&s[t].pause();e.playedTime&&clearInterval(e.playedTime),e.playedTime=setInterval(function(){e.updateBar("played",e.audio.currentTime/e.audio.duration,"width"),e.option.showlrc&&e.updateLrc(),e.ptime.innerHTML=e.secondToTime(e.audio.currentTime),e.trigger("playing")},100),e.trigger("play")}}),this.audio.addEventListener("pause",function(){e.button&&(e.button.classList.contains("aplayer-pause")||e.ended)&&(e.ended=!1,e.button.classList.remove("aplayer-pause"),e.button.classList.add("aplayer-play"),e.button.innerHTML="",setTimeout(function(){e.button.innerHTML='\n <button type="button" class="aplayer-icon aplayer-icon-play">'+e.getSVG("play")+" </button>"},100),clearInterval(e.playedTime),e.trigger("pause"))}),this.audio.addEventListener("durationchange",function(){1!==e.audio.duration&&(e.element.getElementsByClassName("aplayer-dtime")[0].innerHTML=e.secondToTime(e.audio.duration))}),this.audio.addEventListener("progress",function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.audio.duration:0;e.updateBar("loaded",t,"width")}),this.audio.addEventListener("error",function(){e.element.getElementsByClassName("aplayer-author")[0].innerHTML=" - Error happens ââ¢Â¥Ã¯Â¹Âââ¢Â¥",e.trigger("pause")}),this.audio.addEventListener("canplay",function(){e.trigger("canplay")}),this.ended=!1,this.audio.addEventListener("ended",function(){if(e.multiple){if(e.isMobile)return e.ended=!0,void e.pause();0!==e.audio.currentTime&&("random"===e.mode?e.setMusic(e.nextRandomNum()):"single"===e.mode?e.setMusic(e.playIndex):"order"===e.mode?e.playIndex<e.option.music.length-1?e.setMusic(++e.playIndex):(e.ended=!0,e.pause(),e.trigger("ended")):"circulation"===e.mode&&(e.playIndex<e.option.music.length-1?e.setMusic(++e.playIndex):e.setMusic(0)))}else"order"===e.mode&&(e.ended=!0,e.pause(),e.trigger("ended"))}),this.audio.volume=parseInt(this.element.getElementsByClassName("aplayer-volume")[0].style.height)/100,this.audio.loop=!(this.multiple||"order"===this.mode),this.audios[n]=this.audio);var r=function(t){for(var e=t.split("\n"),n=[],r=e.length,i=0;i<r;i++){var o=e[i].match(/\[(\d{2}):(\d{2})\.(\d{2,3})]/g),s=e[i].replace(/\[(\d{2}):(\d{2})\.(\d{2,3})]/g,"").replace(/^\s+|\s+$/g,"");if(null!=o)for(var a=o.length,l=0;l<a;l++){var c=/\[(\d{2}):(\d{2})\.(\d{2,3})]/.exec(o[l]),u=60*c[1]+parseInt(c[2])+parseInt(c[3])/(2===(c[3]+"").length?100:1e3);n.push([u,s])}}return n.sort(function(t,e){return t[0]-e[0]}),n};if(this.option.showlrc){var i=n;if(!this.lrcs[i]){var o="";if(1===this.option.showlrc)o=this.option.music[i].lrc;else if(2===this.option.showlrc||this.option.showlrc===!0)o=this.savelrc[i];else if(3===this.option.showlrc){var a=new XMLHttpRequest;a.onreadystatechange=function(){if(4===a.readyState){a.status>=200&&a.status<300||304===a.status?(o=a.responseText,e.lrcs[i]=r(o)):(console.log("Request was unsuccessful: "+a.status),e.lrcs[i]=[["00:00","Not available"]]),e.lrc=e.lrcs[i];var t="";e.lrcContents=e.element.getElementsByClassName("aplayer-lrc-contents")[0];for(var n=0;n<e.lrc.length;n++)t+="<p>"+e.lrc[n][1]+"</p>";e.lrcContents.innerHTML=t,e.lrcIndex||(e.lrcIndex=0),e.lrcContents.getElementsByTagName("p")[0].classList.add("aplayer-lrc-current"),e.lrcContents.style.transform="translateY(0px)",e.lrcContents.style.webkitTransform="translateY(0px)"}};var l=void 0;l=this.option.music[i].lrc,a.open("get",l,!0),a.send(null)}o?this.lrcs[i]=r(o):3===this.option.showlrc?this.lrcs[i]=[["00:00","Loading"]]:this.lrcs[i]=[["00:00","Not available"]]}this.lrc=this.lrcs[i];var c="";this.lrcContents=this.element.getElementsByClassName("aplayer-lrc-contents")[0];for(var u=0;u<this.lrc.length;u++)c+="<p>"+this.lrc[u][1]+"</p>";this.lrcContents.innerHTML=c,this.lrcIndex||(this.lrcIndex=0),this.lrcContents.getElementsByTagName("p")[0].classList.add("aplayer-lrc-current"),this.lrcContents.style.transform="translateY(0px)",this.lrcContents.style.webkitTransform="translateY(0px)"}1!==this.audio.duration&&(this.element.getElementsByClassName("aplayer-dtime")[0].innerHTML=this.audio.duration?this.secondToTime(this.audio.duration):"00:00"),this.option.autoplay&&!this.isMobile&&this.play(),this.option.autoplay=!0,this.isMobile&&this.pause()}},{key:"play",value:function(t){"[object Number]"===Object.prototype.toString.call(t)&&(this.audio.currentTime=t),this.audio.paused&&this.audio.play()}},{key:"pause",value:function(){this.audio.paused||this.audio.pause()}},{key:"volume",value:function(t){this.updateBar("volume",t,"height"),this.audio.volume=t,this.audio.muted&&(this.audio.muted=!1),1===t?(this.volumeicon.className="aplayer-icon aplayer-icon-volume-up",this.volumeicon.innerHTML=this.getSVG("volume-up")):(this.volumeicon.className="aplayer-icon aplayer-icon-volume-down",this.volumeicon.innerHTML=this.getSVG("volume-down"))}},{key:"on",value:function(t,e){"function"==typeof e&&this.event[t].push(e)}},{key:"toggle",value:function(){this.button.classList.contains("aplayer-play")?this.play():this.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"getRandomOrder",value:function(){function t(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}function e(e){for(var n,r=e.length,i=new Array(r),o=0;o<r;o++)n=t(0,o),n!==o&&(i[o]=i[n]),i[n]=e[o];return i}this.multiple&&(this.randomOrder=e([].concat(r(Array(this.option.music.length))).map(function(t,e){return e})))}},{key:"nextRandomNum",value:function(){if(this.multiple){var t=this.randomOrder.indexOf(this.playIndex);return t===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[t+1]}return 0}},{key:"destroy",value:function(){s.splice(s.indexOf(this),1),this.pause(),this.element.innerHTML="",clearInterval(this.playedTime);for(var t in this)this.hasOwnProperty(t)&&delete this[t]}},{key:"addMusic",value:function(t){this.option.music=this.option.music.concat(t);for(var e=this.element.getElementsByClassName("aplayer-list")[0],n=e.getElementsByTagName("ol")[0],r="",i=0;i<t.length;i++)r+='\n <li>
111\n <span class="aplayer-list-cur" style="background: '+this.option.theme+';"></span>\n <span class="aplayer-list-index">'+(this.option.music.length-t.length+i+1)+'</span>\n <span class="aplayer-list-title">'+t[i].title+'</span>\n <span class="aplayer-list-author">'+t[i].author+"</span>\n </li>";n.innerHTML+=r,this.multiple||(this.multiple=!0,this.element.classList.add("aplayer-withlist"),this.audio.loop=!1),e.style.height="auto",e.style.height=e.offsetHeight+"px",this.getRandomOrder()}}]),t}();t.exports=a}])})}).call(e,n(11))},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var o=n(65),s=r(o),a=n(94),l=r(a);e.default={archiveLoadMore:null,init:function(e){var n=e.items,r=void 0===n?[]:n,o=e.elementSelector,a=void 0===o?"#archive-list":o,c=e.template,u=void 0===c?"#news-list-template":c;this.archiveLoadMore=new Vue({name:"archiveLoadMore",el:a,template:u,data:function(){return{config:{params:{limit:10},loadingData:!1,errorLoadingData:!1},hasMoreItems:!0,items:[]}},mounted:function(){this.$set(this.config,"params",Object.assign(this.config.params,window.loadMoreParams||{})),this.items=r;var t=Math.ceil(r.length/this.config.params.limit)+(r.length%this.config.params.limit===0?1:0);this.$set(this.config.params,"page",t>0?t:1),this.items.length<this.config.params.limit&&(this.hasMoreItems=!1),window.___LMC___=this},computed:{populatedItems:function(){return this.items.map(function(t){return t.url=s.default.websiteBaseUrl+"/content/"+t.id+"/"+l.default.slugify(t.slug||t.title), 112t.shareLinks={twitter:"https://twitter.com/home?status="+t.title+" "+t.url,facebook:"https://www.facebook.com/sharer/sharer.php?u="+t.url,googlePlus:"https://plus.google.com/share?url="+t.url,linkedIn:"https://www.linkedin.com/shareArticle?mini=true&url="+t.url+"&title="+t.title+"&summary="+t.lead,telegram:"https://telegram.me/share/url?url="+t.url+"&text="+t.title},t})}},methods:{loadMore:function(){var e=this;this.$set(this.config,"loadingData",!0),t.ajax({method:"GET",url:s.default.baseUrl+"/contents",data:this.config.params}).then(function(t){var n=t.data||[];e.$set(e.config.params,"page",e.config.params.page+1),e.$set(e,"items",[].concat(i(e.items),i(t.data))),n.length<e.config.params.limit&&e.$set(e,"hasMoreItems",!1),e.$set(e.config,"loadingData",!1),e.$set(e.config,"errorLoadingData",!1)},function(){e.$set(e.config,"loadingData",!1),e.$set(e.config,"errorLoadingData",!0)})}}})}}}).call(e,n(11))},function(t,e,n){(function(t){"use strict";n(357);var e={default:{},featuredNews:{items:1,nav:!0,rtl:!0,loop:!0,autoplay:!0,autoplayHoverPause:!0,navText:["",""]}};t(".owl-carousel").each(function(n,r){var i=t(r),o=i.data("identity")||"default",s=e[o];i.owlCarousel(s)})}).call(e,n(11))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var o=n(65),s=r(o),a=n(11),l=r(a);e.default={comment:null,init:function(t){this.modal=new Vue({name:"Comment",el:"#comment-form",template:"#comment-template",data:function(){return{contentId:null,config:{isSubmitted:!1,isProcessing:!1,isEmailFocused:!1,hasErrorInSubmission:!1,validators:{email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},form:{recaptcha:{isValid:!0},name:{value:"",isValid:!0},text:{value:"",isValid:!0},email:{value:"",isValid:!0},captcha:""},list:[]}},methods:{getList:function(){var t=this;l.default.ajax({method:"GET",dataType:"JSON",contentType:"application/json",url:s.default.baseUrl+"/contents/"+this.contentId+"/comments"}).then(function(e){t.list=[].concat(i(t.list),i(e.data))},null)},recaptchaValue:function(){return window.grecaptcha?window.grecaptcha.getResponse():""},setItemParams:function(t,e){this.list=this.list.map(function(n){return n.id===t&&(n=Object.assign(n,e)),n})},like:function(t){var e=this;this.setItemParams(t,{isProcessing:!0});var n=this.list.find(function(e){return e.id===t});l.default.ajax({method:"PATCH",dataType:"JSON",contentType:"application/json",url:s.default.baseUrl+"/contents/"+this.contentId+"/comments/"+t+"/likes"}).then(function(r){e.setItemParams(t,{isProcessing:!1,likes:n.likes+1})}
112,function(n){e.setItemParams(t,{isProcessing:!1,hasErrorSubmittingLike:!0}),window.setTimeout(function(n){e.setItemParams(t,{hasErrorSubmittingLike:!1})},5e3)})},dislike:function(t){var e=this;this.setItemParams(t,{isProcessing:!0});var n=this.list.find(function(e){return e.id===t});l.default.ajax({method:"PATCH",dataType:"JSON",contentType:"application/json",url:s.default.baseUrl+"/contents/"+this.contentId+"/comments/"+t+"/dislikes"}).then(function(r){e.setItemParams(t,{isProcessing:!1,dislikes:n.dislikes+1})},function(n){e.setItemParams(t,{isProcessing:!1,hasErrorSubmittingDislike:!0}),window.setTimeout(function(n){e.setItemParams(t,{hasErrorSubmittingDislike:!1})},5e3)})},onEmailFocus:function(){this.$set(this.config,"isEmailFocused",!0)},onEmailBlur:function(){this.form.email.value||this.$set(this.config,"isEmailFocused",!1)},validateForm:function(){this.$set(this.form.recaptcha,"isValid",!0),this.$set(this.form.email,"isValid",!0),this.$set(this.form.name,"isValid",!0),this.$set(this.form.text,"isValid",!0),this.$set(this.form,"isValid",!0);var t=!0;return this.form.name.value.trim()||(this.$set(this.form.name,"isValid",!1),t=!1),this.config.validators.email.test(this.form.email.value)||(this.$set(this.form.email,"isValid",!1),t=!1),this.form.text.value.trim()||(this.$set(this.form.text,"isValid",!1),t=!1),this.recaptchaValue()||(this.$set(this.form.recaptcha,"isValid",!1),t=!1),t?Promise.resolve():Promise.reject()},loadMore:function(){},onSubmit:function(t){var e=this;t.preventDefault(),this.validateForm().then(function(t){e.$set(e.config,"isProcessing",!0),e.$set(e.config,"isSubmitted",!1),e.$set(e.config,"hasErrorInSubmission",!1);var n=Object.assign({name:e.form.name.value,text:e.form.text.value,email:e.form.email.value},{reCaptchaResponse:e.recaptchaValue()});l.default.ajax({method:"POST",dataType:"JSON",data:JSON.stringify(n),contentType:"application/json",url:s.default.baseUrl+"/contents/"+e.contentId+"/comments"}).then(function(t){e.$set(e.config,"isSubmitted",!0),e.$set(e.config,"isProcessing",!1)},function(t){e.$set(e.config,"hasErrorInSubmission",!0),e.$set(e.config,"isProcessing",!1),window.setTimeout(function(t){e.$set(e.config,"hasErrorInSubmission",!1)},5e3)})},null)},syncSubmitButtonWidthWithRecaptcha:function(){this.$refs.submitButton&&(this.$refs.submitButton.style.width=window.document.querySelector(".g-recaptcha > div").style.width)},appendRecaptchaScript:function(){return new Promise(function(t){var e=document.createElement("script");e.src="https://www.google.com/recaptcha/api.js?hl=fa&onload=onRecaptchaInitialized",document.body.append(e),t()})}},mounted:function(){var e=this;this.appendRecaptchaScript().then(function(){window.onRecaptchaInitialized=function(t){window.setTimeout(e.syncSubmitButtonWidthWithRecaptcha,2e3)},e.contentId=t,e.getList()})}})}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(131),o=r(i);e.default={actionsBar:null,init:function(t){this.actionsBar=new Vue({name:"ContentActionsBar",el:"#action-buttons-placeholder",template:"#action-buttons-template",data:function(){return{url:"",title:"",summary:"",config:{shareLinkVisible:!1,fontSizeCookieName:"main-text-font-size"},togglerButtons:{socials:!1,shareLink:!1}}},methods:{toggleOpen:function(t){var e=this;this.$set(this.togglerButtons,t,!this.togglerButtons[t]),Object.keys(this.togglerButtons).forEach(function(n){return n!==t&&e.$set(e.togglerButtons,n,!1)})},copyLink:function(){var t=this.$refs.linkInput;t.select();try{document.execCommand("copy")}catch(t){}},resetFontSize:function(){var t=window.document.querySelector(".main-text");o.default.set(this.config.fontSizeCookieName,null),t.style.fontSize="inherit",t.style.lineHeight="inherit";var e=window.document.querySelector(".font-size-warning");e&&e.remove()},changeSize:function(t){var e=window.document.querySelector(".main-text"),n=window.getComputedStyle(e),r=window.parseInt(n.getPropertyValue("font-size"));if(!r)return!1;switch(t){case"+":r++;break;case"-":r--;break;default:r=t}if(r>48||r<8)return!1;if(e.style.fontSize=r+"px",e.style.lineHeight=1.5*r+"px",o.default.set(this.config.fontSizeCookieName,r),!window.document.querySelector(".font-size-warning")){var i=document.createElement("div");i.classList.add("fadeIn"),i.classList.add("message"),i.classList.add("is-info"),i.classList.add("animated"),i.classList.add("text-center"),i.classList.add("font-size-warning"),i.innerHTML='çÃâ ïçòÃâ¡ ÃÂÃËÃâ ê Ãâ¦ÃªÃâ êÃËó÷ ôÃâ¦Ã§ êúÃÅÃÅñ éñïÃ⡠çóê. ïñ õÃËñê Ãâ çîÃËçÃâ ç èÃËïÃâ Êçò ïéÃâ¦Ãâ¡ <i class="mdi mdi-restart"></i> èçÃâçÊõÃÂÃÂÃ⡠çóêÃÂçïÃâ¡ Ãâ Ãâ¦Ã§ÃÅÃÅï.',e.prepe
112nd(i)}},print:function(t){t.preventDefault(),window.print()},initFontSize:function(){var t=window.parseInt(o.default.get(this.config.fontSizeCookieName));return!!t&&void this.changeSize(t)}},mounted:function(){this.url=t.url||"",this.title=t.title||"",this.summary=t.summary||"",this.initFontSize()}})}}},function(t,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}n(147),n(350);var r=n(140),i=e(r);n(136),n(143),n(142),n(95),t(document).ready(function(){i.default.init()})}).call(e,n(11))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(135),o=r(i),s=n(144),a=(r(s),n(138)),l=r(a),c=n(146),u=r(c),h=n(141),p=r(h),f=n(353),d=r(f),g=n(356),v=r(g),m=n(94),y=r(m),b=n(137),w=r(b),x=n(145),_=r(x),T=n(95),C=r(T),S=n(11),E=r(S),k={identifier:"",isHome:function(){return"home"===this.identifier},init:function(){var t=this;(0,E.default)(document).ready(function(e){t.initGeneral(),t.initCurrentPage()})},initGeneral:function(){var t=this;_.default.init(),this.general.prettifyFooterSocialLinksWrapperWidth(),this.general.createStickyMainMenu().then(this.general.handleStickyMenuOnPageScroll,null),(0,E.default)(window).resize(function(){t.general.prettifyFooterSocialLinksWrapperWidth()}),(0,E.default)("#modal-placeholder").length&&this.general.showModal(),this.general.initMobileMenu()},initCurrentPage:function(){if(this.identifier=(0,E.default)("body").data("page"),!this.identifier)return!1;var t=this[this.identifier];"undefined"!=typeof t&&"function"==typeof t.init&&t.init.apply(t,[])},general:{equalizeFeaturedNewsTwins:function(){return new Promise(function(t,e){var n=(0,E.default)(".widget.featured-news li.news-item-row");(0,d.default)(n,function(e){n.each(function(t,e){if(t%2===0){var n=(0,E.default)(e),r=n.next("li"),i=Math.max.apply(null,[n.outerHeight(),r.outerHeight()]);n.css({height:i}),r.not(".clr").css({height:i})}}),t()})})},prettifyFooterSocialLinksWrapperWidth:function(){var t=240,e=(0,E.default)("body > footer"),n=e.children(".container"),r=n.find(".links-wrapper"),i=n.find(".socials-wrapper"),o=n.find(".logo-wrapper");y.default.isXS()?(i.removeAttr("style"),o.removeAttr("style")):(i.css({width:n.width()-r.width()-t}),o.css({width:t}))},createStickyMainMenu:function(){return new Promise(function(t,e){var n=(0,E.default)(".main-menu-wrapper nav > ul").clone(),r=(0,E.default)(".main-sticky-menu-wrapper nav");r.html(n),t()})},handleStickyMenuOnPageScroll:function(){var t=(0,E.default)(".main-menu-wrapper"),e=(0,E.default)(".main-sticky-menu-wrapper"),n=t.offset(),r=.95*(n.top+t.height());(0,E.default)(window).scroll((0,v.default)(function(t){window.scrollY-10>r?e.addClass("is-visible"):e.removeClass("is-visible")},10))},showModal:function(){C.default.init()},initMobileMenu:function(){return new Promise(function(t){var e=(0,E.default)('.toggler-button[role="menu"]'),n=(0,E.default)(".main-menu-wrapper nav > ul").clone(),r=(0,E.default)(".mobile-menu-wrapper nav"),i=(0,E.default)("body");n.find("li").removeClass("pull-right").each(function(t,e){var n=(0,E.default)(e),r=n.children("a").first();if(n.is(".has-children")){var i={up:(0,E.default)("<i>").addClass("mdi mdi-chevron-up"),down:(0,E.default)("<i>").addClass("mdi mdi-chevron-down")},o=(0,E.default)("<button>").addClass("toggler-button button is-transparent");o.append(i.up).append(i.down),o.on("click",function(t){t.preventDefault(),n.toggleClass("is-open")}),o.insertAfter(r)}}),e.on("click",function(t){t.preventDefault(),i.toggleClass("has-open-menu")}),r.html(n)})}},single:{init:function(){this.initCommentComponent(),this.initVideoPlayer(),this.initPhotoGallery(),this.initMainContentGallery(),this.persianizeNumbers(),l.default.init(window.actionButtonsBarData||{})},persianizeNumbers:function(){y.default.traverseToLeaf(document.querySelector(".primary"))},initMainContentGallery:function(){var t=(0,E.default)(".m3g-gallery"),e=(0,E.default)("<div/>").addClass("m3g-gallery initialized owl-carousel owl-theme");t.children("img").each(function(t,n){var r=(0,E.default)("<div/>").addClass("item").html(n);e.append(r)}),t.replaceWith(e),e.owlCarousel({items:1,nav:!0,rtl:!0,loop:!0,autoplay:!0,navText:["",""]})}
112,initCommentComponent:function(){if((0,E.default)("#comment-form").length){var t=window.document.querySelector(".content-id");w.default.init(t.value)}},initVideoPlayer:function(){u.default.init()},initPhotoGallery:function(){p.default.init()}},home:{init:function(){var t=this;this.equalizeLatestPicturesThumbnailsHeight(),y.default.isXS()?k.general.equalizeFeaturedNewsTwins():(this.equalizeFeaturedSmallPostHeightWithSlider(),k.general.equalizeFeaturedNewsTwins().then(this.equalizeFeaturedNewsAndLatestNewsHeight)),(0,E.default)(window).resize(function(){var e=this;setTimeout(function(){y.default.isXS()||e.equalizeFeaturedSmallPostHeightWithSlider(),t.equalizeLatestPicturesThumbnailsHeight()},1e3)})},equalizeFeaturedSmallPostHeightWithSlider:function(){(0,E.default)(".featured-small-post-wrapper").css({height:(0,E.default)(".content-slider-wrapper").height()})},equalizeLatestPicturesThumbnailsHeight:function(){var t=this,e=(0,E.default)(".latest-pictures ul > li.item .item-container");return e.removeAttr("style"),!y.default.isXS()&&void(0,d.default)(e,function(n){var r=e.map(function(t,e){return(0,E.default)(e).outerHeight()}),i=Math.max.apply(t,r);e.css({height:i})})},equalizeFeaturedNewsAndLatestNewsHeight:function(){var t=(0,E.default)(".widget.latest-news"),e=t.find(".content-container"),n=(0,E.default)(".widget.featured-news .content-container"),r=(0,E.default)(".widgets-container.widgets-container--left-column"),i={featuredNewsContent:n.outerHeight(),latestNewsWidget:t.height(),latestNewsContentContainer:e.height()};i.latestNewsContentContainer<i.featuredNewsContent||e.css({height:i.featuredNewsContent-(r.height()-i.latestNewsWidget)})}},category:{init:function(){k.general.equalizeFeaturedNewsTwins(),o.default.init({items:window.newsItems})}},video:{init:function(){o.default.init({items:window.videoItems||[],template:"#video-list-template",elementSelector:"#latest-videos-list"})}}};e.default=k},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),o=r(i);n(133);var s={elems:{images:null,primarySection:null,photoSwipeElement:null},gallery:null,init:function(){this.initGallery()},wrap:function(){return'<a href="'+this.src+'" data-fancybox="slide"></a>'},initGallery:function(){var t=(0,o.default)(".main-text");t.find("img").wrap(this.wrap),(0,o.default)("[data-fancybox]").fancybox({loop:!0,lang:"fa",i18n:{fa:{CLOSE:"èóêÃâ ",NEXT:"èùïÃÅ",PREV:"ÃâèÃâÃÅ",ERROR:"Ãâ¦ÃÂêÃËçÊïñîÃËçóêÊïñÃÅçÃÂê Ãâ ôï! Ãâ÷ÃÂçÃâ ÃâÃÂøçêÊïÃÅïñ Ãâ¦Ã¬Ã¯Ã¯Ã§Ãâ êÃâçô Ãâ Ãâ¦Ã§ÃÅÃÅï.",PLAY_START:"âúçò çóÃâçÃÅïôÃË",PLAY_STOP:"êÃËÃâàçóÃâçÃÅïôÃË",FULL_SCREEN:"êÃâ¦Ã§Ãâ¦Ã¢â¬ÅõÃÂÃÂÃâ¡",THUMBS:"êõçÃËÃÅñ èÃâ ïçÃâ ïôêÃÅââ¬ÅÃâ¡Ã§",DOWNLOAD:"ïñÃÅçÃÂê",SHARE:"Ãâ¡Ãâ¦Ã±Ã³Ã§Ãâ ÃÅ",ZOOM:"èòñïââ¬ÅÃâ Ãâ¦Ã§ÃÅÃÅ"}}})}};e.default=s},function(t,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var r=n(134),i=e(r),o={init:function(){var e=t(".podcast-wrapper .aplayer");e.each(function(e,n){var r=t(n),o=r.data("pic")||"",s=new i.default({element:n,theme:"#d9230f",music:{url:r.data("url"),title:r.data("super-title")||"",author:r.data("title")||"",pic:o}});r.data("podcast",s)})}};t(function(){o.init()})}).call(e,n(11))},function(t,e,n){"use strict";var r=n(11);n(355)(r);var i={default:{},latestNews:{axis:"y",theme:"dark-3"}};r(function(){r(".scrollbar-container").each(function(){var t=r(this),e=t.data("scroll-type")||"default",n=i[e];setTimeout(function(){t.mCustomScrollbar(n)},2e3)})})},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={comment:null,init:function(){this.modal=new Vue({name:"Comment",el:"#comment-form",template:"#comment-template",data:{},methods:{onSubmit:function(t){t.preventDefault(),this.validateForm().then(function(){console.log("Gonna submit the form")}
112,function(){console.log("Form is invalid")})}}})}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(131),o=r(i),s=n(65),a=r(s),l=n(11),c=r(l);e.default={component:Vue.extend({name:"Survey",template:"#survey-template",props:{id:Number},data:function(){return{config:{isProcessing:!1,hasErrorInSubmission:!1},surveys:null}},methods:{getList:function(){var t=this;return new Promise(function(e,n){c.default.ajax({method:"GET",dataType:"JSON",contentType:"application/json",url:a.default.baseUrl+"/survey"}).then(function(n){var r=t.populateSurveys(n.data||n||[]);t.surveys=r,e()},n)})},populateSurveys:function(t){return t.map(function(t){var e=t.questions.map(function(t,e){var n=t.id,r=t.text,i=t.options.reduce(function(t,e){return t+e.selectionCount},0),s=0,a=t.options.map(function(e,n){var r=e.id,o=e.text,a=e.selectionCount,l=parseInt(100*a/i);return n<t.options.length-1?s+=l:l=100-s,{id:r,text:o,percent:l}});return{id:n,text:r,options:a,totalCount:i,answer:null,isActive:0===e,answerIsSubmitted:!!o.default.get("survey-"+n)}});return{id:t.id,questions:e,title:"-"===t.summary?null:t.summary}})},onSubmit:function(t,e){var n=this;this.$set(this.config,"isProcessing",!0),this.$set(this.config,"hasErrorInSubmission",!1);var r=this.surveys.findIndex(function(e){return e.id===t}),i=this.surveys[r],s=i.questions.find(function(t){return t.id===e}),l=[{QuestionId:s.id,OptionId:s.answer}];c.default.ajax({method:"POST",dataType:"JSON",data:JSON.stringify(l),contentType:"application/json",url:a.default.baseUrl+"/survey/"+t}).then(function(){var t=n.surveys[r].questions.map(function(t){return t.id===s.id&&(t.answerIsSubmitted=!0),t});n.$set(n.surveys[r],"questions",t),o.default.set("survey-"+s.id,1,{expires:100}),n.$set(n.config,"isProcessing",!1)},function(){n.$set(n.config,"hasErrorInSubmission",!0),n.$set(n.config,"isProcessing",!1),window.setTimeout(function(t){n.$set(n.config,"hasErrorInSubmission",!1)},5e3)})}},mounted:function(){this.getList()}}),init:function(){this.instantiatePlaceholders()},instantiatePlaceholders:function(){var t=this,e=window.document.querySelectorAll(".survey-placeholder");e.forEach(function(e){var n=e.dataset.id||null,r=new t.component({propsData:{id:n}}).$mount();e.appendChild(r.$el)})}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(349);var i=n(11),o=r(i);e.default={player:null,adShown:!1,init:function(){this.initMainVideoPlayer(),this.initBodyVideoPlayers()},initBodyVideoPlayers:function(){var e=(0,o.default)("section.primary video"),n=document.querySelector('meta[name="twitter:image"]'),r=document.querySelector(".logo-container img"),i=n?n.content:r.src;e.each(function(e,n){var r="body-video-"+e;(0,o.default)(n).attr("poster",i).attr("id",r).addClass("video-js"),t(r)})},initMainVideoPlayer:function(){var e=(0,o.default)(".video-player-wrapper"),n=e.children(".ad-wrapper").length>0;if(e.length){var r=this;this.player=t("main-video-player"),n?e.on("click",function(t){return!e.hasClass("is-initialized")&&void(r.adShown?r.player.play():(r.player.pause(),e.addClass("is-showing-ad"),window.setTimeout(function(t){e.removeClass("is-showing-ad").addClass("is-initialized"),r.player.play()},5e3)))}):e.addClass("is-initialized")}}}}).call(e,n(132))},function(t,e,n){(function(t){"use strict";function e(t,e,n){t[e]||Object[r](t,e,{writable:!0,configurable:!0,value:n})}if(n(347),n(359),n(148),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&e(Array,t,Function.call.bind([][t]))})}).call(e,function(){return this}())},function(t,e,n){n(155),t.exports=n(24).RegExp.escape},function(t,e,n){var r=n(5),i=n(55),o=n(6)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(4),i=Date.prototype.getTime,o=Date.prototype.toISOString,
vendor: 4,887 bytes, line 112
112s=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},function(t,e,n){"use strict";var r=n(2),i=n(28),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},function(t,e,n){var r=n(38),i=n(59),o=n(50);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),l=o.f,c=0;a.length>c;)l.call(t,s=a[c++])&&e.push(s);return e}},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var r=n(1),i=n(153)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,e,n){var r=n(1);r(r.P,"Array",{copyWithin:n(97)}),n(31)("copyWithin")},function(t,e,n){"use strict";var r=n(1),i=n(23)(4);r(r.P+r.F*!n(22)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(1);r(r.P,"Array",{fill:n(66)}),n(31)("fill")},function(t,e,n){"use strict";var r=n(1),i=n(23)(2);r(r.P+r.F*!n(22)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(1),i=n(23)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)(o)},function(t,e,n){"use strict";var r=n(1),i=n(23)(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)(o)},function(t,e,n){"use strict";var r=n(1),i=n(23)(0),o=n(22)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(21),i=n(1),o=n(10),s=n(108),a=n(74),l=n(9),c=n(68),u=n(91);i(i.S+i.F*!n(57)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,h,p=o(t),f="function"==typeof this?this:Array,d=arguments.length,g=d>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,d>2?arguments[2]:void 0,2)),void 0==y||f==Array&&a(y))for(e=l(p.length),n=new f(e);e>m;m++)c(n,m,v?g(p[m],m):p[m]);else for(h=y.call(p),n=new f;!(i=h.next()).done;m++)c(n,m,v?s(h,g,[i.value,m],!0):i.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(1),i=n(51)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n(22)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){var r=n(1);r(r.S,"Array",{isArray:n(55)})},function(t,e,n){"use strict";var r=n(1),i=n(19),o=[].join;r(r.P+r.F*(n(49)!=Object||!n(22)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(1),i=n(19),o=n(27),s=n(9),a=[].lastIndexOf,l=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(22)(a)),"Array",{lastIndexOf:function(t){if(l)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){"use strict";var r=n(1),i=n(23)(1);r(r.P+r.F*!n(22)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(1),i=n(68);r(r.S+r.F*n(4)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(1),i=n(99);r(r.P+r.F*!n(22)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(1),i=n(99);r(r.P+r.F*!n(22)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(1),i=n(72),o=n(20),s=n(42),a=n(9),l=[].slice;r(r.P+r.F*n(4)(function(){i&&l.call(i)}),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return l.call(this,t,e);for(var i=s(t,n),c=s(e,n),u=a(c-i),h=new Array(u),p=0;p<u;p++)h[p]="String"==r?this.charAt(i+p):this[i+p];return h}})},function(t,e,n){"use strict";var r=n(1),i=n(23)(3);r(r.P+r.F*!n(22)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(10),s=n(4),a=[].sort,l=[1,2,3];
vendor: 6,628 bytes, line 112
112r(r.P+r.F*(s(function(){l.sort(void 0)})||!s(function(){l.sort(null)})||!n(22)(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),i(t))}})},function(t,e,n){n(41)("Array")},function(t,e,n){var r=n(1);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){var r=n(1),i=n(150);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){"use strict";var r=n(1),i=n(10),o=n(28);r(r.P+r.F*n(4)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(6)("toPrimitive"),i=Date.prototype;r in i||n(14)(i,r,n(151))},function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n(15)(r,o,function(){var t=a.call(this);return t===t?s.call(this):i})},function(t,e,n){var r=n(1);r(r.P,"Function",{bind:n(100)})},function(t,e,n){"use strict";var r=n(5),i=n(18),o=n(6)("hasInstance"),s=Function.prototype;o in s||n(8).f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in i||n(7)&&r(i,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){var r=n(1),i=n(111),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(1),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(1),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(1),i=n(78);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(1);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(1),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(1),i=n(77);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(1);r(r.S,"Math",{fround:n(110)})},function(t,e,n){var r=n(1),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,l=0;s<a;)n=i(arguments[s++]),l<n?(r=l/n,o=o*r*r+1,l=n):n>0?(r=n/l,o+=r*r):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(t,e,n){var r=n(1),i=Math.imul;r(r.S+r.F*n(4)(function(){return i(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){var r=n(1);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(1);r(r.S,"Math",{log1p:n(111)})},function(t,e,n){var r=n(1);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(1);r(r.S,"Math",{sign:n(78)})},function(t,e,n){var r=n(1),i=n(77),o=Math.exp;r(r.S+r.F*n(4)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(1),i=n(77),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(1);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var r=n(3),i=n(13),o=n(20),s=n(73),a=n(28),l=n(4),c=n(37).f,u=n(17).f,h=n(8).f,p=n(46).trim,f="Number",d=r[f],g=d,v=d.prototype,m=o(n(36)(v))==f,y="trim"in String.prototype,b=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():p(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,l=e.slice(2),c=0,u=l.length;c<u;c++)if(s=l.charCodeAt(c),s<48||s>i)return NaN;return parseInt(l,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(m?l(function(){v.valueOf.call(n)}):o(n)!=f)?s(new g(b(e)),n,d):b(e)};for(var w,x=n(7)?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)i(g,w=x[_])&&!i(d,w)&&h(d,w,u(g,w));d.prototype=v,v.constructor=d,n(15)(r,f,d)}},function(t,e,n){var r=n(1);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(1),i=n(3).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(1);r(r.S,"Number",{isInteger:n(107)})},function(t,e,n){var r=n(1);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(1),i=n(107),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(1);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(1);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(1),i=n(119);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(1),i=n(120);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){"use strict";var r=n(1),i=n(27),o=n(96),s=n(85),a=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",h="0",p=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=l(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+s.call(h,7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(4)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,l=o(this,u),c=i(t),m="",y=h;if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(e=v(l*g(2,69,1))-69,n=e<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,e=52-e,e>
vendor: 4,173 bytes, lines 112-113
1120){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(g(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<<r),p(1,1),f(2),y=d()}else p(0,n),p(1<<-e,0),y=d()+s.call(h,c);return c>0?(a=y.length,y=m+(a<=c?"0."+s.call(h,c-a)+y:y.slice(0,a-c)+"."+y.slice(a-c))):y=m+y,y}})},function(t,e,n){"use strict";var r=n(1),i=n(4),o=n(96),s=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==s.call(1,void 0)})||!i(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},function(t,e,n){var r=n(1);r(r.S+r.F,"Object",{assign:n(113)})},function(t,e,n){ 113var r=n(1);r(r.S,"Object",{create:n(36)})},function(t,e,n){var r=n(1);r(r.S+r.F*!n(7),"Object",{defineProperties:n(114)})},function(t,e,n){var r=n(1);r(r.S+r.F*!n(7),"Object",{defineProperty:n(8).f})},function(t,e,n){var r=n(5),i=n(32).onFreeze;n(26)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(19),i=n(17).f;n(26)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){n(26)("getOwnPropertyNames",function(){return n(115).f})},function(t,e,n){var r=n(10),i=n(18);n(26)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(5);n(26)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(5);n(26)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(5);n(26)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(1);r(r.S,"Object",{is:n(154)})},function(t,e,n){var r=n(10),i=n(38);n(26)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(5),i=n(32).onFreeze;n(26)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(5),i=n(32).onFreeze;n(26)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(1);r(r.S,"Object",{setPrototypeOf:n(81).set})},function(t,e,n){"use strict";var r=n(48),i={};i[n(6)("toStringTag")]="z",i+""!="[object z]"&&n(15)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(1),i=n(119);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(1),i=n(120);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){"use strict";var r,i,o,s,a=n(35),l=n(3),c=n(21),u=n(48),h=n(1),p=n(5),f=n(12),d=n(33),g=n(34),v=n(63),m=n(87).set,y=n(79)(),b=n(80),w=n(121),x=n(122),_="Promise",T=l.TypeError,C=l.process,S=l[_],E="process"==u(C),k=function(){},A=i=b.f,P=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n(6)("species")]=function(t){t(k,k)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e}catch(t){}}(),M=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s=i?e.ok:e.fail,a=e.resolve,l=e.reject,c=e.domain;try{s?(i||(2==t._h&&L(t),t._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&c.exit()),n===e.promise?l(T("Promise-chain cycle")):(o=M(n))?o.call(n,a,l):a(n)):l(r)}catch(t){l(t)}};n.length>o;)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){m.call(l,function(){var e,n,r,i=t._v,o=O(t);if(o&&(e=w(function(){E?C.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=E||O(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},O=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){m.call(l,function(){var e;E?C.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=M(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,c(B,r,1),c(N,r,1))}catch(t){N.call(r,t)}}):(n._v=t,n._s=1,j(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};P||(S=function(t){d(this,S,_,"_h"),f(t),r.call(this);try{t(c(B,this,1),c(N,this,1))}
vendor: 4,665 bytes, line 113
113catch(t){N.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(40)(S.prototype,{then:function(t,e){var n=A(v(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(B,t,1),this.reject=c(N,t,1)},b.f=A=function(t){return t===S||t===s?new o(t):i(t)}),h(h.G+h.W+h.F*!P,{Promise:S}),n(45)(S,_),n(41)(_),s=n(24)[_],h(h.S+h.F*!P,_,{reject:function(t){var e=A(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(a||!P),_,{resolve:function(t){return x(a&&this===s?S:this,t)}}),h(h.S+h.F*!(P&&n(57)(function(t){S.all(t).catch(k)})),_,{all:function(t){var e=this,n=A(e),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,s=1;g(t,!1,function(t){var a=o++,l=!1;n.push(void 0),s++,e.resolve(t).then(function(t){l||(l=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=A(e),r=n.reject,i=w(function(){g(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){var r=n(1),i=n(12),o=n(2),s=(n(3).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n(4)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),l=o(n);return s?s(r,e,l):a.call(r,e,l)}})},function(t,e,n){var r=n(1),i=n(36),o=n(12),s=n(2),a=n(5),l=n(4),c=n(100),u=(n(3).Reflect||{}).construct,h=l(function(){function t(){}return!(u(function(){},[],t)instanceof t)}),p=!l(function(){u(function(){})});r(r.S+r.F*(h||p),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(p&&!h)return u(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var l=n.prototype,f=i(a(l)?l:Object.prototype),d=Function.apply.call(t,f,e);return a(d)?d:f}})},function(t,e,n){var r=n(8),i=n(1),o=n(2),s=n(28);i(i.S+i.F*n(4)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),i=n(17).f,o=n(2);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(1),i=n(2),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(75)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(17),i=n(1),o=n(2);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(1),i=n(18),o=n(2);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){function r(t,e){var n,a,u=arguments.length<3?t:arguments[2];return c(t)===u?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:l(a=o(t))?r(a,e,u):void 0}var i=n(17),o=n(18),s=n(13),a=n(1),l=n(5),c=n(2);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(1);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(1),i=n(2),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(1);r(r.S,"Reflect",{ownKeys:n(118)})},function(t,e,n){var r=n(1),i=n(2),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),i=n(81);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var l,p,f=arguments.length<4?t:arguments[3],d=o.f(u(t),e);if(!d){if(h(p=s(t)))return r(p,e,n,f);d=c(0)}return a(d,"value")?!(d.writable===!1||!h(f))&&(l=o.f(f,e)||c(0),l.value=n,i.f(f,e,l),!0):void 0!==d.set&&(d.set.call(f,n),!0)}var i=n(8),o=n(17),s=n(18),a=n(13),l=n(1),c=n(39),u=n(2),h=n(5);l(l.S,"Reflect",{set:r})},function(t,e,n){var r=n(3),i=n(73),o=n(8).f,s=n(37).f,a=n(56),l=n(54),c=r.RegExp,u=c,h=c.prototype,p=/a/g,f=/a/g,d=new c(p)!==p;if(n(7)&&(!d||n(4)(function(){return f[n(6)("match")]=!1,c(p)!=p||c(f)==f||"/a/i"!=c(p,"i")}))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(d?new u(r&&!o?t.source:t,e):u((r=t instanceof c)?t.source:t,r&&o?l.call(t):e),n?this:
113h,c)};for(var g=(function(t){t in c||o(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})}),v=s(u),m=0;v.length>m;)g(v[m++]);h.constructor=c,c.prototype=h,n(15)(r,"RegExp",c)}n(41)("RegExp")},function(t,e,n){n(53)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(53)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(53)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(53)("split",2,function(t,e,r){"use strict";var i=n(56),o=r,s=[].push,a="split",l="length",c="lastIndex";if("c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[l]||2!="ab"[a](/(?:ab)*/)[l]||4!="."[a](/(.?)(.?)/)[l]||"."[a](/()()/)[l]>1||""[a](/.?/)[l]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,a,h,p,f,d=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,m=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,g+"g");for(u||(r=new RegExp("^"+y.source+"$(?!\\s)",g));(a=y.exec(n))&&(h=a.index+a[0][l],!(h>v&&(d.push(n.slice(v,a.index)),!u&&a[l]>1&&a[0].replace(r,function(){for(f=1;f<arguments[l]-2;f++)void 0===arguments[f]&&(a[f]=void 0)}),a[l]>1&&a.index<n[l]&&s.apply(d,a.slice(1)),p=a[0][l],v=h,d[l]>=m)));)y[c]===a.index&&y[c]++;return v===n[l]?!p&&y.test("")||d.push(""):d.push(n.slice(v)),d[l]>m?d.slice(0,m):d}}else"0"[a](void 0,0)[l]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";n(127);var r=n(2),i=n(54),o=n(7),s="toString",a=/./[s],l=function(t){n(15)(RegExp.prototype,s,t,!0)};n(4)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?l(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):a.name!=s&&l(function(){return a.call(this)})},function(t,e,n){"use strict";n(16)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(16)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(16)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(16)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";var r=n(1),i=n(83)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(1),i=n(9),o=n(84),s="endsWith",a=""[s];r(r.P+r.F*n(71)(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),l=void 0===n?r:Math.min(i(n),r),c=String(t);return a?a.call(e,c,l):e.slice(l-c.length,l)===c}})},function(t,e,n){"use strict";n(16)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(16)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(16)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){var r=n(1),i=n(42),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(1),i=n(84),o="includes";r(r.P+r.F*n(71)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(16)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";var r=n(83)(!0);n(76)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";n(16)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var r=n(1),i=n(19),o=n(9);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a<r&&s.push(String(arguments[a]));return s.join("")}})},function(t,e,n){var r=n(1);r(r.P,"String",{repeat:n(85)})},function(t,e,n){"use strict";n(16)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";var r=n(1),i=n(9),o=n(84),s="startsWith",a=""[s];r(r.P+r.F*n(71)(s),"String",{startsWith:function(t){var e=o(this,t,s),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(16)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(16)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(16)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(46)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(3),i=n(13),o=n(7),s=n(1),a=n(15),l=n(32).KEY,c=n(4),u=n(62),h=n(45),p=n(43),f=n(6),d=n(125),g=n(90),v=n(152),m=n(55),y=n(2),b=n(5),w=n(19),x=n(28),_=n(39),T=n(36),C=n(115),S=n(17),E=n(8),k=n(38),A=S.f,P=E.f,M=C.f,j=r.Symbol,I=r.JSON,O=I&&I.stringify,L="prototype",N=f("_hidden"),B=f("toPrimitive"),D={}.propertyIsEnumerable,R=u("symbol-registry"),F=u("symbols"),$=u("op-symbol
113s"),z=Object[L],H="function"==typeof j,q=r.QObject,W=!q||!q[L]||!q[L].findChild,U=o&&c(function(){return 7!=T(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=A(z,e);r&&delete z[e],P(t,e,n),r&&t!==z&&P(z,e,r)}:P,V=function(t){var e=F[t]=T(j[L]);return e._k=t,e},Y=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},X=function(t,e,n){return t===z&&X($,e,n),y(t),e=x(e,!0),y(n),i(F,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=T(n,{enumerable:_(0,!1)})):(i(t,N)||P(t,N,_(1,{})),t[N][e]=!0),U(t,e,n)):P(t,e,n)},G=function(t,e){y(t);for(var n,r=v(e=w(e)),i=0,o=r.length;o>i;)X(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?T(t):G(T(t),e)},K=function(t){var e=D.call(this,t=x(t,!0));return!(this===z&&i(F,t)&&!i($,t))&&(!(e||!i(this,t)||!i(F,t)||i(this,N)&&this[N][t])||e)},Z=function(t,e){if(t=w(t),e=x(e,!0),t!==z||!i(F,e)||i($,e)){var n=A(t,e);return!n||!i(F,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=M(w(t)),r=[],o=0;n.length>o;)i(F,e=n[o++])||e==N||e==l||r.push(e);return r},tt=function(t){for(var e,n=t===z,r=M(n?$:w(t)),o=[],s=0;r.length>s;)!i(F,e=r[s++])||n&&!i(z,e)||o.push(F[e]);return o};H||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call($,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),U(this,t,_(1,n))};return o&&W&&U(z,t,{configurable:!0,set:e}),V(t)},a(j[L],"toString",function(){return this._k}),S.f=Z,E.f=X,n(37).f=C.f=Q,n(50).f=K,n(59).f=tt,o&&!n(35)&&a(z,"propertyIsEnumerable",K,!0),d.f=function(t){return V(f(t))}),s(s.G+s.W+s.F*!H,{Symbol:j});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)f(et[nt++]);for(var rt=k(f.store),it=0;rt.length>it;)g(rt[it++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(R,t+="")?R[t]:R[t]=j(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!H,"Object",{create:J,defineProperty:X,defineProperties:G,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),I&&s(s.S+s.F*(!H||c(function(){var t=j();return"[null]"!=O([t])||"{}"!=O({a:t})||"{}"!=O(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!Y(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,O.apply(I,r)}}),j[L][B]||n(14)(j[L],B,j[L].valueOf),h(j,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(1),i=n(64),o=n(88),s=n(2),a=n(42),l=n(9),c=n(5),u=n(3).ArrayBuffer,h=n(63),p=o.ArrayBuffer,f=o.DataView,d=i.ABV&&u.isView,g=p.prototype.slice,v=i.VIEW,m="ArrayBuffer";r(r.G+r.W+r.F*(u!==p),{ArrayBuffer:p}),r(r.S+r.F*!i.CONSTR,m,{isView:function(t){return d&&d(t)||c(t)&&v in t}}),r(r.P+r.U+r.F*n(4)(function(){return!new p(2).slice(1,void 0).byteLength}),m,{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(s(this),t);for(var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(h(this,p))(l(i-r)),c=new f(this),u=new f(o),d=0;r<i;)u.setUint8(d++,c.getUint8(r++));return o}}),n(41)(m)},function(t,e,n){var r=n(1);r(r.G+r.W+r.F*!n(64).ABV,{DataView:n(88).DataView})},function(t,e,n){n(30)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(30)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){"use strict";var r=n(103),i=n(47),o="WeakSet";n(52)(o,function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,o),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(1),i=n(104),o=n(10),s=n(9),a=n(12),l=n(67);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=s(r.length),n=l(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(31)("flatMap")},function(t,e,n){"use strict";var r=n(1),i=n(104),o=n(10),s=n(9),a=n(27),l=n(67);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=s(e.length),r=l(e,0);return i(r,e,e,n,0,void 0===t?1:a(t)),r}}),n(31)("flatten")},function(t,e,n){"use strict";var r=n(1),i=n(51)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("includes")},function(t,e,n){var r=n(1),i=n(79)(),o=n(3).process,s="process"==n(20)(o);r(r.G,{asap:function(t){var e=s&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(1),i=n(20);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(1);r(r.G,{global:n(3)})},function(t,e,n){n(60)("Map")},function(t,e,n){n(61)("Map")},function(t,e,n){var r=n(1);r(r.P+r.R,"Map",{toJSON:n(102)("Map")})},function(t,e,n){var r=n(1);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){var r=n(1);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){var r=n(1),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,e,n){var r=n(1),i=n(112),o=n(110);r(r.S,"Math",{fscale:function(t,e,n,r,s){return o(i(t,e,n,r,s))}})},function(t,e,n){var r=n(1);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o+(r>>>0)+((i&s|(i|s)&~(i+s>>>0))>>>31)|0}})},function(t,e,n){var r=n(1);r(r.S,"Math",{imulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>16,l=i>>16,c=(a*s>>>0)+(o*s>>>16);return a*l+(c>>16)+((o*l>>>0)+(c&n)>>16)}})},function(t,e,n){var r=n(1);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o-(r>>>0)-((~i&s|~(i^s)&i-s>>>0)>>>31)|0}})},function(t,e,n){var r=n(1);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){var r=n(1),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,e,n){var r=n(1);r(r.S,"Math",{scale:n(112)})},function(t,e,n){var r=n(1);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){var r=n(1);r(r.S,"Math",{umulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>>16,l=i>>>16,c=(a*s>>>0)+(o*s>>>16);return a*l+(c>>>16)+((o*l>>>0)+(c&n)>>>16)}})},function(t,e,n){"use strict";var r=n(1),i=n(10),o=n(12),s=n(8);n(7)&&r(r.P+n(58),"Object",{__defineGetter__:function(t,e){s.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(1),i=n(10),o=n(12),s=n(8);n(7)&&r(r.P+n(58),"Object",{__defineSetter__:function(t,e){s.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),i=n(117)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){var r=n(1),i=n(118),o=n(19),s=n(17),a=n(68);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),l=s.f,c=i(r),u={},h=0;c.length>h;)n=l(r,e=c[h++]),void 0!==n&&a(u,e,n);return u}})},function(t,e,n){"use strict";var r=n(1),i=n(10),o=n(28),s=n(18),a=n(17).f;n(7)&&r(r.P+n(58),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do if(e=a(n,r))return e.get;while(n=s(n))}})},function(t,e,n){"use strict";var r=n(1),i=n(10),o=n(28),s=n(18),a=n(17).f;n(7)&&r(r.P+n(58),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do if(e=a(n,r))return e.set;while(n=s(n))}})},function(t,e,n){var r=n(1),i=n(117)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){"use strict";var r=n(1),i=n(3),o=n(24),s=n(79)(),a=n(6)("observable"),l=n(12),c=n(2),u=n(33),h=n(40),p=n(14),f=n(34),d=f.RETURN,g=function(t){return null==t?void 0:l(t)},v=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},y=function(t){m(t)||(t._o=void 0,v(t))},b=function(t,e){c(t),this._c=void 0,this._o=t,t=new w(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:l(n),this._c=n)}catch(e){return void t.error(e)}m(this)&&v(this)};b.prototype=h({},{unsubscribe:function(){y(this)}});var w=function(t){this._s=t};w.prototype=h({},{next:function(t){var e=this._s;if(!m(e)){var n=e._o;try{var r=g(n.next);if(r)return r.call(n,t)}catch(t){try{y(e)}finally{throw t}}}},error:function(t){var e=this._s;if(m(e))throw t;var n=e._o;e._o=void 0;try{var r=g(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{v(e)}finally{throw t}}return v(e),t},complete:function(t){var e=this._s;if(!m(e)){var n=e._o;e._o=void 0;try{var r=g(n.complete);t=r?r.call(n,t):void 0}catch(t){try{v(e)}finally{throw t}}return v(e),t}}});var x=function(t){u(this,x,"Observable","_f")._f=l(t)};h(x.prototype,{subscribe:function(t){return new b(t,this._f)}
vendor: 6,631 bytes, line 113
113,forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(n,r){l(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:n})})}}),h(x,{from:function(t){var e="function"==typeof this?this:x,n=g(c(t)[a]);if(n){var r=c(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return s(function(){if(!n){try{if(f(t,!1,function(t){if(e.next(t),n)return d})===d)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:x)(function(t){var e=!1;return s(function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}}),function(){e=!0}})}}),p(x.prototype,a,function(){return this}),r(r.G,{Observable:x}),n(41)("Observable")},function(t,e,n){"use strict";var r=n(1),i=n(24),o=n(3),s=n(63),a=n(122);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(121);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(29),i=n(2),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},function(t,e,n){var r=n(29),i=n(2),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var l=a.get(e);return l.delete(n),!!l.size||a.delete(e)}})},function(t,e,n){var r=n(128),i=n(98),o=n(29),s=n(2),a=n(18),l=o.keys,c=o.key,u=function(t,e){var n=l(t,e),o=a(t);if(null===o)return n;var s=u(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return u(s(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(29),i=n(2),o=n(18),s=r.has,a=r.get,l=r.key,c=function(t,e,n){var r=s(t,e,n);if(r)return a(t,e,n);var i=o(e);return null!==i?c(t,i,n):void 0};r.exp({getMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:l(arguments[2]))}})},function(t,e,n){var r=n(29),i=n(2),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){var r=n(29),i=n(2),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(29),i=n(2),o=n(18),s=r.has,a=r.key,l=function(t,e,n){var r=s(t,e,n);if(r)return!0;var i=o(e);return null!==i&&l(t,i,n)};r.exp({hasMetadata:function(t,e){return l(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(29),i=n(2),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(29),i=n(2),o=n(12),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},function(t,e,n){n(60)("Set")},function(t,e,n){n(61)("Set")},function(t,e,n){var r=n(1);r(r.P+r.R,"Set",{toJSON:n(102)("Set")})},function(t,e,n){"use strict";var r=n(1),i=n(83)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(1),i=n(25),o=n(9),s=n(56),a=n(54),l=RegExp.prototype,c=function(t,e){this._r=t,this._s=e};n(75)(c,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(i(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in l?String(t.flags):a.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new c(r,e)}})},function(t,e,n){"use strict";var r=n(1),i=n(123),o=n(89);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";var r=n(1),i=n(123),o=n(89);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";n(46)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(46)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){n(90)("asyncIterator")},function(t,e,n){n(90)("observable")},function(t,e,n){var r=n(1);r(r.S,"System",{global:n(3)})},function(t,e,n){n(60)("WeakMap")},function(t,e,n){n(61)("WeakMap")},function(t,e,n){n(60)("WeakSet")},function(t,e,n){n(61)("WeakSet")},function(t,e,n){for(var r=n(92),i=n(38),o=n(15),s=n(3),a=n(14),l=n(44),c=n(6),u=c("iterator"),h=c("toStringTag"),p=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(f),g=0;g<d.length;g++){var v,m=d[g],y=f[m],b=s[m],w=b&&b.prototype;if(w&&(w[u]||a(w,u,p),w[h]||a(w,h,m),l[m]=p,y))for(v in r)w[v]||o(w,v,r[v],!0)}},function(t,e,n){var r=n(1),i=n(87);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){var r=n(3),i=n(1),o=n(89),s=[].slice,a=/MSIE .\./.test(o),l=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&s.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(t,e,n){n(275),n(214),n(216),n(215),n(218),n(220),n(225),n(219),n(217),n(227),n(226),n(222),n(223),n(221),n(213),n(224),n(228),n(229),n(181),n(183),n(182),n(231),n(230),n(201),n(211),n(212),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(262),n(267),n(274),n(265),n(257),n(258),n(263),n(268),n(270),n(253),n(254),n(255),n(256),n(259),n(260),n(261),n(264),n(266),n(269),n(271),n(272),n(273),n(176),n(178),n(177),n(180),n(179),n(165),n(163),n(169),n(166),n(172),n(174),n(162),n(168),n(159),n(173),n(1
11357),n(171),n(170),n(164),n(167),n(156),n(158),n(161),n(160),n(175),n(92),n(247),n(252),n(127),n(248),n(249),n(250),n(251),n(232),n(126),n(128),n(129),n(287),n(276),n(277),n(282),n(285),n(286),n(280),n(283),n(281),n(284),n(278),n(279),n(233),n(234),n(235),n(236),n(237),n(240),n(238),n(239),n(241),n(242),n(243),n(244),n(246),n(245),n(290),n(288),n(289),n(331),n(334),n(333),n(335),n(336),n(332),n(337),n(338),n(312),n(315),n(311),n(309),n(310),n(313),n(314),n(296),n(330),n(295),n(329),n(341),n(343),n(294),n(328),n(340),n(342),n(293),n(339),n(292),n(297),n(298),n(299),n(300),n(301),n(303),n(302),n(304),n(305),n(306),n(308),n(307),n(317),n(318),n(319),n(320),n(322),n(321),n(324),n(323),n(325),n(326),n(327),n(291),n(316),n(346),n(345),n(344),t.exports=n(24)},function(t,e,n){var r,i;!function(o,s){r=s,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i))}("undefined"!=typeof window?window:this,function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return r.indexOf(e)==-1&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{},r=n[t]=n[t]||{};return r[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return r!=-1&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],i=0;i<n.length;i++){var o=n[i],s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})},function(t,e,n){(function(e){t.exports=e.videojs=n(132)}).call(e,function(){return this}())},function(t,e){},function(t,e,n){function r(t,e,n){if(!a(e))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===l.call(t)?i(t,e,n):"string"==typeof t?o(t,e,n):s(t,e,n); 114}function i(t,e,n){for(var r=0,i=t.length;r<i;r++)c.call(t,r)&&e.call(n,t[r],r,t)}function o(t,e,n){for(var r=0,i=t.length;r<i;r++)e.call(n,t.charAt(r),r,t)}function s(t,e,n){for(var r in t)c.call(t,r)&&e.call(n,t[r],r,t)}var a=n(130);t.exports=r;var l=Object.prototype.toString,c=Object.prototype.hasOwnProperty},function(t,e,n){(function(e){var r,i="undefined"!=typeof e?e:"undefined"!=typeof window?window:{},o=n(369);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o)),t.exports=r}).call(e,function(){return this}())},function(t,e,n){var r,i;/*! 115 * imagesLoaded v4.1.4 116 * JavaScript is all like "You images are done yet or what?" 117 * MIT License 118 */ 119!function(o,s){"use strict";r=[n(348)],i=function(t){return s(o,t)}.apply(e,r),!(void 0!==i&&(t.exports=i))}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e){for(var n in e)t[n]=e[n];return t}function r(t){if(Array.isArray(t))return t;var e="object"==typeof t&&"number"==typeof t.length;return e?c.call(t):[t]}function i(t,e,o){if(!(this instanceof i))return new i(t,e,o);var s=t;return"string"==typeof t&&(s=document.querySelectorAll(t)),s?(this.elements=r(s),this.options=n({},this.options),"function"==typeof e?o=e:n(this.options,e),o&&this.on("always",o),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(s||t))}function o(t){this.img=t}function s(t,e){this.url=t,this.element=e,this.img=new Image}var a=t.jQuery,l=t.console,c=Array.prototype.slice;i.prototype=Object.create(e.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&u[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var i=n[r];this.addImage(i)}if("string"==typeof this.options.background){var o=t.querySelectorAll(this.options.background);for(r=0;r<o.length;r++){var s=o[r];
119this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return i.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var i=r&&r[2];i&&this.addBackground(i,t),r=n.exec(e.backgroundImage)}},i.prototype.addImage=function(t){var e=new o(t);this.images.push(e)},i.prototype.addBackground=function(t,e){var n=new s(t,e);this.images.push(n)},i.prototype.check=function(){function t(t,n,r){setTimeout(function(){e.progress(t,n,r)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},i.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+n,t,e)},i.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){var t=this.getIsImageComplete();return t?void 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),void(this.proxyImage.src=this.img.src))},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(o.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var t=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},i.makeJQueryPlugin=function(e){e=e||t.jQuery,e&&(a=e,a.fn.imagesLoaded=function(t,e){var n=new i(this,t,e);return n.jqDeferred.promise(a(this))})},i.makeJQueryPlugin(),i})},function(t,e,n){var r=!1;(function(){/*! 120 * jQuery Mousewheel 3.1.13 121 * 122 * Copyright jQuery Foundation and other contributors 123 * Released under the MIT license 124 * http://jquery.org/license 125 */ 126!function(e){"function"==typeof r&&r.amd?r(["jquery"],e):t.exports=e}(function(t){function e(e){var s=e||window.event,a=l.call(arguments,1),c=0,h=0,p=0,f=0,d=0,g=0;if(e=t.event.fix(s),e.type="mousewheel","detail"in s&&(p=s.detail*-1),"wheelDelta"in s&&(p=s.wheelDelta),"wheelDeltaY"in s&&(p=s.wheelDeltaY),"wheelDeltaX"in s&&(h=s.wheelDeltaX*-1),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(h=p*-1,p=0),c=0===p?h:p,"deltaY"in s&&(p=s.deltaY*-1,c=p),"deltaX"in s&&(h=s.deltaX,0===p&&(c=h*-1)),0!==p||0!==h){if(1===s.deltaMode){var v=t.data(this,"mousewheel-line-height");c*=v,p*=v,h*=v}else if(2===s.deltaMode){var m=t.data(this,"mousewheel-page-height");c*=m,p*=m,h*=m}if(f=Math.max(Math.abs(p),Math.abs(h)),(!o||f<o)&&(o=f,r(s,f)&&(o/=40)),r(s,f)&&(c/=40,h/=40,p/=40),c=Math[c>=1?"floor":"ceil"](c/o),h=Math[h>=1?"floor":"ceil"](h/o),p=Math[p>=1?"floor":"ceil"](p/o),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();d=e.clientX-y.left,g=e.clientY-y.top}return e.deltaX=h,e.deltaY=p,e.deltaFactor=o,e.offsetX=d,e.offsetY=g,e.deltaMode=0,a.unshift(e,c,h,p),i&&clearTimeout(i),i=setTimeout(n,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function n(){o=null}function r(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120===0}var i,o,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>
vendor: 39,569 bytes, lines 126-127
126=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=s.length;c;)t.event.fixHooks[s[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var n=t(e),r=n["offsetParent"in t.fn?"offsetParent":"parent"]();return r.length||(r=t("body")),parseInt(r.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})})}).call(window)},function(t,e,n){(function(e){var r=!1;(function(){!function(n){"function"==typeof r&&r.amd?r(["jquery"],n):"undefined"!=typeof t&&t.exports?t.exports=n:n(e,window,document)}(function(e){!function(i){var o="function"==typeof r&&r.amd,s="undefined"!=typeof t&&t.exports,a="https:"==document.location.protocol?"https:":"http:",l="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";o||(s?n(354)(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+a+"//"+l+"%3E%3C/script%3E"))),i()}(function(){var t,n="mCustomScrollbar",r="mCS",i=".mCustomScrollbar",o={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},s=0,a={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,u=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],h={init:function(t){var t=e.extend(!0,{},o,t),n=p.call(this);if(t.live){var l=t.liveSelector||this.selector||i,c=e(l);if("off"===t.live)return void d(l);a[l]=setTimeout(function(){c.mCustomScrollbar(t),"once"===t.live&&c.length&&d(l)},500)}else d(l);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":g(t.axis),t.scrollInertia=t.scrollInertia>0&&t.scrollInertia<17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&&1==t.mouseWheel&&(t.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),t.mouseWheel.scrollAmount=t.mouseWheelPixels?t.mouseWheelPixels:t.mouseWheel.scrollAmount,t.mouseWheel.normalizeDelta=t.advanced.normalizeMouseWheelDelta?t.advanced.normalizeMouseWheelDelta:t.mouseWheel.normalizeDelta,t.scrollButtons.scrollType=v(t.scrollButtons.scrollType),f(t),e(n).each(function(){var n=e(this);if(!n.data(r)){n.data(r,{idx:++s,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:n.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var i=n.data(r),o=i.opt,a=n.data("mcs-axis"),l=n.data("mcs-scrollbar-position"),c=n.data("mcs-theme");a&&(o.axis=a),l&&(o.scrollbarPosition=l),c&&(o.theme=c,f(o)),m.call(this),i&&o.callbacks.onCreate&&"function"==typeof o.callbacks.onCreate&&o.callbacks.onCreate.call(this),e("#mCSB_"+i.idx+"_container img:not(."+u[2]+")").addClass(u[2]),h.update.call(null,n)}})},update:function(t,n){var i=t||p.call(this);return e(i).each(function(){var t=e(this);if(t.data(r)){var i=t.data(r),o=i.opt,s=e("#mCSB_"+i.idx+"_container"),a=e("#mCSB_"+i.idx),l=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")];if(!s.length)return;i.tweenRunning&&X(t),n&&i&&o.callbacks.onBeforeUpdate&&"function"==typeof o.callbacks.onBeforeUpdate&&o.callbacks.onBeforeUpdate.call(this),t.hasClass(u[3])&&t.removeClass(u[3]),t.hasClass(u[4])&&t.removeClass(u[4]),a.css("max-height","none"),a.height()!==t.height()&&a.css("max-height",t.height()),b.call(this),"y"===o.axis||o.advanced.autoExpandHorizontalScroll||s.css("width",y(s)),i.overflowed=C.call(this),A.call(this),o.autoDraggerLength&&x.call(this),_.call(this),E.call(this);var c=[Math.abs(s[0].offsetTop),Math.abs(s[0].offsetLeft)];"x"!==o.axis&&(i.overflowed[0]?l[0].height()>l[0].parent().height()?S.call(this):(G(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),i.contentReset.y=null):(S.call(this),"y"===o.axis?k.call(this):"yx"===o.axis&&i.overflowed[1]&&G(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==o.axis&&(i.overflowed[1]?l[1].width()>l[1].parent().width()?S.call(this):(G(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),i.contentReset.x=null):(S.call(this),"x"===o.axis?k.call(this):"yx"===o.axis&&i.overflowed[0]&&G(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),n&&i&&(2===n&&o.callbacks.onImageLoad&&"function"==typeof o.callbacks.onImageLoad?o.callbacks.onImageLoad.call(this):3===n&&o.callbacks.onSelectorChange&&"function"==typeof o.callbacks.onSelectorChange?o.callbacks.onSelectorChange.call(this):o.callbacks.onUpdate&&"function"==typeof o.callbacks.onUpdate&&o.callbacks.onUpdate.call(this)),V.call(this)}})},scrollTo:function(t,n){if("undefined"!=typeof t&&null!=t){var i=p.call(this);return e(i).each(function(){var i=e(this);if(i.data(r)){var o=i.data(r),s=o.opt,a={trigger:"external",scrollInertia:s.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=e.extend(!0,{},a,n),c=W.call(this,t),u=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=U.call(this,c[0],"y"),c[1]=U.call(this,c[1],"x"),l.moveDragger&&(c[0]*=o.scrollRatio.y,c[1]*=o.scrollRatio.x),l.dur=it()?0:u,setTimeout(function(){null!==c[0]&&"undefined"!=typeof c[0]&&"x"!==s.axis&&o.overflowed[0]&&(l.dir="y",l.overwrite="all",G(i,c[0].toString(),l)),null!==c[1]&&"undefined"!=typeof c[1]&&"y"!==s.axis&&o.overflowed[1]&&(l.dir="x",l.overwrite="none",G(i,c[1].toString(),l))},l.timeout)}})}},stop:function(){var t=p.call(this);return e(t).each(function(){var t=e(this);t.data(r)&&X(t)})},disable:function(t){var n=p.call(this);return e(n).each(function(){var n=e(this);if(n.data(r)){n.data(r);V.call(this,"remove"),k.call(this),t&&S.call(this),A.call(this,!0),n.addClass(u[3])}})},destroy:function(){var t=p.call(this);return e(t).each(function(){var i=e(this);if(i.data(r)){var o=i.data(r),s=o.opt,a=e("#mCSB_"+o.idx),l=e("#mCSB_"+o.idx+"_container"),c=e(".mCSB_"+o.idx+"_scrollbar");s.live&&d(s.liveSelector||e(t).selector),V.call(this,"remove"),k.call(this),S.call(this),i.removeData(r),Q(this,"mcs"),c.remove(),l.find("img."+u[2]).removeClass(u[2]),a.replaceWith(l.contents()),i.removeClass(n+" _"+r+"_"+o.idx+" "+u[6]+" "+u[7]+" "+u[5]+" "+u[3]).addClass(u[4])}})}},p=function(){return"object"!=typeof e(this)||e(this).length<1?i:this},f=function(t){var n=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],r=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],i=["minimal","minimal-dark"],o=["minimal","minimal-dark"],s=["minimal","minimal-dark"];t.autoDraggerLength=!(e.inArray(t.theme,n)>-1)&&t.autoDraggerLength,t.autoExpandScrollbar=!(e.inArray(t.theme,r)>-1)&&t.autoExpandScrollbar,t.scrollButtons.enable=!(e.inArray(t.theme,i)>-1)&&t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,o)>-1||t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,s)>-1?"outside":t.scrollbarPosition},d=function(t){a[t]&&(clearTimeout(a[t]),Q(a,t))},g=function(t){return"yx"===t||"xy"===t||"auto"===t?"yx":"x"===t||"horizontal"===t?"x":"y"},v=function(t){return"stepped"===t||"pixels"===t||"step"===t||"click"===t?"stepped":"stepless"},m=function(){var t=e(this),i=t.data(r),o=i.opt,s=o.autoExpandScrollbar?" "+u[1]+"_expand":"",a=["<div id='mCSB_"+i.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+i.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_vertical"+s+"'><div class='"+u[12]+"'><div id='mCSB_"+i.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+i.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+i.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_horizontal"+s+"'><div class='"+u[12]+"'><div id='mCSB_"+i.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===o.axis?"mCSB_vertical_horizontal":"x"===o.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===o.axis?a[0]+a[1]:"x"===o.axis?a[1]:a[0],h="yx"===o.axis?"<div id='mCSB_"+i.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",p=o.autoHideScrollbar?" "+u[6]:"",f="x"!==o.axis&&"rtl"===i.langDir?" "+u[7]:"";o.setWidth&&t.css("width",o.setWidth),o.setHeight&&t.css("height",o.setHeight),o.setLeft="y"!==o.axis&&"rtl"===i.langDir?"989999px":o.setLeft,t.addClass(n+" _"+r+"_"+i.idx+p+f).wrapInner("<div id='mCSB_"+i.idx+"' class='mCustomScrollBox mCS-"+o.theme+" "+l+"'><div id='mCSB_"+i.idx+"_container' class='mCSB_container' style='position:relative; top:"+o.setTop+"; left:"+o.setLeft+";' dir='"+i.langDir+"' /></div>");var d=e("#mCSB_"+i.idx),g=e("#mCSB_"+i.idx+"_container");"y"===o.axis||o.advanced.autoExpandHorizontalScroll||g.css("width",y(g)),"outside"===o.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),d.addClass("mCSB_outside").after(c)):(d.addClass("mCSB_inside").append(c),g.wrap(h)),w.call(this);var v=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")];v[0].css("min-height",v[0].height()),v[1].css("min-width",v[1].width())},y=function(t){var n=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],r=t.parent().width();return n[0]>r?n[0]:n[1]>r?n[1]:"100%"},b=function(){var t=e(this),n=t.data(r),i=n.opt,o=e("#mCSB_"+n.idx+"_container");if(i.advanced.autoExpandHorizontalScroll&&"y"!==i.axis){o.css({width:"auto","min-width":0,"overflow-x":"scroll"});var s=Math.ceil(o[0].scrollWidth);3===i.advanced.autoExpandHorizontalScroll||2!==i.advanced.autoExpandHorizontalScroll&&s>o.parent().width()?o.css({width:s,"min-width":"100%","overflow-x":"inherit"}):o.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(o[0].getBoundingClientRect().right+.4)-Math.floor(o[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},w=function(){var t=e(this),n=t.data(r),i=n.opt,o=e(".mCSB_"+n.idx+"_scrollbar:first"),s=nt(i.scrollButtons.tabindex)?"tabindex='"+i.scrollButtons.tabindex+"'":"",a=["<a href='#' class='"+u[13]+"' "+s+" />","<a href='#' class='"+u[14]+"' "+s+" />","<a href='#' class='"+u[15]+"' "+s+" />","<a href='#' class='"+u[16]+"' "+s+" />"],l=["x"===i.axis?a[2]:a[0],"x"===i.axis?a[3]:a[1],a[2],a[3]];i.scrollButtons.enable&&o.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},x=function(){var t=e(this),n=t.data(r),i=e("#mCSB_"+n.idx),o=e("#mCSB_"+n.idx+"_container"),s=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")],a=[i.height()/o.outerHeight(!1),i.width()/o.outerWidth(!1)],c=[parseInt(s[0].css("min-height")),Math.round(a[0]*s[0].parent().height()),parseInt(s[1].css("min-width")),Math.round(a[1]*s[1].parent().width())],u=l&&c[1]<c[0]?c[0]:c[1],h=l&&c[3]<c[2]?c[2]:c[3];s[0].css({height:u,"max-height":s[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),s[1].css({width:h,"max-width":s[1].parent().width()-10})},_=function(){var t=e(this),n=t.data(r),i=e("#mCSB_"+n.idx),o=e("#mCSB_"+n.idx+"_container"),s=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")],a=[o.outerHeight(!1)-i.height(),o.outerWidth(!1)-i.width()],l=[a[0]/(s[0].parent().height()-s[0].height()),a[1]/(s[1].parent().width()-s[1].width())];n.scrollRatio={y:l[0],x:l[1]}},T=function(t,e,n){var r=n?u[0]+"_expanded":"",i=t.closest(".mCSB_scrollTools");"active"===e?(t.toggleClass(u[0]+" "+r),i.toggleClass(u[1]),t[0]._draggable=t[0]._draggable?0:1):t[0]._draggable||("hide"===e?(t.removeClass(u[0]),i.removeClass(u[1])):(t.addClass(u[0]),i.addClass(u[1])))},C=function(){var t=e(this),n=t.data(r),i=e("#mCSB_"+n.idx),o=e("#mCSB_"+n.idx+"_container"),s=null==n.overflowed?o.height():o.outerHeight(!1),a=null==n.overflowed?o.width():o.outerWidth(!1),l=o[0].scrollHeight,c=o[0].scrollWidth;return l>s&&(s=l),c>a&&(a=c),[s>i.height(),a>i.width()]},S=function(){var t=e(this),n=t.data(r),i=n.opt,o=e("#mCSB_"+n.idx),s=e("#mCSB_"+n.idx+"_container"),a=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")];if(X(t),("x"!==i.axis&&!n.overflowed[0]||"y"===i.axis&&n.overflowed[0])&&(a[0].add(s).css("top",0),G(t,"_resetY")),"y"!==i.axis&&!n.overflowed[1]||"x"===i.axis&&n.overflowed[1]){var l=dx=0;"rtl"===n.langDir&&(l=o.width()-s.outerWidth(!1),dx=Math.abs(l/n.scrollRatio.x)),s.css("left",l),a[1].css("left",dx),G(t,"_resetX")}},E=function(){function t(){s=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(s),O.call(n[0])):t()},100)}var n=e(this),i=n.data(r),o=i.opt;if(!i.bindEvents){if(M.call(this),o.contentTouchScroll&&j.call(this),I.call(this),o.mouseWheel.enable){var s;t()}R.call(this),$.call(this),o.advanced.autoScrollOnFocus&&F.call(this),o.scrollButtons.enable&&z.call(this),o.keyboard.enable&&H.call(this),i.bindEvents=!0}},k=function(){var t=e(this),n=t.data(r),i=n.opt,o=r+"_"+n.idx,s=".mCSB_"+n.idx+"_scrollbar",a=e("#mCSB_"+n.idx+",#mCSB_"+n.idx+"_container,#mCSB_"+n.idx+"_container_wrapper,"+s+" ."+u[12]+",#mCSB_"+n.idx+"_dragger_vertical,#mCSB_"+n.idx+"_dragger_horizontal,"+s+">a"),l=e("#mCSB_"+n.idx+"_container");i.advanced.releaseDraggableSelectors&&a.add(e(i.advanced.releaseDraggableSelectors)),i.advanced.extraDraggableSelectors&&a.add(e(i.advanced.extraDraggableSelectors)),n.bindEvents&&(e(document).add(e(!N()||top.document)).unbind("."+o),a.each(function(){e(this).unbind("."+o)}),clearTimeout(t[0]._focusTimeout),Q(t[0],"_focusTimeout"),clearTimeout(n.sequential.step),Q(n.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),Q(l[0],"onCompleteTimeout"),n.bindEvents=!1)},A=function(t){var n=e(this),i=n.data(r),o=i.opt,s=e("#mCSB_"+i.idx+"_container_wrapper"),a=s.length?s:e("#mCSB_"+i.idx+"_container"),l=[e("#mCSB_"+i.idx+"_scrollbar_vertical"),e("#mCSB_"+i.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==o.axis&&(i.overflowed[0]&&!t?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),a.removeClass(u[8]+" "+u[10])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[0].css("display","none"),a.removeClass(u[10])):(l[0].css("display","none"),a.addClass(u[10])),a.addClass(u[8]))),"y"!==o.axis&&(i.overflowed[1]&&!t?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),a.removeClass(u[9]+" "+u[11])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[1].css("display","none"),a.removeClass(u[11])):(l[1].css("display","none"),a.addClass(u[11])),a.addClass(u[9]))),i.overflowed[0]||i.overflowed[1]?n.removeClass(u[5]):n.addClass(u[5])},P=function(t){var n=t.type,r=t.target.ownerDocument!==document&&null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,i=N()&&t.target.ownerDocument!==top.document&&null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(n){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return r?[t.originalEvent.pageY-r[0]+i[0],t.originalEvent.pageX-r[1]+i[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var o=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],s=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[o.screenY,o.screenX,s>1]:[o.pageY,o.pageX,s>1];default:return r?[t.pageY-r[0]+i[0],t.pageX-r[1]+i[1],!1]:[t.pageY,t.pageX,!1]}},M=function(){function t(t,e,r,i){if(f[0].idleTimer=u.scrollInertia<233?250:0,n.attr("id")===p[1])var o="x",l=(n[0].offsetLeft-e+i)*a.scrollRatio.x;else var o="y",l=(n[0].offsetTop-t+r)*a.scrollRatio.y;G(s,l.toString(),{dir:o,drag:!0})}var n,i,o,s=e(this),a=s.data(r),u=a.opt,h=r+"_"+a.idx,p=["mCSB_"+a.idx+"_dragger_vertical","mCSB_"+a.idx+"_dragger_horizontal"],f=e("#mCSB_"+a.idx+"_container"),d=e("#"+p[0]+",#"+p[1]),g=u.advanced.releaseDraggableSelectors?d.add(e(u.advanced.releaseDraggableSelectors)):d,v=u.advanced.extraDraggableSelectors?e(!N()||top.document).add(e(u.advanced.extraDraggableSelectors)):e(!N()||top.document);d.bind("contextmenu."+h,function(t){t.preventDefault()}).bind("mousedown."+h+" touchstart."+h+" pointerdown."+h+" MSPointerDown."+h,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),tt(t)){c=!0,l&&(document.onselectstart=function(){return!1}),B.call(f,!1),X(s),n=e(this);var r=n.offset(),a=P(t)[0]-r.top,h=P(t)[1]-r.left,p=n.height()+r.top,d=n.width()+r.left;a<p&&a>0&&h<d&&h>0&&(i=a,o=h),T(n,"active",u.autoExpandScrollbar)}}).bind("touchmove."+h,function(e){e.stopImmediatePropagation(),e.preventDefault();var r=n.offset(),s=P(e)[0]-r.top,a=P(e)[1]-r.left;t(i,o,s,a)}),e(document).add(v).bind("mousemove."+h+" pointermove."+h+" MSPointerMove."+h,function(e){if(n){var r=n.offset(),s=P(e)[0]-r.top,a=P(e)[1]-r.left;if(i===s&&o===a)return;t(i,o,s,a)}}).add(g).bind("mouseup."+h+" touchend."+h+" pointerup."+h+" MSPointerUp."+h,function(t){n&&(T(n,"active",u.autoExpandScrollbar),n=null),c=!1,l&&(document.onselectstart=null),B.call(f,!0)})},j=function(){function n(e){if(!et(e)||c||P(e)[2])return void(t=0);t=1,_=0,T=0,u=1,C.removeClass("mCS_touch_action");var n=M.offset();h=P(e)[0]-n.top,p=P(e)[1]-n.left,D=[P(e)[0],P(e)[1]]}function i(t){if(et(t)&&!c&&!P(t)[2]&&(E.documentTouchScroll||t.preventDefault(),t.stopImmediatePropagation(),(!T||_)&&u)){v=K();var e=A.offset(),n=P(t)[0]-e.top,r=P(t)[1]-e.left,i="mcsLinearOut";if(I.push(n),O.push(r),D[2]=Math.abs(P(t)[0]-D[0]),D[3]=Math.abs(P(t)[1]-D[1]),S.overflowed[0])var o=j[0].parent().height()-j[0].height(),s=h-n>0&&n-h>-(o*S.scrollRatio.y)&&(2*D[3]<D[2]||"yx"===E.axis);if(S.overflowed[1])var a=j[1].parent().width()-j[1].width(),f=p-r>0&&r-p>-(a*S.scrollRatio.x)&&(2*D[2]<D[3]||"yx"===E.axis);s||f?($||t.preventDefault(),_=1):(T=1,C.addClass("mCS_touch_action")),$&&t.preventDefault(),w="yx"===E.axis?[h-n,p-r]:"x"===E.axis?[null,p-r]:[h-n,null],M[0].idleTimer=250,S.overflowed[0]&&l(w[0],L,i,"y","all",!0),S.overflowed[1]&&l(w[1],L,i,"x",B,!0)}}function o(e){if(!et(e)||c||P(e)[2])return void(t=0);t=1,e.stopImmediatePropagation(),X(C),g=K();var n=A.offset();f=P(e)[0]-n.top,d=P(e)[1]-n.left,I=[],O=[]}function s(t){if(et(t)&&!c&&!P(t)[2]){u=0,t.stopImmediatePropagation(),_=0,T=0,m=K();var e=A.offset(),n=P(t)[0]-e.top,r=P(t)[1]-e.left;if(!(m-v>30)){b=1e3/(m-g);var i="mcsEaseOut",o=b<2.5,s=o?[I[I.length-2],O[O.length-2]]:[0,0];y=o?[n-s[0],r-s[1]]:[n-f,r-d];var h=[Math.abs(y[0]),Math.abs(y[1])];b=o?[Math.abs(y[0]/4),Math.abs(y[1]/4)]:[b,b];var p=[Math.abs(M[0].offsetTop)-y[0]*a(h[0]/b[0],b[0]),Math.abs(M[0].offsetLeft)-y[1]*a(h[1]/b[1],b[1])];w="yx"===E.axis?[p[0],p[1]]:"x"===E.axis?[null,p[1]]:[p[0],null],x=[4*h[0]+E.scrollInertia,4*h[1]+E.scrollInertia];var C=parseInt(E.contentTouchScroll)||0;w[0]=h[0]>C?w[0]:0,w[1]=h[1]>C?w[1]:0,S.overflowed[0]&&l(w[0],x[0],i,"y",B,!1),S.overflowed[1]&&l(w[1],x[1],i,"x",B,!1)}}}function a(t,e){var n=[1.5*e,2*e,e/1.5,e/2];return t>90?e>4?n[0]:n[3]:t>60?e>3?n[3]:n[2]:t>30?e>8?n[1]:e>6?n[0]:e>4?e:n[2]:e>8?e:n[3]}function l(t,e,n,r,i,o){t&&G(C,t.toString(),{dur:e,scrollEasing:n,dir:r,overwrite:i,drag:o})}var u,h,p,f,d,g,v,m,y,b,w,x,_,T,C=e(this),S=C.data(r),E=S.opt,k=r+"_"+S.idx,A=e("#mCSB_"+S.idx),M=e("#mCSB_"+S.idx+"_container"),j=[e("#mCSB_"+S.idx+"_dragger_vertical"),e("#mCSB_"+S.idx+"_dragger_horizontal")],I=[],O=[],L=0,B="yx"===E.axis?"none":"all",D=[],R=M.find("iframe"),F=["touchstart."+k+" pointerdown."+k+" MSPointerDown."+k,"touchmove."+k+" pointermove."+k+" MSPointerMove."+k,"touchend."+k+" pointerup."+k+" MSPointerUp."+k],$=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;M.bind(F[0],function(t){n(t)}).bind(F[1],function(t){i(t)}),A.bind(F[0],function(t){o(t)}).bind(F[2],function(t){s(t)}),R.length&&R.each(function(){e(this).bind("load",function(){N(this)&&e(this.contentDocument||this.contentWindow.document).bind(F[0],function(t){n(t),o(t)}).bind(F[1],function(t){i(t)}).bind(F[2],function(t){s(t)})})})},I=function(){function n(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function i(t,e,n){u.type=n&&o?"stepped":"stepless",u.scrollAmount=10,q(s,t,e,"mcsLinearOut",n?60:null)}var o,s=e(this),a=s.data(r),l=a.opt,u=a.sequential,h=r+"_"+a.idx,p=e("#mCSB_"+a.idx+"_container"),f=p.parent();p.bind("mousedown."+h,function(e){t||o||(o=1,c=!0)}).add(document).bind("mousemove."+h,function(e){if(!t&&o&&n()){var r=p.offset(),s=P(e)[0]-r.top+p[0].offsetTop,c=P(e)[1]-r.left+p[0].offsetLeft;s>0&&s<f.height()&&c>0&&c<f.width()?u.step&&i("off",null,"stepped"):("x"!==l.axis&&a.overflowed[0]&&(s<0?i("on",38):s>f.height()&&i("on",40)),"y"!==l.axis&&a.overflowed[1]&&(c<0?i("on",37):c>f.width()&&i("on",39)))}}).bind("mouseup."+h+" dragend."+h,function(e){t||(o&&(o=0,i("off",null)),c=!1)})},O=function(){function t(t,r){if(X(n),!D(n,t.target)){var s="auto"!==o.mouseWheel.deltaFactor?parseInt(o.mouseWheel.deltaFactor):l&&t.deltaFactor<100?100:t.deltaFactor||100,u=o.scrollInertia;if("x"===o.axis||"x"===o.mouseWheel.axis)var h="x",p=[Math.round(s*i.scrollRatio.x),parseInt(o.mouseWheel.scrollAmount)],f="auto"!==o.mouseWheel.scrollAmount?p[1]:p[0]>=a.width()?.9*a.width():p[0],d=Math.abs(e("#mCSB_"+i.idx+"_container")[0].offsetLeft),g=c[1][0].offsetLeft,v=c[1].parent().width()-c[1].width(),m="y"===o.mouseWheel.axis?t.deltaY||r:t.deltaX;else var h="y",p=[Math.round(s*i.scrollRatio.y),parseInt(o.mouseWheel.scrollAmount)],f="auto"!==o.mouseWheel.scrollAmount?p[1]:p[0]>=a.height()?.9*a.height():p[0],d=Math.abs(e("#mCSB_"+i.idx+"_container")[0].offsetTop),g=c[0][0].offsetTop,v=c[0].parent().height()-c[0].height(),m=t.deltaY||r;"y"===h&&!i.overflowed[0]||"x"===h&&!i.overflowed[1]||((o.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(m=-m),o.mouseWheel.normalizeDelta&&(m=m<0?-1:1),(m>0&&0!==g||m<0&&g!==v||o.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<5&&!o.mouseWheel.normalizeDelta&&(f=t.deltaFactor,u=17),G(n,(d-m*f).toString(),{dir:h,dur:u}))}}if(e(this).data(r)){var n=e(this),i=n.data(r),o=i.opt,s=r+"_"+i.idx,a=e("#mCSB_"+i.idx),c=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")],u=e("#mCSB_"+i.idx+"_container").find("iframe");u.length&&u.each(function(){e(this).bind("load",function(){N(this)&&e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+s,function(e,n){t(e,n)})})}),a.bind("mousewheel."+s,function(e,n){t(e,n)})}},L=new Object,N=function(t){var n=!1,r=!1,i=null;if(void 0===t?r="#empty":void 0!==e(t).attr("id")&&(r=e(t).attr("id")),r!==!1&&void 0!==L[r])return L[r];if(t){try{var o=t.contentDocument||t.contentWindow.document;i=o.body.innerHTML}catch(t){}n=null!==i}else{try{var o=top.document;i=o.body.innerHTML}catch(t){}n=null!==i}return r!==!1&&(L[r]=n),n},B=function(t){var e=this.find("iframe");if(e.length){var n=t?"auto":"none";e.css("pointer-events",n)}},D=function(t,n){var i=n.nodeName.toLowerCase(),o=t.data(r).opt.mouseWheel.disableOver,s=["select","textarea"];return e.inArray(i,o)>-1&&!(e.inArray(i,s)>-1&&!e(n).is(":focus"))},R=function(){var t,n=e(this),i=n.data(r),o=r+"_"+i.idx,s=e("#mCSB_"+i.idx+"_container"),a=s.parent(),l=e(".mCSB_"+i.idx+"_scrollbar ."+u[12]);l.bind("mousedown."+o+" touchstart."+o+" pointerdown."+o+" MSPointerDown."+o,function(n){c=!0,e(n.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+o+" pointerup."+o+" MSPointerUp."+o,function(t){c=!1}).bind("click."+o,function(r){if(t&&(t=0,e(r.target).hasClass(u[12])||e(r.target).hasClass("mCSB_draggerRail"))){X(n);var o=e(this),l=o.find(".mCSB_dragger");if(o.parent(".mCSB_scrollTools_horizontal").length>0){if(!i.overflowed[1])return;var c="x",h=r.pageX>l.offset().left?-1:1,p=Math.abs(s[0].offsetLeft)-h*(.9*a.width())}else{if(!i.overflowed[0])return;var c="y",h=r.pageY>l.offset().top?-1:1,p=Math.abs(s[0].offsetTop)-h*(.9*a.height())}G(n,p.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},F=function(){var t=e(this),n=t.data(r),i=n.opt,o=r+"_"+n.idx,s=e("#mCSB_"+n.idx+"_container"),a=s.parent();s.bind("focusin."+o,function(n){var r=e(document.activeElement),o=s.find(".mCustomScrollBox").length,l=0;r.is(i.advanced.autoScrollOnFocus)&&(X(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=o?(l+17)*o:0,t[0]._focusTimeout=setTimeout(function(){var e=[rt(r)[0],rt(r)[1]],n=[s[0].offsetTop,s[0].offsetLeft],o=[n[0]+e[0]>=0&&n[0]+e[0]<a.height()-r.outerHeight(!1),n[1]+e[1]>=0&&n[0]+e[1]<a.width()-r.outerWidth(!1)],c="yx"!==i.axis||o[0]||o[1]?"all":"none";"x"===i.axis||o[0]||G(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:c,dur:l}),"y"===i.axis||o[1]||G(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:c,dur:l})},t[0]._focusTimer))})},$=function(){var t=e(this),n=t.data(r),i=r+"_"+n.idx,o=e("#mCSB_"+n.idx+"_container").parent();o.bind("scroll."+i,function(t){0===o.scrollTop()&&0===o.scrollLeft()||e(".mCSB_"+n.idx+"_scrollbar").css("visibility","hidden")})},z=function(){var t=e(this),n=t.data(r),i=n.opt,o=n.sequential,s=r+"_"+n.idx,a=".mCSB_"+n.idx+"_scrollbar",l=e(a+">a");l.bind("contextmenu."+s,function(t){t.preventDefault()}).bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s+" mouseup."+s+" touchend."+s+" pointerup."+s+" MSPointerUp."+s+" mouseout."+s+" pointerout."+s+" MSPointerOut."+s+" click."+s,function(r){function s(e,n){o.scrollAmount=i.scrollButtons.scrollAmount,q(t,e,n)}if(r.preventDefault(),tt(r)){var a=e(this).attr("class");switch(o.type=i.scrollButtons.scrollType,r.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===o.type)return;c=!0,n.tweenRunning=!1,s("on",a);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===o.type)return;c=!1,o.dir&&s("off",a);break;case"click":if("stepped"!==o.type||n.tweenRunning)return;s("on",a)}}})},H=function(){function t(t){function r(t,e){s.type=o.keyboard.scrollType,s.scrollAmount=o.keyboard.scrollAmount,"stepped"===s.type&&i.tweenRunning||q(n,t,e)}switch(t.type){case"blur":i.tweenRunning&&s.dir&&r("off",null);break;case"keydown":case"keyup":var a=t.keyCode?t.keyCode:t.which,l="on";if("x"!==o.axis&&(38===a||40===a)||"y"!==o.axis&&(37===a||39===a)){if((38===a||40===a)&&!i.overflowed[0]||(37===a||39===a)&&!i.overflowed[1])return;"keyup"===t.type&&(l="off"),e(document.activeElement).is(h)||(t.preventDefault(),t.stopImmediatePropagation(),r(l,a))}else if(33===a||34===a){if((i.overflowed[0]||i.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){X(n);var p=34===a?-1:1;if("x"===o.axis||"yx"===o.axis&&i.overflowed[1]&&!i.overflowed[0])var f="x",d=Math.abs(c[0].offsetLeft)-p*(.9*u.width());else var f="y",d=Math.abs(c[0].offsetTop)-p*(.9*u.height());G(n,d.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===a||36===a)&&!e(document.activeElement).is(h)&&((i.overflowed[0]||i.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===o.axis||"yx"===o.axis&&i.overflowed[1]&&!i.overflowed[0])var f="x",d=35===a?Math.abs(u.width()-c.outerWidth(!1)):0;else var f="y",d=35===a?Math.abs(u.height()-c.outerHeight(!1)):0;G(n,d.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var n=e(this),i=n.data(r),o=i.opt,s=i.sequential,a=r+"_"+i.idx,l=e("#mCSB_"+i.idx),c=e("#mCSB_"+i.idx+"_container"),u=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",p=c.find("iframe"),f=["blur."+a+" keydown."+a+" keyup."+a];p.length&&p.each(function(){e(this).bind("load",function(){N(this)&&e(this.contentDocument||this.contentWindow.document).bind(f[0],function(e){t(e)})})}),l.attr("tabindex","0").bind(f[0],function(e){t(e)})},q=function(t,n,i,o,s){function a(e){h.snapAmount&&(p.scrollAmount=h.snapAmount instanceof Array?"x"===p.dir[0]?h.snapAmount[1]:h.snapAmount[0]:h.snapAmount);var n="stepped"!==p.type,r=s?s:e?n?g/1.5:v:1e3/60,i=e?n?7.5:40:2.5,l=[Math.abs(f[0].offsetTop),Math.abs(f[0].offsetLeft)],u=[c.scrollRatio.y>10?10:c.scrollRatio.y,c.scrollRatio.x>10?10:c.scrollRatio.x],d="x"===p.dir[0]?l[1]+p.dir[1]*(u[1]*i):l[0]+p.dir[1]*(u[0]*i),m="x"===p.dir[0]?l[1]+p.dir[1]*parseInt(p.scrollAmount):l[0]+p.dir[1]*parseInt(p.scrollAmount),y="auto"!==p.scrollAmount?m:d,b=o?o:e?n?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",w=!!e;return e&&r<17&&(y="x"===p.dir[0]?l[1]:l[0]),G(t,y.toString(),{dir:p.dir[0],scrollEasing:b,dur:r,onComplete:w}),e?void(p.dir=!1):(clearTimeout(p.step),void(p.step=setTimeout(function(){a()},r)))}function l(){clearTimeout(p.step),Q(p,"step"),X(t)}var c=t.data(r),h=c.opt,p=c.sequential,f=e("#mCSB_"+c.idx+"_container"),d="stepped"===p.type,g=h.scrollInertia<26?26:h.scrollInertia,v=h.scrollInertia<1?17:h.scrollInertia;switch(n){ 127case"on":if(p.dir=[i===u[16]||i===u[15]||39===i||37===i?"x":"y",i===u[13]||i===u[15]||38===i||37===i?-1:1],X(t),nt(i)&&"stepped"===p.type)return;a(d);break;case"off":l(),(d||c.tweenRunning&&p.dir)&&a(!0)}},W=function(t){var n=e(this).data(r).opt,i=[];return"function"==typeof t&&(t=t()),t instanceof Array?i=t.length>1?[t[0],t[1]]:"x"===n.axis?[null,t[0]]:[t[0],null]:(i[0]=t.y?t.y:t.x||"x"===n.axis?null:t,i[1]=t.x?t.x:t.y||"y"===n.axis?null:t),"function"==typeof i[0]&&(i[0]=i[0]()),"function"==typeof i[1]&&(i[1]=i[1]()),i},U=function(t,n){if(null!=t&&"undefined"!=typeof t){var i=e(this),o=i.data(r),s=o.opt,a=e("#mCSB_"+o.idx+"_container"),l=a.parent(),c=typeof t;n||(n="x"===s.axis?"x":"y");var u="x"===n?a.outerWidth(!1)-l.width():a.outerHeight(!1)-l.height(),p="x"===n?a[0].offsetLeft:a[0].offsetTop,f="x"===n?"left":"top";switch(c){case"function":return t();case"object":var d=t.jquery?t:e(t);if(!d.length)return;return"x"===n?rt(d)[1]:rt(d)[0];case"string":case"number":if(nt(t))return Math.abs(t);if(t.indexOf("%")!==-1)return Math.abs(u*parseInt(t)/100);if(t.indexOf("-=")!==-1)return Math.abs(p-parseInt(t.split("-=")[1]));if(t.indexOf("+=")!==-1){var g=p+parseInt(t.split("+=")[1]);return g>=0?0:Math.abs(g)}if(t.indexOf("px")!==-1&&nt(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(l.height()-a.outerHeight(!1));if("right"===t)return Math.abs(l.width()-a.outerWidth(!1));if("first"===t||"last"===t){var d=a.find(":"+t);return"x"===n?rt(d)[1]:rt(d)[0]}return e(t).length?"x"===n?rt(e(t))[1]:rt(e(t))[0]:(a.css(f,t),void h.update.call(null,i[0]))}}},V=function(t){function n(){return clearTimeout(p[0].autoUpdate),0===a.parents("html").length?void(a=null):void(p[0].autoUpdate=setTimeout(function(){return c.advanced.updateOnSelectorChange&&(l.poll.change.n=o(),l.poll.change.n!==l.poll.change.o)?(l.poll.change.o=l.poll.change.n,void s(3)):c.advanced.updateOnContentResize&&(l.poll.size.n=a[0].scrollHeight+a[0].scrollWidth+p[0].offsetHeight+a[0].offsetHeight+a[0].offsetWidth,l.poll.size.n!==l.poll.size.o)?(l.poll.size.o=l.poll.size.n,void s(1)):!c.advanced.updateOnImageLoad||"auto"===c.advanced.updateOnImageLoad&&"y"===c.axis||(l.poll.img.n=p.find("img").length,l.poll.img.n===l.poll.img.o)?void((c.advanced.updateOnSelectorChange||c.advanced.updateOnContentResize||c.advanced.updateOnImageLoad)&&n()):(l.poll.img.o=l.poll.img.n,void p.find("img").each(function(){i(this)}))},c.advanced.autoUpdateTimeout))}function i(t){function n(t,e){return function(){return e.apply(t,arguments)}}function r(){this.onload=null,e(t).addClass(u[2]),s(2)}if(e(t).hasClass(u[2]))return void s();var i=new Image;i.onload=n(i,r),i.src=t.src}function o(){c.advanced.updateOnSelectorChange===!0&&(c.advanced.updateOnSelectorChange="*");var t=0,e=p.find(c.advanced.updateOnSelectorChange);return c.advanced.updateOnSelectorChange&&e.length>0&&e.each(function(){t+=this.offsetHeight+this.offsetWidth}),t}function s(t){clearTimeout(p[0].autoUpdate),h.update.call(null,a[0],t)}var a=e(this),l=a.data(r),c=l.opt,p=e("#mCSB_"+l.idx+"_container");return t?(clearTimeout(p[0].autoUpdate),void Q(p[0],"autoUpdate")):void n()},Y=function(t,e,n){return Math.round(t/e)*e-n},X=function(t){var n=t.data(r),i=e("#mCSB_"+n.idx+"_container,#mCSB_"+n.idx+"_container_wrapper,#mCSB_"+n.idx+"_dragger_vertical,#mCSB_"+n.idx+"_dragger_horizontal");i.each(function(){Z.call(this)})},G=function(t,n,i){function o(t){return l&&c.callbacks[t]&&"function"==typeof c.callbacks[t]}function s(){return[c.callbacks.alwaysTriggerOffsets||w>=x[0]+C,c.callbacks.alwaysTriggerOffsets||w<=-S]}function a(){var e=[f[0].offsetTop,f[0].offsetLeft],n=[y[0].offsetTop,y[0].offsetLeft],r=[f.outerHeight(!1),f.outerWidth(!1)],o=[p.height(),p.width()];t[0].mcs={content:f,top:e[0],left:e[1],draggerTop:n[0],draggerLeft:n[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(r[0])-o[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(r[1])-o[1])),direction:i.dir}}var l=t.data(r),c=l.opt,u={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:c.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},i=e.extend(u,i),h=[i.dur,i.drag?0:i.dur],p=e("#mCSB_"+l.idx),f=e("#mCSB_"+l.idx+"_container"),d=f.parent(),g=c.callbacks.onTotalScrollOffset?W.call(t,c.callbacks.onTotalScrollOffset):[0,0],v=c.callbacks.onTotalScrollBackOffset?W.call(t,c.callbacks.onTotalScrollBackOffset):[0,0];if(l.trigger=i.trigger,0===d.scrollTop()&&0===d.scrollLeft()||(e(".mCSB_"+l.idx+"_scrollbar").css("visibility","visible"),d.scrollTop(0).scrollLeft(0)),"_resetY"!==n||l.contentReset.y||(o("onOverflowYNone")&&c.callbacks.onOverflowYNone.call(t[0]),l.contentReset.y=1),"_resetX"!==n||l.contentReset.x||(o("onOverflowXNone")&&c.callbacks.onOverflowXNone.call(t[0]),l.contentReset.x=1),"_resetY"!==n&&"_resetX"!==n){if(!l.contentReset.y&&t[0].mcs||!l.overflowed[0]||(o("onOverflowY")&&c.callbacks.onOverflowY.call(t[0]),l.contentReset.x=null),!l.contentReset.x&&t[0].mcs||!l.overflowed[1]||(o("onOverflowX")&&c.callbacks.onOverflowX.call(t[0]),l.contentReset.x=null),c.snapAmount){var m=c.snapAmount instanceof Array?"x"===i.dir?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount;n=Y(n,m,c.snapOffset)}switch(i.dir){case"x":var y=e("#mCSB_"+l.idx+"_dragger_horizontal"),b="left",w=f[0].offsetLeft,x=[p.width()-f.outerWidth(!1),y.parent().width()-y.width()],_=[n,0===n?0:n/l.scrollRatio.x],C=g[1],S=v[1],E=C>0?C/l.scrollRatio.x:0,k=S>0?S/l.scrollRatio.x:0;break;case"y":var y=e("#mCSB_"+l.idx+"_dragger_vertical"),b="top",w=f[0].offsetTop,x=[p.height()-f.outerHeight(!1),y.parent().height()-y.height()],_=[n,0===n?0:n/l.scrollRatio.y],C=g[0],S=v[0],E=C>0?C/l.scrollRatio.y:0,k=S>0?S/l.scrollRatio.y:0}_[1]<0||0===_[0]&&0===_[1]?_=[0,0]:_[1]>=x[1]?_=[x[0],x[1]]:_[0]=-_[0],t[0].mcs||(a(),o("onInit")&&c.callbacks.onInit.call(t[0])),clearTimeout(f[0].onCompleteTimeout),J(y[0],b,Math.round(_[1]),h[1],i.scrollEasing),!l.tweenRunning&&(0===w&&_[0]>=0||w===x[0]&&_[0]<=x[0])||J(f[0],b,Math.round(_[0]),h[0],i.scrollEasing,i.overwrite,{onStart:function(){i.callbacks&&i.onStart&&!l.tweenRunning&&(o("onScrollStart")&&(a(),c.callbacks.onScrollStart.call(t[0])),l.tweenRunning=!0,T(y),l.cbOffsets=s())},onUpdate:function(){i.callbacks&&i.onUpdate&&o("whileScrolling")&&(a(),c.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(i.callbacks&&i.onComplete){"yx"===c.axis&&clearTimeout(f[0].onCompleteTimeout);var e=f[0].idleTimer||0;f[0].onCompleteTimeout=setTimeout(function(){o("onScroll")&&(a(),c.callbacks.onScroll.call(t[0])),o("onTotalScroll")&&_[1]>=x[1]-E&&l.cbOffsets[0]&&(a(),c.callbacks.onTotalScroll.call(t[0])),o("onTotalScrollBack")&&_[1]<=k&&l.cbOffsets[1]&&(a(),c.callbacks.onTotalScrollBack.call(t[0])),l.tweenRunning=!1,f[0].idleTimer=0,T(y,"hide")},e)}}})}},J=function(t,e,n,r,i,o,s){function a(){x.stop||(y||d.call(),y=K()-m,l(),y>=x.time&&(x.time=y>x.time?y+p-(y-x.time):y+p-1,x.time<y+1&&(x.time=y+1)),x.time<r?x.id=f(a):v.call())}function l(){r>0?(x.currVal=h(x.time,b,_,r,i),w[e]=Math.round(x.currVal)+"px"):w[e]=n+"px",g.call()}function c(){p=1e3/60,x.time=y+p,f=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},x.id=f(a)}function u(){null!=x.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(x.id):clearTimeout(x.id),x.id=null)}function h(t,e,n,r,i){switch(i){case"linear":case"mcsLinear":return n*t/r+e;case"mcsLinearOut":return t/=r,t--,n*Math.sqrt(1-t*t)+e;case"easeInOutSmooth":return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e);case"easeInOutStrong":return t/=r/2,t<1?n/2*Math.pow(2,10*(t-1))+e:(t--,n/2*(-Math.pow(2,-10*t)+2)+e);case"easeInOut":case"mcsEaseInOut":return t/=r/2,t<1?n/2*t*t*t+e:(t-=2,n/2*(t*t*t+2)+e);case"easeOutSmooth":return t/=r,t--,-n*(t*t*t*t-1)+e;case"easeOutStrong":return n*(-Math.pow(2,-10*t/r)+1)+e;case"easeOut":case"mcsEaseOut":default:var o=(t/=r)*t,s=o*t;return e+n*(.499999999999997*s*o+-2.5*o*o+5.5*s+-6.5*o+4*t)}}t._mTween||(t._mTween={top:{},left:{}});var p,f,s=s||{},d=s.onStart||function(){},g=s.onUpdate||function(){},v=s.onComplete||function(){},m=K(),y=0,b=t.offsetTop,w=t.style,x=t._mTween[e];"left"===e&&(b=t.offsetLeft);var _=n-b;x.stop=0,"none"!==o&&u(),c()},K=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},Z=function(){var t=this;t._mTween||(t._mTween={top:{},left:{}});for(var e=["top","left"],n=0;n<e.length;n++){var r=e[n];t._mTween[r].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._mTween[r].id):clearTimeout(t._mTween[r].id),t._mTween[r].id=null,t._mTween[r].stop=1)}},Q=function(t,e){try{delete t[e]}catch(n){t[e]=null}},tt=function(t){return!(t.which&&1!==t.which)},et=function(t){var e=t.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},nt=function(t){return!isNaN(parseFloat(t))&&isFinite(t)}
127,rt=function(t){var e=t.parents(".mCSB_container");return[t.offset().top-e.offset().top,t.offset().left-e.offset().left]},it=function(){function t(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}var e=t();return!!e&&document[e]};e.fn[n]=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):h.init.apply(this,arguments)},e[n]=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):h.init.apply(this,arguments)},e[n].defaults=o,window[n]=!0,e(window).bind("load",function(){e(i)[n](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var n,r,i=e(t),o=i.parents(".mCSB_container");if(o.length)return n=o.parent(),r=[o[0].offsetTop,o[0].offsetLeft],r[0]+rt(i)[0]>=0&&r[0]+rt(i)[0]<n.height()-i.outerHeight(!1)&&r[1]+rt(i)[1]>=0&&r[1]+rt(i)[1]<n.width()-i.outerWidth(!1)},mcsInSight:e.expr[":"].mcsInSight||function(t,n,r){var i,o,s,a,l=e(t),c=l.parents(".mCSB_container"),u="exact"===r[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return i=[l.outerHeight(!1),l.outerWidth(!1)],s=[c[0].offsetTop+rt(l)[0],c[0].offsetLeft+rt(l)[1]],o=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],a=[i[0]<o[0]?u[0]:u[1],i[1]<o[1]?u[0]:u[1]],s[0]-o[0]*a[0][0]<0&&s[0]+i[0]-o[0]*a[0][1]>=0&&s[1]-o[1]*a[1][0]<0&&s[1]+i[1]-o[1]*a[1][1]>=0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var n=e(t).data(r);if(n)return n.overflowed[0]||n.overflowed[1]}})})})})}).call(window)}).call(e,n(11))},function(t,e){(function(e){function n(t,e,n){function i(e){var n=g,r=v;return g=v=void 0,C=e,y=t.apply(r,n)}function o(t){return C=t,b=setTimeout(u,e),S?i(t):y}function l(t){var n=t-T,r=t-C,i=e-n;return E?x(i,m-r):i}function c(t){var n=t-T,r=t-C;return void 0===T||n>=e||n<0||E&&r>=m}function u(){var t=_();return c(t)?h(t):void(b=setTimeout(u,l(t)))}function h(t){return b=void 0,k&&g?i(t):(g=v=void 0,y)}function p(){void 0!==b&&clearTimeout(b),C=0,g=T=v=b=void 0}function f(){return void 0===b?y:h(_())}function d(){var t=_(),n=c(t);if(g=arguments,v=this,T=t,n){if(void 0===b)return o(T);if(E)return b=setTimeout(u,e),i(T)}return void 0===b&&(b=setTimeout(u,e)),y}var g,v,m,y,b,T,C=0,S=!1,E=!1,k=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,E="maxWait"in n,m=E?w(s(n.maxWait)||0,e):m,k="trailing"in n?!!n.trailing:k),d.cancel=p,d.flush=f,d}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function o(t){return"symbol"==typeof t||i(t)&&b.call(t)==c}function s(t){if("number"==typeof t)return t;if(o(t))return l;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var n=p.test(t);return n||f.test(t)?d(t.slice(2),n?2:8):h.test(t)?l:+t}var a="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt,g="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,m=g||v||Function("return this")(),y=Object.prototype,b=y.toString,w=Math.max,x=Math.min,_=function(){return m.Date.now()};t.exports=n}).call(e,function(){return this}())},function(t,e,n){(function(t,e){!function(t,n,r,i){function o(e,n){this.settings=null,this.options=t.extend({},o.Defaults,n),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,n){this._handlers[n]=t.proxy(this[n],this)},this)),t.each(o.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(o.Workers,t.proxy(function(e,n){this._pipe.push({filter:n.filter,run:t.proxy(n.run,this)})},this)),this.setup(),this.initialize()}o.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,r=this.settings.rtl,i={width:"auto","margin-left":r?e:"","margin-right":r?"":e};!n&&this.$stage.children().css(i),t.css=i}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,r=this._items.length,i=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};r--;)n=this._mergers[r],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=n>1||t.items.merge,o[r]=i?e*n:this._items[r].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],n=this._items,r=this.settings,i=Math.max(2*r.items,4),o=2*Math.ceil(n.length/2),s=r.loop&&n.length?r.rewind?i:Math.max(i,o):0,a="",l="";for(s/=2;s--;)e.push(this.normalize(e.length/2,!0)),a+=n[e[e.length-1]][0].outerHTML,e.push(this.normalize(n.length-1-(e.length-1)/2,!0)),l=n[e[e.length-1]][0].outerHTML+l;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,r=0,i=0,o=[];++n<e;)r=o[n-1]||0,i=this._widths[this.relative(n)]+this.settings.margin,o.push(r+i*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,r=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],r.eq(e).css(t.css);else n&&(t.css.width=t.items.width,r.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,n,r,i=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,s=this.coordinates(this.current())+o,a=s+this.width()*i,l=[];for(n=0,r=this._coordinates.length;n<r;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+o*i,(this.op(t,"<=",s)&&this.op(t,">",a)||this.op(e,"<",s)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],o.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var e,n,r;e=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,r=this.$element.children(n).width(),e.length&&r<=0&&this.preloadAutoWidthImages(e)}this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.setup=function(){var e=this.viewport(),n=this.options.responsive,r=-1,i=null;n?(t.each(n,function(t){t<=e&&t>r&&(r=Number(t))}),i=t.extend({},this.options,n[r]),"function"==typeof i.stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+r))):i=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=r,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(e){var n=this.trigger("prepare",{content:e});return n.data||(n.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:n.data}),n.data},o.prototype.update=function(){for(var e=0,n=this._pipe.length,r=t.proxy(function(t){return this[t]},this._invalidated),i={};e<n;)(this._invalidated.all||t.grep(this._pipe[e].filter,r).length>0)&&this._pipe[e].run(i),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(t){switch(t=t||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},o.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},o.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(n,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(e){var n=null;
vendor: 18,299 bytes, lines 127-128
1273!==e.which&&(t.support.transform?(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),n={x:n[16===n.length?12:4],y:n[16===n.length?13:5]}):(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(r).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(r).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(r).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)<Math.abs(n.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},o.prototype.onDragMove=function(t){var e=null,n=null,r=null,i=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,i);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),r=this.settings.pullDrag?-1*i.x/5:0,o.x=Math.max(Math.min(o.x,e+r),n+r)),this._drag.stage.current=o,this.animate(o.x))},o.prototype.onDragEnd=function(e){var n=this.difference(this._drag.pointer,this.pointer(e)),i=this._drag.stage.current,o=n.x>0^this.settings.rtl?"left":"right";t(r).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==n.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},o.prototype.closest=function(e,n){var r=-1,i=30,o=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy(function(t,a){return"left"===n&&e>a-i&&e<a+i?r=t:"right"===n&&e>a-o-i&&e<a-o+i?r=t+1:this.op(e,"<",a)&&this.op(e,">",s[t+1]||a-o)&&(r="left"===n?t+1:t),r===-1},this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?r=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(r=e=this.maximum())),r},o.prototype.animate=function(e){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):n?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},o.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},o.prototype.current=function(t){if(t===i)return this._current;if(0===this._items.length)return i;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==i&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},o.prototype.reset=function(t){t=this.normalize(t),t!==i&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},o.prototype.normalize=function(t,e){var n=this._items.length,r=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=i:(t<0||t>=n+r)&&(t=((t-r/2)%n+n)%n+r/2),t},o.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},o.prototype.maximum=function(t){var e,n,r,i=this.settings,o=this._coordinates.length;if(i.loop)o=this._clones.length/2+this._items.length-1;else if(i.autoWidth||i.merge){for(e=this._items.length,n=this._items[--e].width(),r=this.$element.width();e--&&(n+=this._items[e].width()+this.settings.margin,!(n>r)););o=e+1}else o=i.center?this._items.length-1:this._items.length-i.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},o.prototype.minimum=function(t){return t?0:this._clones.length/2},o.prototype.items=function(t){return t===i?this._items.slice():(t=this.normalize(t,!0),this._items[t])},o.prototype.mergers=function(t){return t===i?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},o.prototype.clones=function(e){var n=this._clones.length/2,r=n+this._items.length,o=function(t){return t%2===0?r+t/2:n-(t+1)/2};return e===i?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,n){return t===e?o(n):null})},o.prototype.speed=function(t){return t!==i&&(this._speed=t),this._speed},o.prototype.coordinates=function(e){var n,r=1,o=e-1;return e===i?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(r=-1,o=e+1),n=this._coordinates[e],n+=(this.width()-n+(this._coordinates[o]||0))/2*r):n=this._coordinates[o]||0,n=Math.ceil(n))},o.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},o.prototype.to=function(t,e){var n=this.current(),r=null,i=t-this.relative(n),o=(i>0)-(i<0),s=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>s/2&&(i+=o*-1*s),t=n+i,r=((t-a)%s+s)%s+a,r!==t&&r-i<=l&&r-i>0&&(n=r-i,t=r,this.reset(n))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(a,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},o.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},o.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},o.prototype.onTransitionEnd=function(t){return(t===i||(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)===this.$stage.get(0)))&&(this.leave("animating"),void this.trigger("translated"))},o.prototype.viewport=function(){var e;if(this.options.responsiveBaseElement!==n)e=t(this.options.responsiveBaseElement).width();else if(n.innerWidth)e=n.innerWidth;else{if(!r.documentElement||!r.documentElement.clientWidth)throw"Can not detect viewport width.";e=r.documentElement.clientWidth}return e},o.prototype.replace=function(n){this.$stage.empty(),this._items=[],n&&(n=n instanceof e?n:t(n)),this.settings.nestedItemSelector&&(n=n.find("."+this.settings.nestedItemSelector)),n.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},o.prototype.add=function(n,r){var o=this.relative(this._current);r=r===i?this._items.length:this.normalize(r,!0),n=n instanceof e?n:t(n),this.trigger("add",{content:n,position:r}),n=this.prepare(n),0===this._items.length||r===this._items.length?(0===this._items.length&&this.$stage.append(n),0!==this._items.length&&this._items[r-1].after(n),this._items.push(n),this._mergers.push(1*n.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[r].before(n),this._items.splice(r,0,n),this._mergers.splice(r,0,1*n.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:n,position:r})},o.prototype.remove=function(t){t=this.normalize(t,!0),t!==i&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},o.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,n){this.enter("pre-loading"),n=t(n),t(new Image).one("load",t.proxy(function(t){n.attr("src",t.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))},this))},o.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(r).off(".owl.core"),this.settings.responsive!==!1&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize));for(var e in this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},o.prototype.op=function(t,e,n){var r=this.settings.rtl;switch(e){case"<":return r?t>n:t<n;case">":return r?t<n:t>n;case">=":return r?t<=n:t>=n;case"<=":return r?t>=n:t<=n}},o.prototype.on=function(t,e,n,r){t.addEventListener?t.addEventListener(e,n,r):t.attachEvent&&t.attachEvent("on"+e,n)},o.prototype.off=function(t,e,n,r){t.removeEventListener?t.removeEventListener(e,n,r):t.detachEvent&&t.detachEvent("on"+e,n)},o.prototype.trigger=function(e,n,r,i,s){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,r],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",r||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,n));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:o.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},o.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===i&&(this._states.current[e]=0),this._states.current[e]++},this))},o.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},o.prototype.register=function(e){if(e.type===o.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}), 128!t.event.special[e.name].owl){var n=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!n||!n.apply||t.namespace&&t.namespace.indexOf("owl")!==-1?t.namespace&&t.namespace.indexOf("owl")>-1:n.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===o.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(n,r){return t.inArray(n,this._states.tags[e.name])===r},this)))},o.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},o.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},o.prototype.pointer=function(t){var e={x:null,y:null};return t=t.originalEvent||t||n.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,t.pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},o.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},o.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var r=t(this),i=r.data("owl.carousel");i||(i=new o(this,"object"==typeof e&&e),r.data("owl.carousel",i),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,n){i.register({type:o.Type.Event,name:n}),i.$element.on(n+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([n]),i[n].apply(this,[].slice.call(arguments,1)),this.release([n]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},t.fn.owlCarousel.Constructor=o}(window.Zepto||t,window,document),function(t,e,n,r){var i=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},i.prototype.destroy=function(){var t,n;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||t,window,document),function(t,e,n,r){var i=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,o=n.center&&i*-1||0,s=(e.property&&e.property.value!==r?e.property.value:this._core.current())+o,a=this._core.clones().length,l=t.proxy(function(t,e){this.load(e)},this);o++<i;)this.load(a/2+this._core.relative(s)),a&&t.each(this._core.clones(this._core.relative(s)),l),s++},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1},i.prototype.load=function(n){var r=this._core.$stage.children().eq(n),i=r&&r.find(".owl-lazy");!i||t.inArray(r.get(0),this._loaded)>-1||(i.each(t.proxy(function(n,r){var i,o=t(r),s=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:s},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:s},"lazy")},this)).attr("src",s):(i=new Image,i.onload=t.proxy(function(){o.css({"background-image":"url("+s+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:s},"lazy")},this),i.src=s)},this)),this._loaded.push(r.get(0)))},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=i}(window.Zepto||t,window,document),function(t,e,n,r){var i=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var e=this._core._current,n=e+this._core.settings.items,r=this._core.$stage.children().toArray().slice(e,n),i=[],o=0;t.each(r,function(e,n){i.push(t(n).height())}),o=Math.max.apply(null,i),this._core.$stage.parent().height(o).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||t,window,document),function(t,e,n,r){var i=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var n=t(e.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,t(e.content)))}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var n=function(){return t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube"}(),r=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),i=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,s=t.attr("href");if(!s)throw new Error("Missing video URL.");
vendor: 15,171 bytes, line 128
128if(r=s.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),r[3].indexOf("youtu")>-1)n="youtube";else if(r[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(r[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}r=r[6],this._videos[s]={type:n,id:r,width:i,height:o},e.attr("data-video",s),this.thumbnail(t,this._videos[s])},i.prototype.thumbnail=function(e,n){var r,i,o,s=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",a=e.find("img"),l="src",c="",u=this._core.settings,h=function(t){i='<div class="owl-video-play-icon"></div>',r=u.lazyLoad?'<div class="owl-video-tn '+c+'" '+l+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(r),e.after(i)};return e.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),a.length?(h(a.attr(l)),a.remove(),!1):void("youtube"===n.type?(o="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",h(o)):"vimeo"===n.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,h(o)}}):"vzaar"===n.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,h(o)}}))},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(e){var n,r=t(e.target),i=r.closest("."+this._core.settings.itemClass),o=this._videos[i.attr("data-video")],s=o.width||"100%",a=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===o.type?n='<iframe width="'+s+'" height="'+a+'" src="//www.youtube.com/embed/'+o.id+"?autoplay=1&v="+o.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===o.type?n='<iframe src="//player.vimeo.com/video/'+o.id+'?autoplay=1" width="'+s+'" height="'+a+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===o.type&&(n='<iframe frameborder="0"height="'+a+'"width="'+s+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+o.id+'/player?autoplay=true"></iframe>'),t('<div class="owl-video-frame">'+n+"</div>").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var e=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||t,window,document),function(t,e,n,r){var i=function(e){this.core=e,this.core.options=t.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=r,this.next=r,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,n=t.proxy(this.clear,this),r=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),r.one(t.support.animation.end,n).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&i.one(t.support.animation.end,n).addClass("animated owl-animated-in").addClass(o))}},i.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||t,window,document),function(t,e,n,r){var i=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},i.prototype._getNextTimeout=function(r,i){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||n.hidden||this._core.next(i||this._core.settings.autoplaySpeed)},this),r||this._core.settings.autoplayTimeout)},i.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},i.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},i.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||t,window,document),function(t,e,n,r){"use strict";var i=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},i.prototype.initialize=function(){var e,n=this._core.settings;this._controls.$relative=(n.navContainer?t(n.navContainer):t("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=t("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[t("<div>").addClass(n.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?t(n.dotsContainer):t("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var r=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(r,n.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},i.prototype.destroy=function(){var t,e,n,r;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(r in this.overides)this._core[r]=this._overrides[r];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},i.prototype.update=function(){var t,e,n,r=this._core.clones().length/2,i=r+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,a=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=r,e=0,n=0;t<i;t++){if(e>=a||0===e){if(this._pages.push({start:Math.min(o,t-r),end:t-r+a-1}),Math.min(o,t-r)===o)break;e=0,++n}e+=this._core.mergers(this._core.relative(t))}},i.prototype.draw=function(){var e,n=this._core.settings,r=this._core.items().length<=n.items,i=this._core.relative(this._core.current()),o=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||r),n.nav&&(this._controls.$previous.toggleClass("disabled",!o&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||r),n.dots&&(e=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},i.prototype.onTrigger=function(e){var n=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},i.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,n){return t.start<=e&&t.end>=e},this)).pop()},i.prototype.getPosition=function(e){var n,r,i=this._core.settings;return"page"==i.slideBy?(n=t.inArray(this.current(),this._pages),r=this._pages.length,e?++n:--n,n=this._pages[(n%r+r)%r].start):(n=this._core.relative(this._core.current()),r=this._core.items().length,e?n+=i.slideBy:n-=i.slideBy),n},i.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},i.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},i.prototype.to=function(e,n,r){var i;!r&&this._pages.length?(i=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%i+i)%i].start,n)):t.proxy(this._overrides.to,this._core)(e,n)},t.fn.owlCarousel.Constructor.Plugins.Navigation=i}(window.Zepto||t,window,document),function(t,e,n,r){"use strict";var i=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var n=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=e.content}},this),"changed.owl.carousel":t.proxy(function(n){if(n.namespace&&"position"===n.property.name){var r=this._core.items(this._core.relative(this._core.current())),i=t.map(this._hashes,function(t,e){return t===r?e:null}).join();if(!i||e.location.hash.slice(1)===i)return;e.location.hash=i}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var n=e.location.hash.substring(1),i=this._core.$stage.children(),o=this._hashes[n]&&i.index(this._hashes[n]);o!==r&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)},this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var n,r;t(e).off("hashchange.owl.navigation");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(r in Object.getOwnPropertyNames(this))"function"!=typeof this[r]&&(this[r]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||t,window,document),function(t,e,n,r){function i(e,n){var i=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),function(t,e){if(s[e]!==r)return i=!n||e,!1}),i}function o(t){return i(t,!0)}var s=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!i("transform")},csstransforms3d:function(){return!!i("perspective")},csstransitions:function(){return!!i("transition")},cssanimations:function(){return!!i("animation")}};
vendor: 4,747 bytes, line 128
128c.csstransitions()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(o("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||t,window,document)}).call(e,n(11),n(11))},function(t,e,n){var r=n(361),i=n(351),o=function(t){return"[object Array]"===Object.prototype.toString.call(t)};t.exports=function(t){if(!t)return{};var e={};return i(r(t).split("\n"),function(t){var n=t.indexOf(":"),i=r(t.slice(0,n)).toLowerCase(),s=r(t.slice(n+1));"undefined"==typeof e[i]?e[i]=s:o(e[i])?e[i].push(s):e[i]=[e[i],s]}),e}},function(t,e){(function(e){!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,s=Object.create(o.prototype),a=new f(r||[]);return s._invoke=c(t,n,a),s}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function s(){}function a(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function l(t){function n(e,i,o,s){var a=r(t[e],t,i);if("throw"!==a.type){var l=a.arg,c=l.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(t){n("next",t,o,s)},function(t){n("throw",t,o,s)}):Promise.resolve(c).then(function(t){l.value=t,o(l)},s)}s(a.arg)}function i(t,e){function r(){return new Promise(function(r,i){n(t,e,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(t,e,n){var i=S;return function(o,s){if(i===k)throw new Error("Generator is already running");if(i===A){if("throw"===o)throw s;return g()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=u(a,n);if(l){if(l===P)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===S)throw i=A,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=k;var c=r(t,e,n);if("normal"===c.type){if(i=n.done?A:E,c.arg===P)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=A,n.method="throw",n.arg=c.arg)}}}function u(t,e){var n=t.iterator[e.method];if(n===v){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=v,u(t,e),"throw"===e.method))return P;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,P;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=v),e.delegate=null,P):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,P)}function h(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function f(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(h,this),this.reset(!0)}function d(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=v,e.done=!0,e};return r.next=r}}return{next:g}}function g(){return{value:v,done:!0}}var v,m=Object.prototype,y=m.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",x=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",T="object"==typeof t,C=e.regeneratorRuntime;if(C)return void(T&&(t.exports=C));C=e.regeneratorRuntime=T?t.exports:{},C.wrap=n;var S="suspendedStart",E="suspendedYield",k="executing",A="completed",P={},M={};M[w]=function(){return this};var j=Object.getPrototypeOf,I=j&&j(j(d([])));I&&I!==m&&y.call(I,w)&&(M=I);var O=s.prototype=i.prototype=Object.create(M);o.prototype=O.constructor=s,s.constructor=o,s[_]=o.displayName="GeneratorFunction",C.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},C.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(O),t},C.awrap=function(t){return{__await:t}},a(l.prototype),l.prototype[x]=function(){return this},C.AsyncIterator=l,C.async=function(t,e,r,i){var o=new l(n(t,e,r,i));return C.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},a(O),O[_]="Generator",O[w]=function(){return this},O.toString=function(){return"[object Generator]"}
128,C.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=d,f.prototype={constructor:f,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=v),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var s=y.call(i,"catchLoc"),a=y.call(i,"finallyLoc");if(s&&a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,P):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),P},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),p(n),P}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=v),P}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}())},function(t,e){function n(t,e){var n,r=null;try{n=JSON.parse(t,e)}catch(t){r=t}return[r,n]}t.exports=n},function(t,e){function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},function(t,e){function n(t){return t.replace(/\n\r?\s*/g,"")}t.exports=function(t){for(var e="",r=0;r<arguments.length;r++)e+=n(t[r])+(arguments[r+1]||"");return e}},function(t,e,n){var r=n(93),i=t.exports={WebVTT:n(364),VTTCue:n(365),VTTRegion:n(366)};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,s=i.VTTRegion,a=r.VTTCue,l=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=s},i.restore=function(){r.VTTCue=a,r.VTTRegion=l},r.VTTCue||i.shim()},function(t,e){function n(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function r(t){function e(t,e,n,r){return 3600*(0|t)+60*(0|e)+(0|n)+(0|r)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function i(){this.values=v(null)}function o(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"==typeof i[o]){var s=i[o].split(n);if(2===s.length){var a=s[0],l=s[1];e(a,l)}}}function s(t,e,s){function a(){var e=r(t);if(null===e)throw new n(n.Errors.BadTimeStamp,"Malformed timestamp: "+u);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function l(t,e){var n=new i;o(t,function(t,e){switch(t){case"region":for(var r=s.length-1;r>=0;r--)if(s[r].id===e){n.set(t,s[r].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var i=e.split(","),o=i[0];n.integer(t,o),n.percent(t,o)?n.set("snapToLines",!1):null,n.alt(t,o,["auto"]),2===i.length&&n.alt("lineAlign",i[1],["start","middle","end"]);break;case"position":i=e.split(","),n.percent(t,i[0]),2===i.length&&n.alt("positionAlign",i[1],["start","middle","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","middle","end","left","right"])}}
vendor: 17,751 bytes, lines 128-129
128,/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical",""),e.line=n.get("line","auto"),e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100),e.align=n.get("align","middle"),e.position=n.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align), 129e.positionAlign=n.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function c(){t=t.replace(/^\s+/,"")}var u=t;if(c(),e.startTime=a(),c(),"-->"!==t.substr(0,3))throw new n(n.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+u);t=t.substr(3),c(),e.endTime=a(),c(),l(t,e)}function a(t,e){function n(){function t(t){return e=e.substr(t.length),t}if(!e)return null;var n=e.match(/^([^<]*)(<[^>]+>?)?/);return t(n[1]?n[1]:n[2])}function i(t){return m[t]}function o(t){for(;d=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(d[0],i);return t}function s(t,e){return!w[e.localName]||w[e.localName]===t.localName}function a(e,n){var r=y[e];if(!r)return null;var i=t.document.createElement(r);i.localName=r;var o=b[e];return o&&n&&(i[o]=n.trim()),i}for(var l,c=t.document.createElement("div"),u=c,h=[];null!==(l=n());)if("<"!==l[0])u.appendChild(t.document.createTextNode(o(l)));else{if("/"===l[1]){h.length&&h[h.length-1]===l.substr(2).replace(">","")&&(h.pop(),u=u.parentNode);continue}var p,f=r(l.substr(1,l.length-2));if(f){p=t.document.createProcessingInstruction("timestamp",f),u.appendChild(p);continue}var d=l.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!d)continue;if(p=a(d[1],d[3]),!p)continue;if(!s(u,p))continue;d[2]&&(p.className=d[2].substr(1).replace("."," ")),h.push(d[1]),u.appendChild(p),u=p}return c}function l(t){for(var e=0;e<x.length;e++){var n=x[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function c(t){function e(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function n(t){if(!t||!t.length)return null;var r=t.pop(),i=r.textContent||r.innerText;if(i){var o=i.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):i}return"ruby"===r.tagName?n(t):r.childNodes?(e(t,r),n(t)):void 0}var r,i=[],o="";if(!t||!t.childNodes)return"ltr";for(e(i,t);o=n(i);)for(var s=0;s<o.length;s++)if(r=o.charCodeAt(s),l(r))return"rtl";return"ltr"}function u(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,r=0,i=0;i<n.length&&n[i]!==e;i++)"showing"===n[i].mode&&r++;return++r*-1}function h(){}function p(t,e,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),i="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";r&&(i="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),h.call(this),this.cue=e,this.cueDiv=a(t,e.text);var s={color:i,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=t.document.createElement("div"),s={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=c(this.cueDiv),s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var l=0;switch(e.positionAlign){case"start":l=e.position;break;case"middle":l=e.position-e.size/2;break;case"end":l=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(l,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(l,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function f(t){var e,n,r,i,o=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,r=t.div.offsetWidth,i=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||n,this.bottom=t.bottom||i+(t.height||n),this.width=t.width||r,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function d(t,e,n,r){function i(t,e){for(var i,o=new f(t),s=1,a=0;a<e.length;a++){for(;t.overlapsOppositeAxis(n,e[a])||t.within(n)&&t.overlapsAny(r);)t.move(e[a]);if(t.within(n))return t;var l=t.intersectPercentage(n);s>l&&(i=new f(t),s=l),t=new f(o)}return i||o}var o=new f(e),s=e.cue,a=u(s),l=[];if(s.snapToLines){var c;switch(s.vertical){case"":l=["+y","-y"],c="height";break;case"rl":l=["+x","-x"],c="width";break;case"lr":l=["-x","+x"],c="width"}var h=o.lineHeight,p=h*Math.round(a),d=n[c]+h,g=l[0];Math.abs(p)>d&&(p=p<0?-1:1,p*=Math.ceil(d/h)*h),a<0&&(p+=""===s.vertical?n.height:n.width,l=l.reverse()),o.move(g,p)}else{var v=o.lineHeight/n.height*100;switch(s.lineAlign){case"middle":a-=v/2;break;case"end":a-=v}switch(s.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")})}l=["+y","-x","+x","-y"],o=new f(e)}var m=i(o,l);e.move(m.toCSSCompatValues(n))}function g(){}var v=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();n.prototype=v(Error.prototype),n.prototype.constructor=n,n.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},i.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var r=0;r<n.length;++r)if(e===n[r]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){var n;return!!((n=e.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(e=parseFloat(e),e>=0&&e<=100))&&(this.set(t,e),!0)}};var m={"&":"&","<":"<",">":">","‎":"ââ¬Å½","‏":"ââ¬Â"," ":"à "},y={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},b={v:"title",lang:"lang"},w={rt:"ruby"},x=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];h.prototype.applyStyles=function(t,e){e=e||this.div;for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},h.prototype.formatStyle=function(t,e){return 0===t?0:t+e},p.prototype=v(h.prototype),p.prototype.constructor=p,f.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},f.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},f.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},f.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},f.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},f.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),n=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),r=e*n;return r/(this.height*this.width)},f.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},f.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,r=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var i={left:t.left,right:t.right,top:t.top||r,height:t.height||e,bottom:t.bottom||r+(t.height||e),width:t.width||n};return i},g.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},g.convertCueToDOMTree=function(t,e){return t&&e?a(t,e):null};var _=.05,T="sans-serif",C="1.5%";g.processCues=function(t,e,n){function r(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=t.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin=C,n.appendChild(i),r(e)){var o=[],s=f.getSimpleBoxPosition(i),a=Math.round(s.height*_*100)/100,l={font:a+"px "+T};!function(){for(var n,r,a=0;a<e.length;a++)r=e[a],n=new p(t,r,l),i.appendChild(n.div),d(t,n,s,o),r.displayState=n.div,o.push(f.getSimpleBoxPosition(n))}()}else for(var c=0;c<e.length;c++)i.appendChild(e[c].displayState)},g.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},g.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof n))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function e(){for(var t=u.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var n=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,u.buffer=t.substr(e),n}function a(t){var e=new i;if(o(t,function(t,n){switch(t){case"id":e.set(t,n);break;case"width":e.percent(t,n);break;case"lines":e.integer(t,n);break;case"regionanchor":case"viewportanchor":var r=n.split(",");if(2!==r.length)break;var o=new i;if(o.percent("x",r[0]),o.percent("y",r[1]),!o.has("x")||!o.has("y"))break;e.set(t+"X",o.get("x")),e.set(t+"Y",o.get("y"));break;case"scroll":e.alt(t,n,["up"])}},/=/,/\s/),e.has("id")){var n=new(u.vttjs.VTTRegion||u.window.VTTRegion);n.width=e.get("width",100),n.lines=e.get("lines",3),n.regionAnchorX=e.get("regionanchorX",0),n.regionAnchorY=e.get("regionanchorY",100),n.viewportAnchorX=e.get("viewportanchorX",0),n.viewportAnchorY=e.get("viewportanchorY",100),n.scroll=e.get("scroll",""),u.onregion&&u.onregion(n),u.regionList.push({id:e.get("id"),region:n})}}function l(t){var e=new i;o(t,function(t,n){switch(t){case"MPEGT":e.integer(t+"S",n);break;case"LOCA":e.set(t+"L",r(n))}},/[^\d]:/,/,/),u.ontimestampmap&&u.ontimestampmap({MPEGTS:e.get("MPEGTS"),LOCAL:e.get("LOCAL")})}function c(t){t.match(/X-TIMESTAMP-MAP/)?o(t,function(t,e){switch(t){case"X-TIMESTAMP-MAP":l(e)}},/=/):o(t,function(t,e){switch(t){case"Region":a(e)}},/:/)}var u=this;t&&(u.buffer+=u.decoder.decode(t,{stream:!0}));try{var h;if("INITIAL"===u.state){if(!/\r\n|\n/.test(u.buffer))return this;h=e();var p=h.match(/^WEBVTT([ \t].*)?$/);if(!p||!p[0])throw new n(n.Errors.BadSignature);u.state="HEADER"}for(var f=!1;u.buffer;){if(!/\r\n|\n/.test(u.buffer))return this;switch(f?f=!1:h=e(),u.state){case"HEADER":/:/.test(h)?c(h):h||(u.state="ID");continue;case"NOTE":h||(u.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(h)){u.state="NOTE";break}if(!h)continue;if(u.cue=new(u.vttjs.VTTCue||u.window.VTTCue)(0,0,""),u.state="CUE",h.indexOf("-->")===-1){u.cue.id=h;continue}case"CUE":try{s(h,u.cue,u.regionList)}catch(t){u.reportOrThrowError(t),u.cue=null,u.state="BADCUE";continue}u.state="CUETEXT";continue;case"CUETEXT":var d=h.indexOf("-->")!==-1;if(!h||d&&(f=!0)){u.oncue&&u.oncue(u.cue),u.cue=null,u.state="ID";continue}u.cue.text&&(u.cue.text+="\n"),u.cue.text+=h;continue;case"BADCUE":h||(u.state="ID");continue}}}catch(t){u.reportOrThrowError(t),"CUETEXT"===u.state&&u.cue&&u.oncue&&u.oncue(u.cue),u.cue=null,u.state="INITIAL"===u.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new n(n.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.exports=g},function(t,e){function n(t){if("string"!=typeof t)return!1;var e=a[t.toLowerCase()];return!!e&&t.toLowerCase()}function r(t){if("string"!=typeof t)return!1;var e=l[t.toLowerCase()];return!!e&&t.toLowerCase()}function i(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function o(t,e,o){var a=this,l=/MSIE\s8\.0/.test(navigator.userAgent),c={};l?a=document.createElement("custom"):c.enumerable=!0,a.hasBeenReset=!1;var u="",h=!1,p=t,f=e,d=o,g=null,v="",m=!0,y="auto",b="start",w=50,x="middle",_=50,T="middle";if(Object.defineProperty(a,"id",i({},c,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(a,"pauseOnExit",i({},c,{get:function(){return h},set:function(t){h=!!t}})),Object.defineProperty(a,"startTime",i({},c,{get:function(){return p},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");p=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"endTime",i({},c,{get:function(){return f},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"text",i({},c,{get:function(){return d},set:function(t){d=""+t,this.hasBeenReset=!0}})),Object.defineProperty(a,"region",i({},c,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"vertical",i({},c,{get:function(){return v},set:function(t){var e=n(t);if(e===!1)throw new SyntaxError("An invalid or illegal string was specified.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"snapToLines",i({},c,{get:function(){return m},set:function(t){m=!!t,this.hasBeenReset=!0}})),Object.defineProperty(a,"line",i({},c,{get:function(){return y},set:function(t){if("number"!=typeof t&&t!==s)throw new SyntaxError("An invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"lineAlign",i({},c,{get:function(){return b},set:function(t){var e=r(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"position",i({},c,{get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"positionAlign",i({},c,{get:function(){return x},set:function(t){var e=r(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");x=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"size",i({},c,{get:function(){return _},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"align",i({},c,{get:function(){return T},set:function(t){var e=r(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");T=e,this.hasBeenReset=!0}})),a.displayState=void 0,l)return a}var s="auto",a={"":!0,lr:!0,rl:!0},l={start:!0,middle:!0,end:!0,left:!0,right:!0};o.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=o},function(t,e){function n(t){if("string"!=typeof t)return!1;var e=o[t.toLowerCase()];return!!e&&t.toLowerCase()}function r(t){return"number"==typeof t&&t>=0&&t<=100}function i(){var t=100,e=3,i=0,o=100,s=0,a=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return a}
129,set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");a=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return l},set:function(t){var e=n(t);if(e===!1)throw new SyntaxError("An invalid or illegal string was specified.");l=e}}})}var o={"":!0,up:!0};t.exports=i},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<t.length;n++)e(t[n])}function i(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function o(t,e,n){var r=t;return h(e)?(n=e,"string"==typeof t&&(r={uri:t})):r=f(e,{uri:t}),r.callback=n,r}function s(t,e,n){return e=o(t,e,n),a(e)}function a(t){function e(){4===u.readyState&&setTimeout(o,0)}function n(){var t=void 0;if(t=u.response?u.response:u.responseText||l(u),w)try{t=JSON.parse(t)}catch(t){}return t}function r(t){return clearTimeout(d),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,c(t,x)}function o(){if(!f){var e;clearTimeout(d),e=t.useXDR&&void 0===u.status?200:1223===u.status?204:u.status;var r=x,i=null;return 0!==e?(r={body:n(),statusCode:e,method:v,headers:{},url:g,rawRequest:u},u.getAllResponseHeaders&&(r.headers=p(u.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),c(i,r,r.body)}}if("undefined"==typeof t.callback)throw new Error("callback argument missing");var a=!1,c=function(e,n,r){a||(a=!0,t.callback(e,n,r))},u=t.xhr||null;u||(u=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var h,f,d,g=u.url=t.uri||t.url,v=u.method=t.method||"GET",m=t.body||t.data,y=u.headers=t.headers||{},b=!!t.sync,w=!1,x={body:void 0,headers:{},statusCode:0,method:v,url:g,rawRequest:u};if("json"in t&&t.json!==!1&&(w=!0,y.accept||y.Accept||(y.Accept="application/json"),"GET"!==v&&"HEAD"!==v&&(y["content-type"]||y["Content-Type"]||(y["Content-Type"]="application/json"),m=JSON.stringify(t.json===!0?m:t.json))),u.onreadystatechange=e,u.onload=o,u.onerror=r,u.onprogress=function(){},u.onabort=function(){f=!0},u.ontimeout=r,u.open(v,g,!b,t.username,t.password),b||(u.withCredentials=!!t.withCredentials),!b&&t.timeout>0&&(d=setTimeout(function(){if(!f){f=!0,u.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",r(t)}},t.timeout)),u.setRequestHeader)for(h in y)y.hasOwnProperty(h)&&u.setRequestHeader(h,y[h]);else if(t.headers&&!i(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(u.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(u),u.send(m||null),u}function l(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}function c(){}var u=n(93),h=n(130),p=n(358),f=n(368);t.exports=s,s.XMLHttpRequest=u.XMLHttpRequest||c,s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:u.XDomainRequest,r(["get","put","post","patch","head","delete"],function(t){s["delete"===t?"del":t]=function(e,n,r){return n=o(e,n,r),n.method=t.toUpperCase(),a(n)}})},function(t,e){function n(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var i in n)r.call(n,i)&&(t[i]=n[i])}return t}t.exports=n;var r=Object.prototype.hasOwnProperty},function(t,e){}]); 130//# sourceMappingURL=bundle.js.map 131 132 133var loading = '<div class="message is-info text-center animated fadeInDown clr"><button class="button is-transparent is-loading is-vertically-middle"></button>در ØØ§Ù Ø¯Ø±ÛØ§Ùت دادÙâÙØ§... ÙØ·ÙØ§Ù Ø´Ú©ÛØ¨Ø§ Ø¨Ø§Ø´ÛØ¯.</div>'; 134var nulldata = '<div class="message is-warning text-center animated fadeInDown clr">ÙÛÚ Ù ÙØ±Ø¯Û Ø¨Ø±Ø§Û ÙÙ Ø§ÛØ´ ÛØ§Ùت ÙØ´Ø¯!</div>'; 135var error = '<div class="message is-warning text-center animated fadeInDown clr" v-show="config.errorLoadingData && !config.loadingData"><div>در Ø²Ù Ø§Ù Ø¯Ø±ÛØ§Ùت Ø¯Ø§Ø¯Ù ÙØ§ خطاÛÛ Ø±Ø® داد. ÙØ·ÙØ§Ù ÙØØ¸Ø§ØªÛ Ø¯Ûگر Ù Ø¬Ø¯Ø¯Ø§Ù ØªÙØ§Ø´ Ù٠اÛÛØ¯.</div></div>'; 136var archive = 137 '<li class="news-item-row is-padded is-self-boxed col-xs-12 has-share-box is-relative">' + 138 '<div class="row">' + 139 '<a href="{URL}" class="thumbnail-container col-xs-5 col-md-3" target="_blank">' + 140 '<img src="{SmallSize}" alt="{Titr}" title="{Titr}" class="is-fullwidth" />' + 141 '</a>' + 142 '<div class="details-container col-xs-7 col-md-9">' + 143 '<h3 class="title">' + 144 '<a href="{URL}" title="{Titr}" target="_blank">{Titr}</a>' + 145 '</h3>' + 146 '<div class="has-margin-top-half has-margin-bottom-half">' + 147 '{Lead}' + 148 '</div>' + 149 '</div>' + 150 '<div class="clr"></div>' + 151 '</div>' + 152 '<div class="share-box-container">' + 153 '<ul class="plain-ul">' + 154 '<li class="pull-left"><a target="_blank" class="twitter" href="https://twitter.com/home?status={SiteURL}"><i class="mdi mdi-twitter"></i></a></li>' + 155 '<li class="pull-left"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={SiteURL}"><i class="mdi mdi-facebook"></i></a></li>' + 156 '<li class="pull-left"><a target="_blank" class="google-plus" href="https://plus.google.com/share?url={SiteURL}"><i class="mdi mdi-google-plus"></i></a></li>' + 157 '<li class="pull-left"><a target="_blank" class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url={SiteURL}>&title={Titr}&source="><i class="mdi mdi-linkedin"></i></a></li>' + 158 '<li class="pull-left"><a target="_blank" class="telegram" href="https://telegram.me/share/url?url={SiteURL}&text={Titr}"><i class="mdi mdi-telegram"></i></a></li>' + 159 '</ul>' + 160 '</div>' + 161 '<time datetime="{PublishDate}" class="is-yekan-n-number">{PersianDate}</time>' + 162 '</li>'; 163 164function getParameterByName(name) { 165 name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
166 var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), 167 results = regex.exec(location.search); 168 return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); 169} 170 171$(document).ready(function(){ 172 $('#adsheader-res').html($('#adsheader').html()); 173 $(window).resize(function () { 174 if (parseInt($(document).width()) <= 991) { 175 $('#adsheader-res').html($('#adsheader').html()); 176 } else { 177 $('#adsheader-res').html(''); 178 } 179 }); 180 181 $('button i.mdi-magnify').click(function (e) { 182 window.open('/search/?keyword=' + $(this).parent().parent().find('input[type="search"]').val(), '_blank'); 183 }); 184 185 $('input[type="search"]').keypress(function (e) { 186 var code = e.keyCode || e.which; 187 if (code == 13) { //Enter keycode 188 e.preventDefault(); 189 window.open('/search/?keyword=' + $(this).val(), '_blank'); 190 } 191 }); 192 193 if ($('.search-container').length > 0) { 194 $('.search-container input[type="search"]').val(getParameterByName("keyword")); 195 } 196 197 $('#btnSendComment').click(function (e) { 198 if ($(this).parent().parent().find('textarea').val() == '') { 199 $('#salert').html('<div class="alert alert-danger" role="alert"><i class="fa fa-warning"></i>ÙØ·Ùا Ø¯ÛØ¯Ú¯Ø§Ù Ø®ÙØ¯ را بÙÙÛØ³Ûد</div>'); 200 } else { 201 $('#salert').html(''); 202 //$(this).text('ÙØ·Ùا Ø´Ú©ÛØ¨Ø§ Ø¨Ø§Ø´ÛØ¯ ...'); 203 $(this).attr('disabled', true); 204 $.ajax({
205 type: "POST", 206 url: "/ContentPage.aspx/SubmitComment", 207 data: "{NewsId:'" + $('#divDetail').data('id') + "',Fullname:'" + $(this).parent().parent().find('input').val() + "',CommentBody:'" + $(this).parent().parent().find('textarea').val() + "'}", 208 contentType: "application/json; charset=utf-8", 209 dataType: 'json', 210 success: function (data) { 211 var jsonobj = eval(data.d); 212 jQuery.each(jsonobj, function (index) { 213 Message = this.ulItem; 214 }); 215 if (Message == '') { 216 $('#salert').html('<div class="alert alert-success" role="alert">Ù¾ÛØ§Ù ش٠ا با Ù ÙÙÙÛØª ثبت شد ٠پس از تاÛÛØ¯ Ù ÙØªØ´Ø± Ø®ÙØ§Ùد شد.</div>'); 217 $('#salert').parent().find('input').val(''); 218 $('#salert').parent().find('textarea').val(''); 219 } else { 220 $('#salert').html('<div class="alert alert-danger" role="alert">' + Message + '</div>'); 221 } 222 } 223 }); 224 $(this).text('ارساÙ'); 225 $(this).attr('disabled', false); 226 } 227 }); 228 229 $('.comment-foot').on('click', '.comment-like', function (e) { 230 $(this).attr('disabled', true); 231 var cid = $(this).parent().data('id'); 232 $.ajax({
233 type: "POST", 234 url: "/ContentPage.aspx/CommentButtons", 235 data: "{CommentId:'" + cid + "',Button:'like'}", 236 contentType: "application/json; charset=utf-8", 237 dataType: 'json', 238 success: function (data) { 239 var jsonobj = eval(data.d); 240 jQuery.each(jsonobj, function (index) { 241 Message = this.ulItem; 242 }); 243 } 244 }); 245 $(this).text(parseInt($(this).text()) + 1); 246 }); 247 248 $('.comment-foot').on('click', '.comment-thinking', function (e) { 249 $(this).attr('disabled', true); 250 var cid = $(this).parent().data('id'); 251 $.ajax({ 252 type: "POST", 253 url: "/ContentPage.aspx/CommentButtons", 254 data: "{CommentId:'" + cid + "',Button:'thinking'}", 255 contentType: "application/json; charset=utf-8", 256 dataType: 'json', 257 success: function (data) { 258 var jsonobj = eval(data.d); 259 jQuery.each(jsonobj, function (index) { 260 Message = this.ulItem; 261 }); 262 } 263 }); 264 $(this).text(parseInt($(this).text()) + 1); 265 }); 266 267 $('.comment-foot').on('click', '.comment-smile', function (e) { 268 $(this).attr('disabled', true); 269 var cid = $(this).parent().data('id'); 270 $.ajax({
271 type: "POST", 272 url: "/ContentPage.aspx/CommentButtons", 273 data: "{CommentId:'" + cid + "',Button:'smile'}", 274 contentType: "application/json; charset=utf-8", 275 dataType: 'json', 276 success: function (data) { 277 var jsonobj = eval(data.d); 278 jQuery.each(jsonobj, function (index) { 279 Message = this.ulItem; 280 }); 281 } 282 }); 283 $(this).text(parseInt($(this).text()) + 1); 284 }); 285 286 $('.comment-foot').on('click', '.comment-wow', function (e) { 287 $(this).attr('disabled', true); 288 var cid = $(this).parent().data('id'); 289 $.ajax({ 290 type: "POST", 291 url: "/ContentPage.aspx/CommentButtons", 292 data: "{CommentId:'" + cid + "',Button:'wow'}", 293 contentType: "application/json; charset=utf-8", 294 dataType: 'json', 295 success: function (data) { 296 var jsonobj = eval(data.d); 297 jQuery.each(jsonobj, function (index) { 298 Message = this.ulItem; 299 }); 300 } 301 }); 302 $(this).text(parseInt($(this).text()) + 1); 303 }); 304 305 $('#btnArchive').on('click', function () { 306 if ($("#datepicker").val() != '') { 307 $('#ulArchive').html(''); 308 $('#divMessage').html(loading); 309 310 $.ajax({
311 type: "POST", 312 url: "/Archive.aspx/getArchiveList", 313 data: "{StartPage: '1',SerId: '" + $('#ddServiceList :selected').val() + "',PubDate: '" + $("#datepicker").val() + "'}", 314 contentType: "application/json; charset=utf-8", 315 dataType: 'json', 316 success: function (data) { 317 var jsonobj = eval(data.d); 318 var ulItem = ''; 319 jQuery.each(jsonobj, function (index) { 320 ulItem = this.ulItem; 321 }); 322 if (ulItem == 'error') { 323 $('#divMessage').html(error); 324 } else { 325 NewsCount = 0; 326 var divArchive = ''; 327 jQuery.each(jsonobj, function (index) { 328 divArchive += archive.replace(/{Titr}/gi, this.Titr).replace(/{SmallSize}/gi, this.SmallPath).replace(/{Lead}/gi, this.Lead).replace(/{PersianDate}/gi, this.PersianDate).replace(/{PublishDate}/gi, this.PublishDate).replace(/{URL}/gi, this.URL).replace(/{SiteURL}/gi, this.SiteURL); 329 NewsCount++; 330 }); 331 setTimeout(function(){ 332 if (divArchive == '') { 333 $('#divMessage').html(nulldata); 334 $('#ulArchive').html(''); 335 } else { 336 $('#divMessage').html(''); 337 $('#ulArchive').html(divArchive); 338 } 339 }, 1000); 340 } 341 }, error: function(date) { 342 $('#divMessage').html(error); 343 } 344 }); 345 } 346 }); 347 348 var mse = 20; 349 $('#btnMoreSearch').on('click', function (e) { 350 $('.load-more-button-container').fadeOut(function(){$('#divMessage').html(loading);}); 351 $.ajax({
352 type: "POST", 353 url: "/ShowSearch.aspx/getSearchList", 354 data: "{StartPage: '" + (parseInt(mse) + 1).toString() + "',Keyword: '" + getParameterByName("keyword") + "'}", 355 contentType: "application/json; charset=utf-8", 356 dataType: 'json', 357 success: function (data) { 358 var jsonobj = eval(data.d); 359 var ulItem = ''; 360 jQuery.each(jsonobj, function (index) { 361 ulItem = this.ulItem; 362 }); 363 if (ulItem == 'error') { 364 $('#divMessage').html(error); 365 } else { 366 NewsCount = 0; 367 var divSearch = ''; 368 jQuery.each(jsonobj, function (index) { 369 divSearch += archive.replace(/{Titr}/gi, this.Titr).replace(/{SmallSize}/gi, this.SmallPath).replace(/{Lead}/gi, this.Lead).replace(/{PersianDate}/gi, this.PersianDate).replace(/{PublishDate}/gi, this.PublishDate).replace(/{URL}/gi, this.URL).replace(/{SiteURL}/gi, this.SiteURL); 370 NewsCount++; 371 }); 372 setTimeout(function(){ 373 if (NewsCount == 20) { 374 mse = parseInt(mse) + NewsCount; 375 $('#divMessage').html(''); 376 $('#ulSearch').append(divSearch); 377 $('.load-more-button-container').fadeIn(); 378 } else if (NewsCount == 0) { 379 //$('#divMessage').html(nulldata); 380 $('#divMessage').html(''); 381 } else { 382 $('#divMessage').html(''); 383 $('#ulSearch').append(divSearch); 384 } 385 }, 1000); 386 } 387 }, error: function(date) { 388 $('#divMessage').html(error); 389 } 390 }); 391 }); 392 393 var mtg = 20; 394 $('#btnMoreTag').on('click', function (e) { 395 $('.load-more-button-container').fadeOut(function(){$('#divMessage').html(loading);}); 396 $.ajax({
397 type: "POST", 398 url: "/ShowTagedNews.aspx/getTagList", 399 data: "{StartPage: '" + (parseInt(mtg) + 1).toString() + "',TagId: '" + $('#hTag').val() + "'}", 400 contentType: "application/json; charset=utf-8", 401 dataType: 'json', 402 success: function (data) { 403 var jsonobj = eval(data.d); 404 var ulItem = ''; 405 jQuery.each(jsonobj, function (index) { 406 ulItem = this.ulItem; 407 }); 408 if (ulItem == 'error') { 409 $('#divMessage').html(error); 410 } else { 411 NewsCount = 0; 412 var divTag = ''; 413 jQuery.each(jsonobj, function (index) { 414 divTag += archive.replace(/{Titr}/gi, this.Titr).replace(/{SmallSize}/gi, this.SmallPath).replace(/{Lead}/gi, this.Lead).replace(/{PersianDate}/gi, this.PersianDate).replace(/{PublishDate}/gi, this.PublishDate).replace(/{URL}/gi, this.URL).replace(/{SiteURL}/gi, this.SiteURL); 415 NewsCount++; 416 }); 417 setTimeout(function(){ 418 if (NewsCount == 20) { 419 mtg = parseInt(mtg) + NewsCount; 420 $('#divMessage').html(''); 421 $('#ulTag').append(divTag); 422 $('.load-more-button-container').fadeIn(); 423 } else if (NewsCount == 0) { 424 //$('#divMessage').html(nulldata); 425 $('#divMessage').html(''); 426 } else { 427 $('#divMessage').html(''); 428 $('#ulTag').append(divTag); 429 } 430 }, 1000); 431 } 432 }, error: function(date) { 433 $('#divMessage').html(error); 434 } 435 }); 436 }); 437 438 var sc = 20; 439 $('#btnMoreNews').on('click', function (e) { 440 $('.load-more-button-container').fadeOut(function(){$('#divMessage').html(loading);}); 441 $.ajax({
442 type: "POST", 443 url: "/SubCategory.aspx/getNewsList", 444 data: "{StartPage: '" + (parseInt(sc) + 1).toString() + "',SerId: '" + $('#hSerId').val() + "'}", 445 contentType: "application/json; charset=utf-8", 446 dataType: 'json', 447 success: function (data) { 448 var jsonobj = eval(data.d); 449 var ulItem = ''; 450 jQuery.each(jsonobj, function (index) { 451 ulItem = this.ulItem; 452 }); 453 if (ulItem == 'error') { 454 $('#divMessage').html(error); 455 } else { 456 NewsCount = 0; 457 var divList = ''; 458 jQuery.each(jsonobj, function (index) { 459 divList += archive.replace(/{Titr}/gi, this.Titr).replace(/{SmallSize}/gi, this.SmallPath).replace(/{Lead}/gi, this.Lead).replace(/{PersianDate}/gi, this.PersianDate).replace(/{PublishDate}/gi, this.PublishDate).replace(/{URL}/gi, this.URL).replace(/{SiteURL}/gi, this.SiteURL); 460 NewsCount++; 461 }); 462 setTimeout(function(){ 463 if (NewsCount == 20) { 464 sc = parseInt(sc) + NewsCount; 465 $('#divMessage').html(''); 466 $('#ulNewsList').append(divList); 467 $('.load-more-button-container').fadeIn(); 468 } else if (NewsCount == 0) { 469 //$('#divMessage').html(nulldata); 470 $('#divMessage').html(''); 471 } else { 472 $('#divMessage').html(''); 473 $('#ulNewsList').append(divList); 474 } 475 }, 1000); 476 } 477 }, error: function(date) { 478 $('#divMessage').html(error); 479 } 480 }); 481 }); 482}); 483 484var isv = '1'; 485var pid = '0'; 486$('.vote-options').on('click', 'input[type="radio"]', function(e){ 487 pid = $(this).data('id'); 488}); 489 490$('.vote-buttons').on('click', '#submitVote', function () { 491 if (pid != '0') { 492 isv = '0'; 493 $('#submitVote').prop('disabled', 'disabled').css('cursor', 'not-allowed'); 494 //$('.vote-options').html(loading); 495 //$('.vote-buttons').html(''); 496 $.ajax({
497 type: "POST", 498 url: "/Default.aspx/SubmitVote", 499 data: "{PollId:'" + $('.vote-buttons').data('pollid') + "',OptionId: '" + pid + "'}", 500 contentType: "application/json; charset=utf-8", 501 dataType: 'json', 502 success: function (data) { 503 var jsonobj = eval(data.d); 504 jQuery.each(jsonobj, function (index) { 505 if (this.msg == 'error-optid') { 506 $('.div-vote').html(error); 507 } else if (this.msg == 'error-update') { 508 $('.div-vote').html(error); 509 } else if (this.msg == 'done') { 510 $('.vote-buttons #showResult').click(); 511 $('#submitVote').prop('disabled', ''); 512 } 513 }); 514 }, error: function (date) { 515 $('.div-vote').html(error); 516 } 517 }); 518 } 519}); 520 521$('.vote-buttons').on('click', '#showResult', function () { 522 $('.vote-options').html(loading); 523 $('.vote-buttons').html(''); 524 $.ajax({
525 type: "POST", 526 url: "/Default.aspx/ViewPollResult", 527 data: "{PollId: '" + $('.vote-buttons').data('pollid') + "'}", 528 contentType: "application/json; charset=utf-8", 529 dataType: 'json', 530 success: function (data) { 531 var pres = ''; 532 var jsonobj = eval(data.d); 533 jQuery.each(jsonobj, function (index) { 534 if (this.Title == 'error-pollid') { 535 $('.div-vote').html(error); 536 } else if (this.Title == 'null') { 537 $('.div-vote').html(error); 538 } else { 539 pres += '<div class="form-check"><span class="opt-text"><div>%' + this.Vote + '</div><div>' + this.Title + '</div></span></div>'; 540 } 541 }); 542 if (pres != '') { 543 $('.vote-options').html(pres); 544 if (isv == '1' || $('.vote-header').data('ismulti').toString().toLowerCase() == 'true') { 545 $('.vote-buttons').html('<div class="vt-btn-vm"><input style="display: inline-block;width:100%;" id="showVote" class="btn btn-info" value="بازگشت ب٠ثبت راÛ" type="button" /></div>'); 546 } else { 547 } 548 pid = '0'; 549 } 550 }, error: function (date) { 551 $('.div-vote').html(error); 552 } 553 }); 554}); 555 556$('.vote-buttons').on('click', '#showVote', function() { 557 $('.vote-options').html(loading); 558 $('.vote-buttons').html(''); 559 $.ajax({
560 type: "POST", 561 url: "/Default.aspx/ViewPollResult", 562 data: "{PollId: '" + $('.vote-buttons').data('pollid') + "'}", 563 contentType: "application/json; charset=utf-8", 564 dataType: 'json', 565 success: function (data) { 566 var pres = ''; 567 var jsonobj = eval(data.d); 568 jQuery.each(jsonobj, function (index) { 569 if (this.Title == 'error-pollid') { 570 $('.div-vote').html(error); 571 } else if (this.Title == 'null') { 572 $('.div-vote').html(error); 573 } else { 574 pres += '<div class="form-check"><label><input type="radio" name="radio" data-id="' + this.PollOptionId + '" > <span class="label-text"><div>' + this.Title + '</div></span></label></div>'; 575 } 576 }); 577 if (pres != '') { 578 $('.vote-options').html(pres); 579 $('.vote-buttons').html('<div class="vt-btn-vs"><input style="display: inline-block;" id="submitVote" class="btn btn-primary" value="ثبت راÛ" type="button" /></div><div class="vt-btn-vr"><input style="display: inline-block;" id="showResult" class="btn btn-info" value="Ù Ø´Ø§ÙØ¯Ù ÙØªØ§Ûج" type="button" /></div>'); 580 pid = '0'; 581 } 582 }, error: function (date) { 583 $('.div-vote').html(error); 584 } 585 }); 586});
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.