1!function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(o,a){for(var s,l,u=0,c=[];u<o.length;u++)l=o[u],i[l]&&c.push.apply(c,i[l]),i[l]=0;for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s]);for(n&&n(o,a);c.length;)c.shift().call(null,e);if(a[0])return r[0]=0,e(0)};var r={},i={1:0};return e.e=function(t,n){if(0===i[t])return n.call(null,e);if(void 0!==i[t])i[t].push(n);else{i[t]=[n];var r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=e.p+""+t+"."+({9:"front"}[t]||t)+"."+{9:"21406e5d8f392f35335a"}[t]+".js",r.appendChild(o)}},e.m=t,e.c=r,e.p="/static/assets/",e(0)}({0:function(t,e,n){n(919),n(927),n(37),n(875),n(874),n(933),t.exports=n(1105)},14:function(t,e,n){(function(e){"use strict";function r(t){return isNaN(t=+t)?0:(t>0?g:p)(t)}function i(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function o(t,e,n){return t[e]=n,t}function a(t){return y?function(n,r,o){return e.setDesc(n,r,i(t,o))}:o}function s(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function l(t){return"function"==typeof t}function u(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}var c="undefined"!=typeof self?self:Function("return this")(),f={},d=Object.defineProperty,h={}.hasOwnProperty,p=Math.ceil,g=Math.floor,m=Math.max,v=Math.min,y=!!function(){try{return 2==d({},"a",{get:function(){return 2}}).a}catch(t){}}(),b=a(1),e=t.exports=n(880)({g:c,core:f,html:c.document&&document.documentElement,isObject:s,isFunction:l,it:function(t){return t},that:function(){return this},toInteger:r,toLength:function(t){return t>0?v(r(t),9007199254740991):0},toIndex:function(t,e){return t=r(t),t<0?m(t+e,0):v(t,e)},has:function(t,e){return h.call(t,e)},create:Object.create,getProto:Object.getPrototypeOf,DESC:y,desc:i,getDesc:Object.getOwnPropertyDescriptor,setDesc:d,getKeys:Object.keys,getNames:Object.getOwnPropertyNames,getSymbols:Object.getOwnPropertySymbols,assertDefined:u,ES5Object:Object,toObject:function(t){return e.ES5Object(u(t))},hide:b,def:a(0),set:c.Symbol?o:b,mix:function(t,e){for(var n in e)b(t,n,e[n]);return t},each:[].forEach});"undefined"!=typeof __e&&(__e=f),"undefined"!=typeof __g&&(__g=c)}).call(e,n(37))},37:function(t,e,n){var r,i;/*! 2 * jQuery JavaScript Library v3.5.1 3 * https://jquery.com/ 4 * 5 * Includes Sizzle.js 6 * https://sizzlejs.com/ 7 * 8 * Copyright JS Foundation and other contributors 9 * Released under the MIT license 10 * https://jquery.org/license 11 * 12 * Date: 2020-05-04T22:49Z 13 */ 14!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 a(t,e,n){n=n||At;var r,i,o=n.createElement("script");if(o.text=t,e)for(r in It)i=e[r]||e.getAttribute&&e.getAttribute(r),i&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function s(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?vt[yt.call(t)]||"object":typeof t}function l(t){var e=!!t&&"length"in t&&t.length,n=s(t);return!St(t)&&!_t(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function c(t,e,n){return St(e)?xt.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?xt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?xt.grep(t,function(t){return mt.call(e,t)>-1!==n}):xt.filter(e,t,n)}function f(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function d(t){var e={};return xt.each(t.match(Ut)||[],function(t,n){e[n]=!0}),e}function h(t){return t}function p(t){throw t}function g(t,e,n,r){var i;try{t&&St(i=t.promise)?i.call(t).done(e).fail(n):t&&St(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function m(){At.removeEventListener("DOMContentLoaded",m),n.removeEventListener("load",m),xt.ready()}function v(t,e){return e.toUpperCase()}function y(t){return t.replace(zt,"ms-").replace(Ht,v)}function b(){this.expando=xt.expando+b.uid++}function w(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Jt.test(t)?JSON.parse(t):t)}function E(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(t,e,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return xt.css(t,e,"")},l=s(),u=n&&n[3]||(xt.cssNumber[e]?"":"px"),c=t.nodeType&&(xt.cssNumber[e]||"px"!==u&&+l)&&qt.exec(xt.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)xt.style(t,e,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,xt.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}function S(t){var e,n=t.ownerDocument,r=t.nodeName,i=re[r];return i?i:(e=n.body.appendChild(n.createElement(r)),i=xt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),re[r]=i,i)}function _(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=Zt.get(r,"display")||null,i[o]||
vendor: 5,278 bytes, line 14
14(r.style.display="")),""===r.style.display&&ne(r)&&(i[o]=S(r))):"none"!==n&&(i[o]="none",Zt.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function A(t,e){var n;return n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&u(t,e)?xt.merge([t],n):n}function I(t,e){for(var n=0,r=t.length;n<r;n++)Zt.set(t[n],"globalEval",!e||Zt.get(e[n],"globalEval"))}function C(t,e,n,r,i){for(var o,a,l,u,c,f,d=e.createDocumentFragment(),h=[],p=0,g=t.length;p<g;p++)if(o=t[p],o||0===o)if("object"===s(o))xt.merge(h,o.nodeType?[o]:o);else if(le.test(o)){for(a=a||d.appendChild(e.createElement("div")),l=(oe.exec(o)||["",""])[1].toLowerCase(),u=se[l]||se._default,a.innerHTML=u[1]+xt.htmlPrefilter(o)+u[2],f=u[0];f--;)a=a.lastChild;xt.merge(h,a.childNodes),a=d.firstChild,a.textContent=""}else h.push(e.createTextNode(o));for(d.textContent="",p=0;o=h[p++];)if(r&&xt.inArray(o,r)>-1)i&&i.push(o);else if(c=te(o),a=A(d.appendChild(o),"script"),c&&I(a),n)for(f=0;o=a[f++];)ae.test(o.type||"")&&n.push(o);return d}function x(){return!0}function D(){return!1}function L(t,e){return t===O()==("focus"===e)}function O(){try{return At.activeElement}catch(t){}}function R(t,e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(s in e)R(t,s,n,r,e[s],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=D;else if(!i)return t;return 1===o&&(a=i,i=function(t){return xt().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=xt.guid++)),t.each(function(){xt.event.add(this,e,i,r,n)})}function k(t,e,n){return n?(Zt.set(t,e,!1),void xt.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=Zt.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(xt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=ht.call(arguments),Zt.set(this,e,o),r=n(this,e),this[e](),i=Zt.get(this,e),o!==i||r?Zt.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else o.length&&(Zt.set(this,e,{value:xt.event.trigger(xt.extend(o[0],xt.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void(void 0===Zt.get(t,e)&&xt.event.add(t,e,x))}function N(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?xt(t).children("tbody")[0]||t:t}function M(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function P(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function j(t,e){var n,r,i,o,a,s,l;if(1===e.nodeType){if(Zt.hasData(t)&&(o=Zt.get(t),l=o.events)){Zt.remove(e,"handle events");for(i in l)for(n=0,r=l[i].length;n<r;n++)xt.event.add(e,i,l[i][n])}Vt.hasData(t)&&(a=Vt.access(t),s=xt.extend({},a),Vt.set(e,s))}}function F(t,e){var n=e.nodeName.toLowerCase();"input"===n&&ie.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function U(t,e,n,r){e=pt(e);var i,o,s,l,u,c,f=0,d=t.length,h=d-1,p=e[0],g=St(p);if(g||d>1&&"string"==typeof p&&!Tt.checkClone&&he.test(p))return t.each(function(i){var o=t.eq(i);g&&(e[0]=p.call(this,i,o.html())),U(o,e,n,r)});if(d&&(i=C(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=xt.map(A(i,"script"),M),l=s.length;f<d;f++)u=i,f!==h&&(u=xt.clone(u,!0,!0),l&&xt.merge(s,A(u,"script"))),n.call(t[f],u,f);if(l)for(c=s[s.length-1].ownerDocument,xt.map(s,P),f=0;f<l;f++)u=s[f],ae.test(u.type||"")&&!Zt.access(u,"globalEval")&&xt.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?xt._evalUrl&&!u.noModule&&xt._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):a(u.textContent.replace(pe,""),u,c))}return t}function B(t,e,n){for(var r,i=e?xt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||xt.cleanData(A(r)),r.parentNode&&(n&&te(r)&&I(A(r,"script")),r.parentNode.removeChild(r));return t}function G(t,e,n){var r,i,o,a,s=t.style;return n=n||me(t),n&&(a=n.getPropertyValue(e)||n[e],""!==a||te(t)||(a=xt.style(t,e)),!Tt.pixelBoxStyles()&&ge.test(a)&&ye.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function W(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function z(t){for(var e=t[0].toUpperCase()+t.slice(1),n=be.length;n--;)if(t=be[n]+e,t in we)return t}function H(t){var e=xt.cssProps[t]||Ee[t];return e?e:t in we?t:Ee[t]=z(t)||t}function Y(t,e,n){var r=qt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function Z(t,e,n,r,i,o){var a="width"===e?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=xt.css(t,n+$t[a],!0,i)),r?("content"===n&&(l-=xt.css(t,"padding"+$t[a],!0,i)),"margin"!==n&&(l-=xt.css(t,"border"+$t[a]+"Width",!0,i))):(l+=xt.css(t,"padding"+$t[a],!0,i),"padding"!==n?l+=xt.css(t,"border"+$t[a]+"Width",!0,i):s+=xt.css(t,"border"+$t[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function V(t,e,n){var r=me(t),i=!Tt.boxSizingReliable()||n,o=i&&"border-box"===xt.css(t,"boxSizing",!1,r),a=o,s=G(t,e,r),l="offset"+e[0].toUpperCase()+e.slice(1);
vendor: 4,692 bytes, line 14
14if(ge.test(s)){if(!n)return s;s="auto"}return(!Tt.boxSizingReliable()&&o||!Tt.reliableTrDimensions()&&u(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===xt.css(t,"display",!1,r))&&t.getClientRects().length&&(o="border-box"===xt.css(t,"boxSizing",!1,r),a=l in t,a&&(s=t[l])),s=parseFloat(s)||0,s+Z(t,e,n||(o?"border":"content"),a,r,s)+"px"}function J(t,e,n,r,i){return new J.prototype.init(t,e,n,r,i)}function X(){Ce&&(At.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(X):n.setTimeout(X,xt.fx.interval),xt.fx.tick())}function K(){return n.setTimeout(function(){Ie=void 0}),Ie=Date.now()}function q(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=$t[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function $(t,e,n){for(var r,i=(et.tweeners[e]||[]).concat(et.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function Q(t,e,n){var r,i,o,a,s,l,u,c,f="width"in e||"height"in e,d=this,h={},p=t.style,g=t.nodeType&&ne(t),m=Zt.get(t,"fxshow");n.queue||(a=xt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,xt.queue(t,"fx").length||a.empty.fire()})}));for(r in e)if(i=e[r],xe.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}h[r]=m&&m[r]||xt.style(t,r)}if(l=!xt.isEmptyObject(e),l||!xt.isEmptyObject(h)){f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=m&&m.display,null==u&&(u=Zt.get(t,"display")),c=xt.css(t,"display"),"none"===c&&(u?c=u:(_([t],!0),u=t.style.display||u,c=xt.css(t,"display"),_([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===xt.css(t,"float")&&(l||(d.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1;for(r in h)l||(m?"hidden"in m&&(g=m.hidden):m=Zt.access(t,"fxshow",{display:u}),o&&(m.hidden=!g),g&&_([t],!0),d.done(function(){g||_([t]),Zt.remove(t,"fxshow");for(r in h)xt.style(t,r,h[r])})),l=$(g?m[r]:0,r,d),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}}function tt(t,e){var n,r,i,o,a;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]),a=xt.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function et(t,e,n){var r,i,o=0,a=et.prefilters.length,s=xt.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var e=Ie||K(),n=Math.max(0,u.startTime+u.duration-e),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(t,[u,o,n]),o<1&&l?n:(l||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:xt.extend({},e),opts:xt.extend(!0,{specialEasing:{},easing:xt.easing._default},n),originalProperties:e,originalOptions:n,startTime:Ie||K(),duration:n.duration,tweens:[],createTween:function(e,n){var r=xt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(r),r},stop:function(e){var n=0,r=e?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(tt(c,u.opts.specialEasing);o<a;o++)if(r=et.prefilters[o].call(u,t,c,u.opts))return St(r.stop)&&(xt._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return xt.map(c,$,u),St(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),xt.fx.timer(xt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}function nt(t){var e=t.match(Ut)||[];return e.join(" ")}function rt(t){return t.getAttribute&&t.getAttribute("class")||""}function it(t){return Array.isArray(t)?t:"string"==typeof t?t.match(Ut)||[]:[]}function ot(t,e,n,r){var i;if(Array.isArray(e))xt.each(e,function(e,i){n||Be.test(t)?r(t,i):ot(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==s(e))r(t,e);else for(i in e)ot(t+"["+i+"]",e[i],n,r)}function at(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Ut)||[];if(St(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function st(t,e,n,r){function i(s){var l;return o[s]=!0,xt.each(t[s]||[],function(t,s){var u=s(e,n,r);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),i(u),!1)}),l}var o={},a=t===$e;return i(e.dataTypes[0])||!o["*"]&&i("*")}function lt(t,e){var n,r,i=xt.ajaxSettings.flatOptions||{};
vendor: 4,585 bytes, lines 14-24
14for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&xt.extend(!0,t,r),t}function ut(t,e,n){for(var r,i,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[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}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ct(t,e,n,r){var i,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}var ft=[],dt=Object.getPrototypeOf,ht=ft.slice,pt=ft.flat?function(t){return ft.flat.call(t)}:function(t){return ft.concat.apply([],t)},gt=ft.push,mt=ft.indexOf,vt={},yt=vt.toString,bt=vt.hasOwnProperty,wt=bt.toString,Et=wt.call(Object),Tt={},St=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},_t=function(t){return null!=t&&t===t.window},At=n.document,It={type:!0,src:!0,nonce:!0,noModule:!0},Ct="3.5.1",xt=function(t,e){return new xt.fn.init(t,e)};xt.fn=xt.prototype={jquery:Ct,constructor:xt,length:0,toArray:function(){return ht.call(this)},get:function(t){return null==t?ht.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=xt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return xt.each(this,t)},map:function(t){return this.pushStack(xt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ht.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(xt.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(xt.grep(this,function(t,e){return e%2}))},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:gt,sort:ft.sort,splice:ft.splice},xt.extend=xt.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||St(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(u&&r&&(xt.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[e],o=i&&!Array.isArray(n)?[]:i||xt.isPlainObject(n)?n:{},i=!1,a[e]=xt.extend(u,o,r)):void 0!==r&&(a[e]=r));return a},xt.extend({expando:"jQuery"+(Ct+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]"!==yt.call(t))&&(!(e=dt(t))||(n=bt.call(e,"constructor")&&e.constructor,"function"==typeof n&&wt.call(n)===Et))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){a(t,{nonce:e&&e.nonce},n)},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},makeArray:function(t,e){var n=e||[];return null!=t&&(l(Object(t))?xt.merge(n,"string"==typeof t?[t]:t):gt.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:mt.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,a=t.length,s=!n;o<a;o++)r=!e(t[o],o),r!==s&&i.push(t[o]);return i},map:function(t,e,n){var r,i,o=0,a=[];if(l(t))for(r=t.length;o<r;o++)i=e(t[o],o,n),null!=i&&a.push(i);else for(o in t)i=e(t[o],o,n),null!=i&&a.push(i);return pt(a)},guid:1,support:Tt}),"function"==typeof Symbol&&(xt.fn[Symbol.iterator]=ft[Symbol.iterator]),xt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){vt["[object "+e+"]"]=e.toLowerCase()});var Dt=/*! 15 * Sizzle CSS Selector Engine v2.3.5 16 * https://sizzlejs.com/ 17 * 18 * Copyright JS Foundation and other contributors 19 * Released under the MIT license 20 * https://js.foundation/ 21 * 22 * Date: 2020-03-14 23 */ 24function(t){function e(t,e,n,r){var i,o,a,s,l,u,c,d=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;
vendor: 4,255 bytes, line 24
24if(!r&&(R(e),e=e||k,M)){if(11!==p&&(l=bt.exec(t)))if(i=l[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&U(e,a)&&a.id===i)return n.push(a),n}else{if(l[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((i=l[3])&&T.getElementsByClassName&&e.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(i)),n}if(T.qsa&&!V[t+" "]&&(!P||!P.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,d=e,1===p&&(ft.test(t)||ct.test(t))){for(d=wt.test(t)&&f(e.parentNode)||e,d===e&&T.scope||((s=e.getAttribute("id"))?s=s.replace(St,_t):e.setAttribute("id",s=B)),u=I(t),o=u.length;o--;)u[o]=(s?"#"+s:":scope")+" "+h(u[o]);c=u.join(",")}try{return Q.apply(n,d.querySelectorAll(c)),n}catch(e){V(t,!0)}finally{s===B&&e.removeAttribute("id")}}}return x(t.replace(lt,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>S.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[B]=!0,t}function i(t){var e=k.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--;)S.attrHandle[n[r]]=e}function a(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 s(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 u(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&&It(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function d(){}function h(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function p(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=z++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,l){var u,c,f,d=[W,s];if(l){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(f=e[B]||(e[B]={}),c=f[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((u=c[o])&&u[0]===W&&u[1]===s)return d[2]=u[2];if(c[o]=d,d[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 m(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function v(t,e,n,r,i){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),u&&e.push(s)));return a}function y(t,e,n,i,o,a){return i&&!i[B]&&(i=y(i)),o&&!o[B]&&(o=y(o,a)),r(function(r,a,s,l){var u,c,f,d=[],h=[],p=a.length,g=r||m(e||"*",s.nodeType?[s]:s,[]),y=!t||!r&&e?g:v(g,d,t,s,l),b=n?o||(r?t:p||i)?[]:a:y;if(n&&n(y,b,s,l),i)for(u=v(b,h),i(u,[],s,l),c=u.length;c--;)(f=u[c])&&(b[h[c]]=!(y[h[c]]=f));if(r){if(o||t){if(o){for(u=[],c=b.length;c--;)(f=b[c])&&u.push(y[c]=f);o(null,b=[],u,l)}for(c=b.length;c--;)(f=b[c])&&(u=o?et(r,f):d[c])>-1&&(r[u]=!(a[u]=f))}}else b=v(b===a?b.splice(p,b.length):b),o?o(null,a,b,l):Q.apply(a,b)})}function b(t){for(var e,n,r,i=t.length,o=S.relative[t[0].type],a=o||S.relative[" "],s=o?1:0,l=p(function(t){return t===e},a,!0),u=p(function(t){return et(e,t)>-1},a,!0),c=[function(t,n,r){var i=!o&&(r||n!==D)||((e=n).nodeType?l(t,n,r):u(t,n,r));return e=null,i}];s<i;s++)if(n=S.relative[t[s].type])c=[p(g(c),n)];else{if(n=S.filter[t[s].type].apply(null,t[s].matches),n[B]){for(r=++s;r<i&&!S.relative[t[r].type];r++);return y(s>1&&g(c),s>1&&h(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(lt,"$1"),n,s<r&&b(t.slice(s,r)),r<i&&b(t=t.slice(r)),r<i&&h(t))}c.push(n)}return g(c)}function w(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,l,u){var c,f,d,h=0,p="0",g=r&&[],m=[],y=D,b=r||o&&S.find.TAG("*",u),w=W+=null==y?1:Math.random()||.1,E=b.length;for(u&&(D=a==k||a||u);
vendor: 4,741 bytes, line 24
24p!==E&&null!=(c=b[p]);p++){if(o&&c){for(f=0,a||c.ownerDocument==k||(R(c),s=!M);d=t[f++];)if(d(c,a||k,s)){l.push(c);break}u&&(W=w)}i&&((c=!d&&c)&&h--,r&&g.push(c))}if(h+=p,i&&p!==h){for(f=0;d=n[f++];)d(g,m,a,s);if(r){if(h>0)for(;p--;)g[p]||m[p]||(m[p]=q.call(l));m=v(m)}Q.apply(l,m),u&&!r&&m.length>0&&h+n.length>1&&e.uniqueSort(l)}return u&&(W=w,D=y),g};return i?r(a):a}var E,T,S,_,A,I,C,x,D,L,O,R,k,N,M,P,j,F,U,B="sizzle"+1*new Date,G=t.document,W=0,z=0,H=n(),Y=n(),Z=n(),V=n(),J=function(t,e){return t===e&&(O=!0),0},X={}.hasOwnProperty,K=[],q=K.pop,$=K.push,Q=K.push,tt=K.slice,et=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\[\\da-fA-F]{1,6}"+rt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ot="\\["+rt+"*("+it+")(?:"+rt+"*([*^$|!~]?=)"+rt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+rt+"*\\]",at=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",st=new RegExp(rt+"+","g"),lt=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),ut=new RegExp("^"+rt+"*,"+rt+"*"),ct=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),ft=new RegExp(rt+"|>"),dt=new RegExp(at),ht=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},gt=/HTML$/i,mt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,yt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,wt=/[+~]/,Et=new RegExp("\\\\[\\da-fA-F]{1,6}"+rt+"?|\\\\([^\\r\\n\\f])","g"),Tt=function(t,e){var n="0x"+t.slice(1)-65536;return e?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},St=/([\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},At=function(){R()},It=p(function(t){return t.disabled===!0&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Q.apply(K=tt.call(G.childNodes),G.childNodes),K[G.childNodes.length].nodeType}catch(t){Q={apply:K.length?function(t,e){$.apply(t,tt.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}T=e.support={},A=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!gt.test(e||n&&n.nodeName||"HTML")},R=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:G;return r!=k&&9===r.nodeType&&r.documentElement?(k=r,N=k.documentElement,M=!A(k),G!=k&&(n=k.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",At,!1):n.attachEvent&&n.attachEvent("onunload",At)),T.scope=i(function(t){return N.appendChild(t).appendChild(k.createElement("div")),"undefined"!=typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),T.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),T.getElementsByTagName=i(function(t){return t.appendChild(k.createComment("")),!t.getElementsByTagName("*").length}),T.getElementsByClassName=yt.test(k.getElementsByClassName),T.getById=i(function(t){return N.appendChild(t).id=B,!k.getElementsByName||!k.getElementsByName(B).length}),T.getById?(S.filter.ID=function(t){var e=t.replace(Et,Tt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&M){var n=e.getElementById(t);return n?[n]:[]}}):(S.filter.ID=function(t){var e=t.replace(Et,Tt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},S.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&M){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[]}}),S.find.TAG=T.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):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},S.find.CLASS=T.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&M)return e.getElementsByClassName(t)}
vendor: 7,828 bytes, line 24
24,j=[],P=[],(T.qsa=yt.test(k.querySelectorAll))&&(i(function(t){var e;N.appendChild(t).innerHTML="<a id='"+B+"'></a><select id='"+B+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+rt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||P.push("\\["+rt+"*(?:value|"+nt+")"),t.querySelectorAll("[id~="+B+"-]").length||P.push("~="),e=k.createElement("input"),e.setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||P.push("\\["+rt+"*name"+rt+"*="+rt+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||P.push(":checked"),t.querySelectorAll("a#"+B+"+*").length||P.push(".#.+[+~]"),t.querySelectorAll("\\\f"),P.push("[\\r\\n\\f]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=k.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&P.push("name"+rt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&P.push(":enabled",":disabled"),N.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),P.push(",.*:")})),(T.matchesSelector=yt.test(F=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&i(function(t){T.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),j.push("!=",at)}),P=P.length&&new RegExp(P.join("|")),j=j.length&&new RegExp(j.join("|")),e=yt.test(N.compareDocumentPosition),U=e||yt.test(N.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},J=e?function(t,e){if(t===e)return O=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!T.sortDetached&&e.compareDocumentPosition(t)===n?t==k||t.ownerDocument==G&&U(G,t)?-1:e==k||e.ownerDocument==G&&U(G,e)?1:L?et(L,t)-et(L,e):0:4&n?-1:1)}:function(t,e){if(t===e)return O=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],l=[e];if(!i||!o)return t==k?-1:e==k?1:i?-1:o?1:L?et(L,t)-et(L,e):0;if(i===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?a(s[r],l[r]):s[r]==G?-1:l[r]==G?1:0},k):k},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(R(t),T.matchesSelector&&M&&!V[n+" "]&&(!j||!j.test(n))&&(!P||!P.test(n)))try{var r=F.call(t,n);if(r||T.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){V(n,!0)}return e(n,k,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=k&&R(t),U(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=k&&R(t);var n=S.attrHandle[e.toLowerCase()],r=n&&X.call(S.attrHandle,e.toLowerCase())?n(t,e,!M):void 0;return void 0!==r?r:T.attributes||!M?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(St,_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(O=!T.detectDuplicates,L=!T.sortStable&&t.slice(0),t.sort(J),O){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return L=null,t},_=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+=_(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=_(e);return n},S=e.selectors={cacheLength:50,createPseudo:r,match:pt,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(Et,Tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Et,Tt),"~="===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 pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&dt.test(n)&&(e=I(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(Et,Tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+rt+")"+t+"("+rt+"|$)"))&&H(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),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,d,h,p,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(o){for(;g;){for(d=e;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(d=m,f=d[B]||(d[B]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),u=c[t]||[],h=u[0]===W&&u[1],b=h&&u[2],d=h&&m.childNodes[h];d=++h&&d&&d[g]||(b=h=0)||p.pop();)if(1===d.nodeType&&++b&&d===e){c[t]=[W,h,b];break}}else if(y&&(d=e,f=d[B]||(d[B]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),u=c[t]||[],h=u[0]===W&&u[1],b=h),b===!1)for(;(d=++h&&d&&d[g]||(b=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&(f=d[B]||(d[B]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[t]=[W,b]),d!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=S.pseudos[t]||S.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[B]?o(n):o.length>1?(i=[t,t,"",n],S.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),a=i.length;a--;)r=et(t,i[a]),t[r]=!(e[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=C(t.replace(lt,"$1"));return i[B]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=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(Et,Tt),function(e){return(e.textContent||_(e)).indexOf(t)>-1}}),lang:r(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Et,Tt).toLowerCase(),function(e){var n;do if(n=M?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===N},focus:function(t){return t===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:u(!1),disabled:u(!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!S.pseudos.empty(t)}
vendor: 7,603 bytes, line 24
24,header:function(t){return vt.test(t.nodeName)},input:function(t){return mt.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:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},S.pseudos.nth=S.pseudos.eq;for(E in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[E]=s(E);for(E in{submit:!0,reset:!0})S.pseudos[E]=l(E);return d.prototype=S.filters=S.pseudos,S.setFilters=new d,I=e.tokenize=function(t,n){var r,i,o,a,s,l,u,c=Y[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=S.preFilter;s;){r&&!(i=ut.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=ct.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(lt," ")}),s=s.slice(r.length));for(a in S.filter)!(i=pt[a].exec(s))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):Y(t,l).slice(0)},C=e.compile=function(t,e){var n,r=[],i=[],o=Z[t+" "];if(!o){for(e||(e=I(t)),n=e.length;n--;)o=b(e[n]),o[B]?r.push(o):i.push(o);o=Z(t,w(i,r)),o.selector=t}return o},x=e.select=function(t,e,n,r){var i,o,a,s,l,u="function"==typeof t&&t,c=!r&&I(t=u.selector||t);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===e.nodeType&&M&&S.relative[o[1].type]){if(e=(S.find.ID(a.matches[0].replace(Et,Tt),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=pt.needsContext.test(t)?0:o.length;i--&&(a=o[i],!S.relative[s=a.type]);)if((l=S.find[s])&&(r=l(a.matches[0].replace(Et,Tt),wt.test(o[0].type)&&f(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&h(o),!t)return Q.apply(n,r),n;break}}return(u||C(t,c))(r,e,!M,n,!e||wt.test(t)&&f(e.parentNode)||e),n},T.sortStable=B.split("").sort(J).join("")===B,T.detectDuplicates=!!O,R(),T.sortDetached=i(function(t){return 1&t.compareDocumentPosition(k.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)}),T.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(nt,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);xt.find=Dt,xt.expr=Dt.selectors,xt.expr[":"]=xt.expr.pseudos,xt.uniqueSort=xt.unique=Dt.uniqueSort,xt.text=Dt.getText,xt.isXMLDoc=Dt.isXML,xt.contains=Dt.contains,xt.escapeSelector=Dt.escape;var Lt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&xt(t).is(n))break;r.push(t)}return r},Ot=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Rt=xt.expr.match.needsContext,kt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;xt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?xt.find.matchesSelector(r,t)?[r]:[]:xt.find.matches(t,xt.grep(e,function(t){return 1===t.nodeType}))},xt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(xt(t).filter(function(){for(e=0;e<r;e++)if(xt.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)xt.find(t,i[e],n);return r>1?xt.uniqueSort(n):n},filter:function(t){return this.pushStack(c(this,t||[],!1))},not:function(t){return this.pushStack(c(this,t||[],!0))},is:function(t){return!!c(this,"string"==typeof t&&Rt.test(t)?xt(t):t||[],!1).length}});var Nt,Mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Pt=xt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Nt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Mt.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 xt?e[0]:e,xt.merge(this,xt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:At,!0)),kt.test(r[1])&&xt.isPlainObject(e))for(r in e)St(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=At.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):St(t)?void 0!==n.ready?n.ready(t):t(xt):xt.makeArray(t,this)};Pt.prototype=xt.fn,Nt=xt(At);var jt=/^(?:parents|prev(?:Until|All))/,Ft={children:!0,contents:!0,next:!0,prev:!0};xt.fn.extend({has:function(t){var e=xt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(xt.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&xt(t);if(!Rt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&xt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?xt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?mt.call(xt(t),this[0]):mt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(xt.uniqueSort(xt.merge(this.get(),xt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),xt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Lt(t,"parentNode")},parentsUntil:function(t,e,n){return Lt(t,"parentNode",n)},next:function(t){return f(t,"nextSibling")},prev:function(t){return f(t,"previousSibling")},nextAll:function(t){return Lt(t,"nextSibling")},prevAll:function(t){return Lt(t,"previousSibling")},nextUntil:function(t,e,n){return Lt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Lt(t,"previousSibling",n)},siblings:function(t){return Ot((t.parentNode||{}).firstChild,t)},children:function(t){return Ot(t.firstChild)},contents:function(t){return null!=t.contentDocument&&dt(t.contentDocument)?t.contentDocument:(u(t,"template")&&(t=t.content||t),xt.merge([],t.childNodes))}},function(t,e){xt.fn[t]=function(n,r){var i=xt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=xt.filter(r,i)),this.length>1&&(Ft[t]||xt.uniqueSort(i),jt.test(t)&&i.reverse()),this.pushStack(i)}});var Ut=/[^\x20\t\r\n\f]+/g;xt.Callbacks=function(t){t="string"==typeof t?d(t):xt.extend({},t);var e,n,r,i,o=[],a=[],l=-1,u=function(){for(i=i||t.once,r=e=!0;a.length;l=-1)for(n=a.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?[]:"")},c={add:function(){return o&&(n&&!e&&(l=o.length-1,a.push(n)),function e(n){xt.each(n,function(n,r){St(r)?t.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==s(r)&&e(r)})}(arguments),n&&!e&&u()),this},remove:function(){return xt.each(arguments,function(t,e){for(var n;(n=xt.inArray(e,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(t){return t?xt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i}
vendor: 4,329 bytes, line 24
24,fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},xt.extend({Deferred:function(t){var e=[["notify","progress",xt.Callbacks("memory"),xt.Callbacks("memory"),2],["resolve","done",xt.Callbacks("once memory"),xt.Callbacks("once memory"),0,"resolved"],["reject","fail",xt.Callbacks("once memory"),xt.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 xt.Deferred(function(n){xt.each(e,function(e,r){var i=St(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&St(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 s=this,l=arguments,u=function(){var n,u;if(!(t<a)){if(n=r.apply(s,l),n===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,St(u)?i?u.call(n,o(a,e,h,i),o(a,e,p,i)):(a++,u.call(n,o(a,e,h,i),o(a,e,p,i),o(a,e,h,e.notifyWith))):(r!==h&&(s=void 0,l=[n]),(i||e.resolveWith)(s,l))}},c=i?u:function(){try{u()}catch(n){xt.Deferred.exceptionHook&&xt.Deferred.exceptionHook(n,c.stackTrace),t+1>=a&&(r!==p&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?c():(xt.Deferred.getStackHook&&(c.stackTrace=xt.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return xt.Deferred(function(n){e[0][3].add(o(0,n,St(i)?i:h,n.notifyWith)),e[1][3].add(o(0,n,St(t)?t:h)),e[2][3].add(o(0,n,St(r)?r:p))}).promise()},promise:function(t){return null!=t?xt.extend(t,i):i}},o={};return xt.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=ht.call(arguments),o=xt.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?ht.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(g(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||St(i[n]&&i[n].then)))return o.then();for(;n--;)g(i[n],a(n),o.reject);return o.promise()}});var Bt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;xt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Bt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},xt.readyException=function(t){n.setTimeout(function(){throw t})};var Gt=xt.Deferred();xt.fn.ready=function(t){return Gt.then(t).catch(function(t){xt.readyException(t)}),this},xt.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--xt.readyWait:xt.isReady)||(xt.isReady=!0,t!==!0&&--xt.readyWait>0||Gt.resolveWith(At,[xt]))}}),xt.ready.then=Gt.then,"complete"===At.readyState||"loading"!==At.readyState&&!At.documentElement.doScroll?n.setTimeout(xt.ready):(At.addEventListener("DOMContentLoaded",m),n.addEventListener("load",m));var Wt=function(t,e,n,r,i,o,a){var l=0,u=t.length,c=null==n;if("object"===s(n)){i=!0;for(l in n)Wt(t,e,l,n[l],!0,o,a)}else if(void 0!==r&&(i=!0,St(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(xt(t),n)})),e))for(;l<u;l++)e(t[l],n,a?r:r.call(t[l],l,e(t[l],n)));return i?t:c?e.call(t):u?e(t[0],n):o},zt=/^-ms-/,Ht=/-([a-z])/g,Yt=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={},Yt(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(Ut)||[]),n=e.length;for(;n--;)delete r[e[n]]}
vendor: 13,558 bytes, lines 24-25
24(void 0===e||xt.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&&!xt.isEmptyObject(e)}};var Zt=new b,Vt=new b,Jt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Xt=/[A-Z]/g;xt.extend({hasData:function(t){return Vt.hasData(t)||Zt.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 Zt.access(t,e,n)},_removeData:function(t,e){Zt.remove(t,e)}}),xt.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Vt.get(o),1===o.nodeType&&!Zt.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=y(r.slice(5)),E(o,r,i[r])));Zt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Vt.set(this,t)}):Wt(this,function(e){var n;if(o&&void 0===e){if(n=Vt.get(o,t),void 0!==n)return n;if(n=E(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)})}}),xt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Zt.get(t,e),n&&(!r||Array.isArray(n)?r=Zt.access(t,e,xt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=xt.queue(t,e),r=n.length,i=n.shift(),o=xt._queueHooks(t,e),a=function(){xt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Zt.get(t,n)||Zt.access(t,n,{empty:xt.Callbacks("once memory").add(function(){Zt.remove(t,[e+"queue",n])})})}}),xt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?xt.queue(this[0],t):void 0===e?this:this.each(function(){var n=xt.queue(this,t,e);xt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&xt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){xt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=xt.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=Zt.get(o[a],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var Kt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qt=new RegExp("^(?:([+-])=|)("+Kt+")([a-z%]*)$","i"),$t=["Top","Right","Bottom","Left"],Qt=At.documentElement,te=function(t){return xt.contains(t.ownerDocument,t)},ee={composed:!0};Qt.getRootNode&&(te=function(t){return xt.contains(t.ownerDocument,t)||t.getRootNode(ee)===t.ownerDocument});var ne=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&te(t)&&"none"===xt.css(t,"display")},re={};xt.fn.extend({show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ne(this)?xt(this).show():xt(this).hide()})}});var ie=/^(?:checkbox|radio)$/i,oe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ae=/^$|^module$|\/(?:java|ecma)script/i; 25!function(){var t=At.createDocumentFragment(),e=t.appendChild(At.createElement("div")),n=At.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),Tt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",Tt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",Tt.option=!!e.lastChild}();var se={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,"",""]};se.tbody=se.tfoot=se.colgroup=se.caption=se.thead,se.th=se.td,Tt.option||(se.optgroup=se.option=[1,"<select multiple='multiple'>","</select>"]);var le=/<|&#?\w+;/,ue=/^key/,ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fe=/^([^.]*)(?:\.(.+)|)/;xt.event={global:{},add:function(t,e,n,r,i){var o,a,s,l,u,c,f,d,h,p,g,m=Zt.get(t);if(Yt(t))for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&xt.find.matchesSelector(Qt,i),n.guid||(n.guid=xt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return"undefined"!=typeof xt&&xt.event.triggered!==e.type?xt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ut)||[""],u=e.length;u--;)s=fe.exec(e[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h&&(f=xt.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=xt.event.special[h]||{},c=xt.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&xt.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=l[h])||(d=l[h]=[],d.delegateCount=0,f.setup&&f.setup.call(t,r,p,a)!==!1||t.addEventListener&&t.addEventListener(h,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),xt.event.global[h]=!0)},remove:function(t,e,n,r,i){var o,a,s,l,u,c,f,d,h,p,g,m=Zt.hasData(t)&&Zt.get(t);if(m&&(l=m.events)){for(e=(e||"").match(Ut)||[""],u=e.length;u--;)if(s=fe.exec(e[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h){for(f=xt.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,d=l[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));a&&!d.length&&(f.teardown&&f.teardown.call(t,p,m.handle)!==!1||xt.removeEvent(t,h,m.handle),delete l[h])}else for(h in l)xt.event.remove(t,h+e[u],n,r,!0);xt.isEmptyObject(l)&&Zt.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=new Array(arguments.length),l=xt.event.fix(t),u=(Zt.get(this,"events")||Object.create(null))[l.type]||[],c=xt.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,l)!==!1){for(a=xt.event.handlers.call(this,l,u),e=0;(i=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&o.namespace!==!1&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,r=((xt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(l.result=r)===!1&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,r,i,o,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||u.disabled!==!0)){for(o=[],a={},n=0;n<l;n++)r=e[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?xt(i,this).index(u)>-1:xt.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(xt.Event.prototype,t,{enumerable:!0,configurable:!0,get:St(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[xt.expando]?t:new xt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ie.test(e.type)&&e.click&&u(e,"input")&&k(e,"click",x),!1},trigger:function(t){var e=this||t;return ie.test(e.type)&&e.click&&u(e,"input")&&k(e,"click"),!0},_default:function(t){var e=t.target;return ie.test(e.type)&&e.click&&u(e,"input")&&Zt.get(e,"click")||u(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},xt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},xt.Event=function(t,e){return this instanceof xt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?x:D,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&&xt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),void(this[xt.expando]=!0)):new xt.Event(t,e)},xt.Event.prototype={constructor:xt.Event,isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=x,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=x,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=x,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},xt.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,code:!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&&ue.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&ce.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},xt.event.addProp),xt.each({focus:"focusin",blur:"focusout"},function(t,e){xt.event.special[t]={setup:function(){return k(this,t,L),!1},trigger:function(){return k(this,t),!0},delegateType:e}}),xt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){xt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||xt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),xt.fn.extend({on:function(t,e,n,r){return R(this,t,e,n,r)},one:function(t,e,n,r){return R(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,xt(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=D),this.each(function(){xt.event.remove(this,t,n,e)})}});var de=/<script|<style|<link/i,he=/checked\s*(?:[^=]|=\s*.checked.)/i,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;xt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,a,s=t.cloneNode(!0),l=te(t);if(!(Tt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||xt.isXMLDoc(t)))for(a=A(s),o=A(t),r=0,i=o.length;r<i;r++)F(o[r],a[r]);if(e)if(n)for(o=o||A(t),a=a||A(s),r=0,i=o.length;r<i;r++)j(o[r],a[r]);else j(t,s);return a=A(s,"script"),a.length>0&&I(a,!l&&A(t,"script")),s},cleanData:function(t){for(var e,n,r,i=xt.event.special,o=0;void 0!==(n=t[o]);o++)if(Yt(n)){if(e=n[Zt.expando]){if(e.events)for(r in e.events)i[r]?xt.event.remove(n,r):xt.removeEvent(n,r,e.handle);n[Zt.expando]=void 0}n[Vt.expando]&&(n[Vt.expando]=void 0)}}}),xt.fn.extend({detach:function(t){return B(this,t,!0)},remove:function(t){return B(this,t)},text:function(t){return Wt(this,function(t){return void 0===t?xt.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 U(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=N(this,t);e.appendChild(t)}})},prepend:function(){return U(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=N(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return U(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return U(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&&(xt.cleanData(A(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return xt.clone(this,t,e)})},html:function(t){return Wt(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&&!de.test(t)&&!se[(oe.exec(t)||["",""])[1].toLowerCase()]){t=xt.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(xt.cleanData(A(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return U(this,arguments,function(e){var n=this.parentNode;xt.inArray(this,t)<0&&(xt.cleanData(A(this)),n&&n.replaceChild(e,this))},t)}}),xt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){xt.fn[t]=function(t){for(var n,r=[],i=xt(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),xt(i[a])[e](n),gt.apply(r,n.get());return this.pushStack(r)}});var ge=new RegExp("^("+Kt+")(?!px)[a-z%]+$","i"),me=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},ve=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];r=n.call(t);for(i in e)t.style[i]=o[i];return r},ye=new RegExp($t.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;
25left:-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%",Qt.appendChild(u).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",a=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),Qt.removeChild(u),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,a,s,l,u=At.createElement("div"),c=At.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",Tt.clearCloneStyle="content-box"===c.style.backgroundClip,xt.extend(Tt,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,r,i;return null==s&&(t=At.createElement("table"),e=At.createElement("tr"),r=At.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",r.style.height="9px",Qt.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),s=parseInt(i.height)>3,Qt.removeChild(t)),s}}))}();var be=["Webkit","Moz","ms"],we=At.createElement("div").style,Ee={},Te=/^(none|table(?!-c[ea]).+)/,Se=/^--/,_e={position:"absolute",visibility:"hidden",display:"block"},Ae={letterSpacing:"0",fontWeight:"400"};xt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=G(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!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,a,s=y(e),l=Se.test(e),u=t.style;return l||(e=H(s)),a=xt.cssHooks[e]||xt.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:u[e]:(o=typeof n,"string"===o&&(i=qt.exec(n))&&i[1]&&(n=T(t,e,i),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=i&&i[3]||(xt.cssNumber[s]?"":"px")),Tt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(l?u.setProperty(e,n):u[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,a,s=y(e),l=Se.test(e);return l||(e=H(s)),a=xt.cssHooks[e]||xt.cssHooks[s],a&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=G(t,e,r)),"normal"===i&&e in Ae&&(i=Ae[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),xt.each(["height","width"],function(t,e){xt.cssHooks[e]={get:function(t,n,r){if(n)return!Te.test(xt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?V(t,e,r):ve(t,_e,function(){return V(t,e,r)})},set:function(t,n,r){var i,o=me(t),a=!Tt.scrollboxSize()&&"absolute"===o.position,s=a||r,l=s&&"border-box"===xt.css(t,"boxSizing",!1,o),u=r?Z(t,e,r,l,o):0;return l&&a&&(u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Z(t,e,"border",!1,o)-.5)),u&&(i=qt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=xt.css(t,e)),Y(t,n,u)}}}),xt.cssHooks.marginLeft=W(Tt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(G(t,"marginLeft"))||t.getBoundingClientRect().left-ve(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),xt.each({margin:"",padding:"",border:"Width"},function(t,e){xt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+$t[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(xt.cssHooks[t+e].set=Y)}),xt.fn.extend({css:function(t,e){return Wt(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=me(t),i=e.length;a<i;a++)o[e[a]]=xt.css(t,e[a],!1,r);return o}return void 0!==n?xt.style(t,e,n):xt.css(t,e)},t,e,arguments.length>1)}}),xt.Tween=J,J.prototype={constructor:J,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||xt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(xt.cssNumber[n]?"":"px")},cur:function(){var t=J.propHooks[this.prop];return t&&t.get?t.get(this):J.propHooks._default.get(this)},run:function(t){var e,n=J.propHooks[this.prop];return this.options.duration?this.pos=e=xt.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):J.propHooks._default.set(this),this}},J.prototype.init.prototype=J.prototype,J.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=xt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){xt.fx.step[t.prop]?xt.fx.step[t.prop](t):1!==t.elem.nodeType||!xt.cssHooks[t.prop]&&null==t.elem.style[H(t.prop)]?t.elem[t.prop]=t.now:xt.
vendor: 5,228 bytes, line 25
25style(t.elem,t.prop,t.now+t.unit)}}},J.propHooks.scrollTop=J.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},xt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},xt.fx=J.prototype.init,xt.fx.step={};var Ie,Ce,xe=/^(?:toggle|show|hide)$/,De=/queueHooks$/;xt.Animation=xt.extend(et,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return T(n.elem,t,qt.exec(e),n),n}]},tweener:function(t,e){St(t)?(e=t,t=["*"]):t=t.match(Ut);for(var n,r=0,i=t.length;r<i;r++)n=t[r],et.tweeners[n]=et.tweeners[n]||[],et.tweeners[n].unshift(e)},prefilters:[Q],prefilter:function(t,e){e?et.prefilters.unshift(t):et.prefilters.push(t)}}),xt.speed=function(t,e,n){var r=t&&"object"==typeof t?xt.extend({},t):{complete:n||!n&&e||St(t)&&t,duration:t,easing:n&&e||e&&!St(e)&&e};return xt.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in xt.fx.speeds?r.duration=xt.fx.speeds[r.duration]:r.duration=xt.fx.speeds._default),null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){St(r.old)&&r.old.call(this),r.queue&&xt.dequeue(this,r.queue)},r},xt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ne).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=xt.isEmptyObject(t),o=xt.speed(e,n,r),a=function(){var e=et(this,xt.extend({},t),o);(i||Zt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},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&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=xt.timers,a=Zt.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&De.test(i)&&r(a[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||xt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Zt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=xt.timers,a=r?r.length:0;for(n.finish=!0,xt.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<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),xt.each(["toggle","show","hide"],function(t,e){var n=xt.fn[e];xt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(q(e,!0),t,r,i)}}),xt.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){xt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),xt.timers=[],xt.fx.tick=function(){var t,e=0,n=xt.timers;for(Ie=Date.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||xt.fx.stop(),Ie=void 0},xt.fx.timer=function(t){xt.timers.push(t),xt.fx.start()},xt.fx.interval=13,xt.fx.start=function(){Ce||(Ce=!0,X())},xt.fx.stop=function(){Ce=null},xt.fx.speeds={slow:600,fast:200,_default:400},xt.fn.delay=function(t,e){return t=xt.fx?xt.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=At.createElement("input"),e=At.createElement("select"),n=e.appendChild(At.createElement("option"));t.type="checkbox",Tt.checkOn=""!==t.value,Tt.optSelected=n.selected,t=At.createElement("input"),t.value="t",t.type="radio",Tt.radioValue="t"===t.value}();var Le,Oe=xt.expr.attrHandle;xt.fn.extend({attr:function(t,e){return Wt(this,xt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){xt.removeAttr(this,t)})}}),xt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?xt.prop(t,e,n):(1===o&&xt.isXMLDoc(t)||(i=xt.attrHooks[e.toLowerCase()]||(xt.expr.match.bool.test(e)?Le:void 0)),void 0!==n?null===n?void xt.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=xt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!Tt.radioValue&&"radio"===e&&u(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(Ut);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),Le={set:function(t,e,n){return e===!1?xt.removeAttr(t,n):t.setAttribute(n,n),n}},xt.each(xt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Oe[e]||xt.find.attr;Oe[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=Oe[a],Oe[a]=i,i=null!=n(t,e,r)?a:null,Oe[a]=o),i}});var Re=/^(?:input|select|textarea|button)$/i,ke=/^(?:a|area)$/i;xt.fn.extend({prop:function(t,e){return Wt(this,xt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[xt.propFix[t]||t]})}}),xt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&xt.isXMLDoc(t)||(e=xt.propFix[e]||e,i=xt.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=xt.find.attr(t,"tabindex");
vendor: 4,056 bytes, line 25
25return e?parseInt(e,10):Re.test(t.nodeName)||ke.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Tt.optSelected||(xt.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)}}),xt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){xt.propFix[this.toLowerCase()]=this}),xt.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,l=0;if(St(t))return this.each(function(e){xt(this).addClass(t.call(this,e,rt(this)))});if(e=it(t),e.length)for(;n=this[l++];)if(i=rt(n),r=1===n.nodeType&&" "+nt(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=nt(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,l=0;if(St(t))return this.each(function(e){xt(this).removeClass(t.call(this,e,rt(this)))});if(!arguments.length)return this.attr("class","");if(e=it(t),e.length)for(;n=this[l++];)if(i=rt(n),r=1===n.nodeType&&" "+nt(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=nt(r),i!==s&&n.setAttribute("class",s)}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):St(t)?this.each(function(n){xt(this).toggleClass(t.call(this,n,rt(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=xt(this),a=it(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||(e=rt(this),e&&Zt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Zt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+nt(rt(n))+" ").indexOf(e)>-1)return!0;return!1}});var Ne=/\r/g;xt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=St(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,xt(this).val()):t,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=xt.map(i,function(t){return null==t?"":t+""})),e=xt.valHooks[this.type]||xt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=xt.valHooks[i.type]||xt.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Ne,""):null==n?"":n)}}}),xt.extend({valHooks:{option:{get:function(t){var e=xt.find.attr(t,"value");return null!=e?e:nt(xt.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(e=xt(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=xt.makeArray(e),a=i.length;a--;)r=i[a],(r.selected=xt.inArray(xt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),xt.each(["radio","checkbox"],function(){xt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=xt.inArray(xt(t).val(),e)>-1}},Tt.checkOn||(xt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),Tt.focusin="onfocusin"in n;var Me=/^(?:focusinfocus|focusoutblur)$/,Pe=function(t){t.stopPropagation()};xt.extend(xt.event,{trigger:function(t,e,r,i){var o,a,s,l,u,c,f,d,h=[r||At],p=bt.call(t,"type")?t.type:t,g=bt.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||At,3!==r.nodeType&&8!==r.nodeType&&!Me.test(p+xt.event.triggered)&&(p.indexOf(".")>-1&&(g=p.split("."),p=g.shift(),g.sort()),u=p.indexOf(":")<0&&"on"+p,t=t[xt.expando]?t:new xt.Event(p,"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]:xt.makeArray(e,[t]),f=xt.event.special[p]||{}
vendor: 4,601 bytes, line 25
25,i||!f.trigger||f.trigger.apply(r,e)!==!1)){if(!i&&!f.noBubble&&!_t(r)){for(l=f.delegateType||p,Me.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(r.ownerDocument||At)&&h.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=h[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?l:f.bindType||p,c=(Zt.get(a,"events")||Object.create(null))[t.type]&&Zt.get(a,"handle"),c&&c.apply(a,e),c=u&&a[u],c&&c.apply&&Yt(a)&&(t.result=c.apply(a,e),t.result===!1&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),e)!==!1||!Yt(r)||u&&St(r[p])&&!_t(r)&&(s=r[u],s&&(r[u]=null),xt.event.triggered=p,t.isPropagationStopped()&&d.addEventListener(p,Pe),r[p](),t.isPropagationStopped()&&d.removeEventListener(p,Pe),xt.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(t,e,n){var r=xt.extend(new xt.Event,n,{type:t,isSimulated:!0});xt.event.trigger(r,null,e)}}),xt.fn.extend({trigger:function(t,e){return this.each(function(){xt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return xt.event.trigger(t,e,n,!0)}}),Tt.focusin||xt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){xt.event.simulate(e,t.target,xt.event.fix(t))};xt.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=Zt.access(r,e);i||r.addEventListener(t,n,!0),Zt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Zt.access(r,e)-1;i?Zt.access(r,e,i):(r.removeEventListener(t,n,!0),Zt.remove(r,e))}}});var je=n.location,Fe={guid:Date.now()},Ue=/\?/;xt.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||xt.error("Invalid XML: "+t),e};var Be=/\[\]$/,Ge=/\r?\n/g,We=/^(?:submit|button|image|reset|file)$/i,ze=/^(?:input|select|textarea|keygen)/i;xt.param=function(t,e){var n,r=[],i=function(t,e){var n=St(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!xt.isPlainObject(t))xt.each(t,function(){i(this.name,this.value)});else for(n in t)ot(n,t[n],e,i);return r.join("&")},xt.fn.extend({serialize:function(){return xt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=xt.prop(this,"elements");return t?xt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!xt(this).is(":disabled")&&ze.test(this.nodeName)&&!We.test(t)&&(this.checked||!ie.test(t))}).map(function(t,e){var n=xt(this).val();return null==n?null:Array.isArray(n)?xt.map(n,function(t){return{name:e.name,value:t.replace(Ge,"\r\n")}}):{name:e.name,value:n.replace(Ge,"\r\n")}}).get()}});var He=/%20/g,Ye=/#.*$/,Ze=/([?&])_=[^&]*/,Ve=/^(.*?):[ \t]*([^\r\n]*)$/gm,Je=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xe=/^(?:GET|HEAD)$/,Ke=/^\/\//,qe={},$e={},Qe="*/".concat("*"),tn=At.createElement("a");tn.href=je.href,xt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:je.href,type:"GET",isLocal:Je.test(je.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,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":xt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?lt(lt(t,xt.ajaxSettings),e):lt(xt.ajaxSettings,t)},ajaxPrefilter:at(qe),ajaxTransport:at($e),ajax:function(t,e){function r(t,e,r,s){var u,d,h,w,E,T=e;c||(c=!0,l&&n.clearTimeout(l),i=void 0,a=s||"",S.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(w=ut(p,S,r)),!u&&xt.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),w=ct(p,w,S,u),u?(p.ifModified&&(E=S.getResponseHeader("Last-Modified"),E&&(xt.lastModified[o]=E),E=S.getResponseHeader("etag"),E&&(xt.etag[o]=E)),204===t||"HEAD"===p.type?T="nocontent":304===t?T="notmodified":(T=w.state,d=w.data,h=w.error,u=!h)):(h=T,!t&&T||(T="error",t<0&&(t=0))),S.status=t,S.statusText=(e||T)+"",u?v.resolveWith(g,[d,T,S]):v.rejectWith(g,[S,T,h]),S.statusCode(b),b=void 0,f&&m.trigger(u?"ajaxSuccess":"ajaxError",[S,p,u?d:h]),y.fireWith(g,[S,T]),f&&(m.trigger("ajaxComplete",[S,p]),--xt.active||xt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,a,s,l,u,c,f,d,h,p=xt.ajaxSetup({}
vendor: 5,822 bytes, lines 25-26
25,e),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?xt(g):xt.event,v=xt.Deferred(),y=xt.Callbacks("once memory"),b=p.statusCode||{},w={},E={},T="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Ve.exec(a);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(t,e){return null==c&&(t=E[t.toLowerCase()]=E[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)S.always(t[S.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||T;return i&&i.abort(e),r(0,e),this}};if(v.promise(S),p.url=((t||p.url||je.href)+"").replace(Ke,je.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Ut)||[""],null==p.crossDomain){u=At.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=tn.protocol+"//"+tn.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=xt.param(p.data,p.traditional)),st(qe,p,e,S),c)return S;f=xt.event&&p.global,f&&0===xt.active++&&xt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Xe.test(p.type),o=p.url.replace(Ye,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(He,"+")):(h=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ue.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(o=o.replace(Ze,"$1"),h=(Ue.test(o)?"&":"?")+"_="+Fe.guid++ +h),p.url=o+h),p.ifModified&&(xt.lastModified[o]&&S.setRequestHeader("If-Modified-Since",xt.lastModified[o]),xt.etag[o]&&S.setRequestHeader("If-None-Match",xt.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||e.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qe+"; q=0.01":""):p.accepts["*"]);for(d in p.headers)S.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(p.beforeSend.call(g,S,p)===!1||c))return S.abort();if(T="abort",y.add(p.complete),S.done(p.success),S.fail(p.error),i=st($e,p,e,S)){if(S.readyState=1,f&&m.trigger("ajaxSend",[S,p]),c)return S;p.async&&p.timeout>0&&(l=n.setTimeout(function(){S.abort("timeout")},p.timeout));try{c=!1,i.send(w,r)}catch(t){if(c)throw t;r(-1,t)}}else r(-1,"No Transport");return S},getJSON:function(t,e,n){return xt.get(t,e,n,"json")},getScript:function(t,e){return xt.get(t,void 0,e,"script")}}),xt.each(["get","post"],function(t,e){ 26xt[e]=function(t,n,r,i){return St(n)&&(i=i||r,r=n,n=void 0),xt.ajax(xt.extend({url:t,type:e,dataType:i,data:n,success:r},xt.isPlainObject(t)&&t))}}),xt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),xt._evalUrl=function(t,e,n){return xt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){xt.globalEval(t,e,n)}})},xt.fn.extend({wrapAll:function(t){var e;return this[0]&&(St(t)&&(t=t.call(this[0])),e=xt(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 St(t)?this.each(function(e){xt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=xt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=St(t);return this.each(function(n){xt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){xt(this).replaceWith(this.childNodes)}),this}}),xt.expr.pseudos.hidden=function(t){return!xt.expr.pseudos.visible(t)},xt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},xt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var en={0:200,1223:204},nn=xt.ajaxSettings.xhr();Tt.cors=!!nn&&"withCredentials"in nn,Tt.ajax=nn=!!nn,xt.ajaxTransport(function(t){var e,r;if(Tt.cors||nn&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(en[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),xt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),xt.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 xt.globalEval(t),t}}}),xt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),xt.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,n;return{send:function(r,i){e=xt("<script>").attr(t.scriptAttrs||{}
26).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)}),At.head.appendChild(e[0])},abort:function(){n&&n()}}}});var rn=[],on=/(=)\?(?=&|$)|\?\?/;xt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=rn.pop()||xt.expando+"_"+Fe.guid++;return this[t]=!0,t}}),xt.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,a,s=t.jsonp!==!1&&(on.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=St(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(on,"$1"+i):t.jsonp!==!1&&(t.url+=(Ue.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||xt.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?xt(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,rn.push(i)),a&&St(o)&&o(a[0]),a=o=void 0}),"script"}),Tt.createHTMLDocument=function(){var t=At.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),xt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(Tt.createHTMLDocument?(e=At.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=At.location.href,e.head.appendChild(r)):e=At),i=kt.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=C([t],e,o),o&&o.length&&xt(o).remove(),xt.merge([],i.childNodes))},xt.fn.load=function(t,e,n){var r,i,o,a=this,s=t.indexOf(" ");return s>-1&&(r=nt(t.slice(s)),t=t.slice(0,s)),St(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&xt.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?xt("<div>").append(xt.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},xt.expr.pseudos.animated=function(t){return xt.grep(xt.timers,function(e){return t===e.elem}).length},xt.offset={setOffset:function(t,e,n){var r,i,o,a,s,l,u,c=xt.css(t,"position"),f=xt(t),d={};"static"===c&&(t.style.position="relative"),s=f.offset(),o=xt.css(t,"top"),l=xt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),St(e)&&(e=e.call(t,n,xt.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+i),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),f.css(d))}},xt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){xt.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"===xt.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"===xt.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&(i=xt(t).offset(),i.top+=xt.css(t,"borderTopWidth",!0),i.left+=xt.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-xt.css(r,"marginTop",!0),left:e.left-i.left-xt.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===xt.css(t,"position");)t=t.offsetParent;return t||Qt})}}),xt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;xt.fn[t]=function(r){return Wt(this,function(t,r,i){var o;return _t(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)}}),xt.each(["top","left"],function(t,e){xt.cssHooks[e]=W(Tt.pixelPosition,function(t,n){if(n)return n=G(t,e),ge.test(n)?xt(t).position()[e]+"px":n})}),xt.each({Height:"height",Width:"width"},function(t,e){xt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){xt.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return Wt(this,function(e,n,i){var o;return _t(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?xt.css(e,n,s):xt.style(e,n,i,s)},e,a?i:void 0,a)}})}),xt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){xt.fn[e]=function(t){return this.on(e,t)}}),xt.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)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),xt.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){xt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var an=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;xt.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),St(t))return r=ht.call(arguments,2),i=function(){return t.apply(e||this,r.concat(ht.call(arguments)))},i.guid=t.guid=t.guid||xt.guid++,i},xt.holdReady=function(t){t?xt.readyWait++:xt.ready(!0)},xt.isArray=Array.isArray,xt.parseJSON=JSON.parse,xt.nodeName=u,xt.isFunction=St,xt.isWindow=_t,xt.camelCase=y,xt.type=s,xt.now=Date.now,xt.isNumeric=function(t){var e=xt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},xt.trim=function(t){return null==t?"":(t+"").replace(an,"")},r=[],i=function(){return xt}.apply(e,r),!(void 0!==i&&(t.exports=i));var sn=n.jQuery,ln=n.$;return xt.noConflict=function(t){return n.$===xt&&(n.$=ln),t&&n.jQuery===xt&&(n.jQuery=sn),xt},"undefined"==typeof o&&(n.jQuery=n.$=xt),xt})},38:function(t,e,n){function r(t,e){return function(){return t.apply(e,arguments)}}function i(t,e,n){var u,c,f,d,h=t&i.G,p=h?a:t&i.S?a[e]:(a[e]||{}).prototype,g=h?s:s[e]||(s[e]={});h&&(n=e);for(u in n)c=!(t&i.F)&&p&&u in p,f=(c?p:n)[u],d=t&i.B&&c?r(f,a):t&i.P&&l(f)?r(Function.call,f):f,p&&!c&&(h?p[u]=f:delete p[u]&&o.hide(p,u,f)),g[u]!=f&&o.hide(g,u,d)}var o=n(14),a=o.g,s=o.core,l=o.isFunction;a.core=s,i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,t.exports=i},120:function(t,e,n){function r(t){return a.call(t).slice(8,-1)}var i=n(14),o=n(201)("toStringTag"),a={}.toString;r.classof=function(t){var e,n;return void 0==t?void 0===t?"Undefined":"Null":"string"==typeof(n=(e=Object(t))[o])?n:r(e)},r.set=function(t,e,n){t&&!i.has(t=n?t:t.prototype,o)&&i.hide(t,o,e)},t.exports=r},125:function(t,e,n){function r(t,e,n){if(!t)throw TypeError(n?e+n:e)}var i=n(14);r.def=i.assertDefined,r.fn=function(t){if(!i.isFunction(t))throw TypeError(t+" is not a function!");return t},r.obj=function(t){if(!i.isObject(t))throw TypeError(t+" is not an object!");return t},r.inst=function(t,e,n){if(!(t instanceof e))throw TypeError(n+": use the 'new' operator!");return t}
26,t.exports=r},198:function(t,e,n){var r=n(125).fn;t.exports=function(t,e,n){if(r(t),~n&&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)}}},199:function(t,e,n){"use strict";function r(t,e){l.hide(t,h,e),p in[]&&l.hide(t,p,e)}function i(t,e,n,i){var o=t.prototype,a=o[h]||o[p]||i&&o[i]||n;if(l.FW&&r(o,a),a!==n){var s=l.getProto(a.call(new t));c.set(s,e+" Iterator",!0),l.FW&&l.has(o,p)&&r(s,l.that)}return g[e]=a,g[e+" Iterator"]=l.that,a}function o(t){var e=l.g.Symbol,n=t[e&&e.iterator||p],r=n||t[h]||g[c.classof(t)];return d(r.call(t))}function a(t){var e=t.return;void 0!==e&&d(e.call(t))}function s(t,e,n,r){try{return r?e(d(n)[0],n[1]):e(n)}catch(e){throw a(t),e}}var l=n(14),u=n(198),c=n(120),f=n(38),d=n(125).obj,h=n(201)("iterator"),p="@@iterator",g={},m={},v="keys"in[]&&!("next"in[].keys());r(m,l.that);var y=t.exports={BUGGY:v,Iterators:g,prototype:m,step:function(t,e){return{value:e,done:!!t}},stepCall:s,close:a,is:function(t){var e=Object(t),n=l.g.Symbol,r=n&&n.iterator||p;return r in e||h in e||l.has(g,c.classof(e))},get:o,set:r,create:function(t,e,n,r){t.prototype=l.create(r||y.prototype,{next:l.desc(1,n)}),c.set(t,e+" Iterator")},define:i,std:function(t,e,n,r,o,a,s){function u(t){return function(){return new n(this,t)}}y.create(n,e,r);var c,d,h=u("key+value"),p=u("value"),g=t.prototype;if("value"==o?p=i(t,e,p,"values"):h=i(t,e,h,"entries"),o&&(c={entries:h,keys:a?p:u("key"),values:p},f(f.P+f.F*v,e,c),s))for(d in c)d in g||l.hide(g,d,c[d])},forOf:function(t,e,n,r){for(var i,l=o(t),c=u(n,r,e?2:1);!(i=l.next()).done;)if(s(l,c,i.value,e)===!1)return a(l)}}},200:function(t,e,n){function r(t){return"Symbol("+t+")_"+(++i+Math.random()).toString(36)}var i=0;r.safe=n(14).g.Symbol||r,t.exports=r},201:function(t,e,n){var r=n(14).g,i={};t.exports=function(t){return i[t]||(i[t]=r.Symbol&&r.Symbol[t]||n(200).safe("Symbol."+t))}},335:function(t,e,n){var r=n(14),i=n(201)("unscopables");!r.FW||i in[]||r.hide(Array.prototype,i,{}),t.exports=function(t){r.FW&&([][i][t]=!0)}},360:function(t,e,n){"use strict";var r=n(14),i=n(38),o=n(199),a=n(125).inst;t.exports=function(t,e,s,l,u){function c(t,e){var n=p[t];r.FW&&(p[t]=function(t,r){var i=n.call(this,0===t?0:t,r);return e?this:i})}var f=r.g[t],d=f,h=l?"set":"add",p=d&&d.prototype,g={};if(r.isFunction(d)&&(u||!o.BUGGY&&p.forEach&&p.entries)){var m,v=new d,y=v[h](u?{}:-0,1);n(866)(function(t){new d(t)})||(d=function(e){a(this,d,t);var n=new f;return void 0!=e&&o.forOf(e,l,n[h],n),n},d.prototype=p,r.FW&&(p.constructor=d)),u||v.forEach(function(t,e){m=1/e===-(1/0)}),m&&(c("delete"),c("has"),l&&c("get")),(m||y!==v)&&c(h,!0)}else d=s.getConstructor(t,l,h),r.mix(d.prototype,e);return n(120).set(d,t),n(361)(d),g[t]=d,i(i.G+i.W+i.F*(d!=f),g),u||o.std(d,t,s.getIterConstructor(),s.next,l?"key+value":"value",!l,!0),d}},361:function(t,e,n){var r=n(14);t.exports=function(t){r.DESC&&r.FW&&r.setDesc(t,n(201)("species"),{configurable:!0,get:r.that})}},865:function(t,e,n){"use strict";var r=n(14),i=n(198);t.exports=function(t){var e=1==t,n=2==t,o=3==t,a=4==t,s=6==t,l=5==t||s;return function(u){for(var c,f,d=Object(r.assertDefined(this)),h=r.ES5Object(d),p=i(u,arguments[1],3),g=r.toLength(h.length),m=0,v=e?Array(g):n?[]:void 0;g>m;m++)if((l||m in h)&&(c=h[m],f=p(c,m,d),t))if(e)v[m]=f;else if(f)switch(t){case 3:return!0;case 5:return c;case 6:return m;case 2:v.push(c)}else if(a)return!1;return s?-1:o||a?a:v}}},866:function(t,e,n){var r=n(201)("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){if(!i)return!1;var e=!1;try{var n=[7],o=n[r]();o.next=function(){e=!0},n[r]=function(){return o},t(n)}catch(t){}return e}},870:function(t,e,n){"use strict";function r(t,e){if(!d(t))return("string"==typeof t?"S":"P")+t;if(g(t))return"F";if(!c(t,m)){if(!e)return"E";h(t,m,++T)}return"O"+t[m]}function i(t,e){var n,i=r(e);if("F"!=i)return t[v][i];for(n=t[b];n;n=n.n)if(n.k==e)return n}var o=n(14),a=n(198),s=n(200).safe,l=n(125),u=n(199),c=o.has,f=o.set,d=o.isObject,h=o.hide,p=u.step,g=Object.isFrozen||o.core.Object.isFrozen,m=s("id"),v=s("O1"),y=s("last"),b=s("first"),w=s("iter"),E=o.DESC?s("size"):"size",T=0;t.exports={getConstructor:function(t,e,n){function r(i){var a=l.inst(this,r,t);f(a,v,o.create(null)),f(a,E,0),f(a,y,void 0),f(a,b,void 0),void 0!=i&&u.forOf(i,e,a[n],a)}return o.mix(r.prototype,{clear:function(){for(var t=this,e=t[v],n=t[b];n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t[b]=t[y]=void 0,t[E]=0},delete:function(t){var e=this,n=i(e,t);if(n){var r=n.n,o=n.p;delete e[v][n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),e[b]==n&&(e[b]=r),e[y]==n&&(e[y]=o),e[E]--}return!!n}
26,forEach:function(t){for(var e,n=a(t,arguments[1],3);e=e?e.n:this[b];)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!i(this,t)}}),o.DESC&&o.setDesc(r.prototype,"size",{get:function(){return l.def(this[E])}}),r},def:function(t,e,n){var o,a,s=i(t,e);return s?s.v=n:(t[y]=s={i:a=r(e,!0),k:e,v:n,p:o=t[y],n:void 0,r:!1},t[b]||(t[b]=s),o&&(o.n=s),t[E]++,"F"!=a&&(t[v][a]=s)),t},getEntry:i,getIterConstructor:function(){return function(t,e){f(this,w,{o:t,k:e})}},next:function(){for(var t=this[w],e=t.k,n=t.l;n&&n.r;)n=n.p;return t.o&&(t.l=n=n?n.n:t.o[b])?"key"==e?p(0,n.k):"value"==e?p(0,n.v):p(0,[n.k,n.v]):(t.o=void 0,p(1))}}},871:function(t,e,n){"use strict";function r(t,e){return y.call(t.array,function(t){return t[0]===e})}function i(t){return t[m]||f(t,m,{array:[],get:function(t){var e=r(this,t);if(e)return e[1]},has:function(t){return!!r(this,t)},set:function(t,e){var n=r(this,t);n?n[1]=e:this.array.push([t,e])},delete:function(t){var e=b.call(this.array,function(e){return e[0]===t});return~e&&this.array.splice(e,1),!!~e}})[m]}var o=n(14),a=n(200).safe,s=n(125),l=n(199).forOf,u=o.has,c=o.isObject,f=o.hide,d=Object.isFrozen||o.core.Object.isFrozen,h=0,p=a("id"),g=a("weak"),m=a("leak"),v=n(865),y=v(5),b=v(6);t.exports={getConstructor:function(t,e,n){function r(i){o.set(s.inst(this,r,t),p,h++),void 0!=i&&l(i,e,this[n],this)}return o.mix(r.prototype,{delete:function(t){return!!c(t)&&(d(t)?i(this).delete(t):u(t,g)&&u(t[g],this[p])&&delete t[g][this[p]])},has:function(t){return!!c(t)&&(d(t)?i(this).has(t):u(t,g)&&u(t[g],this[p]))}}),r},def:function(t,e,n){return d(s.obj(e))?i(t).set(e,n):(u(e,g)||f(e,g,{}),e[g][t[p]]=n),t},leakStore:i,WEAK:g,ID:p}},872:function(t,e,n){function r(t,e){o.obj(t),o(null===e||i.isObject(e),e,": can't set as prototype!")}var i=n(14),o=n(125);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e){try{e=n(198)(Function.call,i.getDesc(Object.prototype,"__proto__").set,2),e({},[])}catch(e){t=!0}return function(n,i){return r(n,i),t?n.__proto__=i:e(n,i),n}}():void 0),check:r}},873:function(t,e,n){"use strict";var r=n(14);t.exports=function(t){return function(e){var n,i,o=String(r.assertDefined(this)),a=r.toInteger(e),s=o.length;return a<0||a>=s?t?"":void 0:(n=o.charCodeAt(a),n<55296||n>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?t?o.charAt(a):n:t?o.slice(a,a+2):(n-55296<<10)+(i-56320)+65536)}}},874:function(t,e,n){var r,r;(function(e,n,i,o){/*! 27 28 Flowplayer Commercial v7.2.7 (Tuesday, 23. January 2018 12:17PM) | flowplayer.com/license 29 30 */ 31!function(t){function e(t,e,n,r){for(var o,a=n.slice(),s=i(e,t),l=0,u=a.length;u>l&&(handler=a[l],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(s):handler.call(t,s),!s.stoppedImmediatePropagation);l++);return o=!s.stoppedPropagation,r&&o&&t.parentNode?t.parentNode.dispatchEvent(s):!s.defaultPrevented}function n(t,e){return{configurable:!0,get:t,set:e}}function r(t,e,r){var i=y(e||t,r);m(t,"textContent",n(function(){return i.get.call(this)},function(t){i.set.call(this,t)}))}function i(t,e){return t.currentTarget=e,t.eventPhase=t.target===t.currentTarget?2:3,t}function o(t,e){for(var n=t.length;n--&&t[n]!==e;);return n}function a(){if("BR"===this.tagName)return"\n";for(var t=this.firstChild,e=[];t;)8!==t.nodeType&&7!==t.nodeType&&e.push(t.textContent),t=t.nextSibling;return e.join("")}function s(t){!f&&S.test(document.readyState)&&(f=!f,document.detachEvent(d,s),t=document.createEvent("Event"),t.initEvent(h,!0,!0),document.dispatchEvent(t))}function l(t){for(var e;e=this.lastChild;)this.removeChild(e);null!=t&&this.appendChild(document.createTextNode(t))}function u(e,n){return n||(n=t.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}if(!document.createEvent){var c=!0,f=!1,d="onreadystatechange",h="DOMContentLoaded",p="__IE8__"+Math.random(),g=t.Object,m=g.defineProperty||function(t,e,n){t[e]=n.value},v=g.defineProperties||function(e,n){for(var r in n)if(b.call(n,r))try{m(e,r,n[r])}catch(n){t.console&&console.log(r+" failed on object:",e,n.message)}},y=g.getOwnPropertyDescriptor,b=g.prototype.hasOwnProperty,w=t.Element.prototype,E=t.Text.prototype,T=/^[a-z]+$/,S=/loaded|complete/,_={},A=document.createElement("div");r(t.HTMLCommentElement.prototype,w,"nodeValue"),r(t.HTMLScriptElement.prototype,null,"text"),r(E,null,"nodeValue"),r(t.HTMLTitleElement.prototype,null,"text"),m(t.HTMLStyleElement.prototype,"textContent",function(t){return n(function(){return t.get.call(this.styleSheet)},function(e){t.set.call(this.styleSheet,e)})}(y(t.CSSStyleSheet.prototype,"cssText"))),v(w,{textContent:{get:a,set:l},firstElementChild:{get:function(){for(var t=this.childNodes||[],e=0,n=t.length;n>e;e++)if(1==t[e].nodeType)return t[e]}},lastElementChild:{get:function(){for(var t=this.childNodes||[],e=t.length;e--;)if(1==t[e].nodeType)return t[e]}},previousElementSibling:{get:function(){for(var t=this.previousSibling;t&&1!=t.nodeType;)t=t.previousSibling;return t}},nextElementSibling:{get:function(){for(var t=this.nextSibling;t&&1!=t.nodeType;)t=t.nextSibling;return t}},childElementCount:{get:function(){for(var t=0,e=this.childNodes||[],n=e.length;n--;t+=1==e[n].nodeType);return t}},addEventListener:{value:function(t,n,r){var i,a=this,s="on"+t,l=a[p]||m(a,p,{value:{}})[p],c=l[s]||(l[s]={}),f=c.h||(c.h=[]);if(!b.call(c,"w")){if(c.w=function(t){return t[p]||e(a,u(a,t),f,!1)},!b.call(_,s))if(T.test(t))try{i=document.createEventObject(),i[p]=!0,9!=a.nodeType&&null==a.parentNode&&A.appendChild(a),a.fireEvent(s,i),_[s]=!0}catch(t){for(_[s]=!1;A.hasChildNodes();)A.removeChild(A.firstChild)}else _[s]=!1;(c.n=_[s])&&a.attachEvent(s,c.w)}o(f,n)<0&&f[r?"unshift":"push"](n)}},dispatchEvent:{value:function(t){var n,r=this,i="on"+t.type,o=r[p],a=o&&o[i],s=!!a;return t.target||(t.target=r),s?a.n?r.fireEvent(i,t):e(r,t,a.h,!0):!(n=r.parentNode)||n.dispatchEvent(t),!t.defaultPrevented}},removeEventListener:{value:function(t,e,n){var r=this,i="on"+t,a=r[p],s=a&&a[i],l=s&&s.h,u=l?o(l,e):-1;u>-1&&l.splice(u,1)}}}),v(E,{addEventListener:{value:w.addEventListener},dispatchEvent:{value:w.dispatchEvent},removeEventListener:{value:w.removeEventListener}}),v(t.XMLHttpRequest.prototype,{addEventListener:{value:function(t,e,n){var r=this,i="on"+t,a=r[p]||m(r,p,{value:{}})[p],s=a[i]||(a[i]={}),l=s.h||(s.h=[]);o(l,e)<0&&(r[i]||(r[i]=function(){var e=document.createEvent("Event");e.initEvent(t,!0,!0),r.dispatchEvent(e)}),l[n?"unshift":"push"](e))}},dispatchEvent:{value:function(t){var n=this,r="on"+t.type,i=n[p],o=i&&i[r],a=!!o;return a&&(o.n?n.fireEvent(r,t):e(n,t,o.h,!0))}},removeEventListener:{value:w.removeEventListener}}),v(t.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(t,e,n){this.type=t,this.bubbles=!!e,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),v(t.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?a.call(this):null},set:function(t){11===this.nodeType&&l.call(this,t)}},addEventListener:{value:function(e,n,r){var i=this;
31w.addEventListener.call(i,e,n,r),c&&e===h&&!S.test(i.readyState)&&(c=!1,i.attachEvent(d,s),t==top&&function t(e){try{i.documentElement.doScroll("left"),s()}catch(e){setTimeout(t,50)}}())}},dispatchEvent:{value:w.dispatchEvent},removeEventListener:{value:w.removeEventListener},createEvent:{value:function(t){var e;if("Event"!==t)throw new Error("unsupported "+t);return e=document.createEventObject(),e.timeStamp=(new Date).getTime(),e}}}),v(t.Window.prototype,{getComputedStyle:{value:function(){function t(t){this._=t}function e(){}var n=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,r=/^(top|right|bottom|left)$/,i=/\-([a-z])/g,o=function(t,e){return e.toUpperCase()};return t.prototype.getPropertyValue=function(t){var e,a,s,l=this._,u=l.style,c=l.currentStyle,f=l.runtimeStyle;return t=("float"===t?"style-float":t).replace(i,o),e=c?c[t]:u[t],n.test(e)&&!r.test(t)&&(a=u.left,s=f&&f.left,s&&(f.left=c.left),u.left="fontSize"===t?"1em":e,e=u.pixelLeft+"px",u.left=a,s&&(f.left=s)),null==e?e:e+""||"auto"},e.prototype.getPropertyValue=function(){return null},function(n,r){return r?new e(n):new t(n)}}()},addEventListener:{value:function(n,r,i){var a,s=t,l="on"+n;s[l]||(s[l]=function(t){return e(s,u(s,t),a,!1)}),a=s[l][p]||(s[l][p]=[]),o(a,r)<0&&a[i?"unshift":"push"](r)}},dispatchEvent:{value:function(e){var n=t["on"+e.type];return!n||n.call(t,e)!==!1&&!e.defaultPrevented}},removeEventListener:{value:function(e,n,r){var i="on"+e,a=(t[i]||g)[p],s=a?o(a,n):-1;s>-1&&a.splice(s,1)}}})}}(this),function(e){t.exports=e()}(function(){var t;return function(){function t(e,n,i){function o(s,l){if(!n[s]){if(!e[s]){var u="function"==typeof r&&r;if(!l&&u)return r(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[s]={exports:{}};e[s][0].call(f.exports,function(t){var n=e[s][1][t];return o(n||t)},f,f.exports,t,e,n,i)}return n[s].exports}for(var a="function"==typeof r&&r,s=0;s<i.length;s++)o(i[s]);return o}return t}()({1:[function(t,n,r){"use strict";var i=n.exports={},o=t("class-list"),a=e,s=t("punycode"),l=t("computed-style");i.noop=function(){},i.identity=function(t){return t},i.removeNode=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},i.find=function(t,e){return a?a(t,e).toArray():(e=e||document,Array.prototype.map.call(e.querySelectorAll(t),function(t){return t}))},i.text=function(t,e){t["innerText"in t?"innerText":"textContent"]=e},i.findDirect=function(t,e){return i.find(t,e).filter(function(t){return t.parentNode===e})},i.hasClass=function(t,e){return"string"==typeof t.className&&o(t).contains(e)},i.isSameDomain=function(t){var e=window.location,n=i.createElement("a",{href:t});return e.hostname===n.hostname&&e.protocol===n.protocol&&e.port===n.port},i.css=function(t,e,n){return"object"==typeof e?Object.keys(e).forEach(function(n){i.css(t,n,e[n])}):"undefined"!=typeof n?""===n?t?t.style.removeProperty(e):void 0:t?t.style.setProperty(e,n):void 0:t?l(t,e):void 0},i.createElement=function(t,e,n){try{var r=document.createElement(t);for(var o in e)e.hasOwnProperty(o)&&("css"===o?i.css(r,e[o]):i.attr(r,o,e[o]));return n&&(r.innerHTML=n),r}catch(r){if(!a)throw r;return a("<"+t+">"+n+"</"+t+">").attr(e)[0]}},i.toggleClass=function(t,e,n){if(t){var r=o(t);"undefined"==typeof n?r.toggle(e):n?r.add(e):n||r.remove(e)}},i.addClass=function(t,e){return i.toggleClass(t,e,!0)},i.removeClass=function(t,e){return i.toggleClass(t,e,!1)},i.append=function(t,e){return t.appendChild(e),t},i.appendTo=function(t,e){return i.append(e,t),t},i.prepend=function(t,e){t.insertBefore(e,t.firstChild)},i.insertAfter=function(t,e,n){e==i.lastChild(t)&&t.appendChild(n);var r=Array.prototype.indexOf.call(t.children,e);t.insertBefore(n,t.children[r+1])},i.html=function(t,e){t=t.length?t:[t],t.forEach(function(t){t.innerHTML=e})},i.attr=function(t,e,n){if("class"===e&&(e="className"),i.hasOwnOrPrototypeProperty(t,e))try{t[e]=n}catch(r){if(!a)throw r;a(t).attr(e,n)}else n===!1?t.removeAttribute(e):t.setAttribute(e,n);return t},i.prop=function(t,e,n){return"undefined"==typeof n?t&&t[e]:void(t[e]=n)},i.offset=function(t){var e=t.getBoundingClientRect();return t.offsetWidth/t.offsetHeight>t.clientWidth/t.clientHeight&&(e={left:100*e.left,right:100*e.right,top:100*e.top,bottom:100*e.bottom,width:100*e.width,height:100*e.height}),e},i.width=function(t,e){if(e)return t.style.width=(""+e).replace(/px$/,"")+"px";var n=i.offset(t).width;return"undefined"==typeof n?t.offsetWidth:n},i.height=function(t,e){if(e)return t.style.height=(""+e).replace(/px$/,"")+"px";var n=i.offset(t).height;return"undefined"==typeof n?t.offsetHeight:n},i.lastChild=function(t){return t.children[t.children.length-1]},i.hasParent=function(t,e){for(var n=t.parentElement;n;){if("string"!=typeof e){if(n===e)return!0}else if(i.matches(n,e))return!0;n=n.parentElement}return!1},i.createAbsoluteUrl=function(t){return i.createElement("a",{href:t}).href},i.xhrGet=function(t,e,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){return 4===this.readyState?this.status>=400?n():void e(this.responseText):void 0},r.open("get",t,!0),r.send()},i.pick=function(t,e){var n={};return e.forEach(function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n},i.hostname=function(t){return s.toUnicode(t||window.location.hostname)},i.browser={webkit:"WebkitAppearance"in document.documentElement.style},i.getPrototype=function(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__},i.hasOwnOrPrototypeProperty=function(t,e){for(var n=t;n;){if(Object.prototype.hasOwnProperty.call(n,e))return!0;n=i.getPrototype(n)}return!1},i.matches=function(t,e){var n=Element.prototype,r=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=this,n=(e.document||e.ownerDocument).querySelectorAll(t),r=0;n[r]&&n[r]!==e;)r++;return!!n[r]};return r.call(t,e)},function(t){function e(t){return t.replace(/-[a-z]/g,function(t){return t[1].toUpperCase()})}"undefined"!=typeof t.setAttribute&&(t.setProperty=function(t,n){return this.setAttribute(e(t),String(n))},t.getPropertyValue=function(t){return this.getAttribute(e(t))||null},t.removeProperty=function(t){var n=this.getPropertyValue(t);return this.removeAttribute(e(t)),n})}(window.CSSStyleDeclaration.prototype)},{"class-list":36,"computed-style":37,punycode:44}],2:[function(t,e,n){"use strict";var r=t("../common");e.exports=function(t,e,n,i){n=n||"opaque";var o="obj"+(""+Math.random()).slice(2,15),a='<object class="fp-engine" id="'+o+'" name="'+o+'" ',s=navigator.userAgent.indexOf("MSIE")>-1;a+=s?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+t+'" type="application/x-shockwave-flash">';var l={width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,qual
31ity:"high",flashvars:"",movie:t+(s?"?"+o:""),name:o};"transparent"!==n&&(l.bgcolor=i||"#333333"),Object.keys(e).forEach(function(t){l.flashvars+=t+"="+e[t]+"&"}),Object.keys(l).forEach(function(t){a+='<param name="'+t+'" value="'+l[t]+'"/>'}),a+="</object>";var u=r.createElement("div",{},a);return r.find("object",u)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(t,e,n){"use strict";function r(t){return/^https?:/.test(t)}var i,o=t("../flowplayer"),a=t("../common"),s=t("./embed"),l=t("extend-object"),u=t("bean");i=function(t,e){function n(t){function e(t){return("0"+parseInt(t).toString(16)).slice(-2)}return(t=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+e(t[1])+e(t[2])+e(t[3]):void 0}function c(t){if(7===t.length)return t;var e=t.split("").slice(1);return"#"+e.map(function(t){return t+t}).join("")}function f(t){return/application\/x-mpegurl/i.test(t.type)}var d,h,p,g,m=t.conf,v=[],y={engineName:i.engineName,pick:function(e){var n=l({},function(){if(o.support.flashVideo){for(var n,r,i=0;i<e.length;i++)if(r=e[i],/mp4|flv|flash/i.test(r.type)&&(n=r),t.conf.swfHls&&/mpegurl/i.test(r.type)&&(n=r),n&&!/mp4/i.test(n.type))return n;return n}}());if(n)return!n.src||r(n.src)||t.conf.rtmp||n.rtmp||(n.src=a.createAbsoluteUrl(n.src)),n},suspendEngine:function(){g=!0},resumeEngine:function(){g=!1},load:function(i){function b(t){return t.replace(/&/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}d=i,v.forEach(function(t){clearTimeout(t)});var w=a.findDirect("video",e)[0]||a.find(".fp-player > video",e)[0],E=i.src,T=r(E),S=function(){a.removeNode(w)},_=function(t){return t.some(function(t){return!!w.canPlayType(t.type)})};o.support.video&&a.prop(w,"autoplay")&&_(i.sources)?u.one(w,"timeupdate",S):S();var A=i.rtmp||m.rtmp;if(T||A||(E=a.createAbsoluteUrl(E)),p&&f(i)&&p.data!==a.createAbsoluteUrl(m.swfHls)&&y.unload(),p){["live","preload","loop"].forEach(function(t){i.hasOwnProperty(t)&&p.__set(t,i[t])}),Object.keys(i.flashls||{}).forEach(function(t){p.__set("hls_"+t,i.flashls[t])});var I=!1;if(!T&&A)p.__set("rtmp",A.url||A);else{var C=p.__get("rtmp");I=!!C,p.__set("rtmp",null)}p.__play(E,I||i.rtmp&&i.rtmp!==m.rtmp)}else{h="fpCallback"+(""+Math.random()).slice(3,15),E=b(E);var x={hostname:m.embedded?a.hostname(m.hostname):a.hostname(location.hostname),url:E,callback:h};e.getAttribute("data-origin")&&(x.origin=e.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(t){m.hasOwnProperty(t)&&(x[t]=m[t]),i.hasOwnProperty(t)&&(x[t]=i[t]),(m.rtmp||{}).hasOwnProperty(t)&&(x[t]=(m.rtmp||{})[t]),(i.rtmp||{}).hasOwnProperty(t)&&(x[t]=(i.rtmp||{})[t])}),m.splash&&(x.autoplay=!0),m.rtmp&&(x.rtmp=m.rtmp.url||m.rtmp),i.rtmp&&(x.rtmp=i.rtmp.url||i.rtmp),Object.keys(i.flashls||{}).forEach(function(t){var e=i.flashls[t];x["hls_"+t]=e});var D="undefined"!=typeof i.hlsQualities?i.hlsQualities:m.hlsQualities;"undefined"!=typeof D&&(x.hlsQualities=D?encodeURIComponent(JSON.stringify(D)):D),void 0!==m.bufferTime&&(x.bufferTime=m.bufferTime),void 0!==m.bufferTimeMax&&(x.bufferTimeMax=m.bufferTimeMax),T&&delete x.rtmp,x.rtmp&&(x.rtmp=b(x.rtmp));var L,O=m.bgcolor||a.css(e,"background-color")||"";0===O.indexOf("rgb")?L=n(O):0===O.indexOf("#")&&(L=c(O)),x.initialVolume=t.volumeLevel;var R=f(i)?m.swfHls:m.swf;p=s(R,x,m.wmode,L)[0];var k=a.find(".fp-player",e)[0];a.prepend(k,p),t.off("quality.flashengine").on("quality.flashengine",function(e,n,r){var i="undefined"!=typeof t.video.hlsQualities?t.video.hlsQualities:t.conf.hlsQualities;if(i)try{p.__quality(r)}catch(e){t.debug("Error changing quality in flash engine",e)}}),setTimeout(function(){try{if(!p.PercentLoaded())return t.trigger("error",[t,{code:7,url:m.swf}])}catch(t){}},5e3),v.push(setTimeout(function(){"undefined"==typeof p.PercentLoaded&&t.trigger("flashdisabled",[t])},15e3)),v.push(setTimeout(function(){"undefined"==typeof p.PercentLoaded&&t.trigger("flashdisabled",[t,!1])},500)),t.off("resume.flashhack").on("resume.flashhack",function(){var e=setTimeout(function(){var e=p.__status().time,n=setTimeout(function(){t.playing&&!t.loading&&p.__status().time===e&&t.trigger("flashdisabled",[t])},400);v.push(n),t.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(n)})},800);v.push(e),t.one("progress",function(){clearTimeout(e)})}),p.pollInterval=setInterval(function(){if(p&&!g){var e=p.__status?p.__status():null;e&&((t.conf.live||t.live||i.live)&&(i.seekOffset=e.seekOffset,i.duration=e.duration+e.seekOffset),t.playing&&e.time&&e.time!==t.video.time&&t.trigger("progress",[t,e.time]),i.buffer=e.buffer/i.bytes*i.duration,t.trigger("buffer",[t,i.buffer]),!i.buffered&&e.time>0&&(i.buffered=!0,t.trigger("buffered",[t])))}},250),window[h]=function(n,r){var i=d;m.debug&&(0===n.indexOf("debug")&&r&&r.length?console.log.apply(console,["-- "+n].concat(r)):console.log("--",n,r));var o={type:n};switch(n){case"ready":r=l(i,r);break;case"click":o.flash=!0;break;case"keydown":o.which=r;break;case"seek":i.time=r;break;case"status":t.trigger("progress",[t,r.time]),r.buffer<i.bytes&&!i.buffered?(i.buffer=r.buffer/i.bytes*i.duration,t.trigger("buffer",i.buffer)):i.buffered||(i.buffered=!0,t.trigger("buffered"));break;case"metadata":var a=atob(r);r={key:a.substr(10,4),data:a.substr(21)}}"click"===n||"keydown"===n?(o.target=e,u.fire(e,n,[o])):"buffered"!=n&&"unload"!==n?setTimeout(function(){t.trigger(o,[t,r])},1):"unload"===n&&t.trigger(o,[t,r])}}},speed:a.noop,unload:function(){p&&p.__unload&&p.__unload();try{h&&window[h]&&delete window[h]}catch(t){}a.find("object",e).forEach(a.removeNode),p=0,t.off(".flashengine"),t.off(".flashhack"),clearInterval(p.pollInterval),v.forEach(function(t){clearTimeout(t)})}};return["pause","resume","seek","volume"].forEach(function(e){y[e]=function(n){try{t.ready&&(void 0===n?p["__"+e]():p["__"+e](n))}catch(n){if("undefined"==typeof p["__"+e])return t.trigger("flashdisabled",[t]);throw n}}}),y},i.engineName="flash",i.canPlay=function(t,e){return o.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(t)||o.support.flashVideo&&e.swfHls&&/mpegurl/i.test(t)},o.engines.push(i)},{"../common":1,"../flowplayer":31,"./embed":2,bean:34,"extend-object":39}],4:[function(t,e,n){"use strict";function r(t){return"undefined"!=typeof window.Hls&&(/mpegurl/.test(t)&&window.Hls.isSupported())}var i,o=t("../flowplayer"),a=o.support,s=o.common,l=o.bean,u=t("./html5-factory");i=function(t,e){function n(n,r,u){var d=o.extend({recoverMediaError:!0},t.conf.hlsjs,n.hlsjs);t.engine.hls&&t.engine.hls.destroy();var h=t.engine.hls=new f(d);i.extensions.forEach(function(n){n({hls:h,player:t,root:e,videoTag:r})}),h.loadSource(n.src),u.resume=function(){t.live&&!t.dvr&&(r.currentTime=h.liveSyncPosition||0),r.play()},u.seek=function(e){try{t.live||t.dvr?r.currentTime=Math.min(e,h.liveSyncPosition||r.duration-d.livePositionOffset):r.currentTime=e}catch(n){t.debug("Failed to seek to ",e,n)}},d.bufferWhilePaused===!1&&t.on("pause",function(){h.stopLoad(),t.one("resume",function(){h.startLoad()})}),t.on("quality",function(t,e,n){h.nextLevel=a=n});var p,g,m=function(n){if(t.debug("hlsjs - recovery"),s.removeClass(e,"is-paused"),s.addClass(e,"is-seeking"),l.one(r,"seeked",function(){r.paused&&(s.removeClass(e,"is-poster"),t.poster=!1,r.play()),s.removeClass(e,"is-seeking")}),n)return h.startLoad();var i=performance.now();!p||i-p>3e3?(p=performance.now(),h.recoverMediaError()):(!g||i-g>3e3)&&(g=performance.now(),h.swapAudioCodec(),h.recoverMediaError())};return h.on(f.Events.MANIFEST_PARSED,function(e,i){var o,l=n.hlsQualities||t.conf.hlsQualities,u={},f=i.levels;if(l===!1)return h.attachMedia(r);if("drive"===l)switch(f.length){case 4:o=[1,2,3];break;case 5:o=[1,2,3,4];break;case 6:o=[1,3,4,5];break;case 7:o=[1,3,5,6];break;case 8:o=[1,3,6,7];break;default:o=f.length<3||f[0].height&&f[2].height&&f[0].height===f[2].height?[]:[1,2]}if(n.qualities=[{value:-1,label:"Auto"}],Array.isArray(l)){var d=l.find(function(t){return-1===t||t.level&&-1===t.level});d?n.qualities[0].label="number"!=typeof d?d.label:n.qualities[0].label:n.qualities=[],o=l.map(function(t){return"undefined"!=typeof t.level&&(u[t.level]=t.label),"undefined"!=typeof t.level?t.level:t})}var p=-2;n.qualities=n.qualities.concat(f.map(function(t,e){if(o&&-1===o.indexOf(e))return!1;var n=u[e]||Math.min(t.width,t.height)+"p";return u[e]||"drive"===l||(n+=" ("+Math.round(t.bitrate/1e3)+"k)"),e===a&&(p=e),{value:e,label:n}})).filter(s.identity);var g=n.quality=-2===p?n.qualities[0].value||-1:p;g!==h.currentLevel&&(h.currentLevel=g),h.attachMedia(r),c&&n.src!==c&&r.play(),c=n.src}),h.on(f.Events.ERROR,function(e,n){if(n.fatal)if(d.recoverNetworkError&&n.type===f.ErrorTypes.NETWORK_E
31RROR)m(!0);else if(d.recoverMediaError&&n.type===f.ErrorTypes.MEDIA_ERROR)m(!1);else{var r=5;n.type===f.ErrorTypes.NETWORK_ERROR&&(r=2),n.type===f.ErrorTypes.MEDIA_ERROR&&(r=3),h.destroy(),t.trigger("error",[t,{code:r}])}}),t.one("unload",function(){h.destroy()}),{handlers:{error:function(t,e){var n=e.error&&e.error.code;return d.recoverMediaError&&3===n||!n?(t.preventDefault(),m(!1),!0):d.recoverNetworkError&&2===n?(t.preventDefault(),m(!0),!0):void 0}}}}var a,c,f=window.Hls;return u("hlsjs-lite",t,e,r,n)},i.canPlay=function(t,e){return!(e.hlsjs===!1||e.clip&&e.clip.hlsjs===!1)&&(!(a.browser.safari&&!(e.clip&&e.clip.hlsjs||e.hlsjs||{}).safari)&&(o.support.video&&r(t)))},i.engineName="hlsjs-lite",i.plugin=function(t){i.extensions.push(t)},i.extensions=[],o.engines.push(i)},{"../flowplayer":31,"./html5-factory":5}],5:[function(t,e,n){function r(t,e,n,r,a){function f(t,o,a,f){var h=n.getAttribute("data-flowplayer-instance-id");if(t.listeners&&t.listeners.hasOwnProperty(h))return void(t.listeners[h]=a);(t.listeners||(t.listeners={}))[h]=a,u.on(o,"error",function(n){try{r(n.target.getAttribute("type"))&&e.trigger("error",[e,{code:4,video:c(a,{src:t.src,url:t.src})}])}catch(t){}}),e.on("shutdown",function(){u.off(o),u.off(t,".dvrhack"),e.off(".loophack")});var p={},g=function(t){"metadata"===t.kind&&(t.mode="hidden",t.addEventListener("cuechange",function(){t.activeCues.length&&e.trigger("metadata",[e,t.activeCues[0].value])},!1))};return t&&t.textTracks&&t.textTracks.length&&Array.prototype.forEach.call(t.textTracks,g),t&&t.textTracks&&"function"==typeof t.textTracks.addEventListener&&t.textTracks.addEventListener("addtrack",function(t){g(t.track)},!1),(e.conf.dvr||e.dvr||a.dvr)&&u.on(t,"progress.dvrhack",function(){t.seekable.length&&(e.video.duration=t.seekable.end(null),e.video.seekOffset=t.seekable.start(null),e.trigger("dvrwindow",[e,{start:t.seekable.start(null),end:t.seekable.end(null)}]),t.currentTime>=t.seekable.start(null)||(t.currentTime=t.seekable.start(null)))}),Object.keys(d).forEach(function(r){var o=d[r];if("webkitendfullscreen"===r&&e.conf.disableInline&&(o="unload"),o){var u=function(u){if(a=t.listeners[h],u.target&&s.hasClass(u.target,"fp-engine")){/progress/.test(o)||e.debug(r,"->",o,u);var d=function(t){e.trigger(t||o,[e,p])};if(!e.ready&&!/ready|error/.test(o)||!o||!s.find("video",n).length)return void("resume"===o&&e.one("ready",function(){setTimeout(function(){d()})}));var p;if("unload"===o)return void e.unload();switch(o){case"ready":if(e.ready)return e.debug("Player already ready, not sending duplicate ready event");if(!(t.duration&&t.duration!==1/0||e.live))return e.debug("No duration and VOD setup, not sending ready event");if(p=c(a,{duration:t.duration<Number.MAX_VALUE?t.duration:0,width:t.videoWidth,height:t.videoHeight,url:t.currentSrc}),p.seekable=p.duration,e.debug("Ready: ",p),!e.live&&!p.duration&&!l.hlsDuration&&"loadeddata"===r){var g=function(){p.duration=t.duration;try{p.seekable=t.seekable&&t.seekable.end(null)}catch(t){}d(),t.removeEventListener("durationchange",g),s.toggleClass(n,"is-live",!1)};t.addEventListener("durationchange",g);var m=function(){e.ready||t.duration||(p.duration=0,s.addClass(n,"is-live"),d()),t.removeEventListener("timeupdate",m)};return void t.addEventListener("timeupdate",m)}break;case"progress":case"seek":if(t.currentTime>0||e.live)p=Math.max(t.currentTime,0);else if("seek"===o&&0===t.currentTime)p=0;else if("progress"==o)return;break;case"buffer":p=[];for(var v=0;v<t.buffered.length;v++)p.push({start:t.buffered.start(v),end:t.buffered.end(v)});t.buffered.length&&t.buffered.end(null)===t.duration&&d("buffered");break;case"speed":p=i(t.playbackRate);break;case"volume":p=i(t.muted?0:t.volume);break;case"error":try{if(f&&f.handlers&&f.handlers.error){var y=f.handlers.error(u,t);if(y)return}p=(u.srcElement||u.originalTarget).error,p.video=c(a,{src:t.src,url:t.src})}catch(t){return}}d()}};n.addEventListener(r,u,!0),p[r]||(p[r]=[]),p[r].push(u)}}),p}var h,p,g,m=s.findDirect("video",n)[0]||s.find(".fp-player > video",n)[0],v=e.conf;return g={engineName:t,pick:function(t){var e=l.video&&t.filter(function(t){return r(t.type)})[0];if(e)return"string"==typeof e.src&&(e.src=s.createAbsoluteUrl(e.src)),e},load:function(t){var r=s.find(".fp-player",n)[0],i=!1;if(m||(m=document.createElement("video"),s.prepend(r,m),m.autoplay=!!v.splash,i=!0),s.addClass(m,"fp-engine"),s.find("track",m).forEach(s.removeNode),m.preload="none",v.nativesubtitles||s.attr(m,"crossorigin",!1),v.disableInline||(m.setAttribute("webkit-playsinline","true"),m.setAttribute("playsinline","true")),l.inlineVideo||s.css(m,{position:"absolute",top:"-9999em"}),l.subtitles&&v.nativesubtitles&&t.subtitles&&t.subtitles.length){s.addClass(m,"native-subtitles");var c=t.subtitles,d=function(t){var e=m.textTracks;e.length&&(e[0].mode=t)};c.some(function(t){return!s.isSameDomain(t.src)})&&s.attr(m,"crossorigin","anonymous"),"function"==typeof m.textTracks.addEventListener&&m.textTracks.addEventListener("addtrack",function(){d("disabled"),d("showing")}
31),c.forEach(function(t){m.appendChild(s.createElement("track",{kind:"subtitles",srclang:t.srclang||"en",label:t.label||"en",src:t.src,default:t.default}))})}u.off(m,"timeupdate",s.noop),u.on(m,"timeupdate",s.noop),s.prop(m,"loop",!1),e.off(".loophack"),(t.loop||v.loop)&&e.on("finish.loophack",function(){e.resume()}),"undefined"!=typeof p&&(m.volume=p);var h=a(t,m,g);if(v.autoplay||v.splash||t.autoplay){e.debug("Autoplay / Splash setup, try to start video"),m.load();var y=function(){try{var t=m.play();if(t&&t.catch){var n=function(t){if("AbortError"===t.name&&20===t.code)return i?void 0:m.play().catch(n);if(!v.mutedAutoplay)throw new Error("Unable to autoplay");return e.debug("Play errored, trying muted",t),e.mute(!0,!0),m.play()};t.catch(n).catch(function(){v.autoplay=!1,e.mute(!1,!0),e.trigger("stop",[e])})}}catch(t){e.debug("play() error thrown",t)}};m.readyState>0?y():u.one(m,"canplay",y)}if(g._listeners=f(m,s.find("source",m).concat(m),t,h)||g._listeners,!(v.autoplay||v.splash||t.autoplay)){var b=function(){o(n)&&(e.debug("player is in viewport, preload"),l.preloadMetadata?m.preload="metadata":m.load(),u.off(document,"scroll.preloadviewport"))};u.off(document,"scroll.preloadviewport"),u.on(document,"scroll.preloadviewport",function(){window.requestAnimationFrame(b)}),b()}},mute:function(t){m.muted=!!t,e.trigger("mute",[e,t]),e.trigger("volume",[e,t?0:m.volume])},pause:function(){m.pause()},resume:function(){m.play()},speed:function(t){m.playbackRate=t},seek:function(t){var n=m.paused||e.finished;try{m.currentTime=t,n&&u.one(m,"seeked",function(){m.pause()})}catch(t){}},volume:function(t){p=t,m&&(m.volume=t,t&&g.mute(!1))},unload:function(){u.off(document,"scroll.preloadviewport"),s.find("video.fp-engine",n).forEach(function(t){"MediaSource"in window?t.src=URL.createObjectURL(new MediaSource):t.src="",s.removeNode(t)}),h=clearInterval(h);var t=n.getAttribute("data-flowplayer-instance-id");delete m.listeners[t],m=0,g._listeners&&Object.keys(g._listeners).forEach(function(t){g._listeners[t].forEach(function(e){n.removeEventListener(t,e,!0)})})}}}function i(t,e){return e=e||100,Math.round(t*e)/e}function o(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)+e.height&&e.right<=(window.innerWidth||document.documentElement.clientWidth)+e.width}var a=t("../flowplayer"),s=a.common,l=a.support,u=a.bean,c=a.extend,f=l.browser.safari&&!l.iOS,d={ended:"finish",pause:"pause",play:"resume",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadedmetadata:f?0:"ready",canplaythrough:f?"ready":0,durationchange:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!a.support.inlineVideo&&"unload",progress:"buffer"};e.exports=r},{"../flowplayer":31}],6:[function(t,e,n){"use strict";function r(t){return/mpegurl/i.test(t)?"application/x-mpegurl":t}function i(t){return/^(video|application)/i.test(t)||(t=r(t)),!!u.canPlayType(t).replace("no","")}var o,a=t("../flowplayer"),s=a.common,l=t("./html5-factory"),u=document.createElement("video");o=function(t,e){return l("html5",t,e,i,function(t,e){e.currentSrc!==t.src?(s.find("source",e).forEach(s.removeNode),e.src=t.src,e.type=t.type):t.autoplay&&e.load()})},o.canPlay=function(t){return a.support.video&&i(t)},o.engineName="html5",a.engines.push(o)},{"../flowplayer":31,"./html5-factory":5}],7:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){t.on("ready",function(){var t=i.find("video.fp-engine",e)[0];t&&(t.setAttribute("x-webkit-airplay","allow"),window.WebKitPlaybackTargetAvailabilityEvent&&(t.addEventListener("webkitplaybacktargetavailabilitychanged",function(t){if("available"===t.availability){var n=i.find(".fp-header",e)[0];i.find(".fp-airplay",n).forEach(i.removeNode);var r=i.createElement("a",{class:"fp-airplay fp-icon",title:"Play on AirPlay device"});n.insertBefore(r,i.find(".fp-fullscreen",n)[0])}}),t.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",function(){var n=i.find(".fp-airplay",e)[0];n&&i.toggleClass(n,"fp-active",t.webkitCurrentPlaybackTargetIsWireless)})))}),o.on(e,"click",".fp-airplay",function(t){t.preventDefault();var n=i.find("video.fp-engine",e)[0];n.webkitShowPlaybackTargetPicker()})})},{"../common":1,"../flowplayer":31,bean:34}],8:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("./resolve").TYPE_RE,o=t("scriptjs"),a=t("bean");r(function(t,e){var n,r=t.conf.analytics,s=0,l=0;if(r){"undefined"==typeof _gat&&o("//google-analytics.com/ga.js");var u=function(){var t=_gat._getTracker(r);return t._setAllowLinker(!0),t},c=function(r,o,a){if(a=a||t.video,s&&"undefined"!=typeof _gat){var l=u();l._trackEvent("Video / Seconds played",t.engine.engineName+"/"+a.type,a.title||e.getAttribute("title")||a.src.split("/").slice(-1)[0].replace(i,""),Math.round(s/1e3)),s=0,n&&(clearTimeout(n),n=null)}};t.bind("load unload",c).bind("progress",function(){t.seeking||(s+=l?+new Date-l:0,l=+new Date),n||(n=setTimeout(function(){n=null;var t=u();t._trackEvent("Flowplayer heartbeat","Heartbeat","",0,!0)},6e5))}).bind("pause",function(){l=0}),t.bind("shutdown",function(){a.off(window,"unload",c)}),a.on(window,"unload",c)}})},{"../flowplayer":31,"./resolve":21,bean:34,scriptjs:45}],9:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("bean"),a=t("scriptjs");r(function(t,e){function n(){var t,e,n;t=g.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,e=new chrome.cast.SessionRequest(t),n=new chrome.cast.ApiConfig(e,r,s),chrome.cast.initialize(n,l,u)}function r(){console.log("sessionListener")}function s(t){t===chrome.cast.ReceiverAvailability.AVAILABLE&&c()}function l(){}function u(){console.log("onError")}function c(){var t=i.find(".fp-header",e)[0];if(t){i.find(".fp-chromecast",t).forEach(i.removeNode),i.find(".fp-chromecast-engine",e).forEach(i.removeNode),p=i.createElement("a",{class:"fp-chromecast fp-icon",title:"Play on Cast device"}),t.insertBefore(p,i.find(".fp-fullscreen",t)[0]);var n=i.createElement("div",{class:"fp-chromecast-engine"}),r=i.createElement("p",{class:"fp-chromecast-engine-status"}),o=i.createElement("p",{class:"fp-chromecast-engine-icon"});n.appendChild(o),n.appendChild(r);var a=i.find(".fp-engine",e)[0];a?a.parentNode.insertBefore(n,a):i.prepend(i.find(".fp-player",e)[0]||e,n)}}function f(){clearInterval(h),h=null,t.release(),i.toggleClass(e,"is-chromecast",!1),i.toggleClass(p,"fp-active",!1)}if(t.conf.chromecast!==!1){
32a("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),window.__onGCastApiAvailable=function(t){t&&n()};var d,h,p,g=t.conf.chromecast||{};o.on(e,"click",".fp-chromecast",function(n){return n.preventDefault(),d?(t.trigger("pause",[t]),d.stop(),d=null,void f()):(t.playing&&t.pause(),void chrome.cast.requestSession(function(n){function r(n){n.addUpdateListener(function(r){if(d){h=h||setInterval(function(){t.trigger("progress",[t,n.getEstimatedTime()])},500),r?(i.toggleClass(e,"is-chromecast",!0),i.toggleClass(p,"fp-active",!0),t.hijack({pause:function(){n.pause()},resume:function(){n.play()},seek:function(t){var e=new chrome.cast.media.SeekRequest;e.currentTime=t,n.seek(e)}})):(f(),t.trigger("finish",[t]));var o=n.playerState;t.paused&&o===chrome.cast.media.PlayerState.PLAYING&&t.trigger("resume",[t]),t.playing&&o===chrome.cast.media.PlayerState.PAUSED&&t.trigger("pause",[t]),i.toggleClass(e,"is-loading",o===chrome.cast.media.PlayerState.BUFFERING)}})}d=n;var o=d.receiver.friendlyName;i.html(i.find(".fp-chromecast-engine-status")[0],"Playing on device "+o);var a=new chrome.cast.media.MediaInfo(t.video.src),s=new chrome.cast.media.LoadRequest(a);d.loadMedia(s,r,function(){})},function(t){console.error("requestSession error",t)}))})}})},{"../common":1,"../flowplayer":31,bean:34,scriptjs:45}],10:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){function n(t){e.className=e.className.replace(a," "),t>=0&&i.addClass(e,"cue"+t)}function r(e){var n=e&&!isNaN(e.time)?e.time:e;return 0>n&&(n=t.video.duration+n),.125*Math.round(n/.125)}var a=/ ?cue\d+ ?/,s=!1,l={},u=-.125,c=function(e){n(e.index),t.trigger("cuepoint",[t,e])};t.on("progress",function(t,e,n){if(!s)for(var i=r(n);i>u;)u+=.125,l[u]&&l[u].forEach(c)}).on("unload",n).on("beforeseek",function(t){setTimeout(function(){t.defaultPrevented||(s=!0)})}).on("seek",function(t,e,i){n(),u=r(i||0)-.125,s=!1,!i&&l[0]&&l[0].forEach(c)}).on("ready",function(e,n,r){u=-.125;var i=r.cuepoints||t.conf.cuepoints||[];t.setCuepoints(i)}).on("finish",function(){for(var e=r(t.video.duration);e>u;)u+=.125,l[u]&&l[u].forEach(c);u=-.125}),t.conf.generate_cuepoints&&t.bind("load",function(){i.find(".fp-cuepoint",e).forEach(i.removeNode)}),t.setCuepoints=function(e){return t.cuepoints=[],l={},e.forEach(t.addCuepoint),t},t.addCuepoint=function(n){t.cuepoints||(t.cuepoints=[]),"number"==typeof n&&(n={time:n}),n.index=0;var a=r(n);if(l[a]||(l[a]=[]),l[a].push(n),t.cuepoints.length&&(n.index=Math.max.apply(null,t.cuepoints.map(function(t){return t.index}))+1),t.cuepoints.push(n),t.conf.generate_cuepoints&&n.visible!==!1){var s=t.video.duration,u=i.find(".fp-timeline",e)[0];i.css(u,"overflow","visible");var c=n.time||n;0>c&&(c=s+c);var f=i.createElement("a",{className:"fp-cuepoint fp-cuepoint"+n.index});i.css(f,"left",c/s*100+"%"),u.appendChild(f),o.on(f,"mousedown",function(e){e.preventDefault(),e.stopPropagation(),t.seek(c)})}return t},t.removeCuepoint=function(n){"number"==typeof n&&(n=t.cuepoints.filter(function(t){return t.index===n})[0]);var o=t.cuepoints.indexOf(n),a=r(n);if(-1!==o){t.cuepoints=t.cuepoints.slice(0,o).concat(t.cuepoints.slice(o+1));var s=i.find(".fp-timeline",e)[0];i.find(".fp-cuepoint"+n.index,s).forEach(i.removeNode);var u=l[a].indexOf(n);if(-1!==u)return l[a]=l[a].slice(0,u).concat(l[a].slice(u+1)),t}}})},{"../common":1,"../flowplayer":31,bean:34}],11:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("bean"),o=t("../common"),a=t("./util/clipboard");r(function(t,e){if(t.conf.embed!==!1&&t.conf.share!==!1){var n=o.find(".fp-share-menu",e)[0],r=o.createElement("a",{class:"fp-icon fp-embed",title:"Copy to your site"},"Embed");o.append(n,r),t.embedCode=function(){var n=t.conf.embed||{},r=t.video,i=n.width||r.width||o.width(e),a=n.height||r.height||o.height(e),s=t.conf.ratio,l='<iframe src="'+t.shareUrl(!0)+'" allowfullscreen style="border:none;';return n.width||n.height?(isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),l+"width:"+i+";height:"+a+';"></iframe>'):((!s||t.conf.adaptiveRatio)&&(s=a/i),'<div style="position:relative;width:100%;display:inline-block;">'+l+'position:absolute;top:0;left:0;width:100%;height:100%;"></iframe><div style="padding-top:'+100*s+'%;"></div></div>')},i.on(e,"click",".fp-embed",function(){a(t.embedCode(),function(){t.message("The embed code is now on your clipboard",2e3)},function(){t.textarea(t.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(t,e,n){"use strict";e.exports=function(t,e){e||(e=document.createElement("div"));var n={},r={},i=function(t,i,o){var a=t.split(".")[0],s=function(l){o&&(e.removeEventListener(a,s),n[t].splice(n[t].indexOf(s),1));var u=[l].concat(r[l.timeStamp+l.type]||[]);i&&i.apply(void 0,u)};e.addEventListener(a,s),n[t]||(n[t]=[]),n[t].push(s)};t.on=t.bind=function(e,n){var r=e.split(" ");return r.forEach(function(t){i(t,n)}),t},t.one=function(e,n){var r=e.split(" ");return r.forEach(function(t){i(t,n,!0)}),t};var o=function(t,e){return 0===e.filter(function(e){return-1===t.indexOf(e)}).length};t.off=t.unbind=function(r){var i=r.split(" ");
32return i.forEach(function(t){var r=t.split(".").slice(1),i=t.split(".")[0];Object.keys(n).filter(function(t){var e=t.split(".").slice(1);return(!i||0===t.indexOf(i))&&o(e,r)}).forEach(function(t){var r=n[t],i=t.split(".")[0];n[t]=r.filter(function(t){return e.removeEventListener(i,t),!1})})}),t},t.trigger=function(n,i,o){if(n){i=(i||[]).length?i||[]:[i];var a,s=document.createEvent("Event");return a=n.type||n,s.initEvent(a,!1,!0),Object.defineProperty&&(s.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),r[s.timeStamp+s.type]=i,e.dispatchEvent(s),o?s:t}}},e.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){var n=t.conf;if(n.share!==!1&&n.facebook){t.facebook=function(){var t,e,r=550,i=420,o=screen.height,a=screen.width,s="scrollbars=yes,resizable=yes,toolbar=no,location=yes",l="string"==typeof n.facebook?n.facebook:window.location.toString();t=Math.round(a/2-r/2),e=0,o>i&&(e=Math.round(o/2-i/2)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(l),"sharer",s+",width="+r+",height="+i+",left="+t+",top="+e)};var r=i.find(".fp-share-menu",e)[0],a=i.createElement("a",{class:"fp-icon fp-facebook"},"Facebook");i.append(r,a),o.on(e,"click",".fp-facebook",function(){t.facebook()})}})},{"../common":1,"../flowplayer":31,bean:34}],14:[function(t,e,n){"use strict";var r,i=t("../flowplayer"),o=t("bean"),a=t("../common"),s="fullscreen",l="fullscreen-exit",u=i.support.fullscreen;o.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(t){var e=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||t.target;if(r||e.parentNode&&e.parentNode.getAttribute("data-flowplayer-instance-id")){var n=r||i(e.parentNode);e&&!r?r=n.trigger(s,[n]):(r.trigger(l,[r]),r=null)}}),i(function(t,e){var n=a.createElement("div",{className:"fp-player"});if(Array.prototype.map.call(e.children,a.identity).forEach(function(t){a.matches(t,".fp-ratio,script")||n.appendChild(t)}),e.appendChild(n),t.conf.fullscreen){var i,o,c=window;t.isFullscreen=!1,t.fullscreen=function(e){return t.disabled?void 0:(void 0===e&&(e=!t.isFullscreen),e&&(i=c.scrollY,o=c.scrollX),u?e?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(t){"function"==typeof n[t]&&(n[t](Element.ALLOW_KEYBOARD_INPUT),"webkitRequestFullScreen"!==t||document.webkitFullscreenElement||n[t]())}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(t){"function"==typeof document[t]&&document[t]()}):t.trigger(e?s:l,[t]),t)};var f;t.on("mousedown.fs",function(){+new Date-f<150&&t.ready&&t.fullscreen(),f=+new Date}),t.on(s,function(){a.addClass(e,"is-fullscreen"),a.toggleClass(e,"fp-minimal-fullscreen",a.hasClass(e,"fp-minimal")),a.removeClass(e,"fp-minimal"),u||a.css(e,"position","fixed"),t.isFullscreen=!0}).on(l,function(){var n;a.toggleClass(e,"fp-minimal",a.hasClass(e,"fp-minimal-fullscreen")),a.removeClass(e,"fp-minimal-fullscreen"),u||"html5"!==t.engine||(n=e.css("opacity")||"",a.css(e,"opacity",0)),u||a.css(e,"position",""),a.removeClass(e,"is-fullscreen"),u||"html5"!==t.engine||setTimeout(function(){e.css("opacity",n)}),t.isFullscreen=!1,c.scrollTo(o,i)}).on("unload",function(){t.isFullscreen&&t.fullscreen()}),t.on("shutdown",function(){r=null,a.removeNode(n)})}})},{"../common":1,"../flowplayer":31,bean:34}],15:[function(t,e,n){"use strict";var r,i,o=t("../flowplayer"),a=t("bean"),s=t("../common");a.on(document,"keydown.fp",function(t){var e=r,n=t.ctrlKey||t.metaKey||t.altKey,i=t.which,o=e&&e.conf;if(e&&o.keyboard&&!e.disabled&&!n&&e.ready){if(t.shiftKey)return 39==i?e.speed(!0):37==i&&e.speed(!1),t.preventDefault();if(58>i&&i>47)return t.preventDefault(),e.seekTo(i-48);var a=function(){switch(i){case 38:case 75:return e.volume(e.volumeLevel+.15),!0;case 40:case 74:return e.volume(e.volumeLevel-.15),!0;case 39:case 76:return e.seeking=!0,e.seek(!0),!0;case 37:case 72:return e.seeking=!0,e.seek(!1),!0;case 190:return e.seekTo(),!0;
32case 32:return e.toggle(),!0;case 70:return o.fullscreen&&e.fullscreen(),!0;case 77:return e.mute(),!0;case 81:return e.unload(),!0}}();a&&t.preventDefault()}}),o(function(t,e){t.conf.keyboard&&(a.on(document,"click",function(n){if(s.hasParent(n.target,e))r=t.disabled?0:t;else{if(r!==t)return;r=0}r&&(i=e)}),t.bind("shutdown",function(){i==e&&(i=null)}))})},{"../common":1,"../flowplayer":31,bean:34}],16:[function(t,e,n){var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){t.showMenu=function(n,r){var a=i.find(".fp-ui",e)[0];i.toggleClass(n,"fp-active",!0),setTimeout(function(){o.one(document,"click",function(){t.hideMenu(n)})});var s=r;if(r&&r.tagName&&(s={left:i.offset(r).left,rightFallbackOffset:i.width(r),top:i.offset(r).top+i.height(r)}),!s)return i.css(n,"top","auto");s.rightFallbackOffset=s.rightFallbackOffset||0;var l=s.top-i.offset(a).top,u=s.left-i.offset(a).left;i.width(n)+u>i.width(a)&&(u=u-i.width(n)+s.rightFallbackOffset),i.height(n)+l>i.height(a)&&(l-=i.height(n)),i.css(n,{top:l+"px",left:u+"px",right:"auto"})},t.hideMenu=function(t){i.toggleClass(t,"fp-active",!1),i.css(t,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(t,e,n){var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){function n(t){var e=i.createElement("div",{className:"fp-message"},t);return s.insertBefore(e,a),setTimeout(function(){i.toggleClass(e,"fp-shown")}),e}function r(t){i.removeNode(t)}var a=i.find(".fp-header",e)[0],s=i.find(".fp-ui",e)[0];t.message=function(t,e){var o=n(t),a=function(){i.toggleClass(o,"fp-shown"),setTimeout(function(){r(o)},500)};return e&&setTimeout(a,e),a},t.textarea=function(t){var e=document.createElement("textarea");e.value=t,e.className="fp-textarea",s.appendChild(e),o.on(document,"click.fptextarea",function(t){return t.target===e?e.select():(t.stopPropagation(),t.preventDefault(),i.removeNode(e),void o.off(document,"click.fptextarea"))})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=/IEMobile/.test(window.navigator.userAgent),o=t("../common"),a=t("bean"),s=t("./ui").format,l=r.support,u=window.navigator.userAgent;(l.touch||i)&&r(function(t,e){var n=l.android,r=n&&!n.firefox,c=/Silk/.test(u),f=n.version||0;if(r&&!i){if(!/Chrome/.test(u)&&4>f||n.samsung&&5>f){var d=t.load;t.load=function(){var n=d.apply(t,arguments);return o.find("video.fp-engine",e)[0].load(),t.trigger("ready",[t,t.video]),n}}var h,p=0,g=function(t){h=setInterval(function(){t.video.time=++p,t.trigger("progress",[t,p])},1e3)};t.on("ready pause unload",function(){h&&(clearInterval(h),h=null)}),t.on("ready",function(){p=0}),t.on("resume",function(e,n){return n.live?p?g(n):void t.one("progress",function(t,e,n){0===n&&g(e)}):void 0})}l.volume||(o.removeClass(e,"fp-mute"),o.addClass(e,"no-volume")),l.iOS&&o.addClass(e,"fp-mute"),o.addClass(e,"is-touch"),t.sliders&&t.sliders.timeline&&t.sliders.timeline.disableAnimation();var m=!1;a.on(e,"touchmove",function(){m=!0});var v=!0;if(a.on(e,"touchend click",function(n){if(m)return void(m=!1);var r=o.find("video.fp-engine",e)[0];return v&&t.conf.clickToUnMute&&r&&r.muted&&t.conf.autoplay&&(r.muted=!1),v=!1,t.playing&&!o.hasClass(e,"is-mouseover")?(o.addClass(e,"is-mouseover"),o.removeClass(e,"is-mouseout"),n.preventDefault(),void n.stopPropagation()):void(t.playing||t.splash||!o.hasClass(e,"is-mouseout")||o.hasClass(e,"is-mouseover")||setTimeout(function(){t.disabled||t.playing||t.splash||o.find("video.fp-engine",e)[0].play()},400))}),!l.fullscreen&&t.conf.native_fullscreen&&"function"==typeof o.createElement("video").webkitEnterFullScreen){var y=t.fullscreen;t.fullscreen=function(){var n=o.find("video.fp-engine",e)[0];return n?(t.trigger("fullscreen",[t]),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===n&&(a.off(document,".nativefullscreen"),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(a.off(document,".nativefullscreen"),t.trigger("fullscreen-exit",[t]))}))}),n.webkitEnterFullScreen(),void a.one(n,"webkitendfullscreen",function(){a.off(document,"fullscreenchange.nativefullscreen"),t.trigger("fullscreen-exit",[t]),o.prop(n,"controls",!0),o.prop(n,"controls",!1)})):y.apply(t)}}(r||c)&&t.bind("ready",function(){var n=o.find("video.fp-engine",e)[0];t.conf.splash&&n.paused&&"hlsjs-lite"!==t.engine.engineName&&(a.one(n,"canplay",function(){n.play()}),n.load()),t.bind("progress.dur",function(){if(!t.live&&!t.conf.live){var r=n.duration;1!==r&&(t.video.duration=r,o.find(".fp-duration",e)[0].innerHTML=s(r),t.unbind("progress.dur"))}})})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(t,n,r){"use strict";var i=t("../flowplayer"),o=t("extend-object"),a=t("bean"),s=t("../common"),l=t("./resolve"),u=new l,c=e,f=/^#/;i(function(t,e){function n(){return s.find(p.query,r())}function r(){return f.test(p.query)?void 0:e}function i(){return s.find(p.query+"."+g,r())}function d(){var n=s.find(".fp-playlist",e)[0];if(!n){n=s.createElement("div",{className:"fp-playlist"});var r=s.find(".fp-next,.fp-prev",e);r.length?r[0].parentElement.insertBefore(n,r[0]):s.insertAfter(e,s.find("video",e)[0],n)}n.innerHTML="",t.conf.playlist[0].length&&(t.conf.playlist=t.conf.playlist.map(function(t){if("string"==typeof t){var e=t.split(l.TYPE_RE)[1];
32return{sources:[{type:"m3u8"===e.toLowerCase()?"application/x-mpegurl":"video/"+e,src:t}]}}return{sources:t.map(function(t){var e={};return Object.keys(t).forEach(function(n){e.type=/mpegurl/i.test(n)?"application/x-mpegurl":"video/"+n,e.src=t[n]}),e})}})),t.conf.playlist.forEach(function(e,r){var i=e.sources[0].src;n.appendChild(s.createElement("a",{href:i,className:t.video.index===r?g:void 0,"data-index":r}))})}function h(e){return"undefined"!=typeof e.index?e.index:"undefined"!=typeof t.video.index?t.video.index:t.conf.startIndex||0}var p=o({active:"is-active",advance:!0,query:".fp-playlist a"},t.conf),g=p.active,m=s.find(".fp-ui",e)[0],v=s.hasClass(e,"fp-custom-playlist")||!!p.customPlaylist;s.toggleClass(e,"fp-custom-playlist",v),s.toggleClass(e,"fp-default-playlist",!v),t.play=function(e){if(void 0===e)return t.resume();if("number"==typeof e&&!t.conf.playlist[e])return t;if("number"!=typeof e)return t.load.apply(null,arguments);var n=o({index:e},t.conf.playlist[e]);return t.off("beforeresume.fromfirst"),"number"==typeof e&&e===t.video.index?t.seek(0,function(){t.resume()}):(t.load(n,function(){t.video.index=e}),t)},t.next=function(e){e&&e.preventDefault();var n=t.video.index;return-1!=n&&(n=n===t.conf.playlist.length-1?0:n+1,t.play(n)),t},t.prev=function(e){e&&e.preventDefault();var n=t.video.index;return-1!=n&&(n=0===n?t.conf.playlist.length-1:n-1,t.play(n)),t},t.setPlaylist=function(e,n){return t.conf.playlist=e,n||delete t.video.index,d(),t},t.addPlaylistItem=function(e){return delete t.video.is_last,t.setPlaylist(t.conf.playlist.concat([e]),!0)},t.removePlaylistItem=function(e){var n=t.conf.playlist;return t.setPlaylist(n.slice(0,e).concat(n.slice(e+1)))},a.on(e,"click",".fp-next",t.next),a.on(e,"click",".fp-prev",t.prev),t.off("finish.pl").on("finish.pl",function(t,n){var r="undefined"==typeof n.conf.advance||n.conf.advance;if(r){if(n.video.loop)return n.seek(0,function(){n.resume()});var i=n.video.index>=0?n.video.index+1:void 0;i<n.conf.playlist.length||p.loop?(i=i===n.conf.playlist.length?0:i,s.removeClass(e,"is-finished"),setTimeout(function(){n.play(i)})):n.conf.playlist.length>1&&(n.one("beforeresume.fromfirst",function(t){t.preventDefault(),n.play(0)}),n.one("seek",function(){n.off("beforeresume.fromfirst")}))}});var y=!1;t.conf.playlist.length&&(y=!0,d(),t.conf.clip&&t.conf.clip.sources.length||(t.conf.clip=t.conf.playlist[t.conf.startIndex||
320])),n().length&&!y&&(t.conf.playlist=[],delete t.conf.startIndex,n().forEach(function(e){var n=e.href;e.setAttribute("data-index",t.conf.playlist.length);var r=u.resolve(n,t.conf.clip.sources);c&&o(r,c(e).data()),t.conf.playlist.push(r)})),s.find(".fp-prev,.fp-next,.fp-playlist",e).forEach(function(t){m.appendChild(t)}),a.on(f.test(p.query)?document:e,"click",p.query,function(e){e.preventDefault();var n=e.currentTarget,r=Number(n.getAttribute("data-index"));-1!=r&&t.play(r)}),t.on("load",function(n,o,a){if(t.conf.playlist.length){var l=i()[0],u=l&&l.getAttribute("data-index"),c=a.index=h(a),f=s.find(p.query+'[data-index="'+c+'"]',r())[0],d=c==t.conf.playlist.length-1;l&&s.removeClass(l,g),f&&s.addClass(f,g),s.removeClass(e,"video"+u),s.addClass(e,"video"+c),s.toggleClass(e,"last-video",d),a.index=o.video.index=c,a.is_last=o.video.is_last=d}}).on("unload.pl",function(){t.conf.playlist.length&&(i().forEach(function(t){s.toggleClass(t,g)}),t.conf.playlist.forEach(function(t,n){s.removeClass(e,"video"+n)}),delete t.video.index)}),t.conf.playlist.length&&(t.conf.loop=!1)})},{"../common":1,"../flowplayer":31,"./resolve":21,bean:34,"extend-object":39}],20:[function(t,e,n){var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){function n(){i.find(".fp-qsel-menu",e).forEach(i.removeNode),i.find(".fp-qsel",e).forEach(i.removeNode)}function r(t){l.appendChild(i.createElement("strong",{className:"fp-qsel"},"HD"));var e=i.createElement("div",{className:"fp-menu fp-qsel-menu"},"<strong>Quality</strong>");t.forEach(function(t){var n=document.createElement("a"),r="undefined"!=typeof t.value?t.value:t;n.setAttribute("data-quality",r),n.innerHTML=t.label||t,e.appendChild(n)}),s.appendChild(e)}function a(t){i.find(".fp-qsel-menu a",e).forEach(function(e){i.toggleClass(e,"fp-selected",e.getAttribute("data-quality")==t),i.toggleClass(e,"fp-color",e.getAttribute("data-quality")==t)})}var s=i.find(".fp-ui",e)[0],l=i.find(".fp-controls",s)[0];o.on(e,"click",".fp-qsel",function(){var n=i.find(".fp-qsel-menu",e)[0];i.hasClass(n,"fp-active")?t.hideMenu():t.showMenu(n)}),o.on(e,"click",".fp-qsel-menu a",function(e){var n=e.target.getAttribute("data-quality");t.quality(n)}),t.quality=function(e){e=isNaN(Number(e))?e:Number(e),t.trigger("quality",[t,e])},t.on("quality",function(t,e,n){a(n,e.video.qualities)}),t.on("ready",function(t,e,i){n(),!i.qualities||i.qualities.filter(function(t){return"undefined"==typeof t.value||t.value>-1}).length<2||(r(i.qualities,i.quality),a(i.quality,i.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(t,e,n){"use strict";function r(t){var e=t.attr("src"),n=t.attr("type")||"",r=e.split(o)[1];return n=n.toLowerCase(),a(t.data(),{src:e,suffix:r||n,type:n||r})}function i(t){return/mpegurl/i.test(t)?"application/x-mpegurl":"video/"+t}var o=/\.(\w{3,4})(\?.*)?$/i,a=t("extend-object");e.exports=function(){var t=this;t.sourcesFromVideoTag=function(t,e){var n=[];return e("source",t).each(function(){n.push(r(e(this)))}),!n.length&&t.length&&n.push(r(t)),n},t.resolve=function(t,e){return t?("string"==typeof t&&(t={src:t,sources:[]},t.sources=(e||[]).map(function(e){var n=e.src.split(o)[1];return{type:e.type,src:t.src.replace(o,"."+n+"$2")}})),t instanceof Array&&(t={sources:t.map(function(t){return t.type&&t.src?t:Object.keys(t).reduce(function(e,n){return a(e,{type:i(n),src:t[n]})},{})})}),t):{sources:e}}},e.exports.TYPE_RE=o},{"extend-object":39}],22:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("extend-object"),a=t("bean");r(function(t,e){var n=t.conf;if(n.share===!1)return void i.find(".fp-share",e).forEach(i.removeNode);t.shareUrl=function(e){if(e&&n.embed&&n.embed.iframe)return n.embed.iframe;if("string"==typeof t.conf.share)return t.conf.share;var r=encodeURIComponent(t.video.title||(i.find("title")[0]||{}).innerHTML||"Flowplayer Commercial video"),a=encodeURIComponent(btoa(JSON.stringify(o({},t.conf,t.extensions)).replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).substr(-4)}))),s=encodeURIComponent(window.location.toString()),l=e?"https://flowplayer.com/e/":"https://flowplayer.com/s/";return l+"?t="+r+"&c="+a+"&r="+s};var r=i.createElement("div",{className:"fp-menu fp-share-menu"},"<strong>Share</strong>"),s=i.find(".fp-ui",e)[0];s.appendChild(r);var l=i.find(".fp-share",e)[0];a.on(e,"click",".fp-share",function(e){e.preventDefault(),i.hasClass(r,"fp-active")?t.hideMenu():t.showMenu(r,l)})})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("bean"),a=t("./subtitles/parser");r.defaults.subtitleParser=a,r(function(t,e){var n,a,s,l,u;(!r.support.inlineVideo||!r.support.fullscreen&&t.conf.native_fullscreen)&&(t.conf.nativesubtitles=!0),t.ui||(t.ui={}),t.ui.createSubtitleControl=function(t,n){return u=n,s=s||i.createElement("strong",{className:"fp-cc"},"CC"),l=l||i.createElement("div",{className:"fp-menu fp-subtitle-menu"},"<strong>Closed Captions</strong>"),i.find("a",l).forEach(i.removeNode),l.appendChild(i.createElement("a",{"data-subtitle-index":-1}
32,"No subtitles")),(t||[]).forEach(function(t,e){var n=t.srclang||"en",r=t.label||"Default ("+n+")",o=i.createElement("a",{"data-subtitle-index":e},r);l.appendChild(o)}),i.find(".fp-ui",e)[0].appendChild(l),i.find(".fp-controls",e)[0].appendChild(s),i.toggleClass(s,"fp-hidden",!t||!t.length),s},t.ui.setActiveSubtitleItem=function(t){f(t)},o.on(e,"click",".fp-cc",function(){i.hasClass(l,"fp-active")?t.hideMenu():t.showMenu(l)}),o.on(e,"click",".fp-subtitle-menu [data-subtitle-index]",function(e){e.preventDefault();var n=e.target.getAttribute("data-subtitle-index");return u?u(n):"-1"===n?t.disableSubtitles():void t.loadSubtitles(n)});var c=function(){a=i.find(".fp-captions",e)[0],a=a||i.appendTo(i.createElement("div",{class:"fp-captions"}),i.find(".fp-player",e)[0]),Array.prototype.forEach.call(a.children,i.removeNode),t.ui.createSubtitleControl(t.video.subtitles)};t.on("ready",function(n,r,o){if(r.subtitles=[],c(),i.removeClass(e,"has-menu"),t.disableSubtitles(),o.subtitles&&o.subtitles.length){var a=o.subtitles.filter(function(t){return t.default})[0];a&&r.loadSubtitles(o.subtitles.indexOf(a))}}),t.showSubtitle=function(t){i.html(a,t),i.addClass(a,"fp-shown")},t.hideSubtitle=function(){i.removeClass(a,"fp-shown")},t.bind("cuepoint",function(e,r,i){i.subtitle?(n=i.index,t.showSubtitle(i.subtitle.text)):i.subtitleEnd&&(t.hideSubtitle(),n=i.index)}),t.bind("seek",function(e,r,o){n&&t.cuepoints[n]&&t.cuepoints[n].time>o&&(i.removeClass(a,"fp-shown"),n=null),(t.cuepoints||[]).forEach(function(e,r){var i=e.subtitle;i&&n!=r?o>=e.time&&(!i.endTime||o<=i.endTime)&&t.trigger("cuepoint",[t,e]):e.subtitleEnd&&o>=e.time&&r==n+1&&t.trigger("cuepoint",[t,e])})}),t.on("unload",function(){i.find(".fp-captions",e).forEach(i.removeNode)});var f=function(t){i.toggleClass(i.find("a.fp-selected",l)[0],"fp-selected"),i.toggleClass(i.find('a[data-subtitle-index="'+t+'"]',l)[0],"fp-selected")},d=function(t,n){var r=i.find("video.fp-engine",e)[0].textTracks;r.length&&(null===t?[].forEach.call(r,function(t){t.mode=n}):r[t].mode=n)};t.disableSubtitles=function(){return t.subtitles=[],(t.cuepoints||[]).forEach(function(e){(e.subtitle||e.subtitleEnd)&&t.removeCuepoint(e)}),a&&Array.prototype.forEach.call(a.children,i.removeNode),f(-1),r.support.subtitles&&t.conf.nativesubtitles&&"html5"==t.engine.engineName&&d(null,"disabled"),t},t.loadSubtitles=function(e){t.disableSubtitles();var n=t.video.subtitles[e],o=n.src;return o?(f(e),r.support.subtitles&&t.conf.nativesubtitles&&"html5"==t.engine.engineName?void d(e,"showing"):(i.xhrGet(o,function(e){var n=t.conf.subtitleParser(e);n.forEach(function(e,n){e.title||(e.title="subtitle"+n);var i={time:e.startTime,subtitle:e,visible:!1};t.subtitles.push(e),t.addCuepoint(i),t.addCuepoint({time:e.endTime,subtitleEnd:e.title,visible:!1}),0!==e.startTime||t.video.time||t.splash||t.trigger("cuepoint",[t,r.extend({},i,{index:0})]),t.splash&&t.one("ready",function(){t.trigger("cuepoint",[t,i])})})},function(){return t.trigger("error",{code:8,url:o}),!1}),t)):void 0}})},{"../common":1,"../flowplayer":31,"./subtitles/parser":24,bean:34}],24:[function(t,e,n){e.exports=function(t){function e(t){var e=t.split(":");return 2==e.length&&e.unshift(0),60*e[0]*60+60*e[1]+parseFloat(e[2].replace(",","."))}for(var n,r,i,o=/^(([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,a=[],s=0,l=t.split("\n"),u=l.length,c={};u>s;s++)if(r=o.exec(l[s])){for(n=l[s-1],i="<p>"+l[++s]+"</p><br/>";"string"==typeof l[++s]&&l[s].trim()&&s<l.length;)i+="<p>"+l[s]+"</p><br/>";c={title:n,startTime:e(r[1]),endTime:e(r[3]),text:i},a.push(c)}return a}},{}],25:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("extend-object");!function(){var t=function(t){var e=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(t);return e&&e.length>1?parseFloat(e[e.length-1].replace("_","."),10):0},e=function(){var t=document.createElement("video");return t.loop=!0,t.autoplay=!0,t.preload=!0,t},n={},o=document.documentElement.style,a=navigator.userAgent.toLowerCase(),s=/(chrome)[ \/]([\w.]+)/.exec(a)||/(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];s[1]&&(n[s[1]]=!0,n.version=s[2]||"0"),n.safari&&(n.version=(/version\/([\w.]+)/.exec(a)||[])[1]);var l=e(),u=navigator.userAgent,c=n.msie||/Trident\/7/.test(u),f=/iPad|MeeGo/.test(u)&&!/CriOS/.test(u),d=/iPad/.test(u)&&/CriOS/.test(u),h=/iP(hone|od)/i.test(u)&&!/iPad/.test(u)&&!/IEMobile/i.test(u),p=/Android/.test(u),g=p&&/Firefox/.test(u),m=p&&/SAMSUNG/.test(u),v=/Silk/.test(u),y=/IEMobile/.test(u),b=y?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(u)[1],10):0,w=y?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(u)[1],10):0,E=f||h?t(u):0,T=p?parseFloat(/Android\ (\d+(\.\d+)?)/.exec(u)[1],10):0,S=(h||f||d)&&{iPhone:h,iPad:f||d,version:E,chrome:d}
32,_=i(r.support,{browser:n,iOS:S,android:!!p&&{firefox:g,opera:/Opera/.test(u),samsung:m,version:T},subtitles:!!l.addTextTrack,fullscreen:"boolean"==typeof document.webkitFullscreenEnabled?document.webkitFullscreenEnabled:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(u)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(c&&n.version<8),touch:"ontouchstart"in window,dataload:!f&&!h&&!y,flex:"flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!c&&!p,volume:!(f||h||v||d),cachedVideoTag:!(f||h||d||y),firstframe:!(v||y||g||m||E&&10>E||p&&4.4>T),inlineVideo:(!h||E>=10)&&(!y||b>=8.1&&w>=11)&&(!p||T>=3),hlsDuration:!p&&(!n.safari||f||h||d),seekable:!f&&!d,preloadMetadata:!S&&!n.safari});_.autoplay=_.firstframe,y&&(_.browser.safari=!1);try{var A=navigator.plugins["Shockwave Flash"],I=c?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):A.description;c||A[0].enabledPlugin?(I=I.split(/\D+/),I.length&&!I[0]&&(I=I.slice(1)),_.flashVideo=I[0]>9||9==I[0]&&I[3]>=115):_.flashVideo=!1}catch(t){}try{_.video=!!l.canPlayType,_.video&&l.canPlayType("video/mp4")}catch(t){_.video=!1}_.animation=function(){for(var t=["","Webkit","Moz","O","ms","Khtml"],e=document.createElement("p"),n=0;n<t.length;n++)if("undefined"!=typeof e.style[t[n]+"AnimationName"])return!0}()}()},{"../flowplayer":31,"extend-object":39}],26:[function(t,e,n){"use strict";var r=t("../flowplayer"),i=t("../common"),o=t("bean");r(function(t,e){var n=t.conf;if(n.share!==!1&&n.twitter!==!1){t.tweet=function(){var e,r,i=550,o=420,a=screen.height,s=screen.width,l="scrollbars=yes,resizable=yes,toolbar=no,location=yes",u="string"==typeof n.twitter?n.twitter:t.shareUrl();e=Math.round(s/2-i/2),r=0,a>o&&(r=Math.round(a/2-o/2)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(u),"intent",l+",width="+i+",height="+o+",left="+e+",top="+r)};var r=i.find(".fp-share-menu",e)[0],a=i.createElement("a",{class:"fp-icon fp-twitter"},"Twitter");i.append(r,a),o.on(e,"click",".fp-twitter",function(){t.tweet()})}})},{"../common":1,"../flowplayer":31,bean:34}],27:[function(t,e,n){(function(n){"use strict";function r(t){return t=parseInt(t,10),t>=10?t:"0"+t}function i(t,e){t=Math.max(t||0,0),t=e?Math.ceil(t):Math.floor(t);var n=Math.floor(t/3600),i=Math.floor(t/60);return t-=60*i,n>=1?(i-=60*n,n+":"+r(i)+":"+r(t)):r(i)+":"+r(t)}var o=t("../flowplayer"),a=t("../common"),s=t("bean"),l=t("./ui/slider"),u=t("./ui/bar-slider"),c=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDk5Ljg0NCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz4KPHRpdGxlPnBsYXktcm91bmRlZC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNNDEuMDM1OSw3MS4xOWE1LjA0OTIsNS4wNDkyLDAsMCwxLTIuNTU3NS0uNjY3M2MtMS44MDMxLTEuMDQxLTIuNzk1OC0zLjEyNDgtMi43OTU4LTUuODY2NFYzNS4xODg3YzAtMi43NDI5Ljk5MzMtNC44MjcyLDIuNzk3LTUuODY3NiwxLjgwMjUtMS4wNDIyLDQuMTAzNC0uODYsNi40OC41MTQzTDcwLjQ3ODIsNDQuNTY3MmMyLjM3NTEsMS4zNzExLDMuNjgyNiwzLjI3MjUsMy42ODMyLDUuMzU0NXMtMS4zMDc2LDMuOTg0NS0zLjY4MzIsNS4zNTYyTDQ0Ljk1OTIsNzAuMDExNEE3LjkzODQsNy45Mzg0LDAsMCwxLDQxLjAzNTksNzEuMTlabS4wMDY1LTQwLjEyM2EyLjY3OTQsMi42Nzk0LDAsMCwwLTEuMzU4Mi4zNDEzYy0xLjAyNjMuNTkyNi0xLjU5MTIsMS45MzQ5LTEuNTkxMiwzLjc4VjY0LjY1NjNjMCwxLjg0NDkuNTY0OSwzLjE4NjYsMS41OTA2LDMuNzc5MSwxLjAyODEuNTkzMiwyLjQ3MzMuNDEwOCw0LjA3LS41MTJMNjkuMjczLDUzLjE5MDZjMS41OTgzLS45MjI3LDIuNDc4LTIuMDgzOCwyLjQ3OC0zLjI2ODlzLS44OC0yLjM0NDUtMi40NzgtMy4yNjY2TDQzLjc1NCwzMS45MjI3QTUuNTY4NSw1LjU2ODUsMCwwLDAsNDEuMDQyMywzMS4wNjcxWiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),f=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLWZpbGwiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiPgogIDxkZWZzPjxzdHlsZT4uYXtmaWxsOiMwMDA7b3BhY2l0eTowLjY1O30uYntmaWxsOiNmZmY7b3BhY2l0eToxLjA7fTwvc3R5bGU+CiAgPC9kZWZzPjx0aXRsZT5wbGF5LXJvdW5kZWQtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cGF0aCBjbGFzcz0iYiIgZD0iTTM1Ljk0MiwzNS4yMzIzYzAtNC43Mjg5LDMuMzUwNi02LjY2MzcsNy40NDYtNC4yOTcxTDY4LjgzLDQ1LjYyMzVjNC4wOTU2LDIuMzY0LDQuMDk1Niw2LjIzMTksMCw4LjU5NzdMNDMuMzg4LDY4LjkxYy00LjA5NTQsMi4zNjQtNy40NDYuNDMtNy40NDYtNC4yOTc5WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPgogIDwvc3ZnPgogIAo=","base64"),d=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5jb250cm9sYnV0dG9ue2ZpbGw6I2ZmZjt9PC9zdHlsZT4KICA8L2RlZnM+CiAgPHRpdGxlPnBsYXktc2hhcnAtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cG9seWdvbiBjbGFzcz0iY29udHJvbGJ1dHRvbiIgcG9pbnRzPSI3My42MDEgNTAgMzcuOTY4IDcwLjU3MyAzNy45NjggMjkuNDI3IDczLjYwMSA1MCIgZmlsdGVyPSJ1cmwoI2YxKSIvPgo8L3N2Zz4K","base64"),h=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDQgOTkuODQzNCI+PGRlZnM+PHN0eWxlPi5jb250cm9sYnV0dG9uYmd7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGxheS1zaGFycC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNMzYuOTQ0Myw3Mi4yNDczVjI3LjI5MTZMNzUuODc3Niw0OS43N1ptMi4yLTQxLjE0NTVWNjguNDM3MUw3MS4
320Nzc2LDQ5Ljc3WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),p=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDM0IDk5Ljg0MzQiPjxkZWZzPjxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5yZWN0e2ZpbGw6I2ZmZjt9PC9zdHlsZT4KPC9kZWZzPjx0aXRsZT5wYXVzZS1yb3VuZGVkLW91dGxpbmU8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxMi0uMDc4M2E1MCw1MCwwLDEsMCw1MC4wMDA2LDUwQTUwLjA1NjIsNTAuMDU2MiwwLDAsMCw0OS45MjEyLS4wNzgzWiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIj48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTM5LjAwMzYsNzEuOTcyNmE3LjU2NSw3LjU2NSwwLDAsMS03LjU1Ny03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NDgsNy41NjQ4LDAsMCwxLDM5LjAwMzYsNzEuOTcyNlptMC00MS45MDRhNS4zNjQ3LDUuMzY0NywwLDAsMC01LjM1OTMsNS4zNTgydjI4Ljk5YTUuMzU4Nyw1LjM1ODcsMCwwLDAsMTAuNzE3NCwwdi0yOC45OUE1LjM2NDUsNS4zNjQ1LDAsMCwwLDM5LjAwMzYsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTYwLjg0LDcxLjk3MjZhNy41NjQ4LDcuNTY0OCwwLDAsMS03LjU1Ni03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NSw3LjU2NSwwLDAsMSw2MC44NCw3MS45NzI2Wm0wLTQxLjkwNGE1LjM2NDUsNS4zNjQ1LDAsMCwwLTUuMzU4Miw1LjM1ODJ2MjguOTlhNS4zNTg3LDUuMzU4NywwLDAsMCwxMC43MTc0LDB2LTI4Ljk5QTUuMzY0Nyw1LjM2NDcsMCwwLDAsNjAuODQsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48L2c+PC9zdmc+Cg==","base64"),g=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utcm91bmRlZC1maWxsPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIiBmaWx0ZXI9InVybCgjZjEpIj48cmVjdCBjbGFzcz0icmVjdCIgeD0iMzEuODQ0IiB5PSIyOC4xMjMxIiB3aWR0aD0iMTMuNDM2MiIgaGVpZ2h0PSI0My41OTczIiByeD0iNi43MTgxIiByeT0iNi43MTgxIi8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjU2MzgiIHk9IjI4LjEyMzEiIHdpZHRoPSIxMy40MzYyIiBoZWlnaHQ9IjQzLjU5NzMiIHJ4PSI2LjcxODEiIHJ5PSI2LjcxODEiLz48L2c+PC9zdmc+Cg==","base64"),m=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtZmlsbCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PGRlZnM+PHN0eWxlPi5mcC1jb2xvci1wbGF5e29wYWNpdHk6MC42NTt9LnJlY3R7ZmlsbDojZmZmO308L3N0eWxlPgo8L2RlZnM+PHRpdGxlPnBhdXNlLXNoYXJwLWZpbGw8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxNy0uMDc4YTUwLDUwLDAsMSwwLDUwLDUwQTUwLjA1NjQsNTAuMDU2NCwwLDAsMCw0OS45MjE3LS4wNzhaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxyZWN0IGNsYXNzPSJyZWN0IiB4PSIzMy41IiB5PSIzMC4xMDQyIiB3aWR0aD0iMTIuMjYzNCIgaGVpZ2h0PSIzOS43OTE3Ii8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjIzNjYiIHk9IjMwLjEwNDIiIHdpZHRoPSIxMi4yNjM0IiBoZWlnaHQ9IjM5Ljc5MTciLz48L2c+PC9zdmc+Cg==","base64"),v=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtb3V0bGluZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgOTkuODQzNCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utc2hhcnAtb3V0bGluZTwvdGl0bGU+PHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjEyLS4wNzgzYTUwLDUwLDAsMSwwLDUwLjAwMDYsNTBBNTAuMDU2Miw1MC4wNTYyLDAsMCwwLDQ5LjkyMTItLjA3ODNaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxwYXRoIGNsYXNzPSJyZWN0IiBkPSJNNDYuODcwOSw2OS45NTMxSDMzLjEzODVWMjkuODlINDYuODcwOVpNMzUuMTQxNiw2Ny45NWg5LjcyNjJWMzEuODkzNUgzNS4xNDE2WiIvPjxwYXRoIGNsYXNzPSJyZWN0IiBkPSJNNjYuNzA0Nyw2OS45NTMxSDUyLjk3MjJWMjkuODlINjYuNzA0N1pNNTQuOTc1NCw2Ny45NWg5LjcyNjJWMzEuODkzNUg1NC45NzU0WiIvPjwvZz48L3N2Zz4K","base64"),y=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1yb3VuZGVkLW91dGxpbmUiIHdpZHRoPScxMTJweCcgaGVpZ2h0PScxMTJweCcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijc2IiBoZWlnaHQ9Ijc2IiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjUpIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuMHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4wcyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCAyNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZSIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjRzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iMTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDUwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC41KSIgc3Ryb2tlLXdpZHRoPSIzJSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgNTApIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgo8L3N2Zz4K","base64"),b=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1yb3VuZGVkLWZpbGwiIHdpZHRoPScxMTJweCcgaGVpZ2h0PScxMTJweCcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijc2IiBoZWlnaHQ9Ijc2IiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjUpIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2x
32hc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC4wcyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjBzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iMTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDI1KSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuNHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC40cyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCA1MCkiIGZpbGw9InJnYmEoMCwwLDAsLjUpIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgNTApIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMS4ycyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIxLjJzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+Cjwvc3ZnPgo=","base64"),w=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1zaGFycC1maWxsIiB3aWR0aD0nMTEycHgnIGhlaWdodD0nMTEycHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iNzYiIGhlaWdodD0iNzYiIGZpbGw9InJnYmEoMCwwLDAsMCkiIGNsYXNzPSJiayI+PC9yZWN0PgogIDxyZWN0IHg9Ii0xMCIgeT0iLTEwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1IDI1KSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjBzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjBzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KICA8cmVjdCB4PSItMTAiIHk9Ii0xMCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCAyNSkiIGZpbGw9InJnYmEoMCwwLDAsLjUpIiBjbGFzcz0ic3EiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC40cyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+CiAgPHJlY3QgeD0iLTEwIiB5PSItMTAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAg
32NTApIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuOHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgPC9yZWN0PgogIDxyZWN0IHg9Ii0xMCIgeT0iLTEwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1IDUwKSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIxLjJzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIxLjJzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KPC9zdmc+Cg==","base64"),E=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1zaGFycC1vdXRsaW5lIiB3aWR0aD0nMTEycHgnIGhlaWdodD0nMTEycHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iNzYiIGhlaWdodD0iNzYiIGZpbGw9InJnYmEoMCwwLDAsMCkiIGNsYXNzPSJiayI+PC9yZWN0PgogIDxyZWN0IHg9Ii05IiB5PSItOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSAyNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuMHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4wcyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+CiAgPHJlY3QgeD0iLTkiIHk9Ii05IiB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDI1KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC41KSIgc3Ryb2tlLXdpZHRoPSIzJSIgY2xhc3M9InNxIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZSIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjRzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KICA8cmVjdCB4PSItOSIgeT0iLTkiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAgNTApIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgPC9yZWN0PgogIDxyZWN0IHg9Ii05IiB5PSItOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSA1MCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+Cjwvc3ZnPgo=","base64"); 33o(function(t,e){function r(t){return a.find(".fp-"+t,e)[0]}function T(t){a.css(O,"padding-top",100*t+"%"),C.inlineBlock||a.height(a.find("object",e)[0],a.height(e))}function S(t){t?(a.addClass(e,"is-mouseover"),a.removeClass(e,"is-mouseout")):(a.addClass(e,"is-mouseout"),a.removeClass(e,"is-mouseover"))}a.find(".fp-filters").forEach(a.removeNode);try{var _;document.body.appendChild(_=a.createElement("div",{},n("PHN2ZyBjbGFzcz0iZnAtZmlsdGVycyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMCAwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImYxIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMjAwJSIgaGVpZ2h0PSIyMDAlIj4KICAgICAgPGZlT2Zmc2V0IHJlc3VsdD0ib2ZmT3V0IiBpbj0iU291cmNlQWxwaGEiIGR4PSIwIiBkeT0iMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXggcmVzdWx0PSJtYXRyaXhPdXQiIGluPSJvZmZPdXQiIHR5cGU9Im1hdHJpeCIKICAgICAgdmFsdWVzPSIwLjMgMCAwIDAgMCAwIDAuMyAwIDAgMCAwIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),a.css(_,{width:0,height:0,overflow:"hidden",position:"absolute",margin:0,padding:0})}catch(t){}var A,I=t.conf,C=o.support;a.find(".fp-ratio,.fp-ui",e).forEach(a.removeNode),a.addClass(e,"flowplayer"),e.appendChild(a.createElement("div",{className:"fp-ratio"}));var x=a.createElement("div",{className:"fp-ui"},' <div class="fp-waiting"> {{ LOADING_SHARP_OUTLINE }} {{ LOADING_SHARP_FILL }} {{ LOADING_ROUNDED_FILL }} {{ LOADING_ROUNDED_OUTLINE }} </div> <div class="fp-header"> <a class="fp-share fp-icon"></a> <a class="fp-fullscreen fp-icon"></a> <a class="fp-unload fp-icon"></a> </div> <p class="fp-speed-flash"></p> <div class="fp-play fp-visible"> <a class="fp-icon fp-playbtn"></a> {{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }} </div> <div class="fp-pause"> <a class="fp-icon fp-playbtn"></a> {{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }} </div> <div class="fp-controls"> <a class="fp-icon fp-playbtn"></a>
33 <span class="fp-elapsed">00:00</span> <div class="fp-timeline fp-bar"> <span class="fp-timestamp"></span> <div class="fp-progress fp-color"></div> </div> <span class="fp-duration"></span> <span class="fp-remaining"></span> <div class="fp-volume"> <a class="fp-icon fp-volumebtn"></a> <div class="fp-volumebar fp-bar-slider"> <em></em><em></em><em></em><em></em><em></em><em></em><em></em> </div> </div> <strong class="fp-speed fp-hidden"></strong> </div>'.replace("{{ PAUSE_ROUNDED_FILL }}",g).replace("{{ PAUSE_ROUNDED_OUTLINE }}",p).replace("{{ PAUSE_SHARP_FILL }}",m).replace("{{ PAUSE_SHARP_OUTLINE }}",v).replace("{{ PLAY_SHARP_OUTLINE }}",h).replace("{{ PLAY_SHARP_FILL }}",d).replace("{{ PLAY_ROUNDED_OUTLINE }}",c).replace("{{ PLAY_ROUNDED_FILL }}",f).replace("{{ LOADING_ROUNDED_OUTLINE }}",y).replace("{{ LOADING_ROUNDED_FILL }}",b).replace("{{ LOADING_SHARP_FILL }}",w).replace("{{ LOADING_SHARP_OUTLINE }}",E).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#"));e.appendChild(x);var D=r("waiting"),L=r("elapsed"),O=r("ratio"),R=r("speed-flash"),k=r("duration"),N=r("remaining"),M=r("timestamp"),P=a.css(O,"padding-top"),j=r("play"),F=r("pause"),U=r("timeline"),B=l(U,t.rtl),G=r("fullscreen"),W=r("volumebar"),z=u(W,{rtl:t.rtl}),H=a.hasClass(e,"no-toggle");B.disableAnimation(a.hasClass(e,"is-touch")),t.sliders=t.sliders||{},t.sliders.timeline=B,t.sliders.volume=z;var Y=[];C.svg||a.html(D,"<p>loading …</p>"),I.ratio&&T(I.ratio);try{I.fullscreen||a.removeNode(G)}catch(t){a.removeNode(G)}t.on("dvrwindow",function(){B.disable(!1)}),t.on("ready",function(t,n,r){var o=n.video.duration;B.disable(n.disabled||!o),I.adaptiveRatio&&!isNaN(r.height/r.width)&&T(r.height/r.width,!0),a.html([k,N],n.live?"Live":i(o)),a.toggleClass(e,"is-long",o>=3600),z.slide(n.volumeLevel),"flash"===n.engine.engineName?B.disableAnimation(!0,!0):B.disableAnimation(!1),a.find(".fp-title",x).forEach(a.removeNode),r.title&&a.prepend(x,a.createElement("div",{className:"fp-message fp-title"},r.title)),a.toggleClass(e,"has-title",!!r.title)}).on("unload",function(){P||I.splash||a.css(O,"paddingTop",""),B.slide(0),a.addClass(j,"fp-visible")}).on("buffer",function(t,e,n){var r=e.video,i=r.buffer/r.duration;!r.seekable&&C.seekable&&B.max(e.conf.live?1/0:i),n&&"number"!=typeof n||(n=[{start:0,end:r.buffer}]);var o=a.find(".fp-buffer",U);
33o.length!==n.length&&(o.forEach(a.removeNode),o=[]),n.forEach(function(t,e){var n=o[e]||a.createElement("div",{className:"fp-buffer"});a.css(n,{left:100*t.start/r.duration+"%",width:100*(t.end-t.start)/r.duration+"%"}),a.prepend(U,n)})}).on("speed",function(t,e,n){e.video.time&&(a.text(R,n+"x"),a.addClass(R,"fp-shown"),Y=Y.filter(function(t){return clearTimeout(t),!1}),Y.push(setTimeout(function(){a.addClass(R,"fp-hilite"),Y.push(setTimeout(function(){a.removeClass(R,"fp-hilite"),Y.push(setTimeout(function(){a.removeClass(R,"fp-shown")},300))},1e3))})))}).on("buffered",function(){B.max(1)}).on("progress seek",function(n,r,o){var s=t.video.duration,l=t.video.seekOffset||0;o=o||t.video.time;var u=(o-l)/(s-l);B.dragging||B.slide(u,t.seeking?0:250),a.toggleClass(e,"is-live-position",s-o<I.livePositionOffset),a.html(L,i(o)),a.html(N,i(s-o,!0))}).on("finish resume seek",function(t){a.toggleClass(e,"is-finished","finish"==t.type)}).on("resume",function(){a.addClass(j,"fp-visible"),setTimeout(function(){a.removeClass(j,"fp-visible")},300)}).on("pause",function(){a.addClass(F,"fp-visible"),setTimeout(function(){a.removeClass(F,"fp-visible")},300)}).on("stop",function(){a.html(L,i(0)),B.slide(0,100)}).on("finish",function(){a.html(L,i(t.video.duration)),B.slide(1,100),a.removeClass(e,"is-seeking")}).on("beforeseek",function(){}).on("volume",function(){z.slide(t.volumeLevel)}).on("disable",function(){var n=t.disabled;B.disable(n),z.disable(n),a.toggleClass(e,"is-disabled",t.disabled)}).on("mute",function(t,n,r){a.toggleClass(e,"is-muted",r)}).on("error",function(t,n,r){if(a.removeClass(e,"is-loading"),a.removeClass(e,"is-seeking"),a.addClass(e,"is-error"),r){n.error=!0;var i=r.code;(r.message||"").match(/DECODER_ERROR_NOT_SUPPORTED/)&&(i=3);var o=n.message((n.engine&&n.engine.engineName||"html5")+": "+I.errors[i]);a.removeClass(e,"is-mouseover"),n.one("load progress",function(){o()})}}).one("resume ready",function(){var t=a.find("video.fp-engine",e)[0];if(t&&(!a.width(t)||!a.height(t))){var n=e.style.overflow;e.style.overflow="visible",setTimeout(function(){n?e.style.overflow=n:e.style.removeProperty("overflow")})}}),s.on(e,"mouseenter mouseleave",function(n){if(!H){var r,i="mouseover"==n.type;if(S(i),i){var o=function(){S(!0),r=new Date};t.on("pause.x volume.x",o),s.on(e,"mousemove.x",o),A=setInterval(function(){new Date-r>I.mouseoutTimeout&&(S(!1),r=new Date)},100)}else s.off(e,"mousemove.x"),t.off("pause.x volume.x"),clearInterval(A)}}),s.on(e,"mouseleave",function(){(B.dragging||z.dragging)&&(a.addClass(e,"is-mouseover"),a.removeClass(e,"is-mouseout"))}),s.on(e,"click.player",function(e){return t.disabled?void 0:a.hasClass(e.target,"fp-ui")||a.hasClass(e.target,"fp-engine")||e.flash||a.hasParent(e.target,".fp-play,.fp-pause")?(e.preventDefault&&e.preventDefault(),t.toggle()):void 0}),s.on(e,"mousemove",".fp-timeline",function(e){var n=e.pageX||e.clientX,r=n-a.offset(U).left,o=r/a.width(U),s=t.video,l=s.duration-(void 0===s.seekOffset?0:s.seekOffset),u=(t.rtl?1-o:o)*l;if(!(0>o)){a.html(M,i(u));var c=r-a.width(M)/2;0>c&&(c=0),c>a.width(U)-a.width(M)&&(c=!1),c!==!1?a.css(M,{left:c+"px",right:"auto"}):a.css(M,{left:"auto",right:"0px"})}}),s.on(e,"contextmenu",function(n){var r=window;if(!a.hasClass(e,"is-flash-disabled")){var i=a.find(".fp-context-menu",e)[0];i&&(n.preventDefault(),t.showMenu(i,{left:n.clientX-r.scrollX,top:n.clientY-r.scrollY}),s.on(e,"click",".fp-context-menu",function(t){t.stopPropagation()}))}}),t.on("flashdisabled",function(n,r,i){a.addClass(e,"is-flash-disabled");var o;i!==!1&&(o=t.message("Seems something is blocking Adobe Flash from running")),t.one("ready progress",function(){a.removeClass(e,"is-flash-disabled"),o&&o()})}),I.poster&&a.css(e,"background-image","url("+I.poster+")");var Z=a.css(e,"background-color"),V="none"!=a.css(e,"background-image")||Z&&"rgba(0, 0, 0, 0)"!=Z&&"transparent"!=Z;if(V&&!I.splash){I.poster||(I.poster=!0);var J=function(){a.addClass(e,"is-poster"),a.addClass(j,"fp-visible"),t.poster=!0,t.on("resume.poster progress.poster beforeseek.poster",function(n){("beforeseek"===n.type||t.playing)&&(a.removeClass(e,"is-poster"),a.removeClass(j,"fp-visible"),t.poster=!1,t.off(".poster"))})};t.on("stop",function(){J()}),t.on("ready",function(t,e,n){n.index||n.autoplay||J()})}"string"==typeof I.splash&&a.css(e,"background-image","url('"+I.splash+"')"),!V&&t.forcedSplash&&a.css(e,"background-color","#555"),s.on(e,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){t.disabled||t.toggle(
33)}),s.on(e,"click",".fp-volumebtn",function(){t.mute()}),s.on(e,"click",".fp-fullscreen",function(){t.fullscreen()}),s.on(e,"click",".fp-unload",function(){t.unload()}),s.on(U,"slide",function(e){t.seeking=!0,t.seekTo(10*e)}),s.on(W,"slide",function(e){t.volume(e)}),s.on(e,"click",".fp-duration,.fp-remaining",function(){return t.dvr?t.seekTo(10):void a.toggleClass(e,"is-inverted")}),S(H);var X;if(t.on("shutdown",function(){s.off(U),s.off(W),X&&window.cancelAnimationFrame(X),a.removeNode(x),a.find(".fp-ratio",e).forEach(a.removeNode)}),"function"==typeof window.requestAnimationFrame){var K=a.find(".fp-player",e)[0]||e,q=function(){a.toggleClass(e,"is-tiny",K.clientWidth<400),a.toggleClass(e,"is-small",K.clientWidth<600&&K.clientWidth>=400),X=window.requestAnimationFrame(q)};X=window.requestAnimationFrame(q)}}),e.exports.format=i}).call(this,t("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(t,e,n){function r(t,e){function n(e){var n=e.pageX||e.clientX,r=o.offset(t),i=o.width(t);!n&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(n=e.originalEvent.touches[0].pageX);var a=n-r.left;a=Math.max(0,Math.min(i,a));var s=a/i;return l&&(s=1-s),s}e=e||{};var r=e.activeClass||"fp-color",a=e.inactiveClass||"fp-grey",s=e.childSelector||"em",l=!!e.rtl,u=!1,c=o.find(s,t).length,f={unload:function(){i.off(t,".barslider")},slide:function(e,n){o.find(s,t).forEach(function(t,n){var i=e>n/c;o.toggleClass(t,r,i),o.toggleClass(t,a,!i)}),n&&i.fire(t,"slide",[e])},disable:function(t){u=t}};return i.on(t,"mousedown.sld touchstart.sld",function(e){e.preventDefault(),u||(f.slide(n(e),!0),i.on(t,"mousemove.sld touchmove.sld",function(t){t.preventDefault(),f.slide(n(t),!0)}),i.one(document,"mouseup.sld touchup.sld",function(){i.off(t,"mousemove.sld touchmove.sld")}))}),f}var i=t("bean"),o=t("../../common");e.exports=r},{"../../common":1,bean:34}],29:[function(t,e,n){"use strict";var r=t("bean"),i=t("../../common"),o=function(t,e){var n;return function(){n||(t.apply(this,arguments),n=1,setTimeout(function(){n=0},e))}},a=function(t,e){var n,a,s,l,u,c,f,d,h=i.lastChild(t),p=!1,g=function(){a=i.offset(t),s=i.width(t),l=i.height(t),c=u?l:s,d=b(f)},m=function(e){n||e==w.value||f&&!(f>e)||(r.fire(t,"slide",[e]),w.value=e)},v=function(t){var n=t.pageX||t.clientX;!n&&t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches.length&&(n=t.originalEvent.touches[0].pageX);var r=u?t.pageY-a.top:n-a.left;r=Math.max(0,Math.min(d||c,r));var i=r/c;return u&&(i=1-i),e&&(i=1-i),y(i,0,!0)},y=function(t,e){void 0===e&&(e=0),t>1&&(t=1);var n=Math.round(1e3*t)/10+"%";return(!f||f>=t)&&(p?i.removeClass(h,"animated"):(i.addClass(h,"animated"),i.css(h,"transition-duration",(e||0)+"ms")),i.css(h,"width",n)),t},b=function(t){return Math.max(0,Math.min(c,u?(1-t)*l:t*s))},w={max:function(t){f=t},disable:function(t){n=t},slide:function(t,e,n){g(),n&&m(t),y(t,e)},disableAnimation:function(e,n){p=e!==!1,i.toggleClass(t,"no-animation",!!n)}};return g(),r.on(t,"mousedown.sld touchstart",function(e){if(e.preventDefault(),!n){var a=o(m,100);g(),w.dragging=!0,i.addClass(t,"is-dragging"),m(v(e)),r.on(document,"mousemove.sld touchmove.sld",function(t){t.preventDefault(),a(v(t))}),r.one(document,"mouseup touchend",function(){w.dragging=!1,i.removeClass(t,"is-dragging"),r.off(document,"mousemove.sld touchmove.sld")})}}),w};e.exports=a},{"../../common":1,bean:34}],30:[function(t,e,n){function r(t){var e=document.createElement("textarea");e.value=t,e.style.opacity=0,e.style.position="absolute",document.body.appendChild(e),e.select();var n=document.execCommand("copy");if(document.body.removeChild(e),!n)throw new Error("Unsuccessfull")}e.exports=function(t,e,n){try{r(t),e()}catch(t){n(t)}}},{}],31:[function(t,n,r){"use strict";function i(t,e,n){e&&e.embed&&(e.embed=o({},y.defaults.embed,e.embed));var r=!1;try{"undefined"==typeof y.conf.storage&&"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",r=!0)}catch(t){}var i,l,u=t,p=o({},y.defaults,y.conf,e),g={}
33,m=u.className,v=new w;c.addClass(u,"is-loading"),c.toggleClass(u,"no-flex",!y.support.flex),c.toggleClass(u,"no-svg",!y.support.svg);try{g=y.conf.storage||(r?window.localStorage:g)}catch(t){}if(p.volume="true"===g.muted?0:p.volume!==y.defaults.volume?p.volume:isNaN(g.volume)?p.volume:g.volume,p.debug=!!g.flowplayerDebug||p.debug,p.aspectRatio&&"string"==typeof p.aspectRatio){var E=p.aspectRatio.split(/[:\/]/);p.ratio=E[1]/E[0]}var T=u.currentStyle&&"rtl"===u.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(u,null)&&"rtl"===window.getComputedStyle(u,null).getPropertyValue("direction");T&&c.addClass(u,"is-rtl");var S={conf:p,currentSpeed:1,volumeLevel:p.muted?0:"undefined"==typeof p.volume?1*g.volume:p.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==g.muted||p.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:T,hijack:function(t){try{S.engine.suspendEngine()}catch(t){}S.hijacked=t},release:function(){try{S.engine.resumeEngine()}catch(t){}S.hijacked=!1},debug:function(){p.debug&&console.log.apply(console,["DEBUG"].concat([].slice.call(arguments)))},load:function(t,e){if(!S.error&&!S.loading){S.video={},S.finished=!1,t=t||p.clip,t=o({}
33,v.resolve(t,p.clip.sources)),(S.playing||S.engine)&&(t.autoplay=!0);var n=_(t);if(!n)return setTimeout(function(){S.trigger("error",[S,{code:y.support.flashVideo?5:10}])})&&S;if(!n.engineName)throw new Error("engineName property of factory should be exposed");if(S.engine&&n.engineName===S.engine.engineName||(S.ready=!1,S.engine&&(S.engine.unload(),S.conf.autoplay=!0),l=S.engine=n(S,u),S.one("ready",function(){setTimeout(function(){S.muted?S.mute(!0,!0):l.volume(S.volumeLevel)})})),o(t,l.pick(t.sources.filter(function(t){return!t.engine||t.engine===l.engineName}))),t.src){var r=S.trigger("load",[S,t,l],!0);r.defaultPrevented?S.loading=!1:(S.ready=!1,l.load(t),a(t)&&(e=t),e&&S.one("ready",e))}return S}},pause:function(t){return S.hijacked?S.hijacked.pause(t)|S:(!S.ready||S.seeking||S.loading||(l.pause(),S.one("pause",t)),S)},resume:function(){var t=S.trigger("beforeresume",[S],!0);if(!t.defaultPrevented)return S.hijacked?S.hijacked.resume()|S:(S.ready&&S.paused&&(l.resume(),S.finished&&(S.trigger("resume",[S]),S.finished=!1)),S)},toggle:function(){return S.ready?S.paused?S.resume():S.pause():S.load()},seek:function(t,e){if("boolean"==typeof t){var n=S.conf.seekStep||.1*S.video.duration;t=S.video.time+(t?n:-n),t=Math.min(Math.max(t,0),S.video.duration-.1)}if("undefined"==typeof t)return S;if(S.hijacked)return S.hijacked.seek(t,e)|S;if(S.ready){i=t;var r=S.trigger("beforeseek",[S,t],!0);r.defaultPrevented?(S.seeking=!1,c.toggleClass(u,"is-seeking",S.seeking)):(l.seek(t),a(e)&&S.one("seek",e))}return S},seekTo:function(t,e){return void 0===t?S.seek(i,e):void 0!==S.video.seekOffset?S.seek(S.video.seekOffset+.1*(S.video.duration-S.video.seekOffset)*t,e):S.seek(.1*S.video.duration*t,e)},mute:function(t,e){return void 0===t&&(t=!S.muted),S.muted=t,e||(g.muted=t,g.volume=isNaN(g.volume)?p.volume:g.volume),"undefined"!=typeof l.mute?l.mute(t):(S.volume(t?0:g.volume,!0),S.trigger("mute",[S,t])),S},volume:function(t,e){return S.ready&&(t=Math.min(Math.max(t,0),1),e||(g.volume=t),l.volume(t)),S},speed:function(t,e){return S.ready&&("boolean"==typeof t&&(t=p.speeds[p.speeds.indexOf(S.currentSpeed)+(t?1:-1)]||S.currentSpeed),l.speed(t),e&&u.one("speed",e)),S},stop:function(){return S.ready&&(S.pause(),!S.live||S.dvr?S.seek(0,function(){S.trigger("stop",[S])}):S.trigger("stop",[S])),S},unload:function(){return p.splash?(S.trigger("unload",[S]),l&&(l.unload(),S.engine=l=0)):S.stop(),S},shutdown:function(){S.unload(),S.trigger("shutdown",[S]),s.off(u),delete d[u.getAttribute("data-flowplayer-instance-id")],u.removeAttribute("data-flowplayer-instance-id")},disable:function(t){return void 0===t&&(t=!S.disabled),t!=S.disabled&&(S.disabled=t,S.trigger("disable",t)),S},registerExtension:function(t,e){t=t||[],e=e||[],"string"==typeof t&&(t=[t]),"string"==typeof e&&(e=[e]),t.forEach(function(t){S.extensions.js.push(t)}),e.forEach(function(t){S.extensions.css.push(t)})}};S.conf=o(S.conf,p),S.extensions={js:[],css:[]},y.extensions.forEach(function(t){S.registerExtension(t[0],t[1])}),f(S);var _=function(t){var e,n=y.engines;if(p.engine){var r=n.filter(function(t){return t.engineName===p.engine})[0];if(r&&t.sources.some(function(t){return(!t.engine||t.engine===r.engineName)&&r.canPlay(t.type,S.conf)}))return r}return p.enginePreference&&(n=y.engines.filter(function(t){return p.enginePreference.indexOf(t.engineName)>-1}).sort(function(t,e){return p.enginePreference.indexOf(t.engineName)-p.enginePreference.indexOf(e.engineName)})),t.sources.some(function(t){var r=n.filter(function(e){return(!t.engine||t.engine===e.engineName)&&e.canPlay(t.type,S.conf)}).shift();return r&&(e=r),!!r}),e};return u.getAttribute("data-flowplayer-instance-id")||(u.setAttribute("data-flowplayer-instance-id",b++),S.on("boot",function(){var t=y.support;(p.splash||c.hasClass(u,"is-splash")||!t.firstframe)&&(S.forcedSplash=!p.splash&&!c.hasClass(u,"is-splash"),S.splash=!0,p.splash||(p.splash=!0),c.addClass(u,"is-splash")),p.splash&&c.find("video",u).forEach(c.removeNode),(p.dvr||p.live||c.hasClass(u,"is-live"))&&(S.live=p.live=!0,S.dvr=p.dvr=!!p.dvr||c.hasClass(u,"is-dvr"),c.addClass(u,"is-live"),c.toggleClass(u,"is-dvr",S.dvr)),h.forEach(function(t){t(S,u)}),d.push(S),p.splash?S.unload():S.load(),p.disabled&&S.disable(),S.one("ready",n),S.one("shutdown",function(){u.className=m})}).on("load",function(t,e,n){p.splash&&c.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(t){var e=t.getAttribute("data-flowplayer-instance-id");if(e!==u.getAttribute("data-flowplayer-instance-id")){var n=d[Number(e)];n&&n.conf.splash&&n.unload()}}),c.addClass(u,"is-loading"),e.loading=!0,("undefined"!=typeof n.live||"undefined"!=typeof n.dvr)&&(c.toggleClass(u,"is-live",n.dvr||n.live),c.toggleClass(u,"is-dvr",!!n.dvr),e.live=n.dvr||n.live,e.dvr=!!n.dvr)}).on("ready",function(t,e,n){n.time=0,e.video=n,c.removeClass(u,"is-loading"),e.loading=!1,e.muted?e.mute(!0,!0):e.volume(e.volumeLevel);var r=e.conf.hlsFix&&/mpegurl/i.exec(n.type);c.toggleClass(u,"hls-fix",!!r)}).on("unload",function(){c.removeClass(u,"is-loading"),S.loading=!1}).on("ready unload",function(t){var e="ready"==t.type;
33c.toggleClass(u,"is-splash",!e),c.toggleClass(u,"is-ready",e),S.ready=e,S.splash=!e}).on("progress",function(t,e,n){e.video.time=n}).on("buffer",function(t,e,n){e.video.buffer="number"==typeof n?n:n.length?n[n.length-1].end:0}).on("speed",function(t,e,n){e.currentSpeed=n}).on("volume",function(t,e,n){e.volumeLevel=Math.round(100*n)/100,e.muted&&n&&e.mute(!1)}).on("beforeseek seek",function(t){S.seeking="beforeseek"==t.type,c.toggleClass(u,"is-seeking",S.seeking)}).on("ready pause resume unload finish stop",function(t){S.paused=/pause|finish|unload|stop/.test(t.type),S.paused=S.paused||"ready"===t.type&&!p.autoplay&&!S.playing,S.playing=!S.paused,c.toggleClass(u,"is-paused",S.paused),c.toggleClass(u,"is-playing",S.playing),S.load.ed||S.pause()}).on("finish",function(){S.finished=!0}).on("error",function(){})),S.trigger("boot",[S,u]),S}var o=t("extend-object"),a=t("is-function"),s=t("bean"),l=t("./ext/ui/slider"),u=t("./ext/ui/bar-slider"),c=t("./common"),f=t("./ext/events"),d=[],h=[],p=window.onbeforeunload;window.onbeforeunload=function(t){return d.forEach(function(t){t.conf.splash?t.unload():t.bind("error",function(){c.find(".flowplayer.is-error .fp-message").forEach(c.removeNode)})}),p?p(t):void 0};var g=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),m=/(\d+\.\d+) Safari/.exec(navigator.userAgent),v=m?Number(m[1]):100,y=n.exports=function(t,e,n){if(a(t))return h.push(t);if("number"==typeof t||"undefined"==typeof t)return d[t||0];if(t.nodeType){if(null!==t.getAttribute("data-flowplayer-instance-id"))return d[t.getAttribute("data-flowplayer-instance-id")];if(!e)return;return i(t,e,n)}if(t.jquery)return y(t[0],e,n);if("string"==typeof t){var r=c.find(t)[0];return r&&y(r,e,n)}};o(y,{version:"7.2.7",engines:[],engine:function(t){return y.engines.filter(function(e){return e.engineName===t})[0]},extensions:[],conf:{},set:function(t,e){"string"==typeof t?y.conf[t]=e:o(y.conf,t)},registerExtension:function(t,e){y.extensions.push([t,e])},support:{},defaults:{debug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,seekStep:!1,splash:!1,live:!1,livePositionOffset:120,swf:"//releases.flowplayer.org/7.2.7/commercial/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.2.7/commercial/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,mutedAutoplay:!0,clickToUnMute:!0,volume:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:g&&8>v,disableInline:!1},bean:s,common:c,slider:l,barSlider:u,extend:o});var b=0,w=t("./ext/resolve");if("undefined"!=typeof e){var E=e;E(function(){"function"==typeof E.fn.flowplayer&&E('.flowplayer:has(video:not(.fp-engine),script[type="application/json"])').flowplayer()});var T=function(t){if(!t.length)return{};var e=t.data()||{},n={};return E.each(["autoplay","loop","preload","poster"],function(r,i){var o=t.attr(i);void 0!==o&&-1!==["autoplay","poster"].indexOf(i)?n[i]=!o||o:void 0!==o&&(e[i]=!o||o)}),t[0].autoplay=t[0].preload=!1,e.subtitles=t.find("track").map(function(){var t=E(this);return{src:t.attr("src"),kind:t.attr("kind"),label:t.attr("label"),srclang:t.attr("srclang"),default:t.prop("default")}}).get(),e.sources=(new w).sourcesFromVideoTag(t,E),o(n,{clip:e})};E.fn.flowplayer=function(t,e){return this.each(function(){"string"==typeof t&&(t={swf:t}),a(t)&&(e=t,t={});var n=E(this),r=n.find('script[type="application/json"]'),o=r.length?JSON.parse(r.text()):T(n.find("video")),s=E.extend({},t||{},o,n.data()),l=i(this,s,e);f.EVENTS.forEach(function(t){l.on(t+".jquery",function(t){n.trigger.call(n,t.type,t.detail&&t.detail.args)})}),n.data("flowplayer",l)})}}},{"./common":1,"./ext/events":12,"./ext/resolve":21,"./ext/ui/bar-slider":28,"./ext/ui/slider":29,bean:34,"extend-object":39,"is-function":42}],32:[function(t,e,n){t("es5-shim");var r=e.exports=t("./flowplayer");t("./ext/support"),t("./engine/embed"),t("./engine/hlsjs"),t("./engine/html5"),t("./engine/flash"),t("./ext/ui"),t("./ext/message"),t("./ext/keyboard"),t("./ext/playlist"),t("./ext/cuepoint"),t("./ext/subtitle"),t("./ext/analytics"),t("./ext/share"),t("./ext/facebook"),t("./ext/twitter"),t("./ext/embed"),t("./ext/airplay"),t("./ext/chromecast"),t("./ext/qsel"),t("./ext/menu"),t("./ext/fullscreen"),t("./ext/mobile"),r(function(t,e){function n(t){var e=document.createElement("a");return e.href=t,u.hostname(e.hostname)}function i(t){var e="ab.ca,ac.ac,ac.ae,ac.at,ac.be,ac.cn,ac.il,ac.in,ac.jp,ac.kr,ac.sg,ac.th,ac.uk,ad.jp,adm.br,adv.br,ah.cn,am.br,arq.br,art.br,arts.ro,asn.au,asso.fr,asso.mc,bc.ca,bel.tr,bio.br,biz.pl,biz.tr,bj.cn,br.com,cn.com,cng.br,cnt.br,co.ac,co.at,co.de,co.gl,co.hk,co.id,co.il,co.in,
33co.jp,co.kr,co.mg,co.ms,co.nz,co.th,co.uk,co.ve,co.vi,co.za,com.ag,com.ai,com.ar,com.au,com.br,com.cn,com.co,com.cy,com.de,com.do,com.ec,com.es,com.fj,com.fr,com.gl,com.gt,com.hk,com.hr,com.hu,com.kg,com.ki,com.lc,com.mg,com.mm,com.ms,com.mt,com.mu,com.mx,com.my,com.na,com.nf,com.ng,com.ni,com.pa,com.ph,com.pl,com.pt,com.qa,com.ro,com.ru,com.sb,com.sc,com.sg,com.sv,com.tr,com.tw,com.ua,com.uy,com.ve,com.vn,cp.tz,cq.cn,de.com,de.org,ecn.br,ed.jp,edu.au,edu.cn,edu.hk,edu.mm,edu.my,edu.pl,edu.pt,edu.qa,edu.sg,edu.tr,edu.tw,eng.br,ernet.in,esp.br,etc.br,eti.br,eu.com,eu.int,eu.lv,firm.in,firm.ro,fm.br,fot.br,fst.br,g12.br,gb.com,gb.net,gd.cn,gen.in,go.jp,go.kr,go.th,gov.au,gov.az,gov.br,gov.cn,gov.il,gov.in,gov.mm,gov.my,gov.qa,gov.sg,gov.tr,gov.tw,gov.uk,govt.nz,gr.jp,gs.cn,gv.ac,gv.at,gx.cn,gz.cn,he.cn,hi.cn,hk.cn,hl.cn,hu.com,id.au,idv.tw,in.th,in.ua,ind.br,ind.in,inf.br,info.pl,info.ro,info.tr,info.ve,iwi.nz,jl.cn,jor.br,js.cn,jus.br,k12.il,k12.tr,kr.com,lel.br,lg.jp,ln.cn,ltd.uk,maori.nz,mb.ca,me.uk,med.br,mi.th,mil.br,mil.uk,mo.cn,mod.uk,muni.il,nb.ca,ne.jp,ne.kr,net.ag,net.ai,net.au,net.br,net.cn,net.do,net.gl,net.hk,net.il,net.in,net.kg,net.ki,net.lc,net.mg,net.mm,net.mu,net.ni,net.nz,net.pl,net.ru,net.sb,net.sc,net.sg,net.th,net.tr,net.tw,net.uk,net.ve,nf.ca,nhs.uk,nm.cn,nm.kr,no.com,nom.br,nom.ni,nom.ro,ns.ca,nt.ca,nt.ro,ntr.br,nx.cn,odo.br,off.ai,on.ca,or.ac,or.at,or.jp,or.kr,or.th,org.ag,org.ai,org.au,org.br,org.cn,org.do,org.es,org.gl,org.hk,org.in,org.kg,org.ki,org.lc,org.mg,org.mm,org.ms,org.nf,org.ng,org.ni,org.nz,org.pl,org.ro,org.ru,org.sb,org.sc,org.sg,org.tr,org.tw,org.uk,org.ve,pe.ca,plc.uk,police.uk,ppg.br,presse.fr,pro.br,psc.br,psi.br,qc.ca,qc.com,qh.cn,rec.br,rec.ro,res.in,sa.com,sc.cn,sch.uk,se.com,se.net,sh.cn,sk.ca,slg.br,sn.cn,store.ro,tj.cn,tm.fr,tm.mc,tm.ro,tmp.br,tur.br,tv.br,tv.tr,tw.cn,uk.com,uk.net,us.com,uy.com,vet.br,waw.pl,web.ve,www.ro,xj.cn,xz.cn,yk.ca,yn.cn,zj.cn,zlg.br".split(",");t=t.toLowerCase();var n=t.split("."),r=n.length;if(2>r||/^\d+$/.test(n[r-1]))return t;var i=n.slice(-2).join(".");return r>=3&&e.indexOf(i)>=0?n.slice(-3).join("."):i}function o(t,e){e=i(e);for(var n=0,r=e.length-1;r>=0;r--)n+=5285928321*e.charCodeAt(r);for(n=(""+n).substring(0,7),r=0;r<t.length;r++)if(n===t[r].substring(1,8))return 1}var a=function(t,e){var n=t.className.split(" ");-1===n.indexOf(e)&&(t.className+=" "+e)},s=function(t){return"none"!==window.getComputedStyle(t).display},l=t.conf,u=r.common,c=u.createElement,f=l.swf.indexOf("flowplayer.org")&&l.e&&e.getAttribute("data-origin"),d=f?n(f):u.hostname(),h=(document,l.key);if("file:"==location.protocol&&(d="localhost"),t.load.ed=1,l.hostname=d,l.origin=f||location.href,f&&a(e,"is-embedded"),"string"==typeof h&&(h=h.split(/,\s*/)),h&&"function"==typeof o&&o(h,d)){if(l.logo){var p=u.find(".fp-player",e)[0],g=l.logo.href||"",m=l.logo.src||l.logo,v=c("a",{className:"fp-logo",href:g});f&&(v.href=v.href||f),l.embed&&l.embed.popup&&(v.target="_blank");var y=c("img",{src:m});v.appendChild(y),(p||e).appendChild(v)}}else{var v=c("a",{href:"https://flowplayer.com/hello/?from=player"}),p=u.find(".fp-player",e)[0];(p||e).appendChild(v);var b=c("div",{className:"fp-context-menu fp-menu"},'<strong>© 2018 Flowplayer AB</strong><a href="https://flowplayer.com/hello/?from=player">About Flowplayer</a><a href="https://flowplayer.com/license">GPL based license</a>'),w=window.location.href.indexOf("localhost");7!==w&&(p||e).appendChild(b),t.on("pause resume finish unload ready",function(t,n){var r=-1;if(n.video.src)for(var i=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],o=0;o<i.length&&(r=n.video.src.indexOf("://"+i[o].reverse().join(".")),-1===r);o++);if(/pause|resume/.test(t.type)&&"flash"!=n.engine.engineName&&4!=r&&5!=r){var a={display:"block",position:"absolute",left:"16px",bottom:"70px",zIndex:99999,width:"100px",height:"20px",backgroundImage:"url("+[".png","logo","/",".net",".cloudfront","d32wqyuo10o653","//","https:"].reverse().join("")+")"};for(var l in a)a.hasOwnProperty(l)&&(v.style[l]=a[l]);n.load.ed=s(v)&&(7===w||b.parentNode==e||b.parentNode==p),n.load.ed||n.pause()}else v.style.display="none"})}})},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[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");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function i(t){var e=r(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function o(t,e,n){return 3*(e+n)/4-n}function a(t){for(var e,n=r(t),i=n[0],a=n[1],s=new d(o(t,i,a)),l=0,u=a>0?i-4:i,c=0;u>c;c+=4)e=f[t.charCodeAt(c)]<<18|f[t.charCodeAt(c+1)]<<12|f[t.charCodeAt(c+2)]<<6|f[t.charCodeAt(c+3)],s[l++]=e>>16&255,s[l++]=e>>8&255,s[l++]=255&e;return 2===a&&(e=f[t.charCodeAt(c)]<<2|f[t.charCodeAt(c+1)]>>4,s[l++]=255&e),1===a&&(e=f[t.charCodeAt(c)]<<10|f[t.charCodeAt(c+1)]<<4|f[t.charCodeAt(c+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e),s}function s(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function l(t,e,n){for(var r,i=[],o=e;n>o;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(s(r));return i.join("")}function u(t){for(var e,n=t.length,r=n%3,i=[],o=16383,a=0,s=n-r;s>a;a+=o)i.push(l(t,a,a+o>s?s:a+o));return 1===r?(e=t[n-1],i.push(c[e>>2]+c[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(c[e>>10]+c[e>>4&63]+c[e<<2&63]+"=")),i.join("")}n.byteLength=i,n.toByteArray=a,n.fromByteArray=u;for(var c=[],f=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
33+/",p=0,g=h.length;g>p;++p)c[p]=h[p],f[h.charCodeAt(p)]=p;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],34:[function(e,n,r){!function(e,r,i){"undefined"!=typeof n&&n.exports?n.exports=i():"function"==typeof t&&t.amd?t(i):r[e]=i()}("bean",this,function(t,e){t=t||"bean",e=e||this;var n,r=window,i=e[t],o=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,s="addEventListener",l="removeEventListener",u=document||{},c=u.documentElement||{},f=c[s],d=f?s:"attachEvent",h={},p=Array.prototype.slice,g=function(t,e){return t.split(e||" ")},m=function(t){return"string"==typeof t},v=function(t){return"function"==typeof t},y="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",b="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",w=function(t,e,n){ 34for(n=0;n<e.length;n++)e[n]&&(t[e[n]]=1);return t}({},g(y+(f?b:""))),E=function(){var t="compareDocumentPosition"in c?function(t,e){return e.compareDocumentPosition&&16===(16&e.compareDocumentPosition(t))}:"contains"in c?function(t,e){return e=9===e.nodeType||e===window?c:e,e!==t&&e.contains(t)}:function(t,e){for(;t=t.parentNode;)if(t===e)return 1;return 0},e=function(e){var n=e.relatedTarget;return n?n!==this&&"xul"!==n.prefix&&!/document/.test(this.toString())&&!t(n,this):null==n};return{mouseenter:{base:"mouseover",condition:e}
34,mouseleave:{base:"mouseout",condition:e},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),T=function(){var t=g("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),e=t.concat(g("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),n=e.concat(g("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),i=t.concat(g("char charCode key keyCode keyIdentifier keyLocation location")),o=t.concat(g("data")),a=t.concat(g("touches targetTouches changedTouches scale rotation")),s=t.concat(g("data origin source")),l=t.concat(g("state")),f=/over|out/,d=[{reg:/key/i,fix:function(t,e){return e.keyCode=t.keyCode||t.which,i}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(t,n,r){return n.rightClick=3===t.which||2===t.button,n.pos={x:0,y:0},t.pageX||t.pageY?(n.clientX=t.pageX,n.clientY=t.pageY):(t.clientX||t.clientY)&&(n.clientX=t.clientX+u.body.scrollLeft+c.scrollLeft,n.clientY=t.clientY+u.body.scrollTop+c.scrollTop),f.test(r)&&(n.relatedTarget=t.relatedTarget||t[("mouseover"==r?"from":"to")+"Element"]),e}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return n}},{reg:/^text/i,fix:function(){return o}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return s}},{reg:/^popstate$/i,fix:function(){return l}},{reg:/.*/,fix:function(){return t}}],h={},p=function(t,e,n){if(arguments.length&&(t=t||((e.ownerDocument||e.document||e).parentWindow||r).event,this.originalEvent=t,this.isNative=n,this.isBean=!0,t)){var i,o,a,s,l,u=t.type,c=t.target||t.srcElement;if(this.target=c&&3===c.nodeType?c.parentNode:c,n){if(l=h[u],!l)for(i=0,o=d.length;o>i;i++)if(d[i].reg.test(u)){h[u]=l=d[i].fix;break}for(s=l(t,this,u),i=s.length;i--;)!((a=s[i])in this)&&a in t&&(this[a]=t[a])}}};return p.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},p.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},p.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},p.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},p.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},p.prototype.clone=function(t){var e=new p(this,this.element,this.isNative);return e.currentTarget=t,e},p}(),S=function(t,e){return f||e||t!==u&&t!==r?t:c},_=function(){var t=function(t,e,n,r){var i=function(n,i){return e.apply(t,r?p.call(i,n?0:1).concat(r):i)},o=function(n,r){return e.__beanDel?e.__beanDel.ft(n.target,t):r},a=n?function(t){var e=o(t,this);return n.apply(e,arguments)?(t&&(t.currentTarget=e),i(t,arguments)):void 0}:function(t){return e.__beanDel&&(t=t.clone(o(t))),i(t,arguments)};return a.__beanDel=e.__beanDel,a},e=function(e,n,r,i,o,a,s){var l,u=E[n];"unload"==n&&(r=D(L,e,n,r,i)),u&&(u.condition&&(r=t(e,r,u.condition,a)),n=u.base||n),this.isNative=l=w[n]&&!!e[d],this.customType=!f&&!l&&n,this.element=e,this.type=n,this.original=i,this.namespaces=o,this.eventType=f||l?n:"propertychange",this.target=S(e,l),this[d]=!!this.target[d],this.root=s,this.handler=t(e,r,null,a)};return e.prototype.inNamespaces=function(t){var e,n,r=0;if(!t)return!0;if(!this.namespaces)return!1;for(e=t.length;e--;)for(n=this.namespaces.length;n--;)t[e]==this.namespaces[n]&&r++;return t.length===r},e.prototype.matches=function(t,e,n){return!(this.element!==t||e&&this.original!==e||n&&this.handler!==n)},e}(),A=function(){var t={},e=function(n,r,i,o,a,s){var l=a?"r":"$";if(r&&"*"!=r){var u,c=0,f=t[l+r],d="*"==n;if(!f)return;for(u=f.length;u>c;c++)if((d||f[c].matches(n,i,o))&&!s(f[c],f,c,r))return}
34else for(var h in t)h.charAt(0)==l&&e(n,h.substr(1),i,o,a,s)},n=function(e,n,r,i){var o,a=t[(i?"r":"$")+n];if(a)for(o=a.length;o--;)if(!a[o].root&&a[o].matches(e,r,null))return!0;return!1},r=function(t,n,r,i){var o=[];return e(t,n,r,null,i,function(t){return o.push(t)}),o},i=function(e){var n=!e.root&&!this.has(e.element,e.type,null,!1),r=(e.root?"r":"$")+e.type;return(t[r]||(t[r]=[])).push(e),n},o=function(n){e(n.element,n.type,null,n.handler,n.root,function(e,n,r){return n.splice(r,1),e.removed=!0,0===n.length&&delete t[(e.root?"r":"$")+e.type],!1})},a=function(){var e,n=[];for(e in t)"$"==e.charAt(0)&&(n=n.concat(t[e]));return n};return{has:n,get:r,put:i,del:o,entries:a}}(),I=function(t){n=arguments.length?t:u.querySelectorAll?function(t,e){return e.querySelectorAll(t)}:function(){throw new Error("Bean: No selector engine installed")}},C=function(t,e){if(f||!e||!t||t.propertyName=="_on"+e){var n=A.get(this,e||t.type,null,!1),r=n.length,i=0;for(t=new T(t,this,!0),e&&(t.type=e);r>i&&!t.isImmediatePropagationStopped();i++)n[i].removed||n[i].handler.call(this,t)}},x=f?function(t,e,n){t[n?s:l](e,C,!1)}:function(t,e,n,r){var i;n?(A.put(i=new _(t,r||e,function(e){C.call(t,e,r)},C,null,null,!0)),r&&null==t["_on"+r]&&(t["_on"+r]=0),i.target.attachEvent("on"+i.eventType,i.handler)):(i=A.get(t,r||e,C,!0)[0],i&&(i.target.detachEvent("on"+i.eventType,i.handler),A.del(i)))},D=function(t,e,n,r,i){return function(){r.apply(this,arguments),t(e,n,i)}},L=function(t,e,n,r){var i,o,s=e&&e.replace(a,""),l=A.get(t,s,null,!1),u={};for(i=0,o=l.length;o>i;i++)n&&l[i].original!==n||!l[i].inNamespaces(r)||(A.del(l[i]),!u[l[i].eventType]&&l[i][d]&&(u[l[i].eventType]={t:l[i].eventType,c:l[i].type}));for(i in u)A.has(t,u[i].t,null,!1)||x(t,u[i].t,!1,u[i].c)},O=function(t,e){var r=function(e,r){for(var i,o=m(t)?n(t,r):t;e&&e!==r;e=e.parentNode)for(i=o.length;i--;)if(o[i]===e)return e},i=function(t){var n=r(t.target,this);n&&e.apply(n,arguments)};return i.__beanDel={ft:r,selector:t},i},R=f?function(t,e,n){var i=u.createEvent(t?"HTMLEvents":"UIEvents");i[t?"initEvent":"initUIEvent"](e,!0,!0,r,1),n.dispatchEvent(i)}:function(t,e,n){n=S(n,t),t?n.fireEvent("on"+e,u.createEventObject()):n["_on"+e]++},k=function(t,e,n){var r,i,s,l,u=m(e);if(u&&e.indexOf(" ")>0){for(e=g(e),l=e.length;l--;)k(t,e[l],n);return t}if(i=u&&e.replace(a,""),i&&E[i]&&(i=E[i].base),!e||u)(s=u&&e.replace(o,""))&&(s=g(s,".")),L(t,i,n,s);else if(v(e))L(t,null,e);else for(r in e)e.hasOwnProperty(r)&&k(t,r,e[r]);return t},N=function(t,e,r,i){var s,l,u,c,f,m,y;if(void 0!==r||"object"!=typeof e){for(v(r)?(f=p.call(arguments,3),i=s=r):(s=i,f=p.call(arguments,4),i=O(r,s,n)),u=g(e),this===h&&(i=D(k,t,e,i,s)),c=u.length;c--;)y=A.put(m=new _(t,u[c].replace(a,""),i,s,g(u[c].replace(o,""),"."),f,!1)),m[d]&&y&&x(t,m.eventType,!0,m.customType);return t}for(l in e)e.hasOwnProperty(l)&&N.call(this,t,l,e[l])},M=function(t,e,n,r){return N.apply(null,m(n)?[t,n,e,r].concat(arguments.length>3?p.call(arguments,5):[]):p.call(arguments))},P=function(){return N.apply(h,arguments)},j=function(t,e,n){var r,i,s,l,u,c=g(e);for(r=c.length;r--;)if(e=c[r].replace(a,""),(l=c[r].replace(o,""))&&(l=g(l,".")),l||n||!t[d])for(u=A.get(t,e,null,!1),n=[!1].concat(n),i=0,s=u.length;s>i;i++)u[i].inNamespaces(l)&&u[i].handler.apply(t,n);else R(w[e],e,t);return t},F=function(t,e,n){for(var r,i,o=A.get(e,n,null,!1),a=o.length,s=0;a>s;s++)o[s].original&&(r=[t,o[s].type],(i=o[s].handler.__beanDel)&&r.push(i.selector),r.push(o[s].original),N.apply(null,r));return t},U={on:N,add:M,one:P,off:k,remove:k,clone:F,fire:j,Event:T,setSelectorEngine:I,noConflict:function(){return e[t]=i,this}};if(r.attachEvent){var B=function(){var t,e=A.entries();for(t in e)e[t].type&&"unload"!==e[t].type&&k(e[t].element,e[t].type);r.detachEvent("onunload",B),r.CollectGarbage&&r.CollectGarbage()};r.attachEvent("onunload",B)}return I(),U})},{}],35:[function(t,e,r){(function(e){"use strict";function n(){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 a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=a.prototype):(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(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 c(this,t)}return s(this,t,e,n)}function s(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?h(t,e,n,r):"string"==typeof e?f(t,e,n):p(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>t)throw new RangeError('"size" argument must not be negative')}function u(t,e,n,r){return l(e),0>=e?o(t,e):void 0!==n?"string"==typeof r?o(t,e).fill(n,r):o(t,e).fill(n):o(t,e)}function c(t,e){if(l(e),t=o(t,0>e?0:0|g(e)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;e>n;++n)t[n]=0;return t}function f(t,e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(e,n);t=o(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function d(t,e){var n=e.length<0?0:0|g(e.length);t=o(t,n);for(var r=0;n>r;r+=1)t[r]=255&e[r];return t}function h(t,e,n,r){if(e.byteLength,0>n||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),a.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=a.prototype):t=d(t,e),t}function p(t,e){if(a.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||K(e.length)?o(t,0):d(t,e);if("Buffer"===e.type&&Q(e.data))return d(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 m(t){return+t!=t&&(t=0),a.alloc(+t)}function v(t,e){if(a.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
vendor: 13,724 bytes, line 34
34(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 Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(r)return Y(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||0>e)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if(n>>>=0,e>>>=0,e>=n)return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,e,n);case"utf8":case"utf-8":return D(this,e,n);case"ascii":return O(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(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:-2147483648>n&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),0>n&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(0>n){if(!i)return-1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:E(t,e,n,r,i);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):E(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function E(t,e,n,r,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,l=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}var u;if(i){var c=-1;for(u=n;s>u;u++)if(o(t,u)===o(e,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===l)return c*a}else-1!==c&&(u-=u-c),c=-1}else for(n+l>s&&(n=s-l),u=n;u>=0;u--){for(var f=!0,d=0;l>d;d++)if(o(t,u+d)!==o(e,d)){f=!1;break}if(f)return u}return-1}function T(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r),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 a=0;r>a;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function S(t,e,n,r){return X(Y(e,t.length-n),t,n,r)}function _(t,e,n,r){return X(Z(e),t,n,r)}function A(t,e,n,r){return _(t,e,n,r)}function I(t,e,n,r){return X(J(e),t,n,r)}function C(t,e,n,r){return X(V(e,t.length-n),t,n,r)}function x(t,e,n){return 0===e&&n===t.length?q.fromByteArray(t):q.fromByteArray(t.slice(e,n))}function D(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;n>i;){var o=t[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(n>=i+s){var l,u,c,f;switch(s){case 1:128>o&&(a=o);break;case 2:l=t[i+1],128===(192&l)&&(f=(31&o)<<6|63&l,f>127&&(a=f));break;case 3:l=t[i+1],u=t[i+2],128===(192&l)&&128===(192&u)&&(f=(15&o)<<12|(63&l)<<6|63&u,f>2047&&(55296>f||f>57343)&&(a=f));break;case 4:l=t[i+1],u=t[i+2],c=t[i+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c,f>65535&&1114112>f&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return L(r)}function L(t){var e=t.length;if(tt>=e)return String.fromCharCode.apply(String,t);for(var n="",r=0;e>r;)n+=String.fromCharCode.apply(String,t.slice(r,r+=tt));return n}function O(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;n>i;++i)r+=String.fromCharCode(127&t[i]);return r}function R(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;n>i;++i)r+=String.fromCharCode(t[i]);return r}function k(t,e,n){var r=t.length;(!e||0>e)&&(e=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=e;n>o;++o)i+=H(t[o]);return i}function N(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 M(t,e,n){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,n,r,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||o>e)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function j(t,e,n,r){0>e&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);o>i;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function F(t,e,n,r){0>e&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);o>i;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function U(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function B(t,e,n,r,i){return i||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(t,e,n,r,23,4),n+4}function G(t,e,n,r,i){return i||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(t,e,n,r,52,8),n+8}function W(t){if(t=z(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return 16>t?"0"+t.toString(16):t.toString(16)}function Y(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],a=0;r>a;++a){if(n=t.charCodeAt(a),n>55295&&57344>n){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((e-=1)<0)break;o.push(n)}else if(2048>n){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))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 Z(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function V(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function J(t){return q.toByteArray(W(t))}function X(t,e,n,r){for(var i=0;r>i&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function K(t){return t!==t}var q=t("base64-js"),$=t("ieee754"),Q=t("isarray");r.Buffer=a,r.SlowBuffer=m,r.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:n(),r.kMaxLength=i(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,n){return s(null,t,e,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,n){return u(null,t,e,n)},a.allocUnsafe=function(t){return c(null,t)},a.allocUnsafeSlow=function(t){return c(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.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);o>i;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return r>n?-1:n>r?1:0},a.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}},a.concat=function(t,e){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},a.byteLength=v,a.prototype._isBuffer=!0,a.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;t>e;e+=2)b(this,e,e+1);return this},a.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;t>e;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},a.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;t>e;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},a.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?D(this,0,t):y.apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},a.prototype.compare=function(t,e,n,r,i){if(!a.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),0>e||n>t.length||0>r||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,s=n-e,l=Math.min(o,s),u=this.slice(r,i),c=t.slice(e,n),f=0;l>f;++f)if(u[f]!==c[f]){o=u[f],s=c[f];break}return s>o?-1:o>s?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},a.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&&(0>n||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return S(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return A(this,t,e,n);case"base64":return I(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;a.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),t>e&&(e=t);var r;if(a.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=a.prototype;else{var i=e-t;r=new a(i,void 0);for(var o=0;i>o;++o)r[o]=this[o+t]}return r},a.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||M(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},a.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||M(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},a.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),$.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),$.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),$.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),$.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;P(this,t,e,n,i,0)}var o=1,a=0;for(this[e]=255&t;++a<n&&(o*=256);)this[e+a]=t/o&255;return e+n},a.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;P(this,t,e,n,i,0)}var o=n-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+n},a.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
348,this[e+1]=255&t):j(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);P(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)0>t&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);P(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)0>t&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},a.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&&n>r&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)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&&e>n&&r>e)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(1e3>o||!a.TYPED_ARRAY_SUPPORT)for(i=0;o>i;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},a.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);256>i&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(0>e||this.length<e||this.length<n)throw new RangeError("Out of range index");if(e>=n)return this;e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;n>o;++o)this[o]=t;else{var s=a.isBuffer(t)?t:Y(new a(t,r).toString()),l=s.length;for(o=0;n-e>o;++o)this[o+e]=s[o%l]}return this};var et=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":33,ieee754:40,isarray:43}],36:[function(t,e,n){function r(t){function e(t){var e=c();a(e,t)>-1||(e.push(t),f(e))}function n(t){var e=c(),n=a(e,t);-1!==n&&(e.splice(n,1),f(e))}function r(t){return a(c(),t)>-1}function s(t){return r(t)?(n(t),!1):(e(t),!0)}function l(){return t.className}function u(t){var e=c();return e[t]||null}function c(){var e=t.className;return i(e.split(" "),o)}function f(e){var n=e.length;t.className=e.join(" "),h.length=n;for(var r=0;r<e.length;r++)h[r]=e[r];delete e[n]}var d=t.classList;if(d)return d;var h={add:e,remove:n,contains:r,toggle:s,toString:l,length:0,item:u};return h}function i(t,e){for(var n=[],r=0;r<t.length;r++)e(t[r])&&n.push(t[r]);return n}function o(t){return!!t}var a=t("indexof");e.exports=r},{indexof:41}],37:[function(t,e,n){function r(t,e,n,r){return n=window.getComputedStyle,r=n?n(t):t.currentStyle,r?r[e.replace(/-(\w)/gi,function(t,e){return e.toUpperCase()})]:void 0}e.exports=r},{}],38:[function(e,n,r){!function(e,i){"use strict";"function"==typeof t&&t.amd?t(i):"object"==typeof r?n.exports=i():e.returnExports=i()}(this,function(){var t,e,n=Array,r=n.prototype,i=Object,o=i.prototype,a=Function,s=a.prototype,l=String,u=l.prototype,c=Number,f=c.prototype,d=r.slice,h=r.splice,p=r.push,g=r.unshift,m=r.concat,v=r.join,y=s.call,b=s.apply,w=Math.max,E=Math.min,T=o.toString,S="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,_=Function.prototype.toString,A=/^\s*class /,I=function(t){try{var e=_.call(t),n=e.replace(/\/\/.*\n/g,""),r=n.replace(/\/\*[.\s\S]*\*\//g,""),i=r.replace(/\n/gm," ").replace(/ {2}/g," ");return A.test(i)}catch(t){return!1}},C=function(t){try{return!I(t)&&(_.call(t),!0)}catch(t){return!1}},x="[object Function]",D="[object GeneratorFunction]",t=function(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(S)return C(t);if(I(t))return!1;var e=T.call(t);return e===x||e===D},L=RegExp.prototype.exec,O=function(t){try{return L.call(t),!0}catch(t){return!1}},R="[object RegExp]";e=function(t){return"object"==typeof t&&(S?O(t):T.call(t)===R)};var k,N=String.prototype.valueOf,M=function(t){try{return N.call(t),!0}catch(t){return!1}},P="[object String]";k=function(t){return"string"==typeof t||"object"==typeof t&&(S?M(t):T.call(t)===P)};var j=i.defineProperty&&function(){try{var t={};i.defineProperty(t,"x",{enumerable:!1,value:t});for(var e in t)return!1;return t.x===t}catch(t){return!1}}(),F=function(t){var e;return e=j?function(t,e,n,r){!r&&e in t||i.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(t,e,n,r){!r&&e in t||(t[e]=n)},function(n,r,i){for(var o in r)t.call(r,o)&&e(n,o,r[o],i)}}(o.hasOwnProperty),U=function(t){var e=typeof t;return null===t||"object"!==e&&"function"!==e},B=c.isNaN||function(t){return t!==t},G={ToInteger:function(t){var e=+t;return B(e)?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e},ToPrimitive:function(e){var n,r,i;if(U(e))return e;if(r=e.valueOf,t(r)&&(n=r.call(e),U(n)))return n;if(i=e.toString,t(i)&&(n=i.call(e),U(n)))return n;throw new TypeError},ToObject:function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return i(t)},ToUint32:function(t){return t>>>0}},W=function(){};F(s,{bind:function(e){var n=this;if(!t(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);
vendor: 20,683 bytes, lines 34-35
34for(var r,o=d.call(arguments,1),s=function(){if(this instanceof r){var t=b.call(n,this,m.call(o,d.call(arguments))); 35return i(t)===t?t:this}return b.call(n,e,m.call(o,d.call(arguments)))},l=w(0,n.length-o.length),u=[],c=0;l>c;c++)p.call(u,"$"+c);return r=a("binder","return function ("+v.call(u,",")+"){ return binder.apply(this, arguments); }")(s),n.prototype&&(W.prototype=n.prototype,r.prototype=new W,W.prototype=null),r}});var z=y.bind(o.hasOwnProperty),H=y.bind(o.toString),Y=y.bind(d),Z=b.bind(d);if("object"==typeof document&&document&&document.documentElement)try{Y(document.documentElement.childNodes)}catch(t){var V=Y,J=Z;Y=function(t){for(var e=[],n=t.length;n-- >0;)e[n]=t[n];return J(e,V(arguments,1))},Z=function(t,e){return J(Y(t),e)}}var X=y.bind(u.slice),K=y.bind(u.split),q=y.bind(u.indexOf),$=y.bind(p),Q=y.bind(o.propertyIsEnumerable),tt=y.bind(r.sort),et=n.isArray||function(t){return"[object Array]"===H(t)},nt=1!==[].unshift(0);F(r,{unshift:function(){return g.apply(this,arguments),this.length}},nt),F(n,{isArray:et});var rt=i("a"),it="a"!==rt[0]||!(0 in rt),ot=function(t){var e=!0,n=!0,r=!1;if(t)try{t.call("foo",function(t,n,r){"object"!=typeof r&&(e=!1)}),t.call([1],function(){"use strict";n="string"==typeof this},"x")}catch(t){r=!0}return!!t&&!r&&e&&n};F(r,{forEach:function(e){var n,r=G.ToObject(this),i=it&&k(this)?K(this,""):r,o=-1,a=G.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!t(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++o<a;)o in i&&("undefined"==typeof n?e(i[o],o,r):e.call(n,i[o],o,r))}},!ot(r.forEach)),F(r,{map:function(e){var r,i=G.ToObject(this),o=it&&k(this)?K(this,""):i,a=G.ToUint32(o.length),s=n(a);if(arguments.length>1&&(r=arguments[1]),!t(e))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;a>l;l++)l in o&&("undefined"==typeof r?s[l]=e(o[l],l,i):s[l]=e.call(r,o[l],l,i));return s}},!ot(r.map)),F(r,{filter:function(e){var n,r,i=G.ToObject(this),o=it&&k(this)?K(this,""):i,a=G.ToUint32(o.length),s=[];if(arguments.length>1&&(r=arguments[1]),!t(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var l=0;a>l;l++)l in o&&(n=o[l],("undefined"==typeof r?e(n,l,i):e.call(r,n,l,i))&&$(s,n));return s}},!ot(r.filter)),F(r,{every:function(e){var n,r=G.ToObject(this),i=it&&k(this)?K(this,""):r,o=G.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!t(e))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;o>a;a++)if(a in i&&!("undefined"==typeof n?e(i[a],a,r):e.call(n,i[a],a,r)))return!1;return!0}},!ot(r.every)),F(r,{some:function(e){var n,r=G.ToObject(this),i=it&&k(this)?K(this,""):r,o=G.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!t(e))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;o>a;a++)if(a in i&&("undefined"==typeof n?e(i[a],a,r):e.call(n,i[a],a,r)))return!0;return!1}},!ot(r.some));var at=!1;r.reduce&&(at="object"==typeof r.reduce.call("es5",function(t,e,n,r){return r})),F(r,{reduce:function(e){var n=G.ToObject(this),r=it&&k(this)?K(this,""):n,i=G.ToUint32(r.length);if(!t(e))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var o,a=0;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in r){o=r[a++];break}if(++a>=i)throw new TypeError("reduce of empty array with no initial value")}for(;i>a;a++)a in r&&(o=e(o,r[a],a,n));return o}},!at);var st=!1;r.reduceRight&&(st="object"==typeof r.reduceRight.call("es5",function(t,e,n,r){return r})),F(r,{reduceRight:function(e){var n=G.ToObject(this),r=it&&k(this)?K(this,""):n,i=G.ToUint32(r.length);if(!t(e))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o,a=i-1;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in r){o=r[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>a)return o;do a in r&&(o=e(o,r[a],a,n));while(a--);return o}},!st);var lt=r.indexOf&&-1!==[0,1].indexOf(1,2);F(r,{indexOf:function(t){var e=it&&k(this)?K(this,""):G.ToObject(this),n=G.ToUint32(e.length);if(0===n)return-1;var r=0;for(arguments.length>1&&(r=G.ToInteger(arguments[1])),r=r>=0?r:w(0,n+r);n>r;r++)if(r in e&&e[r]===t)return r;return-1}},lt);var ut=r.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);F(r,{lastIndexOf:function(t){var e=it&&k(this)?K(this,""):G.ToObject(this),n=G.ToUint32(e.length);if(0===n)return-1;var r=n-1;for(arguments.length>1&&(r=E(r,G.ToInteger(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in e&&t===e[r])return r;return-1}},ut);var ct=function(){var t=[1,2],e=t.splice();return 2===t.length&&et(e)&&0===e.length}();F(r,{splice:function(t,e){return 0===arguments.length?[]:h.apply(this,arguments)}},!ct);var ft=function(){var t={};return r.splice.call(t,0,0,1),1===t.length}();F(r,{splice:function(t,e){if(0===arguments.length)return[];var n=arguments;return this.length=w(G.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof e&&(n=Y(arguments),n.length<2?$(n,this.length-t):n[1]=G.ToInteger(e)),h.apply(this,n)}},!ft);var dt=function(){var t=new n(1e5);return t[8]="x",t.splice(1,1),7===t.indexOf("x")}(),ht=function(){var t=256,e=[];return e[t]="a",e.splice(t+1,0,"b"),"a"===e[t]}();F(r,{splice:function(t,e){for(var n,r=G.ToObject(this),i=[],o=G.ToUint32(r.length),a=G.ToInteger(t),s=0>a?w(o+a,0):E(a,o),u=E(w(G.ToInteger(e),0),o-s),c=0;u>c;)n=l(s+c),z(r,n)&&(i[c]=r[n]),c+=1;var f,d=Y(arguments,2),h=d.length;if(u>h){c=s;for(var p=o-u;p>c;)n=l(c+u),f=l(c+h),z(r,n)?r[f]=r[n]:delete r[f],c+=1;c=o;for(var g=o-u+h;c>g;)delete r[c-1],c-=1}else if(h>u)for(c=o-u;c>s;)n=l(c+u-1),f=l(c+h-1),z(r,n)?r[f]=r[n]:delete r[f],c-=1;c=s;for(var m=0;m<d.length;++m)r[c]=d[m],c+=1;return r.length=o-u+h,i}},!dt||!ht);var pt,gt=r.join;try{pt="1,2,3"!==Array.prototype.join.call("123",",")}catch(t){pt=!0}pt&&F(r,{join:function(t){var e="undefined"==typeof t?",":t;return gt.call(k(this)?K(this,""):this,e)}},pt);var mt="1,2"!==[1,2].join(void 0);mt&&F(r,{join:function(t){var e="undefined"==typeof t?",":t;return gt.call(this,e)}},mt);var vt=function(t){for(var e=G.ToObject(this),n=G.ToUint32(e.length),r=0;r<arguments.length;)e[n+r]=arguments[r],r+=1;return e.length=n+r,n+r},yt=function(){var t={},e=Array.prototype.push.call(t,void 0);return 1!==e||1!==t.length||"undefined"!=typeof t[0]||!z(t,0)}();F(r,{push:function(t){return et(this)?p.apply(this,arguments):vt.apply(this,arguments)}},yt);var bt=function(){var t=[],e=t.push(void 0);return 1!==e||1!==t.length||"undefined"!=typeof t[0]||!z(t,0)}();F(r,{push:vt},bt),F(r,{slice:function(t,e){var n=k(this)?K(this,""):this;return Z(n,arguments)}},it);var wt=function(){try{[1,2].sort(null)}catch(t){try{[1,2].sort({})}catch(t){return!1}}return!0}(),Et=function(){try{return[1,2].sort(/a/),!1}catch(t){}return!0}(),Tt=function(){try{return[1,2].sort(void 0),!0}catch(t){}return!1}();F(r,{sort:function(e){if("undefined"==typeof e)return tt(this);if(!t(e))throw new TypeError("Array.prototype.sort callback must be a function");return tt(this,e)}},wt||!Tt||!Et);var St=!Q({toString:null},"toString"),_t=Q(function(){},"prototype"),At=!z("x","0"),It=function(t){var e=t.constructor;return e&&e.prototype===t},Ct={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},xt=function(){if("undefined"==typeof window)return!1;for(var t in window)try{!Ct["$"+t]&&z(window,t)&&null!==window[t]&&"object"==typeof window[t]&&It(window[t])}catch(t){return!0}return!1}(),Dt=function(t){if("undefined"==typeof window||!xt)return It(t);try{return It(t)}catch(t){return!1}},Lt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ot=Lt.length,Rt=function(t){return"[object Arguments]"===H(t)},kt=function(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&!et(e)&&t(e.callee)},Nt=Rt(arguments)?Rt:kt;F(i,{keys:function(e){var n=t(e),r=Nt(e),i=null!==e&&"object"==typeof e,o=i&&k(e);if(!i&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var a=[],s=_t&&n;if(o&&At||r)for(var u=0;u<e.length;++u)$(a,l(u));if(!r)for(var c in e)s&&"prototype"===c||!z(e,c)||$(a,l(c));if(St)for(var f=Dt(e),d=0;Ot>d;d++){var h=Lt[d];f&&"constructor"===h||!z(e,h)||$(a,h)}return a}});var Mt=i.keys&&function(){return 2===i.keys(arguments).length}(1,2),Pt=i.keys&&function(){var t=i.keys(arguments);return 1!==arguments.length||1!==t.length||1!==t[0]}(1),jt=i.keys;F(i,{keys:function(t){return jt(Nt(t)?Y(t):t)}},!Mt||Pt);var Ft,Ut,Bt=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Gt=new Date(-0x55d318d56a724),Wt=new Date(14496624e5),zt="Mon, 01 Jan -45875 11:59:59 GMT"!==Gt.toUTCString(),Ht=Gt.getTimezoneOffset();-720>Ht?(Ft="Tue Jan 02 -45875"!==Gt.toDateString(),Ut=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Wt))):(Ft="Mon Jan 01 -45875"!==Gt.toDateString(),Ut=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Wt)));var Yt=y.bind(Date.prototype.getFullYear),Zt=y.bind(Date.prototype.getMonth),Vt=y.bind(Date.prototype.getDate),Jt=y.bind(Date.prototype.getUTCFullYear),Xt=y.bind(Date.prototype.getUTCMonth),Kt=y.bind(Date.prototype.getUTCDate),qt=y.bind(Date.prototype.getUTCDay),$t=y.bind(Date.prototype.getUTCHours),Qt=y.bind(Date.prototype.getUTCMinutes),te=y.bind(Date.prototype.getUTCSeconds),ee=y.bind(Date.prototype.getUTCMilliseconds),ne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ie=function(t,e){return Vt(new Date(e,t,0))};F(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=Yt(this);return 0>t&&Zt(this)>11?t+1:t},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=Yt(this),e=Zt(this);return 0>t&&e>11?0:e},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=Yt(this),e=Zt(this),n=Vt(this);if(0>t&&e>11){if(12===e)return n;var r=ie(0,t+1);return r-n+1}return n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=Jt(this);return 0>t&&Xt(this)>11?t+1:t},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=Jt(this),e=Xt(this);return 0>t&&e>11?0:e},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=Jt(this),e=Xt(this),n=Kt(this);if(0>t&&e>11){if(12===e)return n;var r=ie(0,t+1);return r-n+1}return n}},Bt),F(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=qt(this),e=Kt(this),n=Xt(this),r=Jt(this),i=$t(this),o=Qt(this),a=te(this);return ne[t]+", "+(10>e?"0"+e:e)+" "+re[n]+" "+r+" "+(10>i?"0"+i:i)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"}},Bt||zt),F(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=this.getDay(),e=this.getDate(),n=this.getMonth(),r=this.getFullYear();return ne[t]+" "+re[n]+" "+(10>e?"0"+e:e)+" "+r}},Bt||Ft),(Bt||Ut)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var t=this.getDay(),e=this.getDate(),n=this.getMonth(),r=this.getFullYear(),i=this.getHours(),o=this.getMinutes(),a=this.getSeconds(),s=this.getTimezoneOffset(),l=Math.floor(Math.abs(s)/60),u=Math.floor(Math.abs(s)%60);return ne[t]+" "+re[n]+" "+(10>e?"0"+e:e)+" "+r+" "+(10>i?"0"+i:i)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"+(s>0?"-":"+")+(10>l?"0"+l:l)+(10>u?"0"+u:u)},j&&i.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var oe=-621987552e5,ae="-000001",se=Date.prototype.toISOString&&-1===new Date(oe).toISOString().indexOf(ae),le=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),ue=y.bind(Date.prototype.getTime);F(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(ue(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var t=Jt(this),e=Xt(this);t+=Math.floor(e/12),e=(e%12+12)%12;var n=[e+1,Kt(this),$t(this),Qt(this),te(this)];t=(0>t?"-":t>9999?"+":"")+X("00000"+Math.abs(t),t>=0&&9999>=t?-4:-6);for(var r=0;r<n.length;++r)n[r]=X("00"+n[r],-2);return t+"-"+Y(n,0,2).join("-")+"T"+Y(n,2).join(":")+"."+X("000"+ee(this),-3)+"Z"}},se||le);var ce=function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(oe).toJSON().indexOf(ae)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(t){return!1}}();ce||(Date.prototype.toJSON=function(e){var n=i(this),r=G.ToPrimitive(n);if("number"==typeof r&&!isFinite(r))return null;var o=n.toISOString;if(!t(o))throw new TypeError("toISOString property is not callable");return o.call(n)});var fe=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),de=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),he=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(he||de||!fe){var pe=Math.pow(2,31)-1,ge=B(new Date(1970,0,1,0,0,0,pe+1).getTime());Date=function(t){var e=function(n,r,i,o,a,s,u){var c,f=arguments.length;if(this instanceof t){var d=s,h=u;if(ge&&f>=7&&u>pe){var p=Math.floor(u/pe)*pe,g=Math.floor(p/1e3);d+=g,h-=1e3*g}c=1===f&&l(n)===n?new t(e.parse(n)):f>=7?new t(n,r,i,o,a,d,h):f>=6?new t(n,r,i,o,a,d):f>=5?new t(n,r,i,o,a):f>=4?new t(n,r,i,o):f>=3?new t(n,r,i):f>=2?new t(n,r):f>=1?new t(n instanceof t?+n:n):new t}else c=t.apply(this,arguments);return U(c)||F(c,{constructor:e},!0),c},n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365],i=function(t,e){var n=e>1?1:0;return r[e]+Math.floor((t-1969+n)/4)-Math.floor((t-1901+n)/100)+Math.floor((t-1601+n)/400)+365*(t-1970)},o=function(e){var n=0,r=e;if(ge&&r>pe){var i=Math.floor(r/pe)*pe,o=Math.floor(i/1e3);n+=o,r-=1e3*o}return c(new t(1970,0,1,0,0,n,r))};for(var a in t)z(t,a)&&(e[a]=t[a]);F(e,{now:t.now,UTC:t.UTC},!0),e.prototype=t.prototype,F(e.prototype,{constructor:e},!0);var s=function(e){var r=n.exec(e);if(r){var a,s=c(r[1]),l=c(r[2]||1)-1,u=c(r[3]||1)-1,f=c(r[4]||0),d=c(r[5]||0),h=c(r[6]||0),p=Math.floor(1e3*c(r[7]||0)),g=Boolean(r[4]&&!r[8]),m="-"===r[9]?1:-1,v=c(r[10]||0),y=c(r[11]||0),b=d>0||h>0||p>0;return(b?24:25)>f&&60>d&&60>h&&1e3>p&&l>-1&&12>l&&24>v&&60>y&&u>-1&&u<i(s,l+1)-i(s,l)&&(a=60*(24*(i(s,l)+u)+f+v*m),a=1e3*(60*(a+d+y*m)+h)+p,g&&(a=o(a)),a>=-864e13&&864e13>=a)?a:NaN}return t.parse.apply(this,arguments)};return F(e,{parse:s}),e}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var me=f.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),ve={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(t,e){for(var n=-1,r=e;++n<ve.size;)r+=t*ve.data[n],ve.data[n]=r%ve.base,r=Math.floor(r/ve.base)},divide:function(t){for(var e=ve.size,n=0;--e>=0;)n+=ve.data[e],ve.data[e]=Math.floor(n/t),n=n%t*ve.base},numToString:function(){for(var t=ve.size,e="";--t>=0;)if(""!==e||0===t||0!==ve.data[t]){var n=l(ve.data[t]);""===e?e=n:e+=X("0000000",0,7-n.length)+n}return e},pow:function t(e,n,r){return 0===n?r:n%2===1?t(e,n-1,r*e):t(e*e,n/2,r)},log:function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}},ye=function(t){var e,n,r,i,o,a,s,u;if(e=c(t),e=B(e)?0:Math.floor(e),0>e||e>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=c(this),B(n))return"NaN";if(-1e21>=n||n>=1e21)return l(n);if(r="",0>n&&(r="-",n=-n),i="0",n>1e-21)if(o=ve.log(n*ve.pow(2,69,1))-69,a=0>o?n*ve.pow(2,-o,1):n/ve.pow(2,o,1),a*=4503599627370496,o=52-o,o>0){for(ve.multiply(0,a),s=e;s>=7;)ve.multiply(1e7,0),s-=7;for(ve.multiply(ve.pow(10,s,1),0),s=o-1;s>=23;)ve.divide(1<<23),s-=23;ve.divide(1<<s),ve.multiply(1,1),ve.divide(2),i=ve.numToString()}else ve.multiply(0,a),ve.multiply(1<<-o,0),i=ve.numToString()+X("0.00000000000000000000",2,2+e);return e>0?(u=i.length,i=e>=u?r+X("0.0000000000000000000",0,e-u+2)+i:r+X(i,0,u-e)+"."+X(i,u-e)):i=r+i,i};F(f,{toFixed:ye},me);var be=function(){try{return"1"===1..toPrecision(void 0)}catch(t){return!0}}(),we=f.toPrecision;F(f,{toPrecision:function(t){return"undefined"==typeof t?we.call(this):we.call(this,t)}},be),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var t="undefined"==typeof/()??/.exec("")[1],n=Math.pow(2,32)-1;u.split=function(r,i){var o=String(this);if("undefined"==typeof r&&0===i)return[];if(!e(r))return K(this,r,i);var a,s,l,u,c=[],f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":""),d=0,h=new RegExp(r.source,f+"g");t||(a=new RegExp("^"+h.source+"$(?!\\s)",f));var g="undefined"==typeof i?n:G.ToUint32(i);for(s=h.exec(o);s&&(l=s.index+s[0].length,!(l>d&&($(c,X(o,d,s.index)),!t&&s.length>1&&s[0].replace(a,function(){for(var t=1;t<arguments.length-2;t++)"undefined"==typeof arguments[t]&&(s[t]=void 0)}),s.length>1&&s.index<o.length&&p.apply(c,Y(s,1)),u=s[0].length,d=l,c.length>=g)));)h.lastIndex===s.index&&h.lastIndex++,s=h.exec(o);return d===o.length?(u||!h.test(""))&&$(c,""):$(c,X(o,d)),c.length>g?Y(c,0,g):c}}():"0".split(void 0,0).length&&(u.split=function(t,e){return"undefined"==typeof t&&0===e?[]:K(this,t,e)});var Ee=u.replace,Te=function(){var t=[];return"x".replace(/x(.)?/g,function(e,n){$(t,n)}),1===t.length&&"undefined"==typeof t[0]}();Te||(u.replace=function(n,r){var i=t(r),o=e(n)&&/\)[*?]/.test(n.source);if(i&&o){var a=function(t){var e=arguments.length,i=n.lastIndex;n.lastIndex=0;var o=n.exec(t)||[];return n.lastIndex=i,$(o,arguments[e-2],arguments[e-1]),r.apply(this,o)};return Ee.call(this,n,a)}return Ee.call(this,n,r)});var Se=u.substr,_e="".substr&&"b"!=="0b".substr(-1);F(u,{substr:function(t,e){var n=t;return 0>t&&(n=w(this.length+t,0)),Se.call(this,n,e)}},_e);var Ae="\t\n\v\f\r  áá ââââââ ââââââ¯âã\u2028\u2029\ufeff",Ie="â",Ce="["+Ae+"]",xe=new RegExp("^"+Ce+Ce+"*"),De=new RegExp(Ce+Ce+"*$"),Le=u.trim&&(Ae.trim()||!Ie.trim());F(u,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(xe,"").replace(De,"")}},Le);var Oe=y.bind(String.prototype.trim),Re=u.lastIndexOf&&-1!=="abcãã".lastIndexOf("ãã",2);F(u,{lastIndexOf:function(t){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var e=l(this),n=l(t),r=arguments.length>1?c(arguments[1]):NaN,i=B(r)?1/0:G.ToInteger(r),o=E(w(i,0),e.length),a=n.length,s=o+a;s>0;){s=w(0,s-a);var u=q(X(e,s,o+a),n);if(-1!==u)return s+u}return-1}},Re);var ke=u.lastIndexOf;if(F(u,{lastIndexOf:function(t){return ke.apply(this,arguments)}},1!==u.lastIndexOf.length),(8!==parseInt(Ae+"08")||22!==parseInt(Ae+"0x16"))&&(parseInt=function(t){var e=/^[-+]?0[xX]/;return function(n,r){var i=Oe(String(n)),o=c(r)||(e.test(i)?16:10);return t(i,o)}}(parseInt)),1/parseFloat("-0")!==-(1/0)&&(parseFloat=function(t){return function(e){var n=Oe(String(e)),r=t(n);return 0===r&&"-"===X(n,0,1)?-0:r}}(parseFloat)),"RangeError: test"!==String(new RangeError("test"))){var Ne=function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var t=this.name;"undefined"==typeof t?t="Error":"string"!=typeof t&&(t=l(t));var e=this.message;return"undefined"==typeof e?e="":"string"!=typeof e&&(e=l(e)),t?e?t+": "+e:t:e};Error.prototype.toString=Ne}if(j){var Me=function(t,e){if(Q(t,e)){var n=Object.getOwnPropertyDescriptor(t,e);n.configurable&&(n.enumerable=!1,Object.defineProperty(t,e,n))}};Me(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Me(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var Pe=function(){var t="/"+this.source+"/";return this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),t};RegExp.prototype.toString=Pe}})},{}],39:[function(t,e,n){var r=[],i=r.forEach,o=r.slice;
35e.exports=function(t){return i.call(o.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t}},{}],40:[function(t,e,n){n.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+t[e+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+f>=1?d/l:d*Math.pow(2,1-f),e*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(e*l-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[n+h]=255&a,h+=p,a/=256,u-=8);t[n+h-p]|=128*g}},{}],41:[function(t,e,n){var r=[].indexOf;e.exports=function(t,e){if(r)return t.indexOf(e);for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}},{}],42:[function(t,e,n){function r(t){var e=i.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)}e.exports=r;var i=Object.prototype.toString},{}],43:[function(t,e,n){var r={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},{}],44:[function(e,r,i){(function(e){!function(n){function o(t){throw new RangeError(N[t])}function a(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(k,".");var i=t.split("."),o=a(i,e).join(".");return r+o}function l(t){for(var e,n,r=[],i=0,o=t.length;o>i;)e=t.charCodeAt(i++),e>=55296&&56319>=e&&o>i?(n=t.charCodeAt(i++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--)):r.push(e);return r}function u(t){return a(t,function(t){var e="";return t>65535&&(t-=65536,e+=j(t>>>10&1023|55296),t=56320|1023&t),e+=j(t)}).join("")}function c(t){return 10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:S}function f(t,e){return t+22+75*(26>t)-((0!=e)<<5)}function d(t,e,n){var r=0;for(t=n?P(t/C):t>>1,t+=P(t/e);t>M*A>>1;r+=S)t=P(t/M);return P(r+(M+1)*t/(t+I))}function h(t){var e,n,r,i,a,s,l,f,h,p,g=[],m=t.length,v=0,y=D,b=x;for(n=t.lastIndexOf(L),0>n&&(n=0),r=0;n>r;++r)t.charCodeAt(r)>=128&&o("not-basic"),g.push(t.charCodeAt(r));for(i=n>0?n+1:0;m>i;){for(a=v,s=1,l=S;i>=m&&o("invalid-input"),f=c(t.charCodeAt(i++)),(f>=S||f>P((T-v)/s))&&o("overflow"),v+=f*s,h=b>=l?_:l>=b+A?A:l-b,!(h>f);l+=S)p=S-h,s>P(T/p)&&o("overflow"),s*=p;e=g.length+1,b=d(v-a,e,0==a),P(v/e)>T-y&&o("overflow"),y+=P(v/e),v%=e,g.splice(v++,0,y)}return u(g)}function p(t){var e,n,r,i,a,s,u,c,h,p,g,m,v,y,b,w=[];for(t=l(t),m=t.length,e=D,n=0,a=x,s=0;m>s;++s)g=t[s],128>g&&w.push(j(g));for(r=i=w.length,i&&w.push(L);m>r;){for(u=T,s=0;m>s;++s)g=t[s],g>=e&&u>g&&(u=g);for(v=r+1,u-e>P((T-n)/v)&&o("overflow"),n+=(u-e)*v,e=u,s=0;m>s;++s)if(g=t[s],e>g&&++n>T&&o("overflow"),g==e){for(c=n,h=S;p=a>=h?_:h>=a+A?A:h-a,!(p>c);h+=S)b=c-p,y=S-p,w.push(j(f(p+b%y,0))),c=P(b/y);w.push(j(f(c,0))),a=d(n,v,r==i),n=0,++r}++n,++e}return w.join("")}function g(t){return s(t,function(t){return O.test(t)?h(t.slice(4).toLowerCase()):t})}function m(t){return s(t,function(t){return R.test(t)?"xn--"+p(t):t})}var v="object"==typeof i&&i&&!i.nodeType&&i,y="object"==typeof r&&r&&!r.nodeType&&r,b="object"==typeof e&&e;(b.global===b||b.window===b||b.self===b)&&(n=b);var w,E,T=2147483647,S=36,_=1,A=26,I=38,C=700,x=72,D=128,L="-",O=/^xn--/,R=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,N={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=S-_,P=Math.floor,j=String.fromCharCode;if(w={version:"1.4.1",ucs2:{decode:l,encode:u},decode:h,encode:p,toASCII:m,toUnicode:g},"function"==typeof t&&"object"==typeof t.amd&&t.amd)t("punycode",function(){return w});else if(v&&y)if(r.exports==v)y.exports=w;else for(E in w)w.hasOwnProperty(E)&&(v[E]=w[E]);else n.punycode=w}(this)}).call(this,"undefined"!=typeof n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(e,n,r){!function(e,r){"undefined"!=typeof n&&n.exports?n.exports=r():"function"==typeof t&&t.amd?t(r):this[e]=r()}("$script",function(){function t(t,e){for(var n=0,r=t.length;r>n;++n)if(!e(t[n]))return l;return 1}function e(e,n){t(e,function(t){return!n(t)})}function n(o,a,s){function l(t){return t.call?t():d[t]}function c(){if(!--y){d[v]=1,m&&m();for(var n in p)t(n.split("|"),l)&&!e(p[n],l)&&(p[n]=[])}}o=o[u]?o:[o];var f=a&&a.call,m=f?a:s,v=f?o.join(""):a,y=o.length;return setTimeout(function(){e(o,function t(e,n){return null===e?c():(n||/^https?:\/\//.test(e)||!i||(e=-1===e.indexOf(".js")?i+e+".js":i+e),g[e]?(v&&(h[v]=1),2==g[e]?c():setTimeout(function(){t(e,!0)},0)):(g[e]=1,v&&(h[v]=1),void r(e,c)))})},0),n}function r(t,e){var n,r=a.createElement("script");r.onload=r.onerror=r[f]=function(){r[c]&&!/^c|loade/.test(r[c])||n||(r.onload=r[f]=null,n=1,g[t]=2,e())},r.async=1,r.src=o?t+(-1===t.indexOf("?")?"?":"&")+o:t,s.insertBefore(r,
35s.lastChild)}var i,o,a=document,s=a.getElementsByTagName("head")[0],l=!1,u="push",c="readyState",f="onreadystatechange",d={},h={},p={},g={};return n.get=r,n.order=function(t,e,r){!function i(o){o=t.shift(),t.length?n(o,i):n(o,e,r)}()},n.path=function(t){i=t},n.urlArgs=function(t){o=t},n.ready=function(r,i,o){r=r[u]?r:[r];var a=[];return!e(r,function(t){d[t]||a[u](t)})&&t(r,function(t){return d[t]})?i():!function(t){p[t]=p[t]||[],p[t][u](i),o&&o(a)}(r.join("|")),n},n.done=function(t){n([null],t)},n})},{}]},{},[32])(32)})}).call(e,n(37),function(){return this}(),n(37),n(1122))},875:function(t,e,n){var r,i,o;/*! 36 * jQuery Cookie Plugin v1.4.1 37 * https://github.com/carhartl/jquery-cookie 38 * 39 * Copyright 2013 Klaus Hartl 40 * Released under the MIT license 41 */ 42!function(a){i=[n(37)],r=a,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o))}(function(t){function e(t){return s.raw?t:encodeURIComponent(t)}function n(t){return s.raw?t:decodeURIComponent(t)}function r(t){return e(s.json?JSON.stringify(t):String(t))}function i(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(a," ")),s.json?JSON.parse(t):t}catch(t){}}function o(e,n){var r=s.raw?e:i(e);return t.isFunction(n)?n(r):r}var a=/\+/g,s=t.cookie=function(i,a,l){if(void 0!==a&&!t.isFunction(a)){if(l=t.extend({},s.defaults,l),"number"==typeof l.expires){var u=l.expires,c=l.expires=new Date;c.setTime(+c+864e5*u)}return document.cookie=[e(i),"=",r(a),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var f=i?void 0:{},d=document.cookie?document.cookie.split("; "):[],h=0,p=d.length;h<p;h++){var g=d[h].split("="),m=n(g.shift()),v=g.join("=");if(i&&i===m){f=o(v,a);break}i||void 0===(v=o(v))||(f[m]=v)}return f};s.defaults={},t.removeCookie=function(e,n){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}})},877:function(t,e,n){n(878),t.exports=n(14).core},878:function(t,e,n){n(916),n(899),n(900),n(901),n(903),n(902),n(894),n(897),n(898),n(896),n(910),n(913),n(912),n(908),n(909),n(911),n(914),n(915),n(890),n(892),n(893),n(891),n(886),n(887),n(889),n(888),n(906),n(904),n(895),n(907),n(917),n(918),n(905),t.exports=n(14).core},879:function(t,e,n){var r=n(14);t.exports=Object.assign||function(t,e){for(var n=Object(r.assertDefined(t)),i=arguments.length,o=1;i>o;)for(var a,s=r.ES5Object(arguments[o++]),l=r.getKeys(s),u=l.length,c=0;u>c;)n[a=l[c++]]=s[a];return n}},880:function(t,e){t.exports=function(t){return t.FW=!0,t.path=t.g,t}},881: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]);case 5:return r?t(e[0],e[1],e[2],e[3],e[4]):t.call(n,e[0],e[1],e[2],e[3],e[4])}return t.apply(n,e)}},882:function(t,e,n){var r=n(14);t.exports=function(t,e){for(var n,i=r.toObject(t),o=r.getKeys(i),a=o.length,s=0;a>s;)if(i[n=o[s++]]===e)return n}},883:function(t,e,n){var r=n(14),i=n(125).obj;t.exports=function(t){return i(t),r.getSymbols?r.getNames(t).concat(r.getSymbols(t)):r.getNames(t)}},884:function(t,e){"use strict";t.exports=function(t,e,n){var r=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(n?e:this).replace(t,r)}}},885:function(t,e,n){"use strict";function r(){var t=+this;if(l.has(S,t)){var e=S[t];delete S[t],e()}}function i(t){r.call(t.data)}var o,a,s,l=n(14),u=n(198),c=n(120),f=n(881),d=l.g,h=l.isFunction,p=l.html,g=d.document,m=d.process,v=d.setImmediate,y=d.clearImmediate,b=d.postMessage,w=d.addEventListener,E=d.MessageChannel,T=0,S={},_="onreadystatechange";h(v)&&h(y)||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return S[++T]=function(){f(h(t)?t:Function(t),e)},o(T),T},y=function(t){delete S[t]},"process"==c(m)?o=function(t){m.nextTick(u(r,t,1))}:w&&h(b)&&!d.importScripts?(o=function(t){b(t,"*")},w("message",i,!1)):h(E)?(a=new E,s=a.port2,a.port1.onmessage=i,o=u(s.postMessage,s,1)):o=g&&_ in g.createElement("script")?function(t){p.appendChild(g.createElement("script"))[_]=function(){p.removeChild(this),r.call(t)}}:function(t){setTimeout(u(r,t,1),0)}),t.exports={set:v,clear:y}},886:function(t,e,n){"use strict";var r=n(14),i=n(38),o=r.toIndex;i(i.P,"Array",{copyWithin:function(t,e){var n=Object(r.assertDefined(this)),i=r.toLength(n.length),a=o(t,i),s=o(e,i),l=arguments[2],u=void 0===l?i:o(l,i),c=Math.min(u-s,i-a),f=1;for(s<a&&a<s+c&&(f=-1,s=s+c-1,a=a+c-1);c-- >0;)s in n?n[a]=n[s]:delete n[a],a+=f,s+=f;return n}}),n(335)("copyWithin")},887:function(t,e,n){"use strict";var r=n(14),i=n(38),o=r.toIndex;i(i.P,"Array",{fill:function(t){for(var e=Object(r.assertDefined(this)),n=r.toLength(e.length),i=o(arguments[1],n),a=arguments[2],s=void 0===a?n:o(a,n);s>i;)e[i++]=t;return e}}),n(335)("fill")},888:function(t,e,n){var r=n(38);r(r.P,"Array",{findIndex:n(865)(6)}),n(335)("findIndex")},889:function(t,e,n){var r=n(38);
42r(r.P,"Array",{find:n(865)(5)}),n(335)("find")},890:function(t,e,n){var r=n(14),i=n(198),o=n(38),a=n(199),s=a.stepCall;o(o.S+o.F*!n(866)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,u=Object(r.assertDefined(t)),c=arguments[1],f=void 0!==c,d=f?i(c,arguments[2],2):void 0,h=0;if(a.is(u))for(l=a.get(u),n=new("function"==typeof this?this:Array);!(o=l.next()).done;h++)n[h]=f?s(l,d,[o.value,h],!0):o.value;else for(n=new("function"==typeof this?this:Array)(e=r.toLength(u.length));e>h;h++)n[h]=f?d(u[h],h):u[h];return n.length=h,n}})},891:function(t,e,n){var r=n(14),i=n(335),o=n(200).safe("iter"),a=n(199),s=a.step,l=a.Iterators;a.std(Array,"Array",function(t,e){r.set(this,o,{o:r.toObject(t),i:0,k:e})},function(){var t=this[o],e=t.o,n=t.k,r=t.i++;return!e||r>=e.length?(t.o=void 0,s(1)):"key"==n?s(0,r):"value"==n?s(0,e[r]):s(0,[r,e[r]])},"value"),l.Arguments=l.Array,i("keys"),i("values"),i("entries")},892:function(t,e,n){var r=n(38);r(r.S,"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)n[t]=arguments[t++];return n.length=e,n}})},893:function(t,e,n){n(361)(Array)},894:function(t,e,n){"use strict";var r=n(14),i="name",o=r.setDesc,a=Function.prototype;i in a||r.FW&&r.DESC&&o(a,i,{configurable:!0,get:function(){var t=String(this).match(/^\s*function ([^ (]*)/),e=t?t[1]:"";return r.has(this,i)||o(this,i,r.desc(5,e)),e},set:function(t){r.has(this,i)||o(this,i,r.desc(0,t))}})},895:function(t,e,n){"use strict";var r=n(870);n(360)("Map",{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},896:function(t,e,n){function r(t){return t+1/v-1/v}function i(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):h(t+p(t*t+1)):t}function a(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:d(t)-1}var s=1/0,l=n(38),u=Math.E,c=Math.pow,f=Math.abs,d=Math.exp,h=Math.log,p=Math.sqrt,g=Math.ceil,m=Math.floor,v=c(2,-52),y=c(2,-23),b=c(2,127)*(2-y),w=c(2,-126);l(l.S,"Math",{acosh:function(t){return(t=+t)<1?NaN:isFinite(t)?h(t/u+p(t+1)*p(t-1)/u)+1:t},asinh:o,atanh:function(t){return 0==(t=+t)?t:h((1+t)/(1-t))/2},cbrt:function(t){return i(t=+t)*c(f(t),1/3)},clz32:function(t){return(t>>>=0)?31-m(h(t+.5)*Math.LOG2E):32},cosh:function(t){return(d(t=+t)+d(-t))/2},expm1:a,fround:function(t){var e,n,o=f(t),a=i(t);return o<w?a*r(o/w/y)*w*y:(e=(1+y/v)*o,n=e-(e-o),n>b||n!=n?a*s:a*n)},hypot:function(t,e){for(var n,r=0,i=arguments.length,o=i,a=Array(i),l=-s;i--;){if(n=a[i]=+arguments[i],n==s||n==-s)return s;n>l&&(l=n)}for(l=n||1;o--;)r+=c(a[o]/l,2);return l*p(r)},imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)},log1p:function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:h(1+t)},log10:function(t){return h(t)/Math.LN10},log2:function(t){return h(t)/Math.LN2},sign:i,sinh:function(t){return f(t=+t)<1?(a(t)-a(-t))/2:(d(t-1)-d(-t-1))*(u/2)},tanh:function(t){var e=a(t=+t),n=a(-t);return e==s?1:n==s?-1:(e-n)/(d(t)+d(-t))},trunc:function(t){return(t>0?m:g)(t)}})},897:function(t,e,n){"use strict";function r(t){var e,n;if(s(e=t.valueOf)&&!a(n=e.call(t)))return n;if(s(e=t.toString)&&!a(n=e.call(t)))return n;throw TypeError("Can't convert object to number")}function i(t){if(a(t)&&(t=r(t)),"string"==typeof t&&t.length>2&&48==t.charCodeAt(0)){var e=!1;switch(t.charCodeAt(1)){case 66:case 98:e=!0;case 79:case 111:return parseInt(t.slice(2),e?2:8)}}return+t}var o=n(14),a=o.isObject,s=o.isFunction,l="Number",u=o.g[l],c=u,f=u.prototype;!o.FW||u("0o1")&&u("0b1")||(u=function t(e){return this instanceof t?new c(i(e)):i(e)},o.each.call(o.DESC?o.getNames(c):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(t){o.has(c,t)&&!o.has(u,t)&&o.setDesc(u,t,o.getDesc(c,t))}),u.prototype=f,f.constructor=u,o.hide(o.g,l,u))},898:function(t,e,n){function r(t){return!i.isObject(t)&&l(t)&&s(t)===t}var i=n(14),o=n(38),a=Math.abs,s=Math.floor,l=i.g.isFinite,u=9007199254740991;o(o.S,"Number",{EPSILON:Math.pow(2,-52),isFinite:function(t){return"number"==typeof t&&l(t)},isInteger:r,isNaN:function(t){return t!=t},isSafeInteger:function(t){return r(t)&&a(t)<=u}
42,MAX_SAFE_INTEGER:u,MIN_SAFE_INTEGER:-u,parseFloat:parseFloat,parseInt:parseInt})},899:function(t,e,n){var r=n(38);r(r.S,"Object",{assign:n(879)})},900:function(t,e,n){var r=n(38);r(r.S,"Object",{is:function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}})},901:function(t,e,n){var r=n(38);r(r.S,"Object",{setPrototypeOf:n(872).set})},902:function(t,e,n){function r(t,e){var n=(i.core.Object||{})[t]||Object[t],r=0,l={};l[t]=1==e?function(t){return a(t)?n(t):t}:2==e?function(t){return!a(t)||n(t)}:3==e?function(t){return!!a(t)&&n(t)}:4==e?function(t,e){return n(s(t),e)}:5==e?function(t){return n(Object(i.assertDefined(t)))}:function(t){return n(s(t))};try{n("z")}catch(t){r=1}o(o.S+o.F*r,"Object",l)}var i=n(14),o=n(38),a=i.isObject,s=i.toObject;r("freeze",1),r("seal",1),r("preventExtensions",1),r("isFrozen",2),r("isSealed",2),r("isExtensible",3),r("getOwnPropertyDescriptor",4),r("getPrototypeOf",5),r("keys"),r("getOwnPropertyNames")},903:function(t,e,n){"use strict";var r=n(14),i=n(120),o={};o[n(201)("toStringTag")]="z",r.FW&&"z"!=i(o)&&r.hide(Object.prototype,"toString",function(){return"[object "+i.classof(this)+"]"})},904:function(t,e,n){"use strict";function r(t){var e=x(t)[m];return void 0!=e?e:t}function i(t){var e;return I(t)&&(e=t.then),!!A(e)&&e}function o(t){var e,n=t[v],r=n.c,i=0;if(n.h)return!1;for(;r.length>i;)if(e=r[i++],e.fail||!o(e.P))return!1;return!0}function a(t,e){var n=t.c;(e||n.length)&&T(function(){var r=t.p,a=t.v,s=1==t.s,l=0;if(e&&o(r))setTimeout(function(){o(r)&&("process"==d(E)?E.emit("unhandledRejection",a,r):w.console&&A(console.error)&&console.error("Unhandled promise rejection",a))},1e3);else for(;n.length>l;)!function(e){var n,r,o=s?e.ok:e.fail;try{o?(s||(t.h=!0),n=o===!0?a:o(a),n===e.P?e.rej(TypeError(b+"-chain cycle")):(r=i(n))?r.call(n,e.res,e.rej):e.res(n)):e.rej(a)}catch(t){e.rej(t)}}(n[l++]);n.length=0})}function s(t){var e=this;e.d||(e.d=!0,e=e.r||e,e.v=t,e.s=2,a(e,!0))}function l(t){var e,n,r=this;if(!r.d){r.d=!0,r=r.r||r;try{(e=i(t))?(n={r:r,d:!1},e.call(t,f(l,n,1),f(s,n,1))):(r.v=t,r.s=1,a(r))}catch(t){s.call(n||{r:r,d:!1}
42,t)}}}var u,c=n(14),f=n(198),d=n(120),h=n(38),p=n(125),g=n(199),m=n(201)("species"),v=n(200).safe("record"),y=g.forOf,b="Promise",w=c.g,E=w.process,T=E&&E.nextTick||n(885).set,S=w[b],_=S,A=c.isFunction,I=c.isObject,C=p.fn,x=p.obj;A(S)&&A(S.resolve)&&S.resolve(u=new S(function(){}))==u||(S=function(t){C(t);var e={p:p.inst(this,S,b),c:[],s:0,d:!1,v:void 0,h:!1};c.hide(this,v,e);try{t(f(l,e,1),f(s,e,1))}catch(t){s.call(e,t)}},c.mix(S.prototype,{then:function(t,e){var n=x(x(this).constructor)[m],r={ok:!A(t)||t,fail:!!A(e)&&e},i=r.P=new(void 0!=n?n:S)(function(t,e){r.res=C(t),r.rej=C(e)}),o=this[v];return o.c.push(r),o.s&&a(o),i},catch:function(t){return this.then(void 0,t)}})),h(h.G+h.W+h.F*(S!=_),{Promise:S}),d.set(S,b),n(361)(S),h(h.S,b,{reject:function(t){return new(r(this))(function(e,n){n(t)})},resolve:function(t){return I(t)&&v in t&&c.getProto(t)===this.prototype?t:new(r(this))(function(e){e(t)})}}),h(h.S+h.F*!n(866)(function(t){S.all(t).catch(function(){})}),b,{all:function(t){var e=r(this),n=[];return new e(function(r,i){y(t,!1,n.push,n);var o=n.length,a=Array(o);o?c.each.call(n,function(t,n){e.resolve(t).then(function(t){a[n]=t,--o||r(a)},i)}):r(a)})},race:function(t){var e=r(this);return new e(function(n,r){y(t,!1,function(t){e.resolve(t).then(n,r)})})}})},905:function(t,e,n){function r(t){var e,n=[];for(e in t)n.push(e);s.set(this,f,{o:t,a:n,i:0})}function i(t){return function(e){b(e);try{return t.apply(void 0,arguments),!0}catch(t){return!1}}}function o(t,e){var n,r=arguments.length<3?t:arguments[2],i=g(b(t),e);return i?s.has(i,"value")?i.value:void 0===i.get?void 0:i.get.call(r):p(n=v(t))?o(n,e,r):void 0}function a(t,e,n){var r,i,o=arguments.length<4?t:arguments[3],l=g(b(t),e);if(!l){if(p(i=v(t)))return a(i,e,n,o);l=s.desc(0)}return s.has(l,"value")?!(l.writable===!1||!p(o))&&(r=g(o,e)||s.desc(0),r.value=n,m(o,e,r),!0):void 0!==l.set&&(l.set.call(o,n),!0)}var s=n(14),l=n(38),u=n(872),c=n(199),f=n(200).safe("iter"),d=c.step,h=n(125),p=s.isObject,g=s.getDesc,m=s.setDesc,v=s.getProto,y=Function.apply,b=h.obj,w=Object.isExtensible||s.it;c.create(r,"Object",function(){var t,e=this[f],n=e.a;do if(e.i>=n.length)return d(1);while(!((t=n[e.i++])in e.o));return d(0,t)});var E={apply:n(198)(Function.call,y,3),construct:function(t,e){var n=h.fn(arguments.length<3?t:arguments[2]).prototype,r=s.create(p(n)?n:Object.prototype),i=y.call(t,r,e);return p(i)?i:r},defineProperty:i(m),deleteProperty:function(t,e){var n=g(b(t),e);return!(n&&!n.configurable)&&delete t[e]},enumerate:function(t){return new r(b(t))},get:o,getOwnPropertyDescriptor:function(t,e){return g(b(t),e)},getPrototypeOf:function(t){return v(b(t))},has:function(t,e){return e in t},isExtensible:function(t){return!!w(b(t))},ownKeys:n(883),preventExtensions:i(Object.preventExtensions||s.it),set:a};u&&(E.setPrototypeOf=function(t,e){u.check(t,e);try{return u.set(t,e),!0}catch(t){return!1}}),l(l.G,{Reflect:{}}),l(l.S,"Reflect",E)},906:function(t,e,n){var r=n(14),i=n(120),o=r.g.RegExp,a=o,s=o.prototype;r.FW&&r.DESC&&(function(){try{return"/a/i"==o(/a/g,"i")}catch(t){}}()||(o=function(t,e){return new a("RegExp"==i(t)&&void 0!==e?t.source:t,e)},r.each.call(r.getNames(a),function(t){t in o||r.setDesc(o,t,{configurable:!0,get:function(){return a[t]},set:function(e){a[t]=e}})}),s.constructor=o,o.prototype=s,r.hide(r.g,"RegExp",o)),"g"!=/./g.flags&&r.setDesc(s,"flags",{configurable:!0,get:n(884)(/^.*\/(\w*)$/,"$1")})),n(361)(o)},907:function(t,e,n){"use strict";var r=n(870);n(360)("Set",{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},908:function(t,e,n){var r=n(38);r(r.P,"String",{codePointAt:n(873)(!1)})},909:function(t,e,n){"use strict";var r=n(14),i=n(120),o=n(38),a=r.toLength;o(o.P,"String",{endsWith:function(t){if("RegExp"==i(t))throw TypeError();var e=String(r.assertDefined(this)),n=arguments[1],o=a(e.length),s=void 0===n?o:Math.min(a(n),o);return t+="",e.slice(s-t.length,s)===t}})},910:function(t,e,n){var r=n(38),i=n(14).toIndex,o=String.fromCharCode;r(r.S,"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],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("")}})},911:function(t,e,n){"use strict";var r=n(14),i=n(120),o=n(38);o(o.P,"String",{includes:function(t){if("RegExp"==i(t))throw TypeError();return!!~String(r.assertDefined(this)).indexOf(t,arguments[1])}})},912:function(t,e,n){var r=n(14).set,i=n(873)(!0),o=n(200).safe("iter"),a=n(199),s=a.step;a.std(String,"String",function(t){r(this,o,{o:String(t),i:0})},function(){var t,e=this[o],n=e.o,r=e.i;return r>=n.length?s(1):(t=i.call(n,r),e.i+=t.length,s(0,t))})},913:function(t,e,n){var r=n(14),i=n(38);i(i.S,"String",{raw:function(t){for(var e=r.toObject(t.raw),n=r.toLength(e.length),i=arguments.length,o=[],a=0;n>a;)o.push(String(e[a++])),a<i&&o.push(String(arguments[a]));return o.join("")}})},914:function(t,e,n){"use strict";var r=n(14),i=n(38);i(i.P,"String",{repeat:function(t){var e=String(r.assertDefined(this)),n="",i=r.toInteger(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>
42=1)&&(e+=e))1&i&&(n+=e);return n}})},915:function(t,e,n){"use strict";var r=n(14),i=n(120),o=n(38);o(o.P,"String",{startsWith:function(t){if("RegExp"==i(t))throw TypeError();var e=String(r.assertDefined(this)),n=r.toLength(Math.min(arguments[1],e.length));return t+="",e.slice(n,n+t.length)===t}})},916:function(t,e,n){"use strict";function r(t){var e=y[t]=i.set(i.create(h.prototype),m,t);return i.DESC&&g&&i.setDesc(Object.prototype,t,{configurable:!0,set:function(e){c(this,t,e)}}),e}var i=n(14),o=n(120).set,a=n(200),s=n(38),l=n(882),u=i.has,c=i.hide,f=i.getNames,d=i.toObject,h=i.g.Symbol,p=h,g=!1,m=a.safe("tag"),v={},y={};i.isFunction(h)||(h=function t(e){if(this instanceof t)throw TypeError("Symbol is not a constructor");return r(a(e))},c(h.prototype,"toString",function(){return this[m]})),s(s.G+s.W,{Symbol:h});var b={for:function(t){return u(v,t+="")?v[t]:v[t]=h(t)},keyFor:function(t){return l(v,t)},pure:a.safe,set:i.set,useSetter:function(){g=!0},useSimple:function(){g=!1}};i.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=n(201)(t);b[t]=h===p?e:r(e)}),g=!0,s(s.S,"Symbol",b),s(s.S+s.F*(h!=p),"Object",{getOwnPropertyNames:function(t){for(var e,n=f(d(t)),r=[],i=0;n.length>i;)u(y,e=n[i++])||r.push(e);return r},getOwnPropertySymbols:function(t){for(var e,n=f(d(t)),r=[],i=0;n.length>i;)u(y,e=n[i++])&&r.push(y[e]);return r}}),o(h,"Symbol"),o(Math,"Math",!0),o(i.g.JSON,"JSON",!0)},917:function(t,e,n){"use strict";var r=n(14),i=n(871),o=i.leakStore,a=i.ID,s=i.WEAK,l=r.has,u=r.isObject,c=Object.isFrozen||r.core.Object.isFrozen,f={},d=n(360)("WeakMap",{get:function(t){if(u(t)){if(c(t))return o(this).get(t);if(l(t,s))return t[s][this[a]]}},set:function(t,e){return i.def(this,t,e)}},i,!0,!0);r.FW&&7!=(new d).set((Object.freeze||Object)(f),7).get(f)&&r.each.call(["delete","has","get","set"],function(t){var e=d.prototype[t];d.prototype[t]=function(n,r){if(u(n)&&c(n)){var i=o(this)[t](n,r);return"set"==t?this:i}return e.call(this,n,r)}})},918:function(t,e,n){"use strict";var r=n(871);n(360)("WeakSet",{add:function(t){return r.def(this,t,!0)}},r,!1,!0)},919:function(t,e,n){(function(t){"use strict";if(t._babelPolyfill)throw new Error("only one instance of babel/polyfill is allowed");t._babelPolyfill=!0,n(877),n(928)}).call(e,function(){return this}())},927:function(t,e,n){(function(t,e){/*! 43 * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) 44 * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 45 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 46 */ 47if("undefined"==typeof t)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),+function(){function n(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}function r(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)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o="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},a=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}}(),s=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(t){return(t[0]||t).nodeType}function r(){return{bindType:s.end,delegateType:s.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function i(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in u)if(void 0!==t.style[e])return{end:u[e]};return!1}function o(e){var n=this,r=!1;return t(this).one(c.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||c.triggerTransitionEnd(n)},e),this}function a(){s=i(),t.fn.emulateTransitionEnd=o,c.supportsTransitionEnd()&&(t.event.special[c.TRANSITION_END]=r())}var s=!1,l=1e6,u={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do t+=~~(Math.random()*l);while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(s.end)},supportsTransitionEnd:function(){return Boolean(s)},typeCheckConfig:function(t,r,i){for(var o in i)if(i.hasOwnProperty(o)){var a=i[o],s=r[o],l=s&&n(s)?"element":e(s);if(!new RegExp(a).test(l))throw new Error(t.toUpperCase()+": "+('Option "'+o+'" provided type "'+l+'" ')+('but expected type "'+a+'".'))}}};return a(),c}(t),l=(function(t){var e="alert",n="4.0.0-alpha.6",r="bs.alert",o="."+r,l=".data-api",u=t.fn[e],c=150,f={DISMISS:'[data-dismiss="alert"]'}
vendor: 8,476 bytes, line 47
47,d={CLOSE:"close"+o,CLOSED:"closed"+o,CLICK_DATA_API:"click"+o+l},h={ALERT:"alert",FADE:"fade",SHOW:"show"},p=function(){function e(t){i(this,e),this._element=t}return e.prototype.close=function(t){t=t||this._element;var e=this._getRootElement(t),n=this._triggerCloseEvent(e);n.isDefaultPrevented()||this._removeElement(e)},e.prototype.dispose=function(){t.removeData(this._element,r),this._element=null},e.prototype._getRootElement=function(e){var n=s.getSelectorFromElement(e),r=!1;return n&&(r=t(n)[0]),r||(r=t(e).closest("."+h.ALERT)[0]),r},e.prototype._triggerCloseEvent=function(e){var n=t.Event(d.CLOSE);return t(e).trigger(n),n},e.prototype._removeElement=function(e){var n=this;return t(e).removeClass(h.SHOW),s.supportsTransitionEnd()&&t(e).hasClass(h.FADE)?void t(e).one(s.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(c):void this._destroyElement(e)},e.prototype._destroyElement=function(e){t(e).detach().trigger(d.CLOSED).remove()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(r);o||(o=new e(this),i.data(r,o)),"close"===n&&o[n](this)})},e._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},a(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(d.CLICK_DATA_API,f.DISMISS,p._handleDismiss(new p)),t.fn[e]=p._jQueryInterface,t.fn[e].Constructor=p,t.fn[e].noConflict=function(){return t.fn[e]=u,p._jQueryInterface},p}(t),function(t){var e="button",n="4.0.0-alpha.6",r="bs.button",o="."+r,s=".data-api",l=t.fn[e],u={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},c={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},f={CLICK_DATA_API:"click"+o+s,FOCUS_BLUR_DATA_API:"focus"+o+s+" "+("blur"+o+s)},d=function(){function e(t){i(this,e),this._element=t}return e.prototype.toggle=function(){var e=!0,n=t(this._element).closest(c.DATA_TOGGLE)[0];if(n){var r=t(this._element).find(c.INPUT)[0];if(r){if("radio"===r.type)if(r.checked&&t(this._element).hasClass(u.ACTIVE))e=!1;else{var i=t(n).find(c.ACTIVE)[0];i&&t(i).removeClass(u.ACTIVE)}e&&(r.checked=!t(this._element).hasClass(u.ACTIVE),t(r).trigger("change")),r.focus()}}this._element.setAttribute("aria-pressed",!t(this._element).hasClass(u.ACTIVE)),e&&t(this._element).toggleClass(u.ACTIVE)},e.prototype.dispose=function(){t.removeData(this._element,r),this._element=null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(r);i||(i=new e(this),t(this).data(r,i)),"toggle"===n&&i[n]()})},a(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(f.CLICK_DATA_API,c.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var n=e.target;t(n).hasClass(u.BUTTON)||(n=t(n).closest(c.BUTTON)),d._jQueryInterface.call(t(n),"toggle")}).on(f.FOCUS_BLUR_DATA_API,c.DATA_TOGGLE_CARROT,function(e){var n=t(e.target).closest(c.BUTTON)[0];t(n).toggleClass(u.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn[e]=d._jQueryInterface,t.fn[e].Constructor=d,t.fn[e].noConflict=function(){return t.fn[e]=l,d._jQueryInterface},d}(t),function(t){var e="carousel",n="4.0.0-alpha.6",r="bs.carousel",l="."+r,u=".data-api",c=t.fn[e],f=600,d=37,h=39,p={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},g={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},m={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},v={SLIDE:"slide"+l,SLID:"slid"+l,KEYDOWN:"keydown"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l,LOAD_DATA_API:"load"+l+u,CLICK_DATA_API:"click"+l+u},y={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},b={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},w=function(){function u(e,n){i(this,u),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(n),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(b.INDICATORS)[0],this._addEventListeners()}return u.prototype.next=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(m.NEXT)},u.prototype.nextWhenVisible=function(){document.hidden||this.next()},u.prototype.prev=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(m.PREVIOUS)},u.prototype.pause=function(e){e||(this._isPaused=!0),t(this._element).find(b.NEXT_PREV)[0]&&s.supportsTransitionEnd()&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},u.prototype.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},u.prototype.to=function(e){var n=this;this._activeElement=t(this._element).find(b.ACTIVE_ITEM)[0];var r=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(v.SLID,function(){return n.to(e)});if(r===e)return this.pause(),void this.cycle();var i=e>r?m.NEXT:m.PREVIOUS;this._slide(i,this._items[e])}},u.prototype.dispose=function(){t(this._element).off(l),t.removeData(this._element,r),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},u.prototype._getConfig=function(n){return n=t.extend({},p,n),s.typeCheckConfig(e,n,g),n},u.prototype._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(v.KEYDOWN,function(t){return e._keydown(t)}),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(v.MOUSEENTER,function(t){return e.pause(t)}).on(v.MOUSELEAVE,function(t){return e.cycle(t)})},u.prototype._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case d:t.preventDefault(),this.prev();break;case h:t.preventDefault(),this.next();break;default:return}},u.prototype._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(b.ITEM)),this._items.indexOf(e)},u.prototype._getItemByDirection=function(t,e){var n=t===m.NEXT,r=t===m.PREVIOUS,i=this._getItemIndex(e),o=this._items.length-1,a=r&&0===i||n&&i===o;if(a&&!this._config.wrap)return e;var s=t===m.PREVIOUS?-1:1,l=(i+s)%this._items.length;return l===-1?this._items[this._items.length-1]:this._items[l]},u.prototype._triggerSlideEvent=function(e,n){var r=t.Event(v.SLIDE,{relatedTarget:e,direction:n});return t(this._element).trigger(r),r},u.prototype._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(b.ACTIVE).removeClass(y.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&t(n).addClass(y.ACTIVE)}},u.prototype._slide=function(e,n){var r=this,i=t(this._element).find(b.ACTIVE_ITEM)[0],o=n||i&&this._getItemByDirection(e,i),a=Boolean(this._interval),l=void 0,u=void 0,c=void 0;if(e===m.NEXT?(l=y.LEFT,u=y.NEXT,c=m.LEFT):(l=y.RIGHT,u=y.PREV,c=m.RIGHT),o&&t(o).hasClass(y.ACTIVE))return void(this._isSliding=!1);var d=this._triggerSlideEvent(o,c);if(!d.isDefaultPrevented()&&i&&o){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o);var h=t.Event(v.SLID,{relatedTarget:o,direction:c});s.supportsTransitionEnd()&&t(this._element).hasClass(y.SLIDE)?(t(o).addClass(u),s.reflow(o),t(i).addClass(l),t(o).addClass(l),t(i).one(s.TRANSITION_END,function(){t(o).removeClass(l+" "+u).addClass(y.ACTIVE),t(i).removeClass(y.ACTIVE+" "+u+" "+l),r._isSliding=!1,setTimeout(function(){return t(r._element).trigger(h)},0)}).emulateTransitionEnd(f)):(t(i).removeClass(y.ACTIVE),t(o).addClass(y.ACTIVE),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle()}},u._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(r),i=t.extend({},p,t(this).data());"object"===("undefined"==typeof e?"undefined":o(e))&&t.extend(i,e);var a="string"==typeof e?e:i.slide;if(n||(n=new u(this,i),t(this).data(r,n)),"number"==typeof e)n.to(e);else if("string"==typeof a){if(void 0===n[a])throw new Error('No method n
47amed "'+a+'"');n[a]()}else i.interval&&(n.pause(),n.cycle())})},u._dataApiClickHandler=function(e){var n=s.getSelectorFromElement(this);if(n){var i=t(n)[0];if(i&&t(i).hasClass(y.CAROUSEL)){var o=t.extend({},t(i).data(),t(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),u._jQueryInterface.call(t(i),o),a&&t(i).data(r).to(a),e.preventDefault()}}},a(u,null,[{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return p}}]),u}();return t(document).on(v.CLICK_DATA_API,b.DATA_SLIDE,w._dataApiClickHandler),t(window).on(v.LOAD_DATA_API,function(){t(b.DATA_RIDE).each(function(){var e=t(this);w._jQueryInterface.call(e,e.data())})}),t.fn[e]=w._jQueryInterface,t.fn[e].Constructor=w,t.fn[e].noConflict=function(){return t.fn[e]=c,w._jQueryInterface},w}(t),function(t){var e="collapse",n="4.0.0-alpha.6",r="bs.collapse",l="."+r,u=".data-api",c=t.fn[e],f=600,d={toggle:!0,parent:""},h={toggle:"boolean",parent:"string"},p={SHOW:"show"+l,SHOWN:"shown"+l,HIDE:"hide"+l,HIDDEN:"hidden"+l,CLICK_DATA_API:"click"+l+u},g={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},m={WIDTH:"width",HEIGHT:"height"},v={ACTIVES:".card > .show, .card > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},y=function(){function l(e,n){i(this,l),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],'+('[data-toggle="collapse"][data-target="#'+e.id+'"]'))),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return l.prototype.toggle=function(){t(this._element).hasClass(g.SHOW)?this.hide():this.show()},l.prototype.show=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(!t(this._element).hasClass(g.SHOW)){var n=void 0,i=void 0;if(this._parent&&(n=t.makeArray(t(this._parent).find(v.ACTIVES)),n.length||(n=null)),!(n&&(i=t(n).data(r),i&&i._isTransitioning))){var o=t.Event(p.SHOW);if(t(this._element).trigger(o),!o.isDefaultPrevented()){n&&(l._jQueryInterface.call(t(n),"hide"),i||t(n).data(r,null));var a=this._getDimension();t(this._element).removeClass(g.COLLAPSE).addClass(g.COLLAPSING),this._element.style[a]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(g.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var u=function(){t(e._element).removeClass(g.COLLAPSING).addClass(g.COLLAPSE).addClass(g.SHOW),e._element.style[a]="",e.setTransitioning(!1),t(e._element).trigger(p.SHOWN)};if(!s.supportsTransitionEnd())return void u();var c=a[0].toUpperCase()+a.slice(1),d="scroll"+c;t(this._element).one(s.TRANSITION_END,u).emulateTransitionEnd(f),this._element.style[a]=this._element[d]+"px"}}}},l.prototype.hide=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(t(this._element).hasClass(g.SHOW)){var n=t.Event(p.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var r=this._getDimension(),i=r===m.WIDTH?"offsetWidth":"offsetHeight";this._element.style[r]=this._element[i]+"px",s.reflow(this._element),t(this._element).addClass(g.COLLAPSING).removeClass(g.COLLAPSE).removeClass(g.SHOW),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(g.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var o=function(){e.setTransitioning(!1),t(e._element).removeClass(g.COLLAPSING).addClass(g.COLLAPSE).trigger(p.HIDDEN)};return this._element.style[r]="",s.supportsTransitionEnd()?void t(this._element).one(s.TRANSITION_END,o).emulateTransitionEnd(f):void o()}}},l.prototype.setTransitioning=function(t){this._isTransitioning=t},l.prototype.dispose=function(){t.removeData(this._element,r),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},l.prototype._getConfig=function(n){return n=t.extend({},d,n),n.toggle=Boolean(n.toggle),s.typeCheckConfig(e,n,h),n},l.prototype._getDimension=function(){var e=t(this._element).hasClass(m.WIDTH);return e?m.WIDTH:m.HEIGHT},l.prototype._getParent=function(){var e=this,n=t(this._config.parent)[0],r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(n).find(r).each(function(t,n){e._addAriaAndCollapsedClass(l._getTargetFromElement(n),[n])}),n},l.prototype._addAriaAndCollapsedClass=function(e,n){if(e){var r=t(e).hasClass(g.SHOW);e.setAttribute("aria-expanded",r),n.length&&t(n).toggleClass(g.COLLAPSED,!r).attr("aria-expanded",r)}},l._getTargetFromElement=function(e){var n=s.getSelectorFromElement(e);return n?t(n)[0]:null},l._jQueryInterface=function(e){return this.each(function(){var n=t(this),i=n.data(r),a=t.extend({},d,n.data(),"object"===("undefined"==typeof e?"undefined":o(e))&&e);if(!i&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),i||(i=new l(this,a),n.data(r,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method n
47amed "'+e+'"');i[e]()}})},a(l,null,[{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return d}}]),l}();return t(document).on(p.CLICK_DATA_API,v.DATA_TOGGLE,function(e){e.preventDefault();var n=y._getTargetFromElement(this),i=t(n).data(r),o=i?"toggle":t(this).data();y._jQueryInterface.call(t(n),o)}),t.fn[e]=y._jQueryInterface,t.fn[e].Constructor=y,t.fn[e].noConflict=function(){return t.fn[e]=c,y._jQueryInterface},y}(t),function(t){var e="dropdown",n="4.0.0-alpha.6",r="bs.dropdown",o="."+r,l=".data-api",u=t.fn[e],c=27,f=38,d=40,h=3,p={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click"+o+l,FOCUSIN_DATA_API:"focusin"+o+l,KEYDOWN_DATA_API:"keydown"+o+l},g={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",SHOW:"show"},m={BACKDROP:".dropdown-backdrop",DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",ROLE_MENU:'[role="menu"]',ROLE_LISTBOX:'[role="listbox"]',NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:'[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a'},v=function(){function e(t){i(this,e),this._element=t,this._addEventListeners()}return e.prototype.toggle=function(){if(this.disabled||t(this).hasClass(g.DISABLED))return!1;var n=e._getParentFromElement(this),r=t(n).hasClass(g.SHOW);if(e._clearMenus(),r)return!1;if("ontouchstart"in document.documentElement&&!t(n).closest(m.NAVBAR_NAV).length){var i=document.createElement("div");i.className=g.BACKDROP,t(i).insertBefore(this),t(i).on("click",e._clearMenus)}var o={relatedTarget:this},a=t.Event(p.SHOW,o);return t(n).trigger(a),!a.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded",!0),t(n).toggleClass(g.SHOW),t(n).trigger(t.Event(p.SHOWN,o)),!1)},e.prototype.dispose=function(){t.removeData(this._element,r),t(this._element).off(o),this._element=null},e.prototype._addEventListeners=function(){t(this._element).on(p.CLICK,this.toggle)},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(r);if(i||(i=new e(this),t(this).data(r,i)),"string"==typeof n){if(void 0===i[n])throw new Error('No method named "'+n+'"');i[n].call(this)}})},e._clearMenus=function(n){if(!n||n.which!==h){var r=t(m.BACKDROP)[0];r&&r.parentNode.removeChild(r);for(var i=t.makeArray(t(m.DATA_TOGGLE)),o=0;o<i.length;o++){var a=e._getParentFromElement(i[o]),s={relatedTarget:i[o]};if(t(a).hasClass(g.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"focusin"===n.type)&&t.contains(a,n.target))){var l=t.Event(p.HIDE,s);t(a).trigger(l),l.isDefaultPrevented()||(i[o].setAttribute("aria-expanded","false"),t(a).removeClass(g.SHOW).trigger(t.Event(p.HIDDEN,s)))}}}},e._getParentFromElement=function(e){var n=void 0,r=s.getSelectorFromElement(e);return r&&(n=t(r)[0]),n||e.parentNode},e._dataApiKeydownHandler=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(g.DISABLED))){var r=e._getParentFromElement(this),i=t(r).hasClass(g.SHOW);if(!i&&n.which!==c||i&&n.which===c){if(n.which===c){var o=t(r).find(m.DATA_TOGGLE)[0];t(o).trigger("focus")}return void t(this).trigger("click")}var a=t(r).find(m.VISIBLE_ITEMS).get();if(a.length){var s=a.indexOf(n.target);n.which===f&&s>0&&s--,n.which===d&&s<a.length-1&&s++,s<0&&(s=0),a[s].focus()}}},a(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(p.KEYDOWN_DATA_API,m.DATA_TOGGLE,v._dataApiKeydownHandler).on(p.KEYDOWN_DATA_API,m.ROLE_MENU,v._dataApiKeydownHandler).on(p.KEYDOWN_DATA_API,m.ROLE_LISTBOX,v._dataApiKeydownHandler).on(p.CLICK_DATA_API+" "+p.FOCUSIN_DATA_API,v._clearMenus).on(p.CLICK_DATA_API,m.DATA_TOGGLE,v.prototype.toggle).on(p.CLICK_DATA_API,m.FORM_CHILD,function(t){t.stopPropagation()}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=u,v._jQueryInterface},v}(t),function(t){var e="modal",n="4.0.0-alpha.6",r="bs.modal",l="."+r,u=".data-api",c=t.fn[e],f=300,d=150,h=27,p={backdrop:!0,keyboard:!0,focus:!0,show:!0},g={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},m={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,FOCUSIN:"focusin"+l,RESIZE:"resize"+l,CLICK_DISMISS:"click.dismiss"+l,KEYDOWN_DISMISS:"keydown.dismiss"+l,MOUSEUP_DISMISS:"mouseup.dismiss"+l,MOUSEDOWN_DISMISS:"mousedown.dismiss"+l,CLICK_DATA_API:"click"+l+u},v={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},y={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"},b=function(){function u(e,n){i(this,u),this._config=this._getConfig(n),this._element=e,this._dialog=t
vendor: 6,132 bytes, line 47
47(e).find(y.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return u.prototype.toggle=function(t){return this._isShown?this.hide():this.show(t)},u.prototype.show=function(e){var n=this;if(this._isTransitioning)throw new Error("Modal is transitioning");s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE)&&(this._isTransitioning=!0);var r=t.Event(m.SHOW,{relatedTarget:e});t(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),t(document.body).addClass(v.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(m.CLICK_DISMISS,y.DATA_DISMISS,function(t){return n.hide(t)}),t(this._dialog).on(m.MOUSEDOWN_DISMISS,function(){t(n._element).one(m.MOUSEUP_DISMISS,function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))},u.prototype.hide=function(e){var n=this;if(e&&e.preventDefault(),this._isTransitioning)throw new Error("Modal is transitioning");var r=s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE);r&&(this._isTransitioning=!0);var i=t.Event(m.HIDE);t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),t(document).off(m.FOCUSIN),t(this._element).removeClass(v.SHOW),t(this._element).off(m.CLICK_DISMISS),t(this._dialog).off(m.MOUSEDOWN_DISMISS),r?t(this._element).one(s.TRANSITION_END,function(t){return n._hideModal(t)}).emulateTransitionEnd(f):this._hideModal())},u.prototype.dispose=function(){t.removeData(this._element,r),t(window,document,this._element,this._backdrop).off(l),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},u.prototype._getConfig=function(n){return n=t.extend({},p,n),s.typeCheckConfig(e,n,g),n},u.prototype._showElement=function(e){var n=this,r=s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,r&&s.reflow(this._element),t(this._element).addClass(v.SHOW),this._config.focus&&this._enforceFocus();var i=t.Event(m.SHOWN,{relatedTarget:e}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(i)};r?t(this._dialog).one(s.TRANSITION_END,o).emulateTransitionEnd(f):o()},u.prototype._enforceFocus=function(){var e=this;t(document).off(m.FOCUSIN).on(m.FOCUSIN,function(n){document===n.target||e._element===n.target||t(e._element).has(n.target).length||e._element.focus()})},u.prototype._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(m.KEYDOWN_DISMISS,function(t){t.which===h&&e.hide()}):this._isShown||t(this._element).off(m.KEYDOWN_DISMISS)},u.prototype._setResizeEvent=function(){var e=this;this._isShown?t(window).on(m.RESIZE,function(t){return e._handleUpdate(t)}):t(window).off(m.RESIZE)},u.prototype._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._isTransitioning=!1,this._showBackdrop(function(){t(document.body).removeClass(v.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(m.HIDDEN)})},u.prototype._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},u.prototype._showBackdrop=function(e){var n=this,r=t(this._element).hasClass(v.FADE)?v.FADE:"";if(this._isShown&&this._config.backdrop){var i=s.supportsTransitionEnd()&&r;if(this._backdrop=document.createElement("div"),this._backdrop.className=v.BACKDROP,r&&t(this._backdrop).addClass(r),t(this._backdrop).appendTo(document.body),t(this._element).on(m.CLICK_DISMISS,function(t){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide()))}),i&&s.reflow(this._backdrop),t(this._backdrop).addClass(v.SHOW),!e)return;if(!i)return void e();t(this._backdrop).one(s.TRANSITION_END,e).emulateTransitionEnd(d)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(v.SHOW);var o=function(){n._removeBackdrop(),e&&e()};s.supportsTransitionEnd()&&t(this._element).hasClass(v.FADE)?t(this._backdrop).one(s.TRANSITION_END,o).emulateTransitionEnd(d):o()}else e&&e()},u.prototype._handleUpdate=function(){this._adjustDialog()},u.prototype._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},u.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},u.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},u.prototype._setScrollbar=function(){var e=parseInt(t(y.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")},u.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},u.prototype._getScrollbarWidth=function(){var t=document.createElement("div");t.className=v.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},u._jQueryInterface=function(e,n){return this.each(function(){var i=t(this).data(r),a=t.extend({},u.Default,t(this).data(),"object"===("undefined"==typeof e?"undefined":o(e))&&e);if(i||(i=new u(this,a),t(this).data(r,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method n
47amed "'+e+'"');i[e](n)}else a.show&&i.show(n)})},a(u,null,[{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return p}}]),u}();return t(document).on(m.CLICK_DATA_API,y.DATA_TOGGLE,function(e){var n=this,i=void 0,o=s.getSelectorFromElement(this);o&&(i=t(o)[0]);var a=t(i).data(r)?"toggle":t.extend({},t(i).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var l=t(i).one(m.SHOW,function(e){e.isDefaultPrevented()||l.one(m.HIDDEN,function(){t(n).is(":visible")&&n.focus()})});b._jQueryInterface.call(t(i),a,this)}),t.fn[e]=b._jQueryInterface,t.fn[e].Constructor=b,t.fn[e].noConflict=function(){return t.fn[e]=c,b._jQueryInterface},b}(t),function(t){var e="scrollspy",n="4.0.0-alpha.6",r="bs.scrollspy",l="."+r,u=".data-api",c=t.fn[e],f={offset:10,method:"auto",target:""},d={offset:"number",method:"string",target:"(string|element)"},h={ACTIVATE:"activate"+l,SCROLL:"scroll"+l,LOAD_DATA_API:"load"+l+u},p={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",NAV_LINK:"nav-link",NAV:"nav",ACTIVE:"active"},g={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},m={OFFSET:"offset",POSITION:"position"},v=function(){function u(e,n){var r=this;i(this,u),this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+g.NAV_LINKS+","+(this._config.target+" "+g.DROPDOWN_ITEMS),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(h.SCROLL,function(t){return r._process(t)}),this.refresh(),this._process()}return u.prototype.refresh=function(){var e=this,n=this._scrollElement!==this._scrollElement.window?m.POSITION:m.OFFSET,r="auto"===this._config.method?n:this._config.method,i=r===m.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var o=t.makeArray(t(this._selector));o.map(function(e){var n=void 0,o=s.getSelectorFromElement(e);return o&&(n=t(o)[0]),n&&(n.offsetWidth||n.offsetHeight)?[t(n)[r]().top+i,o]:null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},u.prototype.dispose=function(){t.removeData(this._element,r),t(this._scrollElement).off(l),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},u.prototype._getConfig=function(n){if(n=t.extend({},f,n),"string"!=typeof n.target){var r=t(n.target).attr("id");r||(r=s.getUID(e),t(n.target).attr("id",r)),n.target="#"+r}return s.typeCheckConfig(e,n,d),n},u.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},u.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},u.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.offsetHeight},u.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var r=this._targets[this._targets.length-1];return void(this._activeTarget!==r&&this._activate(r))}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){var o=this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1]);o&&this._activate(this._targets[i])}},u.prototype._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",");n=n.map(function(t){return t+'[data-target="'+e+'"],'+(t+'[href="'+e+'"]')});var r=t(n.join(","));r.hasClass(p.DROPDOWN_ITEM)?(r.closest(g.DROPDOWN).find(g.DROPDOWN_TOGGLE).addClass(p.ACTIVE),r.addClass(p.ACTIVE)):r.parents(g.LI).find("> "+g.NAV_LINKS).addClass(p.ACTIVE),t(this._scrollElement).trigger(h.ACTIVATE,{relatedTarget:e})},u.prototype._clear=function(){t(this._selector).filter(g.ACTIVE).removeClass(p.ACTIVE)},u._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(r),i="object"===("undefined"==typeof e?"undefined":o(e))&&e; 48if(n||(n=new u(this,i),t(this).data(r,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method n
48amed "'+e+'"');n[e]()}})},a(u,null,[{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return f}}]),u}();return t(window).on(h.LOAD_DATA_API,function(){for(var e=t.makeArray(t(g.DATA_SPY)),n=e.length;n--;){var r=t(e[n]);v._jQueryInterface.call(r,r.data())}}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=c,v._jQueryInterface},v}(t),function(t){var e="tab",n="4.0.0-alpha.6",r="bs.tab",o="."+r,l=".data-api",u=t.fn[e],c=150,f={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK_DATA_API:"click"+o+l},d={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},h={A:"a",LI:"li",DROPDOWN:".dropdown",LIST:"ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu)",FADE_CHILD:"> .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},p=function(){function e(t){i(this,e),this._element=t}return e.prototype.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(d.ACTIVE)||t(this._element).hasClass(d.DISABLED))){var n=void 0,r=void 0,i=t(this._element).closest(h.LIST)[0],o=s.getSelectorFromElement(this._element);i&&(r=t.makeArray(t(i).find(h.ACTIVE)),r=r[r.length-1]);var a=t.Event(f.HIDE,{relatedTarget:this._element}),l=t.Event(f.SHOW,{relatedTarget:r});if(r&&t(r).trigger(a),t(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(n=t(o)[0]),this._activate(this._element,i);var u=function(){var n=t.Event(f.HIDDEN,{relatedTarget:e._element}),i=t.Event(f.SHOWN,{relatedTarget:r});t(r).trigger(n),t(e._element).trigger(i)};n?this._activate(n,n.parentNode,u):u()}}},e.prototype.dispose=function(){t.removeClass(this._element,r),this._element=null},e.prototype._activate=function(e,n,r){var i=this,o=t(n).find(h.ACTIVE_CHILD)[0],a=r&&s.supportsTransitionEnd()&&(o&&t(o).hasClass(d.FADE)||Boolean(t(n).find(h.FADE_CHILD)[0])),l=function(){return i._transitionComplete(e,o,a,r)};o&&a?t(o).one(s.TRANSITION_END,l).emulateTransitionEnd(c):l(),o&&t(o).removeClass(d.SHOW)},e.prototype._transitionComplete=function(e,n,r,i){if(n){t(n).removeClass(d.ACTIVE);var o=t(n.parentNode).find(h.DROPDOWN_ACTIVE_CHILD)[0];o&&t(o).removeClass(d.ACTIVE),n.setAttribute("aria-expanded",!1)}if(t(e).addClass(d.ACTIVE),e.setAttribute("aria-expanded",!0),r?(s.reflow(e),t(e).addClass(d.SHOW)):t(e).removeClass(d.FADE),e.parentNode&&t(e.parentNode).hasClass(d.DROPDOWN_MENU)){var a=t(e).closest(h.DROPDOWN)[0];a&&t(a).find(h.DROPDOWN_TOGGLE).addClass(d.ACTIVE),e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(r);if(o||(o=new e(this),i.data(r,o)),"string"==typeof n){if(void 0===o[n])throw new Error('No method named "'+n+'"');o[n]()}})},a(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(f.CLICK_DATA_API,h.DATA_TOGGLE,function(e){e.preventDefault(),p._jQueryInterface.call(t(this),"show")}),t.fn[e]=p._jQueryInterface,t.fn[e].Constructor=p,t.fn[e].noConflict=function(){return t.fn[e]=u,p._jQueryInterface},p}(t),function(t){if("undefined"==typeof e)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var n="tooltip",r="4.0.0-alpha.6",l="bs.tooltip",u="."+l,c=t.fn[n],f=150,d="bs-tether",h={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[],container:!1},p={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array",container:"(string|element|boolean)"},g={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},m={SHOW:"show",OUT:"out"},v={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,INSERTED:"inserted"+u,CLICK:"click"+u,FOCUSIN:"focusin"+u,FOCUSOUT:"focusout"+u,MOUSEENTER:"mouseenter"+u,MOUSELEAVE:"mouseleave"+u},y={FADE:"fade",SHOW:"show"},b={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},w={element:!1,enabled:!1},E={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},T=function(){function c(t,e){i(this,c),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._isTransitioning=!1,this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return c.prototype.enable=function(){this._isEnabled=!0},c.prototype.disable=function(){this._isEnabled=!1},c.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},c.prototype.toggle=function(e){if(e){var n=this.constructor.DATA_KEY,r=t(e.currentTarget).data(n);r||(r=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(t(this.getTipElement()).hasClass(y.SHOW))return void this._leave(null,this);this._enter(null,this)}},c.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},c.prototype.show=function(){var n=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var r=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){if(this._isTransitioning)throw new Error("Tooltip is transitioning");t(this.element).trigger(r);var i=t.contains(this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!i)return;var o=this.getTipElement(),a=s.getUID(this.constructor.NAME);o.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(o).addClass(y.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,u=this._getAttachment(l),f=this.config.container===!1?document.body:t(this.config.container);t(o).data(this.constructor.DATA_KEY,this).appendTo(f),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new e({attachment:u,element:o,target:this.element,classes:w,classPrefix:d,offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),s.reflow(o),this._tether.position(),t(o).addClass(y.SHOW);var h=function(){var e=n._hoverState;n._hoverState=null,n._isTransitioning=!1,t(n.element).trigger(n.constructor.Event.SHOWN),e===m.OUT&&n._leave(null,n)};if(s.supportsTransitionEnd()&&t(this.tip).hasClass(y.FADE))return this._isTransitioning=!0,void t(this.tip).one(s.TRANSITION_END,h).emulateTransitionEnd(c._TRANSITION_DURATION);h()}},c.prototype.hide=function(e){var n=this,r=this.getTipElement(),i=t.Event(this.constructor.Event.HIDE);if(this._isTransitioning)throw new Error("Tooltip is transitioning");var o=function(){n._hoverState!==m.SHOW&&r.parentNode&&r.parentNode.removeChild(r),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),n._isTransitioning=!1,n.cleanupTether(),e&&e()};t(this.element).trigger(i),i.isDefaultPrevented()||(t(r).removeClass(y.SHOW),this._activeTrigger[E.CLICK]=!1,this._activeTrigger[E.FOCUS]=!1,this._activeTrigger[E.HO
vendor: 4,215 bytes, line 48
48VER]=!1,s.supportsTransitionEnd()&&t(this.tip).hasClass(y.FADE)?(this._isTransitioning=!0,t(r).one(s.TRANSITION_END,o).emulateTransitionEnd(f)):o(),this._hoverState="")},c.prototype.isWithContent=function(){return Boolean(this.getTitle())},c.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},c.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(b.TOOLTIP_INNER),this.getTitle()),e.removeClass(y.FADE+" "+y.SHOW),this.cleanupTether()},c.prototype.setElementContent=function(e,n){var r=this.config.html;"object"===("undefined"==typeof n?"undefined":o(n))&&(n.nodeType||n.jquery)?r?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[r?"html":"text"](n)},c.prototype.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},c.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},c.prototype._getAttachment=function(t){return g[t.toUpperCase()]},c.prototype._setListeners=function(){var e=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==E.MANUAL){var r=n===E.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i=n===E.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(r,e.config.selector,function(t){return e._enter(t)}).on(i,e.config.selector,function(t){return e._leave(t)})}t(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},c.prototype._fixTitle=function(){var t=o(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},c.prototype._enter=function(e,n){var r=this.constructor.DATA_KEY;return n=n||t(e.currentTarget).data(r),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,n)),e&&(n._activeTrigger["focusin"===e.type?E.FOCUS:E.HOVER]=!0),t(n.getTipElement()).hasClass(y.SHOW)||n._hoverState===m.SHOW?void(n._hoverState=m.SHOW):(clearTimeout(n._timeout),n._hoverState=m.SHOW,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===m.SHOW&&n.show()},n.config.delay.show)):void n.show())},c.prototype._leave=function(e,n){var r=this.constructor.DATA_KEY;if(n=n||t(e.currentTarget).data(r),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,n)),e&&(n._activeTrigger["focusout"===e.type?E.FOCUS:E.HOVER]=!1),!n._isWithActiveTrigger())return clearTimeout(n._timeout),n._hoverState=m.OUT,n.config.delay&&n.config.delay.hide?void(n._timeout=setTimeout(function(){n._hoverState===m.OUT&&n.hide()},n.config.delay.hide)):void n.hide()},c.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},c.prototype._getConfig=function(e){return e=t.extend({},this.constructor.Default,t(this.element).data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),s.typeCheckConfig(n,e,this.constructor.DefaultType),e},c.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},c._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(l),r="object"===("undefined"==typeof e?"undefined":o(e))&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new c(this,r),t(this).data(l,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},a(c,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return n}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return v}},{key:"EVENT_KEY",get:function(){return u}},{key:"DefaultType",get:function(){return p}}]),c}();
48return t.fn[n]=T._jQueryInterface,t.fn[n].Constructor=T,t.fn[n].noConflict=function(){return t.fn[n]=c,T._jQueryInterface},T}(t));(function(t){var e="popover",s="4.0.0-alpha.6",u="bs.popover",c="."+u,f=t.fn[e],d=t.extend({},l.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),h=t.extend({},l.DefaultType,{content:"(string|element|function)"}),p={FADE:"fade",SHOW:"show"},g={TITLE:".popover-title",CONTENT:".popover-content"},m={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},v=function(l){function f(){return i(this,f),n(this,l.apply(this,arguments))}return r(f,l),f.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},f.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},f.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(g.TITLE),this.getTitle()),this.setElementContent(e.find(g.CONTENT),this._getContent()),e.removeClass(p.FADE+" "+p.SHOW),this.cleanupTether()},f.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},f._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(u),r="object"===("undefined"==typeof e?"undefined":o(e))?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new f(this,r),t(this).data(u,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},a(f,null,[{key:"VERSION",get:function(){return s}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return u}},{key:"Event",get:function(){return m}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return h}}]),f}(l);return t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=f,v._jQueryInterface},v})(t)}()}).call(e,n(37),n(930))},928:function(t,e){(function(e){!function(e){"use strict";function n(t,e,n,r){return new a(t,e,n||null,r||[])}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 a(t,e,n,i){function o(e,i){if(l===b)throw new Error("Generator is already running");if(l===w)return f();for(;;){var o=s.delegate;if(o){var a=r(o.iterator[e],o.iterator,i);if("throw"===a.type){s.delegate=null,e="throw",i=a.arg;continue}e="next",i=d;var u=a.arg;if(!u.done)return l=y,u;s[o.resultName]=u.value,s.next=o.nextLoc,s.delegate=null}if("next"===e){if(l===v&&"undefined"!=typeof i)throw new TypeError("attempt to send "+JSON.stringify(i)+" to newborn generator");l===y?s.sent=i:delete s.sent}else if("throw"===e){if(l===v)throw l=w,i;s.dispatchException(i)&&(e="next",i=d)}else"return"===e&&s.abrupt("return",i);l=b;var a=r(t,n,s);if("normal"===a.type){l=s.done?w:y;var u={value:a.arg,done:s.done};if(a.arg!==E)return u;s.delegate&&"next"===e&&(i=d)}else"throw"===a.type&&(l=w,"next"===e?s.dispatchException(a.arg):i=a.arg)}}var a=e?Object.create(e.prototype):this,s=new u(i),l=v;return a.next=o.bind(a,"next"),a.throw=o.bind(a,"throw"),a.return=o.bind(a,"return"),a}function s(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 l(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function u(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(s,this),this.reset()}function c(t){if(t){var e=t[p];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(h.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=d,e.done=!0,e};return r.next=r}}return{next:f}}function f(){return{value:d,done:!0}}var d,h=Object.prototype.hasOwnProperty,p="function"==typeof Symbol&&Symbol.iterator||"@@iterator",g="object"==typeof t,m=e.regeneratorRuntime;if(m)return void(g&&(t.exports=m));m=e.regeneratorRuntime=g?t.exports:{},m.wrap=n;var v="suspendedStart",y="suspendedYield",b="executing",w="completed",E={},T=o.prototype=a.prototype;i.prototype=T.constructor=o,o.constructor=i,i.displayName="GeneratorFunction",m.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},m.mark=function(t){return t.__proto__=o,t.prototype=Object.create(T),t}
48,m.async=function(t,e,i,o){return new Promise(function(a,s){function l(t){var e=r(this,null,t);if("throw"===e.type)return void s(e.arg);var n=e.arg;n.done?a(n.value):Promise.resolve(n.value).then(c,f)}var u=n(t,e,i,o),c=l.bind(u.next),f=l.bind(u.throw);c()})},T[p]=function(){return this},T.toString=function(){return"[object Generator]"},m.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}},m.values=c,u.prototype={constructor:u,reset:function(){this.prev=0,this.next=0,this.sent=d,this.done=!1,this.delegate=null,this.tryEntries.forEach(l);for(var t,e=0;h.call(this,t="t"+e)||e<20;++e)this[t]=null},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}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 a=h.call(i,"catchLoc"),s=h.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)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&&h.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.next=i.finallyLoc:this.complete(o),E},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=t.arg,this.next="end"):"normal"===t.type&&e&&(this.next=e),E},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)}},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;l(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:c(t),resultName:e,nextLoc:n},E}}}("object"==typeof e?e:"object"==typeof window?window:this)}).call(e,function(){return this}())},930:function(t,e,n){var r,i,o;/*! tether 1.4.7 */ 49!function(n,a){i=[],r=a,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o))}(this,function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t){var n=t.getBoundingClientRect(),r={};for(var i in n)r[i]=n[i];try{if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var a=e(o);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(t){}return r}function n(t){var e=getComputedStyle(t)||{},n=e.position,r=[];if("fixed"===n)return[t];for(var i=t;(i=i.parentNode)&&i&&1===i.nodeType;){var o=void 0;try{o=getComputedStyle(i)}catch(t){}if("undefined"==typeof o||null===o)return r.push(i),r;var a=o,s=a.overflow,l=a.overflowX,u=a.overflowY;/(auto|scroll|overlay)/.test(s+u+l)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(o.position)>=0)&&r.push(i)}return r.push(t.ownerDocument.body),t.ownerDocument!==document&&r.push(t.ownerDocument.defaultView),r}function r(){T&&document.body.removeChild(T),T=null}function i(t){var n=void 0;t===document?(n=document,t=document.documentElement):n=t.ownerDocument;var r=n.documentElement,i=e(t),o=A();return i.top-=o.top,i.left-=o.left,"undefined"==typeof i.width&&(i.width=document.body.scrollWidth-i.left-i.right),"undefined"==typeof i.height&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-r.clientTop,i.left=i.left-r.clientLeft,i.right=n.body.clientWidth-i.width-i.left,i.bottom=n.body.clientHeight-i.height-i.top,i}function o(t){return t.offsetParent||document.documentElement}function a(){if(I)return I;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");s(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",
vendor: 19,675 bytes, line 49
49width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var r=t.offsetWidth;n===r&&(r=e.clientWidth),document.body.removeChild(e);var i=n-r;return I={width:i,height:i}}function s(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function l(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),r=f(t).replace(n," ");d(t,r)}}function u(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{l(t,e);var n=f(t)+(" "+e);d(t,n)}}function c(t,e){if("undefined"!=typeof t.classList)return t.classList.contains(e);var n=f(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function f(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function d(t,e){t.setAttribute("class",e)}function h(t,e,n){n.forEach(function(n){e.indexOf(n)===-1&&c(t,n)&&l(t,n)}),e.forEach(function(e){c(t,e)||u(t,e)})}function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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)}function g(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function m(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}function v(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach(function(e){var n=e.top,r=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),t.top+=n,t.left+=r}),t}function y(t,e){return"string"==typeof t.left&&t.left.indexOf("%")!==-1&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&t.top.indexOf("%")!==-1&&(t.top=parseFloat(t.top,10)/100*e.height),t}function b(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),"undefined"!=typeof e.nodeType&&!function(){var t=e,n=i(e),r=n,o=getComputedStyle(e);if(e=[r.left,r.top,n.width+r.left,n.height+r.top],t.ownerDocument!==document){var a=t.ownerDocument.defaultView;e[0]+=a.pageXOffset,e[1]+=a.pageYOffset,e[2]+=a.pageXOffset,e[3]+=a.pageYOffset}Z.forEach(function(t,n){t=t[0].toUpperCase()+t.substr(1),"Top"===t||"Left"===t?e[n]+=parseFloat(o["border"+t+"Width"]):e[n]-=parseFloat(o["border"+t+"Width"])})}(),e}var w=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}}(),E=void 0;"undefined"==typeof E&&(E={modules:[]});var T=null,S=function(){var t=0;return function(){return++t}}(),_={},A=function(){var t=T;t&&document.body.contains(t)||(t=document.createElement("div"),t.setAttribute("data-tether-id",S()),s(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),T=t);var n=t.getAttribute("data-tether-id");return"undefined"==typeof _[n]&&(_[n]=e(t),x(function(){delete _[n]})),_[n]},I=null,C=[],x=function(t){C.push(t)},D=function(){for(var t=void 0;t=C.pop();)t()},L=function(){function e(){t(this,e)}return w(e,[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];"undefined"==typeof this.bindings&&(this.bindings={}),"undefined"==typeof this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if("undefined"!=typeof this.bindings&&"undefined"!=typeof this.bindings[t])if("undefined"==typeof e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if("undefined"!=typeof this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],a=o.handler,s=o.ctx,l=o.once,u=s;"undefined"==typeof u&&(u=this),a.apply(u,r),l?this.bindings[t].splice(e,1):++e}}}}]),e}();E.Utils={getActualBoundingClientRect:e,getScrollParents:n,getBounds:i,getOffsetParent:o,extend:s,addClass:u,removeClass:l,hasClass:c,updateClasses:h,defer:x,flush:D,uniqueId:S,Evented:L,getScrollBarSize:a,removeUtilElements:r};var O=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),w=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}}(),R=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var u=Object.getPrototypeOf(i);if(null===u)return;t=u,e=o,n=a,r=!0,s=u=void 0}};if("undefined"==typeof E)throw new Error("You must include the utils.js file before tether.js");var k=E.Utils,n=k.getScrollParents,i=k.getBounds,o=k.getOffsetParent,s=k.extend,u=k.addClass,l=k.removeClass,h=k.updateClasses,x=k.defer,D=k.flush,a=k.getScrollBarSize,r=k.removeUtilElements,N=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var r=e[n];if(void 0!==t.style[r])return r}}(),M=[],P=function(){M.forEach(function(t){t.position(!1)}),D()};!function(){var t=null,e=null,n=null,r=function r(){return"undefined"!=typeof e&&e>16?(e=Math.min(e-16,250),void(n=setTimeout(r,250))):void("undefined"!=typeof t&&m()-t<10||(null!=n&&(clearTimeout(n),n=null),t=m(),P(),e=m()-t))};"undefined"!=typeof window&&"undefined"!=typeof window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,r)})}();var j={center:"center",left:"right",right:"left"},F={middle:"middle",top:"bottom",bottom:"top"},U={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},B=function(t,e){var n=t.left,r=t.top;return"auto"===n&&(n=j[e.left]),"auto"===r&&(r=F[e.top]),{left:n,top:r}},G=function(t){var e=t.left,n=t.top;return"undefined"!=typeof U[t.left]&&(e=U[t.left]),"undefined"!=typeof U[t.top]&&(n=U[t.top]),{left:e,top:n}},W=function(t){var e=t.split(" "),n=O(e,2),r=n[0],i=n[1];return{top:r,left:i}},z=W,H=function(e){function c(e){var n=this;t(this,c),R(Object.getPrototypeOf(c.prototype),"constructor",this).call(this),this.position=this.position.bind(this),M.push(this),this.history=[],this.setOptions(e,!1),E.modules.forEach(function(t){"undefined"!=typeof t.initialize&&t.initialize.call(n)}),this.position()}return p(c,e),w(c,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return"undefined"!=typeof e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1],i={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=s(i,t);var o=this.options,a=o.element,l=o.target,c=o.targetModifier;if(this.element=a,this.target=l,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if("undefined"==typeof e[t])throw new Error("Tether Error: Both element and target must be defined");"undefined"!=typeof e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),u(this.element,this.getClass("element")),this.options.addTargetClasses!==!1&&u(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=z(this.options.targetAttachment),this.attachment=z(this.options.attachment),this.offset=W(this.options.offset),this.targetOffset=W(this.options.targetOffset),"undefined"!=typeof this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=n(this.target),this.options.enabled!==!1&&this.enable(r)}},{key:"getTargetBounds",value:function(){if("undefined"==typeof this.targetModifier)return i(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=i(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,n=this.target;n===document.body?(n=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=i(n);var r=getComputedStyle(n),o=n.scrollWidth>n.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body,a=0;o&&(a=15);var s=t.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-a,e={width:15,height:.975*s*(s/n.scrollHeight),left:t.left+t.width-parseFloat(r.borderLeftWidth)-15},l=0;s<408&&this.target===document.body&&(l=-11e-5*Math.pow(s,2)-.00727*s+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var u=this.target.scrollTop/(n.scrollHeight-s);return e.top=u*(s-e.height-l)+t.top+parseFloat(r.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return"undefined"==typeof this._cache&&(this._cache={}),"undefined"==typeof this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];this.options.addTargetClasses!==!1&&u(this.target,this.getClass("enabled")),u(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;l(this.target,this.getClass("enabled")),l(this.element,this.getClass("enabled")),this.enabled=!1,"undefined"!=typeof this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),M.forEach(function(e,n){e===t&&M.splice(n,1)}),0===M.length&&r()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];"undefined"!=typeof this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),"undefined"==typeof this._addAttachClasses&&(this._addAttachClasses=[]);var i=this._addAttachClasses;t.top&&i.push(this.getClass("element-attached")+"-"+t.top),t.left&&i.push(this.getClass("element-attached")+"-"+t.left),e.top&&i.push(this.getClass("target-attached")+"-"+e.top),e.left&&i.push(this.getClass("target-attached")+"-"+e.left);var o=[];r.forEach(function(t){o.push(n.getClass("element-attached")+"-"+t),o.push(n.getClass("target-attached")+"-"+t)}),x(function(){"undefined"!=typeof n._addAttachClasses&&(h(n.element,n._addAttachClasses,o),n.options.addTargetClasses!==!1&&h(n.target,n._addAttachClasses,o),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=B(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var r=this.cache("element-bounds",function(){return i(t.element)}),s=r.width,l=r.height;if(0===s&&0===l&&"undefined"!=typeof this.lastSize){var u=this.lastSize;s=u.width,l=u.height}else this.lastSize={width:s,height:l};var c=this.cache("target-bounds",function(){return t.getTargetBounds()}),f=c,d=y(G(this.attachment),{width:s,height:l}),h=y(G(n),f),p=y(this.offset,{width:s,height:l}),g=y(this.targetOffset,f);d=v(d,p),h=v(h,g);for(var m=c.left+h.left-d.left,b=c.top+h.top-d.top,w=0;w<E.modules.length;++w){var T=E.modules[w],S=T.position.call(this,{left:m,top:b,targetAttachment:n,targetPos:c,elementPos:r,offset:d,targetOffset:h,manualOffset:p,manualTargetOffset:g,scrollbarSize:C,attachment:this.attachment});if(S===!1)return!1;"undefined"!=typeof S&&"object"==typeof S&&(b=S.top,m=S.left)}var _={page:{top:b,left:m},viewport:{top:b-pageYOffset,bottom:pageYOffset-b-l+innerHeight,left:m-pageXOffset,right:pageXOffset-m-s+innerWidth}},A=this.target.ownerDocument,I=A.defaultView,C=void 0;return I.innerHeight>A.documentElement.clientHeight&&(C=this.cache("scrollbar-size",a),_.viewport.bottom-=C.height),I.innerWidth>A.documentElement.clientWidth&&(C=this.cache("scrollbar-size",a),_.viewport.right-=C.width),["","static"].indexOf(A.body.style.position)!==-1&&["","static"].indexOf(A.body.parentElement.style.position)!==-1||(_.page.bottom=A.body.scrollHeight-b-l,_.page.right=A.body.scrollWidth-m-s),"undefined"!=typeof this.options.optimizations&&this.options.optimizations.moveElement!==!1&&"undefined"==typeof this.targetModifier&&!function(){var e=t.cache("target-offsetparent",function(){return o(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return i(e)}),r=getComputedStyle(e),a=n,s={};if(["Top","Left","Bottom","Right"].forEach(function(t){s[t.toLowerCase()]=parseFloat(r["border"+t+"Width"])}),n.right=A.body.scrollWidth-n.left-a.width+s.right,n.bottom=A.body.scrollHeight-n.top-a.height+s.bottom,_.page.top>=n.top+s.top&&_.page.bottom>=n.bottom&&_.page.left>=n.left+s.left&&_.page.right>=n.right){var l=e.scrollTop,u=e.scrollLeft;_.offset={top:_.page.top-n.top+l-s.top,left:_.page.left-n.left+u-s.left}}}(),this.move(_),this.history.unshift(_),this.history.length>3&&this.history.pop(),e&&D(),!0}}},{key:"move",value:function(t){var e=this;if("undefined"!=typeof this.element.parentNode){var n={};for(var r in t){n[r]={};for(var i in t[r]){for(var a=!1,l=0;l<this.history.length;++l){var u=this.history[l];if("undefined"!=typeof u[r]&&!g(u[r][i],t[r][i])){a=!0;break}}a||(n[r][i]=!0)}}var c={top:"",left:"",right:"",bottom:""},f=function(t,n){var r="undefined"!=typeof e.options.optimizations,i=r?e.options.optimizations.gpu:null;if(i!==!1){var o=void 0,a=void 0;t.top?(c.top=0,o=n.top):(c.bottom=0,o=-n.bottom),t.left?(c.left=0,a=n.left):(c.right=0,a=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1===0&&(a=Math.round(a*devicePixelRatio)/devicePixelRatio,o=Math.round(o*devicePixelRatio)/devicePixelRatio),c[N]="translateX("+a+"px) translateY("+o+"px)","msTransform"!==N&&(c[N]+=" translateZ(0)")}else t.top?c.top=n.top+"px":c.bottom=n.bottom+"px",t.left?c.left=n.left+"px":c.right=n.right+"px"},d=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(c.position="absolute",f(n.page,t.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(c.position="fixed",f(n.viewport,t.viewport)):"undefined"!=typeof n.offset&&n.offset.top&&n.offset.left?!function(){c.position="absolute";var r=e.cache("target-offsetparent",function(){return o(e.target)});o(e.element)!==r&&x(function(){e.element.parentNode.removeChild(e.element),r.appendChild(e.element)}),f(n.offset,t.offset),d=!0}():(c.position="absolute",f({top:!0,left:!0},t.page)),!d)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var h=function(t){var e=t.ownerDocument,n=e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement;return n===t},p=!0,m=this.element.parentNode;m&&1===m.nodeType&&"BODY"!==m.tagName&&!h(m);){if("static"!==getComputedStyle(m).position){p=!1;break}m=m.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var v={},y=!1;for(var i in c){var b=c[i],w=this.element.style[i];w!==b&&(y=!0,v[i]=b)}y&&x(function(){s(e.element.style,v),e.trigger("repositioned")})}}}]),c}(L);H.modules=[],E.position=P;var Y=s(H,E),O=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),k=E.Utils,i=k.getBounds,s=k.extend,h=k.updateClasses,x=k.defer,Z=["left","top","right","bottom"];E.modules.push({position:function(t){var e=this,n=t.top,r=t.left,o=t.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",function(){return i(e.element)}),l=a.height,u=a.width;if(0===u&&0===l&&"undefined"!=typeof this.lastSize){var c=this.lastSize;u=c.width,l=c.height}var f=this.cache("target-bounds",function(){return e.getTargetBounds()}),d=f.height,p=f.width,g=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&g.push(e),n&&g.push(n)}),g.forEach(function(t){["left","top","right","bottom"].forEach(function(e){g.push(t+"-"+e)})});var m=[],v=s({},o),y=s({},this.attachment);return this.options.constraints.forEach(function(t){var i=t.to,a=t.attachment,s=t.pin;"undefined"==typeof a&&(a="");var c=void 0,f=void 0;if(a.indexOf(" ")>=0){var h=a.split(" "),g=O(h,2);f=g[0],c=g[1]}else c=f=a;var w=b(e,i);"target"!==f&&"both"!==f||(n<w[1]&&"top"===v.top&&(n+=d,v.top="bottom"),n+l>w[3]&&"bottom"===v.top&&(n-=d,v.top="top")),"together"===f&&("top"===v.top&&("bottom"===y.top&&n<w[1]?(n+=d,v.top="bottom",n+=l,y.top="top"):"top"===y.top&&n+l>w[3]&&n-(l-d)>=w[1]&&(n-=l-d,v.top="bottom",y.top="bottom")),"bottom"===v.top&&("top"===y.top&&n+l>w[3]?(n-=d,v.top="top",n-=l,y.top="bottom"):"bottom"===y.top&&n<w[1]&&n+(2*l-d)<=w[3]&&(n+=l-d,v.top="top",y.top="top")),"middle"===v.top&&(n+l>w[3]&&"top"===y.top?(n-=l,y.top="bottom"):n<w[1]&&"bottom"===y.top&&(n+=l,y.top="top"))),"target"!==c&&"both"!==c||(r<w[0]&&"left"===v.left&&(r+=p,v.left="r
49ight"),r+u>w[2]&&"right"===v.left&&(r-=p,v.left="left")),"together"===c&&(r<w[0]&&"left"===v.left?"right"===y.left?(r+=p,v.left="right",r+=u,y.left="left"):"left"===y.left&&(r+=p,v.left="right",r-=u,y.left="right"):r+u>w[2]&&"right"===v.left?"left"===y.left?(r-=p,v.left="left",r-=u,y.left="right"):"right"===y.left&&(r-=p,v.left="left",r+=u,y.left="left"):"center"===v.left&&(r+u>w[2]&&"left"===y.left?(r-=u,y.left="right"):r<w[0]&&"right"===y.left&&(r+=u,y.left="left"))),"element"!==f&&"both"!==f||(n<w[1]&&"bottom"===y.top&&(n+=l,y.top="top"),n+l>w[3]&&"top"===y.top&&(n-=l,y.top="bottom")),"element"!==c&&"both"!==c||(r<w[0]&&("right"===y.left?(r+=u,y.left="left"):"center"===y.left&&(r+=u/2,y.left="left")),r+u>w[2]&&("left"===y.left?(r-=u,y.left="right"):"center"===y.left&&(r-=u/2,y.left="right"))),"string"==typeof s?s=s.split(",").map(function(t){return t.trim()}):s===!0&&(s=["top","left","right","bottom"]),s=s||[];var E=[],T=[];n<w[1]&&(s.indexOf("top")>=0?(n=w[1],E.push("top")):T.push("top")),n+l>w[3]&&(s.indexOf("bottom")>=0?(n=w[3]-l,E.push("bottom")):T.push("bottom")),r<w[0]&&(s.indexOf("left")>=0?(r=w[0],E.push("left")):T.push("left")),r+u>w[2]&&(s.indexOf("right")>=0?(r=w[2]-u,E.push("right")):T.push("right")),E.length&&!function(){var t=void 0;t="undefined"!=typeof e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),m.push(t),E.forEach(function(e){m.push(t+"-"+e)})}(),T.length&&!function(){var t=void 0;t="undefined"!=typeof e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),m.push(t),T.forEach(function(e){m.push(t+"-"+e)})}(),(E.indexOf("left")>=0||E.indexOf("right")>=0)&&(y.left=v.left=!1),(E.indexOf("top")>=0||E.indexOf("bottom")>=0)&&(y.top=v.top=!1),v.top===o.top&&v.left===o.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,v),e.trigger("update",{attachment:y,targetAttachment:v}))}),x(function(){e.options.addTargetClasses!==!1&&h(e.target,m,g),h(e.element,m,g)}),{top:n,left:r}}});var k=E.Utils,i=k.getBounds,h=k.updateClasses,x=k.defer;E.modules.push({position:function(t){var e=this,n=t.top,r=t.left,o=this.cache("element-bounds",function(){return i(e.element)}),a=o.height,s=o.width,l=this.getTargetBounds(),u=n+a,c=r+s,f=[];n<=l.bottom&&u>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==r&&e!==c||f.push(t)}),r<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==n&&e!==u||f.push(t)});var d=[],p=[],g=["left","top","right","bottom"];return d.push(this.getClass("abutted")),g.forEach(function(t){d.push(e.getClass("abutted")+"-"+t)}),f.length&&p.push(this.getClass("abutted")),f.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),x(function(){e.options.addTargetClasses!==!1&&h(e.target,p,d),h(e.element,p,d)}),!0}});var O=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return E.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:e,left:n}));var i=void 0,o=void 0;if("string"==typeof r){r=r.split(" "),r[1]=r[1]||r[0];var a=r,s=O(a,2);i=s[0],o=s[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=r.top,o=r.left;return e+=i,n+=o,{top:e,left:n}}}}),Y})},933:function(t,e,n){(function(e){/*! 50 51 hlsjs engine plugin for Flowplayer HTML5 52 53 Copyright (c) 2015-2017, Flowplayer Drive Oy 54 55 Released under the MIT License: 56 http://www.opensource.org/licenses/mit-license.php 57 58 Includes hls.js 59 Copyright (c) 2017 Dailymotion (http://www.dailymotion.com) 60 https://github.com/video-dev/hls.js/blob/master/LICENSE 61 62 Requires Flowplayer HTML5 version 6 or greater 63 $GIT_DESC$ 64 65 */ 66!function(){"use strict";var r=function(t,e){var r,i="hlsjs",o=e.common,a=e.extend,s=e.support,l=s.browser,u=e.version,c=0===u.indexOf("6."),f=window,d=f.MediaSource||f.WebKitMediaSource,h=f.performance,p=function(t){return t.toLowerCase().indexOf("mpegurl")>-1},g=function(t){var e=t.clip&&t.clip.hlsQualities||t.hlsQualities;return s.inlineVideo&&(e===!0||e&&e.length)},m=function(t){var e=o.findDirect("video",t)[0]||o.find(".fp-player>video",t)[0];e&&(o.find("source",e).forEach(function(t){t.removeAttribute("src")}),e.removeAttribute("src"),e.load(),o.removeNode(e))},v=n(1120),y=new v.TextDecoder("utf-8"),b=function(t){var e="";try{e=y.decode(t)}catch(n){try{y=new v.TextDecoder("utf-16be"),e=y.decode(t)}catch(n){try{y=new v.TextDecoder("utf-16le"),e=y.decode(t)}catch(t){}}}return e},w=function(t,e,n){e.title=e.title||n+"";var r={time:e.startTime,subtitle:e,visible:!1};t.subtitles.push(e),t.addCuepoint(r),t.addCuepoint({time:e.endTime,subtitleEnd:e.title,visible:!1}),0!==e.startTime||t.video.time||t.splash||t.trigger("cuepoint",[t,r]),t.splash&&t.one("ready."+i,function(){t.trigger("cuepoint",[t,r])})},E=function(n,l){var f,v,y,E,T,S,_,A,I,C,x,D=e.bean,L="is-seeking",O="is-poster",R=function(t,e,r){if(t.debug&&console.log("recovery."+i,"<-",e),o.removeClass(l,"is-paused"),o.addClass(l,L),r)v.startLoad();else{var a=h.now();!E||a-E>3e3?(E=h.now(),v.recoverMediaError()):(!T||a-T>3e3)&&(T=h.now(),v.swapAudioCodec(),v.recoverMediaError())}y>0&&(y-=1),D.one(f,"seeked."+i,function(){f.paused&&(o.removeClass(l,O),n.poster=!1,f.play()),o.removeClass(l,L)})},k=function(t,e,r){var i={code:t};return t>2&&(i.video=a(n.video,{src:e,url:r||e})),i},N=function(){D.one(f,"timeupdate."+i,function(){o.addClass(l,O),n.poster=!0})},M=function(){c&&n.poster&&D.one(f,"timeupdate."+i,function(){o.removeClass(l,O),n.poster=!1})},P=0,j=function(t){if(A&&A.length>1){var e=v.audioTracks,n=e.filter(function(n){var r=v.levels[t].attrs;return n.autoselect&&r&&n.groupId===r.AUDIO&&n.name===e[v.audioTrack].name}),r=n.length&&n[0].id;void 0!==r&&r!==v.audioTrack&&(v.audioTrack=r)}},F=function(t){o.find(".fp-audio",l)[0].innerHTML=t.lang||t.name,o.find(".fp-audio-menu a",l).forEach(function(e){var n=e.getAttribute("data-audio"),r=n===t.name;o.toggleClass(e,"fp-selected",r),o.toggleClass(e,"fp-color",r)})},U=function(){o.find(".fp-audio-menu",l).forEach(o.removeNode),o.find(".fp-audio",l).forEach(o.removeNode)},B=function(t){var e=o.find(".fp-subtitle-menu",l)[0];o.toggleClass(o.find("a.fp-selected",e)[0],"fp-selected"),o.toggleClass(o.find('a[data-subtitle-index="'+t+'"]',e)[0],"fp-selected")},G=function(t,e){var r=b(t.payload),i=t.frag.trackId;r&&(x[i]||(x[i]=[]),r=e.subtitleParser(r),r.forEach(function(t){if(t.text&&(x[i].push(t),n.ready&&(w(n,t,x[i].length),n.live))){var e=n.video.seekOffset;x[i]=x[i].filter(function(t){return t.endTime>=e}),n.subtitles=n.subtitles.filter(function(t){return t.endTime>=e}
66),n.cuepoints.forEach(function(t){t.subtitle&&t.time<e&&n.removeCuepoint(t)})}}))},W=function(){[].forEach.call(f.textTracks,function(t){"subtitles"===t.kind&&(t.mode="hidden")})},z=function(t,e){var r=t.subtitleTracks;e.subtitles&&r.length&&s.inlineVideo&&!c&&(r=r.filter(function(t){return t.groupId===r[0].groupId}),n.video.subtitles=r.map(function(t){var e={kind:"subtitles",id:t.id,srclang:t.lang,label:t.name,default:t.default};return o.append(f,o.createElement("track",e)),e}),n.on("ready."+i,function(t,e){var n,r=v.subtitleTracks;r&&r.length&&(C?o.addClass(f,"native-subtitles"):W(),r.map(function(t,e){t.default&&(v.subtitleTrack=e)}),n=v.subtitleTrack,n>-1?(!C&&x[n]&&x[n].forEach(function(t,n){w(e,t,n+1)}),B(n)):B(-1))}),D.on(l,"click."+i,".fp-subtitle-menu [data-subtitle-index]",function(t){t.preventDefault();var e=t.target.getAttribute("data-subtitle-index");return n.disableSubtitles(),v.subtitleTrack=e,e<0?void W():(B(e),void(!C&&x[e]&&x[e].forEach(function(t,e){w(n,t,e+1)})))}))},H=function(t){A=[],I=[],t.levels.forEach(function(t){var e=t.attrs&&t.attrs.AUDIO,n=t.audioCodec;e&&A.indexOf(e)<0&&(!n||d.isTypeSupported("audio/mp4;codecs="+n))&&A.push(e)}),A.length&&(I=t.audioTracks.filter(function(t){return t.groupId===A[0]})),!s.inlineVideo||c||I.length<2||(D.on(l,"click."+i,".fp-audio",function(){var t=o.find(".fp-audio-menu",l)[0];o.hasClass(t,"fp-active")?n.hideMenu():n.showMenu(t)}),D.on(l,"click."+i,".fp-audio-menu a",function(t){var e=t.target.getAttribute("data-audio"),n=v.audioTracks,r=n[v.audioTrack].groupId,i=n.filter(function(t){return t.groupId===r&&(t.name===e||t.lang===e)})[0];v.audioTrack=i.id,F(i)}),n.on("ready."+i,function(){if(U(),v&&I&&!(I.length<2)){var t=o.find(".fp-ui",l)[0],e=o.find(".fp-controls",t)[0],n=v.audioTracks[v.audioTrack],r=o.createElement("div",{className:"fp-menu fp-audio-menu",css:{width:"auto"}},"<strong>Audio</strong>");I.forEach(function(t){r.appendChild(o.createElement("a",{"data-audio":t.name},t.name))}),t.appendChild(r),e.appendChild(o.createElement("strong",{className:"fp-audio"},n)),F(n)}}))},Y="active",Z=function(t){return t?n.qualities.indexOf(t)<0&&(t="abr"):t=n.quality,t.toLowerCase().replace(/\ /g,"")},V=function(){var t=n.qualities;t&&(o.removeClass(l,"quality-abr"),t.forEach(function(t){o.removeClass(l,"quality-"+Z(t))}))},J=function(){c&&(delete n.hlsQualities,V(),o.find(".fp-quality-selector",l).forEach(o.removeNode))},X=function(){return n.hlsQualities[n.qualities.indexOf(n.quality)+1]},K=-1,q=function(t,e,r){var a,s,u,h=r.levels,p=function(t){return isNaN(Number(t))?t.level:t};if(J(),t&&!(h.length<2)){if("drive"===t){switch(h.length){case 4:a=[1,2,3];break;case 5:a=[1,2,3,4];break;case 6:a=[1,3,4,5];break;case 7:a=[1,3,5,6];break;case 8:a=[1,3,6,7];break;default:if(h.length<3||h[0].height&&h[2].height&&h[0].height===h[2].height)return;a=[1,2]}a.unshift(-1)}else switch(typeof t){case"object":a=t.map(p);break;case"string":a=t.split(/\s*,\s*/).map(Number);break;default:a=h.map(function(t,e){return e}),a.unshift(-1)}if(c&&a.indexOf(-1)<0&&a.unshift(-1),a=a.filter(function(t){if(t>-1&&t<h.length){var e=h[t];return!e.videoCodec||e.videoCodec&&d.isTypeSupported("video/mp4;codecs="+e.videoCodec)}return t===-1}),s=a.map(function(e,n){var r=h[e],i="object"==typeof t?t.filter(function(t){return p(t)===e})[0]:e,o="Level "+(n+1);return e<0?o=i.label||"Auto":i.label?o=i.label:(r.width&&r.height&&(o=Math.min(r.width,r.height)+"p"),"drive"!==t&&r.bitrate&&(o+=" ("+Math.round(r.bitrate/1e3)+"k)")),c?o:{value:e,label:o}}),!c)return n.video.qualities=s,K>-1||a.indexOf(-1)<0?(v.loadLevel=a.indexOf(K)<0?a[0]:K,v.config.startLevel=v.loadLevel,n.video.quality=v.loadLevel):n.video.quality=-1,void(K=n.video.quality);n.hlsQualities=a,n.qualities=s.slice(1),u=o.createElement("ul",{class:"fp-quality-selector"}),o.find(".fp-ui",l)[0].appendChild(u),!n.quality||s.indexOf(n.quality)<1?n.quality="abr":(v.loadLevel=X(),v.config.startLevel=v.loadLevel),s.forEach(function(t){u.appendChild(o.createElement("li",{"data-quality":Z(t)},t))}),o.addClass(l,"quality-"+Z()),D.on(l,"click."+i,".fp-quality-selector li",function(t){var r=t.currentTarget,a=o.find(".fp-quality-selector li",l),s=e.smoothSwitching,u=f.paused;o.hasClass(r,Y)||(u||s||D.one(f,"pause."+i,function(){o.removeClass(l,"is-paused")}),a.forEach(function(t,e){var i=t===r;i&&(n.quality=e>0?n.qualities[e-1]:"abr",s&&!n.poster?v.nextLevel=X():v.currentLevel=X(),o.addClass(r,Y),u&&f.play()),o.toggleClass(t,Y,i)}),V(),o.addClass(l,"quality-"+Z()))})}},$={engineName:i,pick:function(t){var e=t.filter(function(t){return p(t.type)})[0];return"string"==typeof e.src&&(e.src=o.createAbsoluteUrl(e.src)),e},load:function(e){var u=n.conf,d={ended:"finish",loadeddata:"ready",pause:"pause",play:"resume",progress:"buffer",ratechange:"speed",seeked:"seek",t
66imeupdate:"progress",volumechange:"volume",error:"error"},h=t.Events,p=!!e.autoplay||!!u.autoplay||!!u.splash,w=e.hlsQualities||u.hlsQualities,S=a(r,u.hlsjs,e.hlsjs),_=a({},S);if(e.hlsQualities===!1&&(w=!1),C=S.subtitles&&s.subtitles&&u.nativesubtitles,v?(v.destroy(),o.find("track",f).forEach(o.removeNode),o.removeClass(f,"native-subtitles"),(n.video.src&&e.src!==n.video.src||e.index)&&o.attr(f,"autoplay","autoplay")):(m(l),f=o.createElement("video",{class:"fp-engine "+i+"-engine",autoplay:!!p&&"autoplay",volume:n.volumeLevel}),s.mutedAutoplay&&!u.splash&&p&&(f.muted=!0),Object.keys(d).forEach(function(t){var e,r=d[t],s=t+"."+i;D.on(f,s,function(t){u.debug&&r.indexOf("progress")<0&&console.log(s,"->",r,t.originalEvent);var i,d,h,p=f.currentTime,g=f.seekable,m=n.video,y=n.dvr?m.seekOffset:n.live?v.liveSyncPosition:0,b=f.buffered,w=[],E=m.src,T=n.quality;switch(r){case"ready":e=a(m,{duration:f.duration,seekable:g.length&&g.end(null),width:f.videoWidth,height:f.videoHeight,url:E});break;case"resume":M(),S.bufferWhilePaused||v.startLoad(p),p<y&&(f.currentTime=y);break;case"seek":M(),!S.bufferWhilePaused&&f.paused&&v.stopLoad(),e=p;break;case"pause":S.bufferWhilePaused||v.stopLoad();break;case"progress":e=p;break;case"speed":e=f.playbackRate;break;case"volume":e=f.volume;break;case"buffer":for(i=0;i<b.length;i+=1)w.push(b.end(i));e=w.filter(function(t){return t>=p}).sort()[0],m.buffer=e;break;case"finish":S.bufferWhilePaused&&v.autoLevelEnabled&&(m.loop||u.playlist.length<2||u.advance===!1)&&(v.nextLoadLevel=P);break;case"error":if(h=f.error&&f.error.code,S.recoverMediaError&&(3===h||!h)||S.recoverNetworkError&&2===h||S.recover&&(2===h||3===h))return t.preventDefault(),void R(u,r,2===h);e=k(h,E)}n.trigger(r,[n,e]),c&&"ready"===r&&T&&(d="abr"===T?0:n.qualities.indexOf(T)+1,o.addClass(o.find(".fp-quality-selector li",l)[d],Y))})}),n.on("error."+i,function(){v&&n.engine.unload()}).on("beforeseek."+i,function(t,e,n){void 0===n?t.preventDefault():!S.bufferWhilePaused&&e.paused&&v.startLoad(n)}),c?u.poster&&(n.on("stop."+i,N),!n.live||p||n.video.autoplay||D.one(f,"seeked."+i,N)):n.on("quality."+i,function(t,e,n){S.smoothSwitching?v.nextLevel=n:v.currentLevel=n,K=n}),o.prepend(o.find(".fp-player",l)[0],f)),n.video=e,P=0,Object.keys(S).forEach(function(e){t.DefaultConfig.hasOwnProperty(e)||delete _[e];var n=S[e];switch(e){case"adaptOnStartOnly":n&&(_.startLevel=-1);break;case"autoLevelCapping":n===!1&&(n=-1),_[e]=n;break;case"startLevel":switch(n){case"auto":n=-1;break;case"firstLevel":n=void 0}_[e]=n;break;case"recover":S.recoverMediaError=!1,S.recoverNetworkError=!1,y=n;break;case"strict":n&&(S.recoverMediaError=!1,S.recoverNetworkError=!1,y=0)}}),v=new t(_),n.engine[i]=v,E=null,T=null,n.disableSubtitles(),x={},Object.keys(h).forEach(function(e){var r=h[e],s=S.listeners,d=s&&s.indexOf(r)>-1;v.on(r,function(r,s){var h,p={},m=t.ErrorTypes,E=t.ErrorDetails,T=n.video,_=T.src;switch(e){case"MANIFEST_PARSED":!g(u)||!c&&n.pluginQualitySelectorEnabled?c&&delete n.quality:q(w,S,s);break;case"MANIFEST_LOADED":H(s);break;case"SUBTITLE_TRACKS_UPDATED":z(s,S);break;case"MEDIA_ATTACHED":v.loadSource(_);break;case"FRAG_LOADED":"subtitle"===s.frag.type&&S.subtitles&&!C&&G(s,u),S.bufferWhilePaused&&!n.live&&v.autoLevelEnabled&&v.nextLoadLevel>P&&(P=v.nextLoadLevel);break;case"SUBTITLE_TRACK_SWITCH":C&&[].forEach.call(f.textTracks,function(t){t.mode=v.subtitleTracks[s.id].lang===t.language&&"subtitles"===t.kind?"showing":"hidden"});break;case"FRAG_PARSING_METADATA":if(c)return;s.samples.forEach(function(t){var e;e=function(){if(!(f.currentTime<t.dts)){D.off(f,"timeupdate."+i,e);var r=b(t.unit||t.data);n.trigger("metadata",[n,{key:r.substr(10,4),data:r}])}},D.on(f,"timeupdate."+i,e)});break;case"LEVEL_UPDATED":n.live&&(a(T,{seekOffset:s.details.fragments[0].start+v.config.nudgeOffset,duration:v.liveSyncPosition}),n.dvr&&n.playing&&n.trigger("dvrwindow",[n,{start:T.seekOffset,end:v.liveSyncPosition}]));break;case"LEVEL_SWITCHED":S.audioABR&&n.one("buffer."+i,function(t,e,n){n>e.video.time&&j(s.level)});break;case"BUFFER_APPENDED":o.removeClass(l,L);break;case"ERROR":if(s.fatal||S.strict){switch(s.type){case m.NETWORK_E
66RROR:S.recoverNetworkError||y?R(u,s.type,!0):s.frag&&s.frag.url?(p.url=s.frag.url,h=2):h=4;break;case m.MEDIA_ERROR:S.recoverMediaError||y?R(u,s.type):h=3;break;default:h=5}void 0!==h&&(p=k(h,_,s.url),n.trigger("error",[n,p]))}else s.details!==E.FRAG_LOOP_LOADING_ERROR&&s.details!==E.BUFFER_STALLED_ERROR||o.addClass(l,L)}d&&n.trigger(r,[n,s])})}),S.adaptOnStartOnly&&D.one(f,"timeupdate."+i,function(){v.loadLevel=v.loadLevel}),v.attachMedia(f),p&&f.paused){var A=f.play();void 0!==A&&A.catch(function(){s.mutedAutoplay||(n.unload(),c||n.message("Please click the play button",3e3))})}},resume:function(){f.play()},pause:function(){f.pause()},seek:function(t){f&&(f.currentTime=t)},volume:function(t){f&&(f.volume=t)},speed:function(t){f.playbackRate=t,n.trigger("speed",[n,t])},unload:function(){if(v){var t="."+i;n.disableSubtitles(),v.destroy(),v=0,J(),U(),n.off(t),D.off(l,t),D.off(f,t),o.removeNode(f),f=0}}};return!/^6\.0\.[0-3]$/.test(u)||n.conf.splash||n.conf.poster||n.conf.autoplay||(S=o.css(l,"backgroundColor"),_="none"!==o.css(l,"backgroundImage")||S&&"rgba(0, 0, 0, 0)"!==S&&"transparent"!==S,_&&(n.conf.poster=!0)),$};t.isSupported()&&0!==u.indexOf("5.")&&(E.engineName=i,E[i+"ClientVersion"]=t.version,E.canPlay=function(t,e){return e[i]!==!1&&e.clip[i]!==!1&&(r=a({bufferWhilePaused:!0,smoothSwitching:!0,recoverMediaError:!0},e[i],e.clip[i]),p(t)&&(!(l.safari&&s.dataload)||r.safari))},e(function(t,e){var n=t.conf;c?t.pluginQualitySelectorEnabled=g(n)&&E.canPlay("application/x-mpegurl",n):!s.mutedAutoplay||n.splash||n.autoplay||"7.1.0"!==u&&"7.0.0"!==u||(t.splash=!0,n.splash="string"!=typeof n.poster||n.poster,n.poster=void 0,n.autoplay=!0,m(e))}),e.engines.unshift(E))};"object"==typeof t&&t.exports?t.exports=r.bind(void 0,n(1100)):window.Hls&&e&&r(window.Hls,e)}()}).call(e,n(874))},1100:function(t,e,n){!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.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="/dist/",e(e.s=7)}([function(t,e,n){"use strict";function r(){}function i(t,e){return e="["+t+"] > "+e}function o(t){var e=self.console[t];return e?function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];r[0]&&(r[0]=i(t,r[0])),e.apply(self.console,r)}:r}function a(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];n.forEach(function(e){u[e]=t[e]?t[e].bind(t):o(e)})}n.d(e,"a",function(){return c}),n.d(e,"b",function(){return f});var s="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},l={trace:r,debug:r,log:r,warn:r,info:r,error:r},u=l,c=function(t){if(t===!0||"object"===("undefined"==typeof t?"undefined":s(t))){a(t,"debug","log","info","warn","error");try{u.log()}catch(t){u=l}}else u=l},f=u},function(t,e,n
vendor: 2,011 bytes, line 66
66){"use strict";e.a={MEDIA_ATTACHING:"hlsMediaAttaching",MEDIA_ATTACHED:"hlsMediaAttached",MEDIA_DETACHING:"hlsMediaDetaching",MEDIA_DETACHED:"hlsMediaDetached",BUFFER_RESET:"hlsBufferReset",BUFFER_CODECS:"hlsBufferCodecs",BUFFER_CREATED:"hlsBufferCreated",BUFFER_APPENDING:"hlsBufferAppending",BUFFER_APPENDED:"hlsBufferAppended",BUFFER_EOS:"hlsBufferEos",BUFFER_FLUSHING:"hlsBufferFlushing",BUFFER_FLUSHED:"hlsBufferFlushed",MANIFEST_LOADING:"hlsManifestLoading",MANIFEST_LOADED:"hlsManifestLoaded",MANIFEST_PARSED:"hlsManifestParsed",LEVEL_SWITCH:"hlsLevelSwitch",LEVEL_SWITCHING:"hlsLevelSwitching",LEVEL_SWITCHED:"hlsLevelSwitched",LEVEL_LOADING:"hlsLevelLoading",LEVEL_LOADED:"hlsLevelLoaded",LEVEL_UPDATED:"hlsLevelUpdated",LEVEL_PTS_UPDATED:"hlsLevelPtsUpdated",AUDIO_TRACKS_UPDATED:"hlsAudioTracksUpdated",AUDIO_TRACK_SWITCH:"hlsAudioTrackSwitch",AUDIO_TRACK_SWITCHING:"hlsAudioTrackSwitching",AUDIO_TRACK_SWITCHED:"hlsAudioTrackSwitched",AUDIO_TRACK_LOADING:"hlsAudioTrackLoading",AUDIO_TRACK_LOADED:"hlsAudioTrackLoaded",SUBTITLE_TRACKS_UPDATED:"hlsSubtitleTracksUpdated",SUBTITLE_TRACK_SWITCH:"hlsSubtitleTrackSwitch",SUBTITLE_TRACK_LOADING:"hlsSubtitleTrackLoading",SUBTITLE_TRACK_LOADED:"hlsSubtitleTrackLoaded",SUBTITLE_FRAG_PROCESSED:"hlsSubtitleFragProcessed",INIT_PTS_FOUND:"hlsInitPtsFound",FRAG_LOADING:"hlsFragLoading",FRAG_LOAD_PROGRESS:"hlsFragLoadProgress",FRAG_LOAD_EMERGENCY_ABORTED:"hlsFragLoadEmergencyAborted",FRAG_LOADED:"hlsFragLoaded",FRAG_DECRYPTED:"hlsFragDecrypted",FRAG_PARSING_INIT_SEGMENT:"hlsFragParsingInitSegment",FRAG_PARSING_USERDATA:"hlsFragParsingUserdata",FRAG_PARSING_METADATA:"hlsFragParsingMetadata",FRAG_PARSING_DATA:"hlsFragParsingData",FRAG_PARSED:"hlsFragParsed",FRAG_BUFFERED:"hlsFragBuffered",FRAG_CHANGED:"hlsFragChanged",FPS_DROP:"hlsFpsDrop",FPS_DROP_LEVEL_CAPPING:"hlsFpsDropLevelCapping",ERROR:"hlsError",DESTROYING:"hlsDestroying",KEY_LOADING:"hlsKeyLoading",KEY_LOADED:"hlsKeyLoaded",STREAM_STATE_TRANSITION:"hlsStreamStateTransition"}},function(t,e,
vendor: 3,783 bytes, line 66
66n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});var r={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},i={MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",MANIFEST_PARSING_ERROR:"manifestParsingError",MANIFEST_INCOMPATIBLE_CODECS_ERROR:"manifestIncompatibleCodecsError",LEVEL_LOAD_ERROR:"levelLoadError",LEVEL_LOAD_TIMEOUT:"levelLoadTimeOut",LEVEL_SWITCH_ERROR:"levelSwitchError",AUDIO_TRACK_LOAD_ERROR:"audioTrackLoadError",AUDIO_TRACK_LOAD_TIMEOUT:"audioTrackLoadTimeOut",FRAG_LOAD_ERROR:"fragLoadError",FRAG_LOOP_LOADING_ERROR:"fragLoopLoadingError",FRAG_LOAD_TIMEOUT:"fragLoadTimeOut",FRAG_DECRYPT_ERROR:"fragDecryptError",FRAG_PARSING_ERROR:"fragParsingError",REMUX_ALLOC_ERROR:"remuxAllocError",KEY_LOAD_ERROR:"keyLoadError",KEY_LOAD_TIMEOUT:"keyLoadTimeOut",BUFFER_ADD_CODEC_ERROR:"bufferAddCodecError",BUFFER_APPEND_ERROR:"bufferAppendError",BUFFER_APPENDING_ERROR:"bufferAppendingError",BUFFER_STALLED_ERROR:"bufferStalledError",BUFFER_FULL_ERROR:"bufferFullError",BUFFER_SEEK_OVER_HOLE:"bufferSeekOverHole",BUFFER_NUDGE_ON_STALL:"bufferNudgeOnStall",INTERNAL_EXCEPTION:"internalException"}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(){r(this,t)}return t.isHeader=function(t,e){return e+10<=t.length&&73===t[e]&&68===t[e+1]&&51===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},t.isFooter=function(t,e){return e+10<=t.length&&51===t[e]&&68===t[e+1]&&73===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},t.getID3Data=function(e,n){for(var r=n,i=0;t.isHeader(e,n);){i+=10;var o=t._readSize(e,n+6);i+=o,t.isFooter(e,n+10)&&(i+=10),n+=i}if(i>0)return e.subarray(r,r+i)},t._readSize=function(t,e){var n=0;return n=(127&t[e])<<21,n|=(127&t[e+1])<<14,n|=(127&t[e+2])<<7,n|=127&t[e+3]},t.getTimeStamp=function(e){for(var n=t.getID3Frames(e),r=0;r<n.length;r++){var i=n[r];if(t.isTimeStampFrame(i))return t._readTimeStamp(i)}},t.isTimeStampFrame=function(t){return t&&"PRIV"===t.key&&"com.apple.streaming.transportStreamTimestamp"===t.info},t._getFrameData=function(e){var n=String.fromCharCode(e[0],e[1],e[2],e[3]),r=t._readSize(e,4),i=10;return{type:n,size:r,data:e.subarray(i,i+r)}},t.getID3Frames=function(e){for(var n=0,r=[];t.isHeader(e,n);){var i=t._readSize(e,n+6);n+=10;for(var o=n+i;n+8<o;){var a=t._getFrameData(e.subarray(n)),s=t._decodeFrame(a);s&&r.push(s),n+=a.size+10}t.isFooter(e,n)&&(n+=10)}return r},t._decodeFrame=function(e){return"PRIV"===e.type?t._decodePrivFrame(e):"T"===e.type[0]?t._decodeTextFrame(e):"W"===e.type[0]?t._decodeURLFrame(e):void 0},t._readTimeStamp=function(t){if(8===t.data.byteLength){var e=new Uint8Array(t.data),n=1&e[3],r=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return r/=45,n&&(r+=47721858.84),Math.round(r)}},t._decodePrivFrame=function(e){if(!(e.size<2)){var n=t._utf8ArrayToStr(e.data),r=new Uint8Array(e.data.subarray(n.length+1));return{key:e.type,info:n,data:r.buffer}}},t._decodeTextFrame=function(e){if(!(e.size<2)){if("TXXX"===e.type){var n=1,r=t._utf8ArrayToStr(e.data.subarray(n));n+=r.length+1;var i=t._utf8ArrayToStr(e.data.subarray(n));return{key:e.type,info:r,data:i}}var o=t._utf8ArrayToStr(e.data.subarray(1));return{key:e.type,data:o}}},t._decodeURLFrame=function(e){if("WXXX"===e.type){if(e.size<2)return;var n=1,r=t._utf8ArrayToStr(e.data.subarray(n));n+=r.length+1;var i=t._utf8ArrayToStr(e.data.subarray(n));return{key:e.type,info:r,data:i}}var o=t._utf8ArrayToStr(e.data);return{key:e.type,data:o}},t._utf8ArrayToStr=function(t){for(var e=void 0,n=void 0,r="",i=0,o=t.length;i<o;){var a=t[i++];switch(a>>4){case 0:return r;
vendor: 7,490 bytes, line 66
66case 1:case 2:case 3:case 4:case 5:case 6:case 7:r+=String.fromCharCode(a);break;case 12:case 13:e=t[i++],r+=String.fromCharCode((31&a)<<6|63&e);break;case 14:e=t[i++],n=t[i++],r+=String.fromCharCode((15&a)<<12|(63&e)<<6|(63&n)<<0)}}return r},t}();e.a=i},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function a(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,s,l,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var c=new Error('Uncaught, unspecified "error" event. ('+e+")");throw c.context=e,c}if(n=this._events[t],a(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),u=n.slice(),i=u.length,l=0;l<i;l++)u[l].apply(this,s);return!0},n.prototype.addListener=function(t,e){var i;if(!r(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,r(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,a,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){var e;return e=this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){!function(e){var n=/^((?:[^\/;?#]+:)?)(\/\/[^\/\;?#]*)?(.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,r=/^([^\/;?#]*)(.*)$/,i=/(?:\/|^)\.(?=\/)/g,o=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,a={buildAbsoluteURL:function(t,e,n){if(n=n||{},t=t.trim(),e=e.trim(),!e){if(!n.alwaysNormalize)return t;var i=this.parseURL(t);if(!s)throw new Error("Error trying to parse base URL.");return i.path=a.normalizePath(i.path),a.buildURLFromParts(i)}var o=this.parseURL(e);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=a.normalizePath(o.path),a.buildURLFromParts(o)):e;var s=this.parseURL(t);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var l=r.exec(s.path);s.netLoc=l[1],s.path=l[2]}s.netLoc&&!s.path&&(s.path="/");var u={scheme:s.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(u.netLoc=s.netLoc,"/"!==o.path[0]))if(o.path){var c=s.path,f=c.substring(0,c.lastIndexOf("/")+1)+o.path;u.path=a.normalizePath(f)}else u.path=s.path,o.params||(u.params=s.params,o.query||(u.query=s.query));return null===u.path&&(u.path=n.alwaysNormalize?a.normalizePath(o.path):o.path),a.buildURLFromParts(u)},parseURL:function(t){var e=n.exec(t);return e?{scheme:e[1]||"",netLoc:e[2]||"",path:e[3]||"",params:e[4]||"",query:e[5]||"",fragment:e[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(i,"");t.length!==(t=t.replace(o,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}};t.exports=a}(this)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e,n,r){var i,o,a,s,l,u=navigator.userAgent.toLowerCase(),c=r,f=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];return i=((192&e[n+2])>>>6)+1,o=(60&e[n+2])>>>2,o>f.length-1?void t.trigger(Event.ERROR,{type:D.b.MEDIA_ERROR,details:D.a.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+o}):(s=(1&e[n+2])<<2,s|=(192&e[n+3])>>>6,P.b.log("manifest codec:"+r+",ADTS data:type:"+i+",sampleingIndex:"+o+"["+f[o]+"Hz],channelConfig:"+s),/firefox/i.test(u)?o>=6?(i=5,l=new Array(4),a=o-3):(i=2,l=new Array(2),a=o):u.indexOf("android")!==-1?(i=2,l=new Array(2),a=o):(i=5,l=new Array(4),r&&(r.indexOf("mp4a.40.29")!==-1||r.indexOf("mp4a.40.5")!==-1)||!r&&o>=6?a=o-3:((r&&r.indexOf("mp4a.40.2")!==-1&&(o>=6&&1===s||/vivaldi/i.test(u))||!r&&1===s)&&(i=2,l=new Array(2)),a=o)),l[0]=i<<3,l[0]|=(14&o)>>1,l[1]|=(1&o)<<7,l[1]|=s<<3,5===i&&(l[1]|=(14&a)>>1,l[2]=(1&a)<<7,l[2]|=8,l[3]=0),{config:l,samplerate:f[o],channelCount:s,codec:"mp4a.40."+i,manifestCodec:c})}function l(t,e){return 255===t[e]&&240===(246&t[e+1])}function u(t,e){return 1&t[e+1]?7:9}function c(t,e){return(3&t[e+3])<<11|t[e+4]<<3|(224&t[e+5])>>>5}function f(t,e){return!!(e+1<t.length&&l(t,e))}function d(t,e){if(e+1<t.length&&l(t,e)){var n=u(t,e),r=n;e+5<t.length&&(r=c(t,e));var i=e+r;if(i===t.length||i+1<t.length&&l(t,i))return!0}return!1}function h(t,e,n,r,i){if(!t.samplerate){var o=s(e,n,r,i);t.config=o.config,t.samplerate=o.samplerate,t.channelCount=o.channelCount,t.codec=o.codec,t.manifestCodec=o.manifestCodec,P.b.log("parsed codec:"+t.codec+",rate:"+o.samplerate+",nb channel:"+o.channelCount)}
vendor: 108,461 bytes, lines 66-70
66}function p(t){return 9216e4/t}function g(t,e,n,r,i){var o,a,s,l=t.length;if(o=u(t,e),a=c(t,e),a-=o,a>0&&e+o+a<=l)return s=n+r*i,{headerLength:o,frameLength:a,stamp:s}}function m(t,e,n,r,i){var o=p(t.samplerate),a=g(e,n,r,i,o);if(a){var s=a.stamp,l=a.headerLength,u=a.frameLength,c={unit:e.subarray(n+l,n+l+u),pts:s,dts:s};return t.samples.push(c),t.len+=u,{sample:c,length:u+l}}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var x=n(1),D=n(2),L=function(){function t(e,n){r(this,t),this.subtle=e,this.aesIV=n}return t.prototype.decrypt=function(t,e){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},e,t)},t}(),O=L,R=function(){function t(e,n){i(this,t),this.subtle=e,this.key=n}return t.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},t}(),k=R,N=function(){function t(){o(this,t),this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return t.prototype.uint8ArrayToUint32Array_=function(t){for(var e=new DataView(t),n=new Uint32Array(4),r=0;r<4;r++)n[r]=e.getUint32(4*r);return n},t.prototype.initTable=function(){var t=this.sBox,e=this.invSBox,n=this.subMix,r=n[0],i=n[1],o=n[2],a=n[3],s=this.invSubMix,l=s[0],u=s[1],c=s[2],f=s[3],d=new Uint32Array(256),h=0,p=0,g=0;for(g=0;g<256;g++)g<128?d[g]=g<<1:d[g]=g<<1^283;for(g=0;g<256;g++){var m=p^p<<1^p<<2^p<<3^p<<4;m=m>>>8^255&m^99,t[h]=m,e[m]=h;var v=d[h],y=d[v],b=d[y],w=257*d[m]^16843008*m;r[h]=w<<24|w>>>8,i[h]=w<<16|w>>>16,o[h]=w<<8|w>>>24,a[h]=w,w=16843009*b^65537*y^257*v^16843008*h,l[m]=w<<24|w>>>8,u[m]=w<<16|w>>>16,c[m]=w<<8|w>>>24,f[m]=w,h?(h=v^d[d[d[b^v]]],p^=d[d[p]]):h=p=1}},t.prototype.expandKey=function(t){for(var e=this.uint8ArrayToUint32Array_(t),n=!0,r=0;r<e.length&&n;)n=e[r]===this.key[r],r++;if(!n){this.key=e;var i=this.keySize=e.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);var o=this.ksRows=4*(i+6+1),a=void 0,s=void 0,l=this.keySchedule=new Uint32Array(o),u=this.invKeySchedule=new Uint32Array(o),c=this.sBox,f=this.rcon,d=this.invSubMix,h=d[0],p=d[1],g=d[2],m=d[3],v=void 0,y=void 0;for(a=0;a<o;a++)a<i?v=l[a]=e[a]:(y=v,a%i===0?(y=y<<8|y>>>24,y=c[y>>>24]<<24|c[y>>>16&255]<<16|c[y>>>8&255]<<8|c[255&y],y^=f[a/i|0]<<24):i>6&&a%i===4&&(y=c[y>>>24]<<24|c[y>>>16&255]<<16|c[y>>>8&255]<<8|c[255&y]), 67l[a]=v=(l[a-i]^y)>>>0);for(s=0;s<o;s++)a=o-s,y=3&s?l[a]:l[a-4],s<4||a<=4?u[s]=y:u[s]=h[c[y>>>24]]^p[c[y>>>16&255]]^g[c[y>>>8&255]]^m[c[255&y]],u[s]=u[s]>>>0}},t.prototype.networkToHostOrderSwap=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},t.prototype.decrypt=function(t,e,n){for(var r,i,o=this.keySize+6,a=this.invKeySchedule,s=this.invSBox,l=this.invSubMix,u=l[0],c=l[1],f=l[2],d=l[3],h=this.uint8ArrayToUint32Array_(n),p=h[0],g=h[1],m=h[2],v=h[3],y=new Int32Array(t),b=new Int32Array(y.length),w=void 0,E=void 0,T=void 0,S=void 0,_=void 0,A=void 0,I=void 0,C=void 0,x=void 0,D=void 0,L=void 0,O=void 0,R=this.networkToHostOrderSwap;e<y.length;){for(x=R(y[e]),D=R(y[e+1]),L=R(y[e+2]),O=R(y[e+3]),_=x^a[0],A=O^a[1],I=L^a[2],C=D^a[3],r=4,i=1;i<o;i++)w=u[_>>>24]^c[A>>16&255]^f[I>>8&255]^d[255&C]^a[r],E=u[A>>>24]^c[I>>16&255]^f[C>>8&255]^d[255&_]^a[r+1],T=u[I>>>24]^c[C>>16&255]^f[_>>8&255]^d[255&A]^a[r+2],S=u[C>>>24]^c[_>>16&255]^f[A>>8&255]^d[255&I]^a[r+3],_=w,A=E,I=T,C=S,r+=4;w=s[_>>>24]<<24^s[A>>16&255]<<16^s[I>>8&255]<<8^s[255&C]^a[r],E=s[A>>>24]<<24^s[I>>16&255]<<16^s[C>>8&255]<<8^s[255&_]^a[r+1],T=s[I>>>24]<<24^s[C>>16&255]<<16^s[_>>8&255]<<8^s[255&A]^a[r+2],S=s[C>>>24]<<24^s[_>>16&255]<<16^s[A>>8&255]<<8^s[255&I]^a[r+3],r+=3,b[e]=R(w^p),b[e+1]=R(S^g),b[e+2]=R(T^m),b[e+3]=R(E^v),p=x,g=D,m=L,v=O,e+=4}return b.buffer},t.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},t}(),M=N,P=n(0),j=function(){function t(e,n){a(this,t),this.observer=e,this.config=n,this.logEnabled=!0;try{var r=crypto?crypto:self.crypto;this.subtle=r.subtle||r.webkitSubtle}catch(t){}this.disableWebCrypto=!this.subtle}return t.prototype.isSync=function(){return this.disableWebCrypto&&this.config.enableSoftwareAES},t.prototype.decrypt=function(t,e,n,r){var i=this;if(this.disableWebCrypto&&this.config.enableSoftwareAES){this.logEnabled&&(P.b.log("JS AES decrypt"),this.logEnabled=!1);var o=this.decryptor;o||(this.decryptor=o=new M),o.expandKey(e),r(o.decrypt(t,0,n))}else{this.logEnabled&&(P.b.log("WebCrypto AES decrypt"),this.logEnabled=!1);var a=this.subtle;this.key!==e&&(this.key=e,this.fastAesKey=new k(a,e)),this.fastAesKey.expandKey().then(function(o){var s=new O(a,n);s.decrypt(t,o).catch(function(o){i.onWebCryptoError(o,t,e,n,r)}).then(function(t){r(t)})}).catch(function(o){i.onWebCryptoError(o,t,e,n,r)})}},t.prototype.onWebCryptoError=function(t,e,n,r,i){this.config.enableSoftwareAES?(P.b.log("WebCrypto Error, disable WebCrypto API"),this.disableWebCrypto=!0,this.logEnabled=!0,this.decrypt(e,n,r,i)):(P.b.error("decrypting error : "+t.message),this.observer.trigger(Event.ERROR,{type:D.b.MEDIA_ERROR,details:D.a.FRAG_DECRYPT_ERROR,fatal:!0,reason:t.message}))},t.prototype.destroy=function(){var t=this.decryptor;t&&(t.destroy(),this.decryptor=void 0)},t}(),F=j,U=n(3),B=function(){function t(e,n,r){v(this,t),this.observer=e,this.config=r,this.remuxer=n}return t.prototype.resetInitSegment=function(t,e,n,r){this._audioTrack={container:"audio/adts",type:"audio",id:0,sequenceNumber:0,isAAC:!0,samples:[],len:0,manifestCodec:e,duration:r,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(t){if(!t)return!1;for(var e=U.a.getID3Data(t,0)||[],n=e.length,r=t.length;n<r;n++)if(d(t,n))return P.b.log("ADTS sync word found !"),!0;return!1},t.prototype.append=function(t,e,n,r){for(var i=this._audioTrack,o=U.a.getID3Data(t,0)||[],a=U.a.getTimeStamp(o),s=a?90*a:9e4*e,l=0,u=s,c=t.length,d=o.length,p=[{pts:u,dts:u,data:o}];d<c-1;)if(f(t,d)&&d+5<c){h(i,this.observer,t,d,i.manifestCodec);var g=m(i,t,d,s,l);if(!g){P.b.log("Unable to parse AAC frame");break}d+=g.length,u=g.sample.pts,l++}else U.a.isHeader(t,d)?(o=U.a.getID3Data(t,d),p.push({pts:u,dts:u,data:o}),d+=o.length):d++;this.remuxer.remux(i,{samples:[]},{samples:p,inputTimeScale:9e4},{samples:[]},e,n,r)},t.prototype.destroy=function(){},t}(),G=B,W=Math.pow(2,32)-1,z=function(){function t(e,n){y(this,t),this.observer=e,this.remuxer=n}return t.prototype.resetTimeStamp=function(t){this.initPTS=t},t.prototype.resetInitSegment=function(e,n,r,i){if(e&&e.byteLength){var o=this.initData=t.parseInitSegment(e),a={};o.audio&&o.video?a.audiovideo={container:"video/mp4",codec:n+","+r,initSegment:i?e:null}:(o.audio&&(a.audio={container:"audio/mp4",codec:n,initSegment:i?e:null}),o.video&&(a.video={container:"video/mp4",codec:r,initSegment:i?e:null})),this.observer.trigger(x.a.FRAG_PARSING_INIT_SEGMENT,{tracks:a})}else n&&(this.audioCodec=n),r&&(this.videoCodec=r)},t.probe=function(e){if(e.length>=8){var n=t.bin2str(e.subarray(4,8));return["moof","ftyp","styp"].indexOf(n)>=0}return!1},t.bin2str=function(t){return String.fromCharCode.apply(null,t)},t.readUint32=function(t,e){t.data&&(e+=t.start,t=t.data);var n=t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3];return n<0?4294967296+n:n},t.writeUint32=function(t,e,n){t.data&&(e+=t.start,t=t.data),t[e]=n>>24,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n},t.findBox=function(e,n){var r,i,o,a,s,l,u,c=[];if(e.data?(l=e.start,a=e.end,e=e.data):(l=0,a=e.byteLength),!n.length)return null;for(r=l;r<a;)i=t.readUint32(e,r),o=t.bin2str(e.subarray(r+4,r+8)),u=i>1?r+i:a,o===n[0]&&(1===n.length?c.push({data:e,start:r+8,end:u}):(s=t.findBox({data:e,start:r+8,end:u},n.slice(1)),s.length&&(c=c.concat(s)))),r=u;return c},t.parseInitSegment=function(e){var n=[],r=t.findBox(e,["moov","trak"]);return r.forEach(function(e){var r=t.findBox(e,["tkhd"])[0];if(r){var i=r.data[r.start],o=0===i?12:20,a=t.readUint32(r,o),s=t.findBox(e,["mdia","mdhd"])[0];if(s){i=s.data[s.start],o=0===i?12:20;var l=t.readUint32(s,o),u=t.findBox(e,["mdia","hdlr"])[0];if(u){var c=t.bin2str(u.data.subarray(u.start+8,u.start+12)),f={soun:"audio",vide:"video"}[c];f&&(n[a]={timescale:l,type:f},n[f]={timescale:l,id:a})}}}}),n},t.getStartDTS=function(e,n){var r,i,o;return r=t.findBox(n,["moof","traf"]),i=[].concat.apply([],r.map(function(n){return t.findBox(n,["tfhd"]).map(function(r){var i,o,a;return i=t.readUint32(r,4),o=e[i].timescale||9e4,a=t.findBox(n,["tfdt"]).map(function(e){var n,r;return n=e.data[e.start],r=t.readUint32(e,4),1===n&&(r*=Math.pow(2,32),r+=t.readUint32(e,8)),r})[0],a/o})})),o=Math.min.apply(null,i),isFinite(o)?o:0},t.offsetStartDTS=function(e,n,r){t.findBox(n,["moof","traf"]).map(function(n){return t.findBox(n,["tfhd"]).map(function(i){var o=t.readUint32(i,4),a=e[o].timescale||9e4;t.findBox(n,["tfdt"]).map(function(e){var n=e.data[e.start],i=t.readUint32(e,4);if(0===n)t.writeUint32(e,4,i-r*a);else{i*=Math.pow(2,32),i+=t.readUint32(e,8),i-=r*a,i=Math.max(i,0);var o=Math.floor(i/(W+1)),s=Math.floor(i%(W+1));t.writeUint32(e,4,o),t.writeUint32(e,8,s)}})})})},t.prototype.append=function(e,n,r,i){var o=this.initData;o||(this.resetInitSegment(e,this.audioCodec,this.videoCodec),o=this.initData);var a=void 0,s=this.initPTS;if(void 0===s){var l=t.getStartDTS(o,e);this.initPTS=s=l-n,this.observer.trigger(x.a.INIT_PTS_FOUND,{initPTS:s})}t.offsetStartDTS(o,e,s),a=t.getStartDTS(o,e),this.remuxer.remux(o.audio,o.video,null,null,a,r,i,e)},t.prototype.destroy=function(){},t}(),H=z,Y={BitratesMap:[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],SamplingRateMap:[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],appendFrame:function(t,e,n,r,i){if(!(n+24>e.length)){var o=this.parseHeader(e,n);if(o&&n+o.frameLength<=e.length){var a=10368e4/o.sampleRate,s=r+i*a,l={unit:e.subarray(n,n+o.frameLength),pts:s,dts:s};return t.config=[],t.channelCount=o.channelCount,t.samplerate=o.sampleRate,t.samples.push(l),t.len+=o.frameLength,{sample:l,length:o.frameLength}}}},parseHeader:function(t,e){var n=t[e+1]>>3&3,r=t[e+1]>>1&3,i=t[e+2]>>4&15,o=t[e+2]>>2&3,a=!!(2&t[e+2]);if(1!==n&&0!==i&&15!==i&&3!==o){var s=3===n?3-r:3===r?3:4,l=1e3*Y.BitratesMap[14*s+i-1],u=3===n?0:2===n?1:2,c=Y.SamplingRateMap[3*u+o],f=a?1:0,d=t[e+3]>>6===3?1:2,h=3===r?(3===n?12:6)*l/c+f<<2:(3===n?144:72)*l/c+f|0;return{sampleRate:c,channelCount:d,frameLength:h}}},isHeaderPattern:function(t,e){return 255===t[e]&&224===(224&t[e+1])&&0!==(6&t[e+1])},isHeader:function(t,e){return!!(e+1<t.length&&this.isHeaderPattern(t,e))},probe:function(t,e){if(e+1<t.length&&this.isHeaderPattern(t,e)){var n=4,r=this.parseHeader(t,e),i=n;r&&r.frameLength&&(i=r.frameLength);var o=e+i;if(o===t.length||o+1<t.length&&this.isHeaderPattern(t,o))return!0}return!1}},Z=Y,V=function(){function t(e){b(this,t),this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}return t.prototype.loadWord=function(){var t=this.data,e=this.bytesAvailable,n=t.byteLength-e,r=new Uint8Array(4),i=Math.min(4,e);if(0===i)throw new Error("no bytes available");r.set(t.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i},t.prototype.skipBits=function(t){var e;this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,e=t>>3,t-=e>>3,this.bytesAvailable-=e,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)},t.prototype.readBits=function(t){var e=Math.min(this.bitsAvailable,t),n=this.word>>>32-e;return t>32&&P.b.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=e,this.bitsAvailable>0?this.word<<=e:this.bytesAvailable>0&&this.loadWord(),e=t-e,e>0&&this.bitsAvailable?n<<e|this.readBits(e):n},t.prototype.skipLZ=function(){var t;for(t=0;t<this.bitsAvailable;++t)if(0!==(this.word&2147483648>>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()},t.prototype.skipUEG=function(){this.skipBits(1+this.skipLZ())},t.prototype.skipEG=function(){this.skipBits(1+this.skipLZ())},t.prototype.readUEG=function(){var t=this.skipLZ();return this.readBits(t+1)-1},t.prototype.readEG=function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)},t.prototype.readBoolean=function(){return 1===this.readBits(1)},t.prototype.readUByte=function(){return this.readBits(8)},t.prototype.readUShort=function(){return this.readBits(16)},t.prototype.readUInt=function(){return this.readBits(32)},t.prototype.skipScalingList=function(t){var e,n,r=8,i=8;for(e=0;e<t;e++)0!==i&&(n=this.readEG(),i=(r+n+256)%256),r=0===i?r:i},t.prototype.readSPS=function(){var t,e,n,r,i,o,a,s,l,u=0,c=0,f=0,d=0,h=this.readUByte.bind(this),p=this.readBits.bind(this),g=this.readUEG.bind(this),m=this.readBoolean.bind(this),v=this.skipBits.bind(this),y=this.skipEG.bind(this),b=this.skipUEG.bind(this),w=this.skipScalingList.bind(this);if(h(),t=h(),e=p(5),v(3),n=h(),b(),100===t||110===t||122===t||244===t||44===t||83===t||86===t||118===t||128===t){var E=g();if(3===E&&v(1),b(),b(),v(1),m())for(s=3!==E?8:12,l=0;l<s;l++)m()&&w(l<6?16:64)}b();var T=g();if(0===T)g();else if(1===T)for(v(1),y(),y(),r=g(),l=0;l<r;l++)y();b(),v(1),i=g(),o=g(),a=p(1),0===a&&v(1),v(1),m()&&(u=g(),c=g(),f=g(),d=g());var S=[1,1];if(m()&&m()){var _=h();switch(_){case 1:S=[1,1];break;case 2:S=[12,11];break;case 3:S=[10,11];break;case 4:S=[16,11];break;case 5:S=[40,33];break;case 6:S=[24,11];break;case 7:S=[20,11];break;case 8:S=[32,11];break;case 9:S=[80,33];break;case 10:S=[18,11];break;case 11:S=[15,11];break;case 12:S=[64,33];break;case 13:S=[160,99];break;case 14:S=[4,3];break;case 15:S=[3,2];break;case 16:S=[2,1];break;case 255:S=[h()<<8|h(),h()<<8|h()]}}return{width:Math.ceil(16*(i+1)-2*u-2*c),height:(2-a)*(o+1)*16-(a?2:4)*(f+d),pixelRatio:S}},t.prototype.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},t}(),J=V,X=function(){function t(e,n,r,i){w(this,t),this.decryptdata=r,this.discardEPB=i,this.decrypter=new F(e,n)}return t.prototype.decryptBuffer=function(t,e){this.decrypter.decrypt(t,this.decryptdata.key.buffer,this.decryptdata.iv.buffer,e)},t.prototype.decryptAacSample=function(t,e,n,r){var i=t[e].unit,o=i.subarray(16,i.length-i.length%16),a=o.buffer.slice(o.byteOffset,o.byteOffset+o.length),s=this;this.decryptBuffer(a,function(o){o=new Uint8Array(o),i.set(o,16),r||s.decryptAacSamples(t,e+1,n)})},t.prototype.decryptAacSamples=function(t,e,n){for(;;e++){if(e>=t.length)return void n();if(!(t[e].unit.length<32)){var r=this.decrypter.isSync();if(this.decryptAacSample(t,e,n,r),!r)return}}},t.prototype.getAvcEncryptedData=function(t){for(var e=16*Math.floor((t.length-48)/160)+16,n=new Int8Array(e),r=0,i=32;i<=t.length-16;i+=160,r+=16)n.set(t.subarray(i,i+16),r);return n},t.prototype.getAvcDecryptedUnit=function(t,e){e=new Uint8Array(e);for(var n=0,r=32;r<=t.length-16;r+=160,n+=16)t.set(e.subarray(n,n+16),r);return t},t.prototype.decryptAvcSample=function(t,e,n,r,i,o){var a=this.discardEPB(i.data),s=this.getAvcEncryptedData(a),l=this;this.decryptBuffer(s.buffer,function(s){i.data=l.getAvcDecryptedUnit(a,s),o||l.decryptAvcSamples(t,e,n+1,r)})},t.prototype.decryptAvcSamples=function(t,e,n,r){for(;;e++,n=0){if(e>=t.length)return void r();for(var i=t[e].units;!(n>=i.length);n++){var o=i[n];if(!(o.length<=48||1!==o.type&&5!==o.type)){var a=this.decrypter.isSync();if(this.decryptAvcSample(t,e,n,r,o,a),!a)return}}}},t}(),K=X,q=function(){function t(e,n,r,i){E(this,t),this.observer=e,this.config=r,this.typeSupported=i,this.remuxer=n,this.sampleAes=null}return t.prototype.setDecryptData=function(t){null!=t&&null!=t.key&&"SAMPLE-AES"===t.method?this.sampleAes=new K(this.observer,this.config,t,this.discardEPB):this.sampleAes=null},t.probe=function(t){return t.length>=564&&71===t[0]&&71===t[188]&&71===t[376]},t.prototype.resetInitSegment=function(t,e,n,r){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack={container:"video/mp2t",type:"video",id:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:0},this._audioTrack={container:"video/mp2t",type:"audio",id:-1,inputTimeScale:9e4,duration:r,sequenceNumber:0,samples:[],len:0,isAAC:!0},this._id3Track={type:"id3",id:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0},this._txtTrack={type:"text",id:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0},this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=e,this.videoCodec=n,this._duration=r},t.prototype.resetTimeStamp=function(){},t.prototype.append=function(t,e,n,r){var i,o,a,s,l,u,c=t.length,f=!1;this.contiguous=n;var d=this.pmtParsed,h=this._avcTrack,p=this._audioTrack,g=this._id3Track,m=h.id,v=p.id,y=g.id,b=this._pmtId,w=h.pesData,E=p.pesData,T=g.pesData,S=this._parsePAT,_=this._parsePMT,A=this._parsePES,I=this._parseAVCPES.bind(this),C=this._parseAACPES.bind(this),L=this._parseMPEGPES.bind(this),O=this._parseID3PES.bind(this);for(c-=c%188,i=0;i<c;i+=188)if(71===t[i]){if(o=!!(64&t[i+1]),a=((31&t[i+1])<<8)+t[i+2],s=(48&t[i+3])>>4,s>1){if(l=i+5+t[i+4],l===i+188)continue}else l=i+4;switch(a){case m:o&&(w&&(u=A(w))&&I(u,!1),w={data:[],size:0}),w&&(w.data.push(t.subarray(l,i+188)),w.size+=i+188-l);break;case v:o&&(E&&(u=A(E))&&(p.isAAC?C(u):L(u)),E={data:[],size:0}),E&&(E.data.push(t.subarray(l,i+188)),E.size+=i+188-l);break;case y:o&&(T&&(u=A(T))&&O(u),T={data:[],size:0}),T&&(T.data.push(t.subarray(l,i+188)),T.size+=i+188-l);break;case 0:o&&(l+=t[l]+1),b=this._pmtId=S(t,l);break;case b:o&&(l+=t[l]+1);var R=_(t,l,this.typeSupported.mpeg===!0||this.typeSupported.mp3===!0,null!=this.sampleAes);m=R.avc,m>0&&(h.id=m),v=R.audio,v>0&&(p.id=v,p.isAAC=R.isAAC),y=R.id3,y>0&&(g.id=y),f&&!d&&(P.b.log("reparse from beginning"),f=!1,i=-188),d=this.pmtParsed=!0;break;case 17:case 8191:break;default:f=!0}}else this.observer.trigger(x.a.ERROR,{type:D.b.MEDIA_ERROR,details:D.a.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});w&&(u=A(w))?(I(u,!0),h.pesData=null):h.pesData=w,E&&(u=A(E))?(p.isAAC?C(u):L(u),p.pesData=null):(E&&E.size&&P.b.log("last AAC PES packet truncated,might overlap between fragments"),p.pesData=E),T&&(u=A(T))?(O(u),g.pesData=null):g.pesData=T,null==this.sampleAes?this.remuxer.remux(p,h,g,this._txtTrack,e,n,r):this.decryptAndRemux(p,h,g,this._txtTrack,e,n,r)},t.prototype.decryptAndRemux=function(t,e,n,r,i,o,a){if(t.samples&&t.isAAC){var s=this;this.sampleAes.decryptAacSamples(t.samples,0,function(){s.decryptAndRemuxAvc(t,e,n,r,i,o,a)})}else this.decryptAndRemuxAvc(t,e,n,r,i,o,a)},t.prototype.decryptAndRemuxAvc=function(t,e,n,r,i,o,a){if(e.samples){var s=this;this.sampleAes.decryptAvcSamples(e.samples,0,0,function(){s.remuxer.remux(t,e,n,r,i,o,a)})}else this.remuxer.remux(t,e,n,r,i,o,a)},t.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},t.prototype._parsePAT=function(t,e){return(31&t[e+10])<<8|t[e+11]},t.prototype._parsePMT=function(t,e,n,r){var i,o,a,s,l={audio:-1,avc:-1,id3:-1,isAAC:!0};for(i=(15&t[e+1])<<8|t[e+2],o=e+3+i-4,a=(15&t[e+10])<<8|t[e+11],e+=12+a;e<o;){switch(s=(31&t[e+1])<<8|t[e+2],t[e]){case 207:if(!r){P.b.log("unkown stream type:"+t[e]);break}case 15:l.audio===-1&&(l.audio=s);break;case 21:l.id3===-1&&(l.id3=s);break;case 219:if(!r){P.b.log("unkown stream type:"+t[e]);break}case 27:l.avc===-1&&(l.avc=s);break;case 3:case 4:n?l.audio===-1&&(l.audio=s,l.isAAC=!1):P.b.log("MPEG audio found, not supported in this browser for now");break;case 36:P.b.warn("HEVC stream type found, not supported for now");break;default:P.b.log("unkown stream type:"+t[e])}e+=((15&t[e+3])<<8|t[e+4])+5}return l},t.prototype._parsePES=function(t){var e,n,r,i,o,a,s,l,u,c=0,f=t.data;if(!t||0===t.size)return null;for(;f[0].length<19&&f.length>1;){var d=new Uint8Array(f[0].length+f[1].length);d.set(f[0]),d.set(f[1],f[0].length),f[0]=d,f.splice(1,1)}if(e=f[0],r=(e[0]<<16)+(e[1]<<8)+e[2],1===r){if(i=(e[4]<<8)+e[5],i&&i>t.size-6)return null;n=e[7],192&n&&(s=536870912*(14&e[9])+4194304*(255&e[10])+16384*(254&e[11])+128*(255&e[12])+(254&e[13])/2,s>4294967295&&(s-=8589934592),64&n?(l=536870912*(14&e[14])+4194304*(255&e[15])+16384*(254&e[16])+128*(255&e[17])+(254&e[18])/2,l>4294967295&&(l-=8589934592),s-l>54e5&&(P.b.warn(Math.round((s-l)/9e4)+"s delta between PTS and DTS, align them"),s=l)):l=s),o=e[8],u=o+9,t.size-=u,a=new Uint8Array(t.size);for(var h=0,p=f.length;h<p;h++){e=f[h];var g=e.byteLength;if(u){if(u>g){u-=g;continue}e=e.subarray(u),g-=u,u=0}a.set(e,c),c+=g}return i&&(i-=o+3),{data:a,pts:s,dts:l,len:i}}return null},t.prototype.pushAccesUnit=function(t,e){if(t.units.length&&t.frame){var n=e.samples,r=n.length;!this.config.forceKeyFrameOnDiscontinuity||t.key===!0||e.sps&&(r||this.contiguous)?(t.id=r,n.push(t)):e.dropped++}t.debug.length&&P.b.log(t.pts+"/"+t.dts+":"+t.debug)},t.prototype._parseAVCPES=function(t,e){var n,r,i,o=this,a=this._avcTrack,s=this._parseAVCNALu(t.data),l=!1,u=this.avcSample,c=!1,f=this.pushAccesUnit.bind(this),d=function(t,e,n,r){return{key:t,pts:e,dts:n,units:[],debug:r}};t.data=null,u&&s.length&&!a.audFound&&(f(u,a),u=this.avcSample=d(!1,t.pts,t.dts,"")),s.forEach(function(e){switch(e.type){case 1:r=!0,u||(u=o.avcSample=d(!0,t.pts,t.dts,"")),l&&(u.debug+="NDR "),u.frame=!0;var s=e.data;if(c&&s.length>4){var h=new J(s).readSliceType();2!==h&&4!==h&&7!==h&&9!==h||(u.key=!0)}break;case 5:r=!0,u||(u=o.avcSample=d(!0,t.pts,t.dts,"")),l&&(u.debug+="IDR "),u.key=!0,u.frame=!0;break;case 6:r=!0,l&&u&&(u.debug+="SEI "),n=new J(o.discardEPB(e.data)),n.readUByte();for(var p=0,g=0,m=!1,v=0;!m&&n.bytesAvailable>1;){p=0;do v=n.readUByte(),p+=v;while(255===v);g=0;do v=n.readUByte(),g+=v;while(255===v);if(4===p&&0!==n.bytesAvailable){m=!0;var y=n.readUByte();if(181===y){var b=n.readUShort();if(49===b){var w=n.readUInt();if(1195456820===w){var E=n.readUByte();if(3===E){var T=n.readUByte(),S=n.readUByte(),_=31&T,A=[T,S];for(i=0;i<_;i++)A.push(n.readUByte()),A.push(n.readUByte()),A.push(n.readUByte());o._insertSampleInOrder(o._txtTrack.samples,{type:3,pts:t.pts,bytes:A})}}}}}else if(g<n.bytesAvailable)for(i=0;i<g;i++)n.readUByte()}break;case 7:if(r=!0,c=!0,l&&u&&(u.debug+="SPS "),!a.sps){n=new J(e.data);var I=n.readSPS();a.width=I.width,a.height=I.height,a.pixelRatio=I.pixelRatio,a.sps=[e.data],a.duration=o._duration;var C=e.data.subarray(1,4),x="avc1.";for(i=0;i<3;i++){var D=C[i].toString(16);D.length<2&&(D="0"+D),x+=D}a.codec=x}break;case 8:r=!0,l&&u&&(u.debug+="PPS "),a.pps||(a.pps=[e.data]);break;case 9:r=!1,a.audFound=!0,u&&f(u,a),u=o.avcSample=d(!1,t.pts,t.dts,l?"AUD ":"");break;case 12:r=!1;break;default:r=!1,u&&(u.debug+="unknown NAL "+e.type+" ")}if(u&&r){var L=u.units;L.push(e)}}),e&&u&&(f(u,a),this.avcSample=null)},t.prototype._insertSampleInOrder=function(t,e){var n=t.length;if(n>0){if(e.pts>=t[n-1].pts)t.push(e);else for(var r=n-1;r>=0;r--)if(e.pts<t[r].pts){t.splice(r,0,e);break}}else t.push(e)},t.prototype._getLastNalUnit=function(){var t=this.avcSample,e=void 0;if(!t||0===t.units.length){var n=this._avcTrack,r=n.samples;t=r[r.length-1]}if(t){var i=t.units;e=i[i.length-1]}return e},t.prototype._parseAVCNALu=function(t){var e,n,r,i,o,a=0,s=t.byteLength,l=this._avcTrack,u=l.naluState||0,c=u,f=[],d=-1;for(u===-1&&(d=0,o=31&t[0],u=0,a=1);a<s;)if(e=t[a++],u)if(1!==u)if(e)if(1===e){if(d>=0)r={data:t.subarray(d,a-u-1),type:o},f.push(r);else{var h=this._getLastNalUnit();if(h&&(c&&a<=4-c&&h.state&&(h.data=h.data.subarray(0,h.data.byteLength-c)),n=a-u-1,n>0)){var p=new Uint8Array(h.data.byteLength+n);p.set(h.data,0),p.set(t.subarray(0,n),h.data.byteLength),h.data=p}}a<s?(i=31&t[a],d=a,o=i,u=0):u=-1}else u=0;else u=3;else u=e?0:2;else u=e?0:1;if(d>=0&&u>=0&&(r={data:t.subarray(d,s),type:o,state:u},f.push(r)),0===f.length){var g=this._getLastNalUnit();if(g){var m=new Uint8Array(g.data.byteLength+t.byteLength);m.set(g.data,0),m.set(t,g.data.byteLength),g.data=m}}return l.naluState=u,f},t.prototype.discardEPB=function(t){for(var e,n,r=t.byteLength,i=[],o=1;o<r-2;)0===t[o]&&0===t[o+1]&&3===t[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return t;e=r-i.length,n=new Uint8Array(e);var a=0;for(o=0;o<e;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=t[a];return n},t.prototype._parseAACPES=function(t){var e,n,r,i,o,a=this._audioTrack,s=t.data,l=t.pts,u=0,c=this.aacOverFlow,d=this.aacLastPTS;if(c){var g=new Uint8Array(c.byteLength+s.byteLength);g.set(c,0),g.set(s,c.byteLength),s=g}for(r=u,o=s.length;r<o-1&&!f(s,r);r++);if(r){var v,y;if(r<o-1?(v="AAC PES did not start with ADTS header,offset:"+r,y=!1):(v="no ADTS header found in AAC PES",y=!0),P.b.warn("parsing error:"+v),this.observer.trigger(x.a.ERROR,{type:D.b.MEDIA_ERROR,details:D.a.FRAG_PARSING_ERROR,fatal:y,reason:v}),y)return}if(h(a,this.observer,s,r,this.audioCodec),n=0,e=p(a.samplerate),c&&d){var b=d+e;Math.abs(b-l)>1&&(P.b.log("AAC: align PTS for overlapping frames by "+Math.round((b-l)/90)),l=b)}for(;r<o;)if(f(s,r)&&r+5<o){var w=m(a,s,r,l,n);if(!w)break;r+=w.length,i=w.sample.pts,n++}else r++;c=r<o?s.subarray(r,o):null,this.aacOverFlow=c,this.aacLastPTS=i},t.prototype._parseMPEGPES=function(t){for(var e=t.data,n=e.length,r=0,i=0,o=t.pts;i<n;)if(Z.isHeader(e,i)){var a=Z.appendFrame(this._audioTrack,e,i,o,r);if(!a)break;i+=a.length,r++}else i++},t.prototype._parseID3PES=function(t){this._id3Track.samples.push(t)},t}(),$=q,Q=function(){function t(e,n,r){T(this,t),this.observer=e,this.config=r,this.remuxer=n}return t.prototype.resetInitSegment=function(t,e,n,r){this._audioTrack={container:"audio/mpeg",type:"audio",id:-1,sequenceNumber:0,isAAC:!1,samples:[],len:0,manifestCodec:e,duration:r,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(t){var e,n,r=U.a.getID3Data(t,0);if(r&&void 0!==U.a.getTimeStamp(r))for(e=r.length,n=Math.min(t.length-1,e+100);e<n;e++)if(Z.probe(t,e))return P.b.log("MPEG Audio sync word found !"),!0;return!1},t.prototype.append=function(t,e,n,r){for(var i=U.a.getID3Data(t,0),o=90*U.a.getTimeStamp(i),a=i.length,s=t.length,l=0,u=0,c=this._audioTrack,f=[{pts:o,dts:o,data:i}];a<s;)if(Z.isHeader(t,a)){var d=Z.appendFrame(c,t,a,o,l);if(!d)break;a+=d.length,u=d.sample.pts,l++}else U.a.isHeader(t,a)?(i=U.a.getID3Data(t,a),f.push({pts:u,dts:u,data:i}),a+=i.length):a++;this.remuxer.remux(c,{samples:[]},{samples:f,inputTimeScale:9e4},{samples:[]},e,n,r)},t.prototype.destroy=function(){},t}(),tt=Q,et=function(){function t(){S(this,t)}return t.getSilentFrame=function(t,e){switch(t){case"mp4a.40.2":if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null},t}(),nt=et,rt=Math.pow(2,32)-1,it=function(){function t(){_(this,t)}return t.init=function(){t.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};var e;for(e in t.types)t.types.hasOwnProperty(e)&&(t.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);var n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),r=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);t.HDLR_TYPES={video:n,audio:r};var i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),o=new Uint8Array([0,0,0,0,0,0,0,0]);t.STTS=t.STSC=t.STCO=o,t.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),t.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),t.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),t.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var a=new Uint8Array([105,115,111,109]),s=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);t.FTYP=t.box(t.types.ftyp,a,l,a,s),t.DINF=t.box(t.types.dinf,t.box(t.types.dref,i))},t.box=function(t){for(var e,n=Array.prototype.slice.call(arguments,1),r=8,i=n.length,o=i;i--;)r+=n[i].byteLength;for(e=new Uint8Array(r),e[0]=r>>24&255,e[1]=r>>16&255,e[2]=r>>8&255,e[3]=255&r,e.set(t,4),i=0,r=8;i<o;i++)e.set(n[i],r),r+=n[i].byteLength;return e},t.hdlr=function(e){return t.box(t.types.hdlr,t.HDLR_TYPES[e])},t.mdat=function(e){return t.box(t.types.mdat,e)},t.mdhd=function(e,n){n*=e;var r=Math.floor(n/(rt+1)),i=Math.floor(n%(rt+1));return t.box(t.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24,r>>16&255,r>>8&255,255&r,i>>24,i>>16&255,i>>8&255,255&i,85,196,0,0]))},t.mdia=function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))},t.mfhd=function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))},t.minf=function(e){return"audio"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))},t.moof=function(e,n,r){return t.box(t.types.moof,t.mfhd(e),t.traf(r,n))},t.moov=function(e){for(var n=e.length,r=[];n--;)r[n]=t.trak(e[n]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(r).concat(t.mvex(e)))},t.mvex=function(e){for(var n=e.length,r=[];n--;)r[n]=t.trex(e[n]);return t.box.apply(null,[t.types.mvex].concat(r))},t.mvhd=function(e,n){n*=e;var r=Math.floor(n/(rt+1)),i=Math.floor(n%(rt+1)),o=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24,r>>16&255,r>>8&255,255&r,i>>24,i>>16&255,i>>8&255,255&i,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,o)},t.sdtp=function(e){var n,r,i=e.samples||[],o=new Uint8Array(4+i.length);for(r=0;r<i.length;r++)n=i[r].flags,o[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return t.box(t.types.sdtp,o)},t.stbl=function(e){return t.box(t.types.stbl,t.stsd(e),t.box(t.types.stts,t.STTS),t.box(t.types.stsc,t.STSC),t.box(t.types.stsz,t.STSZ),t.box(t.types.stco,t.STCO))},t.avc1=function(e){var n,r,i,o=[],a=[];for(n=0;n<e.sps.length;n++)r=e.sps[n],i=r.byteLength,o.push(i>>>8&255),o.push(255&i),o=o.concat(Array.prototype.slice.call(r));for(n=0;n<e.pps.length;n++)r=e.pps[n],i=r.byteLength,a.push(i>>>8&255),a.push(255&i),a=a.concat(Array.prototype.slice.call(r));var s=t.box(t.types.avcC,new Uint8Array([1,o[3],o[4],o[5],255,224|e.sps.length].concat(o).concat([e.pps.length]).concat(a))),l=e.width,u=e.height,c=e.pixelRatio[0],f=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([c>>24,c>>16&255,c>>8&255,255&c,f>>24,f>>16&255,f>>8&255,255&f])))},t.esds=function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))},t.mp4a=function(e){var n=e.samplerate;return t.box(t.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]),t.box(t.types.esds,t.esds(e)))},t.mp3=function(e){var n=e.samplerate;return t.box(t.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]))},t.stsd=function(e){return"audio"===e.type?e.isAAC||"mp3"!==e.codec?t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.mp3(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))},t.tkhd=function(e){var n=e.id,r=e.duration*e.timescale,i=e.width,o=e.height,a=Math.floor(r/(rt+1)),s=Math.floor(r%(rt+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,255&n,0,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>8&255,255&i,0,0,o>>8&255,255&o,0,0]))},t.traf=function(e,n){var r=t.sdtp(e),i=e.id,o=Math.floor(n/(rt+1)),a=Math.floor(n%(rt+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,i>>24,i>>16&255,i>>8&255,255&i])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,a>>24,a>>16&255,a>>8&255,255&a])),t.trun(e,r.length+16+20+8+16+8+8),r)},t.trak=function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))},t.trex=function(e){var n=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},t.trun=function(e,n){var r,i,o,a,s,l,u=e.samples||[],c=u.length,f=12+16*c,d=new Uint8Array(f);for(n+=8+f,d.set([0,0,15,1,c>>>24&255,c>>>16&255,c>>>8&255,255&c,n>>>24&255,n>>>16&255,n>>>8&255,255&n],0),r=0;r<c;r++)i=u[r],o=i.duration,a=i.size,s=i.flags,l=i.cts,d.set([o>>>24&255,o>>>16&255,o>>>8&255,255&o,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s.isLeading<<2|s.dependsOn,s.isDependedOn<<6|s.hasRedundancy<<4|s.paddingValue<<1|s.isNonSync,61440&s.degradPrio,15&s.degradPrio,l>>>24&255,l>>>16&255,l>>>8&255,255&l],12+16*r);return t.box(t.types.trun,d)},t.initSegment=function(e){ 68t.types||t.init();var n,r=t.moov(e);return n=new Uint8Array(t.FTYP.byteLength+r.byteLength),n.set(t.FTYP),n.set(r,t.FTYP.byteLength),n},t}(),ot=it,at=1e4,st=function(){function t(e,n,r,i){A(this,t),this.observer=e,this.config=n,this.typeSupported=r;var o=navigator.userAgent;this.isSafari=i&&i.indexOf("Apple")>-1&&o&&!o.match("CriOS"),this.ISGenerated=!1}return t.prototype.destroy=function(){},t.prototype.resetTimeStamp=function(t){this._initPTS=this._initDTS=t},t.prototype.resetInitSegment=function(){this.ISGenerated=!1},t.prototype.remux=function(t,e,n,r,i,o,a){if(this.ISGenerated||this.generateIS(t,e,i),this.ISGenerated){var s=t.samples.length,l=e.samples.length,u=i,c=i;if(s&&l){var f=(t.samples[0].dts-e.samples[0].dts)/e.inputTimeScale;u+=Math.max(0,f),c+=Math.max(0,-f)}if(s){t.timescale||(P.b.warn("regenerate InitSegment as audio detected"),this.generateIS(t,e,i));var d=this.remuxAudio(t,u,o,a);if(l){var h=void 0;d&&(h=d.endPTS-d.startPTS),e.timescale||(P.b.warn("regenerate InitSegment as video detected"),this.generateIS(t,e,i)),this.remuxVideo(e,c,o,h,a)}}else{var p=void 0;l&&(p=this.remuxVideo(e,c,o,a)),p&&t.codec&&this.remuxEmptyAudio(t,u,o,p)}}n.samples.length&&this.remuxID3(n,i),r.samples.length&&this.remuxText(r,i),this.observer.trigger(x.a.FRAG_PARSED)},t.prototype.generateIS=function(t,e,n){var r,i,o=this.observer,a=t.samples,s=e.samples,l=this.typeSupported,u="audio/mp4",c={},f={tracks:c},d=void 0===this._initPTS;if(d&&(r=i=1/0),t.config&&a.length&&(t.timescale=t.samplerate,P.b.log("audio sampling rate : "+t.samplerate),t.isAAC||(l.mpeg?(u="audio/mpeg",t.codec=""):l.mp3&&(t.codec="mp3")),c.audio={container:u,codec:t.codec,initSegment:!t.isAAC&&l.mpeg?new Uint8Array:ot.initSegment([t]),metadata:{channelCount:t.channelCount}},d&&(r=i=a[0].pts-t.inputTimeScale*n)),e.sps&&e.pps&&s.length){var h=e.inputTimeScale;e.timescale=h,c.video={container:"video/mp4",codec:e.codec,initSegment:ot.initSegment([e]),metadata:{width:e.width,height:e.height}},d&&(r=Math.min(r,s[0].pts-h*n),i=Math.min(i,s[0].dts-h*n),this.observer.trigger(x.a.INIT_PTS_FOUND,{initPTS:r}))}Object.keys(c).length?(o.trigger(x.a.FRAG_PARSING_INIT_SEGMENT,f),this.ISGenerated=!0,d&&(this._initPTS=r,this._initDTS=i)):o.trigger(x.a.ERROR,{type:D.b.MEDIA_ERROR,details:D.a.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},t.prototype.remuxVideo=function(t,e,n,r,i){var o,a,s,l,u,c,f,d,h=8,p=t.timescale,g=t.samples,m=[],v=g.length,y=this._PTSNormalize,b=this._initDTS,w=this.nextAvcDts,E=this.isSafari;E&&(n|=g.length&&w&&(i&&Math.abs(e-w/p)<.1||Math.abs(g[0].pts-w-b)<p/5)),n||(w=e*p),g.forEach(function(t){t.pts=y(t.pts-b,w),t.dts=y(t.dts-b,w)}),g.sort(function(t,e){var n=t.dts-e.dts,r=t.pts-e.pts;return n?n:r?r:t.id-e.id});var T=g.reduce(function(t,e){return Math.max(Math.min(t,e.pts-e.dts),-18e3)},0);if(T<0){P.b.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(T/90)+" ms to overcome this issue");for(var S=0;S<g.length;S++)g[S].dts+=T}var _=g[0];u=Math.max(_.dts,0),l=Math.max(_.pts,0);var A=Math.round((u-w)/90);n&&A&&(A>1?P.b.log("AVC:"+A+" ms hole between fragments detected,filling it"):A<-1&&P.b.log("AVC:"+-A+" ms overlapping between fragments detected"),u=w,g[0].dts=u,l=Math.max(l-A,w),g[0].pts=l,P.b.log("Video/PTS/DTS adjusted: "+Math.round(l/90)+"/"+Math.round(u/90)+",delta:"+A+" ms")),c=u,_=g[g.length-1],d=Math.max(_.dts,0),f=Math.max(_.pts,0,d),E&&(o=Math.round((d-u)/(g.length-1)));for(var I=0,C=0,L=0;L<v;L++){for(var O=g[L],R=O.units,k=R.length,N=0,M=0;M<k;M++)N+=R[M].data.length;C+=N,I+=k,O.length=N,E?O.dts=u+L*o:O.dts=Math.max(O.dts,u),O.pts=Math.max(O.pts,O.dts)}var j=C+4*I+8;try{a=new Uint8Array(j)}catch(t){return void this.observer.trigger(x.a.ERROR,{type:D.b.MUX_ERROR,details:D.a.REMUX_ALLOC_ERROR,fatal:!1,bytes:j,reason:"fail allocating video mdat "+j})}var F=new DataView(a.buffer);F.setUint32(0,j),a.set(ot.types.mdat,4);for(var U=0;U<v;U++){for(var B=g[U],G=B.units,W=0,z=void 0,H=0,Y=G.length;H<Y;H++){var Z=G[H],V=Z.data,J=Z.data.byteLength;F.setUint32(h,J),h+=4,a.set(V,h),h+=J,W+=4+J}if(E)z=Math.max(0,o*Math.round((B.pts-B.dts)/o));else{if(U<v-1)o=g[U+1].dts-B.dts;else{var X=this.config,K=B.dts-g[U>0?U-1:U].dts;if(X.stretchShortVideoTrack){var q=X.maxBufferHole,$=X.maxSeekHole,Q=Math.floor(Math.min(q,$)*p),tt=(r?l+r*p:this.nextAudioPts)-B.pts;tt>Q?(o=tt-K,o<0&&(o=K),P.b.log("It is approximately "+tt/90+" ms to the next segment; using duration "+o/90+" ms for the last video frame.")):o=K}else o=K}z=Math.round(B.pts-B.dts)}m.push({size:W,duration:o,cts:z,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:B.key?2:1,isNonSync:B.key?0:1}})}this.nextAvcDts=d+o;var et=t.dropped;if(t.len=0,t.nbNalu=0,t.dropped=0,m.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var nt=m[0].flags;nt.dependsOn=2,nt.isNonSync=0}t.samples=m,s=ot.moof(t.sequenceNumber++,u,t),t.samples=[];var rt={data1:s,data2:a,startPTS:l/p,endPTS:(f+o)/p,startDTS:u/p,endDTS:this.nextAvcDts/p,type:"video",nb:m.length,dropped:et};return this.observer.trigger(x.a.FRAG_PARSING_DATA,rt),rt},t.prototype.remuxAudio=function(t,e,n,r){var i,o,a,s,l,u,c,f=t.inputTimeScale,d=t.timescale,h=f/d,p=t.isAAC?1024:1152,g=p*h,m=this._PTSNormalize,v=this._initDTS,y=!t.isAAC&&this.typeSupported.mpeg,b=t.samples,w=[],E=this.nextAudioPts;if(n|=b.length&&E&&(r&&Math.abs(e-E/f)<.1||Math.abs(b[0].pts-E-v)<20*g),n||(E=e*f),b.forEach(function(t){t.pts=t.dts=m(t.pts-v,E)}),b.sort(function(t,e){return t.pts-e.pts}),r&&t.isAAC)for(var T=this.config.maxAudioFramesDrift,S=0,_=E;S<b.length;){var A,I=b[S],C=I.pts;A=C-_;var L=Math.abs(1e3*A/f);if(A<=-T*g)P.b.warn("Dropping 1 audio frame @ "+(_/f).toFixed(3)+"s due to "+Math.round(L)+" ms overlap."),b.splice(S,1),t.len-=I.unit.length;else if(A>=T*g&&L<at&&_){var O=Math.round(A/g);P.b.warn("Injecting "+O+" audio frame @ "+(_/f).toFixed(3)+"s due to "+Math.round(1e3*A/f)+" ms gap.");for(var R=0;R<O;R++){var k=Math.max(_,0);a=nt.getSilentFrame(t.manifestCodec||t.codec,t.channelCount),a||(P.b.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),a=I.unit.subarray()),b.splice(S,0,{unit:a,pts:k,dts:k}),t.len+=a.length,_+=g,S++}I.pts=I.dts=_,_+=g,S++}else Math.abs(A)>.1*g,I.pts=I.dts=_,_+=g,S++}for(var N=0,M=b.length;N<M;N++){var j=b[N],F=j.unit,U=j.pts;if(void 0!==c)o.duration=Math.round((U-c)/h);else{var B=Math.round(1e3*(U-E)/f),G=0;if(n&&t.isAAC&&B){if(B>0&&B<at)G=Math.round((U-E)/g),P.b.log(B+" ms hole between AAC samples detected,filling it"),G>0&&(a=nt.getSilentFrame(t.manifestCodec||t.codec,t.channelCount),a||(a=F.subarray()),t.len+=G*a.length);else if(B<-12){P.b.log("drop overlapping AAC sample, expected/parsed/delta:"+(E/f).toFixed(3)+"s/"+(U/f).toFixed(3)+"s/"+-B+"ms"),t.len-=F.byteLength;continue}U=E}if(u=Math.max(0,U),!(t.len>0))return;var W=y?t.len:t.len+8;i=y?0:8;try{s=new Uint8Array(W)}catch(t){return void this.observer.trigger(x.a.ERROR,{type:D.b.MUX_ERROR,details:D.a.REMUX_ALLOC_ERROR,fatal:!1,bytes:W,reason:"fail allocating audio mdat "+W})}if(!y){var z=new DataView(s.buffer);z.setUint32(0,W),s.set(ot.types.mdat,4)}for(var H=0;H<G;H++)a=nt.getSilentFrame(t.manifestCodec||t.codec,t.channelCount),a||(P.b.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),a=F.subarray()),s.set(a,i),i+=a.byteLength,o={size:a.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},w.push(o)}s.set(F,i);var Y=F.byteLength;i+=Y,o={size:Y,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},w.push(o),c=U}var Z=0,V=w.length;if(V>=2&&(Z=w[V-2].duration,o.duration=Z),V){this.nextAudioPts=E=c+h*Z,t.len=0,t.samples=w,l=y?new Uint8Array:ot.moof(t.sequenceNumber++,u/h,t),t.samples=[];var J=u/f,X=E/f,K={data1:l,data2:s,startPTS:J,endPTS:X,startDTS:J,endDTS:X,type:"audio",nb:V};return this.observer.trigger(x.a.FRAG_PARSING_DATA,K),K}return null},t.prototype.remuxEmptyAudio=function(t,e,n,r){var i=t.inputTimeScale,o=t.samplerate?t.samplerate:i,a=i/o,s=this.nextAudioPts,l=(void 0!==s?s:r.startDTS*i)+this._initDTS,u=r.endDTS*i+this._initDTS,c=1024,f=a*c,d=Math.ceil((u-l)/f),h=nt.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);if(P.b.warn("remux empty Audio"),!h)return void P.b.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!");for(var p=[],g=0;g<d;g++){var m=l+g*f;p.push({unit:h,pts:m,dts:m}),t.len+=h.length}t.samples=p,this.remuxAudio(t,e,n)},t.prototype.remuxID3=function(t,e){var n,r=t.samples.length,i=t.inputTimeScale,o=this._initPTS,a=this._initDTS;if(r){for(var s=0;s<r;s++)n=t.samples[s],n.pts=(n.pts-o)/i,n.dts=(n.dts-a)/i;this.observer.trigger(x.a.FRAG_PARSING_METADATA,{samples:t.samples})}t.samples=[],e=e},t.prototype.remuxText=function(t,e){t.samples.sort(function(t,e){return t.pts-e.pts});var n,r=t.samples.length,i=t.inputTimeScale,o=this._initPTS;if(r){for(var a=0;a<r;a++)n=t.samples[a],n.pts=(n.pts-o)/i;this.observer.trigger(x.a.FRAG_PARSING_USERDATA,{samples:t.samples})}t.samples=[],e=e},t.prototype._PTSNormalize=function(t,e){var n;if(void 0===e)return t;for(n=e<t?-8589934592:8589934592;Math.abs(t-e)>4294967296;)t+=n;return t},t}(),lt=st,ut=function(){function t(e){I(this,t),this.observer=e}return t.prototype.destroy=function(){},t.prototype.resetTimeStamp=function(){},t.prototype.resetInitSegment=function(){},t.prototype.remux=function(t,e,n,r,i,o,a,s){var l=this.observer,u="";t&&(u+="audio"),e&&(u+="video"),l.trigger(x.a.FRAG_PARSING_DATA,{data1:s,startPTS:i,startDTS:i,type:u,nb:1,dropped:0}),l.trigger(x.a.FRAG_PARSED)},t}(),ct=ut,ft=function(){function t(e,n,r,i){C(this,t),this.observer=e,this.typeSupported=n,this.config=r,this.vendor=i}return t.prototype.destroy=function(){var t=this.demuxer;t&&t.destroy()},t.prototype.push=function(t,e,n,r,i,o,a,s,l,u,c,f){if(t.byteLength>0&&null!=e&&null!=e.key&&"AES-128"===e.method){var d=this.decrypter;null==d&&(d=this.decrypter=new F(this.observer,this.config));var h,p=this;try{h=performance.now()}catch(t){h=Date.now()}d.decrypt(t,e.key.buffer,e.iv.buffer,function(t){var d;try{d=performance.now()}catch(t){d=Date.now()}p.observer.trigger(x.a.FRAG_DECRYPTED,{stats:{tstart:h,tdecrypt:d}}),p.pushDecrypted(new Uint8Array(t),e,new Uint8Array(n),r,i,o,a,s,l,u,c,f)})}else this.pushDecrypted(new Uint8Array(t),e,new Uint8Array(n),r,i,o,a,s,l,u,c,f)},t.prototype.pushDecrypted=function(t,e,n,r,i,o,a,s,l,u,c,f){var d=this.demuxer;if(!d||a&&!this.probe(t)){for(var h=this.observer,p=this.typeSupported,g=this.config,m=[{demux:$,remux:lt},{demux:G,remux:lt},{demux:tt,remux:lt},{demux:H,remux:ct}],v=0,y=m.length;v<y;v++){var b=m[v],w=b.demux.probe;if(w(t)){var E=this.remuxer=new b.remux(h,g,p,this.vendor);d=new b.demux(h,E,g,p),this.probe=w;break}}if(!d)return void h.trigger(x.a.ERROR,{type:D.b.MEDIA_ERROR,details:D.a.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=d}var T=this.remuxer;(a||s)&&(d.resetInitSegment(n,r,i,u),T.resetInitSegment()),a&&(d.resetTimeStamp(f),T.resetTimeStamp(f)),"function"==typeof d.setDecryptData&&d.setDecryptData(e),d.append(t,o,l,c)},t}();e.a=ft},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){var n=jt[e];return!!n&&n[t.slice(0,4)]===!0}function a(t){return MediaSource.isTypeSupported('video/mp4;codecs="'+t+'"')}function s(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}function l(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)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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}function d(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)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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}function g(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)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){var r=t[e],i=t[n],o=i.startPTS;isNaN(o)?n>e?i.start=r.start+r.duration:i.start=Math.max(r.start-i.duration,0):n>e?(r.duration=o-r.start,r.duration<0&&Dt.b.warn("negative duration computed for frag "+r.sn+",level "+r.level+", there should be some duration drift between playlist and fragment!")):(i.duration=r.start-o,i.duration<0&&Dt.b.warn("negative duration computed for frag "+i.sn+",level "+i.level+", there should be some duration drift between playlist and fragment!"))}function y(t,e,n,r,i,o){var a=n;if(!isNaN(e.startPTS)){var s=Math.abs(e.startPTS-n);isNaN(e.deltaPTS)?e.deltaPTS=s:e.deltaPTS=Math.max(s,e.deltaPTS),a=Math.max(n,e.startPTS),n=Math.min(n,e.startPTS),r=Math.max(r,e.endPTS),i=Math.min(i,e.startDTS),o=Math.max(o,e.endDTS)}var l=n-e.start;e.start=e.startPTS=n,e.maxStartPTS=a,e.endPTS=r,e.startDTS=i,e.endDTS=o,e.duration=r-n;var u=e.sn;if(!t||u<t.startSN||u>t.endSN)return 0;var c,f,d;for(c=u-t.startSN,f=t.fragments,f[c]=e,d=c;d>0;d--)v(f,d,d-1);for(d=c;d<f.length-1;d++)v(f,d,d+1);return t.PTSKnown=!0,l}function b(t,e){var n,r=Math.max(t.startSN,e.startSN)-e.startSN,i=Math.min(t.endSN,e.endSN)-e.startSN,o=e.startSN-t.startSN,a=t.fragments,s=e.fragments,l=0;if(i<r)return void(e.PTSKnown=!1);for(var u=r;u<=i;u++){var c=a[o+u],f=s[u];f&&c&&(l=c.cc-f.cc,isNaN(c.startPTS)||(f.start=f.startPTS=c.startPTS,f.endPTS=c.endPTS,f.duration=c.duration,f.backtracked=c.backtracked,f.dropped=c.dropped,n=f))}if(l)for(Dt.b.log("discontinuity sliding from playlist, take drift into account"),u=0;u<s.length;u++)s[u].cc+=l;if(n)y(e,n,n.startPTS,n.endPTS,n.startDTS,n.endDTS);else if(o>=0&&o<a.length){var d=a[o].start;for(u=0;u<s.length;u++)s[u].start+=d}e.PTSKnown=t.PTSKnown}function w(t,e){for(var n=null,r=0;r<t.length;r+=1){var i=t[r];if(i&&i.cc===e){n=i;break}}return n}function E(t,e){return $t.search(t,function(t){return t.cc<e?1:t.cc>e?-1:0})}function T(t,e,n){var r=!1;return e&&e.details&&n&&(n.endCC>n.startCC||t&&t.cc<n.startCC)&&(r=!0),r}function S(t,e){var n=t.fragments,r=e.fragments;if(!r.length||!n.length)return void Dt.b.log("No fragments to align");var i=w(n,r[0].cc);return!i||i&&!i.startPTS?void Dt.b.log("No frag in previous level to align on"):i}function _(t,e){e.fragments.forEach(function(e){if(e){var n=e.start+t;e.start=e.startPTS=n,e.endPTS=n+e.duration}}),e.PTSKnown=!0}function A(t,e,n){if(T(t,e,n)){var r=S(e.details,n);r&&(Dt.b.log("Adjusting PTS using last level due to CC increase within current level"),_(r.start,n))}if(n.PTSKnown===!1&&e&&e.details){var i=e.details.programDateTime,o=n.programDateTime,a=(o-i)/1e3+e.details.fragments[0].start;isNaN(a)||(Dt.b.log("adjusting PTS using programDateTime delta, sliding:"+a.toFixed(3)),_(a,n))}}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(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}function x(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)}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(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}function O(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)}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(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}function N(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)}function M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(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}function U(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)}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G(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}function W(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)}function z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(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}function Y(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)}function Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(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}function J(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)}function X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(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}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)}function Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(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}function et(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)}function nt(){this.window=window,this.state="INITIAL",this.buffer="",this.decoder=new He,this.regionList=[]}function rt(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 it(){this.values=Object.create(null)}function ot(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);if(2===a.length){var s=a[0],l=a[1];e(s,l)}}}function at(t,e,n){function r(){var e=rt(t);if(null===e)throw new Error("Malformed timestamp: "+a);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function i(t,e){var r=new it;ot(t,function(t,e){switch(t){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===e){r.set(t,n[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),a=o[0];r.integer(t,a),r.percent(t,a)&&r.set("snapToLines",!1),r.alt(t,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start",Ze,"end"]);break;case"position":o=e.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start",Ze,"end","line-left","line-right","auto"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start",Ze,"end","left","right"])}},/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical","");var i=r.get("line","auto");"auto"===i&&Ye.line===-1&&(i=-1),e.line=i,e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align",Ze);var o=r.get("position","auto");"auto"===o&&50===Ye.position&&(o="start"===e.align||"left"===e.align?0:"end"===e.align||"right"===e.align?100:50),e.position=o}function o(){t=t.replace(/^\s+/,"")}var a=t;if(o(),e.startTime=r(),o(),"-->"!==t.substr(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+a);t=t.substr(3),o(),e.endTime=r(),o(),i(t,e)}function st(t){return t.replace(/<br(?: \/)?>/gi,"\n")}function lt(t,e,n,r){for(var i,o,a,s,l,u=window.VTTCue||window.TextTrackCue,c=0;c<r.rows.length;c++)if(i=r.rows[c],a=!0,s=0,l="",!i.isEmpty()){for(var f=0;f<i.chars.length;f++)i.chars[f].uchar.match(/\s/)&&a?s++:(l+=i.chars[f].uchar,a=!1);i.cueStartTime=e,e===n&&(n+=1e-4),o=new u(e,n,st(l.trim())),s>=16?s--:s++,navigator.userAgent.match(/Firefox\//)?o.line=c+1:o.line=c>7?c-2:c+1,o.align="left",o.position=Math.max(0,Math.min(100,100*(s/32)+(navigator.userAgent.match(/Firefox\//)?50:0))),t.addCue(o)}}function ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ft(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}function dt(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)}function ht(t){if(t&&t.cues)for(;t.cues.length>0;)t.removeCue(t.cues[0])}function pt(t,e){return t&&t.label===e.name&&!(t.textTrack1||t.textTrack2)}function gt(t,e,n,r){return Math.min(e,r)-Math.max(t,n)}function mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(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}function yt(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)}function bt(t){for(var e=[],n=0;n<t.length;n++)"subtitles"===t[n].kind&&e.push(t[n]);return e}function wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(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}function Tt(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)}function St(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var _t={};n.d(_t,"newCue",function(){return lt});var At=n(5),It=n.n(At),Ct=n(1),xt=n(2),Dt=n(0),Lt="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},Ot=function(){function t(e){r(this,t),this.hls=e,this.onEvent=this.onEvent.bind(this);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];this.handledEvents=i,this.useGenericHandler=!0,this.registerListeners()}return t.prototype.destroy=function(){this.unregisterListeners()},t.prototype.isEventHandler=function(){return"object"===Lt(this.handledEvents)&&this.handledEvents.length&&"function"==typeof this.onEvent},t.prototype.registerListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(t){if("hlsEventGeneric"===t)throw new Error("Forbidden event name: "+t);this.hls.on(t,this.onEvent)},this)},t.prototype.unregisterListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(t){this.hls.off(t,this.onEvent)},this)},t.prototype.onEvent=function(t,e){this.onEventGeneric(t,e)},t.prototype.onEventGeneric=function(t,e){var n=function(t,e){var n="on"+t.replace("hls","");if("function"!=typeof this[n])throw new Error("Event "+t+" has no generic handler in this "+this.constructor.name+" class (tried "+n+")");return this[n].bind(this,e)};try{n.call(this,t,e).call()}catch(e){Dt.b.error("internal error happened while processing "+t+":"+e.message),this.hls.trigger(Ct.a.ERROR,{type:xt.b.OTHER_ERROR,details:xt.a.INTERNAL_EXCEPTION,fatal:!1,event:t,err:e})}},t}(),Rt=Ot,kt=/^(\d+)x(\d+)$/,Nt=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,Mt=function(){function t(e){i(this,t),"string"==typeof e&&(e=t.parseAttrList(e));for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}return t.prototype.decimalInteger=function(t){var e=parseInt(this[t],10);return e>Number.MAX_SAFE_INTEGER?1/0:e},t.prototype.hexadecimalInteger=function(t){if(this[t]){var e=(this[t]||"0x").slice(2);e=(1&e.length?"0":"")+e;for(var n=new Uint8Array(e.length/2),r=0;r<e.length/2;r++)n[r]=parseInt(e.slice(2*r,2*r+2),16);return n}return null},t.prototype.hexadecimalIntegerAsNumber=function(t){var e=parseInt(this[t],16);return e>Number.MAX_SAFE_INTEGER?1/0:e},t.prototype.decimalFloatingPoint=function(t){return parseFloat(this[t])},t.prototype.enumeratedString=function(t){return this[t]},t.prototype.decimalResolution=function(t){var e=kt.exec(this[t]);if(null!==e)return{width:parseInt(e[1],10),height:parseInt(e[2],10)}},t.parseAttrList=function(t){var e,n={};for(Nt.lastIndex=0;null!==(e=Nt.exec(t));){var r=e[2],i='"';0===r.indexOf(i)&&r.lastIndexOf(i)===r.length-1&&(r=r.slice(1,-1)),n[e[1]]=r}return n},t}(),Pt=Mt,jt={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}},Ft=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}}(),Ut=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,Bt=/#EXT-X-MEDIA:(.*)/g,Gt=new RegExp([/#EXTINF:(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)(\S+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),Wt=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)(.*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,zt=function(){function t(){u(this,t),this.method=null,this.key=null,this.iv=null,this._uri=null}return Ft(t,[{key:"uri",get:function(){return!this._uri&&this.reluri&&(this._uri=It.a.buildAbsoluteURL(this.baseuri,this.reluri,{alwaysNormalize:!0})),this._uri}}]),t}(),Ht=function(){function t(){u(this,t),this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[]}return t.prototype.createInitializationVector=function(t){for(var e=new Uint8Array(16),n=12;n<16;n++)e[n]=t>>8*(15-n)&255;return e},t.prototype.fragmentDecryptdataFromLevelkey=function(t,e){var n=t;return t&&t.method&&t.uri&&!t.iv&&(n=new zt,n.method=t.method,n.baseuri=t.baseuri,n.reluri=t.reluri,n.iv=this.createInitializationVector(e)),n},t.prototype.cloneObj=function(t){return JSON.parse(JSON.stringify(t))},Ft(t,[{key:"url",get:function(){return!this._url&&this.relurl&&(this._url=It.a.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},set:function(t){this._url=t}},{key:"programDateTime",get:function(){return!this._programDateTime&&this.rawProgramDateTime&&(this._programDateTime=new Date(Date.parse(this.rawProgramDateTime))),this._programDateTime}},{key:"byteRange",get:function(){if(!this._byteRange){var t=this._byteRange=[];if(this.rawByteRange){var e=this.rawByteRange.split("@",2);if(1===e.length){var n=this.lastByteRangeEndOffset;t[0]=n?n:0}else t[0]=parseInt(e[1]);t[1]=parseInt(e[0])+t[0]}}return this._byteRange}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"decryptdata",get:function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)), 69this._decryptdata}}]),t}(),Yt=function(t){function e(n){u(this,e);var r=s(this,t.call(this,n,Ct.a.MANIFEST_LOADING,Ct.a.LEVEL_LOADING,Ct.a.AUDIO_TRACK_LOADING,Ct.a.SUBTITLE_TRACK_LOADING));return r.loaders={},r}return l(e,t),e.prototype.destroy=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy()}this.loaders={},Rt.prototype.destroy.call(this)},e.prototype.onManifestLoading=function(t){this.load(t.url,{type:"manifest"})},e.prototype.onLevelLoading=function(t){this.load(t.url,{type:"level",level:t.level,id:t.id})},e.prototype.onAudioTrackLoading=function(t){this.load(t.url,{type:"audioTrack",id:t.id})},e.prototype.onSubtitleTrackLoading=function(t){this.load(t.url,{type:"subtitleTrack",id:t.id})},e.prototype.load=function(t,e){var n=this.loaders[e.type];if(n){var r=n.context;if(r&&r.url===t)return void Dt.b.trace("playlist request ongoing");Dt.b.warn("abort previous loader for type:"+e.type),n.abort()}var i=this.hls.config,o=void 0,a=void 0,s=void 0,l=void 0;"manifest"===e.type?(o=i.manifestLoadingMaxRetry,a=i.manifestLoadingTimeOut,s=i.manifestLoadingRetryDelay,l=i.manifestLoadingMaxRetryTimeout):(o=i.levelLoadingMaxRetry,a=i.levelLoadingTimeOut,s=i.levelLoadingRetryDelay,l=i.levelLoadingMaxRetryTimeout,Dt.b.log("loading playlist for "+e.type+" "+(e.level||e.id))),n=this.loaders[e.type]=e.loader="undefined"!=typeof i.pLoader?new i.pLoader(i):new i.loader(i),e.url=t,e.responseType="";var u=void 0,c=void 0;u={timeout:a,maxRetry:o,retryDelay:s,maxRetryDelay:l},c={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},n.load(e,u,c)},e.prototype.resolve=function(t,e){return It.a.buildAbsoluteURL(e,t,{alwaysNormalize:!0})},e.prototype.parseMasterPlaylist=function(t,e){function n(t,e){["video","audio"].forEach(function(n){var r=t.filter(function(t){return o(t,n)});if(r.length){var i=r.filter(function(t){return 0===t.lastIndexOf("avc1",0)||0===t.lastIndexOf("mp4a",0)});e[n+"Codec"]=i.length>0?i[0]:r[0],t=t.filter(function(t){return r.indexOf(t)===-1})}}),e.unknownCodecs=t}var r=[],i=void 0;for(Ut.lastIndex=0;null!=(i=Ut.exec(t));){var a={},s=a.attrs=new Pt(i[1]);a.url=this.resolve(i[2],e);var l=s.decimalResolution("RESOLUTION");l&&(a.width=l.width,a.height=l.height),a.bitrate=s.decimalInteger("AVERAGE-BANDWIDTH")||s.decimalInteger("BANDWIDTH"),a.name=s.NAME,n([].concat((s.CODECS||"").split(/[ ,]+/)),a),a.videoCodec&&a.videoCodec.indexOf("avc1")!==-1&&(a.videoCodec=this.avc1toavcoti(a.videoCodec)),r.push(a)}return r},e.prototype.parseMasterPlaylistMedia=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=void 0,o=[],a=0;for(Bt.lastIndex=0;null!=(i=Bt.exec(t));){var s={},l=new Pt(i[1]);l.TYPE===n&&(s.groupId=l["GROUP-ID"],s.name=l.NAME,s.type=n,s.default="YES"===l.DEFAULT,s.autoselect="YES"===l.AUTOSELECT,s.forced="YES"===l.FORCED,l.URI&&(s.url=this.resolve(l.URI,e)),s.lang=l.LANGUAGE,s.name||(s.name=s.lang),r&&(s.audioCodec=r),s.id=a++,o.push(s))}return o},e.prototype.avc1toavcoti=function(t){var e,n=t.split(".");return n.length>2?(e=n.shift()+".",e+=parseInt(n.shift()).toString(16),e+=("000"+parseInt(n.shift()).toString(16)).substr(-4)):e=t,e},e.prototype.parseLevelPlaylist=function(t,e,n,r){var i,o,a=0,s=0,l={type:null,version:null,url:e,fragments:[],live:!0,startSN:0},u=new zt,c=0,f=null,d=new Ht;for(Gt.lastIndex=0;null!==(i=Gt.exec(t));){var h=i[1];if(h){d.duration=parseFloat(h);var p=(" "+i[2]).slice(1);d.title=p?p:null,d.tagList.push(p?["INF",h,p]:["INF",h])}else if(i[3]){if(!isNaN(d.duration)){var g=a++;d.type=r,d.start=s,d.levelkey=u,d.sn=g,d.level=n,d.cc=c,d.baseurl=e,d.relurl=(" "+i[3]).slice(1),l.fragments.push(d),f=d,s+=d.duration,d=new Ht}}else if(i[4]){if(d.rawByteRange=(" "+i[4]).slice(1),f){var m=f.byteRangeEndOffset;m&&(d.lastByteRangeEndOffset=m)}}else if(i[5])d.rawProgramDateTime=(" "+i[5]).slice(1),d.tagList.push(["PROGRAM-DATE-TIME",d.rawProgramDateTime]),void 0===l.programDateTime&&(l.programDateTime=new Date(new Date(Date.parse(i[5]))-1e3*s));else{for(i=i[0].match(Wt),o=1;o<i.length&&void 0===i[o];o++);var v=(" "+i[o+1]).slice(1),y=(" "+i[o+2]).slice(1);switch(i[o]){case"#":d.tagList.push(y?[v,y]:[v]);break;case"PLAYLIST-TYPE":l.type=v.toUpperCase();break;case"MEDIA-SEQUENCE":a=l.startSN=parseInt(v);break;case"TARGETDURATION":l.targetduration=parseFloat(v);break;case"VERSION":l.version=parseInt(v);break;case"EXTM3U":break;case"ENDLIST":l.live=!1;break;case"DIS":c++,d.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":c=parseInt(v);break;case"KEY":var b=v,w=new Pt(b),E=w.enumeratedString("METHOD"),T=w.URI,S=w.hexadecimalInteger("IV");E&&(u=new zt,T&&["AES-128","SAMPLE-AES"].indexOf(E)>=0&&(u.method=E,u.baseuri=e,u.reluri=T,u.key=null,u.iv=S));break;case"START":var _=v,A=new Pt(_),I=A.decimalFloatingPoint("TIME-OFFSET");isNaN(I)||(l.startTimeOffset=I);break;case"MAP":var C=new Pt(v);d.relurl=C.URI,d.rawByteRange=C.BYTERANGE,d.baseurl=e,d.level=n,d.type=r,d.sn="initSegment",l.initSegment=d,d=new Ht;break;default:Dt.b.warn("line parsed but not handled: "+i)}}}return d=f,d&&!d.relurl&&(l.fragments.pop(),s-=d.duration),l.totalduration=s,l.averagetargetduration=s/l.fragments.length,l.endSN=a-1,l.startCC=l.fragments[0]?l.fragments[0].cc:0,l.endCC=c,l},e.prototype.loadsuccess=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t.data,o=t.url,a=n.type,s=n.id,l=n.level,u=this.hls;if(this.loaders[a]=void 0,void 0!==o&&0!==o.indexOf("data:")||(o=n.url),e.tload=performance.now(),0===i.indexOf("#EXTM3U"))if(i.indexOf("#EXTINF:")>0){var c="audioTrack"!==a&&"subtitleTrack"!==a,f=isNaN(l)?isNaN(s)?0:s:l,d=this.parseLevelPlaylist(i,o,f,"audioTrack"===a?"audio":"subtitleTrack"===a?"subtitle":"main");d.tload=e.tload,"manifest"===a&&u.trigger(Ct.a.MANIFEST_LOADED,{levels:[{url:o,details:d}],audioTracks:[],url:o,stats:e,networkDetails:r}),e.tparsed=performance.now(),d.targetduration?c?u.trigger(Ct.a.LEVEL_LOADED,{details:d,level:l||0,id:s||0,stats:e,networkDetails:r}):"audioTrack"===a?u.trigger(Ct.a.AUDIO_TRACK_LOADED,{details:d,id:s,stats:e,networkDetails:r}):"subtitleTrack"===a&&u.trigger(Ct.a.SUBTITLE_TRACK_LOADED,{details:d,id:s,stats:e,networkDetails:r}):u.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.MANIFEST_PARSING_ERROR,fatal:!0,url:o,reason:"invalid targetduration",networkDetails:r})}else{var h=this.parseMasterPlaylist(i,o);if(h.length){var p=this.parseMasterPlaylistMedia(i,o,"AUDIO",h[0].audioCodec),g=this.parseMasterPlaylistMedia(i,o,"SUBTITLES");if(p.length){var m=!1;p.forEach(function(t){t.url||(m=!0)}),m===!1&&h[0].audioCodec&&!h[0].attrs.AUDIO&&(Dt.b.log("audio codec signaled in quality level, but no embedded audio track signaled, create one"),p.unshift({type:"main",name:"main"}))}u.trigger(Ct.a.MANIFEST_LOADED,{levels:h,audioTracks:p,subtitles:g,url:o,stats:e,networkDetails:r})}else u.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.MANIFEST_PARSING_ERROR,fatal:!0,url:o,reason:"no level found in manifest",networkDetails:r})}else u.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.MANIFEST_PARSING_ERROR,fatal:!0,url:o,reason:"no EXTM3U delimiter",networkDetails:r})},e.prototype.loaderror=function(t,e){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=e.loader;switch(e.type){case"manifest":n=xt.a.MANIFEST_LOAD_ERROR,r=!0;break;case"level":n=xt.a.LEVEL_LOAD_ERROR,r=!1;break;case"audioTrack":n=xt.a.AUDIO_TRACK_LOAD_ERROR,r=!1}o&&(o.abort(),this.loaders[e.type]=void 0),this.hls.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:n,fatal:r,url:o.url,loader:o,response:t,context:e,networkDetails:i})},e.prototype.loadtimeout=function(t,e){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=e.loader;switch(e.type){case"manifest":n=xt.a.MANIFEST_LOAD_TIMEOUT,r=!0;break;case"level":n=xt.a.LEVEL_LOAD_TIMEOUT,r=!1;break;case"audioTrack":n=xt.a.AUDIO_TRACK_LOAD_TIMEOUT,r=!1}o&&(o.abort(),this.loaders[e.type]=void 0),this.hls.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:n,fatal:r,url:o.url,loader:o,context:e,networkDetails:i})},e}(Rt),Zt=Yt,Vt=function(t){function e(n){c(this,e);var r=f(this,t.call(this,n,Ct.a.FRAG_LOADING));return r.loaders={},r}return d(e,t),e.prototype.destroy=function(){var t=this.loaders;for(var e in t){var n=t[e];n&&n.destroy()}this.loaders={},Rt.prototype.destroy.call(this)},e.prototype.onFragLoading=function(t){var e=t.frag,n=e.type,r=this.loaders[n],i=this.hls.config;e.loaded=0,r&&(Dt.b.warn("abort previous fragment loader for type:"+n),r.abort()),r=this.loaders[n]=e.loader="undefined"!=typeof i.fLoader?new i.fLoader(i):new i.loader(i);var o=void 0,a=void 0,s=void 0;o={url:e.url,frag:e,responseType:"arraybuffer",progressData:!1};var l=e.byteRangeStartOffset,u=e.byteRangeEndOffset;isNaN(l)||isNaN(u)||(o.rangeStart=l,o.rangeEnd=u),a={timeout:i.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:i.fragLoadingMaxRetryTimeout},s={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this),onProgress:this.loadprogress.bind(this)},r.load(o,a,s)},e.prototype.loadsuccess=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t.data,o=n.frag;o.loader=void 0,this.loaders[o.type]=void 0,this.hls.trigger(Ct.a.FRAG_LOADED,{payload:i,frag:o,stats:e,networkDetails:r})},e.prototype.loaderror=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=e.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.FRAG_LOAD_ERROR,fatal:!1,frag:e.frag,response:t,networkDetails:n})},e.prototype.loadtimeout=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=e.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e.frag,networkDetails:n})},e.prototype.loadprogress=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=e.frag;i.loaded=t.loaded,this.hls.trigger(Ct.a.FRAG_LOAD_PROGRESS,{frag:i,stats:t,networkDetails:r})},e}(Rt),Jt=Vt,Xt=function(t){function e(n){h(this,e);var r=p(this,t.call(this,n,Ct.a.KEY_LOADING));return r.loaders={},r.decryptkey=null,r.decrypturl=null,r}return g(e,t),e.prototype.destroy=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy()}this.loaders={},Rt.prototype.destroy.call(this)},e.prototype.onKeyLoading=function(t){var e=t.frag,n=e.type,r=this.loaders[n],i=e.decryptdata,o=i.uri;if(o!==this.decrypturl||null===this.decryptkey){var a=this.hls.config;r&&(Dt.b.warn("abort previous key loader for type:"+n),r.abort()),e.loader=this.loaders[n]=new a.loader(a),this.decrypturl=o,this.decryptkey=null;var s=void 0,l=void 0,u=void 0;s={url:o,frag:e,responseType:"arraybuffer"},l={timeout:a.fragLoadingTimeOut,maxRetry:a.fragLoadingMaxRetry,retryDelay:a.fragLoadingRetryDelay,maxRetryDelay:a.fragLoadingMaxRetryTimeout},u={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},e.loader.load(s,l,u)}else this.decryptkey&&(i.key=this.decryptkey,this.hls.trigger(Ct.a.KEY_LOADED,{frag:e}))},e.prototype.loadsuccess=function(t,e,n){var r=n.frag;this.decryptkey=r.decryptdata.key=new Uint8Array(t.data),r.loader=void 0,this.loaders[r.type]=void 0,this.hls.trigger(Ct.a.KEY_LOADED,{frag:r})},e.prototype.loaderror=function(t,e){var n=e.frag,r=n.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.KEY_LOAD_ERROR,fatal:!1,frag:n,response:t})},e.prototype.loadtimeout=function(t,e){var n=e.frag,r=n.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(Ct.a.ERROR,{type:xt.b.NETWORK_ERROR,details:xt.a.KEY_LOAD_TIMEOUT,fatal:!1,frag:n})},e}(Rt),Kt=Xt,qt={search:function(t,e){for(var n=0,r=t.length-1,i=null,o=null;n<=r;){i=(n+r)/2|0,o=t[i];var a=e(o);if(a>0)n=i+1;else{if(!(a<0))return o;r=i-1}}return null}},$t=qt,Qt={isBuffered:function(t,e){if(t)for(var n=t.buffered,r=0;r<n.length;r++)if(e>=n.start(r)&&e<=n.end(r))return!0;return!1},bufferInfo:function(t,e,n){if(t){var r,i=t.buffered,o=[];for(r=0;r<i.length;r++)o.push({start:i.start(r),end:i.end(r)});return this.bufferedInfo(o,e,n)}return{len:0,start:e,end:e,nextStart:void 0}},bufferedInfo:function(t,e,n){var r,i,o,a,s,l=[];for(t.sort(function(t,e){var n=t.start-e.start;return n?n:e.end-t.end}),s=0;s<t.length;s++){var u=l.length;if(u){var c=l[u-1].end;t[s].start-c<n?t[s].end>c&&(l[u-1].end=t[s].end):l.push(t[s])}else l.push(t[s])}for(s=0,r=0,i=o=e;s<l.length;s++){var f=l[s].start,d=l[s].end;if(e+n>=f&&e<d)i=f,o=d,r=o-e;else if(e+n<f){a=f;break}}return{len:r,start:i,end:o,nextStart:a}}},te=Qt,ee=n(6),ne=n(4),re=n.n(ne),ie=n(8),oe=n.n(ie),ae=function(){function t(e,n){m(this,t),this.hls=e,this.id=n;var r=this.observer=new re.a,i=e.config;r.trigger=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];r.emit.apply(r,[t,t].concat(n))},r.off=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];r.removeListener.apply(r,[t].concat(n))};var o=function(t,n){n=n||{},n.frag=this.frag,n.id=this.id,e.trigger(t,n)}.bind(this);r.on(Ct.a.FRAG_DECRYPTED,o),r.on(Ct.a.FRAG_PARSING_INIT_SEGMENT,o),r.on(Ct.a.FRAG_PARSING_DATA,o),r.on(Ct.a.FRAG_PARSED,o),r.on(Ct.a.ERROR,o),r.on(Ct.a.FRAG_PARSING_METADATA,o),r.on(Ct.a.FRAG_PARSING_USERDATA,o),r.on(Ct.a.INIT_PTS_FOUND,o);var a={mp4:MediaSource.isTypeSupported("video/mp4"),mpeg:MediaSource.isTypeSupported("audio/mpeg"),mp3:MediaSource.isTypeSupported('audio/mp4; codecs="mp3"')},s=navigator.vendor;if(i.enableWorker&&"undefined"!=typeof Worker){Dt.b.log("demuxing in webworker");var l=void 0;try{l=this.w=oe()(9),this.onwmsg=this.onWorkerMessage.bind(this),l.addEventListener("message",this.onwmsg),l.onerror=function(t){e.trigger(Ct.a.ERROR,{type:xt.b.OTHER_ERROR,details:xt.a.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",err:{message:t.message+" ("+t.filename+":"+t.lineno+")"}})},l.postMessage({cmd:"init",typeSupported:a,vendor:s,id:n,config:JSON.stringify(i)})}catch(t){Dt.b.error("error while initializing DemuxerWorker, fallback on DemuxerInline"),l&&URL.revokeObjectURL(l.objectURL),this.demuxer=new ee.a(r,a,i,s),this.w=void 0}}else this.demuxer=new ee.a(r,a,i,s)}return t.prototype.destroy=function(){var t=this.w;if(t)t.removeEventListener("message",this.onwmsg),t.terminate(),this.w=null;else{var e=this.demuxer;e&&(e.destroy(),this.demuxer=null)}var n=this.observer;n&&(n.removeAllListeners(),this.observer=null)},t.prototype.push=function(t,e,n,r,i,o,a,s){var l=this.w,u=isNaN(i.startDTS)?i.start:i.startDTS,c=i.decryptdata,f=this.frag,d=!(f&&i.cc===f.cc),h=!(f&&i.level===f.level),p=f&&i.sn===f.sn+1,g=!h&&p;if(d&&Dt.b.log(this.id+":discontinuity detected"),h&&Dt.b.log(this.id+":switch detected"),this.frag=i,l)l.postMessage({cmd:"demux",data:t,decryptdata:c,initSegment:e,audioCodec:n,videoCodec:r,timeOffset:u,discontinuity:d,trackSwitch:h,contiguous:g,duration:o,accurateTimeOffset:a,defaultInitPTS:s},[t]);else{var m=this.demuxer;m&&m.push(t,c,e,n,r,u,d,h,g,o,a,s)}},t.prototype.onWorkerMessage=function(t){var e=t.data,n=this.hls;switch(e.event){case"init":URL.revokeObjectURL(this.w.objectURL);break;case Ct.a.FRAG_PARSING_DATA:e.data.data1=new Uint8Array(e.data1),e.data2&&(e.data.data2=new Uint8Array(e.data2));default:e.data=e.data||{},e.data.frag=this.frag,e.data.id=this.id,n.trigger(e.event,e.data)}},t}(),se=ae,le={toString:function(t){for(var e="",n=t.length,r=0;r<n;r++)e+="["+t.start(r).toFixed(3)+","+t.end(r).toFixed(3)+"]";return e}},ue=le,ce=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}}(),fe={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_LEVEL:"WAITING_LEVEL",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR"},de=function(t){function e(n){I(this,e);var r=C(this,t.call(this,n,Ct.a.MEDIA_ATTACHED,Ct.a.MEDIA_DETACHING,Ct.a.MANIFEST_LOADING,Ct.a.MANIFEST_PARSED,Ct.a.LEVEL_LOADED,Ct.a.KEY_LOADED,Ct.a.FRAG_LOADED,Ct.a.FRAG_LOAD_EMERGENCY_ABORTED,Ct.a.FRAG_PARSING_INIT_SEGMENT,Ct.a.FRAG_PARSING_DATA,Ct.a.FRAG_PARSED,Ct.a.ERROR,Ct.a.AUDIO_TRACK_SWITCHING,Ct.a.AUDIO_TRACK_SWITCHED,Ct.a.BUFFER_CREATED,Ct.a.BUFFER_APPENDED,Ct.a.BUFFER_FLUSHED));return r.config=n.config,r.audioCodecSwap=!1,r.ticks=0,r._state=fe.STOPPED,r.ontick=r.tick.bind(r),r}return x(e,t),e.prototype.destroy=function(){this.stopLoad(),this.timer&&(clearInterval(this.timer),this.timer=null),Rt.prototype.destroy.call(this),this.state=fe.STOPPED},e.prototype.startLoad=function(t){if(this.levels){var e=this.lastCurrentTime,n=this.hls;if(this.stopLoad(),this.timer||(this.timer=setInterval(this.ontick,100)),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var r=n.startLevel;r===-1&&(r=0,this.bitrateTest=!0),this.level=n.nextLoadLevel=r,this.loadedmetadata=!1}e>0&&t===-1&&(Dt.b.log("override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e),this.state=fe.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()}else this.forceStartLoad=!0,this.state=fe.STOPPED},e.prototype.stopLoad=function(){var t=this.fragCurrent;t&&(t.loader&&t.loader.abort(),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=fe.STOPPED,this.forceStartLoad=!1},e.prototype.tick=function(){this.ticks++,1===this.ticks&&(this.doTick(),this.ticks>1&&setTimeout(this.tick,1),this.ticks=0)},e.prototype.doTick=function(){switch(this.state){case fe.ERROR:break;case fe.BUFFER_FLUSHING:this.fragLoadError=0;break;case fe.IDLE:this._doTickIdle();break;case fe.WAITING_LEVEL:var t=this.levels[this.level];t&&t.details&&(this.state=fe.IDLE);break;case fe.FRAG_LOADING_WAITING_RETRY:var e=performance.now(),n=this.retryDate;(!n||e>=n||this.media&&this.media.seeking)&&(Dt.b.log("mediaController: retryDate reached, switch back to IDLE state"),this.state=fe.IDLE);break;case fe.ERROR:case fe.STOPPED:case fe.FRAG_LOADING:case fe.PARSING:case fe.PARSED:case fe.ENDED:}this._checkBuffer(),this._checkFragmentChanged()},e.prototype._doTickIdle=function(){var t=this.hls,e=t.config,n=this.media;if(void 0!==this.levelLastLoaded&&(n||!this.startFragRequested&&e.startFragPrefetch)){var r=void 0;r=this.loadedmetadata?n.currentTime:this.nextLoadPosition;var i=t.nextLoadLevel,o=this.levels[i];if(o){var a=o.bitrate,s=void 0;s=a?Math.max(8*e.maxBufferSize/a,e.maxBufferLength):e.maxBufferLength,s=Math.min(s,e.maxMaxBufferLength);var l=te.bufferInfo(this.mediaBuffer?this.mediaBuffer:n,r,e.maxBufferHole),u=l.len;if(!(u>=s)){Dt.b.trace("buffer length of "+u.toFixed(3)+" is below max of "+s.toFixed(3)+". checking for more payload ..."),this.level=t.nextLoadLevel=i;var c=o.details;if("undefined"==typeof c||c.live&&this.levelLastLoaded!==i)return void(this.state=fe.WAITING_LEVEL);var f=this.fragPrevious;if(!c.live&&f&&!f.backtracked&&f.sn===c.endSN&&!l.nextStart){var d=Math.min(n.duration,f.start+f.duration);if(d-Math.max(l.end,f.start)<=Math.max(.2,f.duration)){var h={};return this.altAudio&&(h.type="video"),this.hls.trigger(Ct.a.BUFFER_EOS,h),void(this.state=fe.ENDED)}}this._fetchPayloadOrEos(r,l,c)}}}},e.prototype._fetchPayloadOrEos=function(t,e,n){var r=this.fragPrevious,i=this.level,o=n.fragments,a=o.length;if(0!==a){var s=o[0].start,l=o[a-1].start+o[a-1].duration,u=e.end,c=void 0;if(n.initSegment&&!n.initSegment.data)c=n.initSegment;else if(n.live){var f=this.config.initialLiveManifestSize;if(a<f)return void Dt.b.warn("Can not start playback of a level, reason: not enough fragments "+a+" < "+f);if(c=this._ensureFragmentAtLivePoint(n,u,s,l,r,o,a),null===c)return}else u<s&&(c=o[0]);c||(c=this._findFragment(s,r,a,o,u,l,n)),c&&this._loadFragmentOrKey(c,i,n,t,u)}},e.prototype._ensureFragmentAtLivePoint=function(t,e,n,r,i,o,a){var s=this.hls.config,l=this.media,u=void 0,c=void 0!==s.liveMaxLatencyDuration?s.liveMaxLatencyDuration:s.liveMaxLatencyDurationCount*t.targetduration;if(e<Math.max(n-s.maxFragLookUpTolerance,r-c)){var f=this.liveSyncPosition=this.computeLivePosition(n,t);Dt.b.log("buffer end: "+e.toFixed(3)+" is located too far from the end of live sliding playlist, reset currentTime to : "+f.toFixed(3)),e=f,l&&l.readyState&&l.duration>f&&(l.currentTime=f),this.nextLoadPosition=f}if(t.PTSKnown&&e>r&&l&&l.readyState)return null;if(this.startFragRequested&&!t.PTSKnown){if(i){var d=i.sn+1;if(d>=t.startSN&&d<=t.endSN){var h=o[d-t.startSN];i.cc===h.cc&&(u=h,Dt.b.log("live playlist, switching playlist, load frag with next SN: "+u.sn))}u||(u=$t.search(o,function(t){return i.cc-t.cc}),u&&Dt.b.log("live playlist, switching playlist, load frag with same CC: "+u.sn))}u||(u=o[Math.min(a-1,Math.round(a/2))],Dt.b.log("live playlist, switching playlist, unknown, load middle frag : "+u.sn))}return u},e.prototype._findFragment=function(t,e,n,r,i,o,a){var s=this.hls.config,l=void 0,u=void 0,c=s.maxFragLookUpTolerance,f=e?r[e.sn-r[0].sn+1]:void 0,d=function(t){var e=Math.min(c,t.duration+(t.deltaPTS?t.deltaPTS:0));return t.start+t.duration-e<=i?1:t.start-e>i&&t.start?-1:0};if(i<o?(i>o-c&&(c=0),u=f&&!d(f)?f:$t.search(r,d)):u=r[n-1],u){l=u;var h=l.sn-a.startSN,p=e&&l.level===e.level,g=r[h-1],m=r[h+1];if(e&&l.sn===e.sn)if(p&&!l.backtracked)if(l.sn<a.endSN){var v=e.deltaPTS;v&&v>s.maxBufferHole&&e.dropped&&h?(l=g,Dt.b.warn("SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this"),e.loadCounter--):(l=m,Dt.b.log("SN just loaded, load next one: "+l.sn))}else l=null;else l.backtracked&&(m&&m.backtracked?(Dt.b.warn("Already backtracked from fragment "+m.sn+", will not backtrack to fragment "+l.sn+". Loading fragment "+m.sn),l=m):(Dt.b.warn("Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe"),l.dropped=0,g?(g.loadCounter&&g.loadCounter--,l=g,l.backtracked=!0):h&&(l=null)))}return l},e.prototype._loadFragmentOrKey=function(t,e,n,r,i){var o=this.hls,a=o.config;if(!t.decryptdata||null==t.decryptdata.uri||null!=t.decryptdata.key){if(Dt.b.log("Loading "+t.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+e+", currentTime:"+r.toFixed(3)+",bufferEnd:"+i.toFixed(3)),void 0!==this.fragLoadIdx?this.fragLoadIdx++:this.fragLoadIdx=0,t.loadCounter){t.loadCounter++;var s=a.fragLoadingLoopThreshold;if(t.loadCounter>s&&Math.abs(this.fragLoadIdx-t.loadIdx)<s)return void o.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.FRAG_LOOP_LOADING_ERROR,fatal:!1,frag:t})}else t.loadCounter=1;return t.loadIdx=this.fragLoadIdx,t.autoLevel=o.autoLevelEnabled,t.bitrateTest=this.bitrateTest,this.fragCurrent=t,this.startFragRequested=!0,isNaN(t.sn)||t.bitrateTest||(this.nextLoadPosition=t.start+t.duration),o.trigger(Ct.a.FRAG_LOADING,{frag:t}),this.demuxer||(this.demuxer=new se(o,"main")),void(this.state=fe.FRAG_LOADING)}Dt.b.log("Loading key for "+t.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+e),this.state=fe.KEY_LOADING,o.trigger(Ct.a.KEY_LOADING,{frag:t})},e.prototype.getBufferedFrag=function(t){return $t.search(this._bufferedFrags,function(e){return t<e.startPTS?-1:t>e.endPTS?1:0})},e.prototype.followingBufferedFrag=function(t){return t?this.getBufferedFrag(t.endPTS+.5):null},e.prototype._checkFragmentChanged=function(){var t,e,n=this.media;if(n&&n.readyState&&n.seeking===!1&&(e=n.currentTime,e>n.playbackRate*this.lastCurrentTime&&(this.lastCurrentTime=e),te.isBuffered(n,e)?t=this.getBufferedFrag(e):te.isBuffered(n,e+.1)&&(t=this.getBufferedFrag(e+.1)),t)){var r=t;if(r!==this.fragPlaying){this.hls.trigger(Ct.a.FRAG_CHANGED,{frag:r});var i=r.level;this.fragPlaying&&this.fragPlaying.level===i||this.hls.trigger(Ct.a.LEVEL_SWITCHED,{level:i}),this.fragPlaying=r}}},e.prototype.immediateLevelSwitch=function(){if(Dt.b.log("immediateLevelSwitch"),!this.immediateSwitch){this.immediateSwitch=!0;var t=this.media,e=void 0;t?(e=t.paused,t.pause()):e=!0,this.previouslyPaused=e}var n=this.fragCurrent;n&&n.loader&&n.loader.abort(),this.fragCurrent=null,void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*this.config.fragLoadingLoopThreshold),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},e.prototype.immediateLevelSwitchEnd=function(){var t=this.media;t&&t.buffered.length&&(this.immediateSwitch=!1,te.isBuffered(t,t.currentTime)&&(t.currentTime-=1e-4),this.previouslyPaused||t.play())},e.prototype.nextLevelSwitch=function(){var t=this.media;if(t&&t.readyState){var e=void 0,n=void 0,r=void 0;if(void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*this.config.fragLoadingLoopThreshold),n=this.getBufferedFrag(t.currentTime),n&&n.startPTS>1&&this.flushMainBuffer(0,n.startPTS-1),t.paused)e=0;else{var i=this.hls.nextLoadLevel,o=this.levels[i],a=this.fragLastKbps;e=a&&this.fragCurrent?this.fragCurrent.duration*o.bitrate/(1e3*a)+1:0}if(r=this.getBufferedFrag(t.currentTime+e),r&&(r=this.followingBufferedFrag(r))){var s=this.fragCurrent;s&&s.loader&&s.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(r.maxStartPTS,Number.POSITIVE_INFINITY)}}},e.prototype.flushMainBuffer=function(t,e){this.state=fe.BUFFER_FLUSHING;var n={startOffset:t,endOffset:e};this.altAudio&&(n.type="video"),this.hls.trigger(Ct.a.BUFFER_FLUSHING,n)},e.prototype.onMediaAttached=function(t){var e=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),this.onvended=this.onMediaEnded.bind(this),e.addEventListener("seeking",this.onvseeking),e.addEventListener("seeked",this.onvseeked),e.addEventListener("ended",this.onvended);var n=this.config;this.levels&&n.autoStartLoad&&this.hls.startLoad(n.startPosition)},e.prototype.onMediaDetaching=function(){var t=this.media;t&&t.ended&&(Dt.b.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var e=this.levels;e&&e.forEach(function(t){t.details&&t.details.fragments.forEach(function(t){t.loadCounter=void 0,t.backtracked=void 0})}),t&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("seeked",this.onvseeked),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.stopLoad()},e.prototype.onMediaSeeking=function(){var t=this.media,e=t?t.currentTime:void 0,n=this.config;isNaN(e)||Dt.b.log("media seeking to "+e.toFixed(3));var r=this.mediaBuffer?this.mediaBuffer:t,i=te.bufferInfo(r,e,this.config.maxBufferHole);if(this.state===fe.FRAG_LOADING){var o=this.fragCurrent;if(0===i.len&&o){var a=n.maxFragLookUpTolerance,s=o.start-a,l=o.start+o.duration+a;e<s||e>l?(o.loader&&(Dt.b.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),o.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.state=fe.IDLE):Dt.b.log("seeking outside of buffer but within currently loaded fragment range")}}else this.state===fe.ENDED&&(0===i.len&&(this.fragPrevious=0),this.state=fe.IDLE);t&&(this.lastCurrentTime=e),this.state!==fe.FRAG_LOADING&&void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*n.fragLoadingLoopThreshold),this.loadedmetadata||(this.nextLoadPosition=this.startPosition=e),this.tick()},e.prototype.onMediaSeeked=function(){var t=this.media,e=t?t.currentTime:void 0;isNaN(e)||Dt.b.log("media seeked to "+e.toFixed(3)),this.tick()},e.prototype.onMediaEnded=function(){Dt.b.log("media ended"),this.startPosition=this.lastCurrentTime=0},e.prototype.onManifestLoading=function(){Dt.b.log("trigger BUFFER_RESET"),this.hls.trigger(Ct.a.BUFFER_RESET),this._bufferedFrags=[],this.stalled=!1,this.startPosition=this.lastCurrentTime=0},e.prototype.onManifestParsed=function(t){var e,n=!1,r=!1;t.levels.forEach(function(t){e=t.audioCodec,e&&(e.indexOf("mp4a.40.2")!==-1&&(n=!0),e.indexOf("mp4a.40.5")!==-1&&(r=!0))}),this.audioCodecSwitch=n&&r,this.audioCodecSwitch&&Dt.b.log("both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1;var i=this.config;(i.autoStartLoad||this.forceStartLoad)&&this.hls.startLoad(i.startPosition)},e.prototype.onLevelLoaded=function(t){var e=t.details,n=t.level,r=this.levels[this.levelLastLoaded],i=this.levels[n],o=e.totalduration,a=0;if(Dt.b.log("level "+n+" loaded ["+e.startSN+","+e.endSN+"],duration:"+o),e.live){var s=i.details;s&&e.fragments.length>0?(b(s,e),a=e.fragments[0].start,this.liveSyncPosition=this.computeLivePosition(a,s),e.PTSKnown&&!isNaN(a)?Dt.b.log("live playlist sliding:"+a.toFixed(3)):(Dt.b.log("live playlist - outdated PTS, unknown sliding"),A(this.fragPrevious,r,e))):(Dt.b.log("live playlist - first load, unknown sliding"),e.PTSKnown=!1,A(this.fragPrevious,r,e))}else e.PTSKnown=!1;if(i.details=e,this.levelLastLoaded=n,this.hls.trigger(Ct.a.LEVEL_UPDATED,{details:e,level:n}),this.startFragRequested===!1){if(this.startPosition===-1||this.lastCurrentTime===-1){var l=e.startTimeOffset;isNaN(l)?e.live?(this.startPosition=this.computeLivePosition(a,e),Dt.b.log("configure startPosition to "+this.startPosition)):this.startPosition=0:(l<0&&(Dt.b.log("negative start time offset "+l+", count from end of last fragment"),l=a+o+l),Dt.b.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l),this.lastCurrentTime=this.startPosition}this.nextLoadPosition=this.startPosition}this.state===fe.WAITING_LEVEL&&(this.state=fe.IDLE),this.tick()},e.prototype.onKeyLoaded=function(){this.state===fe.KEY_LOADING&&(this.state=fe.IDLE,this.tick())},e.prototype.onFragLoaded=function(t){var e=this.fragCurrent,n=t.frag;if(this.state===fe.FRAG_LOADING&&e&&"main"===n.type&&n.level===e.level&&n.sn===e.sn){var r=t.stats,i=this.levels[e.level],o=i.details;if(Dt.b.log("Loaded "+e.sn+" of ["+o.startSN+" ,"+o.endSN+"],level "+e.level),this.bitrateTest=!1,this.stats=r,n.bitrateTest===!0&&this.hls.nextLoadLevel)this.state=fe.IDLE,this.startFragRequested=!1,r.tparsed=r.tbuffered=performance.now(),this.hls.trigger(Ct.a.FRAG_BUFFERED,{stats:r,frag:e,id:"main"}),this.tick();else if("initSegment"===n.sn)this.state=fe.IDLE,r.tparsed=r.tbuffered=performance.now(),o.initSegment.data=t.payload,this.hls.trigger(Ct.a.FRAG_BUFFERED,{stats:r,frag:e,id:"main"}),this.tick();else{this.state=fe.PARSING;var a=o.totalduration,s=e.level,l=e.sn,u=this.config.defaultAudioCodec||i.audioCodec;this.audioCodecSwap&&(Dt.b.log("swapping playlist audio codec"),void 0===u&&(u=this.lastAudioCodec),u&&(u=u.indexOf("mp4a.40.5")!==-1?"mp4a.40.2":"mp4a.40.5")),this.pendingBuffering=!0,this.appended=!1,Dt.b.log("Parsing "+l+" of ["+o.startSN+" ,"+o.endSN+"],level "+s+", cc "+e.cc);var c=this.demuxer;c||(c=this.demuxer=new se(this.hls,"main"));var f=this.media,d=f&&f.seeking,h=!d&&(o.PTSKnown||!o.live),p=o.initSegment?o.initSegment.data:[];c.push(t.payload,p,u,i.videoCodec,e,a,h,void 0)}}this.fragLoadError=0},e.prototype.onFragParsingInitSegment=function(t){var e=this.fragCurrent,n=t.frag;if(e&&"main"===t.id&&n.sn===e.sn&&n.level===e.level&&this.state===fe.PARSING){var r,i,o=t.tracks;if(o.audio&&this.altAudio&&delete o.audio,i=o.audio){var a=this.levels[this.level].audioCodec,s=navigator.userAgent.toLowerCase();a&&this.audioCodecSwap&&(Dt.b.log("swapping playlist audio codec"),a=a.indexOf("mp4a.40.5")!==-1?"mp4a.40.2":"mp4a.40.5"),this.audioCodecSwitch&&1!==i.metadata.channelCount&&s.indexOf("firefox")===-1&&(a="mp4a.40.5"),s.indexOf("android")!==-1&&"audio/mpeg"!==i.container&&(a="mp4a.40.2",Dt.b.log("Android: force audio codec to "+a)),i.levelCodec=a,i.id=t.id}i=o.video,i&&(i.levelCodec=this.levels[this.level].videoCodec,i.id=t.id),this.hls.trigger(Ct.a.BUFFER_CODECS,o);for(r in o){i=o[r],Dt.b.log("main track:"+r+",container:"+i.container+",codecs[level/parsed]=["+i.levelCodec+"/"+i.codec+"]");var l=i.initSegment;l&&(this.appended=!0, 70this.pendingBuffering=!0,this.hls.trigger(Ct.a.BUFFER_APPENDING,{type:r,data:l,parent:"main",content:"initSegment"}))}this.tick()}},e.prototype.onFragParsingData=function(t){var e=this,n=this.fragCurrent,r=t.frag;if(n&&"main"===t.id&&r.sn===n.sn&&r.level===n.level&&("audio"!==t.type||!this.altAudio)&&this.state===fe.PARSING){var i=this.levels[this.level],o=n;if(isNaN(t.endPTS)&&(t.endPTS=t.startPTS+n.duration,t.endDTS=t.startDTS+n.duration),Dt.b.log("Parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb+",dropped:"+(t.dropped||0)),"video"===t.type)if(o.dropped=t.dropped,o.dropped){if(!o.backtracked)return Dt.b.warn("missing video frame(s), backtracking fragment"),o.backtracked=!0,this.nextLoadPosition=t.startPTS,this.state=fe.IDLE,this.fragPrevious=o,void this.tick();Dt.b.warn("Already backtracked on this fragment, appending with the gap")}else o.backtracked=!1;var a=y(i.details,o,t.startPTS,t.endPTS,t.startDTS,t.endDTS),s=this.hls;s.trigger(Ct.a.LEVEL_PTS_UPDATED,{details:i.details,level:this.level,drift:a,type:t.type,start:t.startPTS,end:t.endPTS}),[t.data1,t.data2].forEach(function(n){n&&n.length&&e.state===fe.PARSING&&(e.appended=!0,e.pendingBuffering=!0,s.trigger(Ct.a.BUFFER_APPENDING,{type:t.type,data:n,parent:"main",content:"data"}))}),this.tick()}},e.prototype.onFragParsed=function(t){var e=this.fragCurrent,n=t.frag;e&&"main"===t.id&&n.sn===e.sn&&n.level===e.level&&this.state===fe.PARSING&&(this.stats.tparsed=performance.now(),this.state=fe.PARSED,this._checkAppendedParsed())},e.prototype.onAudioTrackSwitching=function(t){var e=!!t.url,n=t.id;if(!e){if(this.mediaBuffer!==this.media){Dt.b.log("switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var r=this.fragCurrent;r.loader&&(Dt.b.log("switching to main audio track, cancel main fragment load"),r.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=fe.IDLE}var i=this.hls;i.trigger(Ct.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),i.trigger(Ct.a.AUDIO_TRACK_SWITCHED,{id:n}),this.altAudio=!1}},e.prototype.onAudioTrackSwitched=function(t){var e=t.id,n=!!this.hls.audioTracks[e].url;if(n){var r=this.videoBuffer;r&&this.mediaBuffer!==r&&(Dt.b.log("switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n,this.tick()},e.prototype.onBufferCreated=function(t){var e=t.tracks,n=void 0,r=void 0,i=!1;for(var o in e){var a=e[o];"main"===a.id?(r=o,n=a,"video"===o&&(this.videoBuffer=e[o].buffer)):i=!0}i&&n?(Dt.b.log("alternate track found, use "+r+".buffered to schedule main fragment loading"),this.mediaBuffer=n.buffer):this.mediaBuffer=this.media},e.prototype.onBufferAppended=function(t){if("main"===t.parent){var e=this.state;e!==fe.PARSING&&e!==fe.PARSED||(this.pendingBuffering=t.pending>0,this._checkAppendedParsed())}},e.prototype._checkAppendedParsed=function(){if(!(this.state!==fe.PARSED||this.appended&&this.pendingBuffering)){var t=this.fragCurrent;if(t){var e=this.mediaBuffer?this.mediaBuffer:this.media;Dt.b.log("main buffered : "+ue.toString(e.buffered));var n=this._bufferedFrags.filter(function(t){return te.isBuffered(e,(t.startPTS+t.endPTS)/2)});n.push(t),this._bufferedFrags=n.sort(function(t,e){return t.startPTS-e.startPTS}),this.fragPrevious=t;var r=this.stats;r.tbuffered=performance.now(),this.fragLastKbps=Math.round(8*r.total/(r.tbuffered-r.tfirst)),this.hls.trigger(Ct.a.FRAG_BUFFERED,{stats:r,frag:t,id:"main"}),this.state=fe.IDLE}this.tick()}},e.prototype.onError=function(t){var e=t.frag||this.fragCurrent;if(!e||"main"===e.type){var n=!!this.media&&te.isBuffered(this.media,this.media.currentTime)&&te.isBuffered(this.media,this.media.currentTime+.5);switch(t.details){case xt.a.FRAG_LOAD_ERROR:case xt.a.FRAG_LOAD_TIMEOUT:case xt.a.KEY_LOAD_ERROR:case xt.a.KEY_LOAD_TIMEOUT:if(!t.fatal)if(this.fragLoadError+1<=this.config.fragLoadingMaxRetry){var r=Math.min(Math.pow(2,this.fragLoadError)*this.config.fragLoadingRetryDelay,this.config.fragLoadingMaxRetryTimeout);e.loadCounter=0,Dt.b.warn("mediaController: frag loading failed, retry in "+r+" ms"),this.retryDate=performance.now()+r,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.fragLoadError++,this.state=fe.FRAG_LOADING_WAITING_RETRY}else Dt.b.error("mediaController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=fe.ERROR;break;case xt.a.FRAG_LOOP_LOADING_ERROR:t.fatal||(n?(this._reduceMaxBufferLength(e.duration),this.state=fe.IDLE):e.autoLevel&&0!==e.level||(t.fatal=!0,this.state=fe.ERROR));break;case xt.a.LEVEL_LOAD_ERROR:case xt.a.LEVEL_LOAD_TIMEOUT:this.state!==fe.ERROR&&(t.fatal?(this.state=fe.ERROR,Dt.b.warn("streamController: "+t.details+",switch to "+this.state+" state ...")):t.levelRetry||this.state!==fe.WAITING_LEVEL||(this.state=fe.IDLE));break;case xt.a.BUFFER_FULL_ERROR:"main"!==t.parent||this.state!==fe.PARSING&&this.state!==fe.PARSED||(n?(this._reduceMaxBufferLength(this.config.maxBufferLength),this.state=fe.IDLE):(Dt.b.warn("buffer full error also media.currentTime is not buffered, flush everything"),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)))}}},e.prototype._reduceMaxBufferLength=function(t){var e=this.config;e.maxMaxBufferLength>=t&&(e.maxMaxBufferLength/=2,Dt.b.warn("main:reduce max buffer length to "+e.maxMaxBufferLength+"s"),void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*e.fragLoadingLoopThreshold))},e.prototype._checkBuffer=function(){var t=this.media,e=this.config;if(t&&t.readyState){var n=t.currentTime,r=this.mediaBuffer?this.mediaBuffer:t,i=r.buffered;if(!this.loadedmetadata&&i.length){this.loadedmetadata=!0;var o=t.seeking?n:this.startPosition,a=te.isBuffered(r,o),s=i.start(0),l=!a&&Math.abs(o-s)<e.maxSeekHole;(n!==o||l)&&(Dt.b.log("target start position:"+o),l&&(o=s,Dt.b.log("target start position not buffered, seek to buffered.start(0) "+o)),Dt.b.log("adjust currentTime from "+n+" to "+o),t.currentTime=o)}else if(this.immediateSwitch)this.immediateLevelSwitchEnd();else{var u=te.bufferInfo(t,n,0),c=!(t.paused||t.ended||0===t.buffered.length),f=.5,d=n!==this.lastCurrentTime;if(d)this.stallReported&&(Dt.b.warn("playback not stuck anymore @"+n+", after "+Math.round(performance.now()-this.stalled)+"ms"),this.stallReported=!1),this.stalled=void 0,this.nudgeRetry=0;else if(c){var h=performance.now(),p=this.hls;if(this.stalled){var g=h-this.stalled,m=u.len,v=this.nudgeRetry||0;if(m<=f&&g>1e3*e.lowBufferWatchdogPeriod){this.stallReported||(this.stallReported=!0,Dt.b.warn("playback stalling in low buffer @"+n),p.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_STALLED_ERROR,fatal:!1,buffer:m}));var y=u.nextStart,b=y-n;if(y&&b<e.maxSeekHole&&b>0){this.nudgeRetry=++v;var w=v*e.nudgeOffset;Dt.b.log("adjust currentTime from "+t.currentTime+" to next buffered @ "+y+" + nudge "+w),t.currentTime=y+w,this.stalled=void 0,p.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_SEEK_OVER_HOLE,fatal:!1,hole:y+w-n})}}else if(m>f&&g>1e3*e.highBufferWatchdogPeriod)if(this.stallReported||(this.stallReported=!0,Dt.b.warn("playback stalling in high buffer @"+n),p.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_STALLED_ERROR,fatal:!1,buffer:m})),this.stalled=void 0,this.nudgeRetry=++v,v<e.nudgeMaxRetry){var E=t.currentTime,T=E+v*e.nudgeOffset;Dt.b.log("adjust currentTime from "+E+" to "+T),t.currentTime=T,p.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_NUDGE_ON_STALL,fatal:!1})}else Dt.b.error("still stuck in high buffer @"+n+" after "+e.nudgeMaxRetry+", raise fatal error"),p.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_STALLED_ERROR,fatal:!0})}else this.stalled=h,this.stallReported=!1}}}},e.prototype.onFragLoadEmergencyAborted=function(){this.state=fe.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tick()},e.prototype.onBufferFlushed=function(){var t=this.mediaBuffer?this.mediaBuffer:this.media;this._bufferedFrags=this._bufferedFrags.filter(function(e){return te.isBuffered(t,(e.startPTS+e.endPTS)/2)}),void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*this.config.fragLoadingLoopThreshold),this.state=fe.IDLE,this.fragPrevious=null},e.prototype.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},e.prototype.computeLivePosition=function(t,e){var n=void 0!==this.config.liveSyncDuration?this.config.liveSyncDuration:this.config.liveSyncDurationCount*e.targetduration;return t+Math.max(0,e.totalduration-n)},ce(e,[{key:"state",set:function(t){if(this.state!==t){var e=this.state;
70this._state=t,Dt.b.log("main stream:"+e+"->"+t),this.hls.trigger(Ct.a.STREAM_STATE_TRANSITION,{previousState:e,nextState:t})}},get:function(){return this._state}},{key:"currentLevel",get:function(){var t=this.media;if(t){var e=this.getBufferedFrag(t.currentTime);if(e)return e.level}return-1}},{key:"nextBufferedFrag",get:function(){var t=this.media;return t?this.followingBufferedFrag(this.getBufferedFrag(t.currentTime)):null}},{key:"nextLevel",get:function(){var t=this.nextBufferedFrag;return t?t.level:-1}},{key:"liveSyncPosition",get:function(){return this._liveSyncPosition},set:function(t){this._liveSyncPosition=t}}]),e}(Rt),he=de,pe=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}}(),ge=function(t){function e(n){D(this,e);var r=L(this,t.call(this,n,Ct.a.MANIFEST_LOADED,Ct.a.LEVEL_LOADED,Ct.a.FRAG_LOADED,Ct.a.ERROR));return r._manualLevel=-1,r.timer=null,r}return O(e,t),e.prototype.destroy=function(){this.cleanTimer(),this._manualLevel=-1},e.prototype.cleanTimer=function(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.startLoad=function(){this.canload=!0;var t=this._levels;t&&t.forEach(function(t){t.loadError=0;var e=t.details;e&&e.live&&(t.details=void 0)}),this.timer&&this.tick()},e.prototype.stopLoad=function(){this.canload=!1},e.prototype.onManifestLoaded=function(t){var e=[],n=void 0,r={},i=null,o=!1,s=!1,l=/chrome|firefox/.test(navigator.userAgent.toLowerCase());if(t.levels.forEach(function(t){t.loadError=0,t.fragmentError=!1,o=o||!!t.videoCodec,s=s||!!t.audioCodec||!(!t.attrs||!t.attrs.AUDIO),l===!0&&t.audioCodec&&t.audioCodec.indexOf("mp4a.40.34")!==-1&&(t.audioCodec=void 0),i=r[t.bitrate],void 0===i?(t.url=[t.url],t.urlId=0,r[t.bitrate]=t,e.push(t)):i.url.push(t.url)}),o===!0&&s===!0&&(e=e.filter(function(t){var e=t.videoCodec;return!!e})),e=e.filter(function(t){var e=t.audioCodec,n=t.videoCodec;return(!e||a(e))&&(!n||a(n))}),e.length>0){n=e[0].bitrate,e.sort(function(t,e){return t.bitrate-e.bitrate}),this._levels=e;for(var u=0;u<e.length;u++)if(e[u].bitrate===n){this._firstLevel=u,Dt.b.log("manifest loaded,"+e.length+" level(s) found, first bitrate:"+n);break}this.hls.trigger(Ct.a.MANIFEST_PARSED,{levels:e,firstLevel:this._firstLevel,stats:t.stats,audio:s,video:o,altAudio:t.audioTracks.length>0})}else this.hls.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:this.hls.url,reason:"no level with compatible codecs found in manifest"})},e.prototype.setLevelInternal=function(t){var e=this._levels,n=this.hls;if(t>=0&&t<e.length){if(this.cleanTimer(),this._level!==t){Dt.b.log("switching to level "+t),this._level=t;var r=e[t];r.level=t,n.trigger(Ct.a.LEVEL_SWITCH,r),n.trigger(Ct.a.LEVEL_SWITCHING,r)}var i=e[t],o=i.details;if(!o||o.live===!0){var a=i.urlId;n.trigger(Ct.a.LEVEL_LOADING,{url:i.url[a],level:t,id:a})}}else n.trigger(Ct.a.ERROR,{type:xt.b.OTHER_ERROR,details:xt.a.LEVEL_SWITCH_ERROR,level:t,fatal:!1,reason:"invalid level idx"})},e.prototype.onError=function(t){var e=this;if(t.fatal===!0)return void(t.type===xt.b.NETWORK_ERROR&&this.cleanTimer());var n=t.details,r=!1,i=!1,o=void 0,a=void 0,s=this.hls,l=s.config,u=s.media;switch(n){case xt.a.FRAG_LOAD_ERROR:case xt.a.FRAG_LOAD_TIMEOUT:case xt.a.FRAG_LOOP_LOADING_ERROR:case xt.a.KEY_LOAD_ERROR:case xt.a.KEY_LOAD_TIMEOUT:o=t.frag.level,i=!0;break;case xt.a.LEVEL_LOAD_ERROR:case xt.a.LEVEL_LOAD_TIMEOUT:o=t.context.level,r=!0;break;case xt.a.REMUX_ALLOC_ERROR:o=t.level}if(void 0!==o){a=this._levels[o],a.loadError++,a.fragmentError=i;var c=a.url.length;if(c>1&&a.loadError<c)a.urlId=(a.urlId+1)%c,a.details=void 0,Dt.b.warn("level controller,"+n+" for level "+o+": switching to redundant stream id "+a.urlId);else if(this._manualLevel===-1&&0!==o)Dt.b.warn("level controller,"+n+": switch-down for next fragment"),this.hls.nextAutoLevel=Math.max(0,o-1);else if(a&&a.details&&a.details.live)Dt.b.warn("level controller,"+n+" on live stream, discard"),r===!0&&(this._level=void 0);else if(r===!0){var f=!!u&&te.isBuffered(u,u.currentTime)&&te.isBuffered(u,u.currentTime+.5);f===!0?(Dt.b.warn("level controller,"+n+", but media buffered, retry in "+l.levelLoadingRetryDelay+"ms"),this.timer=setTimeout(function(){return e.tick()},l.levelLoadingRetryDelay),t.levelRetry=!0):(Dt.b.error("cannot recover "+n+" error"),this._level=void 0,this.cleanTimer(),t.fatal=!0)}}},e.prototype.onFragLoaded=function(t){var e=t.frag;if(void 0!==e&&"main"===e.type){var n=this._levels[e.level];void 0!==n&&(n.fragmentError=!1,n.loadError=0)}},e.prototype.onLevelLoaded=function(t){var e=this,n=t.level;if(n===this._level){var r=this._levels[n];r.fragmentError===!1&&(r.loadError=0);var i=t.details;if(i.live){var o=1e3*(i.averagetargetduration?i.averagetargetduration:i.targetduration),a=r.details;a&&i.endSN===a.endSN&&(o/=2,Dt.b.log("same live playlist, reload twice faster")),o-=performance.now()-t.stats.trequest,o=Math.max(1e3,Math.round(o)),Dt.b.log("live playlist, reload in "+o+" ms"),this.timer=setTimeout(function(){return e.tick()},o)}else this.cleanTimer()}},e.prototype.tick=function(){var t=this._level;if(void 0!==t&&this.canload){var e=this._levels[t];if(e&&e.url){var n=e.urlId;this.hls.trigger(Ct.a.LEVEL_LOADING,{url:e.url[n],level:t,id:n})}}},pe(e,[{key:"levels",get:function(){return this._levels}},{key:"level",get:function(){return this._level},set:function(t){var e=this._levels;e&&e.length>t&&(this._level===t&&void 0!==e[t].details||this.setLevelInternal(t))}},{key:"manualLevel",get:function(){return this._manualLevel},set:function(t){this._manualLevel=t,void 0===this._startLevel&&(this._startLevel=t),t!==-1&&(this.level=t)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(t){this._firstLevel=t}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var t=this.hls.config.startLevel;return void 0!==t?t:this._firstLevel}return this._startLevel},set:function(t){this._startLevel=t}},{key:"nextLoadLevel",get:function(){return this._manualLevel!==-1?this._manualLevel:this.hls.nextAutoLevel},set:function(t){this.level=t,this._manualLevel===-1&&(this.hls.nextAutoLevel=t)}}]),e}(Rt),me=ge,ve=n(3),ye=function(t){function e(n){R(this,e);
vendor: 55,507 bytes, lines 70-72
70var r=k(this,t.call(this,n,Ct.a.MEDIA_ATTACHED,Ct.a.MEDIA_DETACHING,Ct.a.FRAG_PARSING_METADATA));return r.id3Track=void 0,r.media=void 0,r}return N(e,t),e.prototype.destroy=function(){Rt.prototype.destroy.call(this)},e.prototype.onMediaAttached=function(t){this.media=t.media,!this.media},e.prototype.onMediaDetaching=function(){this.media=void 0},e.prototype.onFragParsingMetadata=function(t){var e=t.frag,n=t.samples;this.id3Track||(this.id3Track=this.media.addTextTrack("metadata","id3"),this.id3Track.mode="hidden");for(var r=window.WebKitDataCue||window.VTTCue||window.TextTrackCue,i=0;i<n.length;i++){var o=ve.a.getID3Frames(n[i].data);if(o){var a=n[i].pts,s=i<n.length-1?n[i+1].pts:e.endPTS;a===s&&(s+=1e-4);for(var l=0;l<o.length;l++){var u=o[l];if(!ve.a.isTimeStampFrame(u)){var c=new r(a,s,"");c.value=u,this.id3Track.addCue(c)}}}}},e}(Rt),be=ye,we=function(){function t(e){M(this,t),this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=0,this.totalWeight_=0}return t.prototype.sample=function(t,e){var n=Math.pow(this.alpha_,t);this.estimate_=e*(1-n)+n*this.estimate_,this.totalWeight_+=t},t.prototype.getTotalWeight=function(){return this.totalWeight_},t.prototype.getEstimate=function(){if(this.alpha_){var t=1-Math.pow(this.alpha_,this.totalWeight_);return this.estimate_/t}return this.estimate_},t}(),Ee=we,Te=function(){function t(e,n,r,i){P(this,t),this.hls=e,this.defaultEstimate_=i,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new Ee(n),this.fast_=new Ee(r)}return t.prototype.sample=function(t,e){t=Math.max(t,this.minDelayMs_);var n=8e3*e/t,r=t/1e3;this.fast_.sample(r,n),this.slow_.sample(r,n)},t.prototype.canEstimate=function(){var t=this.fast_;return t&&t.getTotalWeight()>=this.minWeight_},t.prototype.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},t.prototype.destroy=function(){},t}(),Se=Te,_e=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}}(),Ae=function(t){function e(n){j(this,e);var r=F(this,t.call(this,n,Ct.a.FRAG_LOADING,Ct.a.FRAG_LOADED,Ct.a.FRAG_BUFFERED,Ct.a.ERROR));return r.lastLoadedFragLevel=0,r._nextAutoLevel=-1,r.hls=n,r.timer=null,r._bwEstimator=null,r.onCheck=r._abandonRulesCheck.bind(r),r}return U(e,t),e.prototype.destroy=function(){this.clearTimer(),Rt.prototype.destroy.call(this)},e.prototype.onFragLoading=function(t){var e=t.frag;if("main"===e.type){if(this.timer||(this.timer=setInterval(this.onCheck,100)),!this._bwEstimator){var n=this.hls,r=t.frag.level,i=n.levels[r].details.live,o=n.config,a=void 0,s=void 0;i?(a=o.abrEwmaFastLive,s=o.abrEwmaSlowLive):(a=o.abrEwmaFastVoD,s=o.abrEwmaSlowVoD),this._bwEstimator=new Se(n,s,a,o.abrEwmaDefaultEstimate)}this.fragCurrent=e}},e.prototype._abandonRulesCheck=function(){var t=this.hls,e=t.media,n=this.fragCurrent,r=n.loader,i=t.minAutoLevel;if(!r||r.stats&&r.stats.aborted)return Dt.b.warn("frag loader destroy or aborted, disarm abandonRules"),void this.clearTimer();var o=r.stats;if(e&&o&&(!e.paused&&0!==e.playbackRate||!e.readyState)&&n.autoLevel&&n.level){var a=performance.now()-o.trequest,s=Math.abs(e.playbackRate);if(a>500*n.duration/s){var l=t.levels,u=Math.max(1,o.bw?o.bw/8:1e3*o.loaded/a),c=l[n.level],f=c.realBitrate?Math.max(c.realBitrate,c.bitrate):c.bitrate,d=o.total?o.total:Math.max(o.loaded,Math.round(n.duration*f/8)),h=e.currentTime,p=(d-o.loaded)/u,g=(te.bufferInfo(e,h,t.config.maxBufferHole).end-h)/s;if(g<2*n.duration/s&&p>g){var m=void 0,v=void 0;for(v=n.level-1;v>i;v--){var y=l[v].realBitrate?Math.max(l[v].realBitrate,l[v].bitrate):l[v].bitrate;if(m=n.duration*y/(6.4*u),m<g)break}m<p&&(Dt.b.warn("loading too slow, abort fragment loading and switch to level "+v+":fragLoadedDelay["+v+"]<fragLoadedDelay["+(n.level-1)+"];bufferStarvationDelay:"+m.toFixed(1)+"<"+p.toFixed(1)+":"+g.toFixed(1)),t.nextLoadLevel=v,this._bwEstimator.sample(a,o.loaded),r.abort(),this.clearTimer(),t.trigger(Ct.a.FRAG_LOAD_EMERGENCY_ABORTED,{frag:n,stats:o}))}}}},e.prototype.onFragLoaded=function(t){var e=t.frag;if("main"===e.type&&!isNaN(e.sn)){if(this.clearTimer(),this.lastLoadedFragLevel=e.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var n=this.hls.levels[e.level],r=(n.loaded?n.loaded.bytes:0)+t.stats.loaded,i=(n.loaded?n.loaded.duration:0)+t.frag.duration;n.loaded={bytes:r,duration:i},n.realBitrate=Math.round(8*r/i)}if(t.frag.bitrateTest){var o=t.stats;o.tparsed=o.tbuffered=o.tload,this.onFragBuffered(t)}}},e.prototype.onFragBuffered=function(t){var e=t.stats,n=t.frag;if(!(e.aborted===!0||1!==n.loadCounter||"main"!==n.type||isNaN(n.sn)||n.bitrateTest&&e.tload!==e.tbuffered)){var r=e.tparsed-e.trequest;Dt.b.log("latency/loading/parsing/append/kbps:"+Math.round(e.tfirst-e.trequest)+"/"+Math.round(e.tload-e.tfirst)+"/"+Math.round(e.tparsed-e.tload)+"/"+Math.round(e.tbuffered-e.tparsed)+"/"+Math.round(8*e.loaded/(e.tbuffered-e.trequest))),this._bwEstimator.sample(r,e.loaded),e.bwEstimate=this._bwEstimator.getEstimate(),n.bitrateTest?this.bitrateTestDelay=r/1e3:this.bitrateTestDelay=0}},e.prototype.onError=function(t){switch(t.details){case xt.a.FRAG_LOAD_ERROR:case xt.a.FRAG_LOAD_TIMEOUT:this.clearTimer()}},e.prototype.clearTimer=function(){clearInterval(this.timer),this.timer=null},e.prototype._findBestLevel=function(t,e,n,r,i,o,a,s,l){for(var u=i;u>=r;u--){var c=l[u],f=c.details,d=f?f.totalduration/f.fragments.length:e,h=!!f&&f.live,p=void 0;p=u<=t?a*n:s*n;var g=l[u].realBitrate?Math.max(l[u].realBitrate,l[u].bitrate):l[u].bitrate,m=g*d/p;if(Dt.b.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+u+"/"+Math.round(p)+"/"+g+"/"+d+"/"+o+"/"+m),p>g&&(!m||h&&!this.bitrateTestDelay||m<o))return u}return-1},_e(e,[{key:"nextAutoLevel",get:function(){var t=this._nextAutoLevel,e=this._bwEstimator;if(!(t===-1||e&&e.canEstimate()))return t;var n=this._nextABRAutoLevel;return t!==-1&&(n=Math.min(t,n)),n},set:function(t){this._nextAutoLevel=t}},{key:"_nextABRAutoLevel",get:function(){var t=this.hls,e=t.maxAutoLevel,n=t.levels,r=t.config,i=t.minAutoLevel,o=t.media,a=this.lastLoadedFragLevel,s=this.fragCurrent?this.fragCurrent.duration:0,l=o?o.currentTime:0,u=o&&0!==o.playbackRate?Math.abs(o.playbackRate):1,c=this._bwEstimator?this._bwEstimator.getEstimate():r.abrEwmaDefaultEstimate,f=(te.bufferInfo(o,l,r.maxBufferHole).end-l)/u,d=this._findBestLevel(a,s,c,i,e,f,r.abrBandWidthFactor,r.abrBandWidthUpFactor,n);if(d>=0)return d;Dt.b.trace("rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering");var h=s?Math.min(s,r.maxStarvationDelay):r.maxStarvationDelay,p=r.abrBandWidthFactor,g=r.abrBandWidthUpFactor;if(0===f){var m=this.bitrateTestDelay;if(m){var v=s?Math.min(s,r.maxLoadingDelay):r.maxLoadingDelay;h=v-m,Dt.b.trace("bitrate test took "+Math.round(1e3*m)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*h)+" ms"),p=g=1}}return d=this._findBestLevel(a,s,c,i,e,f+h,p,g,n),Math.max(d,0)}}]),e}(Rt),Ie=Ae,Ce=function(t){function e(n){B(this,e);var r=G(this,t.call(this,n,Ct.a.MEDIA_ATTACHING,Ct.a.MEDIA_DETACHING,Ct.a.MANIFEST_PARSED,Ct.a.BUFFER_RESET,Ct.a.BUFFER_APPENDING,Ct.a.BUFFER_CODECS,Ct.a.BUFFER_EOS,Ct.a.BUFFER_FLUSHING,Ct.a.LEVEL_PTS_UPDATED,Ct.a.LEVEL_UPDATED));return r._msDuration=null,r._levelDuration=null,r.onsbue=r.onSBUpdateEnd.bind(r),r.onsbe=r.onSBUpdateError.bind(r),r.pendingTracks={},r.tracks={},r}return W(e,t),e.prototype.destroy=function(){Rt.prototype.destroy.call(this)},e.prototype.onLevelPtsUpdated=function(t){var e=t.type,n=this.tracks.audio;if("audio"===e&&n&&"audio/mpeg"===n.container){var r=this.sourceBuffer.audio,i=Math.abs(r.timestampOffset-t.start);if(i>.1){var o=r.updating;try{r.abort()}catch(t){o=!0,Dt.b.warn("can not abort audio buffer: "+t)}o?this.audioTimestampOffset=t.start:(Dt.b.warn("change mpeg audio timestamp offset from "+r.timestampOffset+" to "+t.start),r.timestampOffset=t.start)}}},e.prototype.onManifestParsed=function(t){var e=t.audio,n=t.video||t.levels.length&&t.audio,r=0;t.altAudio&&(e||n)&&(r=(e?1:0)+(n?1:0),Dt.b.log(r+" sourceBuffer(s) expected")),this.sourceBufferNb=r},e.prototype.onMediaAttaching=function(t){var e=this.media=t.media;if(e){var n=this.mediaSource=new MediaSource;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this),n.addEventListener("sourceopen",this.onmso),n.addEventListener("sourceended",this.onmse),n.addEventListener("sourceclose",this.onmsc),e.src=URL.createObjectURL(n)}},e.prototype.onMediaDetaching=function(){Dt.b.log("media source detaching");var t=this.mediaSource;if(t){if("open"===t.readyState)try{t.endOfStream()}catch(t){Dt.b.warn("onMediaDetaching:"+t.message+" while calling endOfStream")}t.removeEventListener("sourceopen",this.onmso),t.removeEventListener("sourceended",this.onmse),t.removeEventListener("sourceclose",this.onmsc),this.media&&(URL.revokeObjectURL(this.media.src),this.media.removeAttribute("src"),this.media.load()),this.mediaSource=null,this.media=null,this.pendingTracks={},this.tracks={},this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}this.onmso=this.onmse=this.onmsc=null,this.hls.trigger(Ct.a.MEDIA_DETACHED)},e.prototype.onMediaSourceOpen=function(){Dt.b.log("media source opened"),this.hls.trigger(Ct.a.MEDIA_ATTACHED,{media:this.media});var t=this.mediaSource;t&&t.removeEventListener("sourceopen",this.onmso),this.checkPendingTracks()},e.prototype.checkPendingTracks=function(){var t=this.pendingTracks,e=Object.keys(t).length;e&&(this.sourceBufferNb<=e||0===this.sourceBufferNb)&&(this.createSourceBuffers(t),this.pendingTracks={},this.doAppending())},e.prototype.onMediaSourceClose=function(){Dt.b.log("media source closed")},e.prototype.onMediaSourceEnded=function(){Dt.b.log("media source ended")},e.prototype.onSBUpdateEnd=function(){if(this.audioTimestampOffset){var t=this.sourceBuffer.audio;Dt.b.warn("change mpeg audio timestamp offset from "+t.timestampOffset+" to "+this.audioTimestampOffset),t.timestampOffset=this.audioTimestampOffset,delete this.audioTimestampOffset}this._needsFlush&&this.doFlush(),this._needsEos&&this.checkEos(),this.appending=!1;var e=this.parent,n=this.segments.reduce(function(t,n){return n.parent===e?t+1:t},0);this.hls.trigger(Ct.a.BUFFER_APPENDED,{parent:e,pending:n}),this._needsFlush||this.doAppending(),this.updateMediaElementDuration()},e.prototype.onSBUpdateError=function(t){Dt.b.error("sourceBuffer error:",t),this.hls.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_APPENDING_ERROR,fatal:!1})},e.prototype.onBufferReset=function(){var t=this.sourceBuffer;for(var e in t){var n=t[e];try{this.mediaSource.removeSourceBuffer(n),n.removeEventListener("updateend",this.onsbue),n.removeEventListener("error",this.onsbe)}catch(t){}}this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0},e.prototype.onBufferCodecs=function(t){if(0===Object.keys(this.sourceBuffer).length){for(var e in t)this.pendingTracks[e]=t[e];var n=this.mediaSource;n&&"open"===n.readyState&&this.checkPendingTracks()}},e.prototype.createSourceBuffers=function(t){var e=this.sourceBuffer,n=this.mediaSource;for(var r in t)if(!e[r]){var i=t[r],o=i.levelCodec||i.codec,a=i.container+";codecs="+o;Dt.b.log("creating sourceBuffer("+a+")");try{var s=e[r]=n.addSourceBuffer(a);s.addEventListener("updateend",this.onsbue),s.addEventListener("error",this.onsbe),this.tracks[r]={codec:o,container:i.container},i.buffer=s}catch(t){Dt.b.error("error while trying to add sourceBuffer:"+t.message),this.hls.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_ADD_CODEC_ERROR,fatal:!1,err:t,mimeType:a})}}this.hls.trigger(Ct.a.BUFFER_CREATED,{tracks:t})},e.prototype.onBufferAppending=function(t){this._needsFlush||(this.segments?this.segments.push(t):this.segments=[t],this.doAppending())},e.prototype.onBufferAppendFail=function(t){Dt.b.error("sourceBuffer error:",t.event),this.hls.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.BUFFER_APPENDING_ERROR,fatal:!1})},e.prototype.onBufferEos=function(t){var e=this.sourceBuffer,n=t.type;for(var r in e)n&&r!==n||e[r].ended||(e[r].ended=!0,Dt.b.log(r+" sourceBuffer now EOS"));this.checkEos()},e.prototype.checkEos=function(){var t=this.sourceBuffer,e=this.mediaSource;if(!e||"open"!==e.readyState)return void(this._needsEos=!1);for(var n in t){var r=t[n];if(!r.ended)return;if(r.updating)return void(this._needsEos=!0)}Dt.b.log("all media data available, signal endOfStream() to MediaSource and stop loading fragment");try{e.endOfStream()}catch(t){Dt.b.warn("exception while calling mediaSource.endOfStream()")}this._needsEos=!1},e.prototype.onBufferFlushing=function(t){this.flushRange.push({start:t.startOffset,end:t.endOffset,type:t.type}),this.flushBufferCounter=0,this.doFlush()},e.prototype.onLevelUpdated=function(t){var e=t.details;0!==e.fragments.length&&(this._levelDuration=e.totalduration+e.fragments[0].start,this.updateMediaElementDuration())},e.prototype.updateMediaElementDuration=function(){var t=this.media,e=this.mediaSource,n=this.sourceBuffer,r=this._levelDuration;if(null!==r&&t&&e&&n&&0!==t.readyState&&"open"===e.readyState){for(var i in n)if(n[i].updating)return;null===this._msDuration&&(this._msDuration=e.duration);var o=t.duration;(r>this._msDuration&&r>o||o===1/0||isNaN(o))&&(Dt.b.log("Updating mediasource duration to "+r.toFixed(3)),this._msDuration=e.duration=r)}},e.prototype.doFlush=function(){for(;this.flushRange.length;){var t=this.flushRange[0];if(!this.flushBuffer(t.start,t.end,t.type))return void(this._needsFlush=!0);this.flushRange.shift(),this.flushBufferCounter=0}if(0===this.flushRange.length){this._needsFlush=!1;var e=0,n=this.sourceBuffer;try{for(var r in n)e+=n[r].buffered.length}catch(t){Dt.b.error("error while accessing sourceBuffer.buffered")}this.appended=e,this.hls.trigger(Ct.a.BUFFER_FLUSHED)}},e.prototype.doAppending=function(){var t=this.hls,e=this.sourceBuffer,n=this.segments;if(Object.keys(e).length){if(this.media.error)return this.segments=[],void Dt.b.error("trying to append although a media error occured, flush segment and abort");if(this.appending)return;if(n&&n.length){var r=n.shift();try{var i=r.type,o=e[i];o?o.updating?n.unshift(r):(o.ended=!1,this.parent=r.parent,o.appendBuffer(r.data),this.appendError=0,this.appended++,this.appending=!0):this.onSBUpdateEnd()}catch(e){Dt.b.error("error while trying to append buffer:"+e.message),n.unshift(r);var a={type:xt.b.MEDIA_ERROR,parent:r.parent};if(22===e.code)return this.segments=[],a.details=xt.a.BUFFER_FULL_ERROR,a.fatal=!1,void t.trigger(Ct.a.ERROR,a);if(this.appendError?this.appendError++:this.appendError=1,a.details=xt.a.BUFFER_APPEND_ERROR,this.appendError>t.config.appendErrorMaxRetry)return Dt.b.log("fail "+t.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),n=[],a.fatal=!0,void t.trigger(Ct.a.ERROR,a);a.fatal=!1,t.trigger(Ct.a.ERROR,a)}}}},e.prototype.flushBuffer=function(t,e,n){var r,i,o,a,s,l,u=this.sourceBuffer;if(Object.keys(u).length){if(Dt.b.log("flushBuffer,pos/start/end: "+this.media.currentTime.toFixed(3)+"/"+t+"/"+e),this.flushBufferCounter<this.appended){for(var c in u)if(!n||c===n){if(r=u[c],r.ended=!1,r.updating)return Dt.b.warn("cannot flush, sb updating in progress"),!1;try{for(i=0;i<r.buffered.length;i++)if(o=r.buffered.start(i),a=r.buffered.end(i),navigator.userAgent.toLowerCase().indexOf("firefox")!==-1&&e===Number.POSITIVE_INFINITY?(s=t,l=e):(s=Math.max(o,t),l=Math.min(a,e)),Math.min(l,a)-s>.5)return this.flushBufferCounter++,Dt.b.log("flush "+c+" ["+s+","+l+"], of ["+o+","+a+"], pos:"+this.media.currentTime),r.remove(s,l),!1}catch(t){Dt.b.warn("exception while accessing sourcebuffer, it might have been removed from MediaSource")}}}else Dt.b.warn("abort flushing too many retries");Dt.b.log("buffer flushed")}return!0},e}(Rt),xe=Ce,De=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}}(),Le=function(t){function e(n){return z(this,e),H(this,t.call(this,n,Ct.a.FPS_DROP_LEVEL_CAPPING,Ct.a.MEDIA_ATTACHING,Ct.a.MANIFEST_PARSED))}return Y(e,t),e.prototype.destroy=function(){this.hls.config.capLevelToPlayerSize&&(this.media=this.restrictedLevels=null,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(this.timer=clearInterval(this.timer)))},e.prototype.onFpsDropLevelCapping=function(t){e.isLevelAllowed(t.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(t.droppedLevel)},e.prototype.onMediaAttaching=function(t){this.media=t.media instanceof HTMLVideoElement?t.media:null; 71},e.prototype.onManifestParsed=function(t){var e=this.hls;this.restrictedLevels=[],e.config.capLevelToPlayerSize&&(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.levels=t.levels,e.firstLevel=this.getMaxLevel(t.firstLevel),clearInterval(this.timer),this.timer=setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},e.prototype.detectPlayerSize=function(){if(this.media){var t=this.levels?this.levels.length:0;if(t){var e=this.hls;e.autoLevelCapping=this.getMaxLevel(t-1),e.autoLevelCapping>this.autoLevelCapping&&e.streamController.nextLevelSwitch(),this.autoLevelCapping=e.autoLevelCapping}}},e.prototype.getMaxLevel=function(t){var n=this;if(!this.levels)return-1;var r=this.levels.filter(function(r,i){return e.isLevelAllowed(i,n.restrictedLevels)&&i<=t});return e.getMaxLevelByMediaSize(r,this.mediaWidth,this.mediaHeight)},e.isLevelAllowed=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.indexOf(t)===-1},e.getMaxLevelByMediaSize=function(t,e,n){if(!t||t&&!t.length)return-1;for(var r=function(t,e){return!e||(t.width!==e.width||t.height!==e.height)},i=t.length-1,o=0;o<t.length;o+=1){var a=t[o];if((a.width>=e||a.height>=n)&&r(a,t[o+1])){i=o;break}}return i},De(e,[{key:"mediaWidth",get:function(){var t=void 0,n=this.media;return n&&(t=n.width||n.clientWidth||n.offsetWidth,t*=e.contentScaleFactor),t}},{key:"mediaHeight",get:function(){var t=void 0,n=this.media;return n&&(t=n.height||n.clientHeight||n.offsetHeight,t*=e.contentScaleFactor),t}}],[{key:"contentScaleFactor",get:function(){var t=1;try{t=window.devicePixelRatio}catch(t){}return t}}]),e}(Rt),Oe=Le,Re=function(t){function e(n){return Z(this,e),V(this,t.call(this,n,Ct.a.MEDIA_ATTACHING))}return J(e,t),e.prototype.destroy=function(){this.timer&&clearInterval(this.timer),this.isVideoPlaybackQualityAvailable=!1},e.prototype.onMediaAttaching=function(t){var e=this.hls.config;if(e.capLevelOnFPSDrop){var n=this.video=t.media instanceof HTMLVideoElement?t.media:null;"function"==typeof n.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),clearInterval(this.timer),this.timer=setInterval(this.checkFPSInterval.bind(this),e.fpsDroppedMonitoringPeriod)}},e.prototype.checkFPS=function(t,e,n){var r=performance.now();if(e){if(this.lastTime){var i=r-this.lastTime,o=n-this.lastDroppedFrames,a=e-this.lastDecodedFrames,s=1e3*o/i,l=this.hls;if(l.trigger(Ct.a.FPS_DROP,{currentDropped:o,currentDecoded:a,totalDroppedFrames:n}),s>0&&o>l.config.fpsDroppedMonitoringThreshold*a){var u=l.currentLevel;Dt.b.warn("drop FPS ratio greater than max allowed value for currentLevel: "+u),u>0&&(l.autoLevelCapping===-1||l.autoLevelCapping>=u)&&(u-=1,l.trigger(Ct.a.FPS_DROP_LEVEL_CAPPING,{level:u,droppedLevel:l.currentLevel}),l.autoLevelCapping=u,l.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=e}},e.prototype.checkFPSInterval=function(){var t=this.video;if(t)if(this.isVideoPlaybackQualityAvailable){var e=t.getVideoPlaybackQuality();this.checkFPS(t,e.totalVideoFrames,e.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)},e}(Rt),ke=Re,Ne=function(){function t(e){X(this,t),e&&e.xhrSetup&&(this.xhrSetup=e.xhrSetup)}return t.prototype.destroy=function(){this.abort(),this.loader=null},t.prototype.abort=function(){var t=this.loader;t&&4!==t.readyState&&(this.stats.aborted=!0,t.abort()),window.clearTimeout(this.requestTimeout),this.requestTimeout=null,window.clearTimeout(this.retryTimeout),this.retryTimeout=null},t.prototype.load=function(t,e,n){this.context=t,this.config=e,this.callbacks=n,this.stats={trequest:performance.now(),retry:0},this.retryDelay=e.retryDelay,this.loadInternal()},t.prototype.loadInternal=function(){var t,e=this.context;t=this.loader=new XMLHttpRequest;var n=this.stats;n.tfirst=0,n.loaded=0;var r=this.xhrSetup;try{if(r)try{r(t,e.url)}catch(n){t.open("GET",e.url,!0),r(t,e.url)}t.readyState||t.open("GET",e.url,!0)}catch(n){return void this.callbacks.onError({code:t.status,text:n.message},e,t)}e.rangeEnd&&t.setRequestHeader("Range","bytes="+e.rangeStart+"-"+(e.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=e.responseType,this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),this.config.timeout),t.send()},t.prototype.readystatechange=function(t){var e=t.currentTarget,n=e.readyState,r=this.stats,i=this.context,o=this.config;if(!r.aborted&&n>=2)if(window.clearTimeout(this.requestTimeout),0===r.tfirst&&(r.tfirst=Math.max(performance.now(),r.trequest)),4===n){var a=e.status;if(a>=200&&a<300){r.tload=Math.max(r.tfirst,performance.now());var s=void 0,l=void 0;"arraybuffer"===i.responseType?(s=e.response,l=s.byteLength):(s=e.responseText,l=s.length),r.loaded=r.total=l;var u={url:e.responseURL,data:s};this.callbacks.onSuccess(u,r,i,e)}else r.retry>=o.maxRetry||a>=400&&a<499?(Dt.b.error(a+" while loading "+i.url),this.callbacks.onError({code:a,text:e.statusText},i,e)):(Dt.b.warn(a+" while loading "+i.url+", retrying in "+this.retryDelay+"..."),this.destroy(),this.retryTimeout=window.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,o.maxRetryDelay),r.retry++)}else this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),o.timeout)},t.prototype.loadtimeout=function(){Dt.b.warn("timeout while loading "+this.context.url),this.callbacks.onTimeout(this.stats,this.context,null)},t.prototype.loadprogress=function(t){var e=t.currentTarget,n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total);var r=this.callbacks.onProgress;r&&r(n,this.context,null,e)},t}(),Me=Ne,Pe=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}}(),je=function(t){function e(n){K(this,e);var r=q(this,t.call(this,n,Ct.a.MANIFEST_LOADING,Ct.a.MANIFEST_LOADED,Ct.a.AUDIO_TRACK_LOADED,Ct.a.ERROR));return r.ticks=0,r.ontick=r.tick.bind(r),r}return $(e,t),e.prototype.destroy=function(){this.cleanTimer(),Rt.prototype.destroy.call(this)},e.prototype.cleanTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.tick=function(){this.ticks++,1===this.ticks&&(this.doTick(),this.ticks>1&&setTimeout(this.tick,1),this.ticks=0)},e.prototype.doTick=function(){this.updateTrack(this.trackId)},e.prototype.onError=function(t){t.fatal&&t.type===xt.b.NETWORK_ERROR&&this.cleanTimer()},e.prototype.onManifestLoading=function(){this.tracks=[],this.trackId=-1},e.prototype.onManifestLoaded=function(t){var e=this,n=t.audioTracks||[],r=!1;this.tracks=n,this.hls.trigger(Ct.a.AUDIO_TRACKS_UPDATED,{audioTracks:n});var i=0;n.forEach(function(t){return t.default&&!r?(e.audioTrack=i,void(r=!0)):void i++}),r===!1&&n.length&&(Dt.b.log("no default audio track defined, use first audio track as default"),this.audioTrack=0)},e.prototype.onAudioTrackLoaded=function(t){t.id<this.tracks.length&&(Dt.b.log("audioTrack "+t.id+" loaded"),this.tracks[t.id].details=t.details,t.details.live&&!this.timer&&(this.timer=setInterval(this.ontick,1e3*t.details.targetduration)),!t.details.live&&this.timer&&this.cleanTimer())},e.prototype.setAudioTrackInternal=function(t){if(t>=0&&t<this.tracks.length){this.cleanTimer(),this.trackId=t,Dt.b.log("switching to audioTrack "+t);var e=this.tracks[t],n=this.hls,r=e.type,i=e.url,o={id:t,type:r,url:i};n.trigger(Ct.a.AUDIO_TRACK_SWITCH,o),n.trigger(Ct.a.AUDIO_TRACK_SWITCHING,o);var a=e.details;!i||void 0!==a&&a.live!==!0||(Dt.b.log("(re)loading playlist for audioTrack "+t),n.trigger(Ct.a.AUDIO_TRACK_LOADING,{url:i,id:t}))}},e.prototype.updateTrack=function(t){if(t>=0&&t<this.tracks.length){this.cleanTimer(),this.trackId=t,Dt.b.log("updating audioTrack "+t);var e=this.tracks[t],n=e.url,r=e.details;!n||void 0!==r&&r.live!==!0||(Dt.b.log("(re)loading playlist for audioTrack "+t),this.hls.trigger(Ct.a.AUDIO_TRACK_LOADING,{url:n,id:t}))}},Pe(e,[{key:"audioTracks",get:function(){return this.tracks}},{key:"audioTrack",get:function(){return this.trackId},set:function(t){this.trackId===t&&void 0!==this.tracks[t].details||this.setAudioTrackInternal(t)}}]),e}(Rt),Fe=je,Ue=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}}(),Be={STOPPED:"STOPPED",STARTING:"STARTING",IDLE:"IDLE",PAUSED:"PAUSED",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS"},Ge=function(t){function e(n){Q(this,e);var r=tt(this,t.call(this,n,Ct.a.MEDIA_ATTACHED,Ct.a.MEDIA_DETACHING,Ct.a.AUDIO_TRACKS_UPDATED,Ct.a.AUDIO_TRACK_SWITCHING,Ct.a.AUDIO_TRACK_LOADED,Ct.a.KEY_LOADED,Ct.a.FRAG_LOADED,Ct.a.FRAG_PARSING_INIT_SEGMENT,Ct.a.FRAG_PARSING_DATA,Ct.a.FRAG_PARSED,Ct.a.ERROR,Ct.a.BUFFER_CREATED,Ct.a.BUFFER_APPENDED,Ct.a.BUFFER_FLUSHED,Ct.a.INIT_PTS_FOUND));return r.config=n.config,r.audioCodecSwap=!1,r.ticks=0,r._state=Be.STOPPED,r.ontick=r.tick.bind(r),r.initPTS=[],r.waitingFragment=null,r.videoTrackCC=null,r}return et(e,t),e.prototype.destroy=function(){this.stopLoad(),this.timer&&(clearInterval(this.timer),this.timer=null),Rt.prototype.destroy.call(this),this.state=Be.STOPPED},e.prototype.onInitPtsFound=function(t){var e=t.id,n=t.frag.cc,r=t.initPTS;"main"===e&&(this.initPTS[n]=r,this.videoTrackCC=n,Dt.b.log("InitPTS for cc:"+n+" found from video track:"+r),this.state===Be.WAITING_INIT_PTS&&this.tick())},e.prototype.startLoad=function(t){if(this.tracks){var e=this.lastCurrentTime;this.stopLoad(),this.timer||(this.timer=setInterval(this.ontick,100)),this.fragLoadError=0,e>0&&t===-1?(Dt.b.log("audio:override startPosition with lastCurrentTime @"+e.toFixed(3)),this.state=Be.IDLE):(this.lastCurrentTime=this.startPosition?this.startPosition:t,this.state=Be.STARTING),this.nextLoadPosition=this.startPosition=this.lastCurrentTime,this.tick()}else this.startPosition=t,this.state=Be.STOPPED},e.prototype.stopLoad=function(){var t=this.fragCurrent;t&&(t.loader&&t.loader.abort(),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=Be.STOPPED},e.prototype.tick=function(){this.ticks++,1===this.ticks&&(this.doTick(),this.ticks>1&&setTimeout(this.tick,1),this.ticks=0)},e.prototype.doTick=function(){var t,e,n,r=this.hls,i=r.config;switch(this.state){case Be.ERROR:case Be.PAUSED:case Be.BUFFER_FLUSHING:break;case Be.STARTING:this.state=Be.WAITING_TRACK,this.loadedmetadata=!1;break;case Be.IDLE:var o=this.tracks;if(!o)break;if(!this.media&&(this.startFragRequested||!i.startFragPrefetch))break;if(this.loadedmetadata)t=this.media.currentTime;else if(t=this.nextLoadPosition,void 0===t)break;var a=this.mediaBuffer?this.mediaBuffer:this.media,s=this.videoBuffer?this.videoBuffer:this.media,l=te.bufferInfo(a,t,i.maxBufferHole),u=te.bufferInfo(s,t,i.maxBufferHole),c=l.len,f=l.end,d=this.fragPrevious,h=Math.max(i.maxBufferLength,u.len),p=this.audioSwitch,g=this.trackId;if((c<h||p)&&g<o.length){if(n=o[g].details,"undefined"==typeof n){this.state=Be.WAITING_TRACK;break}if(!p&&!n.live&&d&&d.sn===n.endSN&&(!this.media.seeking||this.media.duration-f<d.duration/2)){this.hls.trigger(Ct.a.BUFFER_EOS,{type:"audio"}),this.state=Be.ENDED;break}var m=n.fragments,v=m.length,y=m[0].start,b=m[v-1].start+m[v-1].duration,w=void 0;if(p)if(n.live&&!n.PTSKnown)Dt.b.log("switching audiotrack, live stream, unknown PTS,load first fragment"),f=0;else if(f=t,n.PTSKnown&&t<y){if(!(l.end>y||l.nextStart))return;Dt.b.log("alt audio track ahead of main track, seek to start of alt audio track"),this.media.currentTime=y+.05}if(n.initSegment&&!n.initSegment.data)w=n.initSegment;else if(f<=y){if(w=m[0],null!==this.videoTrackCC&&w.cc!==this.videoTrackCC&&(w=E(m,this.videoTrackCC)),n.live&&w.loadIdx&&w.loadIdx===this.fragLoadIdx){var T=l.nextStart?l.nextStart:y;return Dt.b.log("no alt audio available @currentTime:"+this.media.currentTime+", seeking @"+(T+.05)),void(this.media.currentTime=T+.05)}}else{var S=void 0,_=i.maxFragLookUpTolerance,A=d?m[d.sn-m[0].sn+1]:void 0,I=function(t){var e=Math.min(_,t.duration);return t.start+t.duration-e<=f?1:t.start-e>f&&t.start?-1:0};f<b?(f>b-_&&(_=0),S=A&&!I(A)?A:$t.search(m,I)):S=m[v-1],S&&(w=S,y=S.start,d&&w.level===d.level&&w.sn===d.sn&&(w.sn<n.endSN?(w=m[w.sn+1-n.startSN],Dt.b.log("SN just loaded, load next one: "+w.sn)):w=null))}if(w)if(w.decryptdata&&null!=w.decryptdata.uri&&null==w.decryptdata.key)Dt.b.log("Loading key for "+w.sn+" of ["+n.startSN+" ,"+n.endSN+"],track "+g),this.state=Be.KEY_LOADING,r.trigger(Ct.a.KEY_LOADING,{frag:w});else{if(Dt.b.log("Loading "+w.sn+", cc: "+w.cc+" of ["+n.startSN+" ,"+n.endSN+"],track "+g+", currentTime:"+t+",bufferEnd:"+f.toFixed(3)),void 0!==this.fragLoadIdx?this.fragLoadIdx++:this.fragLoadIdx=0,w.loadCounter){w.loadCounter++;var C=i.fragLoadingLoopThreshold;if(w.loadCounter>C&&Math.abs(this.fragLoadIdx-w.loadIdx)<C)return void r.trigger(Ct.a.ERROR,{type:xt.b.MEDIA_ERROR,details:xt.a.FRAG_LOOP_LOADING_ERROR,fatal:!1,frag:w})}else w.loadCounter=1;w.loadIdx=this.fragLoadIdx,this.fragCurrent=w,this.startFragRequested=!0,isNaN(w.sn)||(this.nextLoadPosition=w.start+w.duration),r.trigger(Ct.a.FRAG_LOADING,{frag:w}),this.state=Be.FRAG_LOADING}}break;case Be.WAITING_TRACK:e=this.tracks[this.trackId],e&&e.details&&(this.state=Be.IDLE);break;case Be.FRAG_LOADING_WAITING_RETRY:var x=performance.now(),D=this.retryDate;a=this.media;var L=a&&a.seeking;(!D||x>=D||L)&&(Dt.b.log("audioStreamController: retryDate reached, switch back to IDLE state"),this.state=Be.IDLE);break;case Be.WAITING_INIT_PTS:var O=this.videoTrackCC;if(void 0===this.initPTS[O])break;var R=this.waitingFragment;if(R){var k=R.frag.cc;O!==k?(e=this.tracks[this.trackId],e.details&&e.details.live&&(Dt.b.warn("Waiting fragment CC ("+k+") does not match video track CC ("+O+")"),this.waitingFragment=null,this.state=Be.IDLE)):(this.state=Be.FRAG_LOADING,this.onFragLoaded(this.waitingFragment),this.waitingFragment=null)}else this.state=Be.IDLE;break;case Be.STOPPED:case Be.FRAG_LOADING:case Be.PARSING:case Be.PARSED:case Be.ENDED:}},e.prototype.onMediaAttached=function(t){var e=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),e.addEventListener("seeking",this.onvseeking),e.addEventListener("ended",this.onvended);var n=this.config;this.tracks&&n.autoStartLoad&&this.startLoad(n.startPosition)},e.prototype.onMediaDetaching=function(){var t=this.media;t&&t.ended&&(Dt.b.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var e=this.tracks;e&&e.forEach(function(t){t.details&&t.details.fragments.forEach(function(t){t.loadCounter=void 0})}),t&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1,this.stopLoad()},e.prototype.onMediaSeeking=function(){this.state===Be.ENDED&&(this.state=Be.IDLE),this.media&&(this.lastCurrentTime=this.media.currentTime),void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*this.config.fragLoadingLoopThreshold),this.tick()},e.prototype.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},e.prototype.onAudioTracksUpdated=function(t){Dt.b.log("audio tracks updated"),this.tracks=t.audioTracks},e.prototype.onAudioTrackSwitching=function(t){var e=!!t.url;this.trackId=t.id,this.fragCurrent=null,this.state=Be.PAUSED,this.waitingFragment=null,e?this.timer||(this.timer=setInterval(this.ontick,100)):this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),e&&(this.audioSwitch=!0,this.state=Be.IDLE,void 0!==this.fragLoadIdx&&(this.fragLoadIdx+=2*this.config.fragLoadingLoopThreshold)),this.tick()},e.prototype.onAudioTrackLoaded=function(t){var e=t.details,n=t.id,r=this.tracks[n],i=e.totalduration,o=0;if(Dt.b.log("track "+n+" loaded ["+e.startSN+","+e.endSN+"],duration:"+i),e.live){var a=r.details;a&&e.fragments.length>0?(b(a,e),o=e.fragments[0].start,e.PTSKnown?Dt.b.log("live audio playlist sliding:"+o.toFixed(3)):Dt.b.log("live audio playlist - outdated PTS, unknown sliding")):(e.PTSKnown=!1,Dt.b.log("live audio playlist - first load, unknown sliding"))}else e.PTSKnown=!1;if(r.details=e,!this.startFragRequested){if(this.startPosition===-1){var s=e.startTimeOffset;isNaN(s)?this.startPosition=0:(Dt.b.log("start time offset found in playlist, adjust startPosition to "+s),this.startPosition=s)}this.nextLoadPosition=this.startPosition}this.state===Be.WAITING_TRACK&&(this.state=Be.IDLE),this.tick()},e.prototype.onKeyLoaded=function(){this.state===Be.KEY_LOADING&&(this.state=Be.IDLE,this.tick())},e.prototype.onFragLoaded=function(t){var e=this.fragCurrent,n=t.frag;if(this.state===Be.FRAG_LOADING&&e&&"audio"===n.type&&n.level===e.level&&n.sn===e.sn){var r=this.tracks[this.trackId],i=r.details,o=i.totalduration,a=e.level,s=e.sn,l=e.cc,u=this.config.defaultAudioCodec||r.audioCodec||"mp4a.40.2",c=this.stats=t.stats;if("initSegment"===s)this.state=Be.IDLE,c.tparsed=c.tbuffered=performance.now(),i.initSegment.data=t.payload,this.hls.trigger(Ct.a.FRAG_BUFFERED,{stats:c,frag:e,id:"audio"}),this.tick();else{this.state=Be.PARSING,this.appended=!1,this.demuxer||(this.demuxer=new se(this.hls,"audio"));var f=this.initPTS[l],d=i.initSegment?i.initSegment.data:[];if(i.initSegment||void 0!==f){this.pendingBuffering=!0,Dt.b.log("Demuxing "+s+" of ["+i.startSN+" ,"+i.endSN+"],track "+a);var h=!1;this.demuxer.push(t.payload,d,u,null,e,o,h,f)}else Dt.b.log("unknown video PTS for continuity counter "+l+", waiting for video PTS before demuxing audio frag "+s+" of ["+i.startSN+" ,"+i.endSN+"],track "+a),this.waitingFragment=t,this.state=Be.WAITING_INIT_PTS}}this.fragLoadError=0},e.prototype.onFragParsingInitSegment=function(t){var e=this.fragCurrent,n=t.frag;if(e&&"audio"===t.id&&n.sn===e.sn&&n.level===e.level&&this.state===Be.PARSING){var r=t.tracks,i=void 0;if(r.video&&delete r.video,i=r.audio){i.levelCodec=i.codec,i.id=t.id,this.hls.trigger(Ct.a.BUFFER_CODECS,r),Dt.b.log("audio track:audio,container:"+i.container+",codecs[level/parsed]=["+i.levelCodec+"/"+i.codec+"]");var o=i.initSegment;if(o){var a={type:"audio",data:o,parent:"audio",content:"initSegment"};this.audioSwitch?this.pendingData=[a]:(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(Ct.a.BUFFER_APPENDING,a))}this.tick()}}},e.prototype.onFragParsingData=function(t){var e=this,n=this.fragCurrent,r=t.frag;if(n&&"audio"===t.id&&"audio"===t.type&&r.sn===n.sn&&r.level===n.level&&this.state===Be.PARSING){var i=this.trackId,o=this.tracks[i],a=this.hls;isNaN(t.endPTS)&&(t.endPTS=t.startPTS+n.duration,t.endDTS=t.startDTS+n.duration),Dt.b.log("parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb),y(o.details,n,t.startPTS,t.endPTS);var s=this.audioSwitch,l=this.media,u=!1;if(s&&l)if(l.readyState){var c=l.currentTime;Dt.b.log("switching audio track : currentTime:"+c),c>=t.startPTS&&(Dt.b.log("switching audio track : flushing all audio"),this.state=Be.BUFFER_FLUSHING,a.trigger(Ct.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),u=!0,this.audioSwitch=!1,a.trigger(Ct.a.AUDIO_TRACK_SWITCHED,{id:i}))}else this.audioSwitch=!1,a.trigger(Ct.a.AUDIO_TRACK_SWITCHED,{id:i});var f=this.pendingData;this.audioSwitch||([t.data1,t.data2].forEach(function(e){e&&e.length&&f.push({type:t.type,data:e,parent:"audio",content:"data"})}),!u&&f.length&&(f.forEach(function(t){e.state===Be.PARSING&&(e.pendingBuffering=!0,e.hls.trigger(Ct.a.BUFFER_APPENDING,t))}),this.pendingData=[],this.appended=!0)),this.tick()}},e.prototype.onFragParsed=function(t){var e=this.fragCurrent,n=t.frag;e&&"audio"===t.id&&n.sn===e.sn&&n.level===e.level&&this.state===Be.PARSING&&(this.stats.tparsed=performance.now(),this.state=Be.PARSED,this._checkAppendedParsed())},e.prototype.onBufferCreated=function(t){var e=t.tracks.audio;e&&(this.mediaBuffer=e.buffer,this.loadedmetadata=!0),t.tracks.video&&(this.videoBuffer=t.tracks.video.buffer)},e.prototype.onBufferAppended=function(t){if("audio"===t.parent){var e=this.state;e!==Be.PARSING&&e!==Be.PARSED||(this.pendingBuffering=t.pending>0,this._checkAppendedParsed())}},e.prototype._checkAppendedParsed=function(){if(!(this.state!==Be.PARSED||this.appended&&this.pendingBuffering)){var t=this.fragCurrent,e=this.stats,n=this.hls;if(t){this.fragPrevious=t,e.tbuffered=performance.now(),n.trigger(Ct.a.FRAG_BUFFERED,{stats:e,frag:t,id:"audio"});var r=this.mediaBuffer?this.mediaBuffer:this.media;Dt.b.log("audio buffered : "+ue.toString(r.buffered)),this.audioSwitch&&this.appended&&(this.audioSwitch=!1,n.trigger(Ct.a.AUDIO_TRACK_SWITCHED,{id:this.trackId})),this.state=Be.IDLE}this.tick()}},e.prototype.onError=function(t){var e=t.frag;if(!e||"audio"===e.type)switch(t.details){case xt.a.FRAG_LOAD_ERROR:case xt.a.FRAG_LOAD_TIMEOUT:if(!t.fatal){var n=this.fragLoadError;n?n++:n=1;var r=this.config;if(n<=r.fragLoadingMaxRetry){this.fragLoadError=n,e.loadCounter=0;var i=Math.min(Math.pow(2,n-1)*r.fragLoadingRetryDelay,r.fragLoadingMaxRetryTimeout);Dt.b.warn("audioStreamController: frag loading failed, retry in "+i+" ms"),this.retryDate=performance.now()+i,this.state=Be.FRAG_LOADING_WAITING_RETRY}else Dt.b.error("audioStreamController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=Be.ERROR}break;case xt.a.FRAG_LOOP_LOADING_ERROR:case xt.a.AUDIO_TRACK_LOAD_ERROR:case xt.a.AUDIO_TRACK_LOAD_TIMEOUT:case xt.a.KEY_LOAD_ERROR:case xt.a.KEY_LOAD_TIMEOUT:this.state!==Be.ERROR&&(this.state=t.fatal?Be.ERROR:Be.IDLE,Dt.b.warn("audioStreamController: "+t.details+" while loading frag,switch to "+this.state+" state ..."));break;case xt.a.BUFFER_FULL_ERROR:if("audio"===t.parent&&(this.state===Be.PARSING||this.state===Be.PARSED)){var o=this.mediaBuffer,a=this.media.currentTime,s=o&&te.isBuffered(o,a)&&te.isBuffered(o,a+.5);if(s){var l=this.config;l.maxMaxBufferLength>=l.maxBufferLength&&(l.maxMaxBufferLength/=2,Dt.b.warn("audio:reduce max buffer length to "+l.maxMaxBufferLength+"s"),this.fragLoadIdx+=2*l.fragLoadingLoopThreshold),this.state=Be.IDLE}else Dt.b.warn("buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,this.state=Be.BUFFER_FLUSHING,this.hls.trigger(Ct.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"})}}},e.prototype.onBufferFlushed=function(){var t=this,e=this.pendingData;e&&e.length?(Dt.b.log("appending pending audio data on Buffer Flushed"),e.forEach(function(e){t.hls.trigger(Ct.a.BUFFER_APPENDING,e)}),this.appended=!0,this.pendingData=[],this.state=Be.PARSED):(this.state=Be.IDLE,this.fragPrevious=null,this.tick())},Ue(e,[{key:"state",set:function(t){if(this.state!==t){var e=this.state;this._state=t,Dt.b.log("audio stream:"+e+"->"+t)}},get:function(){return this._state}}]),e}(Rt),We=Ge,ze=function(){function t(t){if("string"!=typeof t)return!1;var e=o[t.toLowerCase()];return!!e&&t.toLowerCase()}function e(t){if("string"!=typeof t)return!1;var e=a[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(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 r(r,o,a){var s=this,l=function(){if("undefined"!=typeof navigator)return/MSIE\s8\.0/.test(navigator.userAgent)}(),u={};l?s=document.createElement("custom"):u.enumerable=!0,s.hasBeenReset=!1;var c="",f=!1,d=r,h=o,p=a,g=null,m="",v=!0,y="auto",b="start",w=50,E="middle",T=50,S="middle";if(Object.defineProperty(s,"id",n({},u,{get:function(){return c},set:function(t){c=""+t}})),Object.defineProperty(s,"pauseOnExit",n({},u,{get:function(){return f},set:function(t){f=!!t}})),Object.defineProperty(s,"startTime",n({},u,{get:function(){return d},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",n({},u,{get:function(){return h},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",n({},u,{get:function(){return p},set:function(t){p=""+t,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",n({},u,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",n({},u,{get:function(){return m},set:function(e){var n=t(e);if(n===!1)throw new SyntaxError("An invalid or illegal string was specified.");m=n,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",n({},u,{get:function(){return v},set:function(t){v=!!t,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",n({},u,{get:function(){return y},set:function(t){if("number"!=typeof t&&t!==i)throw new SyntaxError("An invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",n({},u,{get:function(){return b},set:function(t){var n=e(t);if(!n)throw new SyntaxError("An invalid or illegal string was specified.");b=n,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",n({},u,{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(s,"positionAlign",n({},u,{get:function(){return E},set:function(t){var n=e(t);if(!n)throw new SyntaxError("An invalid or illegal string was specified.");E=n,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",n({},u,{get:function(){return T},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");T=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",n({},u,{get:function(){return S},set:function(t){var n=e(t);if(!n)throw new SyntaxError("An invalid or illegal string was specified.");S=n,this.hasBeenReset=!0}})),s.displayState=void 0,l)return s}if("undefined"!=typeof window&&window.VTTCue)return window.VTTCue;var i="auto",o={"":!0,lr:!0,rl:!0},a={start:!0,middle:!0,end:!0,left:!0,right:!0};return r.prototype.getCueAsHTML=function(){var t=window.WebVTT;return t.convertCueToDOMTree(window,this.text)},r}(),He=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}};it.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 Ye=new ze(0,0,0),Ze="middle"===Ye.align?"middle":"center";nt.prototype={parse:function(t){function e(){var t=r.buffer,e=0;for(t=st(t);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,r.buffer=t.substr(e),n}function n(t){ot(t,function(t,e){switch(t){case"Region":console.log("parse region",e)}},/:/)}var r=this;t&&(r.buffer+=r.decoder.decode(t,{stream:!0}));try{var i;if("INITIAL"===r.state){if(!/\r\n|\n/.test(r.buffer))return this;i=e();var o=i.match(/^()?WEBVTT([ \t].*)?$/);if(!o||!o[0])throw new Error("Malformed WebVTT signature.");r.state="HEADER"}for(var a=!1;r.buffer;){if(!/\r\n|\n/.test(r.buffer))return this;switch(a?a=!1:i=e(),r.state){case"HEADER":/:/.test(i)?n(i):i||(r.state="ID");continue;case"NOTE":i||(r.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){r.state="NOTE";break}if(!i)continue;if(r.cue=new ze(0,0,""),r.state="CUE",i.indexOf("-->")===-1){r.cue.id=i;continue}case"CUE":try{at(i,r.cue,r.regionList)}catch(t){r.cue=null,r.state="BADCUE";continue}r.state="CUETEXT";continue;case"CUETEXT":var s=i.indexOf("-->")!==-1;if(!i||s&&(a=!0)){r.oncue&&r.oncue(r.cue),r.cue=null,r.state="ID";continue}r.cue.text&&(r.cue.text+="\n"),r.cue.text+=i;continue;case"BADCUE":i||(r.state="ID");continue}}}catch(t){"CUETEXT"===r.state&&r.cue&&r.oncue&&r.oncue(r.cue),r.cue=null,r.state="INITIAL"===r.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 Error("Malformed WebVTT signature.")}catch(t){throw t}return t.onflush&&t.onflush(),this}};var Ve=nt,Je={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},Xe=function(t){var e=t;return Je.hasOwnProperty(t)&&(e=Je[t]),String.fromCharCode(e)},Ke=15,qe=100,$e={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Qe={17:2,18:4,21:6,22:8,23:10,19:13,20:15},tn={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},en={25:2,26:4,29:6,30:8,31:10,27:13,28:15},nn=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],rn={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(t){this.time=t},log:function(t,e){var n=this.verboseFilter[t];this.verboseLevel>=n&&console.log(this.time+" ["+t+"] "+e)}},on=function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].toString(16));return e},an=function(){function t(e,n,r,i,o){ut(this,t),this.foreground=e||"white",this.underline=n||!1,this.italics=r||!1,this.background=i||"black",this.flash=o||!1}return t.prototype.reset=function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},t.prototype.setStyles=function(t){for(var e=["foreground","underline","italics","background","flash"],n=0;n<e.length;n++){var r=e[n];t.hasOwnProperty(r)&&(this[r]=t[r])}},t.prototype.isDefault=function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},t.prototype.equals=function(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash},t.prototype.copy=function(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash},t.prototype.toString=function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash},t}(),sn=function(){function t(e,n,r,i,o,a){ut(this,t),this.uchar=e||" ",this.penState=new an(n,r,i,o,a)}return t.prototype.reset=function(){this.uchar=" ",this.penState.reset()},t.prototype.setChar=function(t,e){this.uchar=t,this.penState.copy(e)},t.prototype.setPenState=function(t){this.penState.copy(t)},t.prototype.equals=function(t){return this.uchar===t.uchar&&this.penState.equals(t.penState)},t.prototype.copy=function(t){this.uchar=t.uchar,this.penState.copy(t.penState)},t.prototype.isEmpty=function(){return" "===this.uchar&&this.penState.isDefault()},t}(),ln=function(){function t(){ut(this,t), 72this.chars=[];for(var e=0;e<qe;e++)this.chars.push(new sn);this.pos=0,this.currPenState=new an}return t.prototype.equals=function(t){for(var e=!0,n=0;n<qe;n++)if(!this.chars[n].equals(t.chars[n])){e=!1;break}return e},t.prototype.copy=function(t){for(var e=0;e<qe;e++)this.chars[e].copy(t.chars[e])},t.prototype.isEmpty=function(){for(var t=!0,e=0;e<qe;e++)if(!this.chars[e].isEmpty()){t=!1;break}return t},t.prototype.setCursor=function(t){this.pos!==t&&(this.pos=t),this.pos<0?(rn.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>qe&&(rn.log("ERROR","Too large cursor position "+this.pos),this.pos=qe)},t.prototype.moveCursor=function(t){var e=this.pos+t;if(t>1)for(var n=this.pos+1;n<e+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(e)},t.prototype.backSpace=function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},t.prototype.insertChar=function(t){t>=144&&this.backSpace();var e=Xe(t);return this.pos>=qe?void rn.log("ERROR","Cannot insert "+t.toString(16)+" ("+e+") at position "+this.pos+". Skipping it!"):(this.chars[this.pos].setChar(e,this.currPenState),void this.moveCursor(1))},t.prototype.clearFromPos=function(t){var e;for(e=t;e<qe;e++)this.chars[e].reset()},t.prototype.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},t.prototype.clearToEndOfRow=function(){this.clearFromPos(this.pos)},t.prototype.getTextString=function(){for(var t=[],e=!0,n=0;n<qe;n++){var r=this.chars[n].uchar;" "!==r&&(e=!1),t.push(r)}return e?"":t.join("")},t.prototype.setPenStyles=function(t){this.currPenState.setStyles(t);var e=this.chars[this.pos];e.setPenState(this.currPenState)},t}(),un=function(){function t(){ut(this,t),this.rows=[];for(var e=0;e<Ke;e++)this.rows.push(new ln);this.currRow=Ke-1,this.nrRollUpRows=null,this.reset()}return t.prototype.reset=function(){for(var t=0;t<Ke;t++)this.rows[t].clear();this.currRow=Ke-1},t.prototype.equals=function(t){for(var e=!0,n=0;n<Ke;n++)if(!this.rows[n].equals(t.rows[n])){e=!1;break}return e},t.prototype.copy=function(t){for(var e=0;e<Ke;e++)this.rows[e].copy(t.rows[e])},t.prototype.isEmpty=function(){for(var t=!0,e=0;e<Ke;e++)if(!this.rows[e].isEmpty()){t=!1;break}return t},t.prototype.backSpace=function(){var t=this.rows[this.currRow];t.backSpace()},t.prototype.clearToEndOfRow=function(){var t=this.rows[this.currRow];t.clearToEndOfRow()},t.prototype.insertChar=function(t){var e=this.rows[this.currRow];e.insertChar(t)},t.prototype.setPen=function(t){var e=this.rows[this.currRow];e.setPenStyles(t)},t.prototype.moveCursor=function(t){var e=this.rows[this.currRow];e.moveCursor(t)},t.prototype.setCursor=function(t){rn.log("INFO","setCursor: "+t);var e=this.rows[this.currRow];e.setCursor(t)},t.prototype.setPAC=function(t){rn.log("INFO","pacData = "+JSON.stringify(t));var e=t.row-1;if(this.nrRollUpRows&&e<this.nrRollUpRows-1&&(e=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==e){for(var n=0;n<Ke;n++)this.rows[n].clear();var r=this.currRow+1-this.nrRollUpRows,i=this.lastOutputScreen;if(i){var o=i.rows[r].cueStartTime;if(o&&o<rn.time)for(var a=0;a<this.nrRollUpRows;a++)this.rows[e-this.nrRollUpRows+a+1].copy(i.rows[r+a])}}this.currRow=e;var s=this.rows[this.currRow];if(null!==t.indent){var l=t.indent,u=Math.max(l-1,0);s.setCursor(t.indent),t.color=s.chars[u].penState.foreground}var c={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(c)},t.prototype.setBkgData=function(t){rn.log("INFO","bkgData = "+JSON.stringify(t)),this.backSpace(),this.setPen(t),this.insertChar(32)},t.prototype.setRollUpRows=function(t){this.nrRollUpRows=t},t.prototype.rollUp=function(){if(null===this.nrRollUpRows)return void rn.log("DEBUG","roll_up but nrRollUpRows not set yet");rn.log("TEXT",this.getDisplayText());var t=this.currRow+1-this.nrRollUpRows,e=this.rows.splice(t,1)[0];e.clear(),this.rows.splice(this.currRow,0,e),rn.log("INFO","Rolling up")},t.prototype.getDisplayText=function(t){t=t||!1;for(var e=[],n="",r=-1,i=0;i<Ke;i++){var o=this.rows[i].getTextString();o&&(r=i+1,t?e.push("Row "+r+": '"+o+"'"):e.push(o.trim()))}return e.length>0&&(n=t?"["+e.join(" | ")+"]":e.join("\n")),n},t.prototype.getTextAndFormat=function(){return this.rows},t}(),cn=function(){function t(e,n){ut(this,t),this.chNr=e,this.outputFilter=n,this.mode=null,this.verbose=0,this.displayedMemory=new un,this.nonDisplayedMemory=new un,this.lastOutputScreen=new un,this.currRollUpRow=this.displayedMemory.rows[Ke-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}return t.prototype.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.currRollUpRow=this.displayedMemory.rows[Ke-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.lastCueEndTime=null},t.prototype.getHandler=function(){return this.outputFilter},t.prototype.setHandler=function(t){this.outputFilter=t},t.prototype.setPAC=function(t){this.writeScreen.setPAC(t)},t.prototype.setBkgData=function(t){this.writeScreen.setBkgData(t)},t.prototype.setMode=function(t){t!==this.mode&&(this.mode=t,rn.log("INFO","MODE="+t),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)},t.prototype.insertChars=function(t){for(var e=0;e<t.length;e++)this.writeScreen.insertChar(t[e]);var n=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";rn.log("INFO",n+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(rn.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},t.prototype.ccRCL=function(){rn.log("INFO","RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},t.prototype.ccBS=function(){rn.log("INFO","BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},t.prototype.ccAOF=function(){},t.prototype.ccAON=function(){},t.prototype.ccDER=function(){rn.log("INFO","DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},t.prototype.ccRU=function(t){rn.log("INFO","RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)},t.prototype.ccFON=function(){rn.log("INFO","FON - Flash On"),this.writeScreen.setPen({flash:!0})},t.prototype.ccRDC=function(){rn.log("INFO","RDC - Resume Direct
72Captioning"),this.setMode("MODE_PAINT-ON")},t.prototype.ccTR=function(){rn.log("INFO","TR"),this.setMode("MODE_TEXT")},t.prototype.ccRTD=function(){rn.log("INFO","RTD"),this.setMode("MODE_TEXT")},t.prototype.ccEDM=function(){rn.log("INFO","EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate()},t.prototype.ccCR=function(){rn.log("CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate()},t.prototype.ccENM=function(){rn.log("INFO","ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},t.prototype.ccEOC=function(){if(rn.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var t=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=t,this.writeScreen=this.nonDisplayedMemory,rn.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate()},t.prototype.ccTO=function(t){rn.log("INFO","TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)},t.prototype.ccMIDROW=function(t){var e={flash:!1};if(e.underline=t%2===1,e.italics=t>=46,e.italics)e.foreground="white";else{var n=Math.floor(t/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];e.foreground=r[n]}rn.log("INFO","MIDROW: "+JSON.stringify(e)),this.writeScreen.setPen(e)},t.prototype.outputDataUpdate=function(){var t=rn.time;null!==t&&this.outputFilter&&(this.outputFilter.updateData&&this.outputFilter.updateData(t,this.displayedMemory),null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))},t.prototype.cueSplitAtTime=function(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))},t}(),fn=function(){function t(e,n,r){ut(this,t),this.field=e||1,this.outputs=[n,r],this.channels=[new cn(1,n),new cn(2,r)],this.currChNr=-1,this.lastCmdA=null,this.lastCmdB=null,this.bufferedData=[],this.startTime=null,this.lastTime=null,this.dataCounters={padding:0,char:0,cmd:0,other:0}}return t.prototype.getHandler=function(t){return this.channels[t].getHandler()},t.prototype.setHandler=function(t,e){this.channels[t].setHandler(e)},t.prototype.addData=function(t,e){var n,r,i,o=!1;this.lastTime=t,rn.setTime(t);for(var a=0;a<e.length;a+=2)if(r=127&e[a],i=127&e[a+1],0!==r||0!==i){if(rn.log("DATA","["+on([e[a],e[a+1]])+"] -> ("+on([r,i])+")"),n=this.parseCmd(r,i),n||(n=this.parseMidrow(r,i)),n||(n=this.parsePAC(r,i)),n||(n=this.parseBackgroundAttributes(r,i)),!n&&(o=this.parseChars(r,i)))if(this.currChNr&&this.currChNr>=0){var s=this.channels[this.currChNr-1];s.insertChars(o)}else rn.log("WARNING","No channel found yet. TEXT-MODE?");n?this.dataCounters.cmd+=2:o?this.dataCounters.char+=2:(this.dataCounters.other+=2,rn.log("WARNING","Couldn't parse cleaned data "+on([r,i])+" orig: "+on([e[a],e[a+1]])))}else this.dataCounters.padding+=2},t.prototype.parseCmd=function(t,e){var n=null,r=(20===t||28===t)&&32<=e&&e<=47,i=(23===t||31===t)&&33<=e&&e<=35;if(!r&&!i)return!1;if(t===this.lastCmdA&&e===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,rn.log("DEBUG","Repeated command ("+on([t,e])+") is dropped"),!0;n=20===t||23===t?1:2;var o=this.channels[n-1];return 20===t||28===t?32===e?o.ccRCL():33===e?o.ccBS():34===e?o.ccAOF():35===e?o.ccAON():36===e?o.ccDER():37===e?o.ccRU(2):38===e?o.ccRU(3):39===e?o.ccRU(4):40===e?o.ccFON():41===e?o.ccRDC():42===e?o.ccTR():43===e?o.ccRTD():44===e?o.ccEDM():45===e?o.ccCR():46===e?o.ccENM():47===e&&o.ccEOC():o.ccTO(e-32),this.lastCmdA=t,this.lastCmdB=e,this.currChNr=n,!0},t.prototype.parseMidrow=function(t,e){var n=null;if((17===t||25===t)&&32<=e&&e<=47){if(n=17===t?1:2,n!==this.currChNr)return rn.log("ERROR","Mismatch channel in midrow parsing"),!1;var r=this.channels[n-1];return r.ccMIDROW(e),rn.log("DEBUG","MIDROW ("+on([t,e])+")"),!0}return!1},t.prototype.parsePAC=function(t,e){var n=null,r=null,i=(17<=t&&t<=23||25<=t&&t<=31)&&64<=e&&e<=127,o=(16===t||24===t)&&64<=e&&e<=95;if(!i&&!o)return!1;if(t===this.lastCmdA&&e===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,!0;n=t<=23?1:2,r=64<=e&&e<=95?1===n?$e[t]:tn[t]:1===n?Qe[t]:en[t];var a=this.interpretPAC(r,e),s=this.channels[n-1];return s.setPAC(a),this.lastCmdA=t,this.lastCmdB=e,this.currChNr=n,!0},t.prototype.interpretPAC=function(t,e){var n=e,r={color:null,italics:!1,indent:null,underline:!1,row:t};return n=e>95?e-96:e-64,r.underline=1===(1&n),n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=4*Math.floor((n-16)/2),r},t.prototype.parseChars=function(t,e){var n=null,r=null,i=null;if(t>=25?(n=2,i=t-8):(n=1,i=t),17<=i&&i<=19){var o=e;o=17===i?e+80:18===i?e+112:e+144,rn.log("INFO","Special char '"+Xe(o)+"' in channel "+n),r=[o]}else 32<=t&&t<=127&&(r=0===e?[t]:[t,e]);if(r){var a=on(r);rn.log("DEBUG","Char codes = "+a.join(",")),this.lastCmdA=null,this.lastCmdB=null}return r}
vendor: 21,372 bytes, lines 72-73
72,t.prototype.parseBackgroundAttributes=function(t,e){var n,r,i,o,a=(16===t||24===t)&&32<=e&&e<=47,s=(23===t||31===t)&&45<=e&&e<=47;return!(!a&&!s)&&(n={},16===t||24===t?(r=Math.floor((e-32)/2),n.background=nn[r],e%2===1&&(n.background=n.background+"_semi")):45===e?n.background="transparent":(n.foreground="black",47===e&&(n.underline=!0)),i=t<24?1:2,o=this.channels[i-1],o.setBkgData(n),this.lastCmdA=null,this.lastCmdB=null,!0)},t.prototype.reset=function(){for(var t=0;t<this.channels.length;t++)this.channels[t]&&this.channels[t].reset();this.lastCmdA=null,this.lastCmdB=null},t.prototype.cueSplitAtTime=function(t){for(var e=0;e<this.channels.length;e++)this.channels[e]&&this.channels[e].cueSplitAtTime(t)},t}(),dn=fn,hn=function(t,e,n){return t.substr(n||0,e.length)===e},pn=function(t){var e=parseInt(t.substr(-3)),n=parseInt(t.substr(-6,2)),r=parseInt(t.substr(-9,2)),i=t.length>9?parseInt(t.substr(0,t.indexOf(":"))):0;return isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)?-1:(e+=1e3*n,e+=6e4*r,e+=36e5*i)},gn=function t(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return(t>>>0).toString()},mn=function(t,e,n){var r=t[e],i=t[r.prevCC];if(!i||!i.new&&r.new)return t.ccOffset=t.presentationOffset=r.start,void(r.new=!1);for(;i&&i.new;)t.ccOffset+=r.start-i.start,r.new=!1,r=i,i=t[r.prevCC];t.presentationOffset=n},vn={parse:function(t,e,n,r,i,o){var a=/\r\n|\n\r|\n|\r/g,s=String.fromCharCode.apply(null,new Uint8Array(t)).trim().replace(a,"\n").split("\n"),l="00:00.000",u=0,c=0,f=0,d=[],h=void 0,p=!0,g=new Ve;g.oncue=function(t){var e=n[r],i=n.ccOffset;e&&e.new&&(void 0!==c?i=n.ccOffset=e.start:mn(n,r,f)),f&&(i=f+n.ccOffset-n.presentationOffset),t.startTime+=i-c,t.endTime+=i-c,t.id=gn(t.startTime)+gn(t.endTime)+gn(t.text),t.text=decodeURIComponent(escape(t.text)),t.endTime>0&&d.push(t)},g.onparsingerror=function(t){h=t},g.onflush=function(){return h&&o?void o(h):void i(d)},s.forEach(function(t){if(p){if(hn(t,"X-TIMESTAMP-MAP=")){p=!1,t.substr(16).split(",").forEach(function(t){hn(t,"LOCAL:")?l=t.substr(6):hn(t,"MPEGTS:")&&(u=parseInt(t.substr(7)))});try{e=e<0?e+8589934592:e,u-=e,c=pn(l)/1e3,f=u/9e4,c===-1&&(h=new Error("Malformed X-TIMESTAMP-MAP: "+t))}catch(e){h=new Error("Malformed X-TIMESTAMP-MAP: "+t)}return}""===t&&(p=!1)}g.parse(t+"\n")}),g.flush()}},yn=vn,bn=function(t){function e(n){ct(this,e);var r=ft(this,t.call(this,n,Ct.a.MEDIA_ATTACHING,Ct.a.MEDIA_DETACHING,Ct.a.FRAG_PARSING_USERDATA,Ct.a.MANIFEST_LOADING,Ct.a.MANIFEST_LOADED,Ct.a.FRAG_LOADED,Ct.a.LEVEL_SWITCHING,Ct.a.INIT_PTS_FOUND));if(r.hls=n,r.config=n.config,r.enabled=!0,r.Cues=n.config.cueHandler,r.textTracks=[],r.tracks=[],r.unparsedVttFrags=[],r.initPTS=void 0,r.cueRanges=[],r.config.enableCEA708Captions){var i=r,o=function(t,e){var n=null;try{n=new window.Event("addtrack")}catch(t){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=t,e.dispatchEvent(n)},a={newCue:function(t,e,n){if(!i.textTrack1){var r=i.getExistingTrack("1");if(r)i.textTrack1=r,ht(i.textTrack1),o(i.textTrack1,i.media);else{var a=i.createTextTrack("captions",i.config.captionsTextTrack1Label,i.config.captionsTextTrack1LanguageCode);a&&(a.textTrack1=!0,i.textTrack1=a)}}i.addCues("textTrack1",t,e,n)}},s={newCue:function(t,e,n){if(!i.textTrack2){var r=i.getExistingTrack("2");if(r)i.textTrack2=r,ht(i.textTrack2),o(i.textTrack2,i.media);else{var a=i.createTextTrack("captions",i.config.captionsTextTrack2Label,i.config.captionsTextTrack1LanguageCode);a&&(a.textTrack2=!0,i.textTrack2=a)}}i.addCues("textTrack2",t,e,n)}};r.cea608Parser=new dn(0,a,s)}return r}return dt(e,t),e.prototype.addCues=function(t,e,n,r){for(var i=this.cueRanges,o=!1,a=i.length;a--;){var s=i[a],l=gt(s[0],s[1],e,n);if(l>=0&&(s[0]=Math.min(s[0],e),s[1]=Math.max(s[1],n),o=!0,l/(n-e)>.5))return}o||i.push([e,n]),this.Cues.newCue(this[t],e,n,r)},e.prototype.onInitPtsFound=function(t){var e=this;"undefined"==typeof this.initPTS&&(this.initPTS=t.initPTS),this.unparsedVttFrags.length&&(this.unparsedVttFrags.forEach(function(t){e.onFragLoaded(t)}),this.unparsedVttFrags=[])},e.prototype.getExistingTrack=function(t){var e=this.media;if(e)for(var n=0;n<e.textTracks.length;n++){var r=e.textTracks[n],i="textTrack"+t;if(r[i]===!0)return r}return null},e.prototype.createTextTrack=function(t,e,n){var r=this.media;if(r)return r.addTextTrack(t,e,n)},e.prototype.destroy=function(){Rt.prototype.destroy.call(this)},e.prototype.onMediaAttaching=function(t){this.media=t.media},e.prototype.onMediaDetaching=function(){ht(this.textTrack1),ht(this.textTrack2)},e.prototype.onManifestLoading=function(){this.lastSn=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0};var t=this.media;if(t){var e=t.textTracks;if(e)for(var n=0;n<e.length;n++)ht(e[n])}},e.prototype.onManifestLoaded=function(t){var e=this;if(this.textTracks=[],this.unparsedVttFrags=this.unparsedVttFrags||[],this.initPTS=void 0,this.cueRanges=[],this.config.enableWebVTT){this.tracks=t.subtitles||[];var n=this.media?this.media.textTracks:[];this.tracks.forEach(function(t,r){var i=void 0;if(r<n.length){var o=n[r];pt(o,t)&&(i=o)}i||(i=e.createTextTrack("subtitles",t.name,t.lang)),i.mode=t.default?"showing":"hidden",e.textTracks.push(i)})}},e.prototype.onLevelSwitching=function(){this.enabled="NONE"!==this.hls.currentLevel.closedCaptions},e.prototype.onFragLoaded=function(t){var e=t.frag,n=t.payload;if("main"===e.type){var r=e.sn;if(r!==this.lastSn+1){var i=this.cea608Parser;i&&i.reset()}this.lastSn=r}else if("subtitle"===e.type)if(n.byteLength){if("undefined"==typeof this.initPTS)return void this.unparsedVttFrags.push(t);var o=this.vttCCs;o[e.cc]||(o[e.cc]={start:e.start,prevCC:this.prevCC,new:!0},this.prevCC=e.cc);var a=this.textTracks,s=this.hls;yn.parse(n,this.initPTS,o,e.cc,function(t){var n=a[e.trackId];t.forEach(function(t){if(!n.cues.getCueById(t.id))try{n.addCue(t)}catch(r){var e=new window.TextTrackCue(t.startTime,t.endTime,t.text);e.id=t.id,n.addCue(e)}}),s.trigger(Ct.a.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},function(t){Dt.b.log("Failed to parse VTT cue: "+t),s.trigger(Ct.a.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})})}else this.hls.trigger(Ct.a.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})},e.prototype.onFragParsingUserdata=function(t){if(this.enabled&&this.config.enableCEA708Captions)for(var e=0;e<t.samples.length;e++){var n=this.extractCea608Data(t.samples[e].bytes);this.cea608Parser.addData(t.samples[e].pts,n)}},e.prototype.extractCea608Data=function(t){for(var e,n,r,i,o,a=31&t[0],s=2,l=[],u=0;u<a;u++)e=t[s++],n=127&t[s++],r=127&t[s++],i=0!==(4&e),o=3&e,0===n&&0===r||i&&0===o&&(l.push(n),l.push(r));return l},e}(Rt),wn=bn,En=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}}(),Tn=function(t){function e(n){mt(this,e);var r=vt(this,t.call(this,n,Ct.a.MEDIA_ATTACHED,Ct.a.MEDIA_DETACHING,Ct.a.MANIFEST_LOADING,Ct.a.MANIFEST_LOADED,Ct.a.SUBTITLE_TRACK_LOADED));return r.tracks=[],r.trackId=-1,r.media=void 0,r}return yt(e,t),e.prototype._onTextTracksChanged=function(){if(this.media){for(var t=-1,e=bt(this.media.textTracks),n=0;n<e.length;n++)"showing"===e[n].mode&&(t=n);this.subtitleTrack=t}},e.prototype.destroy=function(){Rt.prototype.destroy.call(this)},e.prototype.onMediaAttached=function(t){var e=this;this.media=t.media,this.media&&(this.trackChangeListener=this._onTextTracksChanged.bind(this),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.subtitlePollingInterval=setInterval(function(){e.trackChangeListener()},500):this.media.textTracks.addEventListener("change",this.trackChangeListener))},e.prototype.onMediaDetaching=function(){this.media&&(this.useTextTrackPolling?clearInterval(this.subtitlePollingInterval):this.media.textTracks.removeEventListener("change",this.trackChangeListener),this.media=void 0)},e.prototype.onManifestLoading=function(){this.tracks=[],this.trackId=-1},e.prototype.onManifestLoaded=function(t){var e=this,n=t.subtitles||[],r=!1;this.tracks=n,this.trackId=-1,this.hls.trigger(Ct.a.SUBTITLE_TRACKS_UPDATED,{subtitleTracks:n}),n.forEach(function(t){t.default&&(e.subtitleTrack=t.id,r=!0)})},e.prototype.onTick=function(){var t=this.trackId,e=this.tracks[t];if(e){var n=e.details;void 0!==n&&n.live!==!0||(Dt.b.log("(re)loading playlist for subtitle track "+t),this.hls.trigger(Ct.a.SUBTITLE_TRACK_LOADING,{url:e.url,id:t}))}},e.prototype.onSubtitleTrackLoaded=function(t){var e=this;t.id<this.tracks.length&&(Dt.b.log("subtitle track "+t.id+" loaded"),this.tracks[t.id].details=t.details,t.details.live&&!this.timer&&(this.timer=setInterval(function(){e.onTick()},1e3*t.details.targetduration,this)),!t.details.live&&this.timer&&(clearInterval(this.timer),this.timer=null))},e.prototype.setSubtitleTrackInternal=function(t){if(t>=0&&t<this.tracks.length){this.timer&&(clearInterval(this.timer),this.timer=null),this.trackId=t,Dt.b.log("switching to subtitle track "+t);var e=this.tracks[t];this.hls.trigger(Ct.a.SUBTITLE_TRACK_SWITCH,{id:t});var n=e.details;void 0!==n&&n.live!==!0||(Dt.b.log("(re)loading playlist for subtitle track "+t),this.hls.trigger(Ct.a.SUBTITLE_TRACK_LOADING,{url:e.url,id:t}))}},En(e,[{key:"subtitleTracks",get:function(){return this.tracks}},{key:"subtitleTrack",get:function(){return this.trackId},set:function(t){this.trackId!==t&&this.setSubtitleTrackInternal(t)}}]),e}(Rt),Sn=Tn,_n=function(t){function e(n){wt(this,e);var r=Et(this,t.call(this,n,Ct.a.ERROR,Ct.a.SUBTITLE_TRACKS_UPDATED,Ct.a.SUBTITLE_TRACK_SWITCH,Ct.a.SUBTITLE_TRACK_LOADED,Ct.a.SUBTITLE_FRAG_PROCESSED));return r.config=n.config,r.vttFragSNsProcessed={},r.vttFragQueues=void 0,r.currentlyProcessing=null,r.currentTrackId=-1,r}return Tt(e,t),e.prototype.destroy=function(){Rt.prototype.destroy.call(this)},e.prototype.clearVttFragQueues=function(){var t=this;this.vttFragQueues={},this.tracks.forEach(function(e){t.vttFragQueues[e.id]=[]})},e.prototype.nextFrag=function(){if(null===this.currentlyProcessing&&this.currentTrackId>-1&&this.vttFragQueues[this.currentTrackId].length){var t=this.currentlyProcessing=this.vttFragQueues[this.currentTrackId].shift();this.hls.trigger(Ct.a.FRAG_LOADING,{frag:t})}},e.prototype.onSubtitleFragProcessed=function(t){t.success&&this.vttFragSNsProcessed[t.frag.trackId].push(t.frag.sn),this.currentlyProcessing=null,this.nextFrag()},e.prototype.onError=function(t){var e=t.frag;e&&"subtitle"!==e.type||this.currentlyProcessing&&(this.currentlyProcessing=null,this.nextFrag())},e.prototype.onSubtitleTracksUpdated=function(t){var e=this;Dt.b.log("subtitle tracks updated"),this.tracks=t.subtitleTracks,this.clearVttFragQueues(),this.vttFragSNsProcessed={},this.tracks.forEach(function(t){e.vttFragSNsProcessed[t.id]=[]})},e.prototype.onSubtitleTrackSwitch=function(t){this.currentTrackId=t.id,this.clearVttFragQueues()},e.prototype.onSubtitleTrackLoaded=function(t){var e=this.vttFragSNsProcessed[t.id],n=this.vttFragQueues[t.id],r=this.currentlyProcessing?this.currentlyProcessing.sn:-1,i=function(t){return e.indexOf(t.sn)>-1},o=function(t){return n.some(function(e){return e.sn===t.sn})};t.details.fragments.forEach(function(e){i(e)||e.sn===r||o(e)||(e.trackId=t.id,n.push(e))}),this.nextFrag()},e}(Rt),An=_n,In={autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,maxSeekHole:2,lowBufferWatchdogPeriod:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.2,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,fragLoadingLoopThreshold:3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:Me,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,fetchSetup:void 0,abrController:Ie,bufferController:xe,capLevelController:Oe,fpsController:ke,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0};In.subtitleStreamController=An,In.subtitleTrackController=Sn,In.timelineController=wn,In.cueHandler=_t,In.enableCEA708Captions=!0,In.enableWebVTT=!0,In.captionsTextTrack1Label="English",In.captionsTextTrack1LanguageCode="en",In.captionsTextTrack2Label="Spanish",In.captionsTextTrack2LanguageCode="es",In.audioStreamController=We,In.audioTrackController=Fe;var Cn=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}}(),xn=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};St(this,t);var r=t.DefaultConfig;if((n.liveSyncDurationCount||n.liveMaxLatencyDurationCount)&&(n.liveSyncDuration||n.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var i in r)i in n||(n[i]=r[i]);if(void 0!==n.liveMaxLatencyDurationCount&&n.liveMaxLatencyDurationCount<=n.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==n.liveMaxLatencyDuration&&(n.liveMaxLatencyDuration<=n.liveSyncDuration||void 0===n.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');Object(Dt.a)(n.debug),this.config=n,this._autoLevelCapping=-1;var o=this.observer=new re.a;o.trigger=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];o.emit.apply(o,[t,t].concat(n))},o.off=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];o.removeListener.apply(o,[t].concat(n))},this.on=o.on.bind(o),this.off=o.off.bind(o),this.trigger=o.trigger.bind(o);var a=this.abrController=new n.abrController(this),s=new n.bufferController(this),l=new n.capLevelController(this),u=new n.fpsController(this),c=new Zt(this),f=new Jt(this),d=new Kt(this),h=new be(this),p=this.levelController=new me(this),g=this.streamController=new he(this),m=[p,g],v=n.audioStreamController;v&&m.push(new v(this)),this.networkControllers=m;var y=[c,f,d,a,s,l,u,h];if(v=n.audioTrackController){var b=new v(this);this.audioTrackController=b,y.push(b)}if(v=n.subtitleTrackController){var w=new v(this);this.subtitleTrackController=w,y.push(w)}[n.subtitleStreamController,n.timelineController].forEach(function(t){t&&y.push(new t(e))}),this.coreComponents=y}return t.isSupported=function(){var t=window.MediaSource=window.MediaSource||window.WebKitMediaSource,e=window.SourceBuffer=window.SourceBuffer||window.WebKitSourceBuffer,n=t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),r=!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove;return n&&r},Cn(t,null,[{key:"version",get:function(){return"0.8.4"}},{key:"Events",get:function(){return Ct.a}},{key:"ErrorTypes",get:function(){return xt.b}},{key:"ErrorDetails",get:function(){return xt.a}},{key:"DefaultConfig",get:function(){return t.defaultConfig?t.defaultConfig:In},set:function(e){t.defaultConfig=e}}]),t.prototype.destroy=function(){Dt.b.log("destroy"),this.trigger(Ct.a.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach(function(t){t.destroy()}),this.url=null,this.observer.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(t){Dt.b.log("attachMedia"),this.media=t,this.trigger(Ct.a.MEDIA_ATTACHING,{media:t})},t.prototype.detachMedia=function(){Dt.b.log("detachMedia"),this.trigger(Ct.a.MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(t){t=It.a.buildAbsoluteURL(window.location.href,t,{alwaysNormalize:!0}),Dt.b.log("loadSource:"+t),this.url=t,this.trigger(Ct.a.MANIFEST_LOADING,{url:t})},t.prototype.startLoad=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;Dt.b.log("startLoad("+t+")"),this.networkControllers.forEach(function(e){e.startLoad(t)})},t.prototype.stopLoad=function(){Dt.b.log("stopLoad"),this.networkControllers.forEach(function(t){t.stopLoad()})},t.prototype.swapAudioCodec=function(){Dt.b.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){Dt.b.log("recoverMediaError");var t=this.media;this.detachMedia(),this.attachMedia(t)},Cn(t,[{key:"levels",get:function(){return this.levelController.levels}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(t){Dt.b.log("set currentLevel:"+t),this.loadLevel=t,this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(t){Dt.b.log("set nextLevel:"+t),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(t){Dt.b.log("set loadLevel:"+t),this.levelController.manualLevel=t}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(t){this.levelController.nextLoadLevel=t}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(t){Dt.b.log("set firstLevel:"+t),this.levelController.firstLevel=t}},{key:"startLevel",get:function(){return this.levelController.startLevel},set:function(t){Dt.b.log("set startLevel:"+t);var e=this;t!==-1&&(t=Math.max(t,e.minAutoLevel)),e.levelController.startLevel=t}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(t){Dt.b.log("set autoLevelCapping:"+t),this._autoLevelCapping=t}},{key:"autoLevelEnabled",get:function(){return this.levelController.manualLevel===-1}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){for(var t=this,e=t.levels,n=t.config.minAutoBitrate,r=e?e.length:0,i=0;i<r;i++){var o=e[i].realBitrate?Math.max(e[i].realBitrate,e[i].bitrate):e[i].bitrate;if(o>n)return i}return 0}},{key:"maxAutoLevel",get:function(){var t=this,e=t.levels,n=t.autoLevelCapping,r=void 0;return r=n===-1&&e&&e.length?e.length-1:n}},{key:"nextAutoLevel",get:function(){var t=this;return Math.min(Math.max(t.abrController.nextAutoLevel,t.minAutoLevel),t.maxAutoLevel)},set:function(t){var e=this;e.abrController.nextAutoLevel=Math.max(e.minAutoLevel,t)}},{key:"audioTracks",get:function(){var t=this.audioTrackController;return t?t.audioTracks:[]}},{key:"audioTrack",get:function(){var t=this.audioTrackController;return t?t.audioTrack:-1},set:function(t){var e=this.audioTrackController;e&&(e.audioTrack=t)}},{key:"liveSyncPosition",get:function(){return this.streamController.liveSyncPosition}},{key:"subtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTrack:-1},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleTrack=t)}}]),t}();e.default=xn},function(t,e,n){function r(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={};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, 73get: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.oe=function(t){throw console.error(t),t};var r=e(e.s=ENTRY_MODULE);return r.default||r}function i(t){return(t+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function o(t){var e=[],n=t.toString(),r=n.match(/^function\s?\(\w+,\s*\w+,\s*(\w+)\)/);if(!r)return e;for(var o,a=r[1],s=new RegExp("(\\\\n|\\W)"+i(a)+"\\((/\\*.*?\\*/)?s?.*?([\\.|\\-|\\w|/|@]+).*?\\)","g");o=s.exec(n);)e.push(o[3]);return e}function a(t,e){for(var n=[e],r=[],i={};n.length;){var a=n.pop();if(!i[a]&&t[a]){i[a]=!0,r.push(a);var s=o(t[a]);n=n.concat(s)}}return r}t.exports=function(t,e){e=e||{};var i=n.m,o=e.all?Object.keys(i):a(i,t),s="("+r.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+o.map(function(t){return""+JSON.stringify(t)+": "+i[t].toString()}).join(",")+"})(self);",l=new window.Blob([s],{type:"text/javascript"});if(e.bare)return l;var u=window.URL||window.webkitURL||window.mozURL||window.msURL,c=u.createObjectURL(l),f=new window.Worker(c);return f.objectURL=c,f}},function(t,e,n){"use strict";
vendor: 10,592 bytes, line 73
73Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n(1),o=n(0),a=n(4),s=n.n(a),l=function(t){var e=new s.a;e.trigger=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t,t].concat(r))},e.off=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.removeListener.apply(e,[t].concat(r))};var n=function(e,n){t.postMessage({event:e,data:n})};t.addEventListener("message",function(i){var a=i.data;switch(a.cmd){case"init":var s=JSON.parse(a.config);t.demuxer=new r.a(e,a.typeSupported,s,a.vendor);try{Object(o.a)(s.debug===!0)}catch(t){console.warn("demuxerWorker: unable to enable logs")}n("init",null);break;case"demux":t.demuxer.push(a.data,a.decryptdata,a.initSegment,a.audioCodec,a.videoCodec,a.timeOffset,a.discontinuity,a.trackSwitch,a.contiguous,a.duration,a.accurateTimeOffset,a.defaultInitPTS)}}),e.on(i.a.FRAG_DECRYPTED,n),e.on(i.a.FRAG_PARSING_INIT_SEGMENT,n),e.on(i.a.FRAG_PARSED,n),e.on(i.a.ERROR,n),e.on(i.a.FRAG_PARSING_METADATA,n),e.on(i.a.FRAG_PARSING_USERDATA,n),e.on(i.a.INIT_PTS_FOUND,n),e.on(i.a.FRAG_PARSING_DATA,function(e,n){var r=[],i={event:e,data:n};n.data1&&(i.data1=n.data1.buffer,r.push(n.data1.buffer),delete n.data1),n.data2&&(i.data2=n.data2.buffer,r.push(n.data2.buffer),delete n.data2),t.postMessage(i,r)})};e.default=l}]).default})},1105: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,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},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),a=r.loop&&n.length?r.rewind?i:Math.max(i,o):0,s="",l="";for(a/=2;a>0;)e.push(this.normalize(e.length/2,!0)),s+=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,a-=1;this._clones=e,t(s).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,a=this.coordinates(this.current())+o,s=a+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,"<=",a)&&this.op(t,">",s)||this.op(e,"<",a)&&this.op(e,">",s))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],o.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},o.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");return e.length?(this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),void this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},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 t,e,n;t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},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.isVisible()&&(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: 10,995 bytes, line 73
733!==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,o=30,a=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy(function(t,l){return"left"===n&&e>l-o&&e<l+o?r=t:"right"===n&&e>l-a-o&&e<l-a+o?r=t+1:this.op(e,"<",l)&&this.op(e,">",s[t+1]!==i?s[t+1]:l-a)&&(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"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):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){if(e=this._items.length)for(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),a=this._items.length,s=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>a/2&&(i+=o*-1*a),t=n+i,r=((t-s)%a+a)%a+s,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(s,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&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;return this.options.responsiveBaseElement!==n?e=t(this.options.responsiveBaseElement).width():n.innerWidth?e=n.innerWidth:r.documentElement&&r.documentElement.clientWidth?e=r.documentElement.clientWidth:console.warn("Can not detect viewport width."),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.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},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,a){var s={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,r],function(t){return t}).join("-").toLowerCase()),u=t.Event([e,"owl",r||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},s,n));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(u)}),this.register({type:o.Type.Event,name:e}),this.$element.trigger(u),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,u)),u},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.
vendor: 23,476 bytes, lines 73-74
73name]||(t.event.special[e.name]={}),!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.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},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)){var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,o=n.center&&i*-1||0,a=(e.property&&e.property.value!==r?e.property.value:this._core.current())+o,s=this._core.clones().length,l=t.proxy(function(t,e){this.load(e)},this);for(n.lazyLoadEager>0&&(i+=n.lazyLoadEager,n.loop&&(a-=n.lazyLoadEager,i++));o++<i;)this.load(s/2+this._core.relative(a)),s&&t.each(this._core.clones(this._core.relative(a)),l),a++}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1,lazyLoadEager:0},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),a=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:a},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:a},"lazy")},this)).attr("src",a):o.is("source")?o.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:o,url:a},"lazy")},this)).attr("srcset",a):(i=new Image,i.onload=t.proxy(function(){o.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:a},"lazy")},this),i.src=a)},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(n){this._core=n,this._previousHeight=null,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),this._intervalId=null;var r=this;t(e).on("load",function(){r._core.settings.autoHeight&&r.update()}),t(e).resize(function(){r._core.settings.autoHeight&&(null!=r._intervalId&&clearTimeout(r._intervalId),r._intervalId=setTimeout(function(){r.update()},250))})};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.settings.lazyLoad,i=this._core.$stage.children().toArray().slice(e,n),o=[],a=0;t.each(i,function(e,n){o.push(t(n).height())}),a=Math.max.apply(null,o),a<=1&&r&&this._previousHeight&&(a=this._previousHeight),this._previousHeight=a,this._core.$stage.parent().height(a).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,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if(r=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),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[a]={type:n,id:r,width:i,height:o},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},i.prototype.thumbnail=function(e,n){var r,i,o,a=n.width&&n.height?"width:"+n.width+"px;height:"+n.height+"px;":"",s=e.find("img"),l="src",u="",c=this._core.settings,f=function(n){i='<div class="owl-video-play-icon"></div>',r=c.lazyLoad?t("<div/>",{class:"owl-video-tn "+u,srcType:n}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+n+")"}),e.after(r),e.after(i)};return e.wrap(t("<div/>",{class:"owl-video-wrapper",style:a})),this._core.settings.lazyLoad&&(l="data-src",u="owl-lazy"),s.length?(f(s.attr(l)),s.remove(),!1):void("youtube"===n.type?(o="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",f(o)):"vimeo"===n.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json", 74jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,f(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,f(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,i=t(e.target),o=i.closest("."+this._core.settings.itemClass),a=this._videos[o.attr("data-video")],s=a.width||"100%",l=a.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),o=this._core.items(this._core.relative(o.index())),this._core.reset(o.index()),n=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),n.attr("height",l),n.attr("width",s),"youtube"===a.type?n.attr("src","//www.youtube.com/embed/"+a.id+"?autoplay=1&rel=0&v="+a.id):"vimeo"===a.type?n.attr("src","//player.vimeo.com/video/"+a.id+"?autoplay=1"):"vzaar"===a.type&&n.attr("src","//view.vzaar.com/"+a.id+"/player?autoplay=true"),r=t(n).wrap('<div class="owl-video-frame" />').insertAfter(o.find(".owl-video")),this._playing=o.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,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(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(a)),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._call=null,this._time=0,this._timeout=0,this._paused=!0,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._paused&&(this._time=0)},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._next=function(r){this._call=e.setTimeout(t.proxy(this._next,this,r),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||n.hidden||this._core.next(r||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(n,r){var i;this._core.is("rotating")||this._core.enter("rotating"),n=n||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||n),n),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%n-i,this._timeout=n,this._call=e.setTimeout(t.proxy(this._next,this,r),n-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},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:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},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('<button role="button">').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","button",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,i;i=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&i.navContainer?this._controls[e].html(""):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),a=this._core.settings,s=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],t=r,e=0,n=0;t<i;t++){if(e>=s||0===e){if(this._pages.push({start:Math.min(o,t-r),end:t-r+s-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+" "+s.join(o+" ")+o).split(" "),function(t,e){if(a[e]!==r)return i=!n||e,!1}),i}function o(t){return i(t,!0)}var a=t("<support>").get(0).style,s="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"}}},u={csstransforms:function(){return!!i("transform")},csstransforms3d:function(){return!!i("perspective")},csstransitions:function(){return!!i("transition")},cssanimations:function(){return!!i("animation")}};
74u.csstransitions()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),u.cssanimations()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),u.csstransforms()&&(t.support.transform=new String(o("transform")),t.support.transform3d=u.csstransforms3d())}(window.Zepto||t,window,document)}).call(e,n(37),n(37))},1120:function(t,e,n){var r=n(1121);t.exports={TextEncoder:r.TextEncoder,TextDecoder:r.TextDecoder}},1121:function(t,e){!function(e){"use strict";function n(t,e,n){return e<=t&&t<=n}function r(t,e){return t.indexOf(e)!==-1}function i(t){if(void 0===t)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function o(t){for(var e=String(t),n=e.length,r=0,i=[];r<n;){var o=e.charCodeAt(r);if(o<55296||o>57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(r===n-1)i.push(65533);else{var a=e.charCodeAt(r+1);if(56320<=a&&a<=57343){var s=1023&o,l=1023&a;i.push(65536+(s<<10)+l),r+=1}else i.push(65533)}r+=1}return i}function a(t){for(var e="",n=0;n<t.length;++n){var r=t[n];r<=65535?e+=String.fromCharCode(r):(r-=65536,e+=String.fromCharCode((r>>10)+55296,(1023&r)+56320))}return e}function s(t){return 0<=t&&t<=127}function l(t){this.tokens=[].slice.call(t),this.tokens.reverse()}function u(t,e){if(t)throw TypeError("Decoder error");return e||65533}function c(t){throw TypeError("The code point "+t+" could not be encoded.")}function f(){}function d(){}function h(t){return t=String(t).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(X,t)?X[t]:null}function p(t,e){return e?e[t]||null:null}function g(t,e){var n=e.indexOf(t);return n===-1?null:n}function m(t){if(!("encoding-indexes"in e))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return e["encoding-indexes"][t]}function v(t){if(t>39419&&t<189e3||t>1237575)return null;if(7457===t)return 59335;var e,n=0,r=0,i=m("gb18030-ranges");for(e=0;e<i.length;++e){var o=i[e];if(!(o[0]<=t))break;n=o[0],r=o[1]}return r+t-n}function y(t){if(59335===t)return 7457;var e,n=0,r=0,i=m("gb18030-ranges");for(e=0;e<i.length;++e){var o=i[e];if(!(o[1]<=t))break;n=o[1],r=o[0]}return r+t-n}function b(t){K=K||m("jis0208").map(function(t,e){return n(e,8272,8835)?null:t});var e=K;return e.indexOf(t)}function w(t){q=q||m("big5").map(function(t,e){return e<5024?null:t});var e=q;return 9552===t||9566===t||9569===t||9578===t||21313===t||21317===t?e.lastIndexOf(t):g(t,e)}function E(t,e){if(!(this instanceof E))throw TypeError("Called as a function. Did you forget 'new'?");t=void 0!==t?String(t):tt,e=i(e),this._encoding=null,this._decoder=null,this._ignoreBOM=!1,this._BOMseen=!1,this._error_mode="replacement",this._do_not_flush=!1;var n=h(t);if(null===n||"replacement"===n.name)throw RangeError("Unknown encoding: "+t);if(!Q[n.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");var r=this;return r._encoding=n,Boolean(e.fatal)&&(r._error_mode="fatal"),Boolean(e.ignoreBOM)&&(r._ignoreBOM=!0),Object.defineProperty||(this.encoding=r._encoding.name.toLowerCase(),this.fatal="fatal"===r._error_mode,this.ignoreBOM=r._ignoreBOM),r}function T(t,n){if(!(this instanceof T))throw TypeError("Called as a function. Did you forget 'new'?");n=i(n),this._encoding=null,this._encoder=null,this._do_not_flush=!1,this._fatal=Boolean(n.fatal)?"fatal":"replacement";var r=this;if(Boolean(n.NONSTANDARD_allowLegacyEncoding)){t=void 0!==t?String(t):tt;var o=h(t);if(null===o||"replacement"===o.name)throw RangeError("Unknown encoding: "+t);if(!$[o.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");r._encoding=o}else r._encoding=h("utf-8"),void 0!==t&&"console"in e&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");return Object.defineProperty||(this.encoding=r._encoding.name.toLowerCase()),r}function S(t){var e=t.fatal,r=0,i=0,o=0,a=128,s=191;this.handler=function(t,l){if(l===Z&&0!==o)return o=0,u(e);if(l===Z)return V;if(0===o){if(n(l,0,127))return l;if(n(l,194,223))o=1,r=31&l;else if(n(l,224,239))224===l&&(a=160),237===l&&(s=159),o=2,r=15&l;else{if(!n(l,240,244))return u(e);240===l&&(a=144),244===l&&(s=143),o=3,r=7&l}return null}if(!n(l,a,s))return r=o=i=0,a=128,s=191,t.prepend(l),u(e);if(a=128,s=191,r=r<<6|63&l,i+=1,i!==o)return null;var c=r;return r=o=i=0,c}}function _(t){t.fatal;this.handler=function(t,e){if(e===Z)return V;if(Y(e))return e;var r,i;n(e,128,2047)?(r=1,i=192):n(e,2048,65535)?(r=2,i=224):n(e,65536,1114111)&&(r=3,i=240);for(var o=[(e>>6*r)+i];r>0;){var a=e>>6*(r-1);o.push(128|63&a),r-=1}return o}}function A(t,e){var n=e.fatal;this.handler=function(e,r){if(r===Z)return V;if(s(r))return r;var i=t[r-128];return null===i?u(n):i}}function I(t,e){e.fatal;this.handler=function(e,n){if(n===Z)return V;if(Y(n))return n;var r=g(n,t);return null===r&&c(n),r+128}}function C(t){var e=t.fatal,r=0,i=0,o=0;this.handler=function(t,a){if(a===Z&&0===r&&0===i&&0===o)return V;a!==Z||0===r&&0===i&&0===o||(r=0,i=0,o=0,u(e));var l;if(0!==o){l=null,n(a,48,57)&&(l=v(10*(126*(10*(r-129)+i-48)+o-129)+a-48));var c=[i,o,a];
74return r=0,i=0,o=0,null===l?(t.prepend(c),u(e)):l}if(0!==i)return n(a,129,254)?(o=a,null):(t.prepend([i,a]),r=0,i=0,u(e));if(0!==r){if(n(a,48,57))return i=a,null;var f=r,d=null;r=0;var h=a<127?64:65;return(n(a,64,126)||n(a,128,254))&&(d=190*(f-129)+(a-h)),l=null===d?null:p(d,m("gb18030")),null===l&&s(a)&&t.prepend(a),null===l?u(e):l}return s(a)?a:128===a?8364:n(a,129,254)?(r=a,null):u(e)}}function x(t,e){t.fatal;this.handler=function(t,n){if(n===Z)return V;if(Y(n))return n;if(58853===n)return c(n);if(e&&8364===n)return 128;var r=g(n,m("gb18030"));if(null!==r){var i=H(r/190)+129,o=r%190,a=o<63?64:65;return[i,o+a]}if(e)return c(n);r=y(n);var s=H(r/10/126/10);r-=10*s*126*10;var l=H(r/10/126);r-=10*l*126;var u=H(r/10),f=r-10*u;return[s+129,l+48,u+129,f+48]}}function D(t){var e=t.fatal,r=0;this.handler=function(t,i){if(i===Z&&0!==r)return r=0,u(e);if(i===Z&&0===r)return V;if(0!==r){var o=r,a=null;r=0;var l=i<127?64:98;switch((n(i,64,126)||n(i,161,254))&&(a=157*(o-129)+(i-l)),a){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var c=null===a?null:p(a,m("big5"));return null===c&&s(i)&&t.prepend(i),null===c?u(e):c}return s(i)?i:n(i,129,254)?(r=i,null):u(e)}}function L(t){t.fatal;this.handler=function(t,e){if(e===Z)return V;if(Y(e))return e;var n=w(e);if(null===n)return c(e);var r=H(n/157)+129;if(r<161)return c(e);var i=n%157,o=i<63?64:98;return[r,i+o]}}function O(t){var e=t.fatal,r=!1,i=0;this.handler=function(t,o){if(o===Z&&0!==i)return i=0,u(e);if(o===Z&&0===i)return V;if(142===i&&n(o,161,223))return i=0,65216+o;if(143===i&&n(o,161,254))return r=!0,i=o,null;if(0!==i){var a=i;i=0;var l=null;return n(a,161,254)&&n(o,161,254)&&(l=p(94*(a-161)+(o-161),m(r?"jis0212":"jis0208"))),r=!1,n(o,161,254)||t.prepend(o),null===l?u(e):l}return s(o)?o:142===o||143===o||n(o,161,254)?(i=o,null):u(e)}}function R(t){t.fatal;this.handler=function(t,e){if(e===Z)return V;if(Y(e))return e;if(165===e)return 92;if(8254===e)return 126;if(n(e,65377,65439))return[142,e-65377+161];8722===e&&(e=65293);var r=g(e,m("jis0208"));if(null===r)return c(e);var i=H(r/94)+161,o=r%94+161;return[i,o]}}function k(t){var e=t.fatal,r={ASCII:0,Roman:1,Katakana:2,LeadByte:3,TrailByte:4,EscapeStart:5,Escape:6},i=r.ASCII,o=r.ASCII,a=0,s=!1;this.handler=function(t,l){switch(i){default:case r.ASCII:return 27===l?(i=r.EscapeStart,null):n(l,0,127)&&14!==l&&15!==l&&27!==l?(s=!1,l):l===Z?V:(s=!1,u(e));case r.Roman:return 27===l?(i=r.EscapeStart,null):92===l?(s=!1,165):126===l?(s=!1,8254):n(l,0,127)&&14!==l&&15!==l&&27!==l&&92!==l&&126!==l?(s=!1,l):l===Z?V:(s=!1,u(e));case r.Katakana:return 27===l?(i=r.EscapeStart,null):n(l,33,95)?(s=!1,65344+l):l===Z?V:(s=!1,u(e));case r.LeadByte:return 27===l?(i=r.EscapeStart,null):n(l,33,126)?(s=!1,a=l,i=r.TrailByte,null):l===Z?V:(s=!1,u(e));case r.TrailByte:if(27===l)return i=r.EscapeStart,u(e);if(n(l,33,126)){i=r.LeadByte;var c=94*(a-33)+l-33,f=p(c,m("jis0208"));return null===f?u(e):f}return l===Z?(i=r.LeadByte,t.prepend(l),u(e)):(i=r.LeadByte,u(e));case r.EscapeStart:return 36===l||40===l?(a=l,i=r.Escape,null):(t.prepend(l),s=!1,i=o,u(e));case r.Escape:var d=a;a=0;var h=null;if(40===d&&66===l&&(h=r.ASCII),40===d&&74===l&&(h=r.Roman),40===d&&73===l&&(h=r.Katakana),36!==d||64!==l&&66!==l||(h=r.LeadByte),null!==h){i=i=h;var g=s;return s=!0,g?u(e):null}return t.prepend([d,l]),s=!1,i=o,u(e)}}}function N(t){var e=(t.fatal,{ASCII:0,Roman:1,jis0208:2}),n=e.ASCII;this.handler=function(t,r){if(r===Z&&n!==e.ASCII)return t.prepend(r),n=e.ASCII,[27,40,66];if(r===Z&&n===e.ASCII)return V;if(!(n!==e.ASCII&&n!==e.Roman||14!==r&&15!==r&&27!==r))return c(65533);if(n===e.ASCII&&Y(r))return r;if(n===e.Roman&&(Y(r)&&92!==r&&126!==r||165==r||8254==r)){if(Y(r))return r;if(165===r)return 92;if(8254===r)return 126}if(Y(r)&&n!==e.ASCII)return t.prepend(r),n=e.ASCII,[27,40,66];if((165===r||8254===r)&&n!==e.Roman)return t.prepend(r),n=e.Roman,[27,40,74];8722===r&&(r=65293);var i=g(r,m("jis0208"));if(null===i)return c(r);if(n!==e.jis0208)return t.prepend(r),n=e.jis0208,[27,36,66];var o=H(i/94)+33,a=i%94+33;return[o,a]}}function M(t){var e=t.fatal,r=0;this.handler=function(t,i){if(i===Z&&0!==r)return r=0,u(e);if(i===Z&&0===r)return V;if(0!==r){var o=r,a=null;r=0;var l=i<127?64:65,c=o<160?129:193;
74if((n(i,64,126)||n(i,128,252))&&(a=188*(o-c)+i-l),n(a,8836,10715))return 48508+a;var f=null===a?null:p(a,m("jis0208"));return null===f&&s(i)&&t.prepend(i),null===f?u(e):f}return s(i)||128===i?i:n(i,161,223)?65216+i:n(i,129,159)||n(i,224,252)?(r=i,null):u(e)}}function P(t){t.fatal;this.handler=function(t,e){if(e===Z)return V;if(Y(e)||128===e)return e;if(165===e)return 92;if(8254===e)return 126;if(n(e,65377,65439))return e-65377+161;8722===e&&(e=65293);var r=b(e);if(null===r)return c(e);var i=H(r/188),o=i<31?129:193,a=r%188,s=a<63?64:65;return[i+o,a+s]}}function j(t){var e=t.fatal,r=0;this.handler=function(t,i){if(i===Z&&0!==r)return r=0,u(e);if(i===Z&&0===r)return V;if(0!==r){var o=r,a=null;r=0,n(i,65,254)&&(a=190*(o-129)+(i-65));var l=null===a?null:p(a,m("euc-kr"));return null===a&&s(i)&&t.prepend(i),null===l?u(e):l}return s(i)?i:n(i,129,254)?(r=i,null):u(e)}}function F(t){t.fatal;this.handler=function(t,e){if(e===Z)return V;if(Y(e))return e;var n=g(e,m("euc-kr"));if(null===n)return c(e);var r=H(n/190)+129,i=n%190+65;return[r,i]}}function U(t,e){var n=t>>8,r=255&t;return e?[n,r]:[r,n]}function B(t,e){var r=e.fatal,i=null,o=null;this.handler=function(e,a){if(a===Z&&(null!==i||null!==o))return u(r);if(a===Z&&null===i&&null===o)return V;if(null===i)return i=a,null;var s;if(s=t?(i<<8)+a:(a<<8)+i,i=null,null!==o){var l=o;return o=null,n(s,56320,57343)?65536+1024*(l-55296)+(s-56320):(e.prepend(U(s,t)),u(r))}return n(s,55296,56319)?(o=s,null):n(s,56320,57343)?u(r):s}}function G(t,e){e.fatal;this.handler=function(e,r){if(r===Z)return V;if(n(r,0,65535))return U(r,t);var i=U((r-65536>>10)+55296,t),o=U((r-65536&1023)+56320,t);return i.concat(o)}}function W(t){t.fatal;this.handler=function(t,e){return e===Z?V:s(e)?e:63360+e-128}}function z(t){t.fatal;this.handler=function(t,e){return e===Z?V:Y(e)?e:n(e,63360,63487)?e-63360+128:c(e)}}var H=Math.floor,Y=s,Z=-1;l.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():Z},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.pop());else this.tokens.push(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.shift());else this.tokens.unshift(t)}};var V=-1;f.prototype={handler:function(t,e){}},d.prototype={handler:function(t,e){}};
74var J=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"}
74,{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],X={};J.forEach(function(t){t.encodings.forEach(function(t){t.labels.forEach(function(e){X[e]=t})})});var K,q,$={},Q={},tt="utf-8";Object.defineProperty&&(Object.defineProperty(E.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),Object.defineProperty(E.prototype,"fatal",{get:function(){return"fatal"===this._error_mode}}),Object.defineProperty(E.prototype,"ignoreBOM",{get:function(){return this._ignoreBOM}})),E.prototype.decode=function(t,e){function n(t){return!r(["UTF-8","UTF-16LE","UTF-16BE"],this._encoding.name)||this._ignoreBOM||this._BOMseen||(t.length>0&&65279===t[0]?(this._BOMseen=!0,t.shift()):t.length>0&&(this._BOMseen=!0)),a(t)}var o;o="object"==typeof t&&t instanceof ArrayBuffer?new Uint8Array(t):"object"==typeof t&&"buffer"in t&&t.buffer instanceof ArrayBuffer?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(0),e=i(e),this._do_not_flush||(this._decoder=Q[this._encoding.name]({fatal:"fatal"===this._error_mode}),this._BOMseen=!1),this._do_not_flush=Boolean(e.stream);for(var s,u=new l(o),c=[];;){var f=u.read();if(f===Z)break;if(s=this._decoder.handler(u,f),s===V)break;null!==s&&(Array.isArray(s)?c.push.apply(c,s):c.push(s))}if(!this._do_not_flush){do{if(s=this._decoder.handler(u,u.read()),s===V)break;null!==s&&(Array.isArray(s)?c.push.apply(c,s):c.push(s))}while(!u.endOfStream());this._decoder=null}return n.call(this,c)},Object.defineProperty&&Object.defineProperty(T.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),T.prototype.encode=function(t,e){t=void 0===t?"":String(t),e=i(e),this._do_not_flush||(this._encoder=$[this._encoding.name]({fatal:"fatal"===this._fatal})),this._do_not_flush=Boolean(e.stream);for(var n,r=new l(o(t)),a=[];;){ 75var s=r.read();if(s===Z)break;if(n=this._encoder.handler(r,s),n===V)break;Array.isArray(n)?a.push.apply(a,n):a.push(n)}if(!this._do_not_flush){for(;;){if(n=this._encoder.handler(r,r.read()),n===V)break;Array.isArray(n)?a.push.apply(a,n):a.push(n)}this._encoder=null}return new Uint8Array(a)},$["UTF-8"]=function(t){return new _(t)},Q["UTF-8"]=function(t){return new S(t)},function(){"encoding-indexes"in e&&J.forEach(function(t){"Legacy single-byte encodings"===t.heading&&t.encodings.forEac
vendor: 15,003 bytes, line 75
75h(function(t){var e=t.name,n=m(e.toLowerCase());Q[e]=function(t){return new A(n,t)},$[e]=function(t){return new I(n,t)}})})}(),Q.GBK=function(t){return new C(t)},$.GBK=function(t){return new x(t,!0)},$.gb18030=function(t){return new x(t)},Q.gb18030=function(t){return new C(t)},$.Big5=function(t){return new L(t)},Q.Big5=function(t){return new D(t)},$["EUC-JP"]=function(t){return new R(t)},Q["EUC-JP"]=function(t){return new O(t)},$["ISO-2022-JP"]=function(t){return new N(t)},Q["ISO-2022-JP"]=function(t){return new k(t)},$.Shift_JIS=function(t){return new P(t)},Q.Shift_JIS=function(t){return new M(t)},$["EUC-KR"]=function(t){return new F(t)},Q["EUC-KR"]=function(t){return new j(t)},$["UTF-16BE"]=function(t){return new G(!0,t)},Q["UTF-16BE"]=function(t){return new B(!0,t)},$["UTF-16LE"]=function(t){return new G(!1,t)},Q["UTF-16LE"]=function(t){return new B(!1,t)},$["x-user-defined"]=function(t){return new z(t)},Q["x-user-defined"]=function(t){return new W(t)},e.TextEncoder||(e.TextEncoder=T),e.TextDecoder||(e.TextDecoder=E),"undefined"!=typeof t&&t.exports&&(t.exports={TextEncoder:e.TextEncoder,TextDecoder:e.TextDecoder,EncodingIndexes:e["encoding-indexes"]})}(this||{})},1122:function(t,e,n){(function(e){!function(e,n){t.exports=n()}(this,function(){function t(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}function n(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function r(t){return null===t}function i(t){return void 0===t}function o(t){return t===!0||t===!1||"[object Boolean]"===ue.call(t)}function a(t){return!(!t||1!==t.nodeType)}function s(t){var e="[object "+t+"]";return function(t){return ue.call(t)===e}}function l(t){return null!=t&&Oe(t.getInt8)&&xe(t.buffer)}function u(t,e){return null!=t&&ce.call(t,e)}function c(t){return!Ce(t)&&ye(t)&&!isNaN(parseFloat(t))}function f(t){return Se(t)&&ve(t)}function d(t){return function(){return t}}function h(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=Ee}}function p(t){return function(e){return null==e?void 0:e[t]}}function g(t){return me?me(t)&&!Pe(t):Ge(t)&&We.test(ue.call(t))}function m(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(t){return e[t]},push:function(n){return e[n]=!0,t.push(n)}}}function v(t,e){e=m(e);var n=we.length,r=t.constructor,i=Oe(r)&&r.prototype||oe,o="constructor";for(u(t,o)&&!e.contains(o)&&e.push(o);n--;)o=we[n],o in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function y(t){if(!n(t))return[];if(pe)return pe(t);var e=[];for(var r in t)u(t,r)&&e.push(r);return be&&v(t,e),e}function b(t){if(null==t)return!0;var e=He(t);return"number"==typeof e&&(je(t)||Te(t)||Ue(t))?0===e:0===He(y(t))}function w(t,e){var n=y(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0}function E(t){return t instanceof E?t:this instanceof E?void(this._wrapped=t):new E(t)}function T(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,Be(t))}function S(t,e,n,r){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return!1;if(t!==t)return e!==e;var i=typeof t;return("function"===i||"object"===i||"object"==typeof e)&&_(t,e,n,r)}function _(t,e,n,r){t instanceof E&&(t=t._wrapped),e instanceof E&&(e=e._wrapped);var i=ue.call(t);if(i!==ue.call(e))return!1;if(ke&&"[object Object]"==i&&Pe(t)){if(!Pe(e))return!1;i=Ye}switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e;case"[object Symbol]":return ae.valueOf.call(t)===ae.valueOf.call(e);case"[object ArrayBuffer]":case Ye:return _(T(t),T(e),n,r)}var o="[object Array]"===i;if(!o&&ze(t)){var a=Be(t);if(a!==Be(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,l=e.constructor;if(s!==l&&!(Oe(s)&&s instanceof s&&Oe(l)&&l instanceof l)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var c=n.length;c--;)if(n[c]===t)return r[c]===e;if(n.push(t),r.push(e),o){if(c=t.length,c!==e.length)return!1;for(;c--;)if(!S(t[c],e[c],n,r))return!1}else{var f,d=y(t);if(c=d.length,y(e).length!==c)return!1;for(;c--;)if(f=d[c],!u(e,f)||!S(t[f],e[f],n,r))return!1}return n.pop(),r.pop(),!0}function A(t,e){return S(t,e)}function I(t){if(!n(t))return[];var e=[];for(var r in t)e.push(r);return be&&v(t,e),e}function C(t){var e=He(t);return function(n){if(null==n)return!1;var r=I(n);if(He(r))return!1;for(var i=0;i<e;i++)if(!Oe(n[t[i]]))return!1;return t!==qe||!Oe(n[Ze])}}function x(t){for(var e=y(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function D(t){for(var e=y(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function L(t){for(var e={},n=y(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function O(t){var e=[];for(var n in t)Oe(t[n])&&e.push(n);return e.sort()}function R(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=t(o),s=a.length,l=0;l<s;l++){var u=a[l];e&&void 0!==n[u]||(n[u]=o[u])}return n}}function k(){return function(){}}function N(t){if(!n(t))return{};if(ge)return ge(t);var e=k();e.prototype=t;var r=new e;return e.prototype=null,r}function M(t,e){var n=N(t);return e&&on(n,e),n}function P(t){return n(t)?je(t)?t.slice():rn({},t):t}function j(t,e){return e(t),t}function F(t){return je(t)?t:[t]}function U(t){return E.toPath(t)}function B(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0}function G(t,e,n){var r=B(t,U(e));return i(r)?n:r}function W(t,e){e=U(e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(!u(t,i))return!1;t=t[i]}return!!n}function z(t){return t}function H(t){return t=on({},t),function(e){return w(e,t)}}function Y(t){return t=U(t),function(e){return B(e,t)}}function Z(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}}function V(t,e,r){return null==t?z:Oe(t)?Z(t,e,r):n(t)&&!je(t)?H(t):Y(t)}function J(t,e){return V(t,e,1/0)}function X(t,e,n){return E.iteratee!==J?E.iteratee(t,e):V(t,e,n)}function K(t,e,n){e=X(e,n);for(var r=y(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function q(){}function $(t){return null==t?q:function(e){return G(t,e)}}function Q(t,e,n){var r=Array(Math.max(0,t));e=Z(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function tt(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}function et(t){var e=function(e){return t[e]},n="(?:"+y(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}}function nt(t){return"\\"+pn[t]}function rt(t,e,n){!e&&n&&(e=n),e=an({},e,E.templateSettings);var r=RegExp([(e.escape||hn).source,(e.interpolate||hn).source,(e.evaluate||hn).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,a,s){return o+=t.slice(i,s).replace(gn,nt),i=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";var a;try{a=new Function(e.variable||"obj","_",o)}catch(t){throw t.source=o,t}var s=function(t){return a.call(this,t,E)},l=e.variable||"obj";return s.source="function("+l+"){\n"+o+"}",s}function it(t,e,n){e=U(e);var r=e.length;if(!r)return Oe(n)?n.call(t):n;for(var i=0;i<r;i++){var o=null==t?void 0:t[e[i]];void 0===o&&(o=n,i=r),t=Oe(o)?o.call(t):o}return t}function ot(t){var e=++mn+"";return t?t+e:e}function at(t){var e=E(t);return e._chain=!0,e}function st(t,e,r,i,o){if(!(i instanceof e))return t.apply(r,o);var a=N(t.prototype),s=t.apply(a,o);return n(s)?s:a}function lt(t,e,n,r){if(r=r||[],e||0===e){if(e<=0)return r.concat(t)}else e=1/0;for(var i=r.length,o=0,a=He(t);o<a;o++){var s=t[o];if(bn(s)&&(je(s)||Ue(s)))if(e>1)lt(s,e-1,n,r),i=r.length;else for(var l=0,u=s.length;l<u;)r[i++]=s[l++];else n||(r[i++]=s)}return r}function ut(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return u(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}function ct(t,e,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=n.leading===!1?0:sn(),r=null,a=t.apply(i,o),r||(i=o=null)},u=function(){var u=sn();s||n.leading!==!1||(s=u);var c=e-(u-s);return i=this,o=arguments,c<=0||c>e?(r&&(clearTimeout(r),r=null),s=u,a=t.apply(i,o),r||(i=o=null)):r||n.trailing===!1||(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=i=o=null},u}function ft(e,n,r){var i,o,a=function(t,n){i=null,n&&(o=e.apply(t,n))},s=t(function(t){if(i&&clearTimeout(i),r){var s=!i;i=setTimeout(a,n),s&&(o=e.apply(this,t))}else i=En(a,n,this,t);return o});return s.cancel=function(){clearTimeout(i),i=null},s}function dt(t,e){return vn(e,t)}function ht(t){return function(){return!t.apply(this,arguments)}}function pt(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function gt(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function mt(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}function vt(t,e,n){e=X(e,n);for(var r,i=y(t),o=0,a=i.length;o<a;o++)if(r=i[o],e(t[r],r,t))return r}function yt(t){return function(e,n,r){n=X(n,r);for(var i=He(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}function bt(t,e,n,r){n=X(n,r,1);for(var i=n(e),o=0,a=He(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function wt(t,e,n){return function(r,i,o){var a=0,s=He(r);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(le.call(r,a,s),f),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&o<s;o+=t)if(r[o]===i)return o;return-1}}function Et(t,e,n){var r=bn(t)?_n:vt,i=r(t,e,n);if(void 0!==i&&i!==-1)return t[i]}function Tt(t,e){return Et(t,H(e))}function St(t,e,n){e=Z(e,n);var r,i;if(bn(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=y(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function _t(t,e,n){e=X(e,n);for(var r=!bn(t)&&y(t),i=(r||t).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o}function At(t){var e=function(e,n,r,i){var o=!bn(e)&&y(e),a=(o||e).length,s=t>0?0:a-1;for(i||(r=e[o?o[s]:s],s+=t);s>=0&&s<a;s+=t){var l=o?o[s]:s;r=n(r,e[l],l,e)}return r};return function(t,n,r,i){var o=arguments.length>=3;return e(t,Z(n,i,4),r,o)}}function It(t,e,n){var r=[];return e=X(e,n),St(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r}function Ct(t,e,n){return It(t,ht(X(e)),n)}function xt(t,e,n){e=X(e,n);for(var r=!bn(t)&&y(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0}function Dt(t,e,n){e=X(e,n);for(var r=!bn(t)&&y(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1}function Lt(t,e,n,r){return bn(t)||(t=x(t)),("number"!=typeof n||r)&&(n=0),In(t,e,n)>=0}function Ot(t,e){return _t(t,Y(e))}function Rt(t,e){return It(t,H(e))}function kt(t,e,n){var r,i,o=-(1/0),a=-(1/0);if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=bn(t)?t:x(t);for(var s=0,l=t.length;s<l;s++)r=t[s],null!=r&&r>o&&(o=r)}else e=X(e,n),St(t,function(t,n,r){i=e(t,n,r),(i>a||i===-(1/0)&&o===-(1/0))&&(o=t,a=i)});return o}function Nt(t,e,n){var r,i,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=bn(t)?t:x(t);for(var s=0,l=t.length;s<l;s++)r=t[s],null!=r&&r<o&&(o=r)}else e=X(e,n),St(t,function(t,n,r){i=e(t,n,r),(i<a||i===1/0&&o===1/0)&&(o=t,a=i)});return o}function Mt(t,e,n){if(null==e||n)return bn(t)||(t=x(t)),t[tt(t.length-1)];var r=bn(t)?P(t):x(t),i=He(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=tt(a,o),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,e)}function Pt(t){return Mt(t,1/0)}function jt(t,e,n){var r=0;return e=X(e,n),Ot(_t(t,function(t,n,i){return{value:t,index:r++,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index}),"value")}function Ft(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=X(r,i),St(n,function(e,i){var a=r(e,i,n);t(o,e,a)}),o}}function Ut(t){return t?je(t)?le.call(t):Te(t)?t.match(Mn):bn(t)?_t(t,z):x(t):[]}function Bt(t){return null==t?0:bn(t)?t.length:y(t).length}function Gt(t,e,n){return e in n}function Wt(t,e,n){return le.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function zt(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:Wt(t,t.length-e)}function Ht(t,e,n){return le.call(t,null==e||n?1:e)}function Yt(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:Ht(t,Math.max(0,t.length-e))}function Zt(t){return It(t,Boolean)}function Vt(t,e){return lt(t,e,!1)}function Jt(t,e,n,r){o(e)||(r=n,n=e,e=!1),null!=n&&(n=X(n,r));for(var i=[],a=[],s=0,l=He(t);s<l;s++){var u=t[s],c=n?n(u,s,t):u;e&&!n?(s&&a===c||i.push(u),a=c):n?Lt(a,c)||(a.push(c),i.push(u)):Lt(i,u)||i.push(u)}return i}function Xt(t){for(var e=[],n=arguments.length,r=0,i=He(t);r<i;r++){var o=t[r];if(!Lt(e,o)){var a;for(a=1;a<n&&Lt(arguments[a],o);a++);a===n&&e.push(o)}}return e}function Kt(t){for(var e=t&&kt(t,He).length||0,n=Array(e),r=0;r<e;r++)n[r]=Ot(t,r);return n}function qt(t,e){for(var n={},r=0,i=He(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function $t(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i}function Qt(t,e){if(null==e||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(le.call(t,r,r+=e));return n}function te(t,e){return t._chain?E(e).chain():e}function ee(t){return St(O(t),function(e){var n=E[e]=t[e];E.prototype[e]=function(){var t=[this._wrapped];return se.apply(t,arguments),te(this,n.apply(E,t))}}),E}var ne="1.12.0",re="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},ie=Array.prototype,oe=Object.prototype,ae="undefined"!=typeof Symbol?Symbol.prototype:null,se=ie.push,le=ie.slice,ue=oe.toString,ce=oe.hasOwnProperty,fe="undefined"!=typeof ArrayBuffer,de="undefined"!=typeof DataView,he=Array.isArray,pe=Object.keys,ge=Object.create,me=fe&&ArrayBuffer.isView,ve=isNaN,ye=isFinite,be=!{toString:null}.propertyIsEnumerable("toString"),we=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
75ing"],Ee=Math.pow(2,53)-1,Te=s("String"),Se=s("Number"),_e=s("Date"),Ae=s("RegExp"),Ie=s("Error"),Ce=s("Symbol"),xe=s("ArrayBuffer"),De=s("Function"),Le=re.document&&re.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof Le&&(De=function(t){return"function"==typeof t||!1});var Oe=De,Re=s("Object"),ke=de&&Re(new DataView(new ArrayBuffer(8))),Ne="undefined"!=typeof Map&&Re(new Map),Me=s("DataView"),Pe=ke?l:Me,je=he||s("Array"),Fe=s("Arguments");!function(){Fe(arguments)||(Fe=function(t){return u(t,"callee")})}();var Ue=Fe,Be=p("byteLength"),Ge=h(Be),We=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,ze=fe?g:d(!1),He=p("length");E.VERSION=ne,E.prototype.value=function(){return this._wrapped},E.prototype.valueOf=E.prototype.toJSON=E.prototype.value,E.prototype.toString=function(){return String(this._wrapped)};var Ye="[object DataView]",Ze="forEach",Ve="has",Je=["clear","delete"],Xe=["get",Ve,"set"],Ke=Je.concat(Ze,Xe),qe=Je.concat(Xe),$e=["add"].concat(Je,Ze,Ve),Qe=Ne?C(Ke):s("Map"),tn=Ne?C(qe):s("WeakMap"),en=Ne?C($e):s("Set"),nn=s("WeakSet"),rn=R(I),on=R(y),an=R(I,!0);E.toPath=F,E.iteratee=J;var sn=Date.now||function(){return(new Date).getTime()},ln={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},un=et(ln),cn=L(ln),fn=et(cn),dn=E.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},hn=/(.)^/,pn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},gn=/\\|'|\r|\n|\u2028|\u2029/g,mn=0,vn=t(function(t,e){var n=vn.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),s=0;s<o;s++)a[s]=e[s]===n?arguments[i++]:e[s];for(;i<arguments.length;)a.push(arguments[i++]);return st(t,r,this,this,a)};return r});vn.placeholder=E;var yn=t(function(e,n,r){if(!Oe(e))throw new TypeError("Bind must be called on a function");var i=t(function(t){return st(e,i,n,this,r.concat(t))});return i}),bn=h(He),wn=t(function(t,e){e=lt(e,!1,!1);var n=e.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=yn(t[r],t)}return t}),En=t(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),Tn=vn(En,E,1),Sn=vn(mt,2),_n=yt(1),An=yt(-1),In=wt(1,_n,bt),Cn=wt(-1,An),xn=At(1),Dn=At(-1),Ln=t(function(t,e,n){var r,i;return Oe(e)?i=e:(e=U(e),r=e.slice(0,-1),e=e[e.length-1]),_t(t,function(t){var o=i;if(!o){if(r&&r.length&&(t=B(t,r)),null==t)return;o=t[e]}return null==o?o:o.apply(t,n)})}),On=Ft(function(t,e,n){u(t,n)?t[n].push(e):t[n]=[e]}),Rn=Ft(function(t,e,n){t[n]=e}),kn=Ft(function(t,e,n){u(t,n)?t[n]++:t[n]=1}),Nn=Ft(function(t,e,n){t[n?0:1].push(e)},!0),Mn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g,Pn=t(function(t,e){var n={},r=e[0];if(null==t)return n;Oe(r)?(e.length>1&&(r=Z(r,e[1])),e=I(t)):(r=Gt,e=lt(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var a=e[i],s=t[a];r(s,a,t)&&(n[a]=s)}return n}),jn=t(function(t,e){var n,r=e[0];return Oe(r)?(r=ht(r),e.length>1&&(n=e[1])):(e=_t(lt(e,!1,!1),String),r=function(t,n){return!Lt(e,n)}),Pn(t,r,n)}),Fn=t(function(t,e){return e=lt(e,!0,!0),It(t,function(t){return!Lt(e,t)})}),Un=t(function(t,e){return Fn(t,e)}),Bn=t(function(t){return Jt(lt(t,!0,!0))}),Gn=t(Kt);St(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=ie[t];E.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),te(this,n)}}),St(["concat","join","slice"],function(t){var e=ie[t];E.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),te(this,t)}});var Wn={__proto__:null,VERSION:ne,restArguments:t,isObject:n,isNull:r,isUndefined:i,isBoolean:o,isElement:a,isString:Te,isNumber:Se,isDate:_e,isRegExp:Ae,isError:Ie,isSymbol:Ce,isArrayBuffer:xe,isDataView:Pe,isArray:je,isFunction:Oe,isArguments:Ue,isFinite:c,isNaN:f,isTypedArray:ze,isEmpty:b,isMatch:w,isEqual:A,isMap:Qe,isWeakMap:tn,isSet:en,isWeakSet:nn,keys:y,allKeys:I,values:x,pairs:D,invert:L,functions:O,methods:O,extend:rn,extendOwn:on,assign:on,defaults:an,create:M,clone:P,tap:j,get:G,has:W,mapObject:K,identity:z,constant:d,noop:q,toPath:F,property:Y,propertyOf:$,matcher:H,matches:H,times:Q,random:tt,now:sn,escape:un,unescape:fn,templateSettings:dn,template:rt,result:it,uniqueId:ot,chain:at,iteratee:J,partial:vn,bind:yn,bindAll:wn,memoize:ut,delay:En,defer:Tn,throttle:ct,debounce:ft,wrap:dt,negate:ht,compose:pt,after:gt,before:mt,once:Sn,findKey:vt,findIndex:_n,findLastIndex:An,sortedIndex:bt,indexOf:In,lastIndexOf:Cn,find:Et,detect:Et,findWhere:Tt,each:St,forEach:St,map:_t,collect:_t,reduce:xn,foldl:xn,inject:xn,reduceRight:Dn,foldr:Dn,filter:It,select:It,reject:Ct,every:xt,all:xt,some:Dt,any:Dt,contains:Lt,includes:Lt,include:Lt,invoke:Ln,pluck:Ot,where:Rt,max:kt,min:Nt,shuffle:Pt,sample:Mt,sortBy:jt,groupBy:On,indexBy:Rn,
75countBy:kn,partition:Nn,toArray:Ut,size:Bt,pick:Pn,omit:jn,first:zt,head:zt,take:zt,initial:Wt,last:Yt,rest:Ht,tail:Ht,drop:Ht,compact:Zt,flatten:Vt,without:Un,uniq:Jt,unique:Jt,union:Bn,intersection:Xt,difference:Fn,unzip:Kt,transpose:Kt,zip:Gn,object:qt,range:$t,chunk:Qt,mixin:ee,default:E},zn=ee(Wn);return zn._=zn,zn})}).call(e,function(){return this}())}});
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.