PageSourceSearch

https://www.ycis-cq.com/_nuxt/80b7394.js

js ycis-cq.com collected 2026-10-03 17:54:58 UTC 1,167,897 bytes, 2 lines download raw bytes

vendor: 8,498 bytes, lines 1-2
1/*! For license information please see LICENSES */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[212],{1:function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(59))},100:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return Xn}));var l,c,d,h,f,m,v,y,_,T,w,S,E,x,k,C,A,O,j,I,P,L,M,D,N,R,B,U,F={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},z={duration:.5,overwrite:!1,delay:0},$=1e8,H=1e-8,W=2*Math.PI,V=W/4,Y=0,G=Math.sqrt,X=Math.cos,K=Math.sin,Q=function(e){return"string"==typeof e},J=function(e){return"function"==typeof e},Z=function(e){return"number"==typeof e},ee=function(e){return void 0===e},te=function(e){return"object"==typeof e},ie=function(e){return!1!==e},ne=function(){return"undefined"!=typeof window},re=function(e){return J(e)||Q(e)},ae="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},se=Array.isArray,oe=/(?:-?\.?\d|\.)+/gi,le=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ue=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ce=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,de=/[+-]=-?[.\d]+/,he=/[^,'"\[\]\s]+/gi,pe=/[\d.+\-=]+(?:e[-+]\d*)*/i,fe={},me={},ge=function(e){return(me=ze(e,fe))&&Pi},ve=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},ye=function(e,t){return!t&&console.warn(e)},be=function(e,t){return e&&(fe[e]=t)&&me&&(me[e]=t)||fe},_e=function(){return 0},Te={},we=[],Se={},Ee={},xe={},ke=30,Ce=[],Ae="",Oe=function(e){var t,i,n=e[0];if(te(n)||J(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(i=Ce.length;i--&&!Ce[i].targetTest(n););t=Ce[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ti(e[i],t)))||e.splice(i,1);return e},je=function(e){return e._gsap||Oe(_t(e))[0]._gsap},Ie=function(e,t,n){return(n=e[t])&&J(n)?e[t]():ee(n)&&e.getAttribute&&e.getAttribute(t)||n},Pe=function(e,t){return(e=e.split(",")).forEach(t)||e},Le=function(e){return Math.round(1e5*e)/1e5||0},Me=function(e){return Math.round(1e7*e)/1e7||0},De=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},Ne=function(){var i,e,t=we.length,a=we.slice(0);for(Se={},we.length=0,i=0;i<t;i++)(e=a[i])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Re=function(e,time,t,n){we.length&&Ne(),e.render(time,t,n),we.length&&Ne()},Be=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(he).length<2?t:Q(e)?e.trim():e},Ue=function(p){return p},Fe=function(e,t){for(var p in t)p in e||(e[p]=t[p]);return e},ze=function(base,e){for(var p in e)base[p]=e[p];return base},$e=function e(base,t){for(var p in t)"__proto__"!==p&&"constructor"!==p&&"prototype"!==p&&(base[p]=te(t[p])?e(base[p]||(base[p]={}),t[p]):t[p]);return base},He=function(e,t){var p,n={};for(p in e)p in t||(n[p]=e[p]);return n},We=function(e){var t,n=e.parent||c,r=e.keyframes?(t=se(e.keyframes),function(e,n){for(var p in n)p in e||"duration"===p&&t||"ease"===p||(e[p]=n[p])}):Fe;if(ie(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Ve=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o=t._prev,l=t._next;o?o._next=l:e[n]===t&&(e[n]=l),l?l._prev=o:e[r]===t&&(e[r]=o),t._next=t._prev=t.parent=null},qe=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove(e),e._act=0},Ye=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var a=e;a;)a._dirty=1,a=a.parent;return e},Ge=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Xe=function e(t){return!t||t._ts&&e(t.parent)},Ke=function(e){return e._repeat?Qe(e._tTime,e=e.duration()+e._rDelay)*e:0},Qe=function(e,t){var n=Math.floor(e/=t);return e&&n===e?n-1:n},Je=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ze=function(e){return e._end=Me(e._start+(e._tDur/Math.abs(e._ts||e._rts||H)||0))},et=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Me(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ze(e),n._dirty||Ye(n,e)),e},tt=function(e,t){var n;if((t._time||t._initted&&!t._dur)&&(n=Je(e.rawTime(),t),(!t._dur||mt(0,t.totalDuration(),n)-t._tTime>H)&&t.render(n,!0)),Ye(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},it=function(e,t,n,r){return t.parent&&qe(t),t._start=Me((Z(n)?n:n||e!==c?ht(e,n,t):e._time)+t._delay),t._end=Me(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),function(e,t,n,r,o){void 0===n&&(n="_first"),void 0===r&&(r="_last");var l,c=e[r];if(o)for(l=t[o];c&&c[o]>l;)c=c._prev;c?(t._next=c._next,c._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=c,t.parent=t._dp=e}(e,t,"_first","_last",e._sort?"_start":0),ot(t)||(e._recent=t),r||tt(e,t),e},nt=function(e,t){return(fe.ScrollTrigger||ve("scrollTrigger",t))&&fe.ScrollTrigger.create(t,e)},at=function(e,t,n,r){return ui(e,t),e._initted?!n&&e._pt&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&v!==$t.frame?(we.push(e),e._lazy=[t,r],1):void 0:1},st=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},ot=function(e){var data=e.data;return"isFromStart"===data||"isStart"===data},lt=function(e,t,n,r){var o=e._repeat,l=Me(t)||0,c=e._tTime/e._tDur;return c&&!r&&(e._time*=l/e._dur),e._dur=l,e._tDur=o?o<0?1e10:Me(l*(o+1)+e._rDelay*o):l,c>0&&!r?et(e,e._tTime=e._tDur*c):e.parent&&Ze(e),n||Ye(e.parent,e),e},ut=function(e){return e instanceof ni?Ye(e):lt(e,e._dur)},ct={_start:0,endTime:_e,totalDuration:_e},ht=function e(t,n,r){var i,o,l,c=t.labels,d=t._recent||ct,h=t.duration()>=$?d.endTime(!1):t._dur;return Q(n)&&(isNaN(n)||n in c)?(o=n.charAt(0),l="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?d._start:d.endTime(d._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(i<0?d:r).totalDuration()/100:1)):i<0?(n in c||(c[n]=h),c[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),l&&r&&(o=o/100*(se(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+o:h+o)):null==n?h:+n},pt=function(e,t,n){var r,o,l=Z(t[1]),c=(l?2:1)+(e<2?0:1),d=t[c];if(l&&(d.duration=t[1]),d.parent=n,e){for(r=d,o=n;o&&!("immediateRender"in r);)r=o.vars.defaults||{},o=ie(o.vars.inherit)&&o.parent;d.immediateRender=ie(r.immediateRender),e<2?d.runBackwards=1:d.startAt=t[c-1]}return new fi(t[0],d,t[c+1])},ft=function(e,t){return e||0===e?t(e):t},mt=function(e,t,n){return n<e?e:n>t?t:n},gt=function(e,t){return Q(e)&&(t=pe.exec(e))?e.substr(t.index+t[0].length):""},vt=[].slice,yt=function(e,t){return e&&te(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&te(e[0]))&&!e.nodeType&&e!==d},bt=function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){var r;return Q(e)&&!t||yt(e,1)?(r=n).push.apply(r,_t(e)):n.push(e)}))||n},_t=function(e,t,n){return!Q(e)||n||!h&&Ht()?se(e)?bt(e,n):yt(e)?vt.call(e,0):e?[e]:[]:vt.call((t||f).querySelectorAll(e),0)},Tt=function(a){return a.sort((function(){return.5-Math.random()}))},wt=function(e){if(J(e))return e;var t=te(e)?e:{each:e},n=Kt(t.ease),r=t.from||0,base=parseFloat(t.base)||0,o={},l=r>0&&r<1,c=isNaN(r)||l,d=t.axis,h=r,f=r;return Q(r)?h=f={center:.5,edges:.5,end:1}[r]||0:!l&&c&&(h=r[0],f=r[1]),function(i,e,a){var l,m,v,y,_,T,w,S,E,x=(a||t).length,k=o[x];if(!k){if(!(E="auto"===t.grid?0:(t.grid||[1,$])[1])){for(w=-$;w<(w=a[E++].getBoundingClientRect().left)&&E<x;);E--}for(k=o[x]=[],l=c?Math.min(E,x)*h-.5:r%E,m=E===$?0:c?x*f/E-.5:r/E|0,w=0,S=$,T=0;T<x;T++)v=T%E-l,y=m-(T/E|0),k[T]=_=d?Math.abs("y"===d?y:v):G(v*v+y*y),_>w&&(w=_),_<S&&(S=_);"random"===r&&Tt(k),k.max=w-S,k.min=S,k.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(E>x?x-1:d?"y"===d?x/E:E:Math.max(E,x/E))||0)*("edges"===r?-1:1),k.b=x<0?base-x:base,k.u=gt(t.amount||t.each)||0,n=n&&x<0?Gt(n):n}return x=(k[i]-k.min)/k.max||0,Me(k.b+(n?n(x):x)*k.v)+k.u}},St=function(e){var p=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var n=Math.round(parseFloat(t)/e)*e*p;return(n-n%1)/p+(Z(t)?0:gt(t))}},Et=function(e,t){var n,r,o=se(e);return!o&&te(e)&&(n=o=e.radius||$,e.values?(e=_t(e.values),(r=!Z(e[0]))&&(n*=n)):e=St(e.increment)),ft(t,o?J(e)?function(t){return r=e(t),Math.abs(r-t)<=n?r:t}:function(t){for(var o,l,c=parseFloat(r?t.x:t),d=parseFloat(r?t.y:0),h=$,f=0,i=e.length;i--;
vendor: 6,696 bytes, line 2
2)(o=r?(o=e[i].x-c)*o+(l=e[i].y-d)*l:Math.abs(e[i]-c))<h&&(h=o,f=i);return f=!n||h<=n?e[f]:t,r||f===t||Z(t)?f:f+gt(t)}:St(e))},xt=function(e,t,n,r){return ft(se(e)?!t:!0===n?!!(n=0):!r,(function(){return se(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r}))},kt=function(a,e,t){return ft(t,(function(t){return a[~~e(t)]}))},Ct=function(e){for(var i,t,n,r,o=0,s="";~(i=e.indexOf("random(",o));)n=e.indexOf(")",i),r="["===e.charAt(i+7),t=e.substr(i+7,n-i-7).match(r?he:oe),s+=e.substr(o,i-o)+xt(r?t:+t[0],r?0:+t[1],+t[2]||1e-5),o=n+1;return s+e.substr(o,e.length-o)},At=function(e,t,n,r,o){var l=t-e,c=r-n;return ft(o,(function(t){return n+((t-e)/l*c||0)}))},Ot=function(e,t,n){var p,r,label,o=e.labels,l=$;for(p in o)(r=o[p]-t)<0==!!n&&r&&l>(r=Math.abs(r))&&(label=p,l=r);return label},jt=function(e,t,n){var r,o,l=e.vars,c=l[t];if(c)return r=l[t+"Params"],o=l.callbackScope||e,n&&we.length&&Ne(),r?c.apply(o,r):c.call(o)},It=function(e){return qe(e),e.scrollTrigger&&e.scrollTrigger.kill(!1),e.progress()<1&&jt(e,"onInterrupt"),e},Pt=function(e){var t=(e=!e.name&&e.default||e).name,n=J(e),r=t&&!n&&e.init?function(){this._props=[]}:e,o={init:_e,render:Si,add:si,kill:xi,modifier:Ei,rawVars:0},l={targetTest:0,get:0,getSetter:bi,aliases:{},register:0};if(Ht(),e!==r){if(Ee[t])return;Fe(r,Fe(He(e,o),l)),ze(r.prototype,ze(o,He(e,l))),Ee[r.prop=t]=r,e.targetTest&&(Ce.push(r),Te[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}be(t,r),e.register&&e.register(Pi,r,Ai)},Lt=255,Mt={aqua:[0,Lt,Lt],lime:[0,Lt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Lt],navy:[0,0,128],white:[Lt,Lt,Lt],olive:[128,128,0],yellow:[Lt,Lt,0],orange:[Lt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Lt,0,0],pink:[Lt,192,203],cyan:[0,Lt,Lt],transparent:[Lt,Lt,Lt,0]},Dt=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*Lt+.5|0},Nt=function(e,t,n){var r,g,b,o,s,l,c,d,h,f,a=e?Z(e)?[e>>16,e>>8&Lt,e&Lt]:0:Mt.black;if(!a){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Mt[e])a=Mt[e];else if("#"===e.charAt(0)){if(e.length<6&&(r=e.charAt(1),g=e.charAt(2),b=e.charAt(3),e="#"+r+r+g+g+b+b+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(a=parseInt(e.substr(1,6),16))>>16,a>>8&Lt,a&Lt,parseInt(e.substr(7),16)/255];a=[(e=parseInt(e.substr(1),16))>>16,e>>8&Lt,e&Lt]}else if("hsl"===e.substr(0,3))if(a=f=e.match(oe),t){if(~e.indexOf("="))return a=e.match(le),n&&a.length<4&&(a[3]=1),a}else o=+a[0]%360/360,s=+a[1]/100,r=2*(l=+a[2]/100)-(g=l<=.5?l*(s+1):l+s-l*s),a.length>3&&(a[3]*=1),a[0]=Dt(o+1/3,r,g),a[1]=Dt(o,r,g),a[2]=Dt(o-1/3,r,g);else a=e.match(oe)||Mt.transparent;a=a.map(Number)}return t&&!f&&(r=a[0]/Lt,g=a[1]/Lt,b=a[2]/Lt,l=((c=Math.max(r,g,b))+(d=Math.min(r,g,b)))/2,c===d?o=s=0:(h=c-d,s=l>.5?h/(2-c-d):h/(c+d),o=c===r?(g-b)/h+(g<b?6:0):c===g?(b-r)/h+2:(r-g)/h+4,o*=60),a[0]=~~(o+.5),a[1]=~~(100*s+.5),a[2]=~~(100*l+.5)),n&&a.length<4&&(a[3]=1),a},Rt=function(e){var t=[],n=[],i=-1;return e.split(Ut).forEach((function(e){var a=e.match(ue)||[];t.push.apply(t,a),n.push(i+=a.length+1)})),t.c=n,t},Bt=function(s,e,t){var n,r,o,l,c="",d=(s+c).match(Ut),h=e?"hsla(":"rgba(",i=0;if(!d)return s;if(d=d.map((function(t){return(t=Nt(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),t&&(o=Rt(s),(n=t.c).join(c)!==o.c.join(c)))for(l=(r=s.replace(Ut,"1").split(ue)).length-1;i<l;i++)c+=r[i]+(~n.indexOf(i)?d.shift()||h+"0,0,0,0)":(o.length?o:d.length?d:t).shift());if(!r)for(l=(r=s.split(Ut)).length-1;i<l;i++)c+=r[i]+d[i];return c+r[l]},Ut=function(){var p,s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(p in Mt)s+="|"+p+"\\b";return new RegExp(s+")","gi")}(),Ft=/hsl[a]?\(/,zt=function(a){var e,t=a.join(" ");if(Ut.lastIndex=0,Ut.test(t))return e=Ft.test(t),a[1]=Bt(a[1],e),a[0]=Bt(a[0],e,Rt(a[1])),!0},$t=(C=Date.now,A=500,O=33,j=C(),I=j,L=P=1e3/240,D=function e(t){var n,r,time,o,l=C()-I,c=!0===t;if(l>A&&(j+=l-O),((n=(time=(I+=l)-j)-L)>0||c)&&(o=++E.frame,x=time-1e3*E.time,E.time=time/=1e3,L+=n+(n>=P?4:P-n),r=1),c||(T=w(e)),r)for(k=0;k<M.length;k++)M[k](time,x,o,t)},E={time:0,frame:0,tick:function(){D(!0)},deltaRatio:function(e){return x/(1e3/(e||60))},wake:function(){m&&(!h&&ne()&&(d=h=window,f=d.document||{},fe.gsap=Pi,(d.gsapVersions||(d.gsapVersions=[])).push(Pi.version),ge(me||d.GreenSockGlobals||!d.gsap&&d||{}),S=d.requestAnimationFrame),T&&E.sleep(),w=S||function(e){return setTimeout(e,L-1e3*E.time+1|0)},_=1,D(2))},sleep:function(){(S?d.cancelAnimationFrame:clearTimeout)(T),_=0,w=_e},lagSmoothing:function(e,t){A=e||1e8,O=Math.min(t,A,0)},fps:function(e){P=1e3/(e||240),L=1e3*E.time+P},add:function(e){M.indexOf(e)<0&&M.push(e),Ht()},remove:function(e,i){~(i=M.indexOf(e))&&M.splice(i,1)&&k>=i&&k--},_listeners:M=[]}),Ht=function(){return!_&&$t.wake()},Wt={},Vt=/^[\d.\-M][\d.\-,\s]/,qt=/["']/g,Yt=function(e){for(var t,n,r,o={},l=e.substr(1,e.length-3).split(":"),c=l[0],i=1,d=l.length;i<d;i++)n=l[i],t=i!==d-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),o[c]=isNaN(r)?r.replace(qt,"").trim():+r,c=n.substr(t+1).trim();return o},Gt=function(e){return function(p){return 1-e(1-p)}},Xt=function e(t,n){for(var r,o=t._first;o;)o instanceof ni?e(o,n):!o.vars.yoyoEase||o._yoyo&&o._repeat||o._yoyo===n||(o.timeline?e(o.timeline,n):(r=o._ease,o._ease=o._yEase,o._yEase=r,o._yoyo=n)),o=o._next},Kt=function(e,t){return e&&(J(e)?e:Wt[e]||function(e){var t,n,r,o,l=(e+"").split("("),c=Wt[l[0]];return c&&l.length>1&&c.config?c.config.apply(null,~e.indexOf("{")?[Yt(l[1])]:(t=e,n=t.indexOf("(")+1,r=t.indexOf(")"),o=t.indexOf("(",n),t.substring(n,~o&&o<r?t.indexOf(")",r+1):r)).split(",").map(Be)):Wt._CE&&Vt.test(e)?Wt._CE("",e):c}(e))||t},Qt=function(e,t,n,r){void 0===n&&(n=function(p){return 1-t(1-p)}),void 0===r&&(r=function(p){return p<.5?t(2*p)/2:1-t(2*(1-p))/2});var o,l={easeIn:t,easeOut:n,easeInOut:r};return Pe(e,(function(e){for(var p in Wt[e]=fe[e]=l,Wt[o=e.toLowerCase()]=n,l)Wt[o+("easeIn"===p?".in":"easeOut"===p?".out":".inOut")]=Wt[e+"."+p]=l[p]})),l},Jt=function(e){return function(p){return p<.5?(1-e(1-2*p))/2:.5+e(2*(p-.5))/2}},Zt=function e(t,n,r){var o=n>=1?n:1,l=(r||(t?.3:.45))/(n<1?n:1),c=l/W*(Math.asin(1/o)||0),d=function(p){return 1===p?1:o*Math.pow(2,-10*p)*K((p-c)*l)+1},h="out"===t?d:"in"===t?function(p){return 1-d(1-p)}:Jt(d);return l=W/l,h.config=function(n,r){return e(t,n,r)},h},ei=function e(t,n){void 0===n&&(n=1.70158);var r=function(p){return p?--p*p*((n+1)*p+n)+1:0},o="out"===t?r:"in"===t?function(p){return 1-r(1-p)}:Jt(r);return o.config=function(n){return e(t,n)},o};
vendor: 16,391 bytes, line 2
2Pe("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,i){var t=i<5?i+1:i;Qt(e+",Power"+(t-1),i?function(p){return Math.pow(p,t)}:function(p){return p},(function(p){return 1-Math.pow(1-p,t)}),(function(p){return p<.5?Math.pow(2*p,t)/2:1-Math.pow(2*(1-p),t)/2}))})),Wt.Linear.easeNone=Wt.none=Wt.Linear.easeIn,Qt("Elastic",Zt("in"),Zt("out"),Zt()),N=7.5625,B=1/(R=2.75),Qt("Bounce",(function(p){return 1-U(1-p)}),U=function(p){return p<B?N*p*p:p<.7272727272727273?N*Math.pow(p-1.5/R,2)+.75:p<.9090909090909092?N*(p-=2.25/R)*p+.9375:N*Math.pow(p-2.625/R,2)+.984375}),Qt("Expo",(function(p){return p?Math.pow(2,10*(p-1)):0})),Qt("Circ",(function(p){return-(G(1-p*p)-1)})),Qt("Sine",(function(p){return 1===p?1:1-X(p*V)})),Qt("Back",ei("in"),ei("out"),ei()),Wt.SteppedEase=Wt.steps=fe.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+(t?0:1),o=t?1:0;return function(p){return((r*mt(0,.99999999,p)|0)+o)*n}}},z.ease=Wt["quad.out"],Pe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return Ae+=e+","+e+"Params,"}));var ti=function(e,t){this.id=Y++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ie,this.set=t?t.getSetter:bi},ii=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,lt(this,+e.duration,1,1),this.data=e.data,_||$t.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,lt(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Ht(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(et(this,e),!n._dp||n.parent||tt(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&it(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===H||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Re(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ke(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Ke(this),t):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Qe(this._tTime,n)+1:1},t.timeScale=function(e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var t=this.parent&&this._ts?Je(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,Ge(this.totalTime(mt(-this._delay,this._tDur,t),!0)),Ze(this),this},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ht(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==H&&(this._tTime-=H)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&it(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(ie(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Je(t.rawTime(e),this):this._tTime:this._tTime},t.globalTime=function(e){for(var t=this,time=arguments.length?e:t.rawTime();t;)time=t._start+time/(t._ts||1),t=t._dp;return time},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,ut(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var time=this._time;return this._rDelay=e,ut(this),time?this.time(time):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(ht(this,e),ie(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,ie(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-H))},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this;return new Promise((function(n){var r=J(e)?e:Ue,o=function(){var e=t.then;t.then=null,J(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),n(r),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?o():t._prom=o}))},t.kill=function(){It(this)},e}();Fe(ii.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var ni=function(e){function t(t,n){var o;return void 0===t&&(t={}),(o=e.call(this,t)||this).labels={},o.smoothChildTiming=!!t.smoothChildTiming,o.autoRemoveChildren=!!t.autoRemoveChildren,o._sort=ie(t.sortChildren),c&&it(t.parent||c,r(o),n),t.reversed&&o.reverse(),t.paused&&o.paused(!0),t.scrollTrigger&&nt(r(o),t.scrollTrigger),o}o(t,e);var n=t.prototype;return n.to=function(e,t,n){return pt(0,arguments,this),this},n.from=function(e,t,n){return pt(1,arguments,this),this},n.fromTo=function(e,t,n,r){return pt(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,We(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new fi(e,t,ht(this,n),1),this},n.call=function(e,t,n){return it(this,fi.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,o,l,c){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=l,n.onCompleteParams=c,n.parent=this,new fi(e,n,ht(this,o)),this},n.staggerFrom=function(e,t,n,r,o,l,c){return n.runBackwards=1,We(n).immediateRender=ie(n.immediateRender),this.staggerTo(e,t,n,r,o,l,c)},n.staggerFromTo=function(e,t,n,r,o,l,c,d){return r.startAt=n,We(r).immediateRender=ie(r.immediateRender),this.staggerTo(e,t,r,o,l,c,d)},n.render=function(e,t,n){var time,r,o,l,d,h,f,m,v,y,_,T,w=this._time,S=this._dirty?this.totalDuration():this._tDur,E=this._dur,x=e<=0?0:Me(e),k=this._zTime<0!=e<0&&(this._initted||!E);if(this!==c&&x>S&&e>=0&&(x=S),x!==this._tTime||n||k){if(w!==this._time&&E&&(x+=this._time-w,e+=this._time-w),time=x,v=this._start,h=!(m=this._ts),k&&(E||(w=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(_=this._yoyo,d=E+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*d+e,t,n);if(time=Me(x%d),x===S?(l=this._repeat,time=E):((l=~~(x/d))&&l===x/d&&(time=E,l--),time>E&&(time=E)),y=Qe(this._tTime,d),!w&&this._tTime&&y!==l&&(y=l),_&&1&l&&(time=E-time,T=1),l!==y&&!this._lock){var C=_&&1&y,A=C===(_&&1&l);if(l<y&&(C=!C),w=C?0:E,this._lock=1,this.render(w||(T?0:Me(l*d)),t,!E)._lock=0,this._tTime=x,!t&&this.parent&&jt(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1),w&&w!==this._time||h!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(E=this._dur,S=this._tDur,A&&(this._lock=2,w=C?E:-1e-4,this.render(w,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!h)return this;Xt(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(f=function(e,t,time){var n;if(time>t)for(n=e._first;n&&n._start<=time;){if("isPause"===n.data&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=time;){if("isPause"===n.data&&n._start<t)return n;n=n._prev}}(this,Me(w),Me(time)),f&&(x-=time-(time=f._start))),this._tTime=x,this._time=time,this._act=!m,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,w=0),!w&&time&&!t&&(jt(this,"onStart"),this._tTime!==x))return this;if(time>=w&&e>=0)for(r=this._first;r;){if(o=r._next,(r._act||time>=r._start)&&r._ts&&f!==r){if(r.parent!==this)return this.render(e,t,n);if(r.render(r._ts>0?(time-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(time-r._start)*r._ts,t,n),time!==this._time||!this._ts&&!h){f=0,o&&(x+=this._zTime=-1e-8);break}}r=o}else{r=this._last;for(var O=e<0?e:time;r;){if(o=r._prev,(r._act||O<=r._end)&&r._ts&&f!==r){if(r.parent!==this)return this.render(e,t,n);if(r.render(r._ts>0?(O-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(O-r._start)*r._ts,t,n),time!==this._time||!this._ts&&!h){f=0,o&&(x+=this._zTime=O?-1e-8:H);break}}r=o}}if(f&&!t&&(this.pause(),f.render(time>=w?0:-1e-8)._zTime=time>=w?1:-1,this._ts))return this._start=v,Ze(this),this.render(e,t,n);this._onUpdate&&!t&&jt(this,"onUpdate",!0),(x===S&&S>=this.totalDuration()||!x&&w)&&(v!==this._start&&Math.abs(m)===Math.abs(this._ts)||this._lock||((e||!E)&&(x===S&&this._ts>0||!x&&this._ts<0)&&qe(this,1),t||e<0&&!w||!x&&!w&&S||(jt(this,x===S&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x<S&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Z(t)||(t=ht(this,t,e)),!(e instanceof ii)){if(se(e))return e.forEach((function(e){return n.add(e,t)})),this;if(Q(e))return this.addLabel(e,t);if(!J(e))return this;e=fi.delayedCall(0,e)}return this!==e?it(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-$);for(var a=[],o=this._first;o;)o._start>=r&&(o instanceof fi?t&&a.push(o):(n&&a.push(o),e&&a.push.apply(a,o.getChildren(!0,t,n)))),o=o._next;return a},n.getById=function(e){for(var t=this.getChildren(1,1,1),i=t.length;i--;)if(t[i].vars.id===e)return t[i]},n.remove=function(e){return Q(e)?this.removeLabel(e):J(e)?this.killTweensOf(e):(Ve(this,e),e===this._recent&&(this._recent=this._last),Ye(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Me($t.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(label,e){return this.labels[label]=ht(this,e),this},n.removeLabel=function(label){return delete this.labels[label],this},n.addPause=function(e,t,n){var r=fi.delayedCall(0,t||_e,n);return r.data="isPause",this._hasPause=1,it(this,r,ht(this,e))},n.removePause=function(e){var t=this._first;for(e=ht(this,e);t;)t._start===e&&"isPause"===t.data&&qe(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)ri!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,a=[],r=_t(e),o=this._first,l=Z(t);o;)o instanceof fi?De(o._targets,r)&&(l?(!ri||o._initted&&o._ts)&&o.globalTime(0)<=t&&o.globalTime(o.totalDuration())>t:!t||o.isActive())&&a.push(o):(n=o.getTweensOf(r,t)).length&&a.push.apply(a,n),o=o._next;return a},n.tweenTo=function(e,t){t=t||{};var n,r=this,o=ht(r,e),l=t,c=l.startAt,d=l.onStart,h=l.onStartParams,f=l.immediateRender,m=fi.to(r,Fe({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:t.duration||Math.abs((o-(c&&"time"in c?c.time:r._time))/r.timeScale())||H,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((o-(c&&"time"in c?c.time:r._time))/r.timeScale());m._dur!==e&&lt(m,e,0,1).render(m._time,!0,!0),n=1}d&&d.apply(m,h||[])}},t));return f?m.render(0):m},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Fe({startAt:{time:ht(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),Ot(this,ht(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),Ot(this,ht(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+H)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var p,r=this._first,o=this.labels;r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(p in o)o[p]>=n&&(o[p]+=e);return Ye(this)},n.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Ye(this)},n.totalDuration=function(e){var t,n,r,o=0,l=this,d=l._last,h=$;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-e:e));if(l._dirty){for(r=l.parent;d;)t=d._prev,d._dirty&&d.totalDuration(),(n=d._start)>h&&l._sort&&d._ts&&!l._lock?(l._lock=1,it(l,d,n-d._delay,1)._lock=0):h=n,n<0&&d._ts&&(o-=n,(!r&&!l._dp||r&&r.smoothChildTiming)&&(l._start+=n/l._ts,l._time-=n,l._tTime-=n),l.shiftChildren(-n,!1,-Infinity),h=0),d._end>o&&d._ts&&(o=d._end),d=t;lt(l,l===c&&l._time>o?l._time:o,1,1),l._dirty=0}return l._tDur},t.updateRoot=function(time){if(c._ts&&(Re(c,Je(time,c)),v=$t.frame),$t.frame>=ke){ke+=F.autoSleep||120;var e=c._first;if((!e||!e._ts)&&F.autoSleep&&$t._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||$t.sleep()}}},t}(ii);Fe(ni.prototype,{_lock:0,_hasPause:0,_forcing:0});var ri,ai=function(e,t,n,r,o,l,c){var d,h,f,m,v,y,_,a,T=new Ai(this._pt,e,t,0,1,wi,null,o),w=0,S=0;for(T.b=n,T.e=r,n+="",(_=~(r+="").indexOf("random("))&&(r=Ct(r)),l&&(l(a=[n,r],e,t),n=a[0],r=a[1]),h=n.match(ce)||[];d=ce.exec(r);)m=d[0],v=r.substring(w,d.index),f?f=(f+1)%5:"rgba("===v.substr(-5)&&(f=1),m!==h[S++]&&(y=parseFloat(h[S-1])||0,T._pt={_next:T._pt,p:v||1===S?v:",",s:y,c:"="===m.charAt(1)?parseFloat(m.substr(2))*("-"===m.charAt(0)?-1:1):parseFloat(m)-y,m:f&&f<4?Math.round:0},w=ce.lastIndex);return T.c=w<r.length?r.substring(w,r.length):"",T.fp=c,(de.test(r)||_)&&(T.e=0),this._pt=T,T},si=function(e,t,n,r,o,l,c,d,h){J(r)&&(r=r(o||0,e,l));var f,m=e[t],v="get"!==n?n:J(m)?h?e[t.indexOf("set")||!J(e["get"+t.substr(3)])?t:"get"+t.substr(3)](h):e[t]():m,y=J(m)?h?vi:gi:mi;if(Q(r)&&(~r.indexOf("random(")&&(r=Ct(r)),"="===r.charAt(1)&&((f=parseFloat(v)+parseFloat(r.substr(2))*("-"===r.charAt(0)?-1:1)+(gt(v)||0))||0===f)&&(r=f)),v!==r)return isNaN(v*r)||""===r?(!m&&!(t in e)&&ve(t,r),ai.call(this,e,t,v,r,y,d||F.stringFilter,h)):(f=new Ai(this._pt,e,t,+v||0,r-(v||0),"boolean"==typeof m?Ti:_i,0,y),h&&(f.fp=h),c&&f.modifier(c,this,e),this._pt=f)},oi=function(e,t,n,r,o,l){var c,d,h,i;if(Ee[e]&&!1!==(c=new Ee[e]).init(o,c.rawVars?t[e]:function(e,t,n,r,o){if(J(e)&&(e=di(e,o,t,n,r)),!te(e)||e.style&&e.nodeType||se(e)||ae(e))return Q(e)?di(e,o,t,n,r):e;var p,l={};for(p in e)l[p]=di(e[p],o,t,n,r);return l}(t[e],r,o,l,n),n,r,l)&&(n._pt=d=new Ai(n._pt,o,e,0,1,c.render,c,0,c.priority),n!==y))for(h=n._ptLookup[n._targets.indexOf(o)],i=c._props.length;i--;)h[c._props[i]]=d;return c},ui=function e(t,time){var n,i,p,r,o,d,h,f,m,v,y,_,T,w=t.vars,S=w.ease,E=w.startAt,x=w.immediateRender,k=w.lazy,C=w.onUpdate,A=w.onUpdateParams,O=w.callbackScope,j=w.runBackwards,I=w.yoyoEase,P=w.keyframes,L=w.autoRevert,M=t._dur,D=t._startAt,N=t._targets,R=t.parent,B=R&&"nested"===R.data?R.parent._targets:N,U="auto"===t._overwrite&&!l,F=t.timeline;if(F&&(!P||!S)&&(S="none"),t._ease=Kt(S,z.ease),t._yEase=I?Gt(Kt(!0===I?S:I,z.ease)):0,I&&t._yoyo&&!t._repeat&&(I=t._yEase,t._yEase=t._ease,t._ease=I
2),t._from=!F&&!!w.runBackwards,!F||P&&!w.stagger){if(_=(f=N[0]?je(N[0]).harness:0)&&w[f.prop],n=He(w,Te),D&&qe(D.render(-1,!0)),E)if(qe(t._startAt=fi.set(N,Fe({data:"isStart",overwrite:!1,parent:R,immediateRender:!0,lazy:ie(k),startAt:null,delay:0,onUpdate:C,onUpdateParams:A,callbackScope:O,stagger:0},E))),time<0&&!x&&!L&&t._startAt.render(-1,!0),x){if(time>0&&!L&&(t._startAt=0),M&&time<=0)return void(time&&(t._zTime=time))}else!1===L&&(t._startAt=0);else if(j&&M)if(D)!L&&(t._startAt=0);else if(time&&(x=!1),p=Fe({overwrite:!1,data:"isFromStart",lazy:x&&ie(k),immediateRender:x,stagger:0,parent:R},n),_&&(p[f.prop]=_),qe(t._startAt=fi.set(N,p)),time<0&&t._startAt.render(-1,!0),t._zTime=time,x){if(!time)return}else e(t._startAt,H);for(t._pt=0,k=M&&ie(k)||k&&!M,i=0;i<N.length;i++){if(h=(o=N[i])._gsap||Oe(N)[i]._gsap,t._ptLookup[i]=v={},Se[h.id]&&we.length&&Ne(),y=B===N?i:B.indexOf(o),f&&!1!==(m=new f).init(o,_||n,t,y,B)&&(t._pt=r=new Ai(t._pt,o,m.name,0,1,m.render,m,0,m.priority),m._props.forEach((function(e){v[e]=r})),m.priority&&(d=1)),!f||_)for(p in n)Ee[p]&&(m=oi(p,n,t,y,o,B))?m.priority&&(d=1):v[p]=r=si.call(t,o,p,"get",n[p],y,B,0,w.stringFilter);t._op&&t._op[i]&&t.kill(o,t._op[i]),U&&t._pt&&(ri=t,c.killTweensOf(o,v,t.globalTime(time)),T=!t.parent,ri=0),t._pt&&k&&(Se[h.id]=1)}d&&Ci(t),t._onInit&&t._onInit(t)}t._onUpdate=C,t._initted=(!t._op||t._pt)&&!T,P&&time<=0&&F.render($,!0,!0)},ci=function(e,t,n,r){var p,a,o=t.ease||r||"power1.inOut";if(se(t))a=n[e]||(n[e]=[]),t.forEach((function(e,i){return a.push({t:i/(t.length-1)*100,v:e,e:o})}));else for(p in t)a=n[p]||(n[p]=[]),"ease"===p||a.push({t:parseFloat(e),v:t[p],e:o})},di=function(e,t,i,n,r){return J(e)?e.call(t,i,n,r):Q(e)&&~e.indexOf("random(")?Ct(e):e},hi=Ae+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",pi={};Pe(hi+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return pi[e]=1}));var fi=function(e){function t(t,n,o,d){var h;"number"==typeof n&&(o.duration=n,n=o,o=null);var f,i,m,v,p,y,_,T,w=(h=e.call(this,d?n:We(n))||this).vars,S=w.duration,E=w.delay,x=w.immediateRender,k=w.stagger,C=w.overwrite,A=w.keyframes,O=w.defaults,j=w.scrollTrigger,I=w.yoyoEase,P=n.parent||c,L=(se(t)||ae(t)?Z(t[0]):"length"in n)?[t]:_t(t);if(h._targets=L.length?Oe(L):ye("GSAP target "+t+" not found. https://greensock.com",!F.nullTargetWarn)||[],h._ptLookup=[],h._overwrite=C,A||k||re(S)||re(E)){if(n=h.vars,(f=h.timeline=new ni({data:"nested",defaults:O||{}})).kill(),f.parent=f._dp=r(h),f._start=0,k||re(S)||re(E)){if(v=L.length,_=k&&wt(k),te(k))for(p in k)~hi.indexOf(p)&&(T||(T={}),T[p]=k[p]);for(i=0;i<v;i++)(m=He(n,pi)).stagger=0,I&&(m.yoyoEase=I),T&&ze(m,T),y=L[i],m.duration=+di(S,r(h),i,y,L),m.delay=(+di(E,r(h),i,y,L)||0)-h._delay,!k&&1===v&&m.delay&&(h._delay=E=m.delay,h._start+=E,m.delay=0),f.to(y,m,_?_(i,y,L):0),f._ease=Wt.none;f.duration()?S=E=0:h.timeline=0}else if(A){We(Fe(f.vars.defaults,{ease:"none"})),f._ease=Kt(A.ease||n.ease||"none");var a,M,D,time=0;if(se(A))A.forEach((function(e){return f.to(L,e,">")}));else{for(p in m={},A)"ease"===p||"easeEach"===p||ci(p,A[p],m,A.easeEach);for(p in m)for(a=m[p].sort((function(a,b){return a.t-b.t})),time=0,i=0;i<a.length;i++)(D={ease:(M=a[i]).e,duration:(M.t-(i?a[i-1].t:0))/100*S})[p]=M.v,f.to(L,D,time),time+=D.duration;f.duration()<S&&f.to({},{duration:S-f.duration()})}}S||h.duration(S=f.duration())}else h.timeline=0;return!0!==C||l||(ri=r(h),c.killTweensOf(L),ri=0),it(P,r(h),o),n.reversed&&h.reverse(),n.paused&&h.paused(!0),(x||!S&&!A&&h._start===Me(P._time)&&ie(x)&&Xe(r(h))&&"nested"!==P.data)&&(h._tTime=-1e-8,h.render(Math.max(0,-E))),j&&nt(r(h),j),h}o(t,e);var n=t.prototype;return n.render=function(e,t,n){var time,r,o,l,c,d,h,f,m,v=this._time,y=this._tDur,_=this._dur,T=e>y-H&&e>=0?y:e<H?0:e;if(_){if(T!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=e<0){if(time=T,f=this.timeline,this._repeat){if(l=_+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*l+e,t,n);if(time=Me(T%l),T===y?(o=this._repeat,time=_):((o=~~(T/l))&&o===T/l&&(time=_,o--),time>_&&(time=_)),(d=this._yoyo&&1&o)&&(m=this._yEase,time=_-time),c=Qe(this._tTime,l),time===v&&!n&&this._initted)return this;o!==c&&(f&&this._yEase&&Xt(f,d),!this.vars.repeatRefresh||d||this._lock||(this._lock=n=1,this.render(Me(l*o),!0).invalidate()._lock=0))}if(!this._initted){if(at(this,e<0?e:time,n,t))return this._tTime=0,this;if(_!==this._dur)return this.render(e,t,n)}if(this._tTime=T,this._time=time,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(m||this._ease)(time/_),this._from&&(this.ratio=h=1-h),time&&!v&&!t&&(jt(this,"onStart"),this._tTime!==T))return this;for(r=this._pt;r;)r.r(h,r.d),r=r._next;f&&f.render(e<0?e:!time&&d?-1e-8:f._dur*f._ease(time/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(e<0&&this._startAt&&this._startAt.render(e,!0,n),jt(this,"onUpdate")),this._repeat&&o!==c&&this.vars.onRepeat&&!t&&this.parent&&jt(this,"onRepeat"),T!==this._tDur&&T||this._tTime!==T||(e<0&&this._startAt&&!this._onUpdate&&this._startAt.render(e,!0,!0),(e||!_)&&(T===this._tDur&&this._ts>0||!T&&this._ts<0)&&qe(this,1),t||e<0&&!v||!T&&!v||(jt(this,T===y?"onComplete":"onReverseComplete",!0),this._prom&&!(T<y&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,r){var o,l,c,d=e.ratio,h=t<0||!t&&(!e._start&&st(e)&&(e._initted||!ot(e))||(e._ts<0||e._dp._ts<0)&&!ot(e))?0:1,f=e._rDelay,m=0;if(f&&e._repeat&&(m=mt(0,e._tDur,t),l=Qe(m,f),e._yoyo&&1&l&&(h=1-h),l!==Qe(e._tTime,f)&&(d=1-h,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 22,790 bytes, line 2
2date())),h!==d||r||e._zTime===H||!t&&e._zTime){if(!e._initted&&at(e,t,r,n))return;for(c=e._zTime,e._zTime=t||(n?H:0),n||(n=t&&!c),e.ratio=h,e._from&&(h=1-h),e._time=0,e._tTime=m,o=e._pt;o;)o.r(h,o.d),o=o._next;e._startAt&&t<0&&e._startAt.render(t,!0,!0),e._onUpdate&&!n&&jt(e,"onUpdate"),m&&e._repeat&&!n&&e.parent&&jt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===h&&(h&&qe(e,1),n||(jt(e,h?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),e.prototype.invalidate.call(this)},n.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?It(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,ri&&!0!==ri.vars.overwrite)._first||It(this),this.parent&&n!==this.timeline.totalDuration()&&lt(this,this._dur*this.timeline._tDur/n,0,1),this}var r,o,l,c,p,d,i,h=this._targets,f=e?_t(e):h,m=this._ptLookup,v=this._pt;if((!t||"all"===t)&&function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0}(h,f))return"all"===t&&(this._pt=0),It(this);for(r=this._op=this._op||[],"all"!==t&&(Q(t)&&(p={},Pe(t,(function(e){return p[e]=1})),t=p),t=function(e,t){var n,p,i,r,o=e[0]?je(e[0]).harness:0,l=o&&o.aliases;if(!l)return t;for(p in n=ze({},t),l)if(p in n)for(i=(r=l[p].split(",")).length;i--;)n[r[i]]=n[p];return n}(h,t)),i=h.length;i--;)if(~f.indexOf(h[i]))for(p in o=m[i],"all"===t?(r[i]=t,c=o,l={}):(l=r[i]=r[i]||{},c=t),c)(d=o&&o[p])&&("kill"in d.d&&!0!==d.d.kill(p)||Ve(this,d,"_pt"),delete o[p]),"all"!==l&&(l[p]=1);return this._initted&&!this._pt&&v&&It(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return pt(1,arguments)},t.delayedCall=function(e,n,r,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:o})},t.fromTo=function(e,t,n){return pt(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return c.killTweensOf(e,t,n)},t}(ii);Fe(fi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Pe("staggerTo,staggerFrom,staggerFromTo",(function(e){fi[e]=function(){var t=new ni,n=vt.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var mi=function(e,t,n){return e[t]=n},gi=function(e,t,n){return e[t](n)},vi=function(e,t,n,data){return e[t](data.fp,n)},yi=function(e,t,n){return e.setAttribute(t,n)},bi=function(e,t){return J(e[t])?gi:ee(e[t])&&e.setAttribute?yi:mi},_i=function(e,data){return data.set(data.t,data.p,Math.round(1e6*(data.s+data.c*e))/1e6,data)},Ti=function(e,data){return data.set(data.t,data.p,!!(data.s+data.c*e),data)},wi=function(e,data){var t=data._pt,s="";if(!e&&data.b)s=data.b;else if(1===e&&data.e)s=data.e;else{for(;t;)s=t.p+(t.m?t.m(t.s+t.c*e):Math.round(1e4*(t.s+t.c*e))/1e4)+s,t=t._next;s+=data.c}data.set(data.t,data.p,s,data)},Si=function(e,data){for(var t=data._pt;t;)t.r(e,t.d),t=t._next},Ei=function(e,t,n,r){for(var o,l=this._pt;l;)o=l._next,l.p===r&&l.modifier(e,t,n),l=o},xi=function(e){for(var t,n,r=this._pt;r;)n=r._next,r.p===e&&!r.op||r.op===e?Ve(this,r,"_pt"):r.dep||(t=1),r=n;return!t},ki=function(e,t,n,data){data.mSet(e,t,data.m.call(data.tween,n,data.mt),data)},Ci=function(e){for(var t,n,r,o,l=e._pt;l;){for(t=l._next,n=r;n&&n.pr>l.pr;)n=n._next;(l._prev=n?n._prev:o)?l._prev._next=l:r=l,(l._next=n)?n._prev=l:o=l,l=t}e._pt=r},Ai=function(){function e(e,t,n,r,o,l,data,c,d){this.t=t,this.s=r,this.c=o,this.p=n,this.r=l||_i,this.d=data||this,this.set=c||mi,this.pr=d||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=ki,this.m=e,this.mt=n,this.tween=t},e}();Pe(Ae+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return Te[e]=1})),fe.TweenMax=fe.TweenLite=fi,fe.TimelineLite=fe.TimelineMax=ni,c=new ni({sortChildren:!1,defaults:z,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),F.stringFilter=zt;var Oi={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return Pt(e)}))},timeline:function(e){return new ni(e)},getTweensOf:function(e,t){return c.getTweensOf(e,t)},getProperty:function(e,t,n,r){Q(e)&&(e=_t(e)[0]);var o=je(e||{}).get,l=n?Ue:Be;return"native"===n&&(n=""),e?t?l((Ee[t]&&Ee[t].get||o)(e,t,n,r)):function(t,n,r){return l((Ee[t]&&Ee[t].get||o)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=_t(e)).length>1){var r=e.map((function(e){return Pi.quickSetter(e,t,n)})),o=r.length;return function(e){for(var i=o;i--;)r[i](e)}}e=e[0]||{};var l=Ee[t],c=je(e),p=c.harness&&(c.harness.aliases||{})[t]||t,d=l?function(t){var p=new l;y._pt=0,p.init(e,n?t+n:t,y,0,[e]),p.render(1,p),y._pt&&Si(1,y)}:c.set(e,p);return l?d:function(t){return d(e,p,n?t+n:t,c,1)}},isTweening:function(e){return c.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Kt(e.ease,z.ease)),$e(z,e||{})},config:function(e){return $e(F,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,o=e.defaults,l=e.extendTimeline;(r||"").split(",").forEach((function(e){return e&&!Ee[e]&&!fe[e]&&ye(t+" effect requires "+e+" plugin.")})),xe[t]=function(e,t,r){return n(_t(e),Fe(t||{},o),r)},l&&(ni.prototype[t]=function(e,n,r){return this.add(xe[t](e,te(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Wt[e]=Kt(t)},parseEase:function(e,t){return arguments.length?Kt(e,t):Wt},getById:function(e){return c.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,o=new ni(e);for(o.smoothChildTiming=ie(e.smoothChildTiming),c.remove(o),o._dp=0,o._time=o._tTime=c._time,n=c._first;n;)r=n._next,!t&&!n._dur&&n instanceof fi&&n.vars.onComplete===n._targets[0]||it(o,n,n._start-n._delay),n=r;return it(c,o,0),o},utils:{wrap:function e(t,n,r){var o=n-t;return se(t)?kt(t,e(0,t.length),n):ft(r,(function(e){return(o+(e-t)%o)%o+t}))},wrapYoyo:function e(t,n,r){var o=n-t,l=2*o;return se(t)?kt(t,e(0,t.length-1),n):ft(r,(function(e){return t+((e=(l+(e-t)%l)%l||0)>o?l-e:e)}))},distribute:wt,random:xt,snap:Et,normalize:function(e,t,n){return At(e,t,0,1,n)},getUnit:gt,clamp:function(e,t,n){return ft(n,(function(n){return mt(e,t,n)}))},splitColor:Nt,toArray:_t,selector:function(e){return e=_t(e)[0]||ye("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return _t(t,n.querySelectorAll?n:n===e?ye("Invalid scope")||f.createElement("div"):e)}},mapRange:At,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||gt(n))}},interpolate:function e(t,n,progress,r){var o=isNaN(t+n)?0:function(p){return(1-p)*t+p*n};if(!o){var p,i,l,c,d,h=Q(t),f={};if(!0===progress&&(r=1)&&(progress=null),h)t={p:t},n={p:n};else if(se(t)&&!se(n)){for(l=[],c=t.length,d=c-2,i=1;i<c;i++)l.push(e(t[i-1],t[i]));c--,o=function(p){p*=c;var i=Math.min(d,~~p);return l[i](p-i)},progress=n}else r||(t=ze(se(t)?[]:{},t));if(!l){for(p in n)si.call(f,t,p,"get",n[p]);o=function(p){return Si(p,f)||(h?t.p:t)}}}return ft(progress,o)},shuffle:Tt},install:ge,effects:xe,ticker:$t,updateRoot:ni.updateRoot,plugins:Ee,globalTimeline:c,core:{PropTween:Ai,globals:be,Tween:fi,Timeline:ni,Animation:ii,getCache:je,_removeLinkedListItem:Ve,suppressOverwrites:function(e){return l=e}}};Pe("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return Oi[e]=fi[e]})),$t.add(ni.updateRoot),y=Oi.to({},{duration:0});var ji=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Ii=function(e,t){return{name:e,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,p;if(Q(n)&&(r={},Pe(n,(function(e){return r[e]=1})),n=r),t){for(p in r={},n)r[p]=t(n[p]);n=r}!function(e,t){var p,i,n,r=e._targets;for(p in t)for(i=r.length;i--;)(n=e._ptLookup[i][p])&&(n=n.d)&&(n._pt&&(n=ji(n,p)),n&&n.modifier&&n.modifier(t[p],e,r[i],p))}(e,n)}}}},Pi=Oi.registerPlugin({name:"attr",init:function(e,t,n,r,o){var p,l;for(p in t)(l=this.add(e,"setAttribute",(e.getAttribute(p)||0)+"",t[p],r,o,0,0,p))&&(l.op=p),this._props.push(p)}},{name:"endArray",init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i])}},Ii("roundProps",St),Ii("modifiers"),Ii("snap",Et))||Oi;fi.version=ni.version=Pi.version="3.9.1",m=1,ne()&&Ht();Wt.Power0,Wt.Power1,Wt.Power2,Wt.Power3,Wt.Power4,Wt.Linear,Wt.Quad,Wt.Cubic,Wt.Quart,Wt.Quint,Wt.Strong,Wt.Elastic,Wt.Back,Wt.SteppedEase,Wt.Bounce,Wt.Sine,Wt.Expo,Wt.Circ;var Li,Mi,Di,Ni,Ri,Bi,Ui,Fi={},zi=180/Math.PI,$i=Math.PI/180,Hi=Math.atan2,Wi=/([A-Z])/g,Vi=/(?:left|right|width|margin|padding|x)/i,qi=/[\s,\(]\S/,Yi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Gi=function(e,data){return data.set(data.t,data.p,Math.round(1e4*(data.s+data.c*e))/1e4+data.u,data)},Xi=function(e,data){return data.set(data.t,data.p,1===e?data.e:Math.round(1e4*(data.s+data.c*e))/1e4+data.u,data)},Ki=function(e,data){return data.set(data.t,data.p,e?Math.round(1e4*(data.s+data.c*e))/1e4+data.u:data.b,data)},Qi=function(e,data){var t=data.s+data.c*e;data.set(data.t,data.p,~~(t+(t<0?-.5:.5))+data.u,data)},Ji=function(e,data){return data.set(data.t,data.p,e?data.e:data.b,data)},Zi=function(e,data){return data.set(data.t,data.p,1!==e?data.b:data.e,data)},en=function(e,t,n){return e.style[t]=n},tn=function(e,t,n){return e.style.setProperty(t,n)},nn=function(e,t,n){return e._gsap[t]=n},rn=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},an=function(e,t,n,data,r){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(r,o)},sn=function(e,t,n,data,r){var o=e._gsap;o[t]=n,o.renderTransform(r,o)},on="transform",ln=on+"Origin",un=function(e,t){var n=Mi.createElementNS?Mi.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Mi.createElement(e);return n.style?n:Mi.createElement(e)},cn=function e(t,n,r){var o=getComputedStyle(t);return o[n]||o.getPropertyValue(n.replace(Wi,"-$1").toLowerCase())||o.getPropertyValue(n)||!r&&e(t,hn(n)||n,1)||""},dn="O,Moz,ms,Ms,Webkit".split(","),hn=function(e,element,t){var s=(element||Ri).style,i=5;if(e in s&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(dn[i]+e in s););return i<0?null:(3===i?"ms":i>=0?dn[i]:"")+e},pn=function(){"undefined"!=typeof window&&window.document&&(Li=window,Mi=Li.document,Di=Mi.documentElement,Ri=un("div")||{style:{}},un("div"),on=hn(on),ln=on+"Origin",Ri.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ui=!!hn("perspective"),Ni=1)},fn=function e(t){var n,svg=un("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,o=this.nextSibling,l=this.style.cssText;if(Di.appendChild(svg),svg.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&&(n=this._gsapBBox());return r&&(o?r.insertBefore(this,o):r.appendChild(this)),Di.removeChild(svg),this.style.cssText=l,n},mn=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},gn=function(e){var t;try{t=e.getBBox()}catch(n){t=fn.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===fn||(t=fn.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+mn(e,["x","cx","x1"])||0,y:+mn(e,["y","cy","y1"])||0,width:0,height:0}},vn=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!gn(e))},yn=function(e,t){if(t){var style=e.style;t in Fi&&t!==ln&&(t=on),style.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),style.removeProperty(t.replace(Wi,"-$1").toLowerCase())):style.removeAttribute(t)}},bn=function(e,t,n,r,o,l){var c=new Ai(e._pt,t,n,0,1,l?Zi:Ji);return e._pt=c,c.b=r,c.e=o,e._props.push(n),c},_n={deg:1,rad:1,turn:1},Tn=function e(t,n,r,o){var l,c,d,h,f=parseFloat(r)||0,m=(r+"").trim().substr((f+"").length)||"px",style=Ri.style,v=Vi.test(n),y="svg"===t.tagName.toLowerCase(),_=(y?"client":"offset")+(v?"Width":"Height"),T=100,w="px"===o,S="%"===o;return o===m||!f||_n[o]||_n[m]?f:("px"!==m&&!w&&(f=e(t,n,r,"px")),h=t.getCTM&&vn(t),!S&&"%"!==m||!Fi[n]&&!~n.indexOf("adius")?(style[v?"width":"height"]=T+(w?m:o),c=~n.indexOf("adius")||"em"===o&&t.appendChild&&!y?t:t.parentNode,h&&(c=(t.ownerSVGElement||{}).parentNode),c&&c!==Mi&&c.appendChild||(c=Mi.body),(d=c._gsap)&&S&&d.width&&v&&d.time===$t.time?Le(f/d.width*T):((S||"%"===m)&&(style.position=cn(t,"position")),c===t&&(style.position="static"),c.appendChild(Ri),l=Ri[_],c.removeChild(Ri),style.position="absolute",v&&S&&((d=je(c)).time=$t.time,d.width=c[_]),Le(w?l*f/T:l&&f?T/l*f:0))):(l=h?t.getBBox()[v?"width":"height"]:t[_],Le(S?f/l*T:f/100*l)))},wn=function(e,t,n,r){var o;return Ni||pn(),t in Yi&&"transform"!==t&&~(t=Yi[t]).indexOf(",")&&(t=t.split(",")[0]),Fi[t]&&"transform"!==t?(o=Ln(e,r),o="transformOrigin"!==t?o[t]:o.svg?o.origin:Mn(cn(e,ln))+" "+o.zOrigin+"px"):(!(o=e.style[t])||"auto"===o||r||~(o+"").indexOf("calc("))&&(o=kn[t]&&kn[t](e,t,n)||cn(e,t)||Ie(e,t)||("opacity"===t?1:0)),n&&!~(o+"").trim().indexOf(" ")?Tn(e,t,o,n)+n:o},Sn=function(e,t,n,r){if(!n||"none"===n){var p=hn(t,e,1),s=p&&cn(e,p,1);s&&s!==n?(t=p,n=s):"borderColor"===t&&(n=cn(e,"borderTopColor"))}var a,o,l,c,d,h,f,m,v,y,_,T,w=new Ai(this._pt,e.style,t,0,1,wi),S=0,E=0;if(w.b=n,w.e=r,n+="","auto"===(r+="")&&(e.style[t]=r,r=cn(e,t)||r,e.style[t]=n),zt(a=[n,r]),r=a[1],l=(n=a[0]).match(ue)||[],(r.match(ue)||[]).length){for(;o=ue.exec(r);)f=o[0],v=r.substring(S,o.index),d?d=(d+1)%5:"rgba("!==v.substr(-5)&&"hsla("!==v.substr(-5)||(d=1),f!==(h=l[E++]||"")&&(c=parseFloat(h)||0,_=h.substr((c+"").length),(T="="===f.charAt(1)?+(f.charAt(0)+"1"):0)&&(f=f.substr(2)),m=parseFloat(f),y=f.substr((m+"").length),S=ue.lastIndex-y.length,y||(y=y||F.units[t]||_,S===r.length&&(r+=y,w.e+=y)),_!==y&&(c=Tn(e,t,h,y)||0),w._pt={_next:w._pt,p:v||1===E?v:",",s:c,c:T?T*m:m-c,m:d&&d<4||"zIndex"===t?Math.round:0});w.c=S<r.length?r.substring(S,r.length):""}else w.r="display"===t&&"none"===r?Zi:Ji;return de.test(r)&&(w.e=0),this._pt=w,w},En={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},xn=function(e,data){if(data.tween&&data.tween._time===data.tween._dur){var t,n,i,r=data.t,style=r.style,o=data.u,l=r._gsap;if("all"===o||!0===o)style.cssText="",n=1;else for(i=(o=o.split(",")).length;--i>-1;)t=o[i],Fi[t]&&(n=1,t="transformOrigin"===t?ln:on),yn(r,t);n&&(yn(r,on),l&&(l.svg&&r.removeAttribute("transform"),Ln(r,1),l.uncache=1))}},kn={clearProps:function(e,t,n,r,o){if("isFromStart"!==o.data){var l=e._pt=new Ai(e._pt,t,n,0,0,xn);return l.u=r,l.pr=-10,l.tween=o,e._props.push(n),1}}},Cn=[1,0,0,1,0,0],An={},On=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},jn=function(e){var t=cn(e,on);return On(t)?Cn:t.substr(7).match(le).map(Le)},In=function(e,t){var n,r,o,l,c=e._gsap||je(e),style=e.style,d=jn(e);return c.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(d=[(o=e.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?Cn:d:(d!==Cn||e.offsetParent||e===Di||c.svg||(o=style.display,style.display="block",(n=e.parentNode)&&e.offsetParent||(l=1,r=e.nextSibling,Di.appendChild(e)),d=jn(e),o?style.display=o:yn(e,"display"),l&&(r?n.insertBefore(e,r):n?n.appendChild(e):Di.removeChild(e))),t&&d.length>6?[d[0],d[1],d[4],d[5],d[12],d[13]]:d)},Pn=function(e,t,n,r,o,l){var c,d,h,f=e._gsap,m=o||In(e,!0),v=f.xOrigin||0,y=f.yOrigin||0,_=f.xOffset||0,T=f.yOffset||0,a=m[0],b=m[1],w=m[2],S=m[3],E=m[4],x=m[5],k=t.split(" "),C=parseFloat(k[0])||0,A=parseFloat(k[1])||0;n?m!==Cn&&(d=a*S-b*w)&&(h=C*(-b/d)+A*(a/d)-(a*x-b*E)/d,C=C*(S/d)+A*(-w/d)+(w*x-S*E)/d,A=h):(C=(c=gn(e)).x+(~k[0].indexOf("%")?C/100*c.width:C),A=c.y+(~(k[1]||k[0]).indexOf("%")?A/100*c.height:A)),r||!1!==r&&f.smooth?(E=C-v,x=A-y,f.xOffset=_+(E*a+x*w)-E,f.yOffset=T+(E*b+x*S)-x):f.xOffset=f.yOffset=0,f.xOrigin=C,f.yOrigin=A,f.smooth=!!r,f.origin=t,f.originIsAbsolute=!!n,e.style[ln]="0px 0px",l&&(bn(l,f,"xOrigin",v,C),bn(l,f,"yOrigin",y,A),bn(l,f,"xOffset",_,f.xOffset),bn(l,f,"yOffset",T,f.yOffset)),e.setAttribute("data-svg-origin",C+" "+A)},Ln=function(e,t){var n=e._gsap||new ti(e);if("x"in n&&!t&&!n.uncache)return n;var r,o,l,c,d,h,f,m,v,y,_,T,w,S,E,x,k,a,b,C,A,O,j,I,P,L,M,D,N,R,B,U,style=e.style,z=n.scaleX<0,$="px",H="deg",W=cn(e,ln)||"0";return r=o=l=h=f=m=v=y=_=0,c=d=1,n.svg=!(!e.getCTM||!vn(e)),S=In(e,n.svg),n.svg&&(I=(!n.uncache||"0px 0px"===W)&&!t&&e.getAttribute("data-svg-origin"),Pn(e,I||W,!!I||n.originIsAbsolute,!1!==n.smooth,S)),T=n.xOrigin||0,w=n.yOrigin||0,S!==Cn&&(a=S[0],b=S[1],C=S[2],A=S[3],r=O=S[4],o=j=S[5],6===S.length?(c=Math.sqrt(a*a+b*b),d=Math.sqrt(A*A+C*C),h=a||b?Hi(b,a)*zi:0,(v=C||A?Hi(C,A)*zi+h:0)&&(d*=Math.abs(Math.cos(v*$i))),n.svg&&(r-=T-(T*a+w*C),o-=w-(T*b+w*A))):(U=S[6],R=S[7],M=S[8],D=S[9],N=S[10],B=S[11],r=S[12],o=S[13],l=S[14],f=(E=Hi(U,N))*zi,E&&(I=O*(x=Math.cos(-E))+M*(k=Math.sin(-E)),P=j*x+D*k,L=U*x+N*k,M=O*-k+M*x,D=j*-k+D*x,N=U*-k+N*x,B=R*-k+B*x,O=I,j=P,U=L),m=(E=Hi(-C,N))*zi,E&&(x=Math.cos(-E),B=A*(k=Math.sin(-E))+B*x,a=I=a*x-M*k,b=P=b*x-D*k,C=L=C*x-N*k),h=(E=Hi(b,a))*zi,E&&(I=a*(x=Math.cos(E))+b*(k=Math.sin(E)),P=O*x+j*k,b=b*x-a*k,j=j*x-O*k,a=I,O=P),f&&Math.abs(f)+Math.abs(h)>359.9&&(f=h=0,m=180-m),c=Le(Math.sqrt(a*a+b*b+C*C)),d=Le(Math.sqrt(j*j+U*U)),E=Hi(O,j),v=Math.abs(E)>2e-4?E*zi:0,_=B?1/(B<0?-B:B):0),n.svg&&(I=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!On(cn(e,on)),I&&e.setAttribute("transform",I))),Math.abs(v)>90&&Math.abs(v)<270&&(z?(c*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(d*=-1,v+=v<=0?180:-180)),n.x=r-((n.xPercent=r&&(n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+$,n.y=o-((n.yPercent=o&&(n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-o)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+$,n.z=l+$,n.scaleX=Le(c),n.scaleY=Le(d),n.rotation=Le(h)+H,n.rotationX=Le(f)+H,n.rotationY=Le(m)+H,n.skewX=v+H,n.skewY=y+H,n.transformPerspective=_+$,(n.zOrigin=parseFloat(W.split(" ")[2])||0)&&(style[ln]=Mn(W)),n.xOffset=n.yOffset=0,n.force3D=F.force3D,n.renderTransform=n.svg?zn:Ui?Fn:Nn,n.uncache=0,n},Mn=function(e){return(e=e.split(" "))[0]+" "+e[1]},Dn=function(e,t,n){var r=gt(t);return Le(parseFloat(t)+parseFloat(Tn(e,"x",n+"px",r)))+r},Nn=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Fn(e,t)},Rn="0deg",Bn="0px",Un=") ",Fn=function(e,t){var n=t||this,r=n.xPercent,o=n.yPercent,l=n.x,c=n.y,d=n.z,h=n.rotation,f=n.rotationY,m=n.rotationX,v=n.skewX,y=n.skewY,_=n.scaleX,T=n.scaleY,w=n.transformPerspective,S=n.force3D,E=n.target,x=n.zOrigin,k="",C="auto"===S&&e&&1!==e||!0===S;if(x&&(m!==Rn||f!==Rn)){var A,O=parseFloat(f)*$i,j=Math.sin(O),I=Math.cos(O);O=parseFloat(m)*$i,A=Math.cos(O),l=Dn(E,l,j*A*-x),c=Dn(E,c,-Math.sin(O)*-x),d=Dn(E,d,I*A*-x+x)}w!==Bn&&(k+="perspective("+w+Un),(r||o)&&(k+="translate("+r+"%, "+o+"%) "),(C||l!==Bn||c!==Bn||d!==Bn)&&(k+=d!==Bn||C?"translate3d("+l+", "+c+", "+d+") ":"translate("+l+", "+c+Un),h!==Rn&&(k+="rotate("+h+Un),f!==Rn&&(k+="rotateY("+f+Un),m!==Rn&&(k+="rotateX("+m+Un),v===Rn&&y===Rn||(k+="skew("+v+", "+y+Un),1===_&&1===T||(k+="scale("+_+", "+T+Un),E.style[on]=k||"translate(0, 0)"},zn=function(e,t){var n,r,o,l,c,d=t||this,h=d.xPercent,f=d.yPercent,m=d.x,v=d.y,y=d.rotation,_=d.skewX,T=d.skewY,w=d.scaleX,S=d.scaleY,E=d.target,x=d.xOrigin,k=d.yOrigin,C=d.xOffset,A=d.yOffset,O=d.forceCSS,j=parseFloat(m),I=parseFloat(v);y=parseFloat(y),_=parseFloat(_),(T=parseFloat(T))&&(_+=T=parseFloat(T),y+=T),y||_?(y*=$i,_*=$i,n=Math.cos(y)*w,r=Math.sin(y)*w,o=Math.sin(y-_)*-S,l=Math.cos(y-_)*S,_&&(T*=$i,c=Math.tan(_-T),o*=c=Math.sqrt(1+c*c),l*=c,T&&(c=Math.tan(T),n*=c=Math.sqrt(1+c*c),r*=c)),n=Le(n),r=Le(r),o=Le(o),l=Le(l)):(n=w,l=S,r=o=0),(j&&!~(m+"").indexOf("px")||I&&!~(v+"").indexOf("px"))&&(j=Tn(E,"x",m,"px"),I=Tn(E,"y",v,"px")),(x||k||C||A)&&(j=Le(j+x-(x*n+k*o)+C),I=Le(I+k-(x*r+k*l)+A)),(h||f)&&(c=E.getBBox(),j=Le(j+h/100*c.width),I=Le(I+f/100*c.height)),c="matrix("+n+","+r+","+o+","+l+","+j+","+I+")",E.setAttribute("transform",c),O&&(E.style[on]=c)},$n=function(e,t,n,r,o,l){var c,d,h=360,f=Q(o),m=parseFloat(o)*(f&&~o.indexOf("rad")?zi:1),v=l?m*l:m-r,y=r+v+"deg";return f&&("short"===(c=o.split("_")[1])&&(v%=h)!==v%180&&(v+=v<0?h:-360),"cw"===c&&v<0?v=(v+36e9)%h-~~(v/h)*h:"ccw"===c&&v>0&&(v=(v-36e9)%h-~~(v/h)*h)),e._pt=d=new Ai(e._pt,t,n,r,v,Xi),d.e=y,d.u="deg",e._props.push(n),d},Hn=function(e,source){for(var p in source)e[p]=source[p];return e},Wn=function(e,t,n){var r,p,o,l,c,d,h,f=Hn({},n._gsap),style=n.style;for(p in f.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),style[on]=t,r=Ln(n,1),yn(n,on),n.setAttribute("transform",o)):(o=getComputedStyle(n)[on],style[on]=t,r=Ln(n,1),style[on]=o),Fi)(o=f[p])!==(l=r[p])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(p)<0&&(c=gt(o)!==(h=gt(l))?Tn(n,p,o,h):parseFloat(o),d=parseFloat(l),e._pt=new Ai(e._pt,r,p,c,d-c,Gi),e._pt.u=h||0,e._props.push(p));Hn(r,f)};Pe("padding,margin,Width,Radius",(function(e,t){var n="Top",r="Right",b="Bottom",o="Left",l=(t<3?[n,r,b,o]:[n+o,n+r,b+r,b+o]).map((function(n){return t<2?e+n:"border"+n+e}));kn[t>1?"border"+e:e]=function(e,t,n,r,o){var a,c;if(arguments.length<4)return a=l.map((function(t){return wn(e,t,n)})),5===(c=a.join(" ")).split(a[0]).length?a[0]:c;a=(r+"").split(" "),c={},l.forEach((function(e,i){return c[e]=a[i]=a[i]||a[(i-1)/2|0]})),e.init(t,c,o)}}));var Vn,qn,Yn,Gn={name:"css",register:pn,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,o){var l,c,d,h,f,m,p,v,y,_,T,w,S,E,x,k,C,A,O,j=this._props,style=e.style,I=n.vars.startAt;for(p in Ni||pn(),t)if("autoRound"!==p&&(c=t[p],!Ee[p]||!oi(p,t,n,r,e,o)))if(f=typeof c,m=kn[p],"function"===f&&(f=typeof(c=c.call(n,r,e,o))),"string"===f&&~c.indexOf("random(")&&(c=Ct(c)),m)m(this,e,p,c,n)&&(x=1);else if("--"===p.substr(0,2))l=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Ut.lastIndex=0,Ut.test(l)||(v=gt(l),y=gt(c)),y?v!==y&&(l=Tn(e,p,l,y)+y):v&&(c+=v),this.add(style,"setProperty",l,c,r,o,0,0,p),j.push(p);else if("undefined"!==f){if(I&&p in I?(l="function"==typeof I[p]?I[p].call(n,r,e,o):I[p],Q(l)&&~l.indexOf("random(")&&(l=Ct(l)),gt(l+"")||(l+=F.units[p]||gt(wn(e,p))||""),"="===(l+"").charAt(1)&&(l=wn(e,p))):l=wn(e,p),h=parseFloat(l),(_="string"===f&&"="===c.charAt(1)?+(c.charAt(0)+"1"):0)&&(c=c.substr(2)),d=parseFloat(c),p in Yi&&("autoAlpha"===p&&
2(1===h&&"hidden"===wn(e,"visibility")&&d&&(h=0),bn(this,style,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),"scale"!==p&&"transform"!==p&&~(p=Yi[p]).indexOf(",")&&(p=p.split(",")[0])),T=p in Fi)if(w||((S=e._gsap).renderTransform&&!t.parseTransform||Ln(e,t.parseTransform),E=!1!==t.smoothOrigin&&S.smooth,(w=this._pt=new Ai(this._pt,style,on,0,1,S.renderTransform,S,0,-1)).dep=1),"scale"===p)this._pt=new Ai(this._pt,S,"scaleY",S.scaleY,(_?_*d:d-S.scaleY)||0),j.push("scaleY",p),p+="X";else{if("transformOrigin"===p){C=void 0,A=void 0,O=void 0,C=(k=c).split(" "),A=C[0],O=C[1]||"50%","top"!==A&&"bottom"!==A&&"left"!==O&&"right"!==O||(k=A,A=O,O=k),C[0]=En[A]||A,C[1]=En[O]||O,c=C.join(" "),S.svg?Pn(e,c,0,E,0,this):((y=parseFloat(c.split(" ")[2])||0)!==S.zOrigin&&bn(this,S,"zOrigin",S.zOrigin,y),bn(this,style,p,Mn(l),Mn(c)));continue}if("svgOrigin"===p){Pn(e,c,1,E,0,this);continue}if(p in An){$n(this,S,p,h,c,_);continue}if("smoothOrigin"===p){bn(this,S,"smooth",S.smooth,c);continue}if("force3D"===p){S[p]=c;continue}if("transform"===p){Wn(this,c,e);continue}}else p in style||(p=hn(p)||p);if(T||(d||0===d)&&(h||0===h)&&!qi.test(c)&&p in style)d||(d=0),(v=(l+"").substr((h+"").length))!==(y=gt(c)||(p in F.units?F.units[p]:v))&&(h=Tn(e,p,l,y)),this._pt=new Ai(this._pt,T?S:style,p,h,_?_*d:d-h,T||"px"!==y&&"zIndex"!==p||!1===t.autoRound?Gi:Qi),this._pt.u=y||0,v!==y&&"%"!==y&&(this._pt.b=l,this._pt.r=Ki);else if(p in style)Sn.call(this,e,p,l,c);else{if(!(p in e)){ve(p,c);continue}this.add(e,p,l||e[p],c,r,o)}j.push(p)}x&&Ci(this)},get:wn,aliases:Yi,getSetter:function(e,t,n){var p=Yi[t];return p&&p.indexOf(",")<0&&(t=p),t in Fi&&t!==ln&&(e._gsap.x||wn(e,"x"))?n&&Bi===n?"scale"===t?rn:nn:(Bi=n||{})&&("scale"===t?an:sn):e.style&&!ee(e.style[t])?en:~t.indexOf("-")?tn:bi(e,t)},core:{_removeProperty:yn,_getMatrix:In}};Pi.utils.checkPrefix=hn,Yn=Pe((Vn="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(qn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){Fi[e]=1})),Pe(qn,(function(e){F.units[e]="deg",An[e]=1})),Yi[Yn[13]]=Vn+","+qn,Pe("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");Yi[t[1]]=Yn[t[0]]})),Pe("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){F.units[e]="px"})),Pi.registerPlugin(Gn);var Xn=Pi.registerPlugin(Gn)||Pi;Xn.core.Tween},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return P})),n.d(t,"b",(function(){return B})),n.d(t,"c",(function(){return pe})),n.d(t,"d",(function(){return fe}));var r=n(136),o=n(1),l=n.n(o),c=n(197),d=n(491),h=function(e){return!!e&&"object"==typeof e},f=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(t,source){return"object"!=typeof source||Object.keys(source).forEach((function(n){Array.isArray(t[n])&&Array.isArray(source[n])?t[n]=t[n].concat(source[n]):h(t[n])&&h(source[n])?t[n]=e(t[n],source[n]):t[n]=source[n]})),t}),{})},m=function(e){return Object.keys(e).map((function(t){return e[t]}))},v=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},y=function(e){if(!e.length)return[];for(var t=[],i=0;i<e.length;i++)t.push(e[i]);return t},_=function(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i;return-1},T="INVALID_NUMBER_OF_PERIOD",w="DASH_EMPTY_MANIFEST",S="DASH_INVALID_XML",E="NO_BASE_URL",x="SEGMENT_TIME_UNSPECIFIED",k="UNSUPPORTED_UTC_TIMING_SCHEME",C=function(e){var t=e.baseUrl,n=void 0===t?"":t,o=e.source,source=void 0===o?"":o,c=e.range,d=void 0===c?"":c,h=e.indexRange,f=void 0===h?"":h,m={uri:source,resolvedUri:Object(r.a)(n||"",source)};if(d||f){var v,y=(d||f).split("-"),_=l.a.BigInt?l.a.BigInt(y[0]):parseInt(y[0],10),T=l.a.BigInt?l.a.BigInt(y[1]):parseInt(y[1],10);_<Number.MAX_SAFE_INTEGER&&"bigint"==typeof _&&(_=Number(_)),T<Number.MAX_SAFE_INTEGER&&"bigint"==typeof T&&(T=Number(T)),"bigint"==typeof(v="bigint"==typeof T||"bigint"==typeof _?l.a.BigInt(T)-l.a.BigInt(_)+l.a.BigInt(1):T-_+1)&&v<Number.MAX_SAFE_INTEGER&&(v=Number(v)),m.byterange={length:v,offset:_}}return m},A=function(e){return e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e},O={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,o=e.sourceDuration,l=e.periodDuration,c=A(e.endNumber),d=t/r;return"number"==typeof c?{start:0,end:c}:"number"==typeof l?{start:0,end:l/d}:{start:0,end:o/d}},dynamic:function(e){var t=e.NOW,n=e.clientOffset,r=e.availabilityStartTime,o=e.timescale,l=void 0===o?1:o,c=e.duration,d=e.periodStart,h=void 0===d?0:d,f=e.minimumUpdatePeriod,m=void 0===f?0:f,v=e.timeShiftBufferDepth,y=void 0===v?1/0:v,_=A(e.endNumber),T=(t+n)/1e3,w=r+h,S=T+m-w,E=Math.ceil(S*l/c),x=Math.floor((T-w-y)*l/c),k=Math.floor((T-w)*l/c);return{start:Math.max(0,x),end:"number"==typeof _?_:Math.min(E,k)}}},j=function(e){var t=e.type,n=e.duration,r=e.timescale,o=void 0===r?1:r,l=e.periodDuration,c=e.sourceDuration,d=O[t](e),h=function(e,t){for(var n=[],i=e;i<t;i++)n.push(i);return n}(d.start,d.end).map(function(e){return function(t){var n=e.duration,r=e.timescale,o=void 0===r?1:r,l=e.periodStart,c=e.startNumber;return{number:(void 0===c?1:c)+t,duration:n/o,timeline:l,time:t*n}}}(e));if("static"===t){var f=h.length-1,m="number"==typeof l?l:c;h[f].duration=m-n/o*f}return h},I=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,o=e.sourceDuration,l=e.indexRange,c=void 0===l?"":l,d=e.periodStart,h=e.presentationTime,f=e.number,m=void 0===f?0:f,v=e.duration;if(!t)throw new Error(E);var y=C({baseUrl:t,source:r.sourceURL,range:r.range}),_=C({baseUrl:t,source:t,indexRange:c});if(_.map=y,v){var T=j(e);T.length&&(_.duration=T[0].duration,_.timeline=T[0].timeline)}
vendor: 14,531 bytes, line 2
2else o&&(_.duration=o,_.timeline=d);return _.presentationTime=h||d,_.number=m,[_]},P=function(e,t,n){var r,o=e.sidx.map?e.sidx.map:null,c=e.sidx.duration,d=e.timeline||0,h=e.sidx.byterange,f=h.offset+h.length,m=t.timescale,v=t.references.filter((function(e){return 1!==e.referenceType})),y=[],_=e.endList?"static":"dynamic",T=e.sidx.timeline,w=T,S=e.mediaSequence||0;r="bigint"==typeof t.firstOffset?l.a.BigInt(f)+t.firstOffset:f+t.firstOffset;for(var i=0;i<v.length;i++){var E=t.references[i],x=E.referencedSize,k=E.subsegmentDuration,C=void 0;C="bigint"==typeof r?r+l.a.BigInt(x)-l.a.BigInt(1):r+x-1;var A=I({baseUrl:n,timescale:m,timeline:d,periodStart:T,presentationTime:w,number:S,duration:k,sourceDuration:c,indexRange:r+"-"+C,type:_})[0];o&&(A.map=o),y.push(A),r+="bigint"==typeof r?l.a.BigInt(x):x,w+=k/m,S++}return e.segments=y,e},L=["AUDIO","SUBTITLES"],M=function(e){return(t=e,n=function(e){return e.timeline},m(t.reduce((function(e,t){return t.forEach((function(t){e[n(t)]=t})),e}),{}))).sort((function(a,b){return a.timeline>b.timeline?1:-1}));var t,n},D=function(e){var t,n,r=[];return t=e,n=function(e,t,n,label){r=r.concat(e.playlists||[])},L.forEach((function(e){for(var r in t.mediaGroups[e])for(var o in t.mediaGroups[e][r]){var l=t.mediaGroups[e][r][o];n(l,e,r,o)}})),r},N=function(e){var t=e.playlist,n=e.mediaSequence;t.mediaSequence=n,t.segments.forEach((function(e,n){e.number=t.mediaSequence+n}))},R=function(e){var t=e.oldManifest,n=e.newManifest,r=t.playlists.concat(D(t)),o=n.playlists.concat(D(n));return n.timelineStarts=M([t.timelineStarts,n.timelineStarts]),function(e){var t=e.oldPlaylists,n=e.newPlaylists,r=e.timelineStarts;n.forEach((function(e){e.discontinuitySequence=_(r,(function(t){return t.timeline===e.timeline}));var n=function(e,t){for(var i=0;i<e.length;i++)if(e[i].attributes.NAME===t)return e[i];return null}(t,e.attributes.NAME);if(n&&!e.sidx){var o=e.segments[0],l=_(n.segments,(function(e){return Math.abs(e.presentationTime-o.presentationTime)<.016666666666666666}));if(-1===l)return N({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),void((!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[l].discontinuity&&!o.discontinuity&&(o.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),N({playlist:e,mediaSequence:n.segments[l].number})}}))}({oldPlaylists:r,newPlaylists:o,timelineStarts:n.timelineStarts}),n},B=function(e){return e&&e.uri+"-"+(t=e.byterange,n="bigint"==typeof t.offset||"bigint"==typeof t.length?l.a.BigInt(t.offset)+l.a.BigInt(t.length)-l.a.BigInt(1):t.offset+t.length-1,t.offset+"-"+n);var t,n},U=function(e){return m(e.reduce((function(e,t){var n=t.attributes.id+(t.attributes.lang||"");if(e[n]){var r;if(t.segments)t.segments[0]&&(t.segments[0].discontinuity=!0),(r=e[n].segments).push.apply(r,t.segments);t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)}else e[n]=t,e[n].attributes.timelineStarts=[];return e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((function(e){var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce((function(a,e,i){return e[n]&&a.push(i),a}),[])),e}))},F=function(e,t){var n=B(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&P(e,r,e.sidx.resolvedUri),e},z=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var i in e)e[i]=F(e[i],t);return e},$=function(e){var t,n=e.attributes,r=e.segments,o=e.sidx,l=e.discontinuityStarts,c={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuityStarts:l,timelineStarts:n.timelineStarts,segments:r};return n.contentProtection&&(c.contentProtection=n.contentProtection),o&&(c.sidx=o),c},H=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},W=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},V=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},Y=function(e){return e?Object.keys(e).reduce((function(t,label){var n=e[label];return t.concat(n.playlists)}),[]):[]},G=function(e){var t,n=e.dashPlaylists,r=e.locations,o=e.sidxMapping,l=void 0===o?{}:o,c=e.previousManifest;if(!n.length)return{};var d=n[0].attributes,h=d.sourceDuration,f=d.type,m=d.suggestedPresentationDelay,v=d.minimumUpdatePeriod,y=U(n.filter(H)).map($),T=U(n.filter(W)),w=U(n.filter(V)),S=n.map((function(e){return e.attributes.captionServices})).filter(Boolean),E={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(t={AUDIO:{},VIDEO:{}},t["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:h,playlists:z(y,l)};v>=0&&(E.minimumUpdatePeriod=1e3*v),r&&(E.locations=r),"dynamic"===f&&(E.suggestedPresentationDelay=m);var x,k,C=0===E.playlists.length,A=T.length?function(e,t,n){var r;void 0===t&&(t={}),void 0===n&&(n=!1);var o=e.reduce((function(a,e){var o=e.attributes.role&&e.attributes.role.value||"",l=e.attributes.lang||"",label=e.attributes.label||"main";if(l&&!e.attributes.label){var c=o?" ("+o+")":"";label=""+e.attributes.lang+c}a[label]||(a[label]={language:l,autoselect:!0,default:"main"===o,playlists:[],uri:""});var d=F(function(e,t){var n,r=e.attributes,o=e.segments,l=e.sidx,c=e.mediaSequence,d=e.discontinuitySequence,h=e.discontinuityStarts,f={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:d,discontinuityStarts:h,timelineStarts:r.timelineStarts,mediaSequence:c,segments:o};return r.contentProtection&&(f.contentProtection=r.contentProtection),l&&(f.sidx=l),t&&(f.attributes.AUDIO="audio",f.attributes.SUBTITLES="subs"),f}(e,n),t);return a[label].playlists.push(d),void 0===r&&"main"===o&&((r=e).default=!0),a}),{});return r||(o[Object.keys(o)[0]].default=!0),o}(T,l,C):null,O=w.length?function(e,t){return void 0===t&&(t={}),e.reduce((function(a,e){var label=e.attributes.lang||"text";return a[label]||(a[label]={language:label,default:!1,autoselect:!1,playlists:[],uri:""}),a[label].playlists.push(F(function(e){var t,n=e.attributes,r=e.segments,o=e.mediaSequence,l=e.discontinuityStarts,c=e.discontinuitySequence;void 0===r&&(r=[{uri:n.baseUrl,timeline:n.periodStart,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var d=((t={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,t);return n.codecs&&(d.CODECS=n.codecs),{attributes:d,uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:n.baseUrl||"",targetDuration:n.duration,timelineStarts:n.timelineStarts,discontinuityStarts:l,discontinuitySequence:c,mediaSequence:o,segments:r}}(e),t)),a}),{})}(w,l):null,j=y.concat(Y(A),Y(O)),I=j.map((function(e){return e.timelineStarts}));return E.timelineStarts=M(I),x=j,k=E.timelineStarts,x.forEach((function(e){e.mediaSequence=0,e.discontinuitySequence=_(k,(function(t){return t.timeline===e.timeline})),e.segments&&e.segments.forEach((function(e,t){e.number=t}))})),A&&(E.mediaGroups.AUDIO.audio=A),O&&(E.mediaGroups.SUBTITLES.subs=O),S.length&&(E.mediaGroups["CLOSED-CAPTIONS"].cc=S.reduce((function(e,t){return t?(t.forEach((function(t){var n=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e}),{})),c?R({oldManifest:c,newManifest:E}):E},X=function(e,time,t){var n=e.NOW,r=e.clientOffset,o=e.availabilityStartTime,l=e.timescale,c=void 0===l?1:l,d=e.periodStart,h=void 0===d?0:d,f=e.minimumUpdatePeriod,m=(n+r)/1e3+(void 0===f?0:f)-(o+h);return Math.ceil((m*c-time)/t)},K=function(e,t){for(var n=e.type,r=e.minimumUpdatePeriod,o=void 0===r?0:r,l=e.media,c=void 0===l?"":l,d=e.sourceDuration,h=e.timescale,f=void 0===h?1:h,m=e.startNumber,v=void 0===m?1:m,y=e.periodStart,_=[],time=-1,T=0;T<t.length;T++){var w=t[T],S=w.d,E=w.r||0,x=w.t||0;time<0&&(time=x),x&&x>time&&(time=x);var k=void 0;if(E<0){var C=T+1;k=C===t.length?"dynamic"===n&&o>0&&c.indexOf("$Number$")>0?X(e,time,S):(d*f-time)/S:(t[C].t-time)/S}else k=E+1;for(var A=v+_.length+k,O=v+_.length;O<A;)_.push({number:O,duration:S/f,time:time,timeline:y}),time+=S,O++}return _},Q=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,J=function(e,t){return e.replace(Q,function(e){return function(t,n,r,o){if("$$"===t)return"$";if(void 0===e[n])return t;var l=""+e[n];return"RepresentationID"===n?l:(o=r?parseInt(o,10):1,l.length>=o?l:""+new Array(o-l.length+1).join("0")+l)}}(t))},Z=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},o=e.initialization,l=void 0===o?{sourceURL:"",range:""}:o,c=C({baseUrl:e.baseUrl,source:J(l.sourceURL,n),range:l.range}),d=function(e,t){return e.duration||t?e.duration?j(e):K(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]}(e,t);return d.map((function(t){n.Number=t.number,n.Time=t.time;var o=J(e.media||"",n),l=e.timescale||1,d=e.presentationTimeOffset||0,h=e.periodStart+(t.time-d)/l;return{uri:o,timeline:t.timeline,duration:t.duration,resolvedUri:Object(r.a)(e.baseUrl||"",o),map:c,number:t.number,presentationTime:h}}))},ee=function(e,t){var n=e.duration,r=e.segmentUrls,o=void 0===r?[]:r,l=e.periodStart;if(!n&&!t||n&&t)throw new Error(x);var c,d=o.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,o=void 0===r?{}:r,l=C({baseUrl:n,source:o.sourceURL,range:o.range}),c=C({baseUrl:n,source:t.media,range:t.mediaRange});return c.map=l,c}(e,t)}));return n&&(c=j(e)),t&&(c=K(e,t)),c.map((function(t,n){if(d[n]){var r=d[n],o=e.timescale||1,c=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=l+(t.time-c)/o,r}})).filter((function(e){return e}))},te=function(e){var t,n,r=e.attributes,o=e.segmentInfo;o.template?(n=Z,t=f(r,o.template)):o.base?(n=I,t=f(r,o.base)):o.list&&(n=ee,t=f(r,o.list));var l={attributes:r};if(!n)return l;var c=n(t,o.segmentTimeline);if(t.duration){var d=t,h=d.duration,m=d.timescale,v=void 0===m?1:m;t.duration=h/v}else c.length?t.duration=c.reduce((function(e,t){return Math.max(e,Math.ceil(t.duration))}),0):t.duration=0;return l.attributes=t,l.segments=c,o.base&&t.indexRange&&(l.sidx=c[0],l.segments=[]),l},ie=function(element,e){return y(element.childNodes).filter((function(t){return t.tagName===e}))},ne=function(element){return element.textContent.trim()},re=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],o=n[1],l=n[2],c=n[3],d=n[4],h=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(o||0)+86400*parseFloat(l||0)+3600*parseFloat(c||0)+60*parseFloat(d||0)+parseFloat(h||0)},ae={mediaPresentationDuration:function(e){return re(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return re(e)},suggestedPresentationDelay:function(e){return re(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return re(e)},start:function(e){return re(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?re(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},se=function(e){return e&&e.attributes?y(e.attributes).reduce((function(a,e){var t=ae[e.name]||ae.DEFAULT;return a[e.name]=t(e.value),a}),{}):{}},oe={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},le=function(e,t){return t.length?v(e.map((function(e){return t.map((function(t){return Object(r.a)(e,ne(t))}))}))):e},ue=function(e){var t=ie(e,"SegmentTemplate")[0],n=ie(e,"SegmentList")[0],r=n&&ie(n,"SegmentURL").map((function(s){return f({tag:"SegmentURL"},se(s))})),o=ie(e,"SegmentBase")[0],l=n||t,c=l&&ie(l,"SegmentTimeline")[0],d=n||o||t,h=d&&ie(d,"Initialization")[0],template=t&&se(t);template&&h?template.initialization=h&&se(h):template&&template.initialization&&(template.initialization={sourceURL:template.initialization});var m={template:template,segmentTimeline:c&&ie(c,"S").map((function(s){return se(s)})),list:n&&f(se(n),{segmentUrls:r,initialization:se(h)}),base:o&&f(se(o),{initialization:se(h)})};return Object.keys(m).forEach((function(e){m[e]||delete m[e]})),m},ce=function(e,t,n){return function(r){var o,l=se(r),d=le(t,ie(r,"BaseURL")),h=ie(r,"Role")[0],m={role:se(h)},y=f(e,l,m),_=ie(r,"Accessibility")[0],T="urn:scte:dash:cc:cea-608:2015"===(o=se(_)).schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(e){var t,n;if(n=e,/^CC\d=/.test(e)){var r=e.split("=");t=r[0],n=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:n}})):"urn:scte:dash:cc:cea-708:2015"===o.schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var n=e.split("="),r=n[0],o=n[1],l=void 0===o?"":o;t.channel=r,t.language=e,l.split(",").forEach((function(e){var n=e.split(":"),r=n[0],o=n[1];"lang"===r?t.language=o:"er"===r?t.easyReader=Number(o):"war"===r?t.aspectRatio=Number(o):"3D"===r&&(t["3D"]=Number(o))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;T&&(y=f(y,{captionServices:T}));var label=ie(r,"Label")[0];if(label&&label.childNodes.length){var w=label.childNodes[0].nodeValue.trim();y=f(y,{label:w})}var S=ie(r,"ContentProtection").reduce((function(e,t){var n=se(t),r=oe[n.schemeIdUri];if(r){e[r]={attributes:n};
2var o=ie(t,"cenc:pssh")[0];if(o){var l=ne(o),d=l&&Object(c.a)(l);e[r].pssh=d}}return e}),{});Object.keys(S).length&&(y=f(y,{contentProtection:S}));var E=ue(r),x=ie(r,"Representation"),k=f(n,E);return v(x.map(function(e,t,n){return function(r){var o=ie(r,"BaseURL"),l=le(t,o),c=f(e,se(r)),d=ue(r);return l.map((function(e){return{segmentInfo:f(n,d),attributes:f(c,{baseUrl:e})}}))}}(y,d,k)))}},de=function(e,t){return function(n,r){var o=le(t,ie(n.node,"BaseURL")),l=f(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(l.periodDuration=n.attributes.duration);var c=ie(n.node,"AdaptationSet"),d=ue(n.node);return v(c.map(ce(l,o,d)))}},he=function(e){if(""===e)throw new Error(w);var t,n,r=new d.DOMParser;try{n=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(S);return n},pe=function(e,t){void 0===t&&(t={});var n=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,o=void 0===r?"":r,l=n.NOW,c=void 0===l?Date.now():l,d=n.clientOffset,h=void 0===d?0:d,f=ie(e,"Period");if(!f.length)throw new Error(T);var m=ie(e,"Location"),y=se(e),_=le([o],ie(e,"BaseURL"));y.type=y.type||"static",y.sourceDuration=y.mediaPresentationDuration||0,y.NOW=c,y.clientOffset=h,m.length&&(y.locations=m.map(ne));var w=[];return f.forEach((function(e,t){var n=se(e),r=w[t-1];n.start=function(e){var t=e.attributes,n=e.priorPeriodAttributes,r=e.mpdType;return"number"==typeof t.start?t.start:n&&"number"==typeof n.start&&"number"==typeof n.duration?n.start+n.duration:n||"static"!==r?null:0}({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:y.type}),w.push({node:e,attributes:n})})),{locations:y.locations,representationInfo:v(w.map(de(y,_)))}}(he(e),t),r=n.representationInfo.map(te);return G({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},fe=function(e){return function(e){var t=ie(e,"UTCTiming")[0];if(!t)return null;var n=se(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;default:throw new Error(k)}return n}(he(e))}},111:function(e,t,n){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",l="month",c="quarter",d="year",h="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),s=n-i<0,u=t.clone().add(r+(s?-1:1),l);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:o,d:a,D:h,h:u,m:s,s:i,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},T="en",w={};w[T]=y;var p=function(e){return e instanceof k},S=function e(t,n,r){var i;if(!t)return T;if("string"==typeof t){var s=t.toLowerCase();w[s]&&(i=s),n&&(w[s]=n,i=s);var u=t.split("-");if(!i&&u.length>1)return e(u[0])}else{var a=t.name;w[a]=t,i=a}return!r&&i&&(T=i),i||!r&&T},E=function(e,t){if(p(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},x=g;x.l=S,x.i=p,x.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function y(e){this.$L=S(e.locale,null,!0),this.parse(e)}var _=y.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return x},_.isValid=function(){return!(this.$d.toString()===f)},_.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return E(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<E(e)},_.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!x.u(t)||t,c=x.p(e),f=function(e,t){var i=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(a)},m=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,y=this.$M,_=this.$D,g="set"+(this.$u?"UTC":"");switch(c){case d:return r?f(1,0):f(31,11);case l:return r?f(1,y):f(0,y+1);case o:var T=this.$locale().weekStart||0,w=(v<T?v+7:v)-T;return f(r?_-w:_+(6-w),y);case a:case h:return m(g+"Hours",0);case u:return m(g+"Minutes",1);case s:return m(g+"Seconds",2);case i:return m(g+"Milliseconds",3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,o=x.p(e),c="set"+(this.$u?"UTC":""),f=(n={},n[a]=c+"Date",n[h]=c+"Date",n[l]=c+"Month",n[d]=c+"FullYear",n[u]=c+"Hours",n[s]=c+"Minutes",n[i]=c+"Seconds",n[r]=c+"Milliseconds",n)[o],m=o===a?this.$D+(t-this.$W):t;if(o===l||o===d){var v=this.clone().set(h,1);
2v.$d[f](m),v.init(),this.$d=v.set(h,Math.min(this.$D,v.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[x.p(e)]()},_.add=function(r,c){var h,f=this;r=Number(r);var m=x.p(c),v=function(e){var t=E(f);return x.w(t.date(t.date()+Math.round(e*r)),f)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===a)return v(1);if(m===o)return v(7);var y=(h={},h[s]=t,h[u]=n,h[i]=e,h)[m]||1,_=this.$d.getTime()+r*y;return x.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,l=n.months,c=function(e,n,i,s){return e&&(e[n]||e(t,r))||i[n].substr(0,s)},d=function(e){return x.s(s%12||12,e,"0")},h=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:x.s(a+1,2,"0"),MMM:c(n.monthsShort,a,l,3),MMMM:c(l,a),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,o,2),ddd:c(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:x.s(s,2,"0"),h:d(1),hh:d(2),a:h(s,u,!0),A:h(s,u,!1),m:String(u),mm:x.s(u,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:i};return r.replace(v,(function(e,t){return t||m[e]||i.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,h,f){var m,v=x.p(h),y=E(r),_=(y.utcOffset()-this.utcOffset())*t,g=this-y,T=x.m(this,y);return T=(m={},m[d]=T/12,m[l]=T,m[c]=T/3,m[o]=(g-_)/6048e5,m[a]=(g-_)/864e5,m[u]=g/n,m[s]=g/t,m[i]=g/e,m)[v]||g,f?T:x.a(T)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return w[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return x.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},y}(),b=k.prototype;return E.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",l],["$y",d],["$D",h]].forEach((function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),E.extend=function(e,t){return e.$i||(e(t,k,E),e.$i=!0),E},E.locale=S,E.isDayjs=p,E.unix=function(e){return E(1e3*e)},E.en=w[T],E.Ls=w,E.p={},E}()},112:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(2),o=Object(r.j)([73,68,51]),l=function e(t,n){return void 0===n&&(n=0),(t=Object(r.j)(t)).length-n<10||!Object(r.a)(t,o,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=Object(r.j)(e))[t+5],o=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?o+20:o+10}(t,n),e(t,n))}},113:function(e,t,n){"use strict";n.d(t,"a",(function(){return At})),n.d(t,"b",(function(){return ni})),n.d(t,"c",(function(){return Ei})),n.d(t,"d",(function(){return Zi})),n.d(t,"e",(function(){return nr}));var r={};n.r(r),n.d(r,"top",(function(){return o})),n.d(r,"bottom",(function(){return l})),n.d(r,"right",(function(){return c})),n.d(r,"left",(function(){return d})),n.d(r,"auto",(function(){return h})),n.d(r,"basePlacements",(function(){return f})),n.d(r,"start",(function(){return m})),n.d(r,"end",(function(){return v})),n.d(r,"clippingParents",(function(){return y})),n.d(r,"viewport",(function(){return _})),n.d(r,"popper",(function(){return T})),n.d(r,"reference",(function(){return w})),n.d(r,"variationPlacements",(function(){return S})),n.d(r,"placements",(function(){return E})),n.d(r,"beforeRead",(function(){return x})),n.d(r,"read",(function(){return k})),n.d(r,"afterRead",(function(){return C})),n.d(r,"beforeMain",(function(){return A})),n.d(r,"main",(function(){return main})),n.d(r,"afterMain",(function(){return O})),n.d(r,"beforeWrite",(function(){return j})),n.d(r,"write",(function(){return I})),n.d(r,"afterWrite",(function(){return P})),n.d(r,"modifierPhases",(function(){return L})),n.d(r,"applyStyles",(function(){return U})),n.d(r,"arrow",(function(){return re})),n.d(r,"computeStyles",(function(){return le})),n.d(r,"eventListeners",(function(){return ce})),n.d(r,"flip",(function(){return xe})),n.d(r,"hide",(function(){return Ae})),n.d(r,"offset",(function(){return Oe})),n.d(r,"popperOffsets",(function(){return je})),n.d(r,"preventOverflow",(function(){return Ie})),n.d(r,"popperGenerator",(function(){return Ne})),n.d(r,"detectOverflow",(function(){return Ee})),n.d(r,"createPopperBase",(function(){return Re})),n.d(r,"createPopper",(function(){return Be})),n.d(r,"createPopperLite",(function(){return Ue}));var o="top",l="bottom",c="right",d="left",h="auto",f=[o,l,c,d],m="start",v="end",y="clippingParents",_="viewport",T="popper",w="reference",S=f.reduce((function(e,t){return e.concat([t+"-"+m,t+"-"+v])}),[]),E=[].concat(f,[h]).reduce((function(e,t){return e.concat([t,t+"-"+m,t+"-"+v])}),[]),x="beforeRead",k="read",C="afterRead",A="beforeMain",main="main",O="afterMain",j="beforeWrite",I="write",P="afterWrite",L=[x,k,C,A,main,O,j,I,P];function M(element){return element?(element.nodeName||"").toLowerCase():null}function D(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function N(e){return e instanceof D(e).Element||e instanceof Element}function R(e){return e instanceof D(e).HTMLElement||e instanceof HTMLElement}function B(e){return"undefined"!=typeof ShadowRoot&&(e instanceof D(e).ShadowRoot||e instanceof ShadowRoot)}var U={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 10,237 bytes, line 2
2Object.keys(t.elements).forEach((function(e){var style=t.styles[e]||{},n=t.attributes[e]||{},element=t.elements[e];R(element)&&M(element)&&(Object.assign(element.style,style),Object.keys(n).forEach((function(e){var t=n[e];!1===t?element.removeAttribute(e):element.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var element=t.elements[e],r=t.attributes[e]||{},style=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(style,e){return style[e]="",style}),{});R(element)&&M(element)&&(Object.assign(element.style,style),Object.keys(r).forEach((function(e){element.removeAttribute(e)})))}))}},requires:["computeStyles"]};function F(e){return e.split("-")[0]}var z=Math.max,$=Math.min,H=Math.round;function W(element,e){void 0===e&&(e=!1);var rect=element.getBoundingClientRect(),t=1,n=1;if(R(element)&&e){var r=element.offsetHeight,o=element.offsetWidth;o>0&&(t=H(rect.width)/o||1),r>0&&(n=H(rect.height)/r||1)}return{width:rect.width/t,height:rect.height/n,top:rect.top/n,right:rect.right/t,bottom:rect.bottom/n,left:rect.left/t,x:rect.left/t,y:rect.top/n}}function V(element){var e=W(element),t=element.offsetWidth,n=element.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:element.offsetLeft,y:element.offsetTop,width:t,height:n}}function Y(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&B(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function G(element){return D(element).getComputedStyle(element)}function X(element){return["table","td","th"].indexOf(M(element))>=0}function K(element){return((N(element)?element.ownerDocument:element.document)||window.document).documentElement}function Q(element){return"html"===M(element)?element:element.assignedSlot||element.parentNode||(B(element)?element.host:null)||K(element)}function J(element){return R(element)&&"fixed"!==G(element).position?element.offsetParent:null}function Z(element){for(var e=D(element),t=J(element);t&&X(t)&&"static"===G(t).position;)t=J(t);return t&&("html"===M(t)||"body"===M(t)&&"static"===G(t).position)?e:t||function(element){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&R(element)&&"fixed"===G(element).position)return null;var t=Q(element);for(B(t)&&(t=t.host);R(t)&&["html","body"].indexOf(M(t))<0;){var n=G(t);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return t;t=t.parentNode}return null}(element)||e}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return z(e,$(t,n))}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ne(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var re={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,h=e.options,m=n.elements.arrow,v=n.modifiersData.popperOffsets,y=F(n.placement),_=ee(y),T=[d,c].indexOf(y)>=0?"height":"width";if(m&&v){var w=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ne(e,f))}(h.padding,n),S=V(m),E="y"===_?o:d,x="y"===_?l:c,k=n.rects.reference[T]+n.rects.reference[_]-v[_]-n.rects.popper[T],C=v[_]-n.rects.reference[_],A=Z(m),O=A?"y"===_?A.clientHeight||0:A.clientWidth||0:0,j=k/2-C/2,I=w[E],P=O-S[T]-w[x],L=O/2-S[T]/2+j,M=te(I,L,P),D=_;n.modifiersData[r]=((t={})[D]=M,t.centerOffset=M-L,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Y(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var se={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t,n=e.popper,r=e.popperRect,h=e.placement,f=e.variation,m=e.offsets,y=e.position,_=e.gpuAcceleration,T=e.adaptive,w=e.roundOffsets,S=e.isFixed,E=m.x,x=void 0===E?0:E,k=m.y,C=void 0===k?0:k,A="function"==typeof w?w({x:x,y:C}):{x:x,y:C};x=A.x,C=A.y;var O=m.hasOwnProperty("x"),j=m.hasOwnProperty("y"),I=d,P=o,L=window;if(T){var M=Z(n),N="clientHeight",R="clientWidth";if(M===D(n)&&"static"!==G(M=K(n)).position&&"absolute"===y&&(N="scrollHeight",R="scrollWidth"),M=M,h===o||(h===d||h===c)&&f===v)P=l,C-=(S&&M===L&&L.visualViewport?L.visualViewport.height:M[N])-r.height,C*=_?1:-1;if(h===d||(h===o||h===l)&&f===v)I=c,x-=(S&&M===L&&L.visualViewport?L.visualViewport.width:M[R])-r.width,x*=_?1:-1}var B,U=Object.assign({position:y},T&&se),F=!0===w?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:H(t*r)/r||0,y:H(n*r)/r||0}}({x:x,y:C}):{x:x,y:C};return x=F.x,C=F.y,_?Object.assign({},U,((B={})[P]=j?"0":"",B[I]=O?"0":"",B.transform=(L.devicePixelRatio||1)<=1?"translate("+x+"px, "+C+"px)":"translate3d("+x+"px, "+C+"px, 0)",B)):Object.assign({},U,((t={})[P]=j?C+"px":"",t[I]=O?x+"px":"",t.transform="",t))}var le={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,l=n.adaptive,c=void 0===l||l,d=n.roundOffsets,h=void 0===d||d,f={placement:F(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:h})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:h})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ue={passive:!0};var ce={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,l=void 0===o||o,c=r.resize,d=void 0===c||c,h=D(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&f.forEach((function(e){e.addEventListener("scroll",n.update,ue)})),d&&h.addEventListener("resize",n.update,ue),function(){l&&f.forEach((function(e){e.removeEventListener("scroll",n.update,ue)})),d&&h.removeEventListener("resize",n.update,ue)}},data:{}},de={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var pe={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return pe[e]}))}function me(e){var t=D(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ge(element){return W(K(element)).left+me(element).scrollLeft}function ve(element){var e=G(element),t=e.overflow,n=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+n)}function ye(e){return["html","body","#document"].indexOf(M(e))>=0?e.ownerDocument.body:R(e)&&ve(e)?e:ye(Q(e))}function be(element,e){var t;void 0===e&&(e=[]);var n=ye(element),r=n===(null==(t=element.ownerDocument)?void 0:t.body),o=D(n),l=r?[o].concat(o.visualViewport||[],ve(n)?n:[]):n,c=e.concat(l);return r?c:c.concat(be(Q(l)))}function _e(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function Te(element,e){return e===_?_e(function(element){var e=D(element),html=K(element),t=e.visualViewport,n=html.clientWidth,r=html.clientHeight,o=0,l=0;return t&&(n=t.width,r=t.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=t.offsetLeft,l=t.offsetTop)),{width:n,height:r,x:o+ge(element),y:l}}(element)):N(e)?function(element){var rect=W(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(e):_e(function(element){var e,html=K(element),t=me(element),body=null==(e=element.ownerDocument)?void 0:e.body,n=z(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),r=z(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),o=-t.scrollLeft+ge(element),l=-t.scrollTop;return"rtl"===G(body||html).direction&&(o+=z(html.clientWidth,body?body.clientWidth:0)-n),{width:n,height:r,x:o,y:l}}(K(element)))}function we(element,e,t){var n="clippingParents"===e?function(element){var e=be(Q(element)),t=["absolute","fixed"].indexOf(G(element).position)>=0&&R(element)?Z(element):element;return N(t)?e.filter((function(e){return N(e)&&Y(e,t)&&"body"!==M(e)})):[]}(element):[].concat(e),r=[].concat(n,[t]),o=r[0],l=r.reduce((function(e,t){var rect=Te(element,t);return e.top=z(rect.top,e.top),e.right=$(rect.right,e.right),e.bottom=$(rect.bottom,e.bottom),e.left=z(rect.left,e.left),e}),Te(element,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Se(e){var t,n=e.reference,element=e.element,r=e.placement,h=r?F(r):null,f=r?ae(r):null,y=n.x+n.width/2-element.width/2,_=n.y+n.height/2-element.height/2;switch(h){case o:t={x:y,y:n.y-element.height};break;case l:t={x:y,y:n.y+n.height};break;case c:t={x:n.x+n.width,y:_};break;case d:t={x:n.x-element.width,y:_};break;default:t={x:n.x,y:n.y}}var T=h?ee(h):null;if(null!=T){var w="y"===T?"height":"width";switch(f){case m:t[T]=t[T]-(n[w]/2-element[w]/2);break;case v:t[T]=t[T]+(n[w]/2-element[w]/2)}}return t}function Ee(e,t){void 0===t&&(t={});var n=t,r=n.placement,d=void 0===r?e.placement:r,h=n.boundary,m=void 0===h?y:h,v=n.rootBoundary,S=void 0===v?_:v,E=n.elementContext,x=void 0===E?T:E,k=n.altBoundary,C=void 0!==k&&k,A=n.padding,O=void 0===A?0:A,j=ie("number"!=typeof O?O:ne(O,f)),I=x===T?w:T,P
vendor: 6,378 bytes, line 2
2=e.rects.popper,element=e.elements[C?I:x],L=we(N(element)?element:element.contextElement||K(e.elements.popper),m,S),M=W(e.elements.reference),D=Se({reference:M,element:P,strategy:"absolute",placement:d}),R=_e(Object.assign({},P,D)),B=x===T?R:M,U={top:L.top-B.top+j.top,bottom:B.bottom-L.bottom+j.bottom,left:L.left-B.left+j.left,right:B.right-L.right+j.right},F=e.modifiersData.offset;if(x===T&&F){var z=F[d];Object.keys(U).forEach((function(e){var t=[c,l].indexOf(e)>=0?1:-1,n=[o,l].indexOf(e)>=0?"y":"x";U[e]+=z[n]*t}))}return U}var xe={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var v=n.mainAxis,y=void 0===v||v,_=n.altAxis,T=void 0===_||_,w=n.fallbackPlacements,x=n.padding,k=n.boundary,C=n.rootBoundary,A=n.altBoundary,O=n.flipVariations,j=void 0===O||O,I=n.allowedAutoPlacements,P=t.options.placement,L=F(P),M=w||(L===P||!j?[he(P)]:function(e){if(F(e)===h)return[];var t=he(e);return[fe(e),t,fe(t)]}(P)),D=[P].concat(M).reduce((function(e,n){return e.concat(F(n)===h?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,l=n.rootBoundary,c=n.padding,d=n.flipVariations,h=n.allowedAutoPlacements,m=void 0===h?E:h,v=ae(r),y=v?d?S:S.filter((function(e){return ae(e)===v})):f,_=y.filter((function(e){return m.indexOf(e)>=0}));0===_.length&&(_=y);var T=_.reduce((function(t,n){return t[n]=Ee(e,{placement:n,boundary:o,rootBoundary:l,padding:c})[F(n)],t}),{});return Object.keys(T).sort((function(a,b){return T[a]-T[b]}))}(t,{placement:n,boundary:k,rootBoundary:C,padding:x,flipVariations:j,allowedAutoPlacements:I}):n)}),[]),N=t.rects.reference,R=t.rects.popper,B=new Map,U=!0,z=D[0],i=0;i<D.length;i++){var $=D[i],H=F($),W=ae($)===m,V=[o,l].indexOf(H)>=0,Y=V?"width":"height",G=Ee(t,{placement:$,boundary:k,rootBoundary:C,altBoundary:A,padding:x}),X=V?W?c:d:W?l:o;N[Y]>R[Y]&&(X=he(X));var K=he(X),Q=[];if(y&&Q.push(G[H]<=0),T&&Q.push(G[X]<=0,G[K]<=0),Q.every((function(e){return e}))){z=$,U=!1;break}B.set($,Q)}if(U)for(var J=function(e){var t=D.find((function(t){var n=B.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return z=t,"break"},Z=j?3:1;Z>0;Z--){if("break"===J(Z))break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ke(e,rect,t){return void 0===t&&(t={x:0,y:0}),{top:e.top-rect.height-t.y,right:e.right-rect.width+t.x,bottom:e.bottom-rect.height+t.y,left:e.left-rect.width-t.x}}function Ce(e){return[o,c,l,d].some((function(t){return e[t]>=0}))}var Ae={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,c=Ee(t,{elementContext:"reference"}),d=Ee(t,{altBoundary:!0}),h=ke(c,r),f=ke(d,o,l),m=Ce(h),v=Ce(f);t.modifiersData[n]={referenceClippingOffsets:h,popperEscapeOffsets:f,isReferenceHidden:m,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":v})}};var Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,l=n.offset,h=void 0===l?[0,0]:l,data=E.reduce((function(e,n){return e[n]=function(e,t,n){var r=F(e),l=[d,o].indexOf(r)>=0?-1:1,h="function"==typeof n?n(Object.assign({},t,{placement:e})):n,f=h[0],m=h[1];return f=f||0,m=(m||0)*l,[d,c].indexOf(r)>=0?{x:m,y:f}:{x:f,y:m}}(n,t.rects,h),e}),{}),f=data[t.placement],m=f.x,v=f.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=m,t.modifiersData.popperOffsets.y+=v),t.modifiersData[r]=data}};var je={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Se({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ie={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,h=n.mainAxis,f=void 0===h||h,v=n.altAxis,y=void 0!==v&&v,_=n.boundary,T=n.rootBoundary,w=n.altBoundary,S=n.padding,E=n.tether,x=void 0===E||E,k=n.tetherOffset,C=void 0===k?0:k,A=Ee(t,{boundary:_,rootBoundary:T,padding:S,altBoundary:w}),O=F(t.placement),j=ae(t.placement),I=!j,P=ee(O),L="x"===P?"y":"x",M=t.modifiersData.popperOffsets,D=t.rects.reference,N=t.rects.popper,R="function"==typeof C?C(Object.assign({},t.rects,{placement:t.placement})):C,B="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,data={x:0,y:0};if(M){if(f){var H,W="y"===P?o:d,Y="y"===P?l:c,G="y"===P?"height":"width",X=M[P],K=X+A[W],Q=X-A[Y],J=x?-N[G]/2:0,ie=j===m?D[G]:N[G],ne=j===m?-N[G]:-D[G],re=t.elements.arrow,se=x&&re?V(re):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},le=oe[W],ue=oe[Y],ce=te(0,D[G],se[G]),de=I?D[G]/2-J-ce-le-B.mainAxis:ie-ce-le-B.mainAxis,he=I?-D[G]/2+J+ce+ue+B.mainAxis:ne+ce+ue+B.mainAxis,pe=t.elements.arrow&&Z(t.elements.arrow),fe=pe?"y"===P?pe.clientTop||0:pe.clientLeft||0:0,me=null!=(H=null==U?void 0:U[P])?H:0,ge=X+he-me,ve=te(x?$(K,X+de-me-fe):K,X,x?z(Q,ge):Q);M[P]=ve,data[P]=ve-X}if(y){var ye,be="x"===P?o:d,_e="x"===P?l:c,Te=M[L],we="y"===L?"height":"width",Se=Te+A[be],xe=Te-A[_e],ke=-1!==[o,d].indexOf(O),Ce=null!=(ye=null==U?void 0:U[L])?ye:0,Ae=ke?Se:Te-D[we]-N[we]-Ce+B.altAxis,Oe=ke?Te+D[we]+N[we]-Ce-B.altAxis:xe,je=x&&ke?function(e,t,n){var r=te(e,t,n);return r>n?n:r}(Ae,Te,Oe):te(x?Ae:Se,Te,x?Oe:xe);M[L]=je,data[L]=je-Te}t.modifiersData[r]=data}},requiresIfExists:["offset"]};function Pe(e,t,n){void 0===n&&(n=!1);var r,element,o=R(t),l=R(t)&&function(element){var rect=element.getBoundingClientRect(),e=H(rect.width)/element.offsetWidth||1,t=H(rect.height)/element.offsetHeight||1;return 1!==e||1!==t}(t),c=K(t),rect=W(e,l),d={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!n)&&(("body"!==M(t)||ve(c))&&(d=(r=t)!==D(r)&&R(r)?{scrollLeft:(element=r).scrollLeft,scrollTop:element.scrollTop}:me(r)),R(t)?((h=W(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):c&&(h.x=ge(c))),{x:rect.left+d.scrollLeft-h.x,y:rect.top+d.scrollTop-h.y,width:rect.width,height:rect.height}}function Le(e){var map=new Map,t=new Set,n=[];function r(e){t.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
vendor: 3,242 bytes, line 2
2h((function(e){if(!t.has(e)){var n=map.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){map.set(e.name,e)})),e.forEach((function(e){t.has(e.name)||r(e)})),n}var Me={placement:"bottom",modifiers:[],strategy:"absolute"};function De(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function Ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,l=void 0===o?Me:o;return function(e,t,n){void 0===n&&(n=l);var o,c,d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Me,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},h=[],f=!1,m={state:d,setOptions:function(n){var o="function"==typeof n?n(d.options):n;v(),d.options=Object.assign({},l,d.options,o),d.scrollParents={reference:N(e)?be(e):e.contextElement?be(e.contextElement):[],popper:be(t)};var c=function(e){var t=Le(e);return L.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,d.options.modifiers)));return d.orderedModifiers=c.filter((function(e){return e.enabled})),d.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var l=o({state:d,name:t,instance:m,options:r}),c=function(){};h.push(l||c)}})),m.update()},forceUpdate:function(){if(!f){var e=d.elements,t=e.reference,n=e.popper;if(De(t,n)){d.rects={reference:Pe(t,Z(n),"fixed"===d.options.strategy),popper:V(n)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach((function(e){return d.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<d.orderedModifiers.length;r++)if(!0!==d.reset){var o=d.orderedModifiers[r],l=o.fn,c=o.options,h=void 0===c?{}:c,v=o.name;"function"==typeof l&&(d=l({state:d,options:h,name:v,instance:m})||d)}else d.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){m.forceUpdate(),e(d)}))},function(){return c||(c=new Promise((function(e){Promise.resolve().then((function(){c=void 0,e(o())}))}))),c}),destroy:function(){v(),f=!0}};if(!De(e,t))return m;function v(){h.forEach((function(e){return e()})),h=[]}return m.setOptions(n).then((function(e){!f&&n.onFirstUpdate&&n.onFirstUpdate(e)})),m}}var Re=Ne(),Be=Ne({defaultModifiers:[ce,je,le,U,Oe,xe,Ie,re,Ae]}),Ue=Ne({defaultModifiers:[ce,je,le,U]});const Fe="transitionend",ze=element=>{let e=element.getAttribute("data-bs-target");if(!e||"#"===e){let t=element.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&"#"!==t?t.trim():null}return e},$e=element=>{const e=ze(element);return e&&document.querySelector(e)?e:null},He=element=>{const e=ze(element);return e?document.querySelector(e):null},We=element=>{element.dispatchEvent(new Event(Fe))},Ve=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),qe=e=>
2Ve(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,Ye=(e,t,n)=>{Object.keys(n).forEach((r=>{const o=n[r],l=t[r],c=l&&Ve(l)?"element":null==(d=l)?`${d}`:{}.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase();var d;if(!new RegExp(o).test(c))throw new TypeError(`${e.toUpperCase()}: Option "${r}" provided type "${c}" but expected type "${o}".`)}))},Ge=element=>!(!Ve(element)||0===element.getClientRects().length)&&"visible"===getComputedStyle(element).getPropertyValue("visibility"),Xe=element=>!element||element.nodeType!==Node.ELEMENT_NODE||(!!element.classList.contains("disabled")||(void 0!==element.disabled?element.disabled:element.hasAttribute("disabled")&&"false"!==element.getAttribute("disabled"))),Ke=element=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof element.getRootNode){const e=element.getRootNode();return e instanceof ShadowRoot?e:null}return element instanceof ShadowRoot?element:element.parentNode?Ke(element.parentNode):null},Qe=()=>{},Je=element=>{element.offsetHeight},Ze=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},et=[],tt=()=>"rtl"===document.documentElement.dir,it=e=>{var t;t=()=>{const t=Ze();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(et.length||document.addEventListener("DOMContentLoaded",(()=>{et.forEach((e=>e()))})),et.push(t)):t()},nt=e=>{"function"==typeof e&&e()},at=(e,t,n=!0)=>{if(!n)return void nt(e);const r=(element=>{if(!element)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(element);const n=Number.parseFloat(e),r=Number.parseFloat(t);return n||r?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})(t)+5;let o=!1;const l=({target:n})=>{n===t&&(o=!0,t.removeEventListener(Fe,l),nt(e))};t.addEventListener(Fe,l),setTimeout((()=>{o||We(t)}),r)},st=(e,t,n,r)=>{let o=e.indexOf(t);if(-1===o)return e[!n&&r?e.length-1:0];const l=e.length;return o+=n?1:-1,r&&(o=(o+l)%l),e[Math.max(0,Math.min(o,l-1))]},ot=/[^.]*(?=\..*)\.|.*/,lt=/\..*/,ut=/::\d+$/,ct={};let ht=1;
2const pt={mouseenter:"mouseover",mouseleave:"mouseout"},ft=/^(mouseenter|mouseleave)/i,mt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function gt(element,e){return e&&`${e}::${ht++}`||element.uidEvent||ht++}function vt(element){const e=gt(element);return element.uidEvent=e,ct[e]=ct[e]||{},ct[e]}function yt(e,t,n=null){const r=Object.keys(e);for(let i=0,o=r.length;i<o;i++){const o=e[r[i]];if(o.originalHandler===t&&o.delegationSelector===n)return o}return null}function bt(e,t,n){const r="string"==typeof t,o=r?n:t;let l=wt(e);return mt.has(l)||(l=e),[r,o,l]}function _t(element,e,t,n,r){if("string"!=typeof e||!element)return;if(t||(t=n,n=null),ft.test(e)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};n?n=e(n):t=e(t)}const[o,l,c]=bt(e,t,n),d=vt(element),h=d[c]||(d[c]={}),f=yt(h,l,o?t:null);if(f)return void(f.oneOff=f.oneOff&&r);const m=gt(l,e.replace(ot,"")),v=o?function(element,e,t){return function n(r){const o=element.querySelectorAll(e);for(let{target:l}=r;l&&l!==this;l=l.parentNode)for(let i=o.length;i--;)if(o[i]===l)return r.delegateTarget=l,n.oneOff&&St.off(element,r.type,e,t),t.apply(l,[r]);return null}}(element,t,n):function(element,e){return function t(n){return n.delegateTarget=element,t.oneOff&&St.off(element,n.type,e),e.apply(element,[n])}}(element,t);v.delegationSelector=o?t:null,v.originalHandler=l,v.oneOff=r,v.uidEvent=m,h[m]=v,element.addEventListener(c,v,o)}function Tt(element,e,t,n,r){const o=yt(e[t],n,r);o&&(element.removeEventListener(t,o,Boolean(r)),delete e[t][o.uidEvent])}function wt(e){return e=e.replace(lt,""),pt[e]||e}const St={on(element,e,t,n){_t(element,e,t,n,!1)},one(element,e,t,n){_t(element,e,t,n,!0)},off(element,e,t,n){if("string"!=typeof e||!element)return;const[r,o,l]=bt(e,t,n),c=l!==e,d=vt(element),h=e.startsWith(".");if(void 0!==o){if(!d||!d[l])return;return void Tt(element,d,l,o,r?t:null)}h&&Object.keys(d).forEach((t=>{!function(element,e,t,n){const r=e[t]||{};Object.keys(r).forEach((o=>{if(o.includes(n)){const n=r[o];Tt(element,e,t,n.originalHandler,n.delegationSelector)}}))}(element,d,t,e.slice(1))}));const f=d[l]||{};Object.keys(f).forEach((t=>{const n=t.replace(ut,"");if(!c||e.includes(n)){const e=f[t];Tt(element,d,l,e.originalHandler,e.delegationSelector)}}))},trigger(element,e,t){if("string"!=typeof e||!element)return null;const n=Ze(),r=wt(e),o=e!==r,l=mt.has(r);let c,d=!0,h=!0,f=!1,m=null;return o&&n&&(c=n.Event(e,t),n(element).trigger(c),d=!c.isPropagationStopped(),h=!c.isImmediatePropagationStopped(),f=c.isDefaultPrevented()),l?(m=document.createEvent("HTMLEvents"),m.initEvent(r,d,!0)):m=new CustomEvent(e,{bubbles:d,cancelable:!0}),void 0!==t&&Object.keys(t).forEach((e=>{Object.defineProperty(m,e,{get:()=>t[e]})})),f&&m.preventDefault(),h&&element.dispatchEvent(m),m.defaultPrevented&&void 0!==c&&c.preventDefault(),m}},Et=new Map,xt={set(element,e,t){Et.has(element)||Et.set(element,new Map);const n=Et.get(element);n.has(e)||0===n.size?n.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(element,e)=>Et.has(element)&&Et.get(element).get(e)||null,remove(element,e){if(!Et.has(element))return;const t=Et.get(element);t.delete(e),0===t.size&&Et.delete(element)}};class kt{constructor(element){(element=qe(element))&&(this._element=element,xt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){xt.remove(this._element,this.constructor.DATA_KEY),St.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEac
2h((e=>{this[e]=null}))}_queueCallback(e,element,t=!0){at(e,element,t)}static getInstance(element){return xt.get(qe(element),this.DATA_KEY)}static getOrCreateInstance(element,e={}){return this.getInstance(element)||new this(element,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const Ct=(component,e="hide")=>{const t=`click.dismiss${component.EVENT_KEY}`,n=component.NAME;St.on(document,t,`[data-bs-dismiss="${n}"]`,(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Xe(this))return;const r=He(this)||this.closest(`.${n}`);component.getOrCreateInstance(r)[e]()}))};class At extends kt{static get NAME(){return"alert"}close(){if(St.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),St.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const data=At.getOrCreateInstance(this);if("string"==typeof e){if(void 0===data[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);data[e](this)}}))}}Ct(At,"close"),it(At);const Ot='[data-bs-toggle="button"]';class jt extends kt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const data=jt.getOrCreateInstance(this);"toggle"===e&&data[e]()}))}}function It(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function Pt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}St.on(document,"click.bs.button.data-api",Ot,(e=>{e.preventDefault();const button=e.target.closest(Ot);jt.getOrCreateInstance(button).toggle()})),it(jt);const Lt={setDataAttribute(element,e,t){element.setAttribute(`data-bs-${Pt(e)}`,t)},removeDataAttribute(element,e){element.removeAttribute(`data-bs-${Pt(e)}`)},getDataAttributes(element){if(!element)return{};const e={};return Object.keys(element.dataset).filter((e=>e.startsWith("bs"))).forEach((t=>{let n=t.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=It(element.dataset[t])})),e},getDataAttribute:(element,e)=>It(element.getAttribute(`data-bs-${Pt(e)}`)),offset(element){const rect=element.getBoundingClientRect();return{top:rect.top+window.pageYOffset,left:rect.left+window.pageXOffset}},position:element=>({top:element.offsetTop,left:element.offsetLeft})},Mt={find:(e,element=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(element,e)),findOne:(e,element=document.documentElement)=>Element.prototype.querySelector.call(element,e),children:(element,e)=>[].concat(...element.children).filter((t=>t.matches(e))),parents(element,e){const t=[];let n=element.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&t.push(n),n=n.parentNode;return t},prev(element,e){let t=element.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(element,e){let t=element.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(element){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(e,element).filter((e=>!Xe(e)&&Ge(e)))}},Dt="carousel",Nt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Rt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Bt="next",Ut="prev",Ft="left",zt="right",$t={ArrowLeft:zt,ArrowRight:Ft},Ht="slid.bs.carousel",Wt="active",Vt=".active.carousel-item";class qt extends kt{constructor(element,e){super(element),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=Mt.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Nt}static get NAME(){return Dt}next(){this._slide(Bt)}nextWhenVisible(){!document.hidden&&Ge(this._element)&&this.next()}prev(){this._slide(Ut)}pause(e){e||(this._isPaused=!0),Mt.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(We(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=Mt.findOne(Vt,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void St.one(this._element,Ht,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?Bt:Ut;this._slide(n,this._items[e])}_getConfig(e){return e={...Nt,...Lt.getDataAttributes(this._element),..."object"==typeof e?e:{}},Ye(Dt,e,Rt),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?zt:Ft)}_addEventListeners(){this._config.keyboard&&St.on(this._element,"keydown.bs.carousel",(e=>
2this._keydown(e))),"hover"===this._config.pause&&(St.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),St.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},r=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};Mt.find(".carousel-item img",this._element).forEach((e=>{St.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(St.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),St.on(this._element,"pointerup.bs.carousel",(e=>r(e))),this._element.classList.add("pointer-event")):(St.on(this._element,"touchstart.bs.carousel",(e=>t(e))),St.on(this._element,"touchmove.bs.carousel",(e=>n(e))),St.on(this._element,"touchend.bs.carousel",(e=>r(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=$t[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(element){return this._items=element&&element.parentNode?Mt.find(".carousel-item",element.parentNode):[],this._items.indexOf(element)}_getItemByOrder(e,t){const n=e===Bt;return st(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),r=this._getItemIndex(Mt.findOne(Vt,this._element));return St.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:r,to:n})}_setActiveIndicatorElement(element){if(this._indicatorsElement){const e=Mt.findOne(".active",this._indicatorsElement);e.classList.remove(Wt),e.removeAttribute("aria-current");const t=Mt.find("[data-bs-target]",this._indicatorsElement);for(let i=0;i<t.length;i++)if(Number.parseInt(t[i].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(element)){t[i].classList.add(Wt),t[i].setAttribute("aria-current","true");break}}}_updateInterval(){const element=this._activeElement||Mt.findOne(Vt,this._element);if(!element)return;const e=Number.parseInt(element.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,element){const t=this._directionToOrder(e),n=Mt.findOne(Vt,this._element),r=this._getItemIndex(n),o=element||this._getItemByOrder(t,n),l=this._getItemIndex(o),c=Boolean(this._interval),d=t===Bt,h=d?"carousel-item-start":"carousel-item-end",f=d?"carousel-item-next":"carousel-item-prev",m=this._orderToDirection(t);if(o&&o.classList.contains(Wt))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(o,m).defaultPrevented)return;if(!n||!o)return;this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const v=()=>{St.trigger(this._element,Ht,{relatedTarget:o,direction:m,from:r,to:l})};if(this._element.classList.contains("slide")){o.classList.add(f),Je(o),n.classList.add(h),o.classList.add(h);const e=()=>{o.classList.remove(h,f),o.classList.add(Wt),n.classList.remove(Wt,f,h),this._isSliding=!1,setTimeout(v,0)};this._queueCallback(e,n,!0)}else n.classList.remove(Wt),o.classList.add(Wt),this._isSliding=!1,v();c&&this.cycle()}_directionToOrder(e){return[zt,Ft].includes(e)?tt()?e===Ft?Ut:Bt:e===Ft?Bt:Ut:e}_orderToDirection(e){return[Bt,Ut].includes(e)?tt()?e===Ut?Ft:zt:e===Ut?zt:Ft:e}static carouselInterface(element,e){const data=qt.getOrCreateInstance(element,e);let{_config:t}=data;"object"==typeof e&&(t={...t,...e});const n="string"==typeof e?e:t.slide;if("number"==typeof e)data.to(e);else if("string"==typeof n){if(void 0===data[n])throw new TypeError(`No method named "${n}"`);data[n]()}else t.interval&&t.ride&&(data.pause(),data.cycle())}static jQueryInterface(e){return this.each((function(){qt.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=He(this);if(!t||!t.classList.contains("carousel"))return;const n={...Lt.getDataAttributes(t),...Lt.getDataAttributes(this)},r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),qt.carouselInterface(t,n),r&&qt.getInstance(t).to(r),e.preventDefault()}}St.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",qt.dataApiClickHandler),St.on(window,"load.bs.carousel.data-api",(()=>{const e=Mt.find('[data-bs-ride="carousel"]');for(let i=0,t=e.length;i<t;i++)qt.carouselInterface(e[i],qt.getInstance(e[i]))})),it(qt);const Yt="collapse",Gt="bs.collapse",Xt={toggle:!0,parent:null},Kt={toggle:"boolean",parent:"(null|element)"},Qt="show",Jt="collapse",Zt="collapsing",ei="collapsed",ti=":scope .collapse .collapse",ii='[data-bs-toggle="collapse"]';class ni extends kt{constructor(element,e){super(element),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const t=Mt.find(ii);for(let i=0,e=t.length;i<e;i++){const e=t[i],n=$e(e),r=Mt.find(n).filter((e=>e===this._element));null!==n&&r.length&&(this._selector=n,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Xt}static get NAME(){return Yt}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=Mt.find(ti,this._config.parent);t=Mt.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=Mt.findOne(this._selector);if(t.length){const r=t.find((e=>n!==e));if(e=r?ni.getInstance(r):null,e&&e._isTransitioning)return}if(St.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&ni.getOrCreateInstance(t,{toggle:!1}).hide(),e||xt.set(t,Gt,null)}));const r=this._getDimension();this._element.classList.remove(Jt),this._element.classList.add(Zt),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Zt),this._element.classList.add(Jt,Qt),this._element.style[r]="",St.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[r]=`${this._element[o]}
2px`}hide(){if(this._isTransitioning||!this._isShown())return;if(St.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Je(this._element),this._element.classList.add(Zt),this._element.classList.remove(Jt,Qt);const t=this._triggerArray.length;for(let i=0;i<t;i++){const e=this._triggerArray[i],t=He(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Zt),this._element.classList.add(Jt),St.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(element=this._element){return element.classList.contains(Qt)}_getConfig(e){return(e={...Xt,...Lt.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=qe(e.parent),Ye(Yt,e,Kt),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=Mt.find(ti,this._config.parent);Mt.find(ii,this._config.parent).filter((t=>!e.includes(t))).forEach((element=>{const e=He(element);e&&this._addAriaAndCollapsedClass([element],this._isShown(e))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(ei):e.classList.add(ei),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const data=ni.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e]()}}))}}St.on(document,"click.bs.collapse.data-api",ii,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=$e(this);Mt.find(t).forEach((element=>{ni.getOrCreateInstance(element,{toggle:!1}).toggle()}))})),it(ni);const ri="dropdown",ai="Escape",si="Space",oi="ArrowUp",ui="ArrowDown",ci=new RegExp("ArrowUp|ArrowDown|Escape"),di="click.bs.dropdown.data-api",hi="keydown.bs.dropdown.data-api",pi="show",fi='[data-bs-toggle="dropdown"]',mi=".dropdown-menu",gi=tt()?"top-end":"top-start",vi=tt()?"top-start":"top-end",yi=tt()?"bottom-end":"bottom-start",bi=tt()?"bottom-start":"bottom-end",_i=tt()?"left-start":"right-start",Ti=tt()?"right-start":"left-start",wi={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Si={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Ei extends kt{constructor(element,e){super(element),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return wi}static get DefaultType(){return Si}static get NAME(){return ri}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Xe(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(St.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=Ei.getParentFromElement(this._element);this._inNavbar?Lt.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".
2navbar-nav")&&[].concat(...document.body.children).forEach((e=>St.on(e,"mouseover",Qe))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(pi),this._element.classList.add(pi),St.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(Xe(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){St.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>St.off(e,"mouseover",Qe))),this._popper&&this._popper.destroy(),this._menu.classList.remove(pi),this._element.classList.remove(pi),this._element.setAttribute("aria-expanded","false"),Lt.removeDataAttribute(this._menu,"popper"),St.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...Lt.getDataAttributes(this._element),...e},Ye(ri,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Ve(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${ri.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:Ve(this._config.reference)?t=qe(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),o=n.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Be(t,this._menu,n),o&&Lt.setDataAttribute(this._menu,"popper","static")}_isShown(element=this._element){return element.classList.contains(pi)}_getMenuElement(){return Mt.next(this._element,mi)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return _i;if(e.classList.contains("dropstart"))return Ti;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?vi:gi:t?bi:yi}
2_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=Mt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Ge);n.length&&st(n,t,e===ui,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const data=Ei.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=Mt.find(fi);for(let i=0,n=t.length;i<n;i++){const n=Ei.getInstance(t[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const r={relatedTarget:n._element};if(e){const t=e.composedPath(),o=t.includes(n._menu);if(t.includes(n._element)||"inside"===n._config.autoClose&&!o||"outside"===n._config.autoClose&&o)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(r.clickEvent=e)}n._completeHide(r)}}static getParentFromElement(element){return He(element)||element.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===si||e.key!==ai&&(e.key!==ui&&e.key!==oi||e.target.closest(mi)):!ci.test(e.key))return;const t=this.classList.contains(pi);if(!t&&e.key===ai)return;if(e.preventDefault(),e.stopPropagation(),Xe(this))return;const n=this.matches(fi)?this:Mt.prev(this,fi)[0],r=Ei.getOrCreateInstance(n);if(e.key!==ai)return e.key===oi||e.key===ui?(t||r.show(),void r._selectMenuItem(e)):void(t&&e.key!==si||Ei.clearMenus());r.hide()}}St.on(document,hi,fi,Ei.dataApiKeydownHandler),St.on(document,hi,mi,Ei.dataApiKeydownHandler),St.on(document,di,Ei.clearMenus),St.on(document,"keyup.bs.dropdown.data-api",Ei.clearMenus),St.on(document,di,fi,(function(e){e.preventDefault(),Ei.getOrCreateInstance(this).toggle()})),it(Ei);const xi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ki=".sticky-top";class Ci{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(t=>t+e)),this._setElementAttributes(xi,"paddingRight",(t=>t+e)),this._setElementAttributes(ki,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const r=this.getWidth();this._applyManipulationCallback(e,(element=>{if(element!==this._element&&window.innerWidth>element.clientWidth+r)return;this._saveInitialAttribute(element,t);const e=window.getComputedStyle(element)[t];element.style[t]=`${n(Number.parseFloat(e))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(xi,"paddingRight"),this._resetElementAttributes(ki,"marginRight")}_saveInitialAttribute(element,e){const t=element.style[e];t&&Lt.setDataAttribute(element,e,t)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(element=>{const e=Lt.getDataAttribute(element,t);void 0===e?element.style.removeProperty(t):(Lt.removeDataAttribute(element,t),element.style[t]=e)}))}_applyManipulationCallback(e,t){Ve(e)?t(e):Mt.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const Ai={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Oi={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ji="backdrop",Ii="show",Pi="mousedown.bs.backdrop";class Li{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&Je(this._getElement()),this._getElement().classList.add(Ii),this._emulateAnimation((()=>{nt(e)}))):nt(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(Ii),this._emulateAnimation((()=>{this.dispose(),nt(e)}))):nt(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...Ai,..."object"==typeof e?e:{}}).rootElement=qe(e.rootElement),Ye(ji,e,Oi),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),St.on(this._getElement(),Pi,(()=>{nt(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(St.off(this._element,Pi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){at(e,this._getElement(),this._config.isAnimated)}}const Mi={trapElement:null,autofocus:!0},Di={trapElement:"element",autofocus:"boolean"},Ni=".bs.focustrap",Ri="backward";class Bi{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),St.off(document,Ni),St.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),St.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,St.off(document,Ni))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const r=Mt.focusableChildren(n);0===r.length?n.focus():this._lastTabNavDirection===Ri?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Ri:"forward")}_getConfig(e){return e={...Mi,..."object"==typeof e?e:{}},Ye("focustrap",e,Di),e}}const Ui="modal",Fi=".bs.modal",zi="Escape",$i={backdrop:!0,keyboard:!0,focus:!0},Hi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Wi="hidden.bs.modal",Vi="show.bs.modal",qi="resize.bs.modal",Yi="click.dismiss.bs.modal",Gi="keydown.dismiss.bs.modal",Xi="mousedown.dismiss.bs.modal",Ki="modal-open",Qi="show",Ji="modal-static";class Zi extends kt{constructor(element,e){super(element),this._config=this._getConfig(e),this._dialog=Mt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Ci}static get Default(){return $i}static get NAME(){return Ui}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;St.trigger(this._element,Vi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Ki),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),St.on(this._dialog,Xi,(()=>{St.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}
2hide(){if(!this._isShown||this._isTransitioning)return;if(St.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Qi),St.off(this._element,Yi),St.off(this._dialog,Xi),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>St.off(e,Fi))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Li({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Bi({trapElement:this._element})}_getConfig(e){return e={...$i,...Lt.getDataAttributes(this._element),..."object"==typeof e?e:{}},Ye(Ui,e,Hi),e}_showElement(e){const t=this._isAnimated(),n=Mt.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),t&&Je(this._element),this._element.classList.add(Qi);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,St.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?St.on(this._element,Gi,(e=>{this._config.keyboard&&e.key===zi?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==zi||this._triggerBackdropTransition()})):St.off(this._element,Gi)}_setResizeEvent(){this._isShown?St.on(window,qi,(()=>this._adjustDialog())):St.off(window,qi)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ki),this._resetAdjustments(),this._scrollBar.reset(),St.trigger(this._element,Wi)}))}_showBackdrop(e){St.on(this._element,Yi,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(St.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:style}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===style.overflowY||e.contains(Ji)||(n||(style.overflowY="hidden"),e.add(Ji),this._queueCallback((()=>{e.remove(Ji),n||this._queueCallback((()=>{style.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!tt()||n&&!e&&tt())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!tt()||!n&&e&&tt())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const data=Zi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e](t)}}))}}St.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=He(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),St.one(t,Vi,(e=>{e.defaultPrevented||St.one(t,Wi,(()=>{Ge(this)&&this.focus()}))}));const n=Mt.findOne(".modal.show");n&&Zi.getInstance(n).hide();Zi.getOrCreateInstance(t).toggle(this)})),Ct(Zi),it(Zi);const en="offcanvas",tn={backdrop:!0,keyboard:!0,scroll:!1},nn={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},rn="show",an=".offcanvas.show",sn="hidden.bs.offcanvas";class on extends kt{constructor(element,e){super(element),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return en}static get Default(){return tn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(St.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Ci).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rn);this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),St.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0)}
2hide(){if(!this._isShown)return;if(St.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(rn),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Ci).reset(),St.trigger(this._element,sn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...tn,...Lt.getDataAttributes(this._element),..."object"==typeof e?e:{}},Ye(en,e,nn),e}_initializeBackDrop(){return new Li({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Bi({trapElement:this._element})}_addEventListeners(){St.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const data=on.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);data[e](this)}}))}}St.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=He(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Xe(this))return;St.one(t,sn,(()=>{Ge(this)&&this.focus()}));const n=Mt.findOne(an);n&&n!==t&&on.getInstance(n).hide();on.getOrCreateInstance(t).toggle(this)})),St.on(window,"load.bs.offcanvas.data-api",(()=>Mt.find(an).forEach((e=>on.getOrCreateInstance(e).show())))),Ct(on),it(on);const ln=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),un=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,cn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,dn=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!ln.has(n)||Boolean(un.test(e.nodeValue)||cn.test(e.nodeValue));const r=t.filter((e=>e instanceof RegExp));for(let i=0,e=r.length;i<e;i++)if(r[i].test(n))return!0;return!1},hn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function pn(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...r.body.querySelectorAll("*"));for(let i=0,e=o.length;i<e;i++){const element=o[i],e=element.nodeName.toLowerCase();if(!Object.keys(t).includes(e)){element.remove();continue}const n=[].concat(...element.attributes),r=[].concat(t["*"]||[],t[e]||[]);n.forEach((e=>{dn(e,r)||element.removeAttribute(e.nodeName)}))}return r.body.innerHTML}const fn="tooltip",mn=new Set(["sanitize","allowList","sanitizeFn"]),gn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},vn={AUTO:"auto",TOP:"top",RIGHT:tt()?"left":"right",BOTTOM:"bottom",LEFT:tt()?"right":"left"},yn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:hn,popperConfig:null},bn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},_n="fade",Tn="show",wn="show",Sn="out",En=".tooltip-inner",xn=".modal",kn="hide.bs.modal",Cn="hover",An="focus";class On extends kt{constructor(element,e){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(element),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return yn}static get NAME(){return fn}static get Event(){return bn}static get DefaultType(){return gn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(Tn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),St.off(this._element.closest(xn),kn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=St.trigger(this._element,this.constructor.Event.SHOW),t=Ke(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(En).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const r=this.getTipElement(),o=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);r.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&r.classList.add(_n);const l="function"==typeof this._config.placement?this._config.placement.call(this,r,this._element):this._config.placement,c=this._getAttachment(l);this._addAttachmentClass(c);const{container:d}=this._config;xt.set(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(d.append(r),St.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update(
2):this._popper=Be(this._element,r,this._getPopperConfig(c)),r.classList.add(Tn);const h=this._resolvePossibleFunction(this._config.customClass);h&&r.classList.add(...h.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((element=>{St.on(element,"mouseover",Qe)}));const f=this.tip.classList.contains(_n);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,St.trigger(this._element,this.constructor.Event.SHOWN),e===Sn&&this._leave(null,this)}),this.tip,f)}hide(){if(!this._popper)return;const e=this.getTipElement();if(St.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(Tn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((element=>St.off(element,"mouseover",Qe))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(_n);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==wn&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),St.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const element=document.createElement("div");element.innerHTML=this._config.template;const e=element.children[0];return this.setContent(e),e.classList.remove(_n,Tn),this.tip=e,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),En)}_sanitizeAndSetContent(template,content,e){const t=Mt.findOne(e,template);content||!t?this.setElementContent(t,content):t.remove()}setElementContent(element,content){if(null!==element)return Ve(content)?(content=qe(content),void(this._config.html?content.parentNode!==element&&(element.innerHTML="",element.append(content)):element.textContent=content.textContent)):void(this._config.html?(this._config.sanitize&&(content=pn(content,this._config.allowList,this._config.sanitizeFn)),element.innerHTML=content):element.textContent=content)}getTitle(){const title=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(title)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(content){return"function"==typeof content?content.call(this._element):content}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:data=>this._handlePopperPlacementChange(data)}],onFirstUpdate:data=>{data.options.placement!==data.placement&&this._handlePopperPlacementChange(data)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return vn[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)St.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===Cn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===Cn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;St.on(this._element,t,this._config.selector,(e=>this._enter(e))),St.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},St.on(this._element.closest(xn),kn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const title=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(title||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",title||""),!title||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",title),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?An:Cn]=!0),t.getTipElement().classList.contains(Tn)||t._hoverState===wn?t._hoverState=wn:(clearTimeout(t._timeout),t._hoverState=wn,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===wn&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?An:Cn]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Sn,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===Sn&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=Lt.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{mn.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:qe(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),Ye(fn,e,this.constructor.DefaultType),e.sanitize&&(e.template=pn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map((e=>
2e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const data=On.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e]()}}))}}it(On);const jn={...On.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},In={...On.DefaultType,content:"(string|element|function)"},Pn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Ln extends On{static get Default(){return jn}static get NAME(){return"popover"}static get Event(){return Pn}static get DefaultType(){return In}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const data=Ln.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e]()}}))}}it(Ln);const Mn="scrollspy",Dn=".bs.scrollspy",Nn={offset:10,method:"auto",target:""},Rn={offset:"number",method:"string",target:"(string|element)"},Bn="dropdown-item",Un="active",Fn=".nav-link",zn=".nav-link, .list-group-item, .dropdown-item",$n="position";class Hn extends kt{constructor(element,e){super(element),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,St.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return Nn}static get NAME(){return Mn}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":$n,t="auto"===this._config.method?e:this._config.method,n=t===$n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();Mt.find(zn,this._config.target).map((element=>{const e=$e(element),r=e?Mt.findOne(e):null;if(r){const o=r.getBoundingClientRect();if(o.width||o.height)return[Lt[t](r).top+n,e]}return null})).filter((e=>e)).sort(((a,b)=>a[0]-b[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){St.off(this._scrollElement,Dn),super.dispose()}_getConfig(e){return(e={...Nn,...Lt.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=qe(e.target)||document.documentElement,Ye(Mn,e,Rn),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}}}_activate(e){this._activeTarget=e,this._clear();const t=zn.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),link=Mt.findOne(t.join(","),this._config.target);link.classList.add(Un),link.classList.contains(Bn)?Mt.findOne(".dropdown-toggle",link.closest(".dropdown")).classList.add(Un):Mt.parents(link,".nav, .list-group").forEach((e=>{Mt.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(Un))),Mt.prev(e,".nav-item").forEach((e=>
2{Mt.children(e,Fn).forEach((e=>e.classList.add(Un)))}))})),St.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){Mt.find(zn,this._config.target).filter((e=>e.classList.contains(Un))).forEach((e=>e.classList.remove(Un)))}static jQueryInterface(e){return this.each((function(){const data=Hn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e]()}}))}}St.on(window,"load.bs.scrollspy.data-api",(()=>{Mt.find('[data-bs-spy="scroll"]').forEach((e=>new Hn(e)))})),it(Hn);const Wn="active",Vn="fade",qn="show",Yn=".active",Gn=":scope > li > .active";class Xn extends kt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Wn))return;let e;const t=He(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?Gn:Yn;e=Mt.find(t,n),e=e[e.length-1]}const r=e?St.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(St.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,n);const o=()=>{St.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),St.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,o):o()}_activate(element,e,t){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Mt.children(e,Yn):Mt.find(Gn,e))[0],r=t&&n&&n.classList.contains(Vn),o=()=>this._transitionComplete(element,n,t);n&&r?(n.classList.remove(qn),this._queueCallback(o,element,!0)):o()}_transitionComplete(element,e,t){if(e){e.classList.remove(Wn);const t=Mt.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Wn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}element.classList.add(Wn),"tab"===element.getAttribute("role")&&element.setAttribute("aria-selected",!0),Je(element),element.classList.contains(Vn)&&element.classList.add(qn);let n=element.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=element.closest(".dropdown");e&&Mt.find(".dropdown-toggle",e).forEach((e=>e.classList.add(Wn))),element.setAttribute("aria-expanded",!0)}t&&t()}static jQueryInterface(e){return this.each((function(){const data=Xn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method named "${e}"`);data[e]()}}))}}St.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Xe(this))return;Xn.getOrCreateInstance(this).show()})),it(Xn);const Kn="toast",Qn="hide",Jn="show",Zn="showing",er={animation:"boolean",autohide:"boolean",delay:"number"},ir={animation:!0,autohide:!0,delay:5e3};class nr extends kt{constructor(element,e){super(element),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return er}static get Default(){return ir}static get NAME(){return Kn}show(){if(St.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Qn),Je(this._element),this._element.classList.add(Jn),this._element.classList.add(Zn),this._queueCallback((()=>{this._element.classList.remove(Zn),St.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Jn))return;if(St.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(Zn),this._queueCallback((()=>{this._element.classList.add(Qn),this._element.classList.remove(Zn),this._element.classList.remove(Jn),St.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Jn)&&this._element.classList.remove(Jn),super.dispose()}_getConfig(e){return e={...ir,...Lt.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},Ye(Kn,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){St.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),St.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),St.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),St.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const data=nr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===data[e])throw new TypeError(`No method n
2amed "${e}"`);data[e](this)}}))}}Ct(nr),it(nr)},136:function(e,t,n){"use strict";var r=n(263),o=n.n(r),l=n(1),c=n.n(l),d="http://example.com";t.a=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=c.a.location&&c.a.location.href||"");var n="function"==typeof c.a.URL,r=/^\/\//.test(e),l=!c.a.location&&!/\/\//i.test(e);if(n?e=new c.a.URL(e,c.a.location||d):/\/\//i.test(e)||(e=o.a.buildAbsoluteURL(c.a.location&&c.a.location.href||"",e)),n){var h=new URL(t,e);return l?h.href.slice(d.length):r?h.href.slice(h.protocol.length):h.href}return o.a.buildAbsoluteURL(e,t)}},137:function(e,t,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(e,t){var n=t.parent,r=t.slots,o=t.props,l=r(),c=l.default;void 0===c&&(c=[]);var d=l.placeholder;return n._isMounted?c:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||d)?e(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||d):c.length>0?c.map((function(){return e(!1)})):e(!1))}};e.exports=r},138:function(e,t,n){"use strict";function r(e,t,n){"object"==typeof n.value&&(n.value=o(n.value)),n.enumerable&&!n.get&&!n.set&&n.configurable&&n.writable&&"__proto__"!==t?e[t]=n.value:Object.defineProperty(e,t,n)}function o(e){if("object"!=typeof e)return e;var t,n,l,i=0,c=Object.prototype.toString.call(e);if("[object Object]"===c?l=Object.create(e.__proto__||null):"[object Array]"===c?l=Array(e.length):"[object Set]"===c?(l=new Set,e.forEach((function(e){l.add(o(e))}))):"[object Map]"===c?(l=new Map,e.forEach((function(e,t){l.set(o(t),o(e))}))):"[object Date]"===c?l=new Date(+e):"[object RegExp]"===c?l=new RegExp(e.source,e.flags):"[object DataView]"===c?l=new e.constructor(o(e.buffer)):"[object ArrayBuffer]"===c?l=e.slice(0):"Array]"===c.slice(-6)&&(l=new e.constructor(e)),l){for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)r(l,n[i],Object.getOwnPropertyDescriptor(e,n[i]));for(i=0,n=Object.getOwnPropertyNames(e);i<n.length;i++)Object.hasOwnProperty.call(l,t=n[i])&&l[t]===e[t]||r(l,t,Object.getOwnPropertyDescriptor(e,t))}return l||e}n.d(t,"a",(function(){return o}))},157:function(e,t){var n,r,o,l,c,d,h,f=9e4;n=function(e){return e*f},r=function(e,t){return e*t},o=function(e){return e/f},l=function(e,t){return e/t},c=function(e,t){return n(l(e,t))},d=function(e,t){return r(o(e),t)},h=function(e,t,n){return o(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:f,secondsToVideoTs:n,secondsToAudioTs:r,videoTsToSeconds:o,audioTsToSeconds:l,audioTsToVideoTs:c,videoTsToAudioTs:d,metadataTsToSeconds:h}},159:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return P}));var r,o=n(2),l=(new Uint8Array([79,112,117,115,72,101,97,100]),function(path){return"string"==typeof path?Object(o.g)(path):path}),c=function(e){e=Object(o.j)(e);for(var t=[],i=0;e.length>i;){var n=e[i],l=0,c=0,d=e[++c];for(c++;128&d;)l=(127&d)<<7,d=e[c],c++;l+=127&d;for(var h=0;h<r.length;h++){var f=r[h],m=f.id,v=f.parser;if(n===m){t.push(v(e.subarray(c,c+l)));break}}i+=l+c}return t};r=[{id:3,parser:function(e){var desc={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&desc.flags&&(desc.dependsOnEsId=e[desc.size]<<8|e[desc.size+1],desc.size+=2),64&desc.flags){var t=e[desc.size];desc.url=Object(o.c)(e.subarray(desc.size+1,desc.size+1+t)),desc.size+=t}return 32&desc.flags&&(desc.ocrEsId=e[desc.size]<<8|e[desc.size+1],desc.size+=2),desc.descriptors=c(e.subarray(desc.size))||[],desc}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:c(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var d=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(p){return l(p)})):[l(e)]}(n),t=Object(o.j)(t);var c=[];if(!n.length)return c;for(var i=0;i<t.length;){var d=(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0,h=t.subarray(i+4,i+8);if(0===d)break;var f=i+d;if(f>t.length){if(r)break;f=t.length}var data=t.subarray(i+8,f);Object(o.a)(h,n[0])&&(1===n.length?c.push(data):c.push.apply(c,e(data,n.slice(1),r))),i=f}return c},h={EBML:Object(o.j)([26,69,223,163]),DocType:Object(o.j)([66,130]),Segment:Object(o.j)([24,83,128,103]),SegmentInfo:Object(o.j)([21,73,169,102]),Tracks:Object(o.j)([22,84,174,107]),Track:Object(o.j)([174]),TrackNumber:Object(o.j)([215]),DefaultDuration:Object(o.j)([35,227,131]),TrackEntry:Object(o.j)([174]),TrackType:Object(o.j)([131]),FlagDefault:Object(o.j)([136]),CodecID:Object(o.j)([134]),CodecPr
vendor: 4,553 bytes, line 2
2ivate:Object(o.j)([99,162]),VideoTrack:Object(o.j)([224]),AudioTrack:Object(o.j)([225]),Cluster:Object(o.j)([31,67,182,117]),Timestamp:Object(o.j)([231]),TimestampScale:Object(o.j)([42,215,177]),BlockGroup:Object(o.j)([160]),BlockDuration:Object(o.j)([155]),Block:Object(o.j)([161]),SimpleBlock:Object(o.j)([163])},f=[128,64,32,16,8,4,2,1],m=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var l=function(e){for(var t=1,i=0;i<f.length&&!(e&f[i]);i++)t++;return t}(e[t]),c=e.subarray(t,t+l);return n&&((c=Array.prototype.slice.call(e,t,t+l))[0]^=f[l-1]),{length:l,value:Object(o.b)(c,{signed:r}),bytes:c}},v=function e(path){return"string"==typeof path?path.match(/.{1,2}/g).map((function(p){return e(p)})):"number"==typeof path?Object(o.e)(path):path},y=function e(t,n,r){if(r>=n.length)return n.length;var l=m(n,r,!1);if(Object(o.a)(t.bytes,l.bytes))return r;var c=m(n,r+l.length);return e(t,n,r+c.length+c.value+l.length)},_=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(p){return v(p)})):[v(e)]}(n),t=Object(o.j)(t);var r=[];if(!n.length)return r;for(var i=0;i<t.length;){var l=m(t,i,!1),c=m(t,i+l.length),d=i+l.length+c.length;127===c.value&&(c.value=y(l,t,d),c.value!==t.length&&(c.value-=d));var h=d+c.value>t.length?t.length:d+c.value,data=t.subarray(d,h);Object(o.a)(n[0],l.bytes)&&(1===n.length?r.push(data):r=r.concat(e(data,n.slice(1)))),i+=l.length+c.length+data.length}return r},T=n(112),w=Object(o.j)([0,0,0,1]),S=Object(o.j)([0,0,1]),E=Object(o.j)([0,0,3]),x=function(e){for(var t=[],i=1;i<e.length-2;)Object(o.a)(e.subarray(i,i+3),E)&&(t.push(i+2),i++),i++;if(0===t.length)return e;var n=e.length-t.length,r=new Uint8Array(n),l=0;for(i=0;i<n;l++,i++)l===t[0]&&(l++,t.shift()),r[i]=e[l];return r},k=function(e,t,n,r){void 0===r&&(r=1/0),e=Object(o.j)(e),n=[].concat(n);for(var l,i=0,c=0;i<e.length&&(c<r||l);){var d=void 0;if(Object(o.a)(e.subarray(i),w)?d=4:Object(o.a)(e.subarray(i),S)&&(d=3),d){if(c++,l)return x(e.subarray(l,i));var h=void 0;"h264"===t?h=31&e[i+d]:"h265"===t&&(h=e[i+d]>>1&63),-1!==n.indexOf(h)&&(l=i+d),i+=d+("h264"===t?1:2)}else i++}return e.subarray(0,0)},C={webm:Object(o.j)([119,101,98,109]),matroska:Object(o.j)([109,97,116,114,111,115,107,97]),flac:Object(o.j)([102,76,97,67]),ogg:Object(o.j)([79,103,103,83]),ac3:Object(o.j)([11,119]),riff:Object(o.j)([82,73,70,70]),avi:Object(o.j)([65,86,73]),wav:Object(o.j)([87,65,86,69]),"3gp":Object(o.j)([102,116,121,112,51,103]),mp4:Object(o.j)([102,116,121,112]),fmp4:Object(o.j)([115,116,121,112]),mov:Object(o.j)([102,116,121,112,113,116]),moov:Object(o.j)([109,111,111,118]),moof:Object(o.j)([109,111,111,102])},A={aac:function(e){var t=Object(T.a)(e);return Object(o.a)(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=Object(T.a)(e);return Object(o.a)(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=_(e,[h.EBML,h.DocType])[0];return Object(o.a)(t,C.webm)},mkv:function(e){var t=_(e,[h.EBML,h.DocType])[0];return Object(o.a)(t,C.matroska)},mp4:function(e){return!A["3gp"](e)&&!A.mov(e)&&(!(!Object(o.a)(e,C.mp4,{offset:4})&&!Object(o.a)(e,C.fmp4,{offset:4}))||(!(!Object(o.a)(e,C.moof,{offset:4})&&!Object(o.a)(e,C.moov,{offset:4}))||void 0))},mov:function(e){return Object(o.a)(e,C.mov,{offset:4})},"3gp":function(e){return Object(o.a)(e,C["3gp"],{offset:4})},ac3:function(e){var t=Object(T.a)(e);return Object(o.a)(e,C.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var i=0;i+188<e.length&&i<188;){if(71===e[i]&&71===e[i+188])return!0;i+=1}return!1},flac:function(e){var t=Object(T.a)(e);return Object(o.a)(e,C.flac,{offset:t})},ogg:function(e){return Object(o.a)(e,C.ogg)},avi:function(e){return Object(o.a)(e,C.riff)&&Object(o.a)(e,C.avi,{offset:8})},wav:function(e){return Object(o.a)(e,C.riff)&&Object(o.a)(e,C.wav,{offset:8})},h264:function(e){return function(e,t,n){return k(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return k(e,"h265",t,n)}(e,[32,33],3).length}},O=Object.keys(A).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);O.forEach((function(e){var t=A[e];A[e]=function(e){return t(Object(o.j)(e))}}));var j=A,I=function(e){e=Object(o.j)(e);for(var i=0;i<O.length;i++){var t=O[i];if(j[t](e))return t}return""},P=function(e){return d(e,["moof"]).length>0}},17:function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return l[e];var n,c=String(e);return(n=r[c.toLowerCase()])?n:(n=o[c.toLowerCase()])||(1===c.length?c.charCo
2deAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var l;if(l=r[t.toLowerCase()])return l===n;if(l=o[t.toLowerCase()])return l===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var l=t.names=t.title={};for(i in r)l[r[i]]=i;for(var c in o)r[c]=o[c]},191:function(e,t,n){"use strict";function r(object,e){return void 0===e&&(e=Object),e&&"function"==typeof e.freeze?e.freeze(object):object}var o=r({HTML:"text/html",isHTML:function(e){return e===o.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),l=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===l.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.freeze=r,t.MIME_TYPE=o,t.NAMESPACE=l},197:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(1),o=n.n(r);function l(t){for(var s,n=(s=t,o.a.atob?o.a.atob(s):e.from(s,"base64").toString("binary")),r=new Uint8Array(n.length),i=0;i<n.length;i++)r[i]=n.charCodeAt(i);return r}}).call(this,n(774).Buffer)},198:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return S}));n(22),n(25),n(20),n(31),n(32),n(61),n(54),n(23),n(57),n(65),n(30);var r=n(5),o=n(64),l=(n(11),n(48),n(34),n(939),n(10),n(940),n(45),n(26),n(575),n(29),n(39),n(330),n(941),n(44),n(161),n(462),n(463),n(464),n(465),n(466),n(467),n(468),n(469),n(470),n(471),n(472),n(473),n(474),n(210),n(943),n(945),n(946),n(947),n(948),n(949),n(950),n(951),n(952),n(953),n(954),n(955),n(956),n(957),n(958),n(959),n(18),n(68),n(56),n(151),n(8)),c=n(60),d=n(493),h=n.n(d);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw o}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function v(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function y(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEac
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function _(){var e=Object(l.d)();if(e)return e.proxy}var T=function(e){return{head:function(){var t=e.head instanceof Function?e.head.call(this):e.head;if(!this._computedHead)return t;var n=this._computedHead.map((function(e){return Object(l.e)(e)?Object(l.m)(e):Object(l.f)(e)?e.value:e}));return h.a.apply(void 0,[{}].concat(Object(o.a)(n.reverse()),[t]))}}};window[c.a];new WeakMap,new Map;new Set;var w,S=function(e){var head=e.app.head;Object.assign(e.app,T({head:head}))},E=function(e){var t=e.app.setup;w=new Set,e.app.setup=function(){for(var e={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t instanceof Function&&(e=t.apply(void 0,r)||{});var l,c=f(w);try{for(c.s();!(l=c.n()).done;){var d=l.value;e=y(y({},e),d.call.apply(d,[this].concat(r))||{})}}catch(e){c.e(e)}finally{c.f()}return e}};var x=function(e,t){return function(){var n=_();if(!n)throw new Error("This must be called within a setup function.");return!1!==t?Object(l.a)((function(){return n[e]})):n[e]}};x("$router",!1),x("$route")},2:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"g",(function(){return T})),n.d(t,"d",(function(){return w})),n.d(t,"a",(function(){return S}));var a,b,r=n(1),o=function(b,e,t){return void 0===t&&(t=" "),(function(e,t){for(var n="";t--;)n+=e;return n}(t,e)+b.toString()).slice(-e)},l=function(e){return function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer}(e)},c=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||l(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},d=function(e){e=c(e);for(var t="",i=0;i<e.length;i++)t+=o(e[i].toString(16),2,"0");return t},h=function(e){e=c(e);for(var t="",i=0;i<e.length;i++)t+=o(e[i].toString(2),8,"0");return t},f=n.n(r).a.BigInt||Number,m=[f("0x1"),f("0x100"),f("0x10000"),f("0x1000000"),f("0x100000000"),f("0x10000000000"),f("0x1000000000000"),f("0x100000000000000"),f("0x10000000000000000")],v=(a=new Uint16Array([65484]),255===(b=new Uint8Array(a.buffer,a.byteOffset,a.byteLength))[0]||b[0],function(e,t){var n=void 0===t?{}:t,r=n.signed,o=void 0!==r&&r,l=n.le,d=void 0!==l&&l;e=c(e);var h=d?"reduce":"reduceRight",v=(e[h]?e[h]:Array.prototype[h]).call(e,(function(t,n,i){var r=d?i:Math.abs(i+1-e.length);return t+f(n)*m[r]}),f(0));if(o){var y=m[e.length]/f(2)-f(1);(v=f(v))>y&&(v-=y,v-=y,v-=f(2))}return Number(v)}),y=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=f(e);for(var o,l=(o=e,Math.ceil(function(e){return e.toString(2).length}(o)/8)),c=new Uint8Array(new ArrayBuffer(l)),i=0;i<l;i++){var d=r?i:Math.abs(i+1-c.length);c[d]=Number(e/m[i]&f(255)),e<0&&(c[d]=Math.abs(~c[d]),c[d]-=0===i?1:2)}return c},_=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,c(e));try{return decodeURIComponent(escape(t))}catch(e){}return t},T=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var view=new Uint8Array(e.length),i=0;i<e.length;i++)view[i]=e.charCodeAt(i);return view},w=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(b){return b&&(b.byteLength||b.length)&&"string"!=typeof b})),t.length<=1)return c(t[0]);var r=t.reduce((function(e,t,i){return e+(t.byteLength||t.length)}),0),o=new Uint8Array(r),l=0;return t.forEach((function(e){e=c(e),o.set(e,l),l+=e.byteLength})),o},S=function(a,b,e){var t=void 0===e?{}:e,n=t.offset,r=void 0===n?0:n,o=t.mask,mask=void 0===o?[]:o;a=c(a);var l=(b=c(b)).every?b.every:Array.prototype.every;return b.length&&a.length-r>=b.length&&l.call(b,(function(e,i){return e===(mask[i]?mask[i]&a[r+i]:a[r+i])}))}},205:function(e,t){var n=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=n},215:function(e,t,n){(function(t){var n="Expected a function",r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt,h="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,m=h||f||Function("return this")(),v=Object.prototype.toString,y=Math.max,_=Math.min,T=function(){return m.Date.now()};function w(e,t,r){var o,l,c,d,h,f,m=0,v=!1,w=!1,x=!0;if("function"!=typeof e)throw new TypeError(n);function k(time){var t=o,n=l;return o=l=void 0,m=time,d=e.apply(n,t)}function C(time){return m=time,h=setTimeout(O,t),v?k(time):d}function A(time){var e=time-f;return void 0===f||e>=t||e<0||w&&time-m>=c}function O(){var time=T();if(A(time))return j(time);h=setTimeout(O,function(time){var e=t-(time-f);return w?_(e,c-(time-m)):e}(time))}function j(time){return h=void 0,x&&o?k(time):(o=l=void 0,d)}function I(){var time=T(),e=A(time);if(o=arguments,l=this,f=time,e){if(void 0===h)return C(f);
2if(w)return h=setTimeout(O,t),k(f)}return void 0===h&&(h=setTimeout(O,t)),d}return t=E(t)||0,S(r)&&(v=!!r.leading,c=(w="maxWait"in r)?y(E(r.maxWait)||0,t):c,x="trailing"in r?!!r.trailing:x),I.cancel=function(){void 0!==h&&clearTimeout(h),m=0,o=f=l=h=void 0},I.flush=function(){return void 0===h?d:j(T())},I}function S(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==v.call(e)}(e))return NaN;if(S(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=S(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=l.test(e);return n||c.test(e)?d(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var o=!0,l=!0;if("function"!=typeof e)throw new TypeError(n);return S(r)&&(o="leading"in r?!!r.leading:o,l="trailing"in r?!!r.trailing:l),w(e,t,{leading:o,maxWait:t,trailing:l})}}).call(this,n(59))},258:function(e,t,n){"use strict";var r={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(e,t){var n=t.parent,r=t.slots,o=t.props,l=r(),c=l.default;void 0===c&&(c=[]);var d=l.placeholder;return n._isMounted?c:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||d)?e(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||d):c.length>0?c.map((function(){return e(!1)})):e(!1))}};e.exports=r},260:function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,f=d||h||Function("return this")(),m=Object.prototype.toString,v=Math.max,y=Math.min,_=function(){return f.Date.now()};function T(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==m.call(e)}(e))return NaN;if(T(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=T(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var d=o.test(e);return d||l.test(e)?c(e.slice(2),d?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,l,c,d,h,f=0,m=!1,S=!1,E=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function x(time){var t=r,n=o;return r=o=void 0,f=time,c=e.apply(n,t)}function k(time){return f=time,d=setTimeout(A,t),m?x(time):c}function C(time){var e=time-h;return void 0===h||e>=t||e<0||S&&time-f>=l}function A(){var time=_();if(C(time))return O(time);d=setTimeout(A,function(time){var e=t-(time-h);return S?y(e,l-(time-f)):e}(time))}function O(time){return d=void 0,E&&r?x(time):(r=o=void 0,c)}function j(){var time=_(),e=C(time);if(r=arguments,o=this,h=time,e){if(void 0===d)return k(h);if(S)return d=setTimeout(A,t),x(h)}return void 0===d&&(d=setTimeout(A,t)),c}return t=w(t)||0,T(n)&&(m=!!n.leading,l=(S="maxWait"in n)?v(w(n.maxWait)||0,t):l,E="trailing"in n?!!n.trailing:E),j.cancel=function(){void 0!==d&&clearTimeout(d),f=0,r=h=o=d=void 0},j.flush=function(){return void 0===d?c:O(_())},j}}).call(this,n(59))},261:function(e,t,n){"use strict";var r=n(1),o=n(76),l=n(768);d.httpHandler=n(769);function c(e,t,n){var r=e;return l(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=o({},t,{uri:e}),r.callback=n,r}function d(e,t,n){return h(t=c(e,t,n))}function h(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,body){t||(t=!0,e.callback(n,r,body))};function r(){var body=void 0;if(body=f.response?f.response:f.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(f),w)try{body=JSON.parse(body)}catch(e){}return body}function o(e){return clearTimeout(m),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,S)}function l(){if(!h){var t;clearTimeout(m),t=e.useXDR&&void 0===f.status?200:1223===f.status?204:f.status;var o=S,l=null;return 0!==t?(o={body:r(),statusCode:t,method:y,headers:{},url:v,rawRequest:f},f.getAllResponseHeaders&&(o.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]})),t):t}(f.getAllResponseHeaders()))):l=new Error("Internal XMLHttpRequest Error"),n(l,o,o.body)}}var c,h,f=e.xhr||null;f||(f=e.cors||e.useXDR?new d.XDomainRequest:new d.XMLHttpRequest);var m,v=f.url=e.uri||e.url,y=f.method=e.method||"GET",body=e.body||e.data,_=f.headers=e.headers||{},T=!!e.sync,w=!1,S={body:void 0,headers:{},statusCode:0,method:y,url:v,rawRequest:f};if("json"in e&&!1!==e.json&&(w=!0,_.accept||_.Accept||(_.Accept="application/json"),"GET"!==y&&"HEAD"!==y&&(_["content-type"]||_["Content-Type"]||(_["Content-Type"]="application/json"),body=JSON.stringify(!0===e.json?body:e.json))),f.onreadystatechange=function(){4===f.readyState&&setTimeout(l,0)},f.onload=l,f.onerror=o,f.onprogress=function(){},f.onabort=function(){h=!0},f.ontimeout=o,f.open(y,v,!T,e.username,e.password),T||(f.withCredentials=!!e.withCredentials),!T&&e.timeout>0&&(m=setTimeout((function(){if(!h){h=!0,f.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}}),e.timeout)),f.setRequestHeader)for(c in _)_.hasOwnProperty(c)&&f.setRequestHeader(c,_[c]);else if(e.headers&&!function(e){for(var i in e)if(e.hasOwnProperty(i))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(f.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(f),f.send(body||null),f}e.exports=d,e.exports.default=d,d.XMLHttpRequest=r.XMLHttpRequest||function(){},d.XDomainRequest="withCredentials"in new d.XMLHttpRequest?d.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var i=0;i<e.length;i++)t(e[i])}(["get","put","post","patch","head","delete"],(function(e){d["delete"===e?"del":e]=function(t,n,r){return(n=c(t,n,r)).method=e.toUpperCase(),h(n)}}))},262:function(e,t,n){var r=n(1),o=e.exports={WebVTT:n(770),VTTCue:n(771),VTTRegion:n(772)};r.vttjs=o,r.WebVTT=o.WebVTT;var l=o.VTTCue,c=o.VTTRegion,d=r.VTTCue,h=r.VTTRegion;o.shim=function(){r.VTTCue=l,r.VTTRegion=c},o.restore=function(){r.VTTCue=d,r.VTTRegion=h},r.VTTCue||o.shim()},263:function(e,t,n){var r,o,l,c,d;r=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,o=/^(?=([^\/?#]*))\1([^]*)$/,l=/(?:\/|^)\.(?=\/)/g,c=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,d={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=d.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=d.normalizePath(r.path),d.buildURLFromParts(r)}var l=d.parseURL(t);if(!l)throw new Error("Error trying to parse relative URL.");
2if(l.scheme)return n.alwaysNormalize?(l.path=d.normalizePath(l.path),d.buildURLFromParts(l)):t;var c=d.parseURL(e);if(!c)throw new Error("Error trying to parse base URL.");if(!c.netLoc&&c.path&&"/"!==c.path[0]){var h=o.exec(c.path);c.netLoc=h[1],c.path=h[2]}c.netLoc&&!c.path&&(c.path="/");var f={scheme:c.scheme,netLoc:l.netLoc,path:null,params:l.params,query:l.query,fragment:l.fragment};if(!l.netLoc&&(f.netLoc=c.netLoc,"/"!==l.path[0]))if(l.path){var m=c.path,v=m.substring(0,m.lastIndexOf("/")+1)+l.path;f.path=d.normalizePath(v)}else f.path=c.path,l.params||(f.params=c.params,l.query||(f.query=c.query));return null===f.path&&(f.path=n.alwaysNormalize?d.normalizePath(l.path):l.path),d.buildURLFromParts(f)},parseURL:function(e){var t=r.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(path){for(path=path.split("").reverse().join("").replace(l,"");path.length!==(path=path.replace(c,"")).length;);return path.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=d},264:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,o=/^application\/dash\+xml/i,l=function(e){return r.test(e)?"hls":o.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null}},266:function(e,t,n){"use strict";var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function o(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var l=Array.isArray;function c(e){return null!==e&&"object"==typeof e}function d(e){return"string"==typeof e}var h=Object.prototype.toString;function f(e){return"[object Object]"===h.call(e)}function m(e){return null==e}function v(e){return"function"==typeof e}function y(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return 1===e.length?c(e[0])||l(e[0])?r=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(c(e[1])||l(e[1]))&&(r=e[1])),{locale:n,params:r}}function _(e){return JSON.parse(JSON.stringify(e))}function T(e,t){return!!~e.indexOf(t)}var w=Object.prototype.hasOwnProperty;function S(e,t){return w.call(e,t)}function E(e){for(var t=arguments,output=Object(e),i=1;i<arguments.length;i++){var source=t[i];if(null!=source){var n=void 0;for(n in source)S(source,n)&&(c(source[n])?output[n]=E(output[n],source[n]):output[n]=source[n])}}return output}function x(a,b){if(a===b)return!0;var e=c(a),t=c(b);if(!e||!t)return!e&&!t&&String(a)===String(b);try{var n=l(a),r=l(b);if(n&&r)return a.length===b.length&&a.every((function(e,i){return x(e,b[i])}));if(n||r)return!1;var o=Object.keys(a),d=Object.keys(b);return o.length===d.length&&o.every((function(e){return x(a[e],b[e])}))}catch(e){return!1}}function k(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),e}var C={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var data=t.data,n=t.parent,r=t.props,o=t.slots,l=n.$i18n;if(l){var path=r.path,c=r.locale,d=r.places,h=o(),f=l.i(path,c,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(h)||d?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(O,{}):Object.assign({},e)}(t):{};if(!e)return n;var r=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(j);0;return e.reduce(r?A:O,n)}(h.default,d):h),m=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return m?e(m,data,f):f}}};function A(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function O(e,t,n){return e[n]=t,e}function j(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var I,P={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,o=t.parent,data=t.data,l=o.$i18n;if(!l)return null;var h=null,f=null;d(n.format)?h=n.format:c(n.format)&&(n.format.key&&(h=n.format.key),f=Object.keys(n.format).reduce((function(e,t){var o;return T(r,t)?Object.assign({},e,((o={})[t]=n.format[t],o)):e}),null));var m=n.locale||l.locale,v=l._ntp(n.value,m,h,f),y=v.map((function(e,t){var n,slot=data.scopedSlots&&data.scopedSlots[e.type];return slot?slot(((n={})[e.type]=e.value,n.index=t,n.parts=v,n)):e.value})),_=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return _?e(_,{attrs:data.attrs,class:data.class,staticClass:data.staticClass},y):y}};function L(e,t,n){N(e,n)&&R(e,t,n)}function M(e,t,n,r){if(N(e,n)){var o=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale}
vendor: 24,023 bytes, line 2
2)(e,n)&&x(t.value,t.oldValue)&&x(e._localeMessage,o.getLocaleMessage(o.locale))||R(e,t,n)}}function D(e,t,n,r){if(n.context){var l=n.context.$i18n||{};t.modifiers.preserve||l.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else o("Vue instance does not exists in VNode context")}function N(e,t){var n=t.context;return n?!!n.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function R(e,t,n){var r,l,c=function(e){var path,t,n,r;d(e)?path=e:f(e)&&(path=e.path,t=e.locale,n=e.args,r=e.choice);return{path:path,locale:t,args:n,choice:r}}(t.value),path=c.path,h=c.locale,m=c.args,v=c.choice;if(path||h||m)if(path){var y=n.context;e._vt=e.textContent=null!=v?(r=y.$i18n).tc.apply(r,[path,v].concat(B(h,m))):(l=y.$i18n).t.apply(l,[path].concat(B(h,m))),e._locale=y.$i18n.locale,e._localeMessage=y.$i18n.getLocaleMessage(y.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function B(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||f(t))&&n.push(t),n}function U(e,t){void 0===t&&(t={bridge:!1}),U.installed=!0;(I=e).version&&Number(I.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(I),I.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n){if(e.i18n instanceof ie){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){t=E(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(f(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ie?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){r=E(r,JSON.parse(e))})),e.i18n.messages=r}catch(e){}var o=e.i18n.sharedMessages;o&&f(o)&&(e.i18n.messages=E(e.i18n.messages,o)),this._i18n=new ie(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ie?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ie&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof ie||f(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ie||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ie)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),I.directive("t",{bind:L,update:M,unbind:D}),I.component(C.name,C),I.component(P.name,P),I.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var F=function(){this._caches=Object.create(null)};F.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,text="";for(;n<e.length;){var r=e[n++];if("{"===r){text&&t.push({type:"text",value:text}),text="";var sub="";for(r=e[n++];void 0!==r&&"}"!==r;)sub+=r,r=e[n++];var o="}"===r,l=z.test(sub)?"list":o&&$.test(sub)?"named":"unknown";t.push({value:sub,type:l})}else"%"===r?"{"!==e[n]&&(text+=r):text+=r}return text&&t.push({type:"text",value:text}),t}(e),this._caches[e]=n),function(e,t){var n=[],r=0,o=Array.isArray(t)?"list":c(t)?"named":"unknown";if("unknown"===o)return n;for(;r<e.length;){var l=e[r];switch(l.type){case"text":n.push(l.value);break;case"list":n.push(t[parseInt(l.value,10)]);break;case"named":"named"===o&&n.push(t[l.value])}r++}return n}(n,t)};var z=/^(?:\d)+/,$=/^(?:\w)+/;var H=[];H[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},H[1]={ws:[1],".":[2],"[":[4],eof:[7]},H[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},H[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},H[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},H[5]={"'":[4,0],eof:8,else:[5,0]},H[6]={'"':[4,0],eof:8,else:[6,0]};var W=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function V(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Y(path){var e,a,t,n=path.trim();return("0"!==path.charAt(0)||!isNaN(path))&&(t=n,W.test(t)?(a=(e=n).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==a&&39!==a?e:e.slice(1,-1):"*"+n)}var G=function(){this._cache=Object.create(null)};G.prototype.parsePath=function(path){var e=this._cache[path];return e||(e=function(path){var e,t,n,r,o,l,c,d=[],h=-1,f=0,m=0,v=[];function y(){var e=path[h+1];if(5===f&&"'"===e||6===f&&'"'===e)return h++,n="\\"+e,v[0](),!0}for(v[1]=function(){void 0!==t&&(d.push(t),t=void 0)},v[0]=function(){void 0===t?t=n:t+=n},v[2]=function(){v[0](),m++},v[3]=function(){if(m>0)m--,f=4,v[0]();else{if(m=0,void 0===t)return!1;if(!1===(t=Y(t)))return!1;v[1]()}};null!==f;)if(h++,"\\"!==(e=path[h])||!y()){if(r=V(e),8===(o=(c=H[f])[r]||c.else||8))return;if(f=o[0],(l=v[o[1]])&&(n=void 0===(n=o[2])?e:n,!1===l()))return;if(7===f)return d}}(path),e&&(this._cache[path]=e)),e||[]},G.prototype.getPathValue=function(e,path){if(!c(e))return null;var t=this.parsePath(path);if(0===t.length)return null;for(var n=t.length,r=e,i=0;i<n;){var o=r[t[i]];if(null==o)return null;r=o,i++}return r};var X,K=/<\/?[\w\s="/.':;#-\/]+>/,Q=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|./]+|\([\w\-_|./]+\)))/g,J=/^@(?:\.([a-z]+))?:/,Z=/[()]/g,ee={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},te=new F,ie=function(e){var t=this;void 0===e&&(e={}),!I&&"undefined"!=typeof window&&window.Vue&&U(window.Vue);var n=e.locale||"en-US",r=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},l=e.dateTimeFormats||e.datetimeFormats||{},c=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||te,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new G,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var r=Object.getPrototypeOf(t);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(t,e,n);var o,l;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(o=e,l=n,o=Math.abs(o),2===l?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!m(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:l,numberFormats:c})},ne={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};ie.prototype._checkLocaleMessage=function(e,t,n){var r=function(e,t,n,c){if(f(n))Object.keys(n).forEach((function(o){var l=n[o];f(l)?(c.push(o),c.push("."),r(e,t,l,c),c.pop(),c.pop()):(c.push(o),r(e,t,l,c),c.pop())}));else if(l(n))n.forEach((function(n,o){f(n)?(c.push("["+o+"]"),c.push("."),r(e,t,n,c),c.pop(),c.pop()):(c.push("["+o+"]"),r(e,t,n,c),c.pop())}));else if(d(n)){if(K.test(n)){var h="Detected HTML in message '"+n+"' of keypath '"+c.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?o(h):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(h)}}};r(t,e,n,[])},ie.prototype._initVM=function(data){var e=I.config.silent;I.config.silent=!0,this._vm=new I({data:data,__VUE18N__INSTANCE__:!0}),I.config.silent=e},ie.prototype.destroyVM=function(){this._vm.$destroy()},ie.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},ie.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},ie.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t,n,r=(t=e._dataListeners,n=[],t.forEach((function(a){return n.push(a)})),n),i=r.length;i--;)I.nextTick((function(){r[i]&&r[i].$forceUpdate()}))}),{deep:!0})},ie.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){r.$set(r,"locale",e),r.$forceUpdate()}),{immediate:!0})},ie.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},ne.vm.get=function(){return this._vm},ne.messages.get=function(){return _(this._getMessages())},ne.dateTimeFormats.get=function(){return _(this._getDateTimeFormats())},ne.numberFormats.get=function(){return _(this._getNumberFormats())},ne.availableLocales.get=function(){return Object.keys(this.messages).sort()},ne.locale.get=function(){return this._vm.locale},ne.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ne.fallbackLocale.get=function(){return this._vm.fallbackLocale},ne.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},ne.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ne.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ne.missing.get=function(){return this._missing},ne.missing.set=function(e){this._missing=e},ne.formatter.get=function(){return this._formatter},ne.formatter.set=function(e){this._formatter=e},ne.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ne.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ne.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ne.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ne.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ne.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ne.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ne.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}))}},ne.postTranslation.get=function(){return this._postTranslation},ne.postTranslation.set=function(e){this._postTranslation=e},ne.sync.get=function(){return this._sync},ne.sync.set=function(e){this._sync=e},ie.prototype._getMessages=function(){return this._vm.messages},ie.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},ie.prototype._getNumberFormats=function(){return this._vm.numberFormats},ie.prototype._warnDefault=function(e,t,n,r,o,l){if(!m(n))return n;if(this._missing){var c=this._missing.apply(null,[e,t,r,o]);if(d(c))return c}else 0;if(this._formatFallbackMessages){var h=y.apply(void 0,o);return this._render(t,l,h.params,t)}return t},ie.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:m(e))&&!m(this._root)&&this._fallbackRoot},ie.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},ie.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},ie.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},ie.prototype._interpolate=function(e,t,n,r,o,c,h){if(!t)return null;var y,_=this._path.getPathValue(t,n);if(l(_)||f(_))return _;if(m(_)){if(!f(t))return null;if(!d(y=t[n])&&!v(y))return null}else{if(!d(_)&&!v(_))return null;y=_}return d(y)&&(y.indexOf("@:")>=0||y.indexOf("@.")>=0)&&(y=this._link(e,t,y,r,"raw",c,h)),this._render(y,o,c,n)},ie.prototype._link=function(e,t,n,r,o,c,d){var h=n,f=h.match(Q);for(var m in f)if(f.hasOwnProperty(m)){var link=f[m],v=link.match(J),y=v[0],_=v[1],w=link.replace(y,"").replace(Z,"");if(T(d,w))return h;d.push(w);var S=this._interpolate(e,t,w,r,"raw"===o?"string":o,"raw"===o?void 0:c,d);if(this._isFallbackRoot(S)){if(!this._root)throw Error("unexpected error");var E=this._root.$i18n;S=E._translate(E._getMessages(),E.locale,E.fallbackLocale,w,r,o,c)}S=this._warnDefault(e,w,S,r,l(c)?c:[c],o),this._modifiers.hasOwnProperty(_)?S=this._modifiers[_](S):ee.hasOwnProperty(_)&&(S=ee[_](S)),d.pop(),h=S?h.replace(link,S):h}return h},ie.prototype._createMessageContext=function(e,t,path,n){var r=this,o=l(e)?e:[],d=c(e)?e:{},h=this._getMessages(),f=this.locale;return{list:function(e){return o[e]},named:function(e){return d[e]},values:e,formatter:t,path:path,messages:h,locale:f,linked:function(e){return r._interpolate(f,h[f]||{},e,null,n,void 0,[e])}}},ie.prototype._render=function(e,t,n,path){if(v(e))return e(this._createMessageContext(n,this._formatter||te,path,t));var r=this._formatter.interpolate(e,n,path);return r||(r=te.interpolate(e,n,path)),"string"!==t||d(r)?r:r.join("")},ie.prototype._appendItemToChain=function(e,t,n){var r=!1;return T(e,t)||(r=!0,t&&(r="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(r=n[t]))),r},ie.prototype._appendLocaleToChain=function(e,t,n){var r,o=t.split("-");do{var l=o.join("-");r=this._appendItemToChain(e,l,n),o.splice(-1,1)}while(o.length&&!0===r);return r},ie.prototype._appendBlockToChain=function(e,t,n){for(var r=!0,i=0;i<t.length&&"boolean"==typeof r;i++){var o=t[i];d(o)&&(r=this._appendLocaleToChain(e,o,n))}return r},ie.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var r,o=[e];l(o);)o=this._appendBlockToChain(n,o,t);(o=d(r=l(t)?t:c(t)?t.default?t.default:null:t)?[r]:r)&&this._appendBlockToChain(n,o,null),this._localeChainCache[e]=n}return n},ie.prototype._translate=function(e,t,n,r,o,l,c){for(var d,h=this._getLocaleChain(t,n),i=0;i<h.length;i++){var f=h[i];if(!m(d=this._interpolate(f,e[f],r,o,l,c,[r])))return d}return null},ie.prototype._t=function(e,t,n,r){for(var o,l=[],c=arguments.length-4;c-- >0;)l[c]=arguments[c+4];if(!e)return"";var d=y.apply(void 0,l);this._escapeParameterHtml&&(d.params=k(d.params));var h=d.locale||t,f=this._translate(n,h,this.fallbackLocale,e,r,"string",d.params);if(this._isFallbackRoot(f)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(l))}return f=this._warnDefault(h,e,f,r,l,"string"),this._postTranslation&&null!=f&&(f=this._postTranslation(f,e)),f},ie.prototype.t=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},ie.prototype._i=function(e,t,n,r,o){var l=this._translate(n,t,this.fallbackLocale,e,r,"raw",o);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,l,r,[o],"raw")},ie.prototype.i=function(e,t,n){return e?(d(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},ie.prototype._tc=function(e,t,n,r,o){for(var l,c=[],d=arguments.length-5;d-- >0;)c[d]=arguments[d+5];if(!e)return"";void 0===o&&(o=1);var h={count:o,n:o},f=y.apply(void 0,c);return f.params=Object.assign(h,f.params),c=null===f.locale?[f.params]:[f.locale,f.params],this.fetchChoice((l=this)._t.apply(l,[e,t,n,r].concat(c)),o)},ie.prototype.fetchChoice=function(e,t){if(!e||!d(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},ie.prototype.tc=function(e,t){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},ie.prototype._te=function(e,t,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var l=y.apply(void 0,r).locale||t;return this._exist(n[l],e)},ie.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},ie.prototype.getLocaleMessage=function(e){return _(this._vm.messages[e]||{})},ie.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},ie.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,E(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},ie.prototype.getDateTimeFormat=function(e){return _(this._vm.dateTimeFormats[e]||{})},ie.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},ie.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,E(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},ie.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},ie.prototype._localizeDateTime=function(e,t,n,r,o){for(var l=t,c=r[l],d=this._getLocaleChain(t,n),i=0;i<d.length;i++){var h=d[i];if(l=h,!m(c=r[h])&&!m(c[o]))break}if(m(c)||m(c[o]))return null;var f=c[o],v=l+"__"+o,y=this._dateTimeFormatters[v];return y||(y=this._dateTimeFormatters[v]=new Intl.DateTimeFormat(l,f)),y.format(e)},ie.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return r||""},ie.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.locale,o=null;return 1===t.length?d(t[0])?o=t[0]:c(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key)):2===t.length&&(d(t[0])&&(o=t[0]),d(t[1])&&(r=t[1])),this._d(e,r,o)},ie.prototype.getNumberFormat=function(e){return _(this._vm.numberFormats[e]||{})},ie.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},ie.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,E(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},ie.prototype._clearNumberFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},ie.prototype._getNumberFormatter=function(e,t,n,r,o,l){for(var c=t,d=r[c],h=this._getLocaleChain(t,n),i=0;i<h.length;i++){var f=h[i];if(c=f,!m(d=r[f])&&!m(d[o]))break}if(m(d)||m(d[o]))return null;var v,y=d[o];if(l)v=new Intl.NumberFormat(c,Object.assign({},y,l));else{var _=c+"__"+o;(v=this._numberFormatters[_])||(v=this._numberFormatters[_]=new Intl.NumberFormat(c,y))}return v},ie.prototype._n=function(e,t,n,r){if(!ie.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).format(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),l=o&&o.format(e);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r))}return l||""},ie.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var o=this.locale,l=null,h=null;return 1===t.length?d(t[0])?l=t[0]:c(t[0])&&(t[0].locale&&(o=t[0].locale),t[0].key&&(l=t[0].key),h=Object.keys(t[0]).reduce((function(e,n){var o;return T(r,n)?Object.assign({},e,((o={})[n]=t[0][n],o)):e}),null)):2===t.length&&(d(t[0])&&(l=t[0]),d(t[1])&&(o=t[1])),this._n(e,o,l,h)},ie.prototype._ntp=function(e,t,n,r){if(!ie.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),l=o&&o.formatToParts(e);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return l||[]},Object.defineProperties(ie.prototype,ne),Object.defineProperty(ie,"availabilities",{get:function(){if(!X){var e="undefined"!=typeof Intl;X={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return X}}),ie.install=U,ie.version="8.27.0",t.a=ie},28:function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}
2),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},3:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var content=function(e,t){var content=e[1]||"",n=e[3];if(!n)return content;if(t&&"function"==typeof btoa){var r=(l=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(data," */")),o=n.sources.map((function(source){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(source," */")}));return[content].concat(o).concat([r]).join("\n")}var l,c,data;return[content].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(content,"}"):content})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(o[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&o[d[0]]||(n&&(d[2]?d[2]="".concat(n," and ").concat(d[2]):d[2]=n),t.push(d))}},t}},37:function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"h",(function(){return f})),n.d(t,"d",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"g",(function(){return T})),n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return S}));var r=n(1),o=n.n(r),l={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},c=["video","audio","text"],d=["Video","Audio","Text"],h=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},f=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),c.forEach((function(r){var o=l[r].exec(e.toLowerCase());if(o&&!(o.length<=1)){t=r;var c=e.substring(0,o[1].length),details=e.replace(c,"");n.push({type:c,details:details,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},m=function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var o=n[r];if(o.default&&o.playlists)return f(o.playlists[0].attributes.CODECS)}return null},v=function(e){return void 0===e&&(e=""),l.audio.test(e.trim().toLowerCase())},y=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return h(e.trim())})),r="video";1===n.length&&v(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),l.text.test(t.trim().toLowerCase()))&&(r="application");var o="mp4";return n.every((function(e){return l.mp4.test(e)}))?o="mp4":n.every((function(e){return l.webm.test(e)}))?o="webm":n.every((function(e){return l.ogg.test(e)}))&&(o="ogg"),r+"/"+o+';codecs="'+e+'"'}},_=function(e){return void 0===e&&(e=""),o.a.MediaSource&&o.a.MediaSource.isTypeSupported&&o.a.MediaSource.isTypeSupported(y(e))||!1},T=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var i=0;i<d.length;i++){if(l["muxer"+d[i]].test(e))return!0}return!1}))},w="mp4a.40.2",S="avc1.4d400d"},384:function(e,t,n){var r=n(191).NAMESPACE;function o(input){return""!==input}function l(e,element){return e.hasOwnProperty(element)||(e[element]=!0),e}function c(input){if(!input)return[];var e=function(input){return input?input.split(/[\t\n\f\r ]+/).filter(o):[]}(input);return Object.keys(e.reduce(l,{}))}function d(e,t){for(var p in e)t[p]=e[p]}function h(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,d(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var f={},m=f.ELEMENT_NODE=1,v=f.ATTRIBUTE_NODE=2,y=f.TEXT_NODE=3,_=f.CDATA_SECTION_NODE=4,T=f.ENTITY_REFERENCE_NODE=5,w=f.ENTITY_NODE=6,S=f.PROCESSING_INSTRUCTION_NODE=7,E=f.COMMENT_NODE=8,x=f.DOCUMENT_NODE=9,k=f.DOCUMENT_TYPE_NODE=10,C=f.DOCUMENT_FRAGMENT_NODE=11,A=f.NOTATION_NODE=12,O={},j={},I=(O.INDEX_SIZE_ERR=(j[1]="Index size error",1),O.DOMSTRING_SIZE_ERR=(j[2]="DOMString size error",2),O.HIERARCHY_REQUEST_ERR=(j[3]="Hierarchy request error",3)),P=(O.WRONG_DOCUMENT_ERR=(j[4]="Wrong document",4),O.INVALID_CHARACTER_ERR=(j[5]="Invalid character",5),O.NO_DATA_ALLOWED_ER
vendor: 4,626 bytes, line 2
2R=(j[6]="No data allowed",6),O.NO_MODIFICATION_ALLOWED_ERR=(j[7]="No modification allowed",7),O.NOT_FOUND_ERR=(j[8]="Not found",8)),L=(O.NOT_SUPPORTED_ERR=(j[9]="Not supported",9),O.INUSE_ATTRIBUTE_ERR=(j[10]="Attribute in use",10));O.INVALID_STATE_ERR=(j[11]="Invalid state",11),O.SYNTAX_ERR=(j[12]="Syntax error",12),O.INVALID_MODIFICATION_ERR=(j[13]="Invalid modification",13),O.NAMESPACE_ERR=(j[14]="Invalid namespace",14),O.INVALID_ACCESS_ERR=(j[15]="Invalid access",15);function M(code,e){if(e instanceof Error)var t=e;else t=this,Error.call(this,j[code]),this.message=j[code],Error.captureStackTrace&&Error.captureStackTrace(this,M);return t.code=code,e&&(this.message=this.message+": "+e),t}function D(){}function N(e,t){this._node=e,this._refresh=t,R(this)}function R(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);ve(e,"length",n.length),d(n,e),e._inc=t}}function B(){}function U(e,t){for(var i=e.length;i--;)if(e[i]===t)return i}function F(e,t,n,o){if(o?t[U(t,o)]=n:t[t.length++]=n,e){n.ownerElement=e;var l=e.ownerDocument;l&&(o&&G(l,e,o),function(e,t,n){e&&e._inc++,n.namespaceURI===r.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(l,e,n))}}function z(e,t,n){var i=U(t,n);if(!(i>=0))throw M(P,new Error(e.tagName+"@"+n));for(var r=t.length-1;i<r;)t[i]=t[++i];if(t.length=r,e){var o=e.ownerDocument;o&&(G(o,e,n),n.ownerElement=null)}}function $(){}function H(){}function W(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function V(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(V(e,t))return!0}while(e=e.nextSibling)}function Y(){}function G(e,t,n,o){e&&e._inc++,n.namespaceURI===r.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function X(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i}}}function K(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,X(e.ownerDocument,e),t}function Q(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===C){var o=t.firstChild;if(null==o)return t;var l=t.lastChild}else o=l=t;var pre=n?n.previousSibling:e.lastChild;o.previousSibling=pre,l.nextSibling=n,pre?pre.nextSibling=o:e.firstChild=o,null==n?e.lastChild=l:n.previousSibling=l;do{o.parentNode=e}while(o!==l&&(o=o.nextSibling));return X(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function J(){this._nsMap={}}function Z(){}function ee(){}function te(){}function ie(){}function ne(){}function re(){}function ae(){}function se(){}function oe(){}function le(){}function ue(){}function ce(){}function de(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,l=r.namespaceURI;if(l&&null==o&&null==(o=r.lookupPrefix(l)))var c=[{namespace:l,prefix:null}];return fe(this,n,e,t,c),n.join("")}function he(e,t,n){var o=e.prefix||"",l=e.namespaceURI;if(!l)return!1;if("xml"===o&&l===r.XML||l===r.XMLNS)return!1;for(var i=n.length;i--;){var c=n[i];if(c.prefix===o)return c.namespace!==l}return!0}function pe(e,t,n){e.push(" ",t,'="',n.replace(/[<&"]/g,W),'"')}function fe(e,t,n,o,l){if(l||(l=[]),o){if(!(e=o(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case m:var c=e.attributes,d=c.length,h=e.firstChild,f=e.tagName,w=f;if(!(n=r.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var A,O=0;O<c.length;O++)if("xmlns"===c.item(O).name){A=c.item(O).value;break}if(!A)for(var j=l.length-1;j>=0;j--){if(""===(I=l[j]).prefix&&I.namespace===e.namespaceURI){A=I.namespace;break}}if(A!==e.namespaceURI)for(j=l.length-1;j>=0;j--){var I;if((I=l[j]).namespace===e.namespaceURI){I.prefix&&(w=I.prefix+":"+f);break}}}t.push("<",w);for(var i=0;i<d;i++){"xmlns"==(P=c.item(i)).prefix?l.push({prefix:P.localName,namespace:P.value}):"xmlns"==P.nodeName&&l.push({prefix:"",namespace:P.value})}for(i=0;i<d;i++){var P,L,M;if(he(P=c.item(i),0,l))pe(t,(L=P.prefix||"")?"xmlns:"+L:"xmlns",M=P.namespaceURI),l.push({prefix:L,namespace:M});fe(P,t,n,o,l)}if(f===w&&he(e,0,l))pe(t,(L=e.prefix||"")?"xmlns:"+L:"xmlns",M=e.namespaceURI),l.push({prefix:L,namespace:M});if(h||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(f)){if(t.push(">"),n&&/^script$/i.test(f))for(;h;)h.data?t.push(h.data):fe(h,t,n,o,l.slice()),h=h.nextSibling;else for(;h;)fe(h,t,n,o,l.slice()),h=h.nextSibling;t.push("</",w,">")}else t.push("/>");return;case x:case C:for(h=e.firstChild;h;)fe(h,t,n,o,l.slice()),h=h.nextSibling;return;case v:return pe(t,e.name,e.value);case y:return t.push(e.data.replace(/[<&]/g,W).replace(/]]>/g,"]]&gt;"));
vendor: 6,600 bytes, line 2
2case _:return t.push("<![CDATA[",e.data,"]]>");case E:return t.push("\x3c!--",e.data,"--\x3e");case k:var D=e.publicId,N=e.systemId;if(t.push("<!DOCTYPE ",e.name),D)t.push(" PUBLIC ",D),N&&"."!=N&&t.push(" ",N),t.push(">");else if(N&&"."!=N)t.push(" SYSTEM ",N,">");else{var sub=e.internalSubset;sub&&t.push(" [",sub,"]"),t.push(">")}return;case S:return t.push("<?",e.target," ",e.data,"?>");case T:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function me(e,t,n){var r;switch(t.nodeType){case m:(r=t.cloneNode(!1)).ownerDocument=e;case C:break;case v:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var o=t.firstChild;o;)r.appendChild(me(e,o,n)),o=o.nextSibling;return r}function ge(e,t,n){var r=new t.constructor;for(var o in t){var l=t[o];"object"!=typeof l&&l!=r[o]&&(r[o]=l)}switch(t.childNodes&&(r.childNodes=new D),r.ownerDocument=e,r.nodeType){case m:var c=t.attributes,d=r.attributes=new B,h=c.length;d._ownerElement=r;for(var i=0;i<h;i++)r.setAttributeNode(ge(e,c.item(i),!0));break;case v:n=!0}if(n)for(var f=t.firstChild;f;)r.appendChild(ge(e,f,n)),f=f.nextSibling;return r}function ve(object,e,t){object[e]=t}M.prototype=Error.prototype,d(O,M),D.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],i=0;i<this.length;i++)fe(this[i],n,e,t);return n.join("")}},N.prototype.item=function(i){return R(this),this[i]},h(N,D),B.prototype={length:0,item:D.prototype.item,getNamedItem:function(e){for(var i=this.length;i--;){var t=this[i];if(t.nodeName==e)return t}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new M(L);var n=this.getNamedItem(e.nodeName);return F(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new M(L);return t=this.getNamedItemNS(e.namespaceURI,e.localName),F(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return z(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return z(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var i=this.length;i--;){var n=this[i];if(n.localName==t&&n.namespaceURI==e)return n}return null}},$.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new Y;if(r.implementation=this,r.childNodes=new D,r.doctype=n||null,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new re;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},H.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Q(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return K(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ge(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==y&&e.nodeType==y?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var map=t._nsMap;if(map)for(var n in map)if(map[n]==e)return n;t=t.nodeType==v?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var map=t._nsMap;if(map&&e in map)return map[e];t=t.nodeType==v?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},d(f,H),d(f,H.prototype),Y.prototype={nodeName:"#document",nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==m&&(this.documentElement=e),Q(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),K(this,e)},importNode:function(e,t){return me(this,e,t)},getElementById:function(e){var t=null;return V(this.documentElement,(function(n){if(n.nodeType==m&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=c(e);return new N(this,(function(base){var n=[];return t.length>0&&V(base.documentElement,(function(r){if(r!==base&&r.nodeType===m){var o=r.getAttribute("class");if(o){var l=e===o;if(!l){var d=c(o);l=t.every((h=d,function(element){return h&&-1!==h.indexOf(element)}))}l&&n.push(r)}}var h})),n}))},createElement:function(e){var t=new J;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new D,(t.attributes=new B)._ownerElement=t,t},createDocumentFragment:function(){var e=new le;return e.ownerDocument=this,e.childNodes=new D,e},createTextNode:function(data){var e=new te;return e.ownerDocument=this,e.appendData(data),e},createComment:function(data){var e=new ie;return e.ownerDocument=this,e.appendData(data),e},createCDATASection:function(data){var e=new ne;return e.ownerDocument=this,e.appendData(data),e},createProcessingInstruction:function(e,data){var t=new ue;return t.ownerDocument=this,t.tagName=t.target=e,t.nodeValue=t.data=data,t},createAttribute:function(e){var t=new Z;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new oe;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new J,r=t.split(":"),o=n.attributes=new B;return n.childNodes=new D,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new Z,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},h(Y,H),J.prototype={nodeType:m,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)}
2,appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var pre=e.lastChild;n.removeChild(t),pre=e.lastChild}return pre=e.lastChild,t.parentNode=e,t.previousSibling=pre,t.nextSibling=null,pre?pre.nextSibling=t:e.firstChild=t,e.lastChild=t,X(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new N(this,(function(base){var t=[];return V(base,(function(n){n===base||n.nodeType!=m||"*"!==e&&n.tagName!=e||t.push(n)})),t}))},getElementsByTagNameNS:function(e,t){return new N(this,(function(base){var n=[];return V(base,(function(r){r===base||r.nodeType!==m||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||n.push(r)})),n}))}},Y.prototype.getElementsByTagName=J.prototype.getElementsByTagName,Y.prototype.getElementsByTagNameNS=J.prototype.getElementsByTagNameNS,h(J,H),Z.prototype.nodeType=v,h(Z,H),ee.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(text){text=this.data+text,this.nodeValue=this.data=text,this.length=text.length},insertData:function(e,text){this.replaceData(e,0,text)},appendChild:function(e){throw new Error(j[I])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,text){text=this.data.substring(0,e)+text+this.data.substring(e+t),this.nodeValue=this.data=text,this.length=text.length}},h(ee,H),te.prototype={nodeName:"#text",nodeType:y,splitText:function(e){var text=this.data,t=text.substring(e);text=text.substring(0,e),this.data=this.nodeValue=text,this.length=text.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},h(te,ee),ie.prototype={nodeName:"#comment",nodeType:E},h(ie,ee),ne.prototype={nodeName:"#cdata-section",nodeType:_},h(ne,ee),re.prototype.nodeType=k,h(re,H),ae.prototype.nodeType=A,h(ae,H),se.prototype.nodeType=w,h(se,H),oe.prototype.nodeType=T,h(oe,H),le.prototype.nodeName="#document-fragment",le.prototype.nodeType=C,h(le,H),ue.prototype.nodeType=S,h(ue,H),ce.prototype.serializeToString=function(e,t,n){return de.call(e,t,n)},H.prototype.toString=de;try{if(Object.defineProperty){function ye(e){switch(e.nodeType){case m:case C:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(ye(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(N.prototype,"length",{get:function(){return R(this),this.$$length}}),Object.defineProperty(H.prototype,"textContent",{get:function(){return ye(this)},set:function(data){switch(this.nodeType){case m:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(data||String(data))&&this.appendChild(this.ownerDocument.createTextNode(data));break;default:this.data=data,this.value=data,this.nodeValue=data}}}),ve=function(object,e,t){object["$$"+e]=t}}}catch(be){}t.DocumentType=re,t.DOMException=M,t.DOMImplementation=$,t.Element=J,t.Node=H,t.NodeList=D,t.XMLSerializer=ce},4:function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],l=o[0],c={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[l]?r[l].parts.push(c):n.push(r[l]={id:l,parts:[c]})}return n}n.r(t),n.d(t,"default",(function(){return _}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l={},head=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,d=0,h=!1,f=function(){},m=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function _(e,t,n,o){h=n,m=o||{};var c=r(e,t);return T(c),function(t){for(var n=[],i=0;i<c.length;i++){var o=c[i];(d=l[o.id]).refs--,n.push(d)}t?T(c=r(e,t)):c=[];for(i=0;i<n.length;i++){var d;if(0===(d=n[i]).refs){for(var h=0;h<d.parts.length;h++)d.parts[h]();delete l[d.id]}}}}function T(e){for(var i=0;i<e.length;i++){var t=e[i],n=l[t.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](t.parts[r]);for(;r<t.parts.length;r++)n.parts.push(S(t.parts[r]));n.parts.length>t.parts.length&&(n.parts.length=t.parts.length)}else{var o=[];for(r=0;r<t.parts.length;r++)o.push(S(t.parts[r]));l[t.id]={id:t.id,refs:1,parts:o}}}}function w(){var e=document.createElement("style");return e.type="text/css",head.appendChild(e),e}function S(e){var t,n,r=document.querySelector("style["+v+'~="'+e.id+'"]');if(r){if(h)return f;r.parentNode.removeChild(r)}if(y){var o=d++;r=c||(c=w()),t=k.bind(null,r,o,!1),n=k.bind(null,r,o,!0)}else r=w(),t=C.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}
2var E,x=(E=[],function(e,t){return E[e]=t,E.filter(Boolean).join("\n")});function k(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var l=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(l,c[t]):e.appendChild(l)}}function C(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),m.ssrId&&e.setAttribute(v,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},484:function(e,t,n){"use strict";t.a=function(e,t){return t=t||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(t.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){o.push(t=t.toLowerCase()),u.push([t,n]),i[t]=i[t]?i[t]+","+n:n})),n(a())},s.onerror=r,s.withCredentials="include"==t.credentials,t.headers)s.setRequestHeader(l,t.headers[l]);s.send(t.body||null)}))}},485:function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function c(e,source,t){return e.concat(source).map((function(element){return l(element,t)}))}function d(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(symbol){return e.propertyIsEnumerable(symbol)})):[]}(e))}function h(object,e){try{return e in object}catch(e){return!1}}function f(e,source,t){var n={};return t.isMergeableObject(e)&&d(e).forEach((function(r){n[r]=l(e[r],t)})),d(source).forEach((function(r){(function(e,t){return h(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(h(e,r)&&t.isMergeableObject(source[r])?n[r]=function(e,t){if(!t.customMerge)return m;var n=t.customMerge(e);return"function"==typeof n?n:m}(r,t)(e[r],source[r],t):n[r]=l(source[r],t))})),n}function m(e,source,t){(t=t||{}).arrayMerge=t.arrayMerge||c,t.isMergeableObject=t.isMergeableObject||r,t.cloneUnlessOtherwiseSpecified=l;var n=Array.isArray(source);return n===Array.isArray(e)?n?t.arrayMerge(e,source,t):f(e,source,t):l(source,t)}m.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return m(e,n,t)}),{})};var v=m;e.exports=v},486:function(e,t,n){(function(t){var n="__lodash_hash_undefined__",r="[object Function]",o="[object GeneratorFunction]",l=/^\[object .+?Constructor\]$/,c="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")();var f,m=Array.prototype,v=Function.prototype,y=Object.prototype,_=h["__core-js_shared__"],T=(f=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",w=v.toString,S=y.hasOwnProperty,E=y.toString,x=RegExp("^"+w.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=m.splice,C=D(h,"Map"),A=D(Object,"create");function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function j(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function P(e,t){for(var n,r,o=e.length;o--;
2)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function L(e){if(!R(e)||(t=e,T&&T in t))return!1;var t,pattern=function(e){var t=R(e)?E.call(e):"";return t==r||t==o}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?x:l;return pattern.test(function(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function M(map,e){var t,n,data=map.__data__;return("string"==(n=typeof(t=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?data["string"==typeof e?"string":"hash"]:data.map}function D(object,e){var t=function(object,e){return null==object?void 0:object[e]}(object,e);return L(t)?t:void 0}function N(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],l=n.cache;if(l.has(o))return l.get(o);var c=e.apply(this,r);return n.cache=l.set(o,c),c};return n.cache=new(N.Cache||I),n}function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}O.prototype.clear=function(){this.__data__=A?A(null):{}},O.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},O.prototype.get=function(e){var data=this.__data__;if(A){var t=data[e];return t===n?void 0:t}return S.call(data,e)?data[e]:void 0},O.prototype.has=function(e){var data=this.__data__;return A?void 0!==data[e]:S.call(data,e)},O.prototype.set=function(e,t){return this.__data__[e]=A&&void 0===t?n:t,this},j.prototype.clear=function(){this.__data__=[]},j.prototype.delete=function(e){var data=this.__data__,t=P(data,e);return!(t<0)&&(t==data.length-1?data.pop():k.call(data,t,1),!0)},j.prototype.get=function(e){var data=this.__data__,t=P(data,e);return t<0?void 0:data[t][1]},j.prototype.has=function(e){return P(this.__data__,e)>-1},j.prototype.set=function(e,t){var data=this.__data__,n=P(data,e);return n<0?data.push([e,t]):data[n][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new O,map:new(C||j),string:new O}},I.prototype.delete=function(e){return M(this,e).delete(e)},I.prototype.get=function(e){return M(this,e).get(e)},I.prototype.has=function(e){return M(this,e).has(e)},I.prototype.set=function(e,t){return M(this,e).set(e,t),this},N.Cache=I,e.exports=N}).call(this,n(59))},487:function(e,t,n){"use strict";(function(e){for(var r,o=n(1),l=n.n(o),c=n(7),d=n.n(c),h=n(76),f=n.n(h),m=n(17),v=n.n(m),y=n(16),_=n.n(y),T=n(9),w=n.n(T),S=n(488),E=n.n(S),x=n(261),k=n.n(x),C=n(262),A=n.n(C),O=n(489),j=n.n(O),I=n(490),P=n.n(I),L=n(136),M=n(563),D=n(37),N=n(264),R=n(101),B=n(492),U=n.n(B),F=n(112),z=n(159),$=n(2),H=n(157),W="7.18.1",V={},Y=function(e,t){return V[e]=V[e]||[],t&&(V[e]=V[e].concat(t)),V[e]},G=function(e,t){var n=Y(e).indexOf(t);return!(n<=-1)&&(V[e]=V[e].slice(),V[e].splice(n,1),!0)},X={prefixed:!0},K=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],Q=K[0],i=0;i<K.length;i++)if(K[i][1]in d.a){r=K[i];break}if(r){for(var J=0;J<r.length;J++)X[Q[J]]=r[J];X.prefixed=r[0]!==Q[0]}var Z=[];var ee=function e(t){var n,r="info",o=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n("log",r,t)};return n=function(e,t){return function(n,r,o){var c=t.levels[r],d=new RegExp("^("+c+")$");if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),Z){Z.push([].concat(o));var h=Z.length-1e3;Z.splice(0,h>0?h:0)}if(l.a.console){var f=l.a.console[n];f||"debug"!==n||(f=l.a.console.info||l.a.console.log),f&&c&&d.test(n)&&f[Array.isArray(o)?"apply":"call"](l.a.console,o)}}}(t,o),o.createLogger=function(n){return e(t+": "+n)},o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},o.level=function(e){if("string"==typeof e){if(!o.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(o.history=function(){return Z?[].concat(Z):[]}).filter=function(e){return(Z||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},o.history.clear=function(){Z&&(Z.length=0)},o.history.disable=function(){null!==Z&&(Z.length=0,Z=null)}
vendor: 57,397 bytes, line 2
2,o.history.enable=function(){null===Z&&(Z=[])},o.error=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("error",r,t)},o.warn=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("warn",r,t)},o.debug=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("debug",r,t)},o}("VIDEOJS"),te=ee.createLogger,ie=Object.prototype.toString,ne=function(object){return se(object)?Object.keys(object):[]};function re(object,e){ne(object).forEach((function(t){return e(object[t],t)}))}function ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?f.a.apply(void 0,[e].concat(n)):(n.forEach((function(source){source&&re(source,(function(t,n){e[n]=t}))})),e)}function se(e){return!!e&&"object"==typeof e}function oe(e){return se(e)&&"[object Object]"===ie.call(e)&&e.constructor===Object}function le(e,t){if(!e||!t)return"";if("function"==typeof l.a.getComputedStyle){var n;try{n=l.a.getComputedStyle(e)}catch(e){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var ue,ce=l.a.navigator&&l.a.navigator.userAgent||"",de=/AppleWebKit\/([\d.]+)/i.exec(ce),he=de?parseFloat(de.pop()):null,pe=/iPod/i.test(ce),fe=(ue=ce.match(/OS (\d+)_/i))&&ue[1]?ue[1]:null,me=/Android/i.test(ce),ge=function(){var e=ce.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),ve=me&&ge<5&&he<537,ye=/Firefox/i.test(ce),be=/Edg/i.test(ce),_e=!be&&(/Chrome/i.test(ce)||/CriOS/i.test(ce)),Te=function(){var e=ce.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),we=function(){var e=/MSIE\s(\d+)\.\d/.exec(ce),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(ce)&&/rv:11.0/.test(ce)&&(t=11),t}(),Se=/Safari/i.test(ce)&&!_e&&!me&&!be,Ee=/Windows/i.test(ce),xe=Boolean(Le()&&("ontouchstart"in l.a||l.a.navigator.maxTouchPoints||l.a.DocumentTouch&&l.a.document instanceof l.a.DocumentTouch)),ke=/iPad/i.test(ce)||Se&&xe&&!/iPhone/i.test(ce),Ce=/iPhone/i.test(ce)&&!ke,Ae=Ce||ke||pe,Oe=(Se||Ae)&&!_e,je=Object.freeze({__proto__:null,IS_IPOD:pe,IOS_VERSION:fe,IS_ANDROID:me,ANDROID_VERSION:ge,IS_NATIVE_ANDROID:ve,IS_FIREFOX:ye,IS_EDGE:be,IS_CHROME:_e,CHROME_VERSION:Te,IE_VERSION:we,IS_SAFARI:Se,IS_WINDOWS:Ee,TOUCH_ENABLED:xe,IS_IPAD:ke,IS_IPHONE:Ce,IS_IOS:Ae,IS_ANY_SAFARI:Oe});function Ie(e){return"string"==typeof e&&Boolean(e.trim())}function Pe(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function Le(){return d.a===l.a.document}function Me(e){return se(e)&&1===e.nodeType}function De(){try{return l.a.parent!==l.a.self}catch(e){return!0}}function Ne(e){return function(t,n){if(!Ie(t))return d.a[e](null);Ie(n)&&(n=d.a.querySelector(n));var r=Me(n)?n:d.a;return r[e]&&r[e](t)}}function Re(e,t,n,content){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var r=d.a.createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(ee.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+n+"."),r.setAttribute(e,n)):"textContent"===e?Be(r,n):r[e]===n&&"tabIndex"!==e||(r[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){r.setAttribute(e,n[e])})),content&&nt(r,content),r}function Be(e,text){return void 0===e.textContent?e.innerText=text:e.textContent=text,e}function Ue(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function Fe(element,e){return Pe(e),element.classList?element.classList.contains(e):(t=e,new RegExp("(^|\\s)"+t+"($|\\s)")).test(element.className);var t}function ze(element,e){return element.classList?element.classList.add(e):Fe(element,e)||(element.className=(element.className+" "+e).trim()),element}function $e(element,e){return element?(element.classList?element.classList.remove(e):(Pe(e),element.className=element.className.split(/\s+/).filter((function(t){return t!==e})).join(" ")),element):(ee.warn("removeClass was called with an element that doesn't exist"),null)}function He(element,e,t){var n=Fe(element,e);if("function"==typeof t&&(t=t(element,e)),"boolean"!=typeof t&&(t=!n),t!==n)return t?ze(element,e):$e(element,e),element}function We(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function Ve(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,l=r[i].value;"boolean"!=typeof e[o]&&-1===n.indexOf(","+o+",")||(l=null!==l),t[o]=l}return t}function qe(e,t){return e.getAttribute(t)}function Ye(e,t,n){e.setAttribute(t,n)}function Ge(e,t){e.removeAttribute(t)}function Xe(){d.a.body.focus(),d.a.onselectstart=function(){return!1}}function Ke(){d.a.onselectstart=function(){return!0}}function Qe(e){if(e&&e.getBoundingClientRect&&e.parentNode){var rect=e.getBoundingClientRect(),t={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==rect[e]&&(t[e]=rect[e])})),t.height||(t.height=parseFloat(le(e,"height"))),t.width||(t.width=parseFloat(le(e,"width"))),t}}function Je(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,n=e.offsetHeight,r=0,o=0;e.offsetParent&&e!==d.a[X.fullscreenElement];)r+=e.offsetLeft,o+=e.offsetTop,e=e.offsetParent;return{left:r,top:o,width:t,height:n}}function Ze(e,t){var n={x:0,y:0};if(Ae)for(var r=e;r&&"html"!==r.nodeName.toLowerCase();){var o=le(r,"transform");if(/^matrix/.test(o)){var l=o.slice(7,-1).split(/,\s/).map(Number);n.x+=l[4],n.y+=l[5]}else if(/^matrix3d/.test(o)){var c=o.slice(9,-1).split(/,\s/).map(Number);n.x+=c[12],n.y+=c[13]}r=r.parentNode}var d={},h=Je(t.target),f=Je(e),m=f.width,v=f.height,y=t.offsetY-(f.top-h.top),_=t.offsetX-(f.left-h.left);return t.changedTouches&&(_=t.changedTouches[0].pageX-f.left,y=t.changedTouches[0].pageY+f.top,Ae&&(_-=n.x,y-=n.y)),d.y=1-Math.max(0,Math.min(1,y/v)),d.x=Math.max(0,Math.min(1,_/m)),d}function et(e){return se(e)&&3===e.nodeType}function tt(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function it(content){return"function"==typeof content&&(content=content()),(Array.isArray(content)?content:[content]).map((function(e){return"function"==typeof e&&(e=e()),Me(e)||et(e)?e:"string"==typeof e&&/\S/.test(e)?d.a.createTextNode(e):void 0})).filter((function(e){return e}))}function nt(e,content){return it(content).forEach((function(t){return e.appendChild(t)})),e}function at(e,content){return nt(tt(e),content)}function st(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var ot,lt=Ne("querySelector"),ut=Ne("querySelectorAll"),ct=Object.freeze({__proto__:null,isReal:Le,isEl:Me,isInFrame:De,createEl:Re,textContent:Be,prependTo:Ue,hasClass:Fe,addClass:ze,removeClass:$e,toggleClass:He,setAttributes:We,getAttributes:Ve,getAttribute:qe,setAttribute:Ye,removeAttribute:Ge,blockTextSelection:Xe,unblockTextSelection:Ke,getBoundingClientRect:Qe,findPosition:Je,getPointerPosition:Ze,isTextNode:et,emptyEl:tt,normalizeContent:it,appendContent:nt,insertContent:at,isSingleLeftClick:st,$:lt,$$:ut}),ht=!1,pt=function(){if(!1!==ot.options.autoSetup){var e=Array.prototype.slice.call(d.a.getElementsByTagName("video")),t=Array.prototype.slice.call(d.a.getElementsByTagName("audio")),n=Array.prototype.slice.call(d.a.getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(var i=0,o=r.length;i<o;i++){var l=r[i];if(!l||!l.getAttribute){ft(1);break}void 0===l.player&&null!==l.getAttribute("data-setup")&&ot(l)}else ht||ft(1)}};function ft(e,t){Le()&&(t&&(ot=t),l.a.setTimeout(pt,e))}function mt(){ht=!0,l.a.removeEventListener("load",mt)}Le()&&("complete"===d.a.readyState?mt():l.a.addEventListener("load",mt));var gt,vt=function(e){var style=d.a.createElement("style");return style.className=e,style},yt=function(e,content){e.styleSheet?e.styleSheet.cssText=content:e.textContent=content},bt=3;function _t(){return bt++}l.a.WeakMap||(gt=function(){function e(){this.vdata="vdata"+Math.floor(l.a.performance&&l.a.performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||_t();return e[this.vdata]||(e[this.vdata]=n),this.data[n]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];ee("We have no data for this element",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var Tt,wt=l.a.WeakMap?new WeakMap:new gt;function St(e,t){if(wt.has(e)){var data=wt.get(e);0===data.handlers[t].length&&(delete data.handlers[t],e.removeEventListener?e.removeEventListener(t,data.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,data.dispatcher)),Object.getOwnPropertyNames(data.handlers).length<=0&&(delete data.handlers,delete data.dispatcher,delete data.disabled),0===Object.getOwnPropertyNames(data).length&&wt.delete(e)}}function Et(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function xt(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){var r=e||l.a.event;for(var o in e={},r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||d.a),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var c=d.a.documentElement,body=d.a.body;e.pageX=e.clientX+(c&&c.scrollLeft||body&&body.scrollLeft||0)-(c&&c.clientLeft||body&&body.clientLeft||0),e.pageY=e.clientY+(c&&c.scrollTop||body&&body.scrollTop||0)-(c&&c.clientTop||body&&body.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}var kt=["touchstart","touchmove"];function Ct(e,t,n){if(Array.isArray(t))return Et(Ct,e,t,n);wt.has(e)||wt.set(e,{});var data=wt.get(e);if(data.handlers||(data.handlers={}),data.handlers[t]||(data.handlers[t]=[]),n.guid||(n.guid=_t()),data.handlers[t].push(n),data.dispatcher||(data.disabled=!1,data.dispatcher=function(t,n){if(!data.disabled){t=xt(t);var r=data.handlers[t.type];if(r)for(var o=r.slice(0),l=0,c=o.length;l<c&&!t.isImmediatePropagationStopped();l++)try{o[l].call(e,t,n)}catch(e){ee.error(e)}}}),1===data.handlers[t].length)if(e.addEventListener){var r=!1;(function(){if("boolean"!=typeof Tt){Tt=!1;try{var e=Object.defineProperty({},"passive",{get:function(){Tt=!0}});l.a.addEventListener("test",null,e),l.a.removeEventListener("test",null,e)}catch(e){}}return Tt})()&&kt.indexOf(t)>-1&&(r={passive:!0}),e.addEventListener(t,data.dispatcher,r)}else e.attachEvent&&e.attachEvent("on"+t,data.dispatcher)}function At(e,t,n){if(wt.has(e)){var data=wt.get(e);if(data.handlers){if(Array.isArray(t))return Et(At,e,t,n);var r=function(e,t){data.handlers[t]=[],St(e,t)};if(void 0!==t){var o=data.handlers[t];if(o)if(n){if(n.guid)for(var l=0;l<o.length;l++)o[l].guid===n.guid&&o.splice(l--,1);St(e,t)}else r(e,t)}else for(var c in data.handlers)Object.prototype.hasOwnProperty.call(data.handlers||{},c)&&r(e,c)}}}function Ot(e,t,n){var r=wt.has(e)?wt.get(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=xt(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&!0===t.bubbles)Ot.call(null,o,t,n);else if(!o&&!t.defaultPrevented&&t.target&&t.target[t.type]){wt.has(t.target)||wt.set(t.target,{});var l=wt.get(t.target);t.target[t.type]&&(l.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),l.disabled=!1)}return!t.defaultPrevented}function jt(e,t,n){if(Array.isArray(t))return Et(jt,e,t,n);var r=function r(){At(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||_t(),Ct(e,t,r)}function It(e,t,n){var r=function r(){At(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||_t(),Ct(e,t,r)}var Pt,Lt=Object.freeze({__proto__:null,fixEvent:xt,on:Ct,off:At,trigger:Ot,one:jt,any:It}),Mt=30,Dt=function(e,t,n){t.guid||(t.guid=_t());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},Nt=function(e,t){var n=l.a.performance.now();return function(){var r=l.a.performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},Rt=function(){};Rt.prototype.allowedEvents_={},Rt.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Ct(this,e,t),this.addEventListener=n},Rt.prototype.addEventListener=Rt.prototype.on,Rt.prototype.off=function(e,t){At(this,e,t)},Rt.prototype.removeEventListener=Rt.prototype.off,Rt.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},jt(this,e,t),this.addEventListener=n},Rt.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},It(this,e,t),this.addEventListener=n},Rt.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=xt(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Ot(this,e)},Rt.prototype.dispatchEvent=Rt.prototype.trigger,Rt.prototype.queueTrigger=function(e){var t=this;Pt||(Pt=new Map);var n=e.type||e,map=Pt.get(this);map||(map=new Map,Pt.set(this,map));var r=map.get(n);map.delete(n),l.a.clearTimeout(r);var o=l.a.setTimeout((function(){0===map.size&&(map=null,Pt.delete(t)),t.trigger(e)}),0);map.set(n,o)};var Bt=function(e){return"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e},Ut=function(object){return object instanceof Rt||!!object.eventBusEl_&&["on","one","off","trigger"].every((function(e){return"function"==typeof object[e]}))},Ft=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},zt=function(e,t,n){if(!e||!e.nodeName&&!Ut(e))throw new Error("Invalid target for "+Bt(t)+"#"+n+"; must be a DOM node or evented object.")},$t=function(e,t,n){if(!Ft(e))throw new Error("Invalid event type for "+Bt(t)+"#"+n+"; must be a non-empty string or array.")},Ht=function(e,t,n){if("function"!=typeof e)throw new Error("Invalid listener for "+Bt(t)+"#"+n+"; must be a function.")},Wt=function(e,t,n){var r,o,l,c=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return c?(r=e.eventBusEl_,t.length>=3&&t.shift(),o=t[0],l=t[1]):(r=t[0],o=t[1],l=t[2]),zt(r,e,n),$t(o,e,n),Ht(l,e,n),{isTargetingSelf:c,target:r,type:o,listener:l=Dt(e,l)}},Vt=function(e,t,n,r){zt(e,e,t),e.nodeName?Lt[t](e,n,r):e[t](n,r)},qt={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Wt(this,n,"on"),l=o.isTargetingSelf,c=o.target,d=o.type,h=o.listener;if(Vt(c,"on",d,h),!l){var f=function(){return e.off(c,d,h)};f.guid=h.guid;var m=function(){return e.off("dispose",f)};m.guid=h.guid,Vt(this,"on","dispose",f),Vt(c,"on","dispose",m)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Wt(this,n,"one"),l=o.isTargetingSelf,c=o.target,d=o.type,h=o.listener;if(l)Vt(c,"one",d,h);else{var f=function t(){e.off(c,d,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];h.apply(null,r)};f.guid=h.guid,Vt(c,"one",d,f)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Wt(this,n,"any"),l=o.isTargetingSelf,c=o.target,d=o.type,h=o.listener;if(l)Vt(c,"any",d,h);else{var f=function t(){e.off(c,d,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];h.apply(null,r)};f.guid=h.guid,Vt(c,"any",d,f)}},off:function(e,t,n){if(!e||Ft(e))At(this.eventBusEl_,e,t);else{var r=e,o=t;zt(r,this,"off"),$t(o,this,"off"),Ht(n,this,"off"),n=Dt(this,n),this.off("dispose",n),r.nodeName?(At(r,o,n),At(r,"dispose",n)):Ut(r)&&(r.off(o,n),r.off("dispose",n))}},trigger:function(e,t){zt(this.eventBusEl_,this,"trigger");var n=e&&"string"!=typeof e?e.type:e;if(!Ft(n)){var r="Invalid event type for "+Bt(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!e)throw new Error(r);(this.log||ee).error(r)}return Ot(this.eventBusEl_,e,t)}};function Yt(e,t){void 0===t&&(t={});var n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=Re("span",{className:"vjs-event-bus"});return ae(e,qt),e.eventedCallbacks&&e.eventedCallbacks.forEach((function(e){e()})),e.on("dispose",(function(){e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&wt.has(e)&&wt.delete(e)})),l.a.setTimeout((function(){e.eventBusEl_=null}),0)})),e}var Gt={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),re(e,(function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e})),t&&Ut(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Xt(e,t){return ae(e,Gt),e.state=ae({},e.state,t),"function"==typeof e.handleStateChanged&&Ut(e)&&e.on("statechanged",e.handleStateChanged),e}var Kt=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toLowerCase()}))},Qt=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))};function Jt(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(source){source&&re(source,(function(t,n){oe(t)?(oe(e[n])||(e[n]={}),e[n]=Jt(e[n],t)):e[n]=t}))})),e}var Zt=function(){function e(){this.map_={}}var t=e.prototype;return t.has=function(e){return e in this.map_},t.delete=function(e){var t=this.has(e);return delete this.map_[e],t},t.set=function(e,t){return this.map_[e]=t,this},t.forEach=function(e,t){for(var n in this.map_)e.call(t,this.map_[n],n,this)},e}(),ei=l.a.Map?l.a.Map:Zt,ti=function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var n in this.set_)e.call(t,n,n,this)},e}(),ii=l.a.Set?l.a.Set:ti,ni=function(){function e(e,t,n){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Jt({},this.options_),t=this.options_=Jt(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var r=e&&e.id&&e.id()||"no_player";this.id_=r+"_component_"+_t()}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),!1!==t.evented&&(Yt(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Xt(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new ii,this.setIntervalIds_=new ii,this.rafIds_=new ii,this.namedRafs_=new ei,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var i=this.children_.length-1;i>=0;i--)this.children_[i].dispose&&this.children_[i].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=Jt(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return Re(e,t,n)},t.localize=function(e,t,n){void 0===n&&(n=e);var code=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),o=r&&r[code],l=code&&code.split("-")[0],c=r&&r[l],d=n;return o&&o[e]?d=o[e]:c&&c[e]&&(d=c[e]),t&&(d=d.replace(/\{(\d+)\}/g,(function(e,n){var r=t[n-1],o=r;return void 0===r&&(o=e),o}))),d},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t=t.reduce((function(e,t){return e.concat(t)}),[]);for(var r=this,i=0;i<t.length;i++)if(!(r=r.getChild(t[i]))||!r.getChild)return;return r},t.addChild=function(t,n,r){var component,o;if(void 0===n&&(n={}),void 0===r&&(r=this.children_.length),"string"==typeof t){o=Qt(t);var l=n.componentClass||o;n.name=o;var c=e.getComponent(l);if(!c)throw new Error("Component "+l+" does not exist");if("function"!=typeof c)return null;component=new c(this.player_||this,n)}else component=t;if(component.parentComponent_&&component.parentComponent_.removeChild(component),this.children_.splice(r,0,component),component.parentComponent_=this,"function"==typeof component.id&&(this.childIndex_[component.id()]=component),(o=o||component.name&&Qt(component.name()))&&(this.childNameIndex_[o]=component,this.childNameIndex_[Kt(o)]=component),"function"==typeof component.el&&component.el()){var d=null;this.children_[r+1]&&(this.children_[r+1].el_?d=this.children_[r+1].el_:Me(this.children_[r+1])&&(d=this.children_[r+1])),this.contentEl().insertBefore(component.el(),d)}return component},t.removeChild=function(component){if("string"==typeof component&&(component=this.getChild(component)),component&&this.children_){for(var e=!1,i=this.children_.length-1;i>=0;i--)if(this.children_[i]===component){e=!0,this.children_.splice(i,1);break}if(e){component.parentComponent_=null,this.childIndex_[component.id()]=null,this.childNameIndex_[Qt(component.name())]=null,this.childNameIndex_[Kt(component.name())]=null;var t=component.el();t&&t.parentNode===this.contentEl()&&this.contentEl().removeChild(component.el())}}},t.initChildren=function(){var t=this,n=this.options_.children;if(n){var r,o=this.options_,l=e.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((function(e){var r,o;return"string"==typeof e?o=n[r=e]||t.options_[r]||{}:(r=e.name,o=e),{name:r,opts:o}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||Qt(t.name));return n&&!l.isTech(n)})).forEach((function(e){var n=e.name,r=e.opts;if(void 0!==o[n]&&(r=o[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var l=t.addChild(n,r);l&&(t[n]=l)}}))}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},t.$=function(e,t){return lt(e,t||this.contentEl())},t.$$=function(e,t){return ut(e,t||this.contentEl())},t.hasClass=function(e){return Fe(this.el_,e)},t.addClass=function(e){ze(this.el_,e)},t.removeClass=function(e){$e(this.el_,e)},t.toggleClass=function(e,t){He(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return qe(this.el_,e)},t.setAttribute=function(e,t){Ye(this.el_,e,t)},t.removeAttribute=function(e){Ge(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return-1!==o?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+Qt(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=le(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+Qt(e);t=this.el_[n]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(v.a.isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,n=null;this.on("touchstart",(function(r){1===r.touches.length&&(n={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=l.a.performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(n){var r=t.touches[0].pageX-n.pageX,o=t.touches[0].pageY-n.pageY;Math.sqrt(r*r+o*o)>10&&(e=!1)}}));var r=function(){e=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){(n=null,!0===e)&&(l.a.performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))}))},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=Dt(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.setTimeout=function(e,t){var n,r=this;return e=Dt(this,e),this.clearTimersOnDispose_(),n=l.a.setTimeout((function(){r.setTimeoutIds_.has(n)&&r.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),l.a.clearTimeout(e)),e},t.setInterval=function(e,t){e=Dt(this,e),this.clearTimersOnDispose_();var n=l.a.setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),l.a.clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=Dt(this,e),t=l.a.requestAnimationFrame((function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()})),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var n=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=Dt(this,t);var r=this.requestAnimationFrame((function(){t(),n.namedRafs_.has(e)&&n.namedRafs_.delete(e)}));return this.namedRafs_.set(e,r),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),l.a.cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var n=t[0],r=t[1];e[n].forEach((function(t,n){return e[r](n)}))})),e.clearingTimersOnDispose_=!1})))},e.registerComponent=function(t,n){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r,o=e.getComponent("Tech"),l=o&&o.isTech(n),c=e===n||e.prototype.isPrototypeOf(n.prototype);if(l||!c)throw r=l?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+r+".");t=Qt(t),e.components_||(e.components_={});var d=e.getComponent("Player");if("Player"===t&&d&&d.players){var h=d.players,f=Object.keys(h);if(h&&f.length>0&&f.map((function(e){return h[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[Kt(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function ri(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}(e,r,n.length-1),n[r][t]}function ai(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:ri.bind(null,"start",0,e),end:ri.bind(null,"end",1,e)},l.a.Symbol&&l.a.Symbol.iterator&&(t[l.a.Symbol.iterator]=function(){return(e||[]).values()}),t}function si(e,t){return Array.isArray(e)?ai(e):void 0===e||void 0===t?ai():ai([[e,t]])}function oi(e,t){var n,r,o=0;if(!t)return 0;e&&e.length||(e=si(0,0));for(var i=0;i<e.length;i++)n=e.start(i),(r=e.end(i))>t&&(r=t),o+=r-n;return o/t}function ui(e){if(e instanceof ui)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:se(e)&&("number"==typeof e.code&&(this.code=e.code),ae(this,e)),this.message||(this.message=ui.defaultMessages[this.code]||"")}ni.prototype.supportsRaf_="function"==typeof l.a.requestAnimationFrame&&"function"==typeof l.a.cancelAnimationFrame,ni.registerComponent("Component",ni),ui.prototype.code=0,ui.prototype.message="",ui.prototype.status=null,ui.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],ui.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var ci=0;ci<ui.errorTypes.length;ci++)ui[ui.errorTypes[ci]]=ci,ui.prototype[ui.errorTypes[ci]]=ci;function di(e){return null!=e&&"function"==typeof e.then}function hi(e){di(e)&&e.then(null,(function(e){}))}var pi=function(track){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(e,t,i){return track[t]&&(e[t]=track[t]),e}),{cues:track.cues&&Array.prototype.map.call(track.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})},fi=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,(function(e){return e.track}));return Array.prototype.map.call(t,(function(e){var t=pi(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(track){return-1===n.indexOf(track)})).map(pi))},mi=function(e,t){return e.forEach((function(track){var e=t.addRemoteTextTrack(track).track;!track.src&&track.cues&&track.cues.forEach((function(t){return e.addCue(t)}))})),t.textTracks()},gi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleKeyDown_=function(e){return r.handleKeyDown(e)},r.close_=function(e){return r.close(e)},r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=Re("div",{className:"vjs-modal-dialog-content"},{role:"document"}),r.descEl_=Re("p",{className:"vjs-modal-dialog-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),Be(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-modal-dialog vjs-hidden "+e.prototype.buildCSSClass.call(this)},n.label=function(){return this.localize(this.options_.label||"Modal Window")},n.description=function(){var desc=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(desc+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),desc},n.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},n.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},n.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},n.closeable=function(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_},n.fill=function(){this.fillWith(this.content())},n.fillWith=function(content){var e=this.contentEl(),t=e.parentNode,n=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,t.removeChild(e),this.empty(),at(e,content),this.trigger("modalfill"),n?t.insertBefore(e,n):t.appendChild(e);var r=this.getChild("closeButton");r&&t.appendChild(r.el_)},n.empty=function(){this.trigger("beforemodalempty"),tt(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=d.a.activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())},n.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},n.handleKeyDown=function(e){if(e.stopPropagation(),v.a.isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(v.a.isEventKey(e,"Tab")){for(var t,n=this.focusableEls_(),r=this.el_.querySelector(":focus"),i=0;i<n.length;i++)if(r===n[i]){t=i;break}d.a.activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||t!==n.length-1||(n[0].focus(),e.preventDefault())}},n.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(function(e){return(e instanceof l.a.HTMLAnchorElement||e instanceof l.a.HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof l.a.HTMLInputElement||e instanceof l.a.HTMLSelectElement||e instanceof l.a.HTMLTextAreaElement||e instanceof l.a.HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof l.a.HTMLIFrameElement||e instanceof l.a.HTMLObjectElement||e instanceof l.a.HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")}))},t}(ni);gi.prototype.options_={pauseOnOpen:!0,temporary:!0},ni.registerComponent("ModalDialog",gi);var vi=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(_()(n),"length",{get:function(){return this.tracks_.length}});for(var i=0;i<t.length;i++)n.addTrack(t[i]);return n}w()(t,e);var n=t.prototype;return n.addTrack=function(track){var e=this,t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(track)&&(this.tracks_.push(track),this.trigger({track:track,type:"addtrack",target:this})),track.labelchange_=function(){e.trigger({track:track,type:"labelchange",target:e})},Ut(track)&&track.addEventListener("labelchange",track.labelchange_)},n.removeTrack=function(e){for(var track,i=0,t=this.length;i<t;i++)if(this[i]===e){(track=this[i]).off&&track.off(),this.tracks_.splice(i,1);break}track&&this.trigger({track:track,type:"removetrack",target:this})},n.getTrackById=function(e){for(var t=null,i=0,n=this.length;i<n;i++){var track=this[i];if(track.id===e){t=track;break}}return t},t}(Rt);for(var yi in vi.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},vi.prototype.allowedEvents_)vi.prototype["on"+yi]=null;var bi=function(e,track){for(var i=0;i<e.length;i++)Object.keys(e[i]).length&&track.id!==e[i].id&&(e[i].enabled=!1)},_i=function(e){function t(t){var n;void 0===t&&(t=[]);for(var i=t.length-1;i>=0;i--)if(t[i].enabled){bi(t,t[i]);break}return(n=e.call(this,t)||this).changing_=!1,n}w()(t,e);var n=t.prototype;return n.addTrack=function(track){var t=this;track.enabled&&bi(this,track),e.prototype.addTrack.call(this,track),track.addEventListener&&(track.enabledChange_=function(){t.changing_||(t.changing_=!0,bi(t,track),t.changing_=!1,t.trigger("change"))},track.addEventListener("enabledchange",track.enabledChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(vi),Ti=function(e,track){for(var i=0;i<e.length;i++)Object.keys(e[i]).length&&track.id!==e[i].id&&(e[i].selected=!1)},wi=function(e){function t(t){var n;void 0===t&&(t=[]);for(var i=t.length-1;i>=0;i--)if(t[i].selected){Ti(t,t[i]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(_()(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}w()(t,e);var n=t.prototype;return n.addTrack=function(track){var t=this;track.selected&&Ti(this,track),e.prototype.addTrack.call(this,track),track.addEventListener&&(track.selectedChange_=function(){t.changing_||(t.changing_=!0,Ti(t,track),t.changing_=!1,t.trigger("change"))},track.addEventListener("selectedchange",track.selectedChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(vi),Si=function(e){function t(){return e.apply(this,arguments)||this}w()(t,e);var n=t.prototype;return n.addTrack=function(track){var t=this;e.prototype.addTrack.call(this,track),this.queueChange_||(this.queueChange_=function(){return t.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return t.trigger("selectedlanguagechange")}),track.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(track.kind)&&track.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(vi),Ei=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var i=0,t=e.length;i<t;i++)this.addTrackElement_(e[i])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(track){for(var e,i=0,t=this.trackElements_.length;i<t;i++)if(track===this.trackElements_[i].track){e=this.trackElements_[i];break}return e},t.removeTrackElement_=function(e){for(var i=0,t=this.trackElements_.length;i<t;i++)if(e===this.trackElements_[i]){this.trackElements_[i].track&&"function"==typeof this.trackElements_[i].track.off&&this.trackElements_[i].track.off(),"function"==typeof this.trackElements_[i].off&&this.trackElements_[i].off(),this.trackElements_.splice(i,1);break}},e}(),xi=function(){function e(t){e.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var t=e.prototype;return t.setCues_=function(e){var t=this.length||0,i=0,n=e.length;this.cues_=e,this.length_=e.length;var r=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<n)for(i=t;i<n;i++)r.call(this,i)},t.getCueById=function(e){for(var t=null,i=0,n=this.length;i<n;i++){var r=this[i];if(r.id===e){t=r;break}}return t},e}(),ki={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ci={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Ai={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Oi={disabled:"disabled",hidden:"hidden",showing:"showing"},ji=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+_t(),kind:t.kind||"",language:t.language||""},label=t.label||"",o=function(e){Object.defineProperty(_()(n),e,{get:function(){return r[e]},set:function(){}})};for(var l in r)o(l);return Object.defineProperty(_()(n),"label",{get:function(){return label},set:function(e){e!==label&&(label=e,this.trigger("labelchange"))}}),n}return w()(t,e),t}(Rt),Ii=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],a=d.a.createElement("a");a.href=e;for(var details={},i=0;i<t.length;i++)details[t[i]]=a[t[i]];return"http:"===details.protocol&&(details.host=details.host.replace(/:80$/,"")),"https:"===details.protocol&&(details.host=details.host.replace(/:443$/,"")),details.protocol||(details.protocol=l.a.location.protocol),details.host||(details.host=l.a.location.host),details},Pi=function(e){if(!e.match(/^https?:\/\//)){var a=d.a.createElement("a");a.href=e,e=a.href}return e},Li=function(path){if("string"==typeof path){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(path);if(e)return e.pop().toLowerCase()}return""},Mi=function(e,t){void 0===t&&(t=l.a.location);var n=Ii(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},Di=Object.freeze({__proto__:null,parseUrl:Ii,getAbsoluteURL:Pi,getFileExtension:Li,isCrossOrigin:Mi}),Ni=function(e,track){var t=new l.a.WebVTT.Parser(l.a,l.a.vttjs,l.a.WebVTT.StringDecoder()),n=[];t.oncue=function(e){track.addCue(e)},t.onparsingerror=function(e){n.push(e)},t.onflush=function(){track.trigger({type:"loadeddata",target:track})},t.parse(e),n.length>0&&(l.a.console&&l.a.console.groupCollapsed&&l.a.console.groupCollapsed("Text Track parsing errors for "+track.src),n.forEach((function(e){return ee.error(e)})),l.a.console&&l.a.console.groupEnd&&l.a.console.groupEnd()),t.flush()},Ri=function(e,track){var t={uri:e},n=Mi(e);n&&(t.cors=n);var r="use-credentials"===track.tech_.crossOrigin();r&&(t.withCredentials=r),k()(t,Dt(this,(function(e,t,n){if(e)return ee.error(e,t);track.loaded_=!0,"function"!=typeof l.a.WebVTT?track.tech_&&track.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return Ni(n,track);ee.error("vttjs failed to load, stopping trying to process "+track.src)})):Ni(n,track)})))},Bi=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=Jt(t,{kind:Ai[t.kind]||"subtitles",language:t.language||t.srclang||""}),o=Oi[r.mode]||"disabled",l=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(o="hidden"),(n=e.call(this,r)||this).tech_=r.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var c=new xi(n.cues_),d=new xi(n.activeCues_),h=!1,f=Dt(_()(n),(function(){this.tech_.isReady_&&!this.tech_.isDisposed()&&(this.activeCues=this.activeCues,h&&(this.trigger("cuechange"),h=!1))}));return n.tech_.one("dispose",(function(){n.tech_.off("timeupdate",f)})),"disabled"!==o&&n.tech_.on("timeupdate",f),Object.defineProperties(_()(n),{default:{get:function(){return l},set:function(){}},mode:{get:function(){return o},set:function(e){Oi[e]&&o!==e&&(o=e,this.preload_||"disabled"===o||0!==this.cues.length||Ri(this.src,this),this.tech_.off("timeupdate",f),"disabled"!==o&&this.tech_.on("timeupdate",f),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?c:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return d;for(var e=this.tech_.currentTime(),t=[],i=0,n=this.cues.length;i<n;i++){var r=this.cues[i];(r.startTime<=e&&r.endTime>=e||r.startTime===r.endTime&&r.startTime<=e&&r.startTime+.5>=e)&&t.push(r)}if(h=!1,t.length!==this.activeCues_.length)h=!0;else for(var o=0;o<t.length;o++)-1===this.activeCues_.indexOf(t[o])&&(h=!0);return this.activeCues_=t,d.setCues_(this.activeCues_),d},set:function(){}}}),r.src?(n.src=r.src,n.preload_||(n.loaded_=!0),(n.preload_||"subtitles"!==r.kind&&"captions"!==r.kind)&&Ri(n.src,_()(n))):n.loaded_=!0,n}w()(t,e);var n=t.prototype;return n.addCue=function(e){var t=e;if(l.a.vttjs&&!(e instanceof l.a.vttjs.VTTCue)){for(var n in t=new l.a.vttjs.VTTCue(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),i=0;i<r.length;i++)r[i]!==this&&r[i].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},n.removeCue=function(e){for(var i=this.cues_.length;i--;){var t=this.cues_[i];if(t===e||t.originalCue_&&t.originalCue_===e){this.cues_.splice(i,1),this.cues.setCues_(this.cues_);break}}},t}(ji);Bi.prototype.allowedEvents_={cuechange:"cuechange"};var Ui=function(e){function t(t){var n;void 0===t&&(t={});var r=Jt(t,{kind:Ci[t.kind]||""});n=e.call(this,r)||this;var o=!1;return Object.defineProperty(_()(n),"enabled",{get:function(){return o},set:function(e){"boolean"==typeof e&&e!==o&&(o=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return w()(t,e),t}(ji),Fi=function(e){function t(t){var n;void 0===t&&(t={});var r=Jt(t,{kind:ki[t.kind]||""});n=e.call(this,r)||this;var o=!1;return Object.defineProperty(_()(n),"selected",{get:function(){return o},set:function(e){"boolean"==typeof e&&e!==o&&(o=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return w()(t,e),t}(ji),zi=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var track=new Bi(t);return n.kind=track.kind,n.src=track.src,n.srclang=track.language,n.label=track.label,n.default=track.default,Object.defineProperties(_()(n),{readyState:{get:function(){return r}},track:{get:function(){return track}}}),r=0,track.addEventListener("loadeddata",(function(){r=2,n.trigger({type:"load",target:_()(n)})})),n}return w()(t,e),t}(Rt);zi.prototype.allowedEvents_={load:"load"},zi.NONE=0,zi.LOADING=1,zi.LOADED=2,zi.ERROR=3;var $i={audio:{ListClass:_i,TrackClass:Ui,capitalName:"Audio"},video:{ListClass:wi,TrackClass:Fi,capitalName:"Video"},text:{ListClass:Si,TrackClass:Bi,capitalName:"Text"}};Object.keys($i).forEach((function(e){$i[e].getterName=e+"Tracks",$i[e].privateName=e+"Tracks_"}));var Hi={remoteText:{ListClass:Si,TrackClass:Bi,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Ei,TrackClass:zi,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Wi=f()({},$i,Hi);Hi.names=Object.keys(Hi),$i.names=Object.keys($i),Wi.names=[].concat(Hi.names).concat($i.names);var Vi=function(e){function t(t,n){var r;return void 0===t&&(t={}),void 0===n&&(n=function(){}),t.reportTouchActivity=!1,(r=e.call(this,null,t,n)||this).onDurationChange_=function(e){return r.onDurationChange(e)},r.trackProgress_=function(e){return r.trackProgress(e)},r.trackCurrentTime_=function(e){return r.trackCurrentTime(e)},r.stopTrackingCurrentTime_=function(e){return r.stopTrackingCurrentTime(e)},r.disposeSourceHandler_=function(e){return r.disposeSourceHandler(e)},r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),Wi.names.forEach((function(e){var n=Wi[e];t&&t[n.getterName]&&(r[n.privateName]=t[n.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(track){!1===t["native"+track+"Tracks"]&&(r["featuresNative"+track+"Tracks"]=!1)})),!1===t.nativeCaptions||!1===t.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.preloadTextTracks=!1!==t.preloadTextTracks,r.autoRemoteTextTracks_=new Wi.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}w()(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Dt(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},n.onDurationChange=function(e){this.duration_=this.duration()},n.buffered=function(){return si(0,0)},n.bufferedPercent=function(){return oi(this.buffered(),this.duration_)},n.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},n.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},n.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},n.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},n.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.dispose=function(){this.clearTracks($i.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},n.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach((function(e){for(var n=t[e+"Tracks"]()||[],i=n.length;i--;){var track=n[i];"text"===e&&t.removeRemoteTextTrack(track),n.removeTrack(track)}}))},n.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],i=e.length;i--;){var track=e[i];this.removeRemoteTextTrack(track)}},n.reset=function(){},n.crossOrigin=function(){},n.setCrossOrigin=function(){},n.error=function(e){return void 0!==e&&(this.error_=new ui(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?si(0,0):si()},n.play=function(){},n.setScrubbing=function(){},n.scrubbing=function(){},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;$i.names.forEach((function(t){var n=$i[t],r=function(){e.trigger(t+"trackchange")},o=e[n.getterName]();o.addEventListener("removetrack",r),o.addEventListener("addtrack",r),e.on("dispose",(function(){o.removeEventListener("removetrack",r),o.removeEventListener("addtrack",r)}))}))},n.addWebVttScript_=function(){var e=this;if(!l.a.WebVTT)if(d.a.body.contains(this.el())){if(!this.options_["vtt.js"]&&oe(A.a)&&Object.keys(A.a).length>0)return void this.trigger("vttjsloaded");var script=d.a.createElement("script");script.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",script.onload=function(){e.trigger("vttjsloaded")},script.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){script.onload=null,script.onerror=null})),l.a.WebVTT=!0,this.el().parentNode.appendChild(script)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},o=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var l=function(){return e.trigger("texttrackchange")},c=function(){l();for(var i=0;i<t.length;i++){var track=t[i];track.removeEventListener("cuechange",l),"showing"===track.mode&&track.addEventListener("cuechange",l)}};c(),t.addEventListener("change",c),t.addEventListener("addtrack",c),t.addEventListener("removetrack",c),this.on("dispose",(function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",c),t.removeEventListener("addtrack",c),t.removeEventListener("removetrack",c);for(var i=0;i<t.length;i++){t[i].removeEventListener("cuechange",l)}}))},n.addTextTrack=function(e,label,t){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,label,n,r){void 0===r&&(r={});var o=e.textTracks();r.kind=t,label&&(r.label=label),n&&(r.language=n),r.tech=e;var track=new Wi.text.TrackClass(r);return o.addTrack(track),track}(this,e,label,t)},n.createRemoteTextTrack=function(e){var track=Jt(e,{tech:this});return new Hi.remoteTextEl.TrackClass(track)},n.addRemoteTextTrack=function(e,t){var n=this;void 0===e&&(e={});var r=this.createRemoteTextTrack(e);return!0!==t&&!1!==t&&(ee.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==t&&this.ready((function(){return n.autoRemoteTextTracks_.addTrack(r.track)})),r},n.removeRemoteTextTrack=function(track){var e=this.remoteTextTrackEls().getTrackElementByTrack_(track);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(track),this.autoRemoteTextTracks_.removeTrack(track)},n.getVideoPlaybackQuality=function(){return{}},n.requestPictureInPicture=function(){var e=this.options_.Promise||l.a.Promise;if(e)return e.reject()},n.disablePictureInPicture=function(){return!0},n.setDisablePictureInPicture=function(){},n.setPoster=function(){},n.playsinline=function(){},n.setPlaysinline=function(){},n.overrideNativeAudioTracks=function(){},n.overrideNativeVideoTracks=function(){},n.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(component){return component.prototype instanceof t||component instanceof t||component===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=Qt(e),t.techs_[e]=n,t.techs_[Kt(e)]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return t.techs_&&t.techs_[e]?t.techs_[e]:(e=Qt(e),l.a&&l.a.videojs&&l.a.videojs[e]?(ee.warn("The "+e+" tech w
2as added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),l.a.videojs[e]):void 0)},t}(ni);Wi.names.forEach((function(e){var t=Wi[e];Vi.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),Vi.prototype.featuresVolumeControl=!0,Vi.prototype.featuresMuteControl=!0,Vi.prototype.featuresFullscreenResize=!1,Vi.prototype.featuresPlaybackRate=!1,Vi.prototype.featuresProgressEvents=!1,Vi.prototype.featuresSourceset=!1,Vi.prototype.featuresTimeupdateEvents=!1,Vi.prototype.featuresNativeTextTracks=!1,Vi.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n,r=e.sourceHandlers||[],i=0;i<r.length;i++)if(n=r[i].canPlayType(t))return n;return""},e.selectSourceHandler=function(source,t){for(var n=e.sourceHandlers||[],i=0;i<n.length;i++)if(n[i].canHandleSource(source,t))return n[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(source){var t=e.selectSourceHandler(source,this.options_);t||(e.nativeSourceHandler?t=e.nativeSourceHandler:ee.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),t!==e.nativeSourceHandler&&(this.currentSource_=source),this.sourceHandler_=t.handleSource(source,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},ni.registerComponent("Tech",Vi),Vi.registerTech("Tech",Vi),Vi.defaultTechOrder_=[];var qi={},Yi={},Gi={};function Xi(e,t,n){e.setTimeout((function(){return tn(t,qi[t.type],n,e)}),1)}function Ki(e,t,n,r){void 0===r&&(r=null);var o="call"+Qt(n),l=e.reduce(en(o),r),c=l===Gi,d=c?null:t[n](l);return function(e,t,n,r){for(var i=e.length-1;i>=0;i--){var o=e[i];o[t]&&o[t](r,n)}}(e,n,d,c),d}var Qi={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Ji={setCurrentTime:1,setMuted:1,setVolume:1},Zi={play:1,pause:1};function en(e){return function(t,n){return t===Gi?Gi:n[e]?n[e](t):t}}function tn(e,t,n,r,o,l){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===o&&(o=[]),void 0===l&&(l=!1);var c=t,d=c[0],h=c.slice(1);if("string"==typeof d)tn(e,qi[d],n,r,o,l);else if(d){var f=function(e,t){var n=Yi[e.id()],r=null;if(null==n)return r=t(e),Yi[e.id()]=[[t,r]],r;for(var i=0;i<n.length;i++){var o=n[i],l=o[0],c=o[1];l===t&&(r=c)}return null===r&&(r=t(e),n.push([t,r])),r}(r,d);if(!f.setSource)return o.push(f),tn(e,h,n,r,o,l);f.setSource(ae({},e),(function(t,c){if(t)return tn(e,h,n,r,o,l);o.push(f),tn(c,e.type===c.type?h:qi[c.type],n,r,o,l)}))}else h.length?tn(e,h,n,r,o,l):l?n(e,o):tn(e,qi["*"],n,r,o,!0)}var nn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},rn=function(e){void 0===e&&(e="");var t=Li(e);return nn[t.toLowerCase()]||""},an=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):se(t)&&n.push(t)})),t=n}else t="string"==typeof t&&t.trim()?[sn({src:t})]:se(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[sn(t)]:[];return t};function sn(e){if(!e.type){var t=rn(e.src);t&&(e.type=t)}return e}var on=function(e){function t(t,n,r){var o,l=Jt({createEl:!1},n);if(o=e.call(this,t,l,r)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)t.src(n.playerOptions.sources);else for(var i=0,c=n.playerOptions.techOrder;i<c.length;i++){var d=Qt(c[i]),h=Vi.getTech(d);if(d||(h=ni.getComponent(d)),h&&h.isSupported()){t.loadTech_(d);break}}return o}return w()(t,e),t}(ni);ni.registerComponent("MediaLoader",on);var ln=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseOver_=function(e){return r.handleMouseOver(e)},r.handleMouseOut_=function(e){return r.handleMouseOut(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.emitTapEvents(),r.enable(),r}w()(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={}),t=ae({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&ee.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=ae({role:"button"},n),this.tabIndex_=t.tabIndex;var r=Re(e,t,n);return r.appendChild(Re("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=Re("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},n.controlText=function(text,e){if(void 0===e&&(e=this.el()),void 0===text)return this.controlText_||"Need Text";var t=this.localize(text);this.controlText_=text,Be(this.controlTextEl_,t),this.nonIconControl||this.player_.options_.noUITitleAttributes||e.setAttribute("title",t)},n.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},n.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},n.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},n.handleLanguagechange=function(){this.controlText(this.controlText_)},n.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(ni);ni.registerComponent("ClickableComponent",ln);var un=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),r.update_=function(e){return r.update(e)},t.on("posterchange",r.update_),r}w()(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update_),e.prototype.dispose.call(this)},n.createEl=function(){return Re("div",{className:"vjs-poster",tabIndex:-1})},n.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},n.setSrc=function(e){var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t},n.handleClick=function(e){if(this.player_.controls()){var t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(we||be)&&t||this.player_.tech(!0).focus(),this.player_.paused()?hi(this.player_.play()):this.player_.pause()}},t}(ln);ni.registerComponent("PosterImage",un);var cn={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',
vendor: 4,779 bytes, line 2
2script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function dn(e,t){var n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function hn(e,style,t){try{e.style[style]=t}catch(e){return}}var pn=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var c=function(e){return o.updateDisplay(e)};return t.on("loadstart",(function(e){return o.toggleDisplay(e)})),t.on("texttrackchange",c),t.on("loadedmetadata",(function(e){return o.preselectTrack(e)})),t.ready(Dt(_()(o),(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",c),t.on("playerresize",c),l.a.addEventListener("orientationchange",c),t.on("dispose",(function(){return l.a.removeEventListener("orientationchange",c)}));for(var e=this.options_.playerOptions.tracks||[],i=0;i<e.length;i++)this.player_.addRemoteTextTrack(e[i],!0);this.preselectTrack()}}))),o}w()(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},o=this.player_.textTracks(),l=this.player_.cache_.selectedLanguage,i=0;i<o.length;i++){var track=o[i];l&&l.enabled&&l.language&&l.language===track.language&&track.kind in r?track.kind===l.kind?n=track:n||(n=track):l&&!l.enabled?(n=null,e=null,t=null):track.default&&("descriptions"!==track.kind||e?track.kind in r&&!t&&(t=track):e=track)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"==typeof l.a.WebVTT&&l.a.WebVTT.processCues(l.a,[],this.el_)},n.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var n=[],r=0;r<e.length;++r){var track=e[r];"showing"===track.mode&&n.push(track)}this.updateForTrack(n)}else{for(var o=null,l=null,i=e.length;i--;){var c=e[i];"showing"===c.mode&&("descriptions"===c.kind?o=c:l=c)}l?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(l)):o&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(o))}},n.updateDisplayState=function(track){for(var e=this.player_.textTrackSettings.getValues(),t=track.activeCues,i=t.length;i--;){var n=t[i];if(n){var r=n.displayState;if(e.color&&(r.firstChild.style.color=e.color),e.textOpacity&&hn(r.firstChild,"color",dn(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(r.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&hn(r.firstChild,"backgroundColor",dn(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?hn(r,"backgroundColor",dn(e.windowColor,e.windowOpacity)):r.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?r.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===e.edgeStyle?r.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===e.edgeStyle?r.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===e.edgeStyle&&(r.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),e.fontPercent&&1!==e.fontPercent){var o=l.a.parseFloat(r.style.fontSize);r.style.fontSize=o*e.fontPercent+"px",r.style.height="auto",r.style.top="auto"}e.fontFamily&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?r.firstChild.style.fontVariant="small-caps":r.firstChild.style.fontFamily=cn[e.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"==typeof l.a.WebVTT&&!e.every((function(track){return!track.activeCues}))){for(var t=[],i=0;i<e.length;++i)for(var track=e[i],n=0;n<track.activeCues.length;++n)t.push(track.activeCues[n]);l.a.WebVTT.processCues(l.a,t,this.el_);for(var r=0;r<e.length;++r){for(var o=e[r],c=0;c<o.activeCues.length;++c){var d=o.activeCues[c].displayState;ze(d,"vjs-text-track-cue"),ze(d,"vjs-text-track-cue-"+(o.language?o.language:r)),o.language&&Ye(d,"lang",o.language)}this.player_.textTrackSettings&&this.updateDisplayState(o)}}},t}(ni);ni.registerComponent("TextTrackDisplay",pn);var fn=function(e){function t(){return e.apply(this,arguments)||this}return w()(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"
2Video Player"),r=Re("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),o=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return o.appendChild(r),o},t}(ni);ni.registerComponent("LoadingSpinner",fn);var mn=function(e){function t(){return e.apply(this,arguments)||this}w()(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=Re("button",t=ae({className:this.buildCSSClass()},t),n=ae({type:"button"},n));return r.appendChild(Re("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return ee.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),ni.prototype.addChild.call(this,e,t)},n.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},n.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},n.handleKeyDown=function(t){v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(ln);ni.registerComponent("Button",mn);var gn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return hi(t),void(!this.player_.tech(!0)||(we||be)&&n||this.player_.tech(!0).focus())}var r=this.player_.getChild("controlBar"),o=r&&r.getChild("playToggle");if(o){var l=function(){return o.focus()};di(t)?t.then(l,(function(){})):this.setTimeout(l,1)}else this.player_.tech(!0).focus()},n.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},n.handleMouseDown=function(e){this.mouseused_=!0},t}(mn);gn.prototype.controlText_="Play Video",ni.registerComponent("BigPlayButton",gn);var vn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){v.a.isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(mn);ni.registerComponent("CloseButton",vn);var yn=function(e){function t(t,n){var r;return void 0===n&&(n={}),r=e.call(this,t,n)||this,n.replay=void 0===n.replay||n.replay,r.on(t,"play",(function(e){return r.handlePlay(e)})),r.on(t,"pause",(function(e){return r.handlePause(e)})),n.replay&&r.on(t,"ended",(function(e){return r.handleEnded(e)})),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?hi(this.player_.play()):this.player_.pause()},n.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},n.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return t.handleSeeked(e)}))},t}(mn);yn.prototype.controlText_="Play",ni.registerComponent("PlayToggle",yn);var bn=function(e,t){e=e<0?0:e;var s=Math.floor(e%60),n=Math.floor(e/60%60),r=Math.floor(e/3600),o=Math.floor(t/60%60),l=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(r=n=s="-"),(r=r>0||l>0?r+":":"")+(n=((r||o>=10)&&n<10?"0"+n:n)+":")+(s=s<10?"0"+s:s)},_n=bn;function Tn(e,t){return void 0===t&&(t=e),_n(e,t)}var wn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],(function(e){return r.updateContent(e)})),r.updateTextNode_(),r}w()(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),span=Re("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return n.appendChild(span),this.contentEl_=Re("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),n.appendChild(this.contentEl_),n},n.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},n.updateTextNode_=function(time){var e=this;void 0===time&&(time=0),time=Tn(time),this.formattedTime_!==time&&(this.formattedTime_=time,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(e.contentEl_){var t=e.textNode_;t&&e.contentEl_.firstChild!==t&&(t=null,ee.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),e.textNode_=d.a.createTextNode(e.formattedTime_),e.textNode_&&(t?e.contentEl_.replaceChild(e.textNode_,t):e.contentEl_.appendChild(e.textNode_))}})))},n.updateContent=function(e){},t}(ni);wn.prototype.labelText_="Time",wn.prototype.controlText_="Time",ni.registerComponent("TimeDisplay",wn);var Sn=function(e){function t(){return e.apply(this,arguments)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var time;time=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(time)},t}(wn);Sn.prototype.labelText_="Current Time",Sn.prototype.controlText_="Current Time",ni.registerComponent("CurrentTimeDisplay",Sn);var En=function(e){function t(t,n){var r,o=function(e){return r.updateContent(e)};return(r=e.call(this,t,n)||this).on(t,"durationchange",o),r.on(t,"loadstart",o),r.on(t,"loadedmetadata",o),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(wn);En.prototype.labelText_="Duration",En.prototype.controlText_="Duration",ni.registerComponent("DurationDisplay",En);var xn=function(e){function t(){return e.apply(this,arguments)||this}return w()(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),div=e.prototype.createEl.call(this,"div"),span=e.prototype.createEl.call(this,"span",{textContent:"/"});return div.appendChild(span),t.appendChild(div),t},t}(ni);ni.registerComponent("TimeDivider",xn);var kn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",(function(e){return r.updateContent(e)})),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(Re("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},n.updateContent=function(e){var time;"number"==typeof this.player_.duration()&&(time=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(time))},t}(wn);kn.prototype.labelText_="Remaining Time",kn.prototype.controlText_="Remaining Time",ni.registerComponent("RemainingTimeDisplay",kn);var Cn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",(function(e){return r.updateShowing(e)})),r}w()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Re("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Re("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(d.a.createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},n.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},n.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(ni);ni.registerComponent("LiveDisplay",Cn);var An=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&(r.updateLiveEdgeStatusHandler_=function(e){return r.updateLiveEdgeStatus(e)},r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatusHandler_)),r}w()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=Re("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},n.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},n.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},n.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}(mn);An.prototype.controlText_="Seek to live, currently playing live",ni.registerComponent("SeekToLive",An);var On=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},jn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseDown_=function(e){return r.handleMouseDown(e)},r.handleMouseUp_=function(e){return r.handleMouseUp(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleMouseMove_=function(e){return r.handleMouseMove(e)},r.update_=function(e){return r.update(e)},r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}w()(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},n.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=ae({tabIndex:0},n),r=ae({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},n.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||_e||e.preventDefault(),Xe(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;Ke(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},n.update=function(){var e=this;if(this.el_&&this.bar){var progress=this.getProgress();return progress===this.progress_||(this.progress_=progress,this.requestNamedAnimationFrame("Slider#update",(function(){var t=e.vertical()?"height":"width";e.bar.el().style[t]=(100*progress).toFixed(2)+"%"}))),progress}},n.getProgress=function(){return Number(On(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=Ze(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){v.a.isEventKey(t,"Left")||v.a.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):v.a.isEventKey(t,"Right")||v.a.isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){e.stopPropagation(),e.preventDefault()},n.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(ni);ni.registerComponent("Slider",jn);var In=function(time,e){return On(time/e*100,0,100).toFixed(2)+"%"},Pn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",(function(e){return r.update(e)})),r}w()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=Re("span",{className:"vjs-control-text"}),r=Re("span",{textContent:this.localize("Loaded")}),o=d.a.createTextNode(": ");return this.percentageEl_=Re("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(o),n.appendChild(this.percentageEl_),t},n.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},n.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var e=t.player_.liveTracker,n=t.player_.buffered(),r=e&&e.isLive()?e.seekableEnd():t.player_.duration(),o=t.player_.bufferedEnd(),l=t.partEls_,c=In(o,r);t.percent_!==c&&(t.el_.style.width=c,Be(t.percentageEl_,c),t.percent_=c);for(var i=0;i<n.length;i++){var d=n.start(i),h=n.end(i),f=l[i];f||(f=t.el_.appendChild(Re()),l[i]=f),f.dataset.start===d&&f.dataset.end===h||(f.dataset.start=d,f.dataset.end=h,f.style.left=In(d,o),f.style.width=In(h-d,o))}for(var m=l.length;m>n.length;m--)t.el_.removeChild(l[m-1]);l.length=n.length}))},t}(ni);ni.registerComponent("LoadProgressBar",Pn);var Ln=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Nt(Dt(_()(r),r.update),Mt),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,content){var n=Je(this.el_),r=Qe(this.player_.el()),o=e.width*t;if(r&&n){var l=e.left-r.left+o,c=e.width-o+(r.right-e.right),d=n.width/2;l<d?d+=d-l:c<d&&(d=c),d<0?d=0:d>n.width&&(d=n.width),d=Math.round(d),this.el_.style.right="-"+d+"px",this.write(content)}},n.write=function(content){Be(this.el_,content)},n.updateTime=function(e,t,time,n){var r=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var content,o=r.player_.duration();if(r.player_.liveTracker&&r.player_.liveTracker.isLive()){var l=r.player_.liveTracker.liveWindow(),c=l-t*l;content=(c<1?"":"-")+Tn(c,l)}else content=Tn(time,o);r.update(e,t,content),n&&n()}))},t}(ni);ni.registerComponent("TimeTooltip",Ln);var Mn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Nt(Dt(_()(r),r.update),Mt),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.
vendor: 44,018 bytes, line 2
2getChild("timeTooltip");if(n){var time=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,time)}},t}(ni);Mn.prototype.options_={children:[]},Ae||me||Mn.prototype.options_.children.push("timeTooltip"),ni.registerComponent("PlayProgressBar",Mn);var Dn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Nt(Dt(_()(r),r.update),Mt),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,time=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,time,(function(){n.el_.style.left=e.width*t+"px"}))},t}(ni);Dn.prototype.options_={children:["timeTooltip"]},ni.registerComponent("MouseTimeDisplay",Dn);var Nn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}w()(t,e);var n=t.prototype;return n.setEventHandlers_=function(){var e=this;this.update_=Dt(this,this.update),this.update=Nt(this.update_,Mt),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in d.a&&"visibilityState"in d.a&&this.on(d.a,"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){"hidden"===d.a.visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,Mt))},n.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},n.update=function(t){var n=this;if("hidden"!==d.a.visibilityState){var r=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,o=n.player_.duration();t&&t.isLive()&&(o=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute("aria-valuenow",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===o||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[Tn(e,o),Tn(o,o)],"{1} of {2}")),n.currentTime_=e,n.duration_=o),n.bar&&n.bar.update(Qe(n.el()),n.getProgress())})),r}},n.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},n.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},n.getPercent=function(){var e,t=this.getCurrentTime_(),n=this.player_.liveTracker;return n&&n.isLive()?(e=(t-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},n.handleMouseDown=function(t){st(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),st(e)){var n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);var r=this.calculateDistance(e),o=this.player_.liveTracker;if(o&&o.isLive()){if(r>=.99)return void o.seekToLiveEdge();var l=o.seekableStart(),c=o.liveCurrentTime();if((n=l+r*o.liveWindow())>=c&&(n=c),n<=l&&(n=l+.1),n===1/0)return}else(n=r*this.player_.duration())===this.player_.duration()&&(n-=.1);this.userSeek_(n)}},n.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},n.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},n.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?hi(this.player_.play()):this.update_()},n.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},n.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){var n=this.player_.liveTracker;if(v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(v.a.isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(v.a.isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(v()(t))){t.preventDefault(),t.stopPropagation();var r=10*(v.a.codes[v()(t)]-v.a.codes[0])/100;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*r):this.userSeek_(this.player_.duration()*r)}else v.a.isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):v.a.isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},n.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in d.a&&"visibilityState"in d.a&&this.off(d.a,"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(jn);Nn.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Ae||me||Nn.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),ni.registerComponent("SeekBar",Nn);var Rn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=Nt(Dt(_()(r),r.handleMouseMove),Mt),r.throttledHandleMouseSeek=Nt(Dt(_()(r),r.handleMouseSeek),Mt),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.handleMouseDownHandler_=function(e){return r.handleMouseDown(e)},r.enable(),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var o=t.el(),l=Je(o),c=Ze(o,e).x;c=On(c,0,1),r&&r.update(l,c),n&&n.update(l,t.getProgress())}}},n.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},n.enabled=function(){return this.enabled_},n.disable=function(){if(this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&hi(this.player_.play())}},n.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},n.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},n.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(ni);Rn.prototype.options_={children:["seekBar"]},ni.registerComponent("ProgressControl",Rn);var Bn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],(function(e){return r.handlePictureInPictureChange(e)})),r.on(t,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return r.handlePictureInPictureEnabledChange(e)})),r.disable(),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureEnabledChange=function(){d.a.pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(mn);Bn.prototype.controlText_="Picture-in-Picture",ni.registerComponent("PictureInPictureToggle",Bn);var Un=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",(function(e){return r.handleFullscreenChange(e)})),!1===d.a[t.fsApi_.fullscreenEnabled]&&r.disable(),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(mn);Un.prototype.controlText_="Fullscreen",ni.registerComponent("FullscreenToggle",Un);var Fn=function(e){function t(){return e.apply(this,arguments)||this}return w()(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(ni);ni.registerComponent("VolumeLevel",Fn);var zn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Nt(Dt(_()(r),r.update),Mt),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n,content){if(!n){var r=Qe(this.el_),o=Qe(this.player_.el()),l=e.width*t;if(!o||!r)return;var c=e.left-o.left+l,d=e.width-l+(o.right-e.right),h=r.width/2;c<h?h+=h-c:d<h&&(h=d),h<0?h=0:h>r.width&&(h=r.width),this.el_.style.right="-"+h+"px"}this.write(content+"%")},n.write=function(content){Be(this.el_,content)},n.updateVolume=function(e,t,n,r,o){var l=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){l.update(e,t,n,r.toFixed(0)),o&&o()}))},t}(ni);ni.registerComponent("VolumeLevelTooltip",zn);var $n=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Nt(Dt(_()(r),r.update),Mt),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t,n){var r=this,o=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,o,(function(){n?r.el_.style.bottom=e.height*t+"px":r.el_.style.left=e.width*t+"px"}))},t}(ni);$n.prototype.options_={children:["volumeLevelTooltip"]},ni.registerComponent("MouseVolumeLevelDisplay",$n);var Hn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",(function(e){return r.updateLastVolume_(e)})),r.on(t,"volumechange",(function(e){return r.updateARIAAttributes(e)})),t.ready((function(){return r.updateARIAAttributes()})),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){st(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var n=this.el(),r=Qe(n),o=this.vertical(),l=Ze(n,e);l=o?l.y:l.x,l=On(l,0,1),t.update(r,l,o)}st(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},n.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},n.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},n.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(jn);Hn.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Ae||me||Hn.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),Hn.prototype.playerEvent="volumechange",ni.registerComponent("VolumeBar",Hn);var Wn=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||oe(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),r=e.call(this,t,n)||this,function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(_()(r),t),r.throttledHandleMouseMove=Nt(Dt(_()(r),r.handleMouseMove),Mt),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r.on("touchstart",(function(e){return r.handleMouseDown(e)})),r.on("mousemove",(function(e){return r.handleMouseMove(e)})),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}w()(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(ni);Wn.prototype.options_={children:["volumeBar"]},ni.registerComponent("VolumeControl",Wn);var Vn=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(_()(r),t),r.on(t,["loadstart","volumechange"],(function(e){return r.update(e)})),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;Ae&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var i=0;i<4;i++)$e(this.el_,"vjs-vol-"+i);ze(this.el_,"vjs-vol-"+t)},n.updateControlText_=function(){var text=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==text&&this.controlText(text)},t}(mn);Vn.prototype.controlText_="Mute",ni.registerComponent("MuteToggle",Vn);var qn=function(e){function t(t,n){var r;return void 0===n&&(n={}),void 0!==n.inline?n.inline=n.inline:n.inline=!0,(void 0===n.volumeControl||oe(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).handleKeyPressHandler_=function(e){return r.handleKeyPress(e)},r.on(t,["loadstart"],(function(e){return r.volumePanelState_(e)})),r.on(r.muteToggle,"keyup",(function(e){return r.handleKeyPress(e)})),r.on(r.volumeControl,"keyup",(function(e){return r.handleVolumeControlKeyUp(e)})),r.on("keydown",(function(e){return r.handleKeyPress(e)})),r.on("mouseover",(function(e){return r.handleMouseOver(e)})),r.on("mouseout",(function(e){return r.handleMouseOut(e)})),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}w()(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){v.a.isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),Ct(d.a,"keyup",this.handleKeyPressHandler_)},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),At(d.a,"keyup",this.handleKeyPressHandler_)},n.handleKeyPress=function(e){v.a.isEventKey(e,"Esc")&&this.handleMouseOut()},t}(ni);qn.prototype.options_={children:["muteToggle","volumeControl"]},ni.registerComponent("VolumePanel",qn);var Yn=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,n&&(r.menuButton_=n.menuButton),r.focusedChild_=-1,r.on("keydown",(function(e){return r.handleKeyDown(e)})),r.boundHandleBlur_=function(e){return r.handleBlur(e)},r.boundHandleTapClick_=function(e){return r.handleTapClick(e)},r}w()(t,e);var n=t.prototype;return n.addEventListenerForItem=function(component){component instanceof ni&&(this.on(component,"blur",this.boundHandleBlur_),this.on(component,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(component){component instanceof ni&&(this.off(component,"blur",this.boundHandleBlur_),this.off(component,["tap","click"],this.boundHandleTapClick_))},n.removeChild=function(component){"string"==typeof component&&(component=this.getChild(component)),this.removeEventListenerForItem(component),e.prototype.removeChild.call(this,component)},n.addItem=function(component){var e=this.addChild(component);e&&this.addEventListenerForItem(e)},n.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=Re(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),Ct(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},n.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},n.handleBlur=function(e){var t=e.relatedTarget||d.a.activeElement;if(!this.children().some((function(element){return element.el()===t}))){var n=this.menuButton_;n&&n.buttonPressed_&&t!==n.el().firstChild&&n.unpressButton()}},n.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var n=t.filter((function(component){return component.el()===e.target}))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}},n.handleKeyDown=function(e){v.a.isEventKey(e,"Left")||v.a.isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(v.a.isEventKey(e,"Right")||v.a.isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},n.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(ni);ni.registerComponent("Menu",Yn);var Gn=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new mn(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var o=mn.prototype.buildCSSClass();r.menuButton_.el_.className=r.buildCSSClass()+" "+o,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0;var l=function(e){return r.handleClick(e)};return r.handleMenuKeyUp_=function(e){return r.handleMenuKeyUp(e)},r.on(r.menuButton_,"tap",l),r.on(r.menuButton_,"click",l),r.on(r.menuButton_,"keydown",(function(e){return r.handleKeyDown(e)})),r.on(r.menuButton_,"mouseenter",(function(){r.addClass("vjs-hover"),r.menu.show(),Ct(d.a,"keyup",r.handleMenuKeyUp_)})),r.on("mouseleave",(function(e){return r.handleMouseLeave(e)})),r.on("keydown",(function(e){return r.handleSubmenuKeyDown(e)})),r}w()(t,e);var n=t.prototype;return n.update=function(){var menu=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=menu,this.addChild(menu),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},n.createMenu=function(){var menu=new Yn(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=Re("li",{className:"vjs-menu-title",textContent:Qt(this.options_.title),tabIndex:-1}),t=new ni(this.player_,{el:e});menu.addItem(t)}if(this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)menu.addItem(this.items[i]);return menu},n.createItems=function(){},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},n.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+mn.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},n.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},n.controlText=function(text,e){return void 0===e&&(e=this.menuButton_.el()),this.menuButton_.controlText(text,e)},n.dispose=function(){this.handleMouseLeave(),e.prototype.dispose.call(this)},n.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},n.handleMouseLeave=function(e){this.removeClass("vjs-hover"),At(d.a,"keyup",this.handleMenuKeyUp_)},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(v.a.isEventKey(e,"Up")||v.a.isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))},n.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Ae&&De())return;this.menu.focus()}},n.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},n.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},n.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(ni);ni.registerComponent("MenuButton",Gn);var Xn=function(e){function t(t,n){var r,o=n.tracks;if((r=e.call(this,t,n)||this).items.length<=1&&r.hide(),!o)return _()(r);var l=Dt(_()(r),r.update);return o.addEventListener("removetrack",l),o.addEventListener("addtrack",l),o.addEventListener("labelchange",l),r.player_.on("ready",l),r.player_.on("dispose",(function(){o.removeEventListener("removetrack",l),o.removeEventListener("addtrack",l),o.removeEventListener("labelchange",l)})),r}return w()(t,e),t}(Gn);ni.registerComponent("TrackButton",Xn);var Kn=["Tab","Esc","Up","Down","Right","Left"],Qn=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}w()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){this.nonIconControl=!0;var o=e.prototype.createEl.call(this,"li",ae({className:"vjs-menu-item",tabIndex:-1},n),r);return o.replaceChild(Re("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),o.querySelector(".vjs-icon-placeholder")),o},n.handleKeyDown=function(t){Kn.some((function(e){return v.a.isEventKey(t,e)}))||e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){this.selected(!0)},n.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(ln);ni.registerComponent("MenuItem",Qn);var Jn=function(e){function t(t,n){var r,track=n.track,o=t.textTracks();n.label=track.label||track.language||"Unknown",n.selected="showing"===track.mode,(r=e.call(this,t,n)||this).track=track,r.kinds=(n.kinds||[n.kind||r.track.kind]).filter(Boolean);var c,h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(_()(r),t)},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleSelectedLanguageChange.apply(_()(r),t)};(t.on(["loadstart","texttrackchange"],h),o.addEventListener("change",h),o.addEventListener("selectedlanguagechange",f),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],h),o.removeEventListener("change",h),o.removeEventListener("selectedlanguagechange",f)})),void 0===o.onchange)&&r.on(["tap","click"],(function(){if("object"!=typeof l.a.Event)try{c=new l.a.Event("change")}catch(e){}c||(c=d.a.createEvent("Event")).initEvent("change",!0,!0),o.dispatchEvent(c)}));return r.handleTracksChange(),r}w()(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var i=0;i<r.length;i++){var track=r[i];-1!==this.kinds.indexOf(track.kind)&&(track===n?"showing"!==track.mode&&(track.mode="showing"):"disabled"!==track.mode&&(track.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Qn);ni.registerComponent("TextTrackMenuItem",Jn);var Zn=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}w()(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,i=0,r=t.length;i<r;i++){var track=t[i];if(this.options_.kinds.indexOf(track.kind)>-1&&"showing"===track.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,i=0,r=t.length;i<r;i++){var track=t[i];if(["captions","descriptions","subtitles"].indexOf(track.kind)>-1&&"showing"===track.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(Jn);ni.registerComponent("OffTextTrackMenuItem",Zn);var er=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return w()(t,e),t.prototype.createItems=function(e,t){var label;void 0===e&&(e=[]),void 0===t&&(t=Jn),this.label_&&(label=this.label_+" off"),e.push(new Zn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:label})),this.hideThreshold_+=1;var n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<n.length;i++){var track=n[i];if(this.kinds_.indexOf(track.kind)>-1){var r=new t(this.player_,{track:track,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});r.addClass("vjs-"+track.kind+"-menu-item"),e.push(r)}}return e},t}(Xn);ni.registerComponent("TextTrackButton",er);var ir=function(e){function t(t,n){var r,track=n.track,o=n.cue,l=t.currentTime();return n.selectable=!0,n.multiSelectable=!1,n.label=o.text,n.selected=o.startTime<=l&&l<o.endTime,(r=e.call(this,t,n)||this).track=track,r.cue=o,track.addEventListener("cuechange",Dt(_()(r),r.update)),r}w()(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},n.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(Qn);ni.registerComponent("ChaptersTrackMenuItem",ir);var nr=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},n.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},n.setTrack=function(track){if(this.track_!==track){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=track,this.track_){this.track_.mode="hidden";var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.addEventListener("load",this.updateHandler_)}}},n.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],i=e.length-1;i>=0;i--){var track=e[i];if(track.kind===this.kind_)return track}},n.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Qt(this.kind_))},n.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},n.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var i=0,n=t.length;i<n;i++){var r=t[i],o=new ir(this.player_,{track:this.track_,cue:r});e.push(o)}return e},t}(er);nr.prototype.kind_="chapters",nr.prototype.controlText_="Chapters",ni.registerComponent("ChaptersButton",nr);var rr=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var l=t.textTracks(),c=Dt(_()(o),o.handleTracksChange);return l.addEventListener("change",c),o.on("dispose",(function(){l.removeEventListener("change",c)})),o}w()(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,i=0,r=t.length;i<r;i++){var track=t[i];if(track.kind!==this.kind_&&"showing"===track.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(er);rr.prototype.kind_="descriptions",rr.prototype.controlText_="Descriptions",ni.registerComponent("DescriptionsButton",rr);var ar=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(er);ar.prototype.kind_="subtitles",ar.prototype.controlText_="Subtitles",ni.registerComponent("SubtitlesButton",ar);var sr=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return w()(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(Jn);ni.registerComponent("CaptionSettingsMenuItem",sr);var or=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new sr(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(er);or.prototype.kind_="captions",or.prototype.controlText_="Captions",ni.registerComponent("CaptionsButton",or);var lr=function(e){function t(){return e.apply(this,arguments)||this}return w()(t,e),t.prototype.createEl=function(t,n,r){var o=e.prototype.createEl.call(this,t,n,r),l=o.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(l.appendChild(Re("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),l.appendChild(Re("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),o},t}(Jn);ni.registerComponent("SubsCapsMenuItem",lr);var ur=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(Qt(r.label_)),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new sr(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,lr)},t}(er);ur.prototype.kinds_=["captions","subtitles"],ur.prototype.controlText_="Subtitles",ni.registerComponent("SubsCapsButton",ur);var cr=function(e){function t(t,n){var r,track=n.track,o=t.audioTracks();n.label=track.label||track.language||"Unknown",n.selected=track.enabled,(r=e.call(this,t,n)||this).track=track,r.addClass("vjs-"+track.kind+"-menu-item");var l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(_()(r),t)};return o.addEventListener("change",l),r.on("dispose",(function(){o.removeEventListener("change",l)})),r}w()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var o=e.prototype.createEl.call(this,t,n,r),l=o.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(l.appendChild(Re("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),l.appendChild(Re("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),o},n.handleClick=function(t){if(e.prototype.handleClick.call(this,t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var n=this.player_.audioTracks(),i=0;i<n.length;i++){var track=n[i];track!==this.track&&(track.enabled=track===this.track)}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(Qn);ni.registerComponent("AudioTrackMenuItem",cr);var dr=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),i=0;i<t.length;i++){var track=t[i];e.push(new cr(this.player_,{track:track,selectable:!0,multiSelectable:!1}))}return e},t}(Xn);dr.prototype.controlText_="Audio Track",ni.registerComponent("AudioTrackButton",dr);var pr=function(e){function t(t,n){var r,label=n.rate,o=parseFloat(label,10);return n.label=label,n.selected=o===t.playbackRate(),n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=label,r.rate=o,r.on(t,"ratechange",(function(e){return r.update(e)})),r}w()(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(Qn);pr.prototype.contentElType="button",ni.registerComponent("PlaybackRateMenuItem",pr);var fr=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).menuButton_.el_.setAttribute("aria-describedby",r.labelElId_),r.updateVisibility(),r.updateLabel(),r.on(t,"loadstart",(function(e){return r.updateVisibility(e)})),r.on(t,"ratechange",(function(e){return r.updateLabel(e)})),r.on(t,"playbackrateschange",(function(e){return r.handlePlaybackRateschange(e)})),r}w()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Re("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t},n.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){for(var e=this.playbackRates(),t=[],i=e.length-1;i>=0;i--)t.push(new pr(this.player(),{rate:e[i]+"x"}));return t},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){var t=this.player().playbackRate(),n=this.playbackRates(),r=(n.indexOf(t)+1)%n.length;this.player().playbackRate(n[r])},n.handlePlaybackRateschange=function(e){this.update()},n.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},n.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},n.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(Gn);fr.prototype.controlText_="Playback Rate",ni.registerComponent("PlaybackRateMenuButton",fr);var mr=function(e){function t(){return e.apply(this,arguments)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(t,n,r){return void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n.className||(n.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,n,r)},t}(ni);ni.registerComponent("Spacer",mr);var gr=function(e){function t(){return e.apply(this,arguments)||this}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},t}(mr);ni.registerComponent("CustomControlSpacer",gr);var vr=function(e){function t(){return e.apply(this,arguments)||this}return w()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(ni);vr.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in d.a&&vr.prototype.options_.children.splice(vr.prototype.options_.children.length-1,0,"pictureInPictureToggle"),ni.registerComponent("ControlBar",vr);var yr=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",(function(e){return r.open(e)})),r}w()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(gi);yr.prototype.options_=f()({},gi.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),ni.registerComponent("ErrorDisplay",yr);var _r="vjs-text-track-settings",Tr=["#000","Black"],wr=["#00F","Blue"],Sr=["#0FF","Cyan"],Er=["#0F0","Green"],xr=["#F0F","Magenta"],kr=["#F00","Red"],Cr=["#FFF","White"],Ar=["#FF0","Yellow"],Or=["1","Opaque"],jr=["0.5","Semi-Transparent"],Ir=["0","Transparent"],Pr={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Tr,Cr,kr,Er,wr,Ar,xr,Sr]},backgroundOpacity:{selector:".vjs-bg-opacity >
2 select",id:"captions-background-opacity-%s",label:"Transparency",options:[Or,jr,Ir]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Cr,Tr,kr,Er,wr,Ar,xr,Sr]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[Or,jr]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[Ir,jr,Or]}};function Lr(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}Pr.windowColor.options=Pr.backgroundColor.options;var Mr=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=r.updateDisplay.bind(_()(r)),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=Re("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===n.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",(function(){r.saveSettings(),r.close()})),r.on(r.$(".vjs-default-button"),"click",(function(){r.setDefaults(),r.updateDisplay()})),re(Pr,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}w()(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var o=Pr[e],l=o.id.replace("%s",this.id_),c=[t,l].join(" ").trim();return["<"+n+' id="'+l+'" class="'+("label"===n?"vjs-label":"")+'">',this.localize(o.label),"</"+n+">",'<select aria-labelledby="'+c+'">'].concat(o.options.map((function(e){var t=l+"-"+e[1].replace(/\W+/g,"");return['<option id="'+t+'" value="'+e[0]+'" ','aria-labelledby="'+c+" "+t+'">',r.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")},n.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},n.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},n.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},n.createElColors_=function(){return Re("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return Re("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},n.createElControls_=function(){var e=this.localize("restore all settings to the default values");return Re("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+e+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+e+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},n.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},n.label=function(){return this.localize("Caption Settings Dialog")},n.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},n.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},n.getValues=function(){var object,e,t,n=this;return e=function(e,t,r){var o,l,c=(o=n.$(t.selector),l=t.parser,Lr(o.options[o.options.selectedIndex].value,l));return void 0!==c&&(e[r]=c),e},void 0===(t={})&&(t=0),ne(object=Pr).reduce((function(t,n){return e(t,object[n],n)}),t)},n.setValues=function(e){var t=this;re(Pr,(function(n,r){!function(e,t,n){if(t)for(var i=0;i<e.options.length;i++)if(Lr(e.options[i].value,n)===t){e.selectedIndex=i;break}}(t.$(n.selector),e[r],n.parser)}))},n.setDefaults=function(){var e=this;re(Pr,(function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n}))},n.restoreSettings=function(){var e;try{e=JSON.parse(l.a.localStorage.getItem(_r))}catch(e){ee.warn(e)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?l.a.localStorage.setItem(_r,JSON.stringify(e)):l.a.localStorage.removeItem(_r)}catch(e){ee.warn(e)}}},n.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;
vendor: 40,635 bytes, line 2
2t?t.focus():n&&n.focus()},t}(gi);ni.registerComponent("TextTrackSettings",Mr);var Dr=function(e){function t(t,n){var r,o=n.ResizeObserver||l.a.ResizeObserver;null===n.ResizeObserver&&(o=!1);var c=Jt({createEl:!o,reportTouchActivity:!1},n);return(r=e.call(this,t,c)||this).ResizeObserver=n.ResizeObserver||l.a.ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=function(e,t,n,r){var o;void 0===r&&(r=l.a);var c=function(){var l=this,c=arguments,d=function(){o=null,d=null,n||e.apply(l,c)};!o&&n&&e.apply(l,c),r.clearTimeout(o),o=r.setTimeout(d,t)};return c.cancel=function(){r.clearTimeout(o),o=null},c}((function(){r.resizeHandler()}),100,!1,_()(r)),o?(r.resizeObserver_=new r.ResizeObserver(r.debouncedHandler_),r.resizeObserver_.observe(t.el())):(r.loadListener_=function(){if(r.el_&&r.el_.contentWindow){var e=r.debouncedHandler_,t=r.unloadListener_=function(){At(this,"resize",e),At(this,"unload",t),t=null};Ct(r.el_.contentWindow,"unload",t),Ct(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}w()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1},{"aria-hidden":"true"})},n.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},n.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,e.prototype.dispose.call(this)},t}(ni);ni.registerComponent("ResizeManager",Dr);var Nr={trackingThreshold:20,liveTolerance:15},Rr=function(e){function t(t,n){var r,o=Jt(Nr,n,{createEl:!1});return(r=e.call(this,t,o)||this).handleVisibilityChange_=function(e){return r.handleVisibilityChange(e)},r.trackLiveHandler_=function(){return r.trackLive_()},r.handlePlay_=function(e){return r.handlePlay(e)},r.handleFirstTimeupdate_=function(e){return r.handleFirstTimeupdate(e)},r.handleSeeked_=function(e){return r.handleSeeked(e)},r.seekToLiveEdge_=function(e){return r.seekToLiveEdge(e)},r.reset_(),r.on(r.player_,"durationchange",(function(e){return r.handleDurationchange(e)})),r.on(r.player_,"canplay",(function(){return r.toggleTracking()})),we&&"hidden"in d.a&&"visibilityState"in d.a&&r.on(d.a,"visibilitychange",r.handleVisibilityChange_),r}w()(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(d.a.hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(l.a.performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;var r=this.liveCurrentTime(),o=this.player_.currentTime(),c=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-o)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(c=!1),c!==this.behindLiveEdge_&&(this.behindLiveEdge_=c,this.trigger("liveedgechange"))}},n.handleDurationchange=function(){this.toggleTracking()},n.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},n.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,Mt),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},n.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},n.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},n.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},n.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},n.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},n.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},n.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.end(i));return t.length?t.sort()[t.length-1]:1/0},n.seekableStart=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.start(i));return t.length?t.sort()[0]:0},n.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},n.isLive=function(){return this.isTracking()},n.atLiveEdge=function(){return!this.behindLiveEdge()},n.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},n.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},n.behindLiveEdge=function(){return this.behindLiveEdge_},n.isTracking=function(){return"number"==typeof this.trackingInterval_},n.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(d.a,"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(ni);ni.registerComponent("LiveTracker",Rr);var Br,Ur=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],o="";if(!n.length)return!1;for(var i=0;i<n.length;i++){var l=n[i].src;l&&-1===r.indexOf(l)&&r.push(l)}return!!r.length&&(1===r.length&&(o=r[0]),e.triggerSourceset(o),!0)},Fr=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=d.a.createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=d.a.createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",l.a.Element.prototype.appendChild.call(this,n),this.innerHTML}}),zr=function(e,t){for(var n={},i=0;i<e.length&&!((n=Object.getOwnPropertyDescriptor(e[i],t))&&n.set&&n.get);i++);return n.enumerable=!0,n.configurable=!0,n},$r=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return zr([e.el(),l.a.HTMLMediaElement.prototype,l.a.Element.prototype,Fr],"innerHTML")}(e),o=function(n){return function(){for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];var c=n.apply(t,o);return Ur(e),c}};["append","appendChild","insertAdjacentHTML"].forEach((function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",Jt(r,{set:o(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach((function(e){t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},Hr=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?Pi(l.a.Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return l.a.Element.prototype.setAttribute.call(this,"src",e),e}}),Wr=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return zr([e.el(),l.a.HTMLMediaElement.prototype,Hr],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Jt(n,{set:function(r){var o=n.set.call(t,r);return e.triggerSourceset(t.src),o}})),t.setAttribute=function(n,o){var l=r.call(t,n,o);return/src/i.test(n)&&e.triggerSourceset(t.src),l},t.load=function(){var n=o.call(t);return Ur(e)||(e.triggerSourceset(""),$r(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Ur(e)||$r(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Vr=function(e,t,n,r){void 0===r&&(r=!0);var o=function(n){return Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0})},l={configurable:!0,enumerable:!0,get:function(){var e=n();return o(e),e}};return r&&(l.set=o),Object.defineProperty(e,t,l)},qr=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var source=t.source,o=!1;if(source&&(r.el_.currentSrc!==source.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(source):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),r.isScrubbing_=!1,r.el_.hasChildNodes()){for(var l=r.el_.childNodes,c=l.length,d=[];c--;){var h=l[c];"track"===h.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(h),r.remoteTextTracks().addTrack(h.track),r.textTracks().addTrack(h.track),o||r.el_.hasAttribute("crossorigin")||!Mi(h.src)||(o=!0)):d.push(h))}for(var i=0;i<d.length;i++)r.el_.removeChild(d[i])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&o&&ee.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),r.restoreMetadataTracksInIOSNativePlayer_(),(xe||Ce||ve)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}w()(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){Wr(this)},n.restoreMetadataTracksInIOSNativePlayer_=function(){var e,t=this.textTracks(),n=function(){e=[];for(var i=0;i<t.length;i++){var track=t[i];"metadata"===track.kind&&e.push({track:track,storedMode:track.mode})}};n(),t.addEventListener("change",n),this.on("dispose",(function(){return t.removeEventListener("change",n)}));var r=function n(){for(var i=0;i<e.length;i++){var r=e[i];"disabled"===r.track.mode&&r.track.mode!==r.storedMode&&(r.track.mode=r.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)})),this.on("webkitendfullscreen",(function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)}))},n.overrideNative_=function(e,t){var n=this;if(t===this["featuresNative"+e+"Tracks"]){var r=e.toLowerCase();this[r+"TracksListeners_"]&&Object.keys(this[r+"TracksListeners_"]).forEach((function(e){n.el()[r+"Tracks"].removeEventListener(e,n[r+"TracksListeners_"][e])})),this["featuresNative"+e+"Tracks"]=!t,this[r+"TracksListeners_"]=null,this.proxyNativeTracksForType_(r)}},n.overrideNativeAudioTracks=function(e){this.overrideNative_("Audio",e)},n.overrideNativeVideoTracks=function(e){this.overrideNative_("Video",e)},n.proxyNativeTracksForType_=function(e){var t=this,n=$i[e],r=this.el()[n.getterName],o=this[n.getterName]();if(this["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var l={change:function(n){var r={type:"change",target:o,currentTarget:o,srcElement:o};o.trigger(r),"text"===e&&t[Hi.remoteText.getterName]().trigger(r)},addtrack:function(e){o.addTrack(e.track)},removetrack:function(e){o.removeTrack(e.track)}},c=function(){for(var e=[],i=0;i<o.length;i++){for(var t=!1,n=0;n<r.length;n++)if(r[n]===o[i]){t=!0;break}t||e.push(o[i])}for(;e.length;)o.removeTrack(e.shift())};this[n.getterName+"Listeners_"]=l,Object.keys(l).forEach((function(e){var n=l[e];r.addEventListener(e,n),t.on("dispose",(function(t){return r.removeEventListener(e,n)}))})),this.on("loadstart",c),this.on("dispose",(function(e){return t.off("loadstart",c)}))}},n.proxyNativeTracks_=function(){var e=this;$i.names.forEach((function(t){e.proxyNativeTracksForType_(t)}))},n.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=d.a.createElement("video");var r=Jt({},this.options_.tag&&Ve(this.options_.tag));xe&&!0===this.options_.nativeControlsForTouch||delete r.controls,We(e,ae(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&Ye(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);for(var o=["loop","muted","playsinline","autoplay"],i=0;i<o.length;i++){var l=o[i],c=this.options_[l];void 0!==c&&(c?Ye(e,l,l):Ge(e,l),e[l]=c)}return e},n.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready((function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")}))}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready((function(){o.forEach((function(e){this.trigger(e)}),this)}))}},n.setScrubbing=function(e){this.isScrubbing_=e},n.scrubbing=function(){return this.isScrubbing_},n.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&Oe?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){ee(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&me&&_e&&0===this.el_.currentTime){return this.on("timeupdate",(function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))})),NaN}return this.el_.duration||NaN},n.width=function(){return this.el_.offsetWidth},n.height=function(){return this.el_.offsetHeight},n.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",(function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)}))}},n.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=l.a.navigator&&l.a.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},n.enterFullScreen=function(){var video=this.el_;if(video.paused&&video.networkState<=video.HAVE_METADATA)hi(this.el_.play()),this.setTimeout((function(){video.pause();try{video.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{video.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}},n.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},n.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},n.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},n.reset=function(){t.resetMediaElement(this.el_)},n.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},n.setControls=function(e){this.el_.controls=!!e},n.addTextTrack=function(t,label,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,label,n):e.prototype.addTextTrack.call(this,t,label,n)},n.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=d.a.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},n.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},n.removeRemoteTextTrack=function(track){if(e.prototype.removeRemoteTextTrack.call(this,track),this.featuresNativeTextTracks)for(var t=this.$$("track"),i=t.length;i--;)track!==t[i]&&track!==t[i].track||this.el().removeChild(t[i])},n.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),l.a.performance&&"function"==typeof l.a.performance.now?e.creationTime=l.a.performance.now():l.a.performance&&l.a.performance.timing&&"number"==typeof l.a.performance.timing.navigationStart&&(e.creationTime=l.a.Date.now()-l.a.performance.timing.navigationStart),e},t}(Vi);Vr(qr,"TEST_VID",(function(){if(Le()){var video=d.a.createElement("video"),track=d.a.createElement("track");return track.kind="captions",track.srclang="en",track.label="English",video.appendChild(track),video}})),qr.isSupported=function(){try{qr.TEST_VID.volume=.5}catch(e){return!1}return!(!qr.TEST_VID||!qr.TEST_VID.canPlayType)},qr.canPlayType=function(e){return qr.TEST_VID.canPlayType(e)},qr.canPlaySource=function(e,t){return qr.canPlayType(e.type)},qr.canControlVolume=function(){try{var e=qr.TEST_VID.volume;qr.TEST_VID.volume=e/2+.1;var t=e!==qr.TEST_VID.volume;return t&&Ae?(l.a.setTimeout((function(){qr&&qr.prototype&&(qr.prototype.featuresVolumeControl=e!==qr.TEST_VID.volume)})),!1):t}catch(e){return!1}},qr.canMuteVolume=function(){try{var e=qr.TEST_VID.muted;return qr.TEST_VID.muted=!e,qr.TEST_VID.muted?Ye(qr.TEST_VID,"muted","muted"):Ge(qr.TEST_VID,"muted"),e!==qr.TEST_VID.muted}catch(e){return!1}},qr.canControlPlaybackRate=function(){if(me&&_e&&Te<58)return!1;try{var e=qr.TEST_VID.playbackRate;return qr.TEST_VID.playbackRate=e/2+.1,e!==qr.TEST_VID.playbackRate}catch(e){return!1}},qr.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(d.a.createElement("video"),"src",{get:e,set:e}),Object.defineProperty(d.a.createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(d.a.createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(d.a.createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},qr.supportsNativeTextTracks=function(){return Oe||Ae&&_e},qr.supportsNativeVideoTracks=function(){return!(!qr.TEST_VID||!qr.TEST_VID.videoTracks)},qr.supportsNativeAudioTracks=function(){return!(!qr.TEST_VID||!qr.TEST_VID.audioTracks)},qr.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],n=e[1];Vr(qr.prototype,t,(function(){return qr[n]()}),!0)})),qr.prototype.featuresVolumeControl=qr.canControlVolume(),qr.prototype.movingMediaElementInDOM=!Ae,qr.prototype.featuresFullscreenResize=!0,qr.prototype.featuresProgressEvents=!0,qr.prototype.featuresTimeupdateEvents=!0,qr.patchCanPlayType=function(){ge>=4&&!ye&&!_e&&(Br=qr.TEST_VID&&qr.TEST_VID.constructor.prototype.canPlayType,qr.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":Br.call(this,e)})},qr.unpatchCanPlayType=function(){var e=qr.TEST_VID.constructor.prototype.canPlayType;return Br&&(qr.TEST_VID.constructor.prototype.canPlayType=Br),e},qr.patchCanPlayType(),qr.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},qr.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),i=t.length;i--;)e.removeChild(t[i]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){qr.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){qr.prototype["set"+Qt(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){qr.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){qr.prototype["set"+Qt(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){qr.prototype[e]=function(){return this.el_[e]()}})),Vi.withSourceHandlers(qr),qr.nativeSourceHandler={},qr.nativeSourceHandler.canPlayType=function(e){try{return qr.TEST_VID.canPlayType(e)}catch(e){return""}},qr.nativeSourceHandler.canHandleSource=function(source,e){if(source.type)return qr.nativeSourceHandler.canPlayType(source.type);if(source.src){var t=Li(source.src);return qr.nativeSourceHandler.canPlayType("video/"+t)}return""},qr.nativeSourceHandler.handleSource=function(source,e,t){e.setSrc(source.src)},qr.nativeSourceHandler.dispose=function(){},qr.registerSourceHandler(qr.nativeSourceHandler),Vi.registerTech("Html5",qr);var Yr=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Gr={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Xr=["tiny","xsmall","small","medium","large","xlarge","huge"],Kr={};Xr.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Kr[e]="vjs-layout-"+t}));var Qr={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Jr=function(e){function t(n,r,o){var l;if(n.id=n.id||r.id||"vjs_video_"+_t(),(r=ae(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var c=n.closest("[lang]");c&&c.getAttribute&&(r.language=c.getAttribute("lang"))}else for(var element=n;element&&1===element.nodeType;){if(Ve(element).hasOwnProperty("lang")){r.language=element.getAttribute("lang");break}element=element.parentNode}if((l=e.call(this,null,r,o)||this).boundDocumentFullscreenChange_=function(e){return l.documentFullscreenChange_(e)},l.boundFullWindowOnEscKey_=function(e){return l.fullWindowOnEscKey(e)},l.boundUpdateStyleEl_=function(e){return l.updateStyleEl_(e)},l.boundApplyInitTime_=function(e){return l.applyInitTime_(e)},l.boundUpdateCurrentBreakpoint_=function(e){return l.updateCurrentBreakpoint_(e)},l.boundHandleTechClick_=function(e){return l.handleTechClick_(e)},l.boundHandleTechDoubleClick_=function(e){return l.handleTechDoubleClick_(e)},l.boundHandleTechTouchStart_=function(e){return l.handleTechTouchStart_(e)},l.boundHandleTechTouchMove_=function(e){return l.handleTechTouchMove_(e)},l.boundHandleTechTouchEnd_=function(e){return l.handleTechTouchEnd_(e)},l.boundHandleTechTap_=function(e){return l.handleTechTap_(e)},l.isFullscreen_=!1,l.log=te(l.id_),l.fsApi_=X,l.isPosterFromTech_=!1,l.queuedCallbacks_=[],l.isReady_=!1,l.hasStarted_=!1,l.userActive_=!1,l.debugEnabled_=!1,!l.options_||!l.options_.techOrder||!l.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(l.tag=n,l.tagAttributes=n&&Ve(n),l.language(l.options_.language),r.languages){var h={};Object.getOwnPropertyNames(r.languages).forEach((function(e){h[e.toLowerCase()]=r.languages[e]})),l.languages_=h}else l.languages_=t.prototype.options_.languages;l.resetCache_(),l.poster_=r.poster||"",l.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),l.changingSrc_=!1,l.playCallbacks_=[],l.playTerminatedQueue_=[],n.hasAttribute("autoplay")?l.autoplay(!0):l.autoplay(l.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach((function(e){if("function"!=typeof l[e])throw new Error('plugin "'+e+'" does not exist')})),l.scrubbing_=!1,l.el_=l.createEl(),Yt(_()(l),{eventBusKey:"el_"}),l.fsApi_.requestFullscreen&&(Ct(d.a,l.fsApi_.fullscreenchange,l.boundDocumentFullscreenChange_),l.on(l.fsApi_.fullscreenchange,l.boundDocumentFullscreenChange_)),l.fluid_&&l.on(["playerreset","resize"],l.boundUpdateStyleEl_);var f=Jt(l.options_);r.plugins&&Object.keys(r.plugins).forEach((function(e){l[e](r.plugins[e])})),r.debug&&l.debug(!0),l.options_.playerOptions=f,l.middleware_=[],l.playbackRates(r.playbackRates),l.initChildren(),l.isAudio("audio"===n.nodeName.toLowerCase()),l.controls()?l.addClass("vjs-controls-enabled"):l.addClass("vjs-controls-disabled"),l.el_.setAttribute("role","region"),l.isAudio()?l.el_.setAttribute("aria-label",l.localize("Audio Player")):l.el_.setAttribute("aria-label",l.localize("Video Player")),l.isAudio()&&l.addClass("vjs-audio"),l.flexNotSupported_()&&l.addClass("vjs-no-flex"),xe&&l.addClass("vjs-touch-enabled"),Ae||l.addClass("vjs-workinghover"),t.players[l.id_]=_()(l);var m=W.split(".")[0];return l.addClass("vjs-v"+m),l.userActive(!0),l.reportUserActivity(),l.one("play",(function(e){return l.listenForUserActivity_(e)})),l.on("stageclick",(function(e){return l.handleStageClick_(e)})),l.on("keydown",(function(e){return l.handleKeyDown(e)})),l.on("languagechange",(function(e){return l.handleLanguagechange(e)})),l.breakpoints(l.options_.breakpoints),l.responsive(l.options_.responsive),l}w()(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),At(d.a,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),At(d.a,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Yi[this.id()]=null,Wi.names.forEach((function(e){var t=Wi[e],r=n[t.getterName]();r&&r.off&&r.off()})),e.prototype.dispose.call(this)},n.createEl=function(){var t,n=this.tag,r=this.playerElIngest_=n.parentNode&&n.parentNode.hasAttribute&&n.parentNode.hasAttribute("data-vjs-player"),o="video-js"===this.tag.tagName.toLowerCase();r?t=this.el_=n.parentNode:o||(t=this.el_=e.prototype.createEl.call(this,"div"));var c=Ve(n);if(o){for(t=this.el_=n,n=this.tag=d.a.createElement("video");t.children.length;)n.appendChild(t.firstChild);Fe(t,"video-js")||ze(t,"video-js"),t.appendChild(n),r=this.playerElIngest_=t,Object.keys(t).forEach((function(e){try{n[e]=t[e]}catch(e){}}))}if(n.setAttribute("tabindex","-1"),c.tabindex="-1",(we||_e&&Ee)&&(n.setAttribute("role","application"),c.role="application"),n.removeAttribute("width"),n.removeAttribute("height"),"width"in c&&delete c.width,"height"in c&&delete c.height,Object.getOwnPropertyNames(c).forEach((function(e){o&&"class"===e||t.setAttribute(e,c[e]),o&&n.setAttribute(e,c[e])})),n.playerId=n.id,n.id+="_html5_api",n.className="vjs-tech",n.player=t.player=this,this.addClass("vjs-paused"),!0!==l.a.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=vt("vjs-styles-dimensions");var h=lt(".vjs-styles-defaults"),head=lt("head");head.insertBefore(this.styleEl_,h?h.nextSibling:head.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var f=n.getElementsByTagName("a"),i=0;i<f.length;i++){var m=f.item(i);ze(m,"vjs-hidden"),m.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),Ue(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):ee.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+e+'"')},n.width=function(e){return this.dimension("width",e)},n.height=function(e){return this.dimension("height",e)},n.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?ee.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){var t,n,r=this;if(void 0===e)return!!this.fluid_;this.fluid_=!!e,Ut(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=function(){r.on(["playerreset","resize"],r.boundUpdateStyleEl_)},Ut(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},n.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},n.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},n.updateStyleEl_=function(){if(!0!==l.a.VIDEOJS_NO_DYNAMIC_STYLE){var e,t,n,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*o,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),yt(this.styleEl_,"\n      ."+n+" {\n        width: "+e+"px;\n        height: "+t+"px;\n      }\n\n      ."+n+".vjs-fluid {\n        padding-top: "+100*o+"%;\n      }\n    ")}else{var c="number"==typeof this.width_?this.width_:this.options_.width,d="number"==typeof this.height_?this.height_:this.options_.height,h=this.tech_&&this.tech_.el();h&&(c>=0&&(h.width=c),d>=0&&(h.height=d))}},n.loadTech_=function(e,source){var t=this;this.tech_&&this.unloadTech_();var n=Qt(e),r=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==n&&this.tag&&(Vi.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;var o=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(o=!1);var l={source:source,autoplay:o,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};Wi.names.forEach((function(e){var n=Wi[e];l[n.getterName]=t[n.privateName]})),ae(l,this.options_[n]),ae(l,this.options_[r]),ae(l,this.options_[e.toLowerCase()]),this.tag&&(l.tag=this.tag),source&&source.src===this.cache_.src&&this.cache_.currentTime>0&&(l.startTime=this.cache_.currentTime);var c=Vi.getTech(e);if(!c)throw new Error("No Tech named '"+n+"' exists! '"+n+"' should be registered using videojs.registerTech()'");this.tech_=new c(l),this.tech_.ready(Dt(this,this.handleTechReady_),!0),mi(this.textTracksJson_||[],this.tech_),Yr.forEach((function(e){t.on(t.tech_,e,(function(n){return t["handleTech"+Qt(e)+"_"](n)}))})),Object.keys(Gr).forEach((function(e){t.on(t.tech_,e,(function(n){0===t.tech_.playbackRate()&&t.tech_.seeking()?t.queuedCallbacks_.push({callback:t["handleTech"+Gr[e]+"_"].bind(t),event:n}):t["handleTech"+Gr[e]+"_"](n)}))})),this.on(this.tech_,"loadstart",(function(e){return t.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return t.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return t.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return t.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return t.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return t.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return t.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return t.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return t.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,data){return t.handleTechFullscreenChange_(e,data)})),this.on(this.tech_,"fullscreenerror",(function(e,n){return t.handleTechFullscreenError_(e,n)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return t.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return t.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return t.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return t.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return t.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return t.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||Ue(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Wi.names.forEach((function(t){var n=Wi[t];e[n.privateName]=e[n.getterName]()})),this.textTracksJson_=fi(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},n.tech=function(e){return void 0===e&&ee.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},n.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},n.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},n.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},n.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"==typeof e){var n,r=function(){var e=t.muted();t.muted(!0);var n=function(){t.muted(e)};t.playTerminatedQueue_.push(n);var r=t.play();if(di(r))return r.catch((function(e){throw n(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))}))};if("any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():r():di(n=this.play())&&(n=n.catch(r)),di(n))return n.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(){t.trigger({type:"autoplay-failure",autoplay:e})}))}},n.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(s){return s.src===t}));if(n.length)return n[0].type;for(var r=e.$$("source"),i=0;i<r.length;i++){var s=r[i];if(s.type&&s.src&&s.src===t)return s.type}return rn(t)}(this,t)),this.cache_.source=Jt({},e,{src:t,type:n});for(var r=this.cache_.sources.filter((function(s){return s.src&&s.src===t})),o=[],l=this.$$("source"),c=[],i=0;i<l.length;i++){var d=Ve(l[i]);o.push(d),d.src&&d.src===t&&c.push(d.src)}c.length&&!r.length?this.cache_.sources=o:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},n.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,o=e.src;r&&!/^blob:/.test(r)&&/^blob:/.test(o)&&(!this.lastSource_||this.lastSource_.tech!==o&&this.lastSource_.player!==r)&&(n=function(){}),n(o),e.src||this.tech_.any(["sourceset","loadstart"],(function(e){if("sourceset"!==e.type){var n=t.techGet("currentSrc");t.lastSource_.tech=n,t.updateSourceCaches_(n)}}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},n.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},n.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},n.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(e){return e.callback(e.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},n.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",(function n(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",n))}))},n.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},n.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},n.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},n.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},n.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},n.handleTechFirstPlay_=function(){this.options_.starttime&&(ee.warn("Passing the `starttime` option to the player will be deprecated 
2in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},n.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},n.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},n.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},n.handleTechClick_=function(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?hi(this.play()):this.pause()))},n.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(t){return t.contains(e.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},n.handleTechTap_=function(){this.userActive(!this.userActive())},n.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},n.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},n.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},n.handleStageClick_=function(){this.reportUserActivity()},n.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},n.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var n=this.el(),r=d.a[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}},n.handleTechFullscreenChange_=function(e,data){var t=this;data&&(data.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){t.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(data.isFullscreen))},n.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},n.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},n.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},n.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},n.handleTechError_=function(){var e=this.tech_.error();this.error(e)},n.handleTechTextData_=function(){var data=null;arguments.length>1&&(data=arguments[1]),this.trigger("textdata",data)},n.getCache=function(){return this.cache_},n.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},n.techCall_=function(e,t){this.ready((function(){if(e in Ji)return function(e,t,n,r){return t[n](e.reduce(en(n),r))}(this.middleware_,this.tech_,e,t);if(e in Zi)return Ki(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw ee(e),e}}),!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Qi)return function(e,t,n){return e.reduceRight(en(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Zi)return Ki(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw ee("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw ee("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw ee(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||l.a.Promise;return t?new t((function(t){e.play_(t)})):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=hi),this.playCallbacks_.push(e);var n=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(n||!Oe&&!Ae||this.load());var r=this.techGet_("play");null===r?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(r)},n.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(q){q()}))},n.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))},n.pause=function(){this.techCall_("pause")},n.paused=function(){return!1!==this.techGet_("paused")},n.played=function(){return this.techGet_("played")||si(0,0)},n.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},n.currentTime=function(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},n.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},n.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},n.remainingTime=function(){return this.duration()-this.currentTime()},n.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},n.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=si(0,0)),e},n.bufferedPercent=function(){return oi(this.buffered(),this.duration())},n.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},n.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},n.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},n.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},n.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},n.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},n.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},n.requestFullscreen=function(e){var t=this.options_.Promise||l.a.Promise;if(t){var n=this;return new t((function(t,r){function o(){n.off("fullscreenerror",c),n.off("fullscreenchange",l)}function l(){o(),t()}function c(e,t){o(),r(t)}n.one("fullscreenchange",l),n.one("fullscreenerror",c);var d=n.requestFullscreenHelper_(e);d&&(d.then(o,o),d.then(t,r))}))}return this.requestFullscreenHelper_()},n.requestFullscreenHelper_=function(e){var t,n=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var r=this.el_[this.fsApi_.requestFullscreen](t);return r&&r.then((function(){return n.isFullscreen(!0)}),(function(){return n.isFullscreen(!1)})),r}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},n.exitFullscreen=function(){var e=this.options_.Promise||l.a.Promise;if(e){var t=this;return new e((function(e,n){function r(){t.off("fullscreenerror",l),t.off("fullscreenchange",o)}function o(){r(),e()}function l(e,t){r(),n(t)}t.one("fullscreenchange",o),t.one("fullscreenerror",l);var c=t.exitFullscreenHelper_();c&&(c.then(r,r),c.then(e,n))}))}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=d.a[this.fsApi_.exitFullscreen]();return t&&hi(t.then((function(){return e.isFullscreen(!1)}))),t}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=d.a.documentElement.style.overflow,Ct(d.a,"keydown",this.boundFullWindowOnEscKey_),d.a.documentElement.style.overflow="hidden",ze(d.a.body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){v.a.isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,At(d.a,"keydown",this.boundFullWindowOnEscKey_),d.a.documentElement.style.overflow=this.docOrigOverflow,$e(d.a.body,"vjs-full-window"),this.trigger("exitFullWindow")},n.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in d.a&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in d.a)return d.a.exitPictureInPicture()},n.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;
vendor: 17,897 bytes, line 2
2if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}},n.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},n=t.fullscreenKey,r=void 0===n?function(e){return v.a.isEventKey(e,"f")}:n,o=t.muteKey,l=void 0===o?function(e){return v.a.isEventKey(e,"m")}:o,c=t.playPauseKey,h=void 0===c?function(e){return v.a.isEventKey(e,"k")||v.a.isEventKey(e,"Space")}:c;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var f=ni.getComponent("FullscreenToggle");!1!==d.a[this.fsApi_.fullscreenEnabled]&&f.prototype.handleClick.call(this,e)}else if(l.call(this,e)){e.preventDefault(),e.stopPropagation(),ni.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(h.call(this,e)){e.preventDefault(),e.stopPropagation(),ni.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},n.canPlayType=function(e){for(var t,i=0,n=this.options_.techOrder;i<n.length;i++){var r=n[i],o=Vi.getTech(r);if(o||(o=ni.getComponent(r)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else ee.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return""},n.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map((function(e){return[e,Vi.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(ee.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),o=function(e,t,n){var r;return e.some((function(e){return t.some((function(t){if(r=n(e,t))return!0}))})),r},l=function(e,source){var t=e[0];if(e[1].canPlaySource(source,n.options_[t.toLowerCase()]))return{source:source,tech:t}};return(this.options_.sourceOrder?o(e,r,(t=l,function(a,b){return t(b,a)})):o(r,e,l))||!1},n.handleSrc_=function(source,e){var t=this;if(void 0===source)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var n=an(source);if(n.length){if(this.changingSrc_=!0,e||(this.cache_.sources=n),this.updateSourceCaches_(n[0]),Xi(this,n[0],(function(r,o){var l,c;if(t.middleware_=o,e||(t.cache_.sources=n),t.updateSourceCaches_(r),t.src_(r))return n.length>1?t.handleSrc_(n.slice(1)):(t.changingSrc_=!1,t.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0),void t.triggerReady());l=o,c=t.tech_,l.forEach((function(e){return e.setTech&&e.setTech(c)}))})),this.options_.retryOnError&&n.length>1){var r=function(){t.error(null),t.handleSrc_(n.slice(1),!0)},o=function(){t.off("error",r)};this.one("error",r),this.one("playing",o),this.resetRetryOnError_=function(){t.off("error",r),t.off("playing",o)}}}else this.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0)},n.src=function(source){return this.handleSrc_(source,!1)},n.src_=function(source){var e,t,n=this,r=this.selectSource([source]);return!r||(e=r.tech,t=this.techName_,Qt(e)!==Qt(t)?(this.changingSrc_=!0,this.loadTech_(r.tech,r.source),this.tech_.ready((function(){n.changingSrc_=!1})),!1):(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",source):this.techCall_("src",source.src),this.changingSrc_=!1}),!0),!1))},n.load=function(){this.techCall_("load")},n.reset=function(){var e=this,t=this.options_.Promise||l.a.Promise;this.paused()||!t?this.doReset_():hi(this.play().then((function(){return e.doReset_()})))},n.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),Ut(this)&&this.trigger("playerreset")},n.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},n.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar,t=e.durationDisplay,n=e.remainingTimeDisplay;t&&t.updateContent(),n&&n.updateContent()},n.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},n.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},n.currentSources=function(){var source=this.currentSource(),e=[];return 0!==Object.keys(source).length&&e.push(source),this.cache_.sources||e},n.currentSource=function(){return this.cache_.source||{}},n.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},n.currentType=function(){return this.currentSource()&&this.currentSource().type||""},n.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},n.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},n.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},n.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},n.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},n.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},n.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},n.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},n.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(Y("beforeerror").forEach((function(n){var r=n(t,e);se(r)&&!Array.isArray(r)||"string"==typeof r||"number"==typeof r||null===r?e=r:t.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){var n=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),void this.one("loadstart",(function(){this.off(["click","touchstart"],n)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new ui(e),this.addClass("vjs-error"),ee.error("(CODE:"+this.error_.code+" "+ui.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),Y("error").forEach((function(e){return e(t,t.error_)}))},n.reportUserActivity=function(e){this.userActivity_=!0},n.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},n.listenForUserActivity_=function(){var e,t,n,r=Dt(this,this.reportUserActivity),o=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",o),this.on("mouseleave",o);var l,c=this.getChild("controlBar");!c||Ae||me||(c.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),c.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(l);var e=this.options_.inactivityTimeout;e<=0||(l=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}}),250)},n.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},n.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},n.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},n.addTextTrack=function(e,label,t){if(this.tech_)return this.tech_.addTextTrack(e,label,t)},n.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},n.removeRemoteTextTrack=function(e){void 0===e&&(e={});var track=e.track;if(track||(track=e),this.tech_)return this.tech_.removeRemoteTextTrack(track)},n.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},n.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},n.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},n.language=function(code){if(void 0===code)return this.language_;this.language_!==String(code).toLowerCase()&&(this.language_=String(code).toLowerCase(),Ut(this)&&this.trigger("languagechange"))},n.languages=function(){return Jt(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=Jt(this.options_),t=e.tracks;e.tracks=[];for(var i=0;i<t.length;i++){var track=t[i];(track=Jt(track)).player=void 0,e.tracks[i]=track}return e},n.createModal=function(content,e){var t=this;(e=e||{}).content=content||"";var n=new gi(this,e);return this.addChild(n),n.on("dispose",(function(){t.removeChild(n)})),n.open(),n},n.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),i=0;i<Xr.length;i++){var n=Xr[i];if(t<=this.breakpoints_[n]){if(e===n)return;e&&this.removeClass(Kr[e]),this.addClass(Kr[n]),this.breakpoint_=n;break}}},n.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},n.breakpoints=function(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=ae({},Qr,e),this.updateCurrentBreakpoint_()),ae(this.breakpoints_)},n.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return Kr[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"==typeof e){this.reset(),this.cache_.media=Jt(e);var r=this.cache_.media,o=r.artwork,l=r.poster,c=r.src,d=r.textTracks;!o&&l&&(this.cache_.media.artwork=[{src:l,type:rn(l)}]),c&&this.src(c),l&&this.poster(l),Array.isArray(d)&&d.forEach((function(e){return n.addRemoteTextTrack(e,!1)})),this.ready(t)}},n.getMedia=function(){if(!this.cache_.media){var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}}))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:rn(t.poster)}]),t}return Jt(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=Ve(e),r=n["data-setup"];if(Fe(e,"vjs-fill")&&(n.fill=!0),Fe(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=E()(r||"{}"),l=o[0],data=o[1];l&&ee.error(l),ae(n,data)}if(ae(t,n),e.hasChildNodes())for(var c=e.childNodes,i=0,d=c.length;i<d;i++){var h=c[i],f=h.nodeName.toLowerCase();"source"===f?t.sources.push(Ve(h)):"track"===f&&t.tracks.push(Ve(h))}return t},n.flexNotSupported_=function(){var e=d.a.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},n.debug=function(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},n.playbackRates=function(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((function(e){return"number"==typeof e}))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))},t}(ni);Wi.names.forEach((function(e){var t=Wi[e];Jr.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),Jr.prototype.crossorigin=Jr.prototype.crossOrigin,Jr.players={};var Zr=l.a.navigator;Jr.prototype.options_={techOrder:Vi.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Zr&&(Zr.languages&&Zr.languages[0]||Zr.userLanguage||Zr.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){Jr.prototype[e]=function(){return this.techGet_(e)}})),Yr.forEach((function(e){Jr.prototype["handleTech"+Qt(e)+"_"]=function(){return this.trigger(e)}})),ni.registerComponent("Player",Jr);var ea="plugin",ta={},ia=function(e){return ta.hasOwnProperty(e)},na=function(e){return ia(e)?ta[e]:void 0},ra=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},aa=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},sa=function(e,t){return t.prototype.name=e,function(){aa(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var l=j()(t,[this].concat(r));return this[e]=function(){return l},aa(this,l.getEventHash()),l}},oa=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),Yt(this),delete this.trigger,Xt(this,this.constructor.defaultState),ra(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}var t=e.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(e){return void 0===e&&(e={}),e.name=this.name,e.plugin=this.constructor,e.instance=this,e},t.trigger=function(e,t){return void 0===t&&(t={}),Ot(this.eventBusEl_,e,this.getEventHash(t))},t.handleStateChanged=function(e){},t.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=sa(e,ta[e])},e.isBasic=function(t){var p="string"==typeof t?na(t):t;return"function"==typeof p&&!e.prototype.isPrototypeOf(p.prototype)},e.registerPlugin=function(t,n){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+typeof t+".");if(ia(t))ee.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Jr.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+typeof n+".");return ta[t]=n,t!==ea&&(e.isBasic(n)?Jr.prototype[t]=function(e,t){var n=function(){aa(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return ra(this,e),aa(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(t,n):Jr.prototype[t]=sa(t,n)),n},e.deregisterPlugin=function(e){if(e===ea)throw new Error("Cannot de-register base plugin.");ia(e)&&(delete ta[e],delete Jr.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(ta)),e.forEach((function(e){var n=na(e);n&&((t=t||{})[e]=n)})),t},e.getPluginVersion=function(e){var t=na(e);return t&&t.VERSION||""},e}();oa.getPlugin=na,oa.BASE_PLUGIN_NAME=ea,oa.registerPlugin(ea,oa),Jr.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Jr.prototype.hasPlugin=function(e){return!!ia(e)};var la=function(e){return 0===e.indexOf("#")?e.slice(1):e};function ua(e,t,n){var r=ua.getPlayer(e);if(r)return t&&ee.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var o="string"==typeof e?lt("#"+la(e)):e;if(!Me(o))throw new TypeError("The element or ID supplied is not val
2id. (videojs)");o.ownerDocument.defaultView&&o.ownerDocument.body.contains(o)||ee.warn("The element supplied is not included in the DOM"),t=t||{},Y("beforesetup").forEach((function(e){var n=e(o,Jt(t));se(n)&&!Array.isArray(n)?t=Jt(t,n):ee.error("please return an object in beforesetup hooks")}));var l=ni.getComponent("Player");return r=new l(o,t,n),Y("setup").forEach((function(e){return e(r)})),r}if(ua.hooks_=V,ua.hooks=Y,ua.hook=function(e,t){Y(e,t)},ua.hookOnce=function(e,t){Y(e,[].concat(t).map((function(t){return function n(){return G(e,n),t.apply(void 0,arguments)}})))},ua.removeHook=G,!0!==l.a.VIDEOJS_NO_DYNAMIC_STYLE&&Le()){var style=lt(".vjs-styles-defaults");if(!style){style=vt("vjs-styles-defaults");var head=lt("head");head&&head.insertBefore(style,head.firstChild),yt(style,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}ft(1,ua),ua.VERSION=W,ua.options=Jr.prototype.options_,ua.getPlayers=function(){return Jr.players},ua.getPlayer=function(e){var t,n=Jr.players;if("string"==typeof e){var r=la(e),o=n[r];if(o)return o;t=lt("#"+r)}else t=e;if(Me(t)){var l=t,c=l.player,d=l.playerId;if(c||n[d])return c||n[d]}},ua.getAllPlayers=function(){return Object.keys(Jr.players).map((function(e){return Jr.players[e]})).filter(Boolean)},ua.players=Jr.players,ua.getComponent=ni.getComponent,ua.registerComponent=function(e,t){Vi.isTech(t)&&ee.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),ni.registerComponent.call(ni,e,t)},ua.getTech=Vi.getTech,ua.registerTech=Vi.registerTech,ua.use=function(e,t){qi[e]=qi[e]||[],qi[e].push(t)},Object.defineProperty(ua,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(ua.middleware,"TERMINATOR",{value:Gi,writeable:!1,enumerable:!0}),ua.browser=je,ua.TOUCH_ENABLED=xe,ua.extend=function(e,t){void 0===t&&(t={});var n=function(){e.apply(this,arguments)},r={};for(var o in"object"==typeof t?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),P()(n,e),e&&(n.super_=e),r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n},ua.mergeOptions=Jt,ua.bind=Dt,ua.registerPlugin=oa.registerPlugin,ua.deregisterPlugin=oa.deregisterPlugin,ua.plugin=function(e,t){return ee.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),oa.registerPlugin(e,t)},ua.getPlugins=oa.getPlugins,ua.getPlugin=oa.getPlugin,ua.getPluginVersion=oa.getPluginVersion,ua.addLanguage=function(code,data){var e;return code=(""+code).toLowerCase(),ua.options.languages=Jt(ua.options.languages,((e={})[code]=data,e)),ua.options.languages[code]},ua.log=ee,ua.createLogger=te,ua.createTimeRange=ua.createTimeRanges=si,ua.formatTime=Tn,ua.setFormatTime=function(e){_n=e},ua.resetFormatTime=function(){_n=bn},ua.parseUrl=Ii,ua.isCrossOrigin=Mi,ua.EventTarget=Rt,ua.on=Ct,ua.one=jt,ua.off=At,ua.trigger=Ot,ua.xhr=k.a,ua.TextTrack=Bi,ua.AudioTrack=Ui,ua.VideoTrack=Fi,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){ua[e]=function(){return ee.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),ct[e].apply(null,arguments)}})),ua.computedStyle=le,ua.dom=ct,ua.url=Di,ua.defineLazyProperty=Vr,ua.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var ca=L.a,da=function(e,t,n){return e&&n&&n.responseURL&&t!==n.responseURL?n.responseURL:t},ha=function(source){return ua.log.debug?ua.log.debug.bind(ua,"VHS:",source+" >"):function(){}},pa=1/30,fa=.1,ma=function(e,t){var i,n=[];if(e&&e.length)for(i=0;i<e.length;i++)t(e.start(i),e.end(i))&&n.push([e.start(i),e.end(i)]);return ua.createTimeRanges(n)},ga=function(e,time){return ma(e,(function(e,t){return e-fa<=time&&t+fa>=time}))},va=function(e,time){return ma(e,(function(e){return e-pa>=time}))},ya=function(e){var t=[];if(!e||!e.length)return"";for(var i=0;i<e.length;i++)t.push(e.start(i)+" => "+e.end(i));return t.join(", ")},ba=function(e){for(var t=[],i=0;i<e.length;i++)t.push({start:e.start(i),end:e.end(i)});return t}
vendor: 26,436 bytes, line 2
2,_a=function(a){if(a&&a.length&&a.end)return a.end(a.length-1)},Ta=function(e,t){var time=0;if(!e||!e.length)return time;for(var i=0;i<e.length;i++){var n=e.start(i),r=e.end(i);t>r||(time+=t>n&&t<=r?r-t:r-n)}return time},wa=ua.createTimeRange,Sa=function(e,t){if(!t.preload)return t.duration;var n=0;return(t.parts||[]).forEach((function(p){n+=p.duration})),(t.preloadHints||[]).forEach((function(p){"PART"===p.type&&(n+=e.partTargetDuration)})),n},Ea=function(e){return(e.segments||[]).reduce((function(e,t,n){return t.parts?t.parts.forEach((function(r,o){e.push({duration:r.duration,segmentIndex:n,partIndex:o,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e}),[])},xa=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},ka=function(e){var t=e.preloadSegment;if(t){var n=t.parts,r=(t.preloadHints||[]).reduce((function(e,t){return e+("PART"===t.type?1:0)}),0);return r+=n&&n.length?n.length:0}},Ca=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var n=xa(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},Aa=function(e,t,n){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;var r=function(e,t){var n=0,i=t-e.mediaSequence,r=e.segments[i];if(r){if(void 0!==r.start)return{result:r.start,precise:!0};if(void 0!==r.end)return{result:r.end-r.duration,precise:!0}}for(;i--;){if(void 0!==(r=e.segments[i]).end)return{result:n+r.end,precise:!0};if(n+=Sa(e,r),void 0!==r.start)return{result:n+r.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;var o=function(e,t){for(var n,r=0,i=t-e.mediaSequence;i<e.segments.length;i++){if(void 0!==(n=e.segments[i]).start)return{result:n.start-r,precise:!0};if(r+=Sa(e,n),void 0!==n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return o.precise?o.result:r.result+n},Oa=function(e,t,n){if(!e)return 0;if("number"!=typeof n&&(n=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return l.a.Infinity}return Aa(e,t,n)},ja=function(e){var t=e.defaultDuration,n=e.durationList,r=e.startIndex,o=e.endIndex,l=0;if(r>o){var c=[o,r];r=c[0],o=c[1]}if(r<0){for(var i=r;i<Math.min(0,o);i++)l+=t;r=0}for(var d=r;d<o;d++)l+=n[d].duration;return l},Ia=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return Oa(e);if(null===t)return null;t=t||0;var o=Aa(e,e.mediaSequence+e.segments.length,t);return n&&(o-=r="number"==typeof r?r:Ca(null,e)),Math.max(0,o)},Pa=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},La=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Ma=function(e){var t=Pa(e);return!e.disabled&&!t},Da=function(e,t){return t.attributes&&t.attributes[e]},Na=function(e,t){if(1===e.playlists.length)return!0;var n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((function(e){return!!Ma(e)&&(e.attributes.BANDWIDTH||0)<n})).length},Ra=function(a,b){return!(!a&&!b||!a&&b||a&&!b)&&(a===b||(!(!a.id||!b.id||a.id!==b.id)||(!(!a.resolvedUri||!b.resolvedUri||a.resolvedUri!==b.resolvedUri)||!(!a.uri||!b.uri||a.uri!==b.uri))))},Ba=function(e,t){var n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},r=!1;for(var o in n){for(var label in n[o])if(r=t(n[o][label]))break;if(r)break}return!!r},Ua=function(e){if(!e||!e.playlists||!e.playlists.length)return Ba(e,(function(e){return e.playlists&&e.playlists.length||e.uri}));for(var t=function(i){var t=e.playlists[i],n=t.attributes&&t.attributes.CODECS;return n&&n.split(",").every((function(e){return Object(D.f)(e)}))||Ba(e,(function(e){return Ra(t,e)}))?"continue":{v:!1}},i=0;i<e.playlists.length;i++){var n=t(i);if("continue"!==n&&"object"==typeof n)return n.v}return!0},Fa={liveEdgeDelay:Ca,duration:Oa,seekable:function(e,t,n){var r=t||0,o=Ia(e,t,!0,n);return null===o?wa():wa(r,o)},getMediaInfoForTime:function(e){for(var t=e.playlist,n=e.currentTime,r=e.startingSegmentIndex,o=e.startingPartIndex,l=e.startTime,c=e.experimentalExactManifestTimings,time=n-l,d=Ea(t),h=0,i=0;i<d.length;i++){var f=d[i];if(r===f.segmentIndex&&("number"!=typeof o||"number"!=typeof f.partIndex||o===f.partIndex)){h=i;break}}if(time<0){if(h>0)for(var m=h-1;m>=0;m--){var v=d[m];if(time+=v.duration,c){if(time<0)continue}else if(time+pa<=0)continue;return{partIndex:v.partIndex,segmentIndex:v.segmentIndex,startTime:l-ja({defaultDuration:t.targetDuration,durationList:d,startIndex:h,endIndex:m})}}return{partIndex:d[0]&&d[0].partIndex||null,segmentIndex:d[0]&&d[0].segmentIndex||0,startTime:n}}if(h<0){for(var y=h;y<0;y++)if((time-=t.targetDuration)<0)return{partIndex:d[0]&&d[0].partIndex||null,segmentIndex:d[0]&&d[0].segmentIndex||0,startTime:n};h=0}for(var _=h;_<d.length;_++){var T=d[_];if(time-=T.duration,c){if(time>0)continue}else if(time-pa>=0)continue;return{partIndex:T.partIndex,segmentIndex:T.segmentIndex,startTime:l+ja({defaultDuration:t.targetDuration,durationList:d,startIndex:h,endIndex:_})}}return{segmentIndex:d[d.length-1].segmentIndex,partIndex:d[d.length-1].partIndex,startTime:n}},isEnabled:Ma,isDisabled:function(e){return e.disabled},isBlacklisted:Pa,isIncompatible:La,playlistEnd:Ia,isAes:function(e){for(var i=0;i<e.segments.length;i++)if(e.segments[i].key)return!0;return!1},hasAttribute:Da,estimateSegmentRequestTime:function(e,t,n,r){return void 0===r&&(r=0),Da("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:Na,isAudioOnly:Ua,playlistMatch:Ra,segmentDurationWithParts:Sa},za=ua.log,$a=function(e,t){return e+"-"+t},Ha=function(e,t){e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(n){if(e.mediaGroups[n])for(var r in e.mediaGroups[n])for(var o in e.mediaGroups[n][r]){var l=e.mediaGroups[n][r][o];t(l,n,r,o)}}))},Wa=function(e){var t=e.playlist,n=e.uri,r=e.id;t.id=r,t.playlistErrors_=0,n&&(t.uri=n),t.attributes=t.attributes||{}},Va=function(e,t){e.uri=t;for(var i=0;i<e.playlists.length;i++)if(!e.playlists[i].uri){var n="placeholder-uri-"+i;e.playlists[i].uri=n}var r=Ua(e);Ha(e,(function(t,n,o,l){var c="placeholder-uri-"+n+"-"+o+"-"+l;if(!t.playlists||!t.playlists.length){if(r&&"AUDIO"===n&&!t.uri)for(var d=0;d<e.playlists.length;d++){var p=e.playlists[d];if(p.attributes&&p.attributes.AUDIO&&p.attributes.AUDIO===o)return}t.playlists=[f()({},t)]}t.playlists.forEach((function(p,i){var t=$a(i,c);p.uri?p.resolvedUri=p.resolvedUri||ca(e.uri,p.uri):(p.uri=0===i?c:t,p.resolvedUri=p.uri),p.id=p.id||t,p.attributes=p.attributes||{},e.playlists[p.id]=p,e.playlists[p.uri]=p}))})),function(e){for(var i=e.playlists.length;i--;){var t=e.playlists[i];Wa({playlist:t,id:$a(i,t.uri)}),t.resolvedUri=ca(e.uri,t.uri),e.playlists[t.id]=t,e.playlists[t.uri]=t,t.attributes.BANDWIDTH||za.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(e),function(e){Ha(e,(function(t){t.uri&&(t.resolvedUri=ca(e.uri,t.uri))}))}(e)},qa=ua.mergeOptions,Ya=ua.EventTarget,Ga=function(a,b){if(!a)return b;var e=qa(a,b);if(a.preloadHints&&!b.preloadHints&&delete e.preloadHints,a.parts&&!b.parts)delete e.parts;else if(a.parts&&b.parts)for(var i=0;i<b.parts.length;i++)a.parts&&a.parts[i]&&(e.parts[i]=qa(a.parts[i],b.parts[i]));return!a.skipped&&b.skipped&&(e.skipped=!1),a.preload&&!b.preload&&(e.preload=!1),e},Xa=function(e,t){!e.resolvedUri&&e.uri&&(e.resolvedUri=ca(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=ca(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=ca(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=ca(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((function(p){p.resolvedUri||(p.resolvedUri=ca(t,p.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((function(p){p.resolvedUri||(p.resolvedUri=ca(t,p.uri))}))},Ka=function(e){var t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(var i=0;i<n.preloadHints.length;i++)if("MAP"===n.preloadHints[i].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},Qa=function(a,b){return a===b||a.segments&&b.segments&&a.segments.length===b.segments.length&&a.endList===b.endList&&a.mediaSequence===b.mediaSequence&&a.preloadSegment===b.preloadSegment},Ja=function(e,t,n){void 0===n&&(n=Qa);var r=qa(e,{}),o=r.playlists[t.id];if(!o)return null;if(n(o,t))return null;t.segments=Ka(t);var l=qa(o,t);if(l.preloadSegment&&!t.preloadSegment&&delete l.preloadSegment,o.segments){if(t.skip){t.segments=t.segments||[];for(var i=0;i<t.skip.skippedSegments;i++)t.segments.unshift({skipped:!0})}l.segments=function(e,t,n){var r=e.slice(),o=t.slice();n=n||0;for(var l,c=[],d=0;d<o.length;d++){var h=r[d+n],f=o[d];h?(l=h.map||l,c.push(Ga(h,f))):(l&&!f.map&&(f.map=l),c.push(f))}return c}(o.segments,t.segments,t.mediaSequence-o.mediaSequence)}l.segments.forEach((function(e){Xa(e,l.resolvedUri)}));for(var c=0;c<r.playlists.length;c++)r.playlists[c].id===t.id&&(r.playlists[c]=l);return r.playlists[t.id]=l,r.playlists[t.uri]=l,Ha(e,(function(e,n,r,o){if(e.playlists)for(var l=0;l<e.playlists.length;l++)t.id===e.playlists[l].id&&(e.playlists[l]=t)})),r},Za=function(e,t){var n=e.segments||[],r=n[n.length-1],o=r&&r.parts&&r.parts[r.parts.length-1],l=o&&o.duration||r&&r.duration;return t&&l?1e3*l:500*(e.partTargetDuration||e.targetDuration||10)},es=function(e){function t(t,n,r){var o;if(void 0===r&&(r={}),o=e.call(this)||this,!t)throw new Error("A non-empty playlist URL or object is required");o.logger_=ha("PlaylistLoader");var l=r,c=l.withCredentials,d=void 0!==c&&c,h=l.handleManifestRedirects,f=void 0!==h&&h;o.src=t,o.vhs_=n,o.withCredentials=d,o.handleManifestRedirects=f;var m=n.options_;return o.customTagParsers=m&&m.customTagParsers||[],o.customTagMappers=m&&m.customTagMappers||[],o.experimentalLLHLS=m&&m.experimentalLLHLS||!1,ua.browser.IE_VERSION&&(o.experimentalLLHLS=!1),o.state="HAVE_NOTHING",o.handleMediaupdatetimeout_=o.handleMediaupdatetimeout_.bind(_()(o)),o.on("mediaupdatetimeout",o.handleMediaupdatetimeout_),o}w()(t,e);var n=t.prototype;return n.handleMediaupdatetimeout_=function(){var e=this;if("HAVE_METADATA"===this.state){var t=this.media(),n=ca(this.master.uri,t.uri);this.experimentalLLHLS&&(n=function(e,t){if(t.endList||!t.serverControl)return e;var n={};if(t.serverControl.canBlockReload){var r=t.preloadSegment,o=t.mediaSequence+t.segments.length;if(r){var c=r.parts||[],d=ka(t)-1;d>-1&&d!==c.length-1&&(n._HLS_part=d),(d>-1||c.length)&&o--}n._HLS_msn=o}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){var h=new l.a.URL(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&h.searchParams.set(e,n[e])})),e=h.toString()}return e}(n,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials},(function(t,n){if(e.request)return t?e.playlistRequestError(e.request,e.media(),"HAVE_METADATA"):void e.haveMetadata({playlistString:e.request.responseText,url:e.media().uri,id:e.media().id})}))}},n.playlistRequestError=function(e,t,n){var r=t.uri,o=t.id;this.request=null,n&&(this.state=n),this.error={playlist:this.master.playlists[o],status:e.status,message:"HLS playlist request error at URL: "+r+".",responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")},n.parseManifest_=function(e){var t=this,n=e.url;return function(e){var t=e.onwarn,n=e.oninfo,r=e.manifestString,o=e.customTagParsers,l=void 0===o?[]:o,c=e.customTagMappers,d=void 0===c?[]:c,h=e.experimentalLLHLS,f=new M.a;t&&f.on("warn",t),n&&f.on("info",n),l.forEach((function(e){return f.addParser(e)})),d.forEach((function(e){return f.addTagMapper(e)})),f.push(r),f.end();var m=f.manifest;if(h||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){m.hasOwnProperty(e)&&delete m[e]})),m.segments&&m.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!m.targetDuration){var v=10;m.segments&&m.segments.length&&(v=m.segments.reduce((function(e,s){return Math.max(e,s.duration)}),0)),t&&t("manifest has no targetDuration defaulting to "+v),m.targetDuration=v}var y=xa(m);if(y.length&&!m.partTargetDuration){var _=y.reduce((function(e,p){return Math.max(e,p.duration)}),0);t&&(t("manifest has no partTargetDuration defaulting to "+_),za.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),m.partTargetDuration=_}return m}({onwarn:function(e){var r=e.message;return t.logger_("m3u8-parser warn for "+n+": "+r)},oninfo:function(e){var r=e.message;return t.logger_("m3u8-parser info for "+n+": "+r)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},n.haveMetadata=function(e){var t=e.playlistString,n=e.playlistObject,r=e.url,o=e.id;this.request=null,this.state="HAVE_METADATA";var l=n||this.parseManifest_({url:r,manifestString:t});l.lastRequest=Date.now(),Wa({playlist:l,uri:r,id:o});var c=Ja(this.master,l);this.targetDuration=l.partTargetDuration||l.targetDuration,this.pendingMedia_=null,c?(this.master=c,this.media_=this.master.playlists[o]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Za(this.media(),!!c)),this.trigger("loadedplaylist")},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),l.a.clearTimeout(this.mediaUpdateTimeout),l.a.clearTimeout(this.finalRenditionTimeout),this.off()},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e,t){var n=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(l.a.clearTimeout(this.finalRenditionTimeout),t){var r=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=l.a.setTimeout(this.media.bind(this,e,!1),r)}else{var o=this.state,c=!this.media_||e.id!==this.media_.id,d=this.master.playlists[e.id];if(d&&d.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(c&&(this.trigger("mediachanging"),"HAVE_MASTER"===o?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(Za(e,!0)),c){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,r){if(n.request){if(e.lastRequest=Date.now(),e.resolvedUri=da(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,o);n.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===o?n.trigger("loadedmetadata"):n.trigger("mediachange")}}))}}},n.pause=function(){this.mediaUpdateTimeout&&(l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},n.load=function(e){var t=this;this.mediaUpdateTimeout&&(l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var n=this.media();if(e){var r=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=l.a.setTimeout((function(){t.mediaUpdateTimeout=null,t.load()}),r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},n.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=l.a.setTimeout((function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)}),e))},n.start=function(){var e=this;if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=l.a.location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){e.setupInitialPlaylist(e.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=da(e.handleManifestRedirects,e.src,n);var r=e.parseManifest_({manifestString:n.responseText,url:e.src});e.setupInitialPlaylist(r)}}))},n.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},n.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists)return this.master=e,Va(this.master,this.srcUri()),e.playlists.forEach((function(e){e.segments=Ka(e),e.segments.forEach((function(t){Xa(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var t=this.srcUri()||l.a.location.href;this.master=function(e,t){var n=$a(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:l.a.location.href,resolvedUri:l.a.location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r}(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(Ya),ts=ua.xhr,is=ua.mergeOptions,ns=function(e,t,n,r){var o="arraybuffer"===e.responseType?e.response:e.responseText;!t&&o&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=o.byteLength||o.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(o||e.responseText)))),r(t,e)},rs=function(){var e=function e(t,n){t=is({timeout:45e3},t);var r=e.beforeRequest||ua.Vhs.xhr.beforeRequest;if(r&&"function"==typeof r){var o=r(t);o&&(t=o)}var l=(!0===ua.Vhs.xhr.original?ts:ua.Vhs.xhr)(t,(function(e,t){return ns(l,e,t,n)})),c=l.abort;return l.abort=function(){return l.aborted=!0,c.apply(l,arguments)},l.uri=t.uri,l.requestTime=Date.now(),l};return e.original=!0,e},as=function(e){var t,n={};return e.byterange&&(n.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"==typeof t.offset||"bigint"==typeof t.length?l.a.BigInt(t.offset)+l.a.BigInt(t.length)-l.a.BigInt(1):t.offset+t.length-1)),n},ss=function(e,i){return e.start(i)+"-"+e.end(i)},os=function(e,i){var t=e.toString(16);return"00".substring(0,2-t.length)+t+(i%2?" ":"")},ls=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},us=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];ArrayBuffer.isView(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},cs=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},ds=function(e){return e.resolvedUri},hs=function(data){for(var e=Array.prototype.slice.call(data),t=16,n="",r=0;r<e.length/t;r++)n+=e.slice(r*t,r*t+t).map(os).join("")+" "+e.slice(r*t,r*t+t).map(ls).join("")+"\n";return n},ps=Object.freeze({__proto__:null,createTransferableMessage:us,initSegmentId:cs,segmentKeyId:ds,hexDump:hs,tagDump:function(e){var t=e.bytes;return hs(t)},textRanges:function(e){var i,t="";for(i=0;i<e.length;i++)t+=ss(e,i)+" ";return t}}),fs=function(e){var t=e.playlist,n=e.time,time=void 0===n?void 0:n,r=e.callback;if(!r)throw new Error("getProgramTime: callback must be provided");if(!t||void 0===time)return r({message:"getProgramTime: playlist and time must be provided"});var o=function(time,e){if(!e||!e.segments||0===e.segments.length)return null;for(var t,n=0,i=0;i<e.segments.length&&!(time<=(n=(t=e.segments[i]).videoTimingInfo?t.videoTimingInfo.transmuxedPresentationEnd:n+t.duration));i++);var r=e.segments[e.segments.length-1];if(r.videoTimingInfo&&r.videoTimingInfo.transmuxedPresentationEnd<time)return null;if(time>n){if(time>n+.25*r.duration)return null;t=r}return{segment:t,estimatedStart:t.videoTimingInfo?t.videoTimingInfo.transmuxedPresentationStart:n-t.duration,type:t.videoTimingInfo?"accurate":"estimate"}}(time,t);if(!o)return r({message:"valid programTime was not found"});if("estimate"===o.type)return r({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:o.estimatedStart});var l={mediaSeconds:time},c=function(e,t){if(!t.dateTimeObject)return null;var n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)}(time,o.segment);return c&&(l.programDateTime=c.toISOString()),r(null,l)},ms=function e(t){var n=t.programTime,r=t.playlist,o=t.retryCount,l=void 0===o?2:o,c=t.seekTo,d=t.pauseAfterSeek,h=void 0===d||d,f=t.tech,m=t.callback;if(!m)throw new Error("seekToProgramTime: callback must be provided");if(void 0===n||!r||!c)return m({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!f.hasStarted_)return m({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var i=0;i<e.segments.length;i++)if(!e.segments[i].dateTimeObject)return!1;return!0}(r))return m({message:"programDateTime tags must be provided in the manifest "+r.resolvedUri});var v=function(e,t){var n;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;var r=t.segments[0];if(n<r.dateTimeObject)return null;for(var i=0;i<t.segments.length-1&&(r=t.segments[i],!(n<t.segments[i+1].dateTimeObject));i++);var o,l=t.segments[t.segments.length-1],c=l.dateTimeObject,d=l.videoTimingInfo?(o=l.videoTimingInfo).transmuxedPresentationEnd-o.transmuxedPresentationStart-o.transmuxerPrependedSeconds:l.duration+.25*l.duration;return n>new Date(c.getTime()+1e3*d)?null:(n>c&&(r=l),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:Fa.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!v)return m({message:n+" was not found in the stream"});var y=v.segment,_=function(e,t){var n,r;try{n=new Date(e),r=new Date(t)}catch(e){}var o=n.getTime();return(r.getTime()-o)/1e3}(y.dateTimeObject,n);if("estimate"===v.type)return 0===l?m({message:n+" is not buffered yet. Try again"}):(c(v.estimatedStart+_),void f.one("seeked",(function(){e({programTime:n,playlist:r,retryCount:l-1,seekTo:c,pauseAfterSeek:h,tech:f,callback:m})})));var T=y.start+_;f.one("seeked",(function(){return m(null,f.currentTime())})),h&&f.pause(),c(T)},gs=function(e,t){if(4===e.readyState)return t()},vs=ua.EventTarget,ys=ua.mergeOptions,bs=function(a,b){if(!Qa(a,b))return!1;if(a.sidx&&b.sidx&&(a.sidx.offset!==b.sidx.offset||a.sidx.length!==b.sidx.length))return!1;if(!a.sidx&&b.sidx||a.sidx&&!b.sidx)return!1;if(a.segments&&!b.segments||!a.segments&&b.segments)return!1;if(!a.segments&&!b.segments)return!0;for(var i=0;i<a.segments.length;i++){var e=a.segments[i],t=b.segments[i];if(e.uri!==t.uri)return!1;if(e.byterange||t.byterange){var n=e.byterange,r=t.byterange;if(n&&!r||!n&&r)return!1;if(n.offset!==r.offset||n.length!==r.length)return!1}}return!0},_s=function(e,t){var a,b,n={};for(var r in e){var o=e[r].sidx;if(o){var l=Object(R.b)(o);if(!t[l])break;var c=t[l].sidxInfo;a=c,b=o,(Boolean(!a.map&&!b.map)||Boolean(a.map&&b.map&&a.map.byterange.offset===b.map.byterange.offset&&a.map.byterange.length===b.map.byterange.length))&&a.uri===b.uri&&a.byterange.offset===b.byterange.offset&&a.byterange.length===b.byterange.length&&(n[l]=t[l])}}return n},Ts=function(e){function t(t,n,r,o){var l;void 0===r&&(r={}),(l=e.call(this)||this).masterPlaylistLoader_=o||_()(l),o||(l.isMaster_=!0);var c=r,d=c.withCredentials,h=void 0!==d&&d,f=c.handleManifestRedirects,m=void 0!==f&&f;if(l.vhs_=n,l.withCredentials=h,l.handleManifestRedirects=m,!t)throw new Error("A non-empty playlist URL or object is required");return l.on("minimumUpdatePeriod",(function(){l.refreshXml_()})),l.on("mediaupdatetimeout",(function(){l.refreshMedia_(l.media().id)})),l.state="HAVE_NOTHING",l.loadedPlaylists_={},l.logger_=ha("DashPlaylistLoader"),l.isMaster_?(l.masterPlaylistLoader_.srcUrl=t,l.masterPlaylistLoader_.sidxMapping_={}):l.childPlaylist_=t,l}w()(t,e);var n=t.prototype;return n.requestErrored_=function(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!=typeof e||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)},n.addSidxSegments_=function(e,t,n){var r=this,o=e.sidx&&Object(R.b)(e.sidx);if(e.sidx&&o&&!this.masterPlaylistLoader_.sidxMapping_[o]){var c=da(this.handleManifestRedirects,e.sidx.resolvedUri),d=function(l,c){if(!r.requestErrored_(l,c,t)){var d,h=r.masterPlaylistLoader_.sidxMapping_;try{d=U()(Object($.j)(c.response).subarray(8))}catch(e){return void r.requestErrored_(e,c,t)}return h[o]={sidxInfo:e.sidx,sidx:d},Object(R.a)(e,d,e.sidx.resolvedUri),n(!0)}};this.request=function(e,t,n){var r,o=[],l=!1,c=function(e,t,r,o){return t.abort(),l=!0,n(e,t,r,o)},d=function(e,t){if(!l){if(e)return c(e,t,"",o);var n=t.responseText.substring(o&&o.byteLength||0,t.responseText.length);if(o=Object($.d)(o,Object($.g)(n,!0)),r=r||Object(F.a)(o),o.length<10||r&&o.length<r+2)return gs(t,(function(){return c(e,t,"",o)}));var d=Object(z.a)(o);return"ts"===d&&o.length<188||!d&&o.length<376?gs(t,(function(){return c(e,t,"",o)})):c(null,t,d,o)}},h={uri:e,beforeSend:function(e){e.overrideMimeType("text/plain;
2 charset=x-user-defined"),e.addEventListener("progress",(function(t){return t.total,t.loaded,ns(e,null,{statusCode:e.status},d)}))}},f=t(h,(function(e,t){return ns(f,e,t,d)}));return f}(c,this.vhs_.xhr,(function(t,n,o,l){if(t)return d(t,n);if(!o||"mp4"!==o)return d({status:n.status,message:"Unsupported "+(o||"unknown")+" container type for sidx segment at URL: "+c,response:"",playlist:e,internal:!0,blacklistDuration:1/0,code:2},n);var h=e.sidx.byterange,f=h.offset,m=h.length;if(l.length>=m+f)return d(t,{response:l.subarray(f,f+m),status:n.status,uri:n.uri});r.request=r.vhs_.xhr({uri:c,responseType:"arraybuffer",headers:as({byterange:e.sidx.byterange})},d)}))}else this.mediaRequest_=l.a.setTimeout((function(){return n(!1)}),0)},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},l.a.clearTimeout(this.minimumUpdatePeriodTimeout_),l.a.clearTimeout(this.mediaRequest_),l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},n.hasPendingRequest=function(){return this.request||this.mediaRequest_},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"==typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var r=!this.media_||e.id!==this.media_.id;if(r&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),this.trigger("mediachange")));r&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,n,(function(r){t.haveMetadata({startingState:n,playlist:e})})))},n.haveMetadata=function(e){var t=e.startingState,n=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},n.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(l.a.clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},n.load=function(e){var t=this;l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=l.a.setTimeout((function(){return t.load()}),r)}else this.started?n&&!n.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},n.start=function(){var e=this;this.started=!0,this.isMaster_?this.requestMaster_((function(t,n){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=l.a.setTimeout((function(){return e.haveMaster_()}),0)},n.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(n,r){if(!t.requestErrored_(n,r)){var o=r.responseText!==t.masterPlaylistLoader_.masterXml_;return t.masterPlaylistLoader_.masterXml_=r.responseText,r.responseHeaders&&r.responseHeaders.date?t.masterLoaded_=Date.parse(r.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=da(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,r),o?(t.handleMaster_(),void t.syncClientServerClock_((function(){return e(r,o)}))):e(r,o)}"HAVE_NOTHING"===t.state&&(t.started=!1)}))},n.syncClientServerClock_=function(e){var t=this,n=Object(R.d)(this.masterPlaylistLoader_.masterXml_);return null===n?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.masterPlaylistLoader_.clientOffset_=n.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:ca(this.masterPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},(function(r,o){if(t.request){if(r)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();var l;l="HEAD"===n.method?o.responseHeaders&&o.responseHeaders.date?Date.parse(o.responseHeaders.date):t.masterLoaded_:Date.parse(o.responseText),t.masterPlaylistLoader_.clientOffset_=l-Date.now(),e()}})))},n.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},n.handleMaster_=function(){this.mediaRequest_=null;var e,t,n,r,o,l,c,d=this.masterPlaylistLoader_.master,h=(e={masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:d},t=e.masterXml,n=e.srcUrl,r=e.clientOffset,o=e.sidxMapping,l=e.previousManifest,c=Object(R.c)(t,{manifestUri:n,clientOffset:r,sidxMapping:o,previousManifest:l}),Va(c,n),c);d&&(h=function(e,t,n){for(var r=!0,o=ys(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts}),i=0;i<t.playlists.length;i++){var l=t.playlists[i];if(l.sidx){var c=Object(R.b)(l.sidx);n&&n[c]&&n[c].sidx&&Object(R.a)(l,n[c].sidx,l.sidx.resolvedUri)}var d=Ja(o,l,bs);d&&(o=d,r=!1)}return Ha(t,(function(e,t,n,label){if(e.playlists&&e.playlists.length){var l=e.playlists[0].id,c=Ja(o,e.playlists[0],bs);c&&((o=c).mediaGroups[t][n][label].playlists[0]=o.playlists[l],r=!1)}})),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:o}(d,h,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=h||d;var f=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return f&&f!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=f),(!d||h&&h.minimumUpdatePeriod!==d.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(h)},n.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(l.a.clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;
vendor: 13,041 bytes, line 2
20===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_("found invalid minimumUpdatePeriod of "+t+", not setting a timeout"):this.createMUPTimeout_(t)},n.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=l.a.setTimeout((function(){t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)},n.refreshXml_=function(){var e=this;this.requestMaster_((function(t,n){var r,o,l;n&&(e.media_&&(e.media_=e.masterPlaylistLoader_.master.playlists[e.media_.id]),e.masterPlaylistLoader_.sidxMapping_=(r=e.masterPlaylistLoader_.master,o=e.masterPlaylistLoader_.sidxMapping_,l=_s(r.playlists,o),Ha(r,(function(e,t,n,r){if(e.playlists&&e.playlists.length){var c=e.playlists;l=ys(l,_s(c,o))}})),l),e.addSidxSegments_(e.media(),e.state,(function(t){e.refreshMedia_(e.media().id)})))}))},n.refreshMedia_=function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var n=this.masterPlaylistLoader_.master.playlists,r=!this.media_||this.media_!==n[e];if(r?this.media_=n[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function e(){t.media().endList||(t.mediaUpdateTimeout=l.a.setTimeout((function(){t.trigger("mediaupdatetimeout"),e()}),Za(t.media(),Boolean(r))))}()}this.trigger("loadedplaylist")},t}(vs),ws={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},Ss=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},Es=function(code){return function(){var e=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(n){var t=new BlobBuilder;return t.append(e),URL.createObjectURL(t.getBlob())}}(code),t=Ss(new Worker(e));t.objURL=e;var n=t.terminate;return t.on=t.addEventListener,t.off=t.removeEventListener,t.terminate=function(){return URL.revokeObjectURL(e),n.call(this)},t}},xs=function(code){return"var browserWorkerPolyFill = "+Ss.toString()+";\nbrowserWorkerPolyFill(self);\n"+code},ks=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},Cs=xs(ks((function(){var t=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,i,r,o;if(n=e[t])if(2===arguments.length)for(r=n.length,i=0;i<r;++i)n[i].call(this,arguments[1]);else{for(o=[],i=arguments.length,i=1;i<arguments.length;++i)o.push(arguments[i]);for(r=n.length,i=0;i<r;++i)n[i].apply(this,o)}},this.dispose=function(){e={}}}};t.prototype.pipe=function(e){return this.on("data",(function(data){e.push(data)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},t.prototype.push=function(data){this.trigger("data",data)},t.prototype.flush=function(e){this.trigger("done",e)},t.prototype.partialFlush=function(e){this.trigger("partialdone",e)},t.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},t.prototype.reset=function(e){this.trigger("reset",e)};var n,r,o,l,c,d,h,f,m,v,y,_,T,w,S,E,x,k,C,A,O,j,I,P,L,M,D,N,R,B,U,F,z,$,H,W,V,Y,G,X,K=t,Q=Math.pow(2,32),J={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*Q+n.getUint32(4)},MAX_UINT32:Q},Z=J.MAX_UINT32;!function(){var i;if(j={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(i in j)j.hasOwnProperty(i)&&(j[i]=[i.charCodeAt(0),i.charCodeAt(1),i.charCodeAt(2),i.charCodeAt(3)]);I=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),L=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),P=new Uint8Array([0,0,0,1]),M=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]),D=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]),N={video:M,audio:D},U=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),B=new Uint8Array([0,0,0,0,0,0,0,0]),F=new Uint8Array([0,0,0,0,0,0,0,0]),z=F,$=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),H=F,R=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),n=function(e){var i,t,n=[],r=0;for(i=1;i<arguments.length;i++)n.push(arguments[i]);for(i=n.length;i--;)r+=n[i].byteLength;for(t=new Uint8Array(r+8),new DataView(t.buffer,t.byteOffset,t.byteLength).setUint32(0,t.byteLength),t.set(e,4),i=0,r=8;i<n.length;i++)t.set(n[i],r),r+=n[i].byteLength;return t},r=function(){return n(j.dinf,n(j.dref,U))},o=function(track){return n(j.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,track.audioobjecttype<<3|track.samplingfrequencyindex>>>1,track.samplingfrequencyindex<<7|track.channelcount<<3,6,1,2]))},S=function(e){return n(j.hdlr,N[e])},w=function(track){var e=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,track.duration>>>24&255,track.duration>>>16&255,track.duration>>>8&255,255&track.duration,85,196,0,0]);return track.samplerate&&(e[12]=track.samplerate>>>24&255,e[13]=track.samplerate>>>16&255,e[14]=track.samplerate>>>8&255,e[15]=255&track.samplerate),n(j.mdhd,e)},T=function(track){return n(j.mdia,w(track),S(track.type),d(track))},c=function(e){return n(j.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},d=function(track){return n(j.minf,"video"===track.type?n(j.vmhd,R):n(j.smhd,B),r(),x(track))},h=function(e,t){for(var r=[],i=t.length;i--;)r[i]=C(t[i]);return n.apply(null,[j.moof,c(e)].concat(r))},f=function(e){for(var i=e.length,t=[];i--;)t[i]=y(e[i]);return n.apply(null,[j.moov,v(4294967295)].concat(t).concat(m(e)))},m=function(e){for(var i=e.length,t=[];i--;)t[i]=A(e[i]);return n.apply(null,[j.mvex].concat(t))},v=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,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 n(j.mvhd,t)},E=function(track){var e,i,t=track.samples||[],r=new Uint8Array(4+t.length);for(i=0;i<t.length;i++)e=t[i].flags,r[i+4]=e.dependsOn<<4|e.isDependedOn<<2|e.hasRedundancy;return n(j.sdtp,r)},x=function(track){return n(j.stbl,k(track),n(j.stts,H),n(j.stsc,z),n(j.stsz,$),n(j.stco,F))},k=function(track){return n(j.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===track.type?W(track):V(track))},W=function(track){var i,e,t=track.sps||[],r=track.pps||[],o=[],l=[];for(i=0;i<t.length;i++)o.push((65280&t[i].byteLength)>>>8),o.push(255&t[i].byteLength),o=o.concat(Array.prototype.slice.call(t[i]));for(i=0;i<r.length;i++)l.push((65280&r[i].byteLength)>>>8),l.push(255&r[i].byteLength),l=l.concat(Array.prototype.slice.call(r[i]));if(e=[j.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,(65280&track.width)>>8,255&track.width,(65280&track.height)>>8,255&track.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),n(j.avcC,new Uint8Array([1,track.profileIdc,track.profileCompatibility,track.levelIdc,255].concat([t.length],o,[r.length],l))),n(j.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],track.sarRatio){var c=track.sarRatio[0],d=track.sarRatio[1];e.push(n(j.pasp,new Uint8Array([(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c,(4278190080&d)>>24,(16711680&d)>>16,(65280&d)>>8,255&d])))}return n.apply(null,e)},V=function(track){return n(j.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&track.channelcount)>>8,255&track.channelcount,(65280&track.samplesize)>>8,255&track.samplesize,0,0,0,0,(65280&track.samplerate)>>8,255&track.samplerate,0,0]),o(track))},_=function(track){var e=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,0,(4278190080&track.duration)>>24,(16711680&track.duration)>>16,(65280&track.duration)>>8,255&track.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,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,(65280&track.width)>>8,255&track.width,0,0,(65280&track.height)>>8,255&track.height,0,0]);return n(j.tkhd,e)},C=function(track){var e,t,r,o,l,c;return e=n(j.tfhd,new Uint8Array([0,0,0,58,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),l=Math.floor(track.baseMediaDecodeTime/Z),c=Math.floor(track.baseMediaDecodeTime%Z),t=n(j.tfdt,new Uint8Array([1,0,0,0,l>>>24&255,l>>>16&255,l>>>8&255,255&l,c>>>24&255,c>>>16&255,c>>>8&255,255&c])),92,"audio"===track.type?(r=O(track,92),n(j.traf,e,t,r)):(o=E(track),r=O(track,o.length+92),n(j.traf,e,t,r,o))},y=function(track){return track.duration=track.duration||4294967295,n(j.trak,_(track),T(track))},A=function(track){var e=new Uint8Array([0,0,0,0,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==track.type&&(e[e.length-1]=0),n(j.trex,e)},X=function(e,t){var n=0,r=0,o=0,l=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(o=4),void 0!==e[0].compositionTimeOffset&&(l=8)),[0,0,n|r|o|l,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},G=function(track,e){var t,r,header,o,l,i;for(e+=20+16*(o=track.samples||[]).length,header=X(o,e),(r=new Uint8Array(header.length+16*o.length)).set(header),t=header.length,i=0;i<o.length;i++)l=o[i],r[t++]=(4278190080&l.duration)>>>24,r[t++]=(16711680&l.duration)>>>16,r[t++]=(65280&l.duration)>>>8,r[t++]=255&l.duration,r[t++]=(4278190080&l.size)>>>24,r[t++]=(16711680&l.size)>>>16,r[t++]=(65280&l.size)>>>8,r[t++]=255&l.size,r[t++]=l.flags.isLeading<<2|l.flags.dependsOn,r[t++]=l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample,r[t++]=61440&l.flags.degradationPriority,r[t++]=15&l.flags.degradationPriority,r[t++]=(4278190080&l.compositionTimeOffset)>>>24,r[t++]=(16711680&l.compositionTimeOffset)>>>16,r[t++]=(65280&l.compositionTimeOffset)>>>8,r[t++]=255&l.compositionTimeOffset;return n(j.trun,r)},Y=function(track,e){var t,r,header,o,l,i;for(e+=20+8*(o=track.samples||[]).length,header=X(o,e),(t=new Uint8Array(header.length+8*o.length)).set(header),r=header.length,i=0;i<o.length;i++)l=o[i],t[r++]=(4278190080&l.duration)>>>24,t[r++]=(16711680&l.duration)>>>16,t[r++]=(65280&l.duration)>>>8,t[r++]=255&l.duration,t[r++]=(4278190080&l.size)>>>24,t[r++]=(16711680&l.size)>>>16,t[r++]=(65280&l.size)>>>8,t[r++]=255&l.size;return n(j.trun,t)},O=function(track,e){return"audio"===track.type?Y(track,e):G(track,e)};l=function(){return n(j.ftyp,I,P,I,L)};var ee,te,ie,ne,re,ae,se,oe,le=function(data){return n(j.mdat,data)},ue=h,ce=function(e){var t,n=l(),r=f(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t},de=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},he=function(e){var i,t,n=[],r=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,n.byteLength=0,i=0;i<e.length;i++)"access_unit_delimiter_rbsp"===(t=e[i]).nalUnitType?(n.length&&(n.duration=t.dts-n.dts,r.byteLength+=n.byteLength,r.nalCount+=n.length,r.duration+=n.duration,r.push(n)),(n=[t]).byteLength=t.data.byteLength,n.pts=t.pts,n.dts=t.dts):("slice_layer_without_partitioning_rbsp_idr"===t.nalUnitType&&(n.keyFrame=!0),n.duration=t.dts-n.dts,n.byteLength+=t.data.byteLength,n.push(t));return r.length&&(!n.duration||n.duration<=0)&&(n.duration=r[r.length-1].duration),r.byteLength+=n.byteLength,r.nalCount+=n.length,r.duration+=n.duration,r.push(n),r},pe=function(e){var i,t,n=[],r=[];for(n.byteLength=0,n.nalCount=0,n.duration=0,n.pts=e[0].pts,n.dts=e[0].dts,r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,i=0;i<e.length;
vendor: 10,594 bytes, line 2
2i++)(t=e[i]).keyFrame?(n.length&&(r.push(n),r.byteLength+=n.byteLength,r.nalCount+=n.nalCount,r.duration+=n.duration),(n=[t]).nalCount=t.length,n.byteLength=t.byteLength,n.pts=t.pts,n.dts=t.dts,n.duration=t.duration):(n.duration+=t.duration,n.nalCount+=t.length,n.byteLength+=t.byteLength,n.push(t));return r.length&&n.duration<=0&&(n.duration=r[r.length-1].duration),r.byteLength+=n.byteLength,r.nalCount+=n.nalCount,r.duration+=n.duration,r.push(n),r},fe=function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},me=function(e,t){var n,i,r,o,l,c=t||0,d=[];for(n=0;n<e.length;n++)for(o=e[n],i=0;i<o.length;i++)l=o[i],c+=(r=de(l,c)).size,d.push(r);return d},ge=function(e){var t,i,n,r,o,l,c=0,d=e.byteLength,h=e.nalCount,data=new Uint8Array(d+4*h),view=new DataView(data.buffer);for(t=0;t<e.length;t++)for(r=e[t],i=0;i<r.length;i++)for(o=r[i],n=0;n<o.length;n++)l=o[n],view.setUint32(c,l.data.byteLength),c+=4,data.set(l.data,c),c+=l.data.byteLength;return data},ve=[33,16,5,32,164,27],ye=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],be=function(e){for(var a=[];e--;)a.push(0);return a},_e=function(){if(!ee){var e={96e3:[ve,[227,64],be(154),[56]],88200:[ve,[231],be(170),[56]],64e3:[ve,[248,192],be(240),[56]],48e3:[ve,[255,192],be(268),[55,148,128],be(54),[112]],44100:[ve,[255,192],be(268),[55,163,128],be(84),[112]],32e3:[ve,[255,192],be(268),[55,234],be(226),[112]],24e3:[ve,[255,192],be(268),[55,255,128],be(268),[111,112],be(126),[224]],16e3:[ve,[255,192],be(268),[55,255,128],be(268),[111,255],be(269),[223,108],be(195),[1,192]],12e3:[ye,be(268),[3,127,248],be(268),[6,255,240],be(268),[13,255,224],be(268),[27,253,128],be(259),[56]],11025:[ye,be(268),[3,127,248],be(268),[6,255,240],be(268),[13,255,224],be(268),[27,255,192],be(268),[55,175,128],be(108),[112]],8e3:[ye,be(268),[3,121,16],be(47),[7]]};t=e,ee=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return ee},Te=9e4;ae=function(e,t){return te(re(e,t))},se=function(e,t){return ie(ne(e),t)},oe=function(e,t,n){return ne(n?e:e-t)};var we=Te,Se=te=function(e){return e*Te},Ee=(ie=function(e,t){return e*t},ne=function(e){return e/Te}),xe=(re=function(e,t){return e/t},ae),ke=se,Ce=oe,Ae=function(track,e,t,n){var r,o,l,i,c,d=0,h=0,f=0;if(e.length&&(r=xe(track.baseMediaDecodeTime,track.samplerate),o=Math.ceil(we/(track.samplerate/1024)),t&&n&&(d=r-Math.max(t,n),f=(h=Math.floor(d/o))*o),!(h<1||f>we/2))){for((l=_e()[track.samplerate])||(l=e[0].data),i=0;i<h;i++)c=e[0],e.splice(0,0,{data:l,dts:c.dts-o,pts:c.pts-o});return track.baseMediaDecodeTime-=Math.floor(ke(f,track.samplerate)),f}},Oe=function(e,track,t){return track.minSegmentDts>=t?e:(track.minSegmentDts=1/0,e.filter((function(e){return e.dts>=t&&(track.minSegmentDts=Math.min(track.minSegmentDts,e.dts),track.minSegmentPts=track.minSegmentDts,!0)})))},je=function(e){var i,t,n=[];for(i=0;i<e.length;i++)t=e[i],n.push({size:t.data.byteLength,duration:1024});return n},Ie=function(e){var i,t,n=0,data=new Uint8Array(function(e){var i,t=0;for(i=0;i<e.length;i++)t+=e[i].data.byteLength;return t}(e));for(i=0;i<e.length;i++)t=e[i],data.set(t.data,n),n+=t.data.byteLength;return data},Pe=we,Le=function(track){delete track.minSegmentDts,delete track.maxSegmentDts,delete track.minSegmentPts,delete track.maxSegmentPts},Me=function(track,e){var t,n=track.minSegmentDts;return e||(n-=track.timelineStartInfo.dts),t=track.timelineStartInfo.baseMediaDecodeTime,t+=n,t=Math.max(0,t),"audio"===track.type&&(t*=track.samplerate/Pe,t=Math.floor(t)),t},De=function(track,data){"number"==typeof data.pts&&(void 0===track.timelineStartInfo.pts&&(track.timelineStartInfo.pts=data.pts),void 0===track.minSegmentPts?track.minSegmentPts=data.pts:track.minSegmentPts=Math.min(track.minSegmentPts,data.pts),void 0===track.maxSegmentPts?track.maxSegmentPts=data.pts:track.maxSegmentPts=Math.max(track.maxSegmentPts,data.pts)),"number"==typeof data.dts&&(void 0===track.timelineStartInfo.dts&&(track.timelineStartInfo.dts=data.dts),void 0===track.minSegmentDts?track.minSegmentDts=data.dts:track.minSegmentDts=Math.min(track.minSegmentDts,data.dts),void 0===track.maxSegmentDts?track.maxSegmentDts=data.dts:track.maxSegmentDts=Math.max(track.maxSegmentDts,data.dts))},Ne=function(e){for(var i=0,t={payloadType:-1,payloadSize:0},n=0,r=0;i<e.byteLength&&128!==e[i];){for(;255===e[i];)n+=255,i++;for(n+=e[i++];255===e[i];)r+=255,i++;if(r+=e[i++],!t.payload&&4===n){if("GA94"===String.fromCharCode(e[i+3],e[i+4],e[i+5],e[i+6])){t.payloadType=n,t.payloadSize=r,t.payload=e.subarray(i,i+r);break}t.payload=void 0}i+=r,n=0,r=0}return t},Re=function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Be=function(e,t){var i,n,r,data,o=[];if(!(64&t[0]))return o;for(n=31&t[0],i=0;i<n;i++)data={type:3&t[(r=3*i)+2],pts:e},4&t[r+2]&&(data.ccData=t[r+3]<<8|t[r+4],o.push(data));return o},Ue=function(data){for(var e,t,n=data.byteLength,r=[],i=1;i<n-2;)0===data[i]&&0===data[i+1]&&3===data[i+2]?(r.push(i+2),i+=2):i++;if(0===r.length)return data;e=n-r.length,t=new Uint8Array(e);var o=0;for(i=0;i<e;o++,i++)o===r[0]&&(o++,r.shift()),t[i]=data[o];return t},Fe=4,ze=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_="boolean"!=typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Qe(0,0),new Qe(0,1),new Qe(1,0),new Qe(1,1)],this.parse708captions_&&(this.cc708Stream_=new qe({captionServices:t.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(ze.prototype=new K).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Ne(e.escapedRBSP)).payload&&t.payloadType===Fe&&(n=Re(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=Be(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},ze.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},ze.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(a,b){return a.pts===b.pts?a.presortIndex-b.presortIndex:a.pts-b.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},ze.prototype.flush=function(){return this.flushStream("flush")},ze.prototype.partialFlush=function(){return this.flushStream("partialFlush")},ze.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},ze.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},ze.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},ze.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},ze.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},ze.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var $e={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},He=function(b){return 32<=b&&b<=127||160<=b&&b<=255},We=function(e){this.windowNum=e,this.reset()};We.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},We.prototype.getText=function(){return this.rows.join("\n")},We.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},We.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},We.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},We.prototype.addText=function(text){this.rows[this.rowIdx]+=text},We.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var Ve=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new We(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};Ve.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new We(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},Ve.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},Ve.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var qe=function e(t){t=t||{},e.prototype.init.call(this);var n,r=this,o=t.captionServices||{},l={};
vendor: 10,193 bytes, line 2
2Object.keys(o).forEach((function(e){n=o[e],/^SERVICE/.test(e)&&(l[e]=n.encoding)})),this.serviceEncodings=l,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(r.new708Packet(),r.add708Bytes(e)):(null===r.current708Packet&&r.new708Packet(),r.add708Bytes(e))}};qe.prototype=new K,qe.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},qe.prototype.add708Bytes=function(e){var data=e.ccData,t=data>>>8,n=255&data;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(t),this.current708Packet.data.push(n)},qe.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,i=0,b=t[i++];for(e.seq=b>>6,e.sizeCode=63&b;i<t.length;i++)r=31&(b=t[i++]),7===(n=b>>5)&&r>0&&(n=b=t[i++]),this.pushServiceBlock(n,i,r),r>0&&(i+=r-1)},qe.prototype.pushServiceBlock=function(e,t,n){var b,i=t,r=this.current708Packet.data,o=this.services[e];for(o||(o=this.initService(e,i));i<t+n&&i<r.length;i++)b=r[i],He(b)?i=this.handleText(i,o):24===b?i=this.multiByteCharacter(i,o):16===b?i=this.extendedCommands(i,o):128<=b&&b<=135?i=this.setCurrentWindow(i,o):152<=b&&b<=159?i=this.defineWindow(i,o):136===b?i=this.clearWindows(i,o):140===b?i=this.deleteWindows(i,o):137===b?i=this.displayWindows(i,o):138===b?i=this.hideWindows(i,o):139===b?i=this.toggleWindows(i,o):151===b?i=this.setWindowAttributes(i,o):144===b?i=this.setPenAttributes(i,o):145===b?i=this.setPenColor(i,o):146===b?i=this.setPenLocation(i,o):143===b?o=this.reset(i,o):8===b?o.currentWindow.backspace():12===b?o.currentWindow.clearText():13===b?o.currentWindow.pendingNewLine=!0:14===b?o.currentWindow.clearText():141===b&&i++},qe.prototype.extendedCommands=function(i,e){var b=this.current708Packet.data[++i];return He(b)&&(i=this.handleText(i,e,{isExtended:!0})),i},qe.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},qe.prototype.initService=function(e,i){var t,n,r=this;return(t="SERVICE"+e)in this.serviceEncodings&&(n=this.serviceEncodings[t]),this.services[e]=new Ve(e,n,r),this.services[e].init(this.getPts(i),(function(t){r.flushDisplayed(t,r.services[e])})),this.services[e]},qe.prototype.handleText=function(i,e,t){var n,r,code,o,l=t&&t.isExtended,c=t&&t.isMultiByte,d=this.current708Packet.data,h=l?4096:0,f=d[i],m=d[i+1],v=e.currentWindow;return e.textDecoder_&&!l?(c?(r=[f,m],i++):r=[f],n=e.textDecoder_.decode(new Uint8Array(r))):(o=$e[code=h|f]||code,n=4096&code&&code===o?"":String.fromCharCode(o)),v.pendingNewLine&&!v.isEmpty()&&v.newLine(this.getPts(i)),v.pendingNewLine=!1,v.addText(n),i},qe.prototype.multiByteCharacter=function(i,e){var t=this.current708Packet.data,n=t[i+1],r=t[i+2];return He(n)&&He(r)&&(i=this.handleText(++i,e,{isMultiByte:!0})),i},qe.prototype.setCurrentWindow=function(i,e){var t=7&this.current708Packet.data[i];return e.setCurrentWindow(t),i},qe.prototype.defineWindow=function(i,e){var t=this.current708Packet.data,b=t[i],n=7&b;e.setCurrentWindow(n);var r=e.currentWindow;return b=t[++i],r.visible=(32&b)>>5,r.rowLock=(16&b)>>4,r.columnLock=(8&b)>>3,r.priority=7&b,b=t[++i],r.relativePositioning=(128&b)>>7,r.anchorVertical=127&b,b=t[++i],r.anchorHorizontal=b,b=t[++i],r.anchorPoint=(240&b)>>4,r.rowCount=15&b,b=t[++i],r.columnCount=63&b,b=t[++i],r.windowStyle=(56&b)>>3,r.penStyle=7&b,r.virtualRowCount=r.rowCount+1,i},qe.prototype.setWindowAttributes=function(i,e){var t=this.current708Packet.data,b=t[i],n=e.currentWindow.winAttr;return b=t[++i],n.fillOpacity=(192&b)>>6,n.fillRed=(48&b)>>4,n.fillGreen=(12&b)>>2,n.fillBlue=3&b,b=t[++i],n.borderType=(192&b)>>6,n.borderRed=(48&b)>>4,n.borderGreen=(12&b)>>2,n.borderBlue=3&b,b=t[++i],n.borderType+=(128&b)>>5,n.wordWrap=(64&b)>>6,n.printDirection=(48&b)>>4,n.scrollDirection=(12&b)>>2,n.justify=3&b,b=t[++i],n.effectSpeed=(240&b)>>4,n.effectDirection=(12&b)>>2,n.displayEffect=3&b,i},qe.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},qe.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},qe.prototype.displayWindows=function(i,e){var b=this.current708Packet.data[++i],t=this.getPts(i);this.flushDisplayed(t,e);for(var n=0;n<8;n++)b&1<<n&&(e.windows[n].visible=1);return i},qe.prototype.hideWindows=function(i,e){var b=this.current708Packet.data[++i],t=this.getPts(i);this.flushDisplayed(t,e);for(var n=0;n<8;n++)b&1<<n&&(e.windows[n].visible=0);return i},qe.prototype.toggleWindows=function(i,e){var b=this.current708Packet.data[++i],t=this.getPts(i);this.flushDisplayed(t,e);for(var n=0;n<8;n++)b&1<<n&&(e.windows[n].visible^=1);return i},qe.prototype.clearWindows=function(i,e){var b=this.current708Packet.data[++i],t=this.getPts(i);this.flushDisplayed(t,e);for(var n=0;n<8;n++)b&1<<n&&e.windows[n].clearText();return i},qe.prototype.deleteWindows=function(i,e){var b=this.current708Packet.data[++i],t=this.getPts(i);this.flushDisplayed(t,e);for(var n=0;n<8;n++)b&1<<n&&e.windows[n].reset();return i},qe.prototype.setPenAttributes=function(i,e){var t=this.current708Packet.data,b=t[i],n=e.currentWindow.penAttr;return b=t[++i],n.textTag=(240&b)>>4,n.offset=(12&b)>>2,n.penSize=3&b,b=t[++i],n.italics=(128&b)>>7,n.underline=(64&b)>>6,n.edgeType=(56&b)>>3,n.fontStyle=7&b,i},qe.prototype.setPenColor=function(i,e){var t=this.current708Packet.data,b=t[i],n=e.currentWindow.penColor;return b=t[++i],n.fgOpacity=(192&b)>>6,n.fgRed=(48&b)>>4,n.fgGreen=(12&b)>>2,n.fgBlue=3&b,b=t[++i],n.bgOpacity=(192&b)>>6,n.bgRed=(48&b)>>4,n.bgGreen=(12&b)>>2,n.bgBlue=3&b,b=t[++i],n.edgeRed=(48&b)>>4,n.edgeGreen=(12&b)>>2,n.edgeBlue=3&b,i},qe.prototype.setPenLocation=function(i,e){var t=this.current708Packet.data,b=t[i],n=e.currentWindow.penLoc;return e.currentWindow.pendingNewLine=!0,b=t[++i],n.row=15&b,b=t[++i],n.column=63&b,i},qe.prototype.reset=function(i,e){var t=this.getPts(i);return this.flushDisplayed(t,e),this.initService(e.serviceNum,i)};var Ye={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Ge=function(code){return null===code?"":(code=Ye[code]||code,String.fromCharCode(code))},Xe=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Ke=function(){for(var e=[],i=15;i--;)e.push("");return e},Qe=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var data,t,n,r,text;if((data=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&data)?this.lastControlCode_=data:data!==this.PADDING_&&(this.lastControlCode_=null),n=data>>>8,r=255&data,data!==this.PADDING_)if(data===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(data===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),t=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=t,this.startPts_=e.pts;else if(data===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(data===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(data===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(data===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(data===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(data===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Ke();else if(data===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Ke();else if(data===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Ke()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(n,r))text=Ge((n=(3&n)<<8)|r),this[this.mode_](e.pts,text),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),text=Ge((n=(3&n)<<8)|r),this[this.mode_](e.pts,text),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&r)&&this.addFormatting(e.pts,["i"]),1==(1&r)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var o=Xe.indexOf(7968&data);"rollUp"===this.mode_&&(o-this.rollUpRows_+1<0&&(o=this.rollUpRows_-1),this.setRollUp(e.pts,o)),o!==this.row_&&(this.clearFormatting(e.pts),this.row_=o),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&data)&&(this.column_=4*((14&data)>>1)),this.isColorPAC(r)&&14==(14&r)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),text=Ge(n),text+=Ge(r),this[this.mode_](e.pts,text),this.column_+=text.length)}else this.lastControlCode_=null}};Qe.prototype=new K,Qe.prototype.flushDisplayed=function(e){var content=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");content.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:content,stream
vendor: 7,736 bytes, line 2
2:this.name_})},Qe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Ke(),this.nonDisplayed_=Ke(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Qe.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Qe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Qe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Qe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Qe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Qe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Qe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Qe.prototype.isNormalChar=function(e){return e>=32&&e<=127},Qe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Ke(),this.displayed_=Ke()),void 0!==t&&t!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[t-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Qe.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var text=t.reduce((function(text,e){return text+"<"+e+">"}),"");this[this.mode_](e,text)},Qe.prototype.clearFormatting=function(e){if(this.formatting_.length){var text=this.formatting_.reverse().reduce((function(text,e){return text+"</"+e+">"}),"");this.formatting_=[],this[this.mode_](e,text)}},Qe.prototype.popOn=function(e,text){var t=this.nonDisplayed_[this.row_];t+=text,this.nonDisplayed_[this.row_]=t},Qe.prototype.rollUp=function(e,text){var t=this.displayed_[this.row_];t+=text,this.displayed_[this.row_]=t},Qe.prototype.shiftRowsUp_=function(){var i;for(i=0;i<this.topRow_;i++)this.displayed_[i]="";for(i=this.row_+1;i<15;i++)this.displayed_[i]="";for(i=this.topRow_;i<this.row_;i++)this.displayed_[i]=this.displayed_[i+1];this.displayed_[this.row_]=""},Qe.prototype.paintOn=function(e,text){var t=this.displayed_[this.row_];t+=text,this.displayed_[this.row_]=t};var Je={CaptionStream:ze,Cea608Stream:Qe,Cea708Stream:qe},Ze={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},et="shared",tt=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},it=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||et,this.push=function(data){this.type_!==et&&data.type!==this.type_||(void 0===r&&(r=data.dts),data.dts=tt(data.dts,r),data.pts=tt(data.pts,r),n=data.dts,this.trigger("data",data))},this.flush=function(){r=n,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){r=void 0,n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};it.prototype=new K;var nt,at=it,st=tt,ot=function(e,t,n){var i,r="";for(i=t;i<n;i++)r+="%"+("00"+e[i].toString(16)).slice(-2);return r},lt=function(e,t,n){return decodeURIComponent(ot(e,t,n))},ut=function(data){return data[0]<<21|data[1]<<14|data[2]<<7|data[3]},ct={TXXX:function(e){var i;if(3===e.data[0]){for(i=1;i<e.data.length;i++)if(0===e.data[i]){e.description=lt(e.data,1,i),e.value=lt(e.data,i+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var i;if(3===e.data[0])for(i=1;i<e.data.length;i++)if(0===e.data[i]){e.description=lt(e.data,1,i),e.url=lt(e.data,i+1,e.data.length);break}},PRIV:function(e){var i,t;for(i=0;i<e.data.length;i++)if(0===e.data[i]){e.owner=(t=e.data,unescape(ot(t,0,i)));break}e.privateData=e.data.subarray(i+1),e.data=e.privateData}};nt=function(e){var i,t={descriptor:e&&e.descriptor},n=0,r=[],o=0;if(nt.prototype.init.call(this),this.dispatchType=Ze.METADATA_STREAM_TYPE.toString(16),t.descriptor)for(i=0;i<t.descriptor.length;i++)this.dispatchType+=("00"+t.descriptor[i].toString(16)).slice(-2);this.push=function(e){var t,l,c,d,i;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(o=0,r.length=0),0===r.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(r.push(e),o+=e.data.byteLength,1===r.length&&(n=ut(e.data.subarray(6,10)),n+=10),!(o<n)){for(t={data:new Uint8Array(n),frames:[],pts:r[0].pts,dts:r[0].dts},i=0;i<n;)t.data.set(r[0].data.subarray(0,n-i),i),i+=r[0].data.byteLength,o-=r[0].data.byteLength,r.shift();l=10,64&t.data[5]&&(l+=4,l+=ut(t.data.subarray(10,14)),n-=ut(t.data.subarray(16,20)));do{if((c=ut(t.data.subarray(l+4,l+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((d={id:String.fromCharCode(t.data[l],t.data[l+1],t.data[l+2],t.data[l+3]),data:t.data.subarray(l+10,l+c+10)}).key=d.id,ct[d.id]&&(ct[d.id](d),"com.apple.streaming.transportStreamTimestamp"===d.owner)){var h=d.data,f=(1&h[3])<<30|h[4]<<22|h[5]<<14|h[6]<<6|h[7]>>>2;f*=4,f+=3&h[7],d.timeStamp=f,void 0===t.pts&&void 0===t.dts&&(t.pts=d.timeStamp,t.dts=d.timeStamp),this.trigger("timestamp",d)}t.frames.push(d),l+=10,l+=c}while(l<n);this.trigger("data",t)}}},nt.prototype=new K;var ht,pt,ft,mt=nt,gt=at,vt=188;(ht=function(){var e=new Uint8Array(vt),t=0;ht.prototype.init.call(this),this.push=function(n){var r,o=0,l=vt;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;l<r.byteLength;)71!==r[o]||71!==r[l]?(o++,l++):(this.trigger("data",r.subarray(o,l)),o+=vt,l+=vt);o<r.byteLength&&(e.set(r.subarray(o),0),t=r.byteLength-o)},this.flush=function(){t===vt&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new K,pt=function(){var e,t,n,r;pt.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var o=0;r.payloadUnitStartIndicator&&(o+=e[o]+1),"pat"===r.type?t(e.subarray(o),r):n(e.subarray(o),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,o;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,o=12+((15&e[10])<<8|e[11]);o<n;){var l=e[o],c=(31&e[o+1])<<8|e[o+2];l===Ze.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=c:l===Ze.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=c:l===Ze.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][c]=l),o+=5+((15&e[o+3])<<8|e[o+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());
vendor: 4,761 bytes, line 2
2else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=Ze.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=Ze.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},pt.prototype=new K,pt.STREAM_TYPES={h264:27,adts:15},ft=function(){var e,t=this,n=!1,video={data:[],size:0},audio={data:[],size:0},r={data:[],size:0},o=function(e,n,r){var o,l,c=new Uint8Array(e.size),d={type:n},i=0,h=0;if(e.data.length&&!(e.size<9)){for(d.trackId=e.data[0].pid,i=0;i<e.data.length;i++)l=e.data[i],c.set(l.data,h),h+=l.data.byteLength;var f,m,v,y;m=d,y=(f=c)[0]<<16|f[1]<<8|f[2],m.data=new Uint8Array,1===y&&(m.packetLength=6+(f[4]<<8|f[5]),m.dataAlignmentIndicator=0!=(4&f[6]),192&(v=f[7])&&(m.pts=(14&f[9])<<27|(255&f[10])<<20|(254&f[11])<<12|(255&f[12])<<5|(254&f[13])>>>3,m.pts*=4,m.pts+=(6&f[13])>>>1,m.dts=m.pts,64&v&&(m.dts=(14&f[14])<<27|(255&f[15])<<20|(254&f[16])<<12|(255&f[17])<<5|(254&f[18])>>>3,m.dts*=4,m.dts+=(6&f[18])>>>1)),m.data=f.subarray(9+f[8])),o="video"===n||d.packetLength<=e.size,(r||o)&&(e.size=0,e.data.length=0),o&&t.trigger("data",d)}};ft.prototype.init.call(this),this.push=function(data){({pat:function(){},pes:function(){var e,t;switch(data.streamType){case Ze.H264_STREAM_TYPE:e=video,t="video";break;case Ze.ADTS_STREAM_TYPE:e=audio,t="audio";break;case Ze.METADATA_STREAM_TYPE:e=r,t="timed-metadata";break;default:return}data.payloadUnitStartIndicator&&o(e,t,!0),e.data.push(data),e.size+=data.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=data.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[data.type]()},this.reset=function(){video.size=0,video.data.length=0,audio.size=0,audio.data.length=0,this.trigger("reset")},this.flushStreams_=function(){o(video,"video"),o(audio,"audio"),o(r,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}},ft.prototype=new K;var yt={PAT_PID:0,MP2T_PACKET_LENGTH:vt,TransportPacketStream:ht,TransportParseStream:pt,ElementaryStream:ft,TimestampRolloverStream:gt,CaptionStream:Je.CaptionStream,Cea608Stream:Je.Cea608Stream,Cea708Stream:Je.Cea708Stream,MetadataStream:mt};for(var bt in Ze)Ze.hasOwnProperty(bt)&&(yt[bt]=Ze[bt]);var _t,Tt=yt,wt=we,St=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];_t=function(e){var t,n=0;_t.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:"adts skiping bytes "+e+" to "+t+" in frame "+n+" outside syncword"})},this.push=function(r){var o,l,c,d,h,i=0;if(e||(n=0),"audio"===r.type){var f;for(t&&t.length?(c=t,(t=new Uint8Array(c.byteLength+r.data.byteLength)).set(c),t.set(r.data,c.byteLength)):t=r.data;i+7<t.length;)if(255===t[i]&&240==(246&t[i+1])){if("number"==typeof f&&(this.skipWarn_(f,i),f=null),l=2*(1&~t[i+1]),o=(3&t[i+3])<<11|t[i+4]<<3|(224&t[i+5])>>5,h=(d=1024*(1+(3&t[i+6])))*wt/St[(60&t[i+2])>>>2],t.byteLength-i<o)break;this.trigger("data",{pts:r.pts+n*h,dts:r.dts+n*h,sampleCount:d,audioobjecttype:1+(t[i+2]>>>6&3),channelcount:(1&t[i+2])<<2|(192&t[i+3])>>>6,samplerate:St[(60&t[i+2])>>>2],samplingfrequencyindex:(60&t[i+2])>>>2,samplesize:16,data:t.subarray(i+7+l,i+o)}),n++,i+=o}else"number"!=typeof f&&(f=i),i++;"number"==typeof f&&(this.skipWarn_(f,i),f=null),t=t.subarray(i)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}},_t.prototype=new K;var Et,xt,kt,Ct=_t,At=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var o=e.byteLength-t,l=new Uint8Array(4),c=Math.min(4,t);if(0===c)throw new Error("no bytes available");l.set(e.subarray(o,o+c)),n=new DataView(l.buffer).getUint32(0),r=8*c,t-=c},this.skipBits=function(e){var o;r>e?(n<<=e,r-=e):(e-=r,e-=8*(o=Math.floor(e/8)),t-=o,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var o=Math.min(r,e),l=n>>>32-o;return(r-=o)>0?n<<=o:t>0&&this.loadWord(),(o=e-o)>0?l<<o|this.readBits(o):l},this.skipLeadingZeros=function(){var e;
vendor: 6,846 bytes, line 2
2for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};xt=function(){var i,e,t=0;xt.prototype.init.call(this),this.push=function(data){var n;e?((n=new Uint8Array(e.byteLength+data.data.byteLength)).set(e),n.set(data.data,e.byteLength),e=n):e=data.data;for(var r=e.byteLength;t<r-3;t++)if(1===e[t+2]){i=t+5;break}for(;i<r;)switch(e[i]){case 0:if(0!==e[i-1]){i+=2;break}if(0!==e[i-2]){i++;break}t+3!==i-2&&this.trigger("data",e.subarray(t+3,i-2));do{i++}while(1!==e[i]&&i<r);t=i-2,i+=3;break;case 1:if(0!==e[i-1]||0!==e[i-2]){i+=3;break}this.trigger("data",e.subarray(t+3,i-2)),t=i-2,i+=3;break;default:i+=3}e=e.subarray(t),i-=t,t=0},this.reset=function(){e=null,t=0,this.trigger("reset")},this.flush=function(){e&&e.byteLength>3&&this.trigger("data",e.subarray(t+3)),e=null,t=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},xt.prototype=new K,kt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},Et=function(){var e,t,n,r,o,l,c,d=new xt;Et.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,d.push(e))},d.on("data",(function(data){var c={trackId:t,pts:n,dts:r,data:data,nalUnitTypeCode:31&data[0]};switch(c.nalUnitTypeCode){case 5:c.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:c.nalUnitType="sei_rbsp",c.escapedRBSP=o(data.subarray(1));break;case 7:c.nalUnitType="seq_parameter_set_rbsp",c.escapedRBSP=o(data.subarray(1)),c.config=l(c.escapedRBSP);break;case 8:c.nalUnitType="pic_parameter_set_rbsp";break;case 9:c.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",c)})),d.on("done",(function(){e.trigger("done")})),d.on("partialdone",(function(){e.trigger("partialdone")})),d.on("reset",(function(){e.trigger("reset")})),d.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){d.flush()},this.partialFlush=function(){d.partialFlush()},this.reset=function(){d.reset()},this.endTimeline=function(){d.endTimeline()},c=function(e,t){var n,r=8,o=8;for(n=0;n<e;n++)0!==o&&(o=(r+t.readExpGolomb()+256)%256),r=0===o?r:o},o=function(data){for(var e,t,n=data.byteLength,r=[],i=1;i<n-2;)0===data[i]&&0===data[i+1]&&3===data[i+2]?(r.push(i+2),i+=2):i++;if(0===r.length)return data;e=n-r.length,t=new Uint8Array(e);var o=0;for(i=0;i<e;o++,i++)o===r[0]&&(o++,r.shift()),t[i]=data[o];return t},l=function(data){var e,t,n,r,o,l,d,h,f,m,v,i,y=0,_=0,T=0,w=0,S=[1,1];if(t=(e=new At(data)).readUnsignedByte(),r=e.readUnsignedByte(),n=e.readUnsignedByte(),e.skipUnsignedExpGolomb(),kt[t]&&(3===(o=e.readUnsignedExpGolomb())&&e.skipBits(1),e.skipUnsignedExpGolomb(),e.skipUnsignedExpGolomb(),e.skipBits(1),e.readBoolean()))for(v=3!==o?8:12,i=0;i<v;i++)e.readBoolean()&&c(i<6?16:64,e);if(e.skipUnsignedExpGolomb(),0===(l=e.readUnsignedExpGolomb()))e.readUnsignedExpGolomb();else if(1===l)for(e.skipBits(1),e.skipExpGolomb(),e.skipExpGolomb(),d=e.readUnsignedExpGolomb(),i=0;i<d;i++)e.skipExpGolomb();if(e.skipUnsignedExpGolomb(),e.skipBits(1),h=e.readUnsignedExpGolomb(),f=e.readUnsignedExpGolomb(),0===(m=e.readBits(1))&&e.skipBits(1),e.skipBits(1),e.readBoolean()&&(y=e.readUnsignedExpGolomb(),_=e.readUnsignedExpGolomb(),T=e.readUnsignedExpGolomb(),w=e.readUnsignedExpGolomb()),e.readBoolean()&&e.readBoolean()){switch(e.readUnsignedByte()){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=[e.readUnsignedByte()<<8|e.readUnsignedByte(),e.readUnsignedByte()<<8|e.readUnsignedByte()]}S&&(S[0],S[1])}return{profileIdc:t,levelIdc:n,profileCompatibility:r,width:16*(h+1)-2*y-2*_,height:(2-m)*(f+1)*16-2*T-2*w,sarRatio:S}}},Et.prototype=new K;var Ot,jt={H264Stream:Et,NalByteStream:xt},It=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],Pt=function(header,e){var t=header[e+6]<<21|header[e+7]<<14|header[e+8]<<7|header[e+9];return t=t>=0?t:0,(16&header[e+5])>>4?t+20:t+10},Lt=function e(data,t){return data.length-t<10||data[t]!=="I".charCodeAt(0)||data[t+1]!=="D".charCodeAt(0)||data[t+2]!=="3".charCodeAt(0)?t:e(data,t+=Pt(data,t))},Mt=function(data){return data[0]<<21|data[1]<<14|data[2]<<7|data[3]},Dt={isLikelyAacData:function(data){var e=Lt(data,0);return data.length>=e+2&&255==(255&data[e])&&240==(240&data[e+1])&&16==(22&data[e+1])},parseId3TagSize:Pt,parseAdtsSize:function(header,e){var t=(224&header[e+5])>>5,n=header[e+4]<<3;return 6144&header[e+3]|n|t},parseType:function(header,e){return header[e]==="I".charCodeAt(0)&&header[e+1]==="D".charCodeAt(0)&&header[e+2]==="3".charCodeAt(0)?"timed-metadata":!0&header[e]&&240==(240&header[e+1])?"audio":null},parseSampleRate:function(e){for(var i=0;i+5<e.length;){if(255===e[i]&&240==(246&e[i+1]))return It[(60&e[i+2])>>>2];i++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=Mt(e.subarray(10,14)));do{if((n=Mt(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var i=0;i<r.byteLength;i++)if(0===r[i]){var o=unescape(function(e,t,n){var i,r="";for(i=t;i<n;i++)r+="%"+("00"+e[i].toString(16)).slice(-2);return r}(r,0,i));if("com.apple.streaming.transportStreamTimestamp"===o){var l=r.subarray(i+1),c=(1&l[3])<<30|l[4]<<22|l[5]<<14|l[6]<<6|l[7]>>>2;return c*=4,c+=3&l[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}};(Ot=function(){var e=new Uint8Array,t=0;Ot.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,o,l,c,d=0,h=0;for(e.length?(c=e.length,(e=new Uint8Array(n.byteLength+c)).set(e.subarray(0,c)),e.set(n,c)):e=n;e.length-h>=3;)if(e[h]!=="I".charCodeAt(0)||e[h+1]!=="D".charCodeAt(0)||e[h+2]!=="3".charCodeAt(0))if(255!=(255&e[h])||240!=(240&e[h+1]))h++;else{if(e.length-h<7)break;if(h+(d=Dt.parseAdtsSize(e,h))>e.length)break;l={type:"audio",data:e.subarray(h,h+d),pts:t,dts:t},this.trigger("data",l),h+=d}else{if(e.length-h<10)break;if(h+(d=Dt.parseId3TagSize(e,h))>e.length)break;o={type:"timed-metadata",data:e.subarray(h,h+d)},this.trigger("data",o),h+=d}r=e.length-h,e=r>
vendor: 13,366 bytes, line 2
20?e.subarray(h):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new K;var Nt,Rt,Bt,Ut,Ft=Ot,zt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],$t=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Ht=jt.H264Stream,Wt=Dt.isLikelyAacData,Vt=we,qt=function(e,t){t.stream=e,this.trigger("log",t)},Yt=function(e,t){for(var n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];"headOfPipeline"!==r&&t[r].on&&t[r].on("log",qt.bind(e,r))}},Gt=function(a,b){var i;if(a.length!==b.length)return!1;for(i=0;i<a.length;i++)if(a[i]!==b[i])return!1;return!0},Xt=function(e,t,n,r,o,l){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(o-n)},prependedContentDuration:l,baseMediaDecodeTime:e}};Rt=function(track,e){var t,n=[],r=0,o=0,l=1/0;t=(e=e||{}).firstSequenceNumber||0,Rt.prototype.init.call(this),this.push=function(data){De(track,data),track&&zt.forEach((function(e){track[e]=data[e]})),n.push(data)},this.setEarliestDts=function(e){r=e},this.setVideoBaseMediaDecodeTime=function(e){l=e},this.setAudioAppendStart=function(e){o=e},this.flush=function(){var c,d,h,f,m,v,y;0!==n.length?(c=Oe(n,track,r),track.baseMediaDecodeTime=Me(track,e.keepOriginalTimestamps),y=Ae(track,c,o,l),track.samples=je(c),h=le(Ie(c)),n=[],d=ue(t,[track]),f=new Uint8Array(d.byteLength+h.byteLength),t++,f.set(d),f.set(h,d.byteLength),Le(track),m=Math.ceil(1024*Vt/track.samplerate),c.length&&(v=c.length*m,this.trigger("segmentTimingInfo",Xt(xe(track.baseMediaDecodeTime,track.samplerate),c[0].dts,c[0].pts,c[0].dts+v,c[0].pts+v,y||0)),this.trigger("timingInfo",{start:c[0].pts,end:c[0].pts+v})),this.trigger("data",{track:track,boxes:f}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){Le(track),n=[],this.trigger("reset")}},Rt.prototype=new K,Nt=function(track,e){var t,n,r,o=[],l=[];t=(e=e||{}).firstSequenceNumber||0,Nt.prototype.init.call(this),delete track.minPTS,this.gopCache_=[],this.push=function(e){De(track,e),"seq_parameter_set_rbsp"!==e.nalUnitType||n||(n=e.config,track.sps=[e.data],$t.forEach((function(e){track[e]=n[e]}),this)),"pic_parameter_set_rbsp"!==e.nalUnitType||r||(r=e.data,track.pps=[e.data]),o.push(e)},this.flush=function(){for(var n,r,c,d,h,f,m,v,y=0;o.length&&"access_unit_delimiter_rbsp"!==o[0].nalUnitType;)o.shift();if(0===o.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(n=he(o),(c=pe(n))[0][0].keyFrame||((r=this.getGopForFusion_(o[0],track))?(y=r.duration,c.unshift(r),c.byteLength+=r.byteLength,c.nalCount+=r.nalCount,c.pts=r.pts,c.dts=r.dts,c.duration+=r.duration):c=fe(c)),l.length){var _;if(!(_=e.alignGopsAtEnd?this.alignGopsAtEnd_(c):this.alignGopsAtStart_(c)))return this.gopCache_.unshift({gop:c.pop(),pps:track.pps,sps:track.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");Le(track),c=_}De(track,c),track.samples=me(c),h=le(ge(c)),track.baseMediaDecodeTime=Me(track,e.keepOriginalTimestamps),this.trigger("processedGopsInfo",c.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),m=c[0],v=c[c.length-1],this.trigger("segmentTimingInfo",Xt(track.baseMediaDecodeTime,m.dts,m.pts,v.dts+v.duration,v.pts+v.duration,y)),this.trigger("timingInfo",{start:c[0].pts,end:c[c.length-1].pts+c[c.length-1].duration}),this.gopCache_.unshift({gop:c.pop(),pps:track.pps,sps:track.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.trigger("baseMediaDecodeTime",track.baseMediaDecodeTime),this.trigger("timelineStartInfo",track.timelineStartInfo),d=ue(t,[track]),f=new Uint8Array(d.byteLength+h.byteLength),t++,f.set(d),f.set(h,d.byteLength),this.trigger("data",{track:track,boxes:f}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),o=[],this.gopCache_.length=0,l.length=0,this.trigger("reset")},this.resetStream_=function(){Le(track),n=void 0,r=void 0},this.getGopForFusion_=function(e){var t,n,r,o,i,l=1/0;for(i=0;i<this.gopCache_.length;i++)r=(o=this.gopCache_[i]).gop,track.pps&&Gt(track.pps[0],o.pps[0])&&track.sps&&Gt(track.sps[0],o.sps[0])&&(r.dts<track.timelineStartInfo.dts||(t=e.dts-r.dts-r.duration)>=-1e4&&t<=45e3&&(!n||l>t)&&(n=o,l=t));return n?n.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,o,c,d,h,f;for(c=e.byteLength,d=e.nalCount,h=e.duration,t=n=0;t<l.length&&n<e.length&&(r=l[t],o=e[n],r.pts!==o.pts);)o.pts>r.pts?t++:(n++,c-=o.byteLength,d-=o.nalCount,h-=o.duration);return 0===n?e:n===e.length?null:((f=e.slice(n)).byteLength=c,f.duration=h,f.nalCount=d,f.pts=f[0].pts,f.dts=f[0].dts,f)},this.alignGopsAtEnd_=function(e){var t,n,r,o,c,d,h;for(t=l.length-1,n=e.length-1,c=null,d=!1;t>=0&&n>=0;){if(r=l[t],o=e[n],r.pts===o.pts){d=!0;break}r.pts>o.pts?t--:(t===l.length-1&&(c=n),n--)}if(!d&&null===c)return null;if(0===(h=d?n:c))return e;var f=e.slice(h),m=f.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return f.byteLength=m.byteLength,f.duration=m.duration,f.nalCount=m.nalCount,f.pts=f[0].pts,f.dts=f[0].dts,f},this.alignGopsWith=function(e){l=e}},Nt.prototype=new K,Ut=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Ut.prototype.init.call(this),this.push=function(output){return output.text?this.pendingCaptions.push(output):output.frames?this.pendingMetadata.push(output):(this.pendingTracks.push(output.track),this.pendingBytes+=output.boxes.byteLength,"video"===output.track.type&&(this.videoTrack=output.track,this.pendingBoxes.push(output.boxes)),void("audio"===output.track.type&&(this.audioTrack=output.track,this.pendingBoxes.unshift(output.boxes))))}},Ut.prototype=new K,Ut.prototype.flush=function(e){var caption,t,n,i,r=0,o={captions:[],captionStreams:{},metadata:[],info:{}},l=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(l=this.videoTrack.timelineStartInfo.pts,$t.forEach((function(e){o.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(l=this.audioTrack.timelineStartInfo.pts,zt.forEach((function(e){o.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?o.type=this.pendingTracks[0].type:o.type="combined",this.emittedTracks+=this.pendingTracks.length,n=ce(this.pendingTracks),o.initSegment=new Uint8Array(n.byteLength),o.initSegment.set(n),o.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)o.data.set(this.pendingBoxes[i],r),r+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(caption=this.pendingCaptions[i]).startTime=Ce(caption.startPts,l,this.keepOriginalTimestamps),caption.endTime=Ce(caption.endPts,l,this.keepOriginalTimestamps),o.captionStreams[caption.stream]=!0,o.captions.push(caption);for(i=0;i<this.pendingMetadata.length;i++)(t=this.pendingMetadata[i]).cueTime=Ce(t.pts,l,this.keepOriginalTimestamps),o.metadata.push(t);for(o.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",o),i=0;i<o.captions.length;i++)caption=o.captions[i],this.trigger("caption",caption);for(i=0;i<o.metadata.length;i++)t=o.metadata[i],this.trigger("id3Frame",t)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Ut.prototype.setRemux=function(e){this.remuxTracks=e},Bt=function(e){var t,n,r=this,o=!0;Bt.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="aac",o.metadataStream=new Tt.MetadataStream,o.aacStream=new Ft,o.audioTimestampRolloverStream=new Tt.TimestampRolloverStream("audio"),o.timedMetadataTimestampRolloverStream=new Tt.TimestampRolloverStream("timed-metadata"),o.adtsStream=new Ct,o.coalesceStream=new Ut(e,o.metadataStream),o.headOfPipeline=o.aacStream,o.aacStream.pipe(o.audioTimestampRolloverStream).pipe(o.adtsStream),o.aacStream.pipe(o.timedMetadataTimestampRolloverStream).pipe(o.metadataStream).pipe(o.coalesceStream),o.metadataStream.on("timestamp",(function(e){o.aacStream.setTimestamp(e.timeStamp)})),o.aacStream.on("data",(function(data){"timed-metadata"!==data.type&&"audio"!==data.type||o.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new Rt(n,e),o.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Yt(this,o)},this.setupTsPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="ts",o.metadataStream=new Tt.MetadataStream,o.packetStream=new Tt.TransportPacketStream,o.parseStream=new Tt.TransportParseStream,o.elementaryStream=new Tt.ElementaryStream,o.timestampRolloverStream=new Tt.TimestampRolloverStream,o.adtsStream=new Ct,o.h264Stream=new Ht,o.captionStream=new Tt.CaptionStream(e),o.coalesceStream=new Ut(e,o.metadataStream),o.headOfPipeline=o.packetStream,o.packetStream.pipe(o.parseStream).pipe(o.elementaryStream).pipe(o.timestampRolloverStream),o.timestampRolloverStream.pipe(o.h264Stream),o.timestampRolloverStream.pipe(o.adtsStream),o.timestampRolloverStream.pipe(o.metadataStream).pipe(o.coalesceStream),o.h264Stream.pipe(o.captionStream).pipe(o.coalesceStream),o.elementaryStream.on("data",(function(data){var i;if("metadata"===data.type){for(i=data.tracks.length;i--;)t||"video"!==data.tracks[i].type?n||"audio"!==data.tracks[i].type||((n=data.tracks[i]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=data.tracks[i]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!o.videoSegmentStream&&(o.coalesceStream.numberOfTracks++,o.videoSegmentStream=new Nt(t,e),o.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),o.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,o.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),o.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),o.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),o.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&o.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),o.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),o.h264Stream.pipe(o.videoSegmentStream).pipe(o.coalesceStream)),n&&!o.audioSegmentStream&&(o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new Rt(n,e),o.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),o.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("id3Frame",(function(e){e.dispatchType=o.metadataStream.dispatchType,r.trigger("id3Frame",e)})),o.coalesceStream.on("caption",this.trigger.bind(this,"caption")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Yt(this,o)},this.setBaseMediaDecodeTime=function(r){var o=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,Le(n),o.audioTimestampRolloverStream&&o.audioTimestampRolloverStream.discontinuity()),t&&(o.videoSegmentStream&&(o.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,Le(t),o.captionStream.reset()),o.timestampRolloverStream&&o.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(data){if(o){var e=Wt(data);e&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():e||"t
2s"===this.transmuxPipeline_.type||this.setupTsPipeline(),o=!1}this.transmuxPipeline_.headOfPipeline.push(data)},this.flush=function(){o=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},Bt.prototype=new K;var Kt,Qt,Jt,Zt={Transmuxer:Bt,VideoSegmentStream:Nt,AudioSegmentStream:Rt,AUDIO_PROPERTIES:zt,VIDEO_PROPERTIES:$t,generateSegmentTimingInfo:Xt},ei=function(e){return e>>>0},ti=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},ii=ei,ni=function e(data,path){var i,t,n,r,o,l=[];if(!path.length)return null;for(i=0;i<data.byteLength;)t=ii(data[i]<<24|data[i+1]<<16|data[i+2]<<8|data[i+3]),n=ti(data.subarray(i+4,i+8)),r=t>1?i+t:data.byteLength,n===path[0]&&(1===path.length?l.push(data.subarray(i+8,r)):(o=e(data.subarray(i+8,r),path.slice(1))).length&&(l=l.concat(o))),i=r;return l},ri=ei,ai=J.getUint64,si=function(data){var e={version:data[0],flags:new Uint8Array(data.subarray(1,4))};return 1===e.version?e.baseMediaDecodeTime=ai(data.subarray(4)):e.baseMediaDecodeTime=ri(data[4]<<24|data[5]<<16|data[6]<<8|data[7]),e},oi=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},ui=function(data){var e,t={version:data[0],flags:new Uint8Array(data.subarray(1,4)),samples:[]},view=new DataView(data.buffer,data.byteOffset,data.byteLength),n=1&t.flags[2],r=4&t.flags[2],o=1&t.flags[1],l=2&t.flags[1],c=4&t.flags[1],d=8&t.flags[1],h=view.getUint32(4),f=8;for(n&&(t.dataOffset=view.getInt32(f),f+=4),r&&h&&(e={flags:oi(data.subarray(f,f+4))},f+=4,o&&(e.duration=view.getUint32(f),f+=4),l&&(e.size=view.getUint32(f),f+=4),d&&(1===t.version?e.compositionTimeOffset=view.getInt32(f):e.compositionTimeOffset=view.getUint32(f),f+=4),t.s
vendor: 4,214 bytes, line 2
2amples.push(e),h--);h--;)e={},o&&(e.duration=view.getUint32(f),f+=4),l&&(e.size=view.getUint32(f),f+=4),c&&(e.flags=oi(data.subarray(f,f+4)),f+=4),d&&(1===t.version?e.compositionTimeOffset=view.getInt32(f):e.compositionTimeOffset=view.getUint32(f),f+=4),t.samples.push(e);return t},ci=function(data){var i,view=new DataView(data.buffer,data.byteOffset,data.byteLength),e={version:data[0],flags:new Uint8Array(data.subarray(1,4)),trackId:view.getUint32(4)},t=1&e.flags[2],n=2&e.flags[2],r=8&e.flags[2],o=16&e.flags[2],l=32&e.flags[2],c=65536&e.flags[0],d=131072&e.flags[0];return i=8,t&&(i+=4,e.baseDataOffset=view.getUint32(12),i+=4),n&&(e.sampleDescriptionIndex=view.getUint32(i),i+=4),r&&(e.defaultSampleDuration=view.getUint32(i),i+=4),o&&(e.defaultSampleSize=view.getUint32(i),i+=4),l&&(e.defaultSampleFlags=view.getUint32(i)),c&&(e.durationIsEmpty=!0),!t&&d&&(e.baseDataOffsetIsMoof=!0),e},di="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},hi="undefined"!=typeof window?window:void 0!==di?di:"undefined"!=typeof self?self:{},pi=Ue,fi=Je.CaptionStream,mi=function(e,t){for(var n=e,i=0;i<t.length;i++){var r=t[i];if(n<r.size)return r;n-=r.size}return null},gi=function(e,t){var n=ni(e,["moof","traf"]),r=ni(e,["mdat"]),o={},l=[];return r.forEach((function(e,t){var r=n[t];l.push({mdat:e,traf:r})})),l.forEach((function(e){var n,r,l=e.mdat,c=e.traf,d=ni(c,["tfhd"]),h=ci(d[0]),f=h.trackId,m=ni(c,["tfdt"]),v=m.length>0?si(m[0]).baseMediaDecodeTime:0,y=ni(c,["trun"]);t===f&&y.length>0&&(n=function(e,t,n){var r=t,o=n.defaultSampleDuration||0,l=n.defaultSampleSize||0,c=n.trackId,d=[];return e.forEach((function(e){var t=ui(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=o),void 0===e.size&&(e.size=l),e.trackId=c,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof r?(e.pts=r+hi.BigInt(e.compositionTimeOffset),r+=hi.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),d=d.concat(t)})),d}(y,v,h),r=function(e,t,n){var r,i,o,l,c=new DataView(e.buffer,e.byteOffset,e.byteLength),d={logs:[],seiNals:[]};for(i=0;i+4<e.length;i+=o)if(o=c.getUint32(i),i+=4,!(o<=0))switch(31&e[i]){case 6:var data=e.subarray(i+1,i+1+o),h=mi(i,t);if(r={nalUnitType:"sei_rbsp",size:o,data:data,escapedRBSP:pi(data),trackId:n},h)r.pts=h.pts,r.dts=h.dts,l=h;else{if(!l){d.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+n+". See mux.js#223."});break}r.pts=l.pts,r.dts=l.dts}d.seiNals.push(r)}return d}(l,n,f),o[f]||(o[f]={seiNals:[],logs:[]}),o[f].seiNals=o[f].seiNals.concat(r.seiNals),o[f].logs=o[f].logs.concat(r.logs))})),o},vi=function(){var e,t,n,r,o,l,c=!1;this.isInitialized=function(){return c},this.init=function(t){e=new fi,c=!0,l=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,o.captions.push(e),o.captionStreams[e.stream]=!0})),e.on("log",(function(e){o.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"==typeof t&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,l,c){var d;if(!this.isInitialized())return null;if(!l||!c)return null;if(this.isNewInit(l,c))n=l[0],r=c[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var h=t.shift();this.parse(h,l,c)}return d=function(e,t,n){if(null===t)return null;var r=gi(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r),d&&d.logs&&(o.logs=o.logs.concat(d.logs)),null!==d&&d.seiNals?(this.pushNals(d.seiNals),this.flushStream(),o):o.logs.length?{logs:o.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;l?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={},o.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,o?this.clearParsedCaptions():o={captions:[],captionStream
vendor: 8,891 bytes, line 2
2s:{},logs:[]},this.resetCaptionStream()},this.reset()},yi=ei,bi=function(e){return("00"+e.toString(16)).slice(-2)},_i=J.getUint64;Kt=function(e,t){var n=ni(t,["moof","traf"]).reduce((function(t,n){var r,o,l=ni(n,["tfhd"])[0],c=yi(l[4]<<24|l[5]<<16|l[6]<<8|l[7]),d=e[c]||9e4,h=ni(n,["tfdt"])[0],f=new DataView(h.buffer,h.byteOffset,h.byteLength);return"bigint"==typeof(r=1===h[0]?_i(h.subarray(4,12)):f.getUint32(4))?o=r/hi.BigInt(d):"number"!=typeof r||isNaN(r)||(o=r/d),o<Number.MAX_SAFE_INTEGER&&(o=Number(o)),o<t&&(t=o),t}),1/0);return"bigint"==typeof n||isFinite(n)?n:0},Jt=function(e){var t=0===e[0]?12:20;return yi(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},Qt=function(e){var t=ni(e,["moov","trak"]),n=[];return t.forEach((function(e){var view,t,track={},r=ni(e,["tkhd"])[0];r&&(t=(view=new DataView(r.buffer,r.byteOffset,r.byteLength)).getUint8(0),track.id=0===t?view.getUint32(12):view.getUint32(20));var o=ni(e,["mdia","hdlr"])[0];if(o){var l=ti(o.subarray(8,12));track.type="vide"===l?"video":"soun"===l?"audio":l}var c=ni(e,["mdia","minf","stbl","stsd"])[0];if(c){var d=c.subarray(8);track.codec=ti(d.subarray(4,8));var h,f=ni(d,[track.codec])[0];f&&(/^[asm]vc[1-9]$/i.test(track.codec)?(h=f.subarray(78),"avcC"===ti(h.subarray(4,8))&&h.length>11?(track.codec+=".",track.codec+=bi(h[9]),track.codec+=bi(h[10]),track.codec+=bi(h[11])):track.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(track.codec)?(h=f.subarray(28),"esds"===ti(h.subarray(4,8))&&h.length>20&&0!==h[19]?(track.codec+="."+bi(h[19]),track.codec+="."+bi(h[20]>>>2&63).replace(/^0/,"")):track.codec="mp4a.40.2"):track.codec=track.codec.toLowerCase())}var m=ni(e,["mdia","mdhd"])[0];m&&(track.timescale=Jt(m)),n.push(track)})),n};var Ti=Kt,wi=Qt,Si=function(e){var t=31&e[1];return t<<=8,t|=e[2]},Ei=function(e){return!!(64&e[1])},xi=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},ki=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},Ci={parseType:function(e,t){var n=Si(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=Ei(e),n=4+xi(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=Ei(e),r=4+xi(e);if(n&&(r+=e[r]+1),1&e[r+5]){var o;o=3+((15&e[r+1])<<8|e[r+2])-4;for(var l=12+((15&e[r+10])<<8|e[r+11]);l<o;){var i=r+l;t[(31&e[i+1])<<8|e[i+2]]=e[i],l+=5+((15&e[i+3])<<8|e[i+4])}return t}},parsePayloadUnitStartIndicator:Ei,parsePesType:function(e,t){switch(t[Si(e)]){case Ze.H264_STREAM_TYPE:return"video";case Ze.ADTS_STREAM_TYPE:return"audio";case Ze.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!Ei(e))return null;var t=4+xi(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+xi(e),n=e.subarray(t),r=0,o=0,l=!1;o<n.byteLength-3;o++)if(1===n[o+2]){r=o+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}o+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===ki(31&n[o+3])&&(l=!0);do{r++}while(1!==n[r]&&r<n.length);o=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===ki(31&n[o+3])&&(l=!0),o=r-2,r+=3;break;default:r+=3}return n=n.subarray(o),r-=o,o=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===ki(31&n[o+3])&&(l=!0),l}},Ai=st,Oi={};Oi.ts=Ci,Oi.aac=Dt;var ji=we,Ii=188,Pi=71,Li=function(e,t,n){for(var r,o,l,c,d=0,h=Ii,f=!1;h<=e.byteLength;)if(e[d]!==Pi||e[h]!==Pi&&h!==e.byteLength)d++,h++;else{if(r=e.subarray(d,h),"pes"===Oi.ts.parseType(r,t.pid))o=Oi.ts.parsePesType(r,t.table),l=Oi.ts.parsePayloadUnitStartIndicator(r),"audio"===o&&l&&(c=Oi.ts.parsePesTime(r))&&(c.type="audio",n.audio.push(c),f=!0);if(f)break;d+=Ii,h+=Ii}for(d=(h=e.byteLength)-Ii,f=!1;d>=0;)if(e[d]!==Pi||e[h]!==Pi&&h!==e.byteLength)d--,h--;else{if(r=e.subarray(d,h),"pes"===Oi.ts.parseType(r,t.pid))o=Oi.ts.parsePesType(r,t.table),l=Oi.ts.parsePayloadUnitStartIndicator(r),"audio"===o&&l&&(c=Oi.ts.parsePesTime(r))&&(c.type="audio",n.audio.push(c),f=!0);if(f)break;d-=Ii,h-=Ii}},Mi=function(e,t,n){for(var r,o,l,c,d,i,h,f=0,m=Ii,v=!1,y={data:[],size:0};m<e.byteLength;)if(e[f]!==Pi||e[m]!==Pi)f++,m++;else{if(r=e.subarray(f,m),"pes"===Oi.ts.parseType(r,t.pid))if(o=Oi.ts.parsePesType(r,t.table),l=Oi.ts.parsePayloadUnitStartIndicator(r),"video"===o&&(l&&!v&&(c=Oi.ts.parsePesTime(r))&&(c.type="video",n.video.push(c),v=!0),!n.firstKeyFrame)){if(l&&0!==y.size){for(d=new Uint8Array(y.size),i=0;y.data.length;)h=y.data.shift(),d.set(h,i),i+=h.byteLength;if(Oi.ts.videoPacketContainsKeyFrame(d)){var _=Oi.ts.parsePesTime(d);_?(n.firstKeyFrame=_,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}y.size=0}y.data.push(r),y.size+=r.byteLength}if(v&&n.firstKeyFrame)break;f+=Ii,m+=Ii}for(f=(m=e.byteLength)-Ii,v=!1;f>=0;)if(e[f]!==Pi||e[m]!==Pi)f--,m--;else{if(r=e.subarray(f,m),"pes"===Oi.ts.parseType(r,t.pid))o=Oi.ts.parsePesType(r,t.table),l=Oi.ts.parsePayloadUnitStartIndicator(r),"video"===o&&l&&(c=Oi.ts.parsePesTime(r))&&(c.type="video",n.video.push(c),v=!0);if(v)break;f-=Ii,m-=Ii}},Di=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,o=Ii;o<e.byteLength;)if(e[r]!==Pi||e[o]!==Pi)r++,o++;else{switch(n=e.subarray(r,o),Oi.ts.parseType(n,t.pid)){case"pat":t.pid=Oi.ts.parsePat(n);break;case"pmt":var table=Oi.ts.parsePmt(n);t.table=t.table||{},Object.keys(table).forEach((function(e){t.table[e]=table[e]}))}r+=Ii,o+=Ii}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case Ze.H264_STREAM_TYPE:n.video=[],Mi(e,t,n),0===n.video.length&&delete n.video;break;case Ze.ADTS_STREAM_TYPE:n.audio=[],Li(e,t,n),0===n.audio.length&&delete n.audio}}return n},Ni=function(e,t){var n;return n=Oi.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,o=null,l=null,c=0,d=0;e.length-d>=3;){switch(Oi.aac.parseType(e,d)){case"timed-metadata":if(e.length-d<10){n=!0;break}if((c=Oi.aac.parseId3TagSize(e,d))>e.length){n=!0;break}null===l&&(t=e.subarray(d,d+c),l=Oi.aac.parseAacTimestamp(t)),d+=c;break;case"audio":if(e.length-d<7){n=!0;break}if((c=Oi.aac.parseAdtsSize(e,d))>e.length){n=!0;break}null===o&&(t=e.subarray(d,d+c),o=Oi.aac.parseSampleRate(t)),r++,d+=c;break;default:d++}if(n)return null}if(null===o||null===l)return null;var h=ji/o;return{audio:[{type:"audio",dts:l,pts:l},{type:"audio",dts:l+1024*r*h,pts:l+1024*r*h}]}}(e):Di(e),n&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;(void 0===n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=Ai(e.dts,n),e.pts=Ai(e.pts,n),e.dtsTime=e.dts/ji,e.ptsTime=e.pts/ji}))}if(e.video&&e.video.length){var r=t;if((void 0===r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=Ai(e.dts,r),e.pts=Ai(e.pts,r),e.dtsTime=e.dts/ji,e.ptsTime=e.pts/ji})),e.firstKeyFrame){var o=e.firstKeyFrame;o.dts=Ai(o.dts,r),o.pts=Ai(o.pts,r),o.dtsTime=o.dts/ji,o.ptsTime=o.pts/ji}}}(n,t),n):null},Ri=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Zt.Transmuxer(this.options),function(e,t){t.on("data",(function(t){var n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};var r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(data){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){var n={start:{decode:Ee(t.start.dts),presentation:Ee(t.start.pts)},end:{decode:Ee(t.end.dts),presentation:Ee(t.end.pts)},baseMediaDecodeTime:Ee(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=Ee(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){var n={start:{decode:Ee(t.start.dts),presentation:Ee(t.start.pts)},end:{decode:Ee(t.end.dts),presentation:Ee(t.end.pts)},baseMediaDecodeTime:Ee(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=Ee(t.prepe
vendor: 61,218 bytes, line 2
2ndedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(caption){e.postMessage({action:"caption",caption:caption})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:Ee(t.start),end:Ee(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:Ee(t.start),end:Ee(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)},t.pushMp4Captions=function(data){this.captionParser||(this.captionParser=new vi,this.captionParser.init());var e=new Uint8Array(data.data,data.byteOffset,data.byteLength),t=this.captionParser.parse(e,data.trackIds,data.timescales);this.self.postMessage({action:"mp4Captions",captions:t&&t.captions||[],logs:t&&t.logs||[],data:e.buffer},[e.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,data=e.data,n=Ti(t,data);this.self.postMessage({action:"probeMp4StartTime",startTime:n,data:data},[data.buffer])},t.probeMp4Tracks=function(e){var data=e.data,t=wi(data);this.self.postMessage({action:"probeMp4Tracks",tracks:t,data:data},[data.buffer])},t.probeTs=function(e){var data=e.data,t=e.baseStartTime,n="number"!=typeof t||isNaN(t)?void 0:t*we,r=Ni(data,n),o=null;r&&((o={hasVideo:r.video&&2===r.video.length||!1,hasAudio:r.audio&&2===r.audio.length||!1}).hasVideo&&(o.videoStart=r.video[0].ptsTime),o.hasAudio&&(o.audioStart=r.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:o,data:data},[data.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(data){var e=new Uint8Array(data.data,data.byteOffset,data.byteLength);this.transmuxer.push(e)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(data){var e=data.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(Se(e)))},t.setAudioAppendStart=function(data){this.transmuxer.setAudioAppendStart(Math.ceil(Se(data.appendStart)))},t.setRemux=function(data){this.transmuxer.setRemux(data.remux)},t.flush=function(data){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(data){this.transmuxer.alignGopsWith(data.gopsToAlignWith.slice())},e}();self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new Ri(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new Ri(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}}))),As=Es(Cs),Os=function(e){var t=e.transmuxer,n=e.bytes,r=e.audioAppendStart,o=e.gopsToAlignWith,l=e.remux,c=e.onData,d=e.onTrackInfo,h=e.onAudioTimingInfo,f=e.onVideoTimingInfo,m=e.onVideoSegmentTimingInfo,v=e.onAudioSegmentTimingInfo,y=e.onId3,_=e.onCaptions,T=e.onDone,w=e.onEndedTimeline,S=e.onTransmuxerLog,E=e.isEndOfTimeline,x={buffer:[]},k=E;if(t.onmessage=function(n){t.currentTransmux===e&&("data"===n.data.action&&function(e,t,n){var r=e.data.segment,o=r.type,l=r.initSegment,c=r.captions,d=r.captionStreams,h=r.metadata,f=r.videoFrameDtsTime,m=r.videoFramePtsTime;t.buffer.push({captions:c,captionStreams:d,metadata:h});var v=e.data.segment.boxes||{data:e.data.segment.data},y={type:o,data:new Uint8Array(v.data,v.data.byteOffset,v.data.byteLength),initSegment:new Uint8Array(l.data,l.byteOffset,l.byteLength)};void 0!==f&&(y.videoFrameDtsTime=f),void 0!==m&&(y.videoFramePtsTime=m),n(y)}(n,x,c),"trackinfo"===n.data.action&&d(n.data.trackInfo),"gopInfo"===n.data.action&&function(e,t){t.gopInfo=e.data.gopInfo}(n,x),"audioTimingInfo"===n.data.action&&h(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&f(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&m(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&v(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&y([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&_(n.data.caption),"endedtimeline"===n.data.action&&(k=!1,w()),"log"===n.data.action&&S(n.data.log),"transmuxed"===n.data.type&&(k||(t.onmessage=null,function(e){var t=e.transmuxedData,n=e.callback;t.buffer=[],n(t)}({transmuxedData:x,callback:T}),js(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(o)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:o}),void 0!==l&&t.postMessage({action:"setRemux",remux:l}),n.byteLength){var C=n instanceof ArrayBuffer?n:n.buffer,A=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:C,byteOffset:A,byteLength:n.byteLength},[C])}E&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},js=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():Os(e.currentTransmux))},Is=function(e,t){e.postMessage({action:t}),js(e)},Ps=function(e,t){if(!t.currentTransmux)return t.currentTransmux=e,void Is(t,e);t.transmuxQueue.push(Is.bind(null,t,e))},Ls=function(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void Os(e);e.transmuxer.transmuxQueue.push(e)},Ms=function(e){Ps("reset",e)},Ds=function(e){var t=new As;t.currentTransmux=null,t.transmuxQueue=[];var n=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)},t.postMessage({action:"init",options:e}),t},Ns=function(e){var t=e.transmuxer,n=e.endAction||e.action,r=e.callback,o=f()({},e,{endAction:null,transmuxer:null,callback:null});if(t.addEventListener("message",(function o(l){l.data.action===n&&(t.removeEventListener("message",o),l.data.data&&(l.data.data=new Uint8Array(l.data.data,e.byteOffset||0,e.byteLength||l.data.data.byteLength),e.data&&(e.data=l.data.data)),r(l.data))})),e.data){var l=e.data instanceof ArrayBuffer;o.byteOffset=l?0:e.data.byteOffset,o.byteLength=e.data.byteLength;var c=[l?e.data:e.data.buffer];t.postMessage(o,c)}else t.postMessage(o)},Rs=2,Bs=-101,Us=-102,Fs=function(e){e.forEach((function(e){e.abort()}))},zs=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Bs,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Us,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Rs,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Rs,xhr:t}:null},$s=function(e,t,n){return function(r,o){var l=o.response,c=zs(r,o);if(c)return n(c,e);if(16!==l.byteLength)return n({status:o.status,message:"Invalid HLS key at URL: "+o.uri,code:Rs,xhr:o},e);for(var view=new DataView(l),d=new Uint32Array([view.getUint32(0),view.getUint32(4),view.getUint32(8),view.getUint32(12)]),i=0;i<t.length;i++)t[i].bytes=d;return n(null,e)}},Hs=function(e,t){var n=Object(z.a)(e.map.bytes);if("mp4"!==n){var r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:"Found unsupported "+(n||"unknown")+" container for initialization segment at URL: "+r,code:Rs})}Ns({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:function(n){var r=n.tracks,data=n.data;return e.map.bytes=data,r.forEach((function(track){e.map.tracks=e.map.tracks||{},e.map.tracks[track.type]||(e.map.tracks[track.type]=track,"number"==typeof track.id&&track.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[track.id]=track.timescale))})),t(null)}})},Ws=function(e){var t=e.segment,n=e.finishProcessingFn,r=e.responseType;return function(e,o){var l=zs(e,o);if(l)return n(l,t);var c="arraybuffer"!==r&&o.responseText?function(e){for(var view=new Uint8Array(new ArrayBuffer(e.length)),i=0;i<e.length;i++)view[i]=e.charCodeAt(i);return view.buffer}(o.responseText.substring(t.lastReachedChar||0)):o.response;return t.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(o),t.key?t.encryptedBytes=new Uint8Array(c):t.bytes=new Uint8Array(c),n(null,t)}},Vs=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,o=e.timingInfoFn,l=e.videoSegmentTimingInfoFn,c=e.audioSegmentTimingInfoFn,d=e.id3Fn,h=e.captionsFn,f=e.isEndOfTimeline,m=e.endedTimelineFn,v=e.dataFn,y=e.doneFn,_=e.onTransmuxerLog,T=t.map&&t.map.tracks||{},w=Boolean(T.audio&&T.video),S=o.bind(null,t,"audio","start"),E=o.bind(null,t,"audio","end"),x=o.bind(null,t,"video","start"),k=o.bind(null,t,"video","end");Ns({action:"probeTs",transmuxer:t.transmuxer,data:n,baseStartTime:t.baseStartTime,callback:function(data){t.bytes=n=data.data;var e=data.result;e&&(r(t,{hasAudio:e.hasAudio,hasVideo:e.hasVideo,isMuxed:w}),r=null,e.hasAudio&&!w&&S(e.audioStart),e.hasVideo&&x(e.videoStart),S=null,x=null),Ls({bytes:n,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,remux:w,onData:function(e){e.type="combined"===e.type?"video":e.type,v(t,e)},onTrackInfo:function(e){r&&(w&&(e.isMuxed=!0),r(t,e))},onAudioTimingInfo:function(e){S&&void 0!==e.start&&(S(e.start),S=null),E&&void 0!==e.end&&E(e.end)},onVideoTimingInfo:function(e){x&&void 0!==e.start&&(x(e.start),x=null),k&&void 0!==e.end&&k(e.end)},onVideoSegmentTimingInfo:function(e){l(e)},onAudioSegmentTimingInfo:function(e){c(e)},onId3:function(e,n){d(t,e,n)},onCaptions:function(e){h(t,[e])},isEndOfTimeline:f,onEndedTimeline:function(){m()},onTransmuxerLog:_,onDone:function(e){y&&(e.type="combined"===e.type?"video":e.type,y(null,t,e))}})}})},qs=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,o=e.timingInfoFn,l=e.videoSegmentTimingInfoFn,c=e.audioSegmentTimingInfoFn,d=e.id3Fn,h=e.captionsFn,f=e.isEndOfTimeline,m=e.endedTimelineFn,v=e.dataFn,y=e.doneFn,_=e.onTransmuxerLog,T=new Uint8Array(n);if(Object(z.b)(T)){t.isFmp4=!0;var w=t.map.tracks,S={isFmp4:!0,hasVideo:!!w.video,hasAudio:!!w.audio};w.audio&&w.audio.codec&&"enca"!==w.audio.codec&&(S.audioCodec=w.audio.codec),w.video&&w.video.codec&&"encv"!==w.video.codec&&(S.videoCodec=w.video.codec),w.video&&w.audio&&(S.isMuxed=!0),r(t,S);var E=function(e){v(t,{data:T,type:S.hasAudio&&!S.isMuxed?"audio":"video"}),e&&e.length&&h(t,e),y(null,t,{})};Ns({action:"probeMp4StartTime",timescales:t.map.timescales,data:T,transmuxer:t.transmuxer,callback:function(e){var data=e.data,r=e.startTime;n=data.buffer,t.bytes=T=data,S.hasAudio&&!S.isMuxed&&o(t,"audio","start",r),S.hasVideo&&o(t,"video","start",r),w.video&&data.byteLength&&t.transmuxer?Ns({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:t.transmuxer,data:T,timescales:t.map.timescales,trackIds:[w.video.id],callback:function(e){n=e.data.buffer,t.bytes=T=e.data,e.logs.forEach((function(e){_(ua.mergeOptions(e,{stream:"mp4CaptionParser"}))})),E(e.captions)}}):E()}})}else if(t.transmuxer){if(void 0===t.container&&(t.container=Object(z.a)(T)),"ts"!==t.container&&"aac"!==t.container)return r(t,{hasAudio:!1,hasVideo:!1}),void y(null,t,{});Vs({segment:t,bytes:n,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:h,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_})}else y(null,t,{})},Ys=function(e,t){var n,r=e.id,o=e.key,l=e.encryptedBytes,c=e.decryptionWorker;c.addEventListener("message",(function e(n){if(n.data.source===r){c.removeEventListener("message",e);var o=n.data.decrypted;t(new Uint8Array(o.bytes,o.byteOffset,o.byteLength))}})),n=o.bytes.slice?o.bytes.slice():new Uint32Array(Array.prototype.slice.call(o.bytes)),c.postMessage(us({source:r,encrypted:l,key:n,iv:o.iv}),[l.buffer,n.buffer])},Gs=function(e){var t=e.activeXhrs,n=e.decryptionWorker,r=e.trackInfoFn,o=e.timingInfoFn,l=e.videoSegmentTimingInfoFn,c=e.audioSegmentTimingInfoFn,d=e.id3Fn,h=e.captionsFn,f=e.isEndOfTimeline,m=e.endedTimelineFn,v=e.dataFn,y=e.doneFn,_=e.onTransmuxerLog,T=0,w=!1;return function(e,S){if(!w){if(e)return w=!0,Fs(t),y(e,S);if((T+=1)===t.length){var E=function(){if(S.encryptedBytes)return function(e){var t=e.decryptionWorker,n=e.segment,r=e.trackInfoFn,o=e.timingInfoFn,l=e.videoSegmentTimingInfoFn,c=e.audioSegmentTimingInfoFn,d=e.id3Fn,h=e.captionsFn,f=e.isEndOfTimeline,m=e.endedTimelineFn,v=e.dataFn,y=e.doneFn,_=e.onTransmuxerLog;Ys({id:n.requestId,key:n.key,encryptedBytes:n.encryptedBytes,decryptionWorker:t},(function(e){n.bytes=e,qs({segment:n,bytes:n.bytes,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:h,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_})}))}({decryptionWorker:n,segment:S,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:h,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_});qs({segment:S,bytes:S.bytes,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:h,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_})};if(S.endOfAllRequests=Date.now(),S.map&&S.map.encryptedBytes&&!S.map.bytes)return Ys({decryptionWorker:n,id:S.requestId+"-init",encryptedBytes:S.map.encryptedBytes,key:S.map.key},(function(e){S.map.bytes=e,Hs(S,(function(e){if(e)return Fs(t),y(e,S);E()}))}));E()}}}},Xs=function(e){var t=e.segment,n=e.progressFn;return e.trackInfoFn,e.timingInfoFn,e.videoSegmentTimingInfoFn,e.audioSegmentTimingInfoFn,e.id3Fn,e.captionsFn,e.isEndOfTimeline,e.endedTimelineFn,e.dataFn,function(e){if(!e.target.aborted)return t.stats=ua.mergeOptions(t.stats,function(e){var t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n}(e)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),n(e,t)}},Ks=function(e){var t=e.xhr,n=e.xhrOptions,r=e.decryptionWorker,o=e.segment,l=e.abortFn,c=e.progressFn,d=e.trackInfoFn,h=e.timingInfoFn,f=e.videoSegmentTimingInfoFn,m=e.audioSegmentTimingInfoFn,v=e.id3Fn,y=e.captionsFn,_=e.isEndOfTimeline,T=e.endedTimelineFn,w=e.dataFn,S=e.doneFn,E=e.onTransmuxerLog,x=[],k=Gs({activeXhrs:x,decryptionWorker:r,trackInfoFn:d,timingInfoFn:h,videoSegmentTimingInfoFn:f,audioSegmentTimingInfoFn:m,id3Fn:v,captionsFn:y,isEndOfTimeline:_,endedTimelineFn:T,dataFn:w,doneFn:S,onTransmuxerLog:E});if(o.key&&!o.key.bytes){var C=[o.key];o.map&&!o.map.bytes&&o.map.key&&o.map.key.resolvedUri===o.key.resolvedUri&&C.push(o.map.key);var A=t(ua.mergeOptions(n,{uri:o.key.resolvedUri,responseType:"arraybuffer"}),$s(o,C,k));x.push(A)}if(o.map&&!o.map.bytes){if(o.map.key&&(!o.key||o.key.resolvedUri!==o.map.key.resolvedUri)){var O=t(ua.mergeOptions(n,{uri:o.map.key.resolvedUri,responseType:"arraybuffer"}),$s(o,[o.map.key],k));x.push(O)}var j=ua.mergeOptions(n,{uri:o.map.resolvedUri,responseType:"arraybuffer",headers:as(o.map)}),I=function(e){var t=e.segment,n=e.finishProcessingFn;return function(e,r){var o=zs(e,r);if(o)return n(o,t);var l=new Uint8Array(r.response);if(t.map.key)return t.map.encryptedBytes=l,n(null,t);t.map.bytes=l,Hs(t,(function(e){if(e)return e.xhr=r,e.status=r.status,n(e,t);n(null,t)}))}}({segment:o,finishProcessingFn:k}),P=t(j,I);x.push(P)}var L=ua.mergeOptions(n,{uri:o.part&&o.part.resolvedUri||o.resolvedUri,responseType:"arraybuffer",headers:as(o)}),M=t(L,Ws({segment:o,finishProcessingFn:k,responseType:L.responseType}));M.addEventListener("progress",Xs({segment:o,progressFn:c,trackInfoFn:d,timingInfoFn:h,videoSegmentTimingInfoFn:f,audioSegmentTimingInfoFn:m,id3Fn:v,captionsFn:y,isEndOfTimeline:_,endedTimelineFn:T,dataFn:w})),x.push(M);var D={};return x.forEach((function(e){e.addEventListener("loadend",function(e){var t=e.loadendState,n=e.abortFn;return function(e){e.target.aborted&&n&&!t.calledAbortFn&&(n(),t.calledAbortFn=!0)}}({loadendState:D,abortFn:l}))})),function(){return Fs(x)}},Qs=ha("CodecUtils"),Js=function(e,t){var n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},Zs=function(e){var t={};return e.forEach((function(e){var n=e.mediaType,r=e.type,details=e.details;t[n]=t[n]||[],t[n].push(Object(D.i)(""+r+details))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return Qs("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(t[e]=null);t[e]=t[e][0]})),t},eo=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},to=function(e,t){var n=t.attributes||{},r=Zs(function(e){var t=e.attributes||{};if(t.CODECS)return Object(D.h)(t.CODECS)}(t)||[]);if(Js(e,t)&&!r.audio&&!function(e,t){if(!Js(e,t))return!0;var n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(var o in r)if(!r[o].uri&&!r[o].playlists)return!0;return!1}(e,t)){var o=Zs(Object(D.d)(e,n.AUDIO)||[]);o.audio&&(r.audio=o.audio)}return r},io=ha("PlaylistSelector"),no=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},ro=function(e,t){if(!e)return"";var n=l.a.getComputedStyle(e);return n?n[t]:""},ao=function(e,t){var n=e.slice();e.sort((function(e,r){var o=t(e,r);return 0===o?n.indexOf(e)-n.indexOf(r):o}))},so=function(e,t){var n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||l.a.Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||l.a.Number.MAX_VALUE)},oo=function(e,t,n,r,o,c){if(e){var d={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:o},h=e.playlists;Fa.isAudioOnly(e)&&(h=c.getAudioTrackPlaylists_(),d.audioOnly=!0);var f=h.map((function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||l.a.Number.MAX_VALUE,width:t,height:n,playlist:e}}));ao(f,(function(e,t){return e.bandwidth-t.bandwidth}));var m=(f=f.filter((function(e){return!Fa.isIncompatible(e.playlist)}))).filter((function(e){return Fa.isEnabled(e.playlist)}));m.length||(m=f.filter((function(e){return!Fa.isDisabled(e.playlist)})));var v=m.filter((function(e){return e.bandwidth*ws.BANDWIDTH_VARIANCE<t})),y=v[v.length-1],_=v.filter((function(e){return e.bandwidth===y.bandwidth}))[0];if(!1===o){var T=_||m[0]||f[0];if(T&&T.playlist){var w="sortedPlaylistReps";return _&&(w="bandwidthBestRep"),m[0]&&(w="enabledPlaylistReps"),io("choosing "+no(T)+" using "+w+" with options",d),T.playlist}return io("could not choose a playlist with options",d),null}var S=v.filter((function(e){return e.width&&e.height}));ao(S,(function(e,t){return e.width-t.width}));var E=S.filter((function(e){return e.width===n&&e.height===r}));y=E[E.length-1];var x,k,C,A,O=E.filter((function(e){return e.bandwidth===y.bandwidth}))[0];if(O||(k=(x=S.filter((function(e){return e.width>n||e.height>r}))).filter((function(e){return e.width===x[0].width&&e.height===x[0].height})),y=k[k.length-1],C=k.filter((function(e){return e.bandwidth===y.bandwidth}))[0]),c.experimentalLeastPixelDiffSelector){var j=S.map((function(e){return e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e}));ao(j,(function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff})),A=j[0]}var I=A||C||O||_||m[0]||f[0];if(I&&I.playlist){var P="sortedPlaylistReps";return A?P="leastPixelDiffRep":C?P="resolutionPlusOneRep":O?P="resolutionBestRep":_?P="bandwidthBestRep":m[0]&&(P="enabledPlaylistReps"),io("choosing "+no(I)+" using "+P+" with options",d),I.playlist}return io("could not choose a playlist with options",d),null}},lo=function(){var e=this.useDevicePixelRatio&&l.a.devicePixelRatio||1;return oo(this.playlists.master,this.systemBandwidth,parseInt(ro(this.tech_.el(),"width"),10)*e,parseInt(ro(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},uo=function(e){var t=e.inbandTextTracks,n=e.metadataArray,r=e.timestampOffset,o=e.videoDuration;if(n){var c=l.a.WebKitDataCue||l.a.VTTCue,d=t.metadataTrack_;if(d&&(n.forEach((function(e){var time=e.cueTime+r;!("number"!=typeof time||l.a.isNaN(time)||time<0)&&time<1/0&&e.frames.forEach((function(e){var t=new c(time,time,e.value||e.url||e.data||"");t.frame=e,t.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return ua.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return ua.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return ua.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(t),d.addCue(t)}))})),d.cues&&d.cues.length)){for(var h=d.cues,f=[],i=0;i<h.length;i++)h[i]&&f.push(h[i]);var m=f.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),v=Object.keys(m).sort((function(a,b){return Number(a)-Number(b)}));v.forEach((function(e,t){var n=m[e],r=Number(v[t+1])||o;n.forEach((function(e){e.endTime=r}))}))}}},co=function(e,t,track){var i,n;if(track&&track.cues)for(i=track.cues.length;i--;)(n=track.cues[i]).startTime>=e&&n.endTime<=t&&track.removeCue(n)},ho=function(e){return"number"==typeof e&&isFinite(e)},po=1/60,fo=function(e){var t=e.startOfSegment,n=e.duration,r=e.segment,o=e.part,l=e.playlist,c=l.mediaSequence,d=l.id,h=l.segments,f=void 0===h?[]:h,m=e.mediaIndex,v=e.partIndex,y=e.timeline,_=f.length-1,T="mediaIndex/partIndex increment";e.getMediaInfoForTime?T="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(T="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(T+=" with independent "+e.independent);var w="number"==typeof v,S=e.segment.uri?"segment":"pre-segment",E=w?ka({preloadSegment:r})-1:0;return S+" ["+(c+m)+"/"+(c+_)+"]"+(w?" part ["+v+"/"+E+"]":"")+" segment start/end ["+r.start+" => "+r.end+"]"+(w?" part start/end ["+o.start+" => "+o.end+"]":"")+" startOfSegment ["+t+"] duration ["+n+"] timeline ["+y+"] selected by ["+T+"] playlist ["+d+"]"},mo=function(e){return e+"TimingInfo"},go=function(e){var t=e.timelineChangeController,n=e.currentTimeline,r=e.segmentTimeline,o=e.loaderType,l=e.audioDisabled;if(n===r)return!1;if("audio"===o){var c=t.lastTimelineChange({type:"main"});return!c||c.to!==r}if("main"===o&&l){var d=t.pendingTimelineChange({type:"audio"});return!d||d.to!==r}return!1},vo=function(e){var t=e.segmentDuration,n=e.maxDuration;return!!t&&Math.round(t)>n+pa},yo=function(e,t){if("hls"!==t)return null;var n,r,o=(n={audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo},r=0,["video","audio"].forEach((function(e){var t=n[e+"TimingInfo"];if(t){var o,c=t.start,d=t.end;"bigint"==typeof c||"bigint"==typeof d?o=l.a.BigInt(d)-l.a.BigInt(c):"number"==typeof c&&"number"==typeof d&&(o=d-c),void 0!==o&&o>r&&(r=o)}})),"bigint"==typeof r&&r<Number.MAX_SAFE_INTEGER&&(r=Number(r)),r);if(!o)return null;var c=e.playlist.targetDuration,d=vo({segmentDuration:o,maxDuration:2*c}),h=vo({segmentDuration:o,maxDuration:c}),f="Segment with index "+e.mediaIndex+" from playlist "+e.playlist.id+" has a duration of "+o+" when the reported duration is "+e.duration+" and the target duration is "+c+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return d||h?{severity:d?"warn":"info",message:f}:null},bo=function(e){function t(t,n){var r;if(r=e.call(this)||this,!t)throw new TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");return r.bandwidth=t.bandwidth,r.throughput={rate:0,count:0},r.roundTrip=NaN,r.resetStats_(),r.mediaIndex=null,r.partIndex=null,r.hasPlayed_=t.hasPlayed,r.currentTime_=t.currentTime,r.seekable_=t.seekable,r.seeking_=t.seeking,r.duration_=t.duration,r.mediaSource_=t.mediaSource,r.vhs_=t.vhs,r.loaderType_=t.loaderType,r.currentMediaInfo_=void 0,r.startingMediaInfo_=void 0,r.segmentMetadataTrack_=t.segmentMetadataTrack,r.goalBufferLength_=t.goalBufferLength,r.sourceType_=t.sourceType,r.sourceUpdater_=t.sourceUpdater,r.inbandTextTracks_=t.inbandTextTracks,r.state_="INIT",r.timelineChangeController_=t.timelineChangeController,r.shouldSaveSegmentTimingInfo_=!0,r.parse708captions_=t.parse708captions,r.captionServices_=t.captionServices,r.experimentalExactManifestTimings=t.experimentalExactManifestTimings,r.checkBufferTimeout_=null,r.error_=void 0,r.currentTimeline_=-1,r.pendingSegment_=null,r.xhrOptions_=null,r.pendingSegments_=[],r.audioDisabled_=!1,r.isPendingTimestampOffset_=!1,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=ua.browser.IE_VERSION>=11,r.appendInitSegment_={audio:!0,video:!0},r.playlistOfLastInitSegment_={audio:null,video:null},r.callQueue_=[],r.loadQueue_=[],r.metadataQueue_={id3:[],caption:[]},r.waitingOnRemove_=!1,r.quotaExceededErrorRetryTimeout_=null,r.activeInitSegmentId_=null,r.initSegments_={},r.cacheEncryptionKeys_=t.cacheEncryptionKeys,r.keyCache_={},r.decrypter_=t.decrypter,r.syncController_=t.syncController,r.syncPoint_={segmentIndex:0,time:0},r.transmuxer_=r.createTransmuxer_(),r.triggerSyncInfoUpdate_=function(){return r.trigger("syncinfoupdate")},r.syncController_.on("syncinfoupdate",r.triggerSyncInfoUpdate_),r.mediaSource_.addEventListener("sourceopen",(function(){r.isEndOfStream_()||(r.ended_=!1)})),r.fetchAtBuffer_=!1,r.logger_=ha("SegmentLoader["+r.loaderType_+"]"),Object.defineProperty(_()(r),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),r.sourceUpdater_.on("ready",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"main"===r.loaderType_&&r.timelineChangeController_.on("pendingtimelinechange",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"audio"===r.loaderType_&&r.timelineChangeController_.on("timelinechange",(function(){r.hasEnoughInfoToLoad_()&&r.processLoadQueue_(),r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),r}w()(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return Ds({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},n.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},n.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&l.a.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},n.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},n.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},n.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,l.a.clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},n.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},n.error=function(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},n.endOfStream=function(){this.ended_=!0,this.transmuxer_&&Ms(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},n.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return ua.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,n=e.hasVideo,r=e.isMuxed;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},n.initSegmentForMap=function(map,e){if(void 0===e&&(e=!1),!map)return null;var t=cs(map),n=this.initSegments_[t];return e&&!n&&map.bytes&&(this.initSegments_[t]=n={resolvedUri:map.resolvedUri,byterange:map.byterange,bytes:map.bytes,tracks:map.tracks,timescales:map.timescales}),n||map},n.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=ds(e),r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});var o={resolvedUri:(r||e).resolvedUri};return r&&(o.bytes=r.bytes),o},n.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},n.load=function(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.playlist=function(e,t){if(void 0===t&&(t={}),e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var o=null;if(n&&(n.id?o=n.id:n.uri&&(o=n.uri)),this.logger_("playlist update ["+o+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var l=e.mediaSequence-n.mediaSequence;if(this.logger_("live window shift ["+l+"]"),null!==this.mediaIndex)if(this.mediaIndex-=l,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var c=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!c.parts||!c.parts.length||!c.parts[this.partIndex])){var d=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=d}}r&&(r.mediaIndex-=l,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}},n.pause=function(){this.checkBufferTimeout_&&(l.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},n.paused=function(){return null===this.checkBufferTimeout_},n.resetEverything=function(e){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},n.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},n.resyncLoader=function(){this.transmuxer_&&Ms(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},n.remove=function(e,t,n,r){if(void 0===n&&(n=function(){}),void 0===r&&(r=!1),t===1/0&&(t=this.duration_()),t<=e)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var o=1,l=function(){0===--o&&n()};for(var track in!r&&this.audioDisabled_||(o++,this.sourceUpdater_.removeAudio(e,t,l)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=function(e,t,n,r){for(var o=Math.ceil((t-r)*H.ONE_SECOND_IN_TS),l=Math.ceil((n-r)*H.ONE_SECOND_IN_TS),c=e.slice(),i=e.length;i--&&!(e[i].pts<=l););if(-1===i)return c;for(var d=i+1;d--&&!(e[d].pts<=o););return d=Math.max(d,0),c.splice(d,i-d+1),c}(this.gopBuffer_,e,t,this.timeMapping_),o++,this.sourceUpdater_.removeVideo(e,t,l)),this.inbandTextTracks_)co(e,t,this.inbandTextTracks_[track]);co(e,t,this.segmentMetadataTrack_),l()}else this.logger_("skipping remove because no source updater or starting media info")},n.monitorBuffer_=function(){this.checkBufferTimeout_&&l.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=l.a.setTimeout(this.monitorBufferTick_.bind(this),1)},n.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&l.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=l.a.setTimeout(this.monitorBufferTick_.bind(this),500)},n.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},n.isEndOfStream_=function(e,t,n){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===n&&(n=this.partIndex),!t||!this.mediaSource_)return!1;var r="number"==typeof e&&t.segments[e],o=e+1===t.segments.length,l=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&o&&l},n.chooseNextRequest_=function(){var e=this.buffered_(),t=_a(e)||0,n=Ta(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,o=n>=this.goalBufferLength_(),l=this.playlist_.segments;if(!l.length||r||o)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var c={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(c.isSyncRequest)c.mediaIndex=function(e,t,n){t=t||[];for(var r=[],time=0,i=0;i<t.length;i++){var o=t[i];if(e===o.timeline&&(r.push(i),(time+=o.duration)>n))return i}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,l,t);else if(null!==this.mediaIndex){var d=l[this.mediaIndex],h="number"==typeof this.partIndex?this.partIndex:-1;c.startOfSegment=d.end?d.end:t,d.parts&&d.parts[h+1]?(c.mediaIndex=this.mediaIndex,c.partIndex=h+1):c.mediaIndex=this.mediaIndex+1}else{var f=Fa.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),m=f.segmentIndex,v=f.startTime,y=f.partIndex;c.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),c.mediaIndex=m,c.startOfSegment=v,c.partIndex=y}var _=l[c.mediaIndex],T=_&&"number"==typeof c.partIndex&&_.parts&&_.parts[c.partIndex];if(!_||"number"==typeof c.partIndex&&!T)return null;if("number"!=typeof c.partIndex&&_.parts&&(c.partIndex=0,T=_.parts[0]),!n&&T&&!T.independent)if(0===c.partIndex){var w=l[c.mediaIndex-1],S=w.parts&&w.parts.length&&w.parts[w.parts.length-1];S&&S.independent&&(c.mediaIndex-=1,c.partIndex=w.parts.length-1,c.independent="previous segment")}else _.parts[c.partIndex-1].independent&&(c.partIndex-=1,c.independent="previous part");var E=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return c.mediaIndex>=l.length-1&&E&&!this.seeking_()?null:this.generateSegmentInfo_(c)},n.generateSegmentInfo_=function(e){var t=e.independent,n=e.playlist,r=e.mediaIndex,o=e.startOfSegment,l=e.isSyncRequest,c=e.partIndex,d=e.forceTimestampOffset,h=e.getMediaInfoForTime,f=n.segments[r],m="number"==typeof c&&f.parts[c],v={requestId:"segment-loader-"+Math.random(),uri:m&&m.resolvedUri||f.resolvedUri,mediaIndex:r,partIndex:m?c:null,isSyncRequest:l,startOfSegment:o,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:f.timeline,duration:m&&m.duration||f.duration,segment:f,part:m,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:h,independent:t},y=void 0!==d?d:this.isPendingTimestampOffset_;v.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:f.timeline,currentTimeline:this.currentTimeline_,startOfSegment:o,buffered:this.buffered_(),overrideCheck:y});var _=_a(this.sourceUpdater_.audioBuffered());return"number"==typeof _&&(v.audioAppendStart=_-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(v.gopsToAlignWith=function(e,t,n){if(null==t||!e.length)return[];var i,r=Math.ceil((t-n+3)*H.ONE_SECOND_IN_TS);for(i=0;i<e.length&&!(e[i].pts>r);i++);return e.slice(i)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),v},n.timestampOffsetForSegment_=function(e){return n=(t=e).segmentTimeline,r=t.currentTimeline,o=t.startOfSegment,l=t.buffered,t.overrideCheck||n!==r?n<r?o:l.length?l.end(l.length-1):o:null;var t,n,r,o,l},n.earlyAbortWhenNeeded_=function(e){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)){var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,o=Fa.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),l=function(e,t,n){return void 0===n&&(n=1),((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(!(o<=l)){var c=function(e){var t=e.master,n=e.currentTime,r=e.bandwidth,o=e.duration,l=e.segmentDuration,c=e.timeUntilRebuffer,d=e.currentTimeline,h=e.syncController,f=t.playlists.filter((function(e){return!Fa.isIncompatible(e)})),m=f.filter(Fa.isEnabled);m.length||(m=f.filter((function(e){return!Fa.isDisabled(e)})));var v=m.filter(Fa.hasAttribute.bind(null,"BANDWIDTH")).map((function(e){var t=h.getSyncPoint(e,o,d,n)?1:2;return{playlist:e,rebufferingImpact:Fa.estimateSegmentRequestTime(l,r,e)*t-c}})),y=v.filter((function(e){return e.rebufferingImpact<=0}));return ao(y,(function(a,b){return so(b.playlist,a.playlist)})),y.length?y[0]:(ao(v,(function(a,b){return a.rebufferingImpact-b.rebufferingImpact})),v[0]||null)}({master:this.vhs_.playlists.master,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:l,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(c){var d=o-l-c.rebufferingImpact,h=.5;l<=pa&&(h=1),!c.playlist||c.playlist.uri===this.playlist_.uri||d<h||(this.bandwidth=c.playlist.attributes.BANDWIDTH*ws.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},n.handleAbort_=function(e){this.logger_("Aborting "+fo(e)),this.mediaRequestsAborted+=1},n.handleProgress_=function(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")},n.handleTrackInfo_=function(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(a,b){if(!a&&!b||!a&&b||a&&!b)return!1;if(a===b)return!0;var e=Object.keys(a).sort(),t=Object.keys(b).sort();if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++){var n=e[i];if(n!==t[i])return!1;if(a[n]!==b[n])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},n.handleTimingInfo_=function(e,t,n,time){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){var r=this.pendingSegment_,o=mo(t);r[o]=r[o]||{},r[o][n]=time,this.logger_("timinginfo: "+t+" - "+n+" - "+time),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},n.handleCaptions_=function(e,t){var n=this;if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(0!==t.length)if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),o={};t.forEach((function(caption){o[caption.stream]=o[caption.stream]||{startTime:1/0,captions:[],endTime:0};var e=o[caption.stream];e.startTime=Math.min(e.startTime,caption.startTime+r),e.endTime=Math.max(e.endTime,caption.endTime+r),e.captions.push(caption)})),Object.keys(o).forEach((function(e){var t=o[e],c=t.startTime,d=t.endTime,h=t.captions,f=n.inbandTextTracks_;n.logger_("adding cues from "+c+" -> "+d+" for "+e),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);var track=t.textTracks().getTrackById(r);if(track)e[n]=track;else{var label=n,o=n,l=!1,c=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];c&&(label=c.label,o=c.language,l=c.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:l,label:label,language:o},!1).track}}}(f,n.vhs_.tech_,e),co(c,d,f[e]),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var o=l.a.WebKitDataCue||l.a.VTTCue;n.forEach((function(caption){var track=caption.stream;t[track].addCue(new o(caption.startTime+r,caption.endTime+r,caption.text))}))}}({captionArray:h,inbandTextTracks:f,timestampOffset:r})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));else this.logger_("SegmentLoader received no captions from a caption event")},n.handleId3_=function(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(e,t,n){e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)}(this.inbandTextTracks_,n,this.vhs_.tech_),uo({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n))},n.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(e){return e()})),this.metadataQueue_.caption.forEach((function(e){return e()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},n.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach((function(e){return e()}))},n.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach((function(e){return e()}))},n.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!go({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},n.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},n.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var n=t.hasAudio,r=t.hasVideo,o=t.isMuxed;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!o&&!e.audioTimingInfo)&&!go({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[mo(t.type)].start;else{var r,o=this.getCurrentMediaInfo_(),l="main"===this.loaderType_&&o&&o.hasVideo;l&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:l,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});var c=this.chooseNextRequest_();if(c.mediaIndex!==n.mediaIndex||c.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},n.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},n.getInitSegmentAndUpdateState_=function(e){var t=e.type,n=e.initSegment,map=e.map,r=e.playlist;if(map){var o=cs(map);if(this.activeInitSegmentId_===o)return null;n=this.initSegmentForMap(map,!0).bytes,this.activeInitSegmentId_=o}return n&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=r,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,n):null},n.handleQuotaExceededError_=function(e,t){var n=this,r=e.segmentInfo,o=e.type,c=e.bytes,d=this.sourceUpdater_.audioBuffered(),h=this.sourceUpdater_.videoBuffered();d.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+ba(d).join(", ")),h.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+ba(h).join(", "));var f=d.length?d.start(0):0,m=d.length?d.end(d.length-1):0,v=h.length?h.start(0):0,y=h.length?h.end(h.length-1):0;if(m-f<=1&&y-v<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+c.byteLength+", audio buffer: "+ba(d).join(", ")+", video buffer: "+ba(h).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:r,type:o,bytes:c}));var _=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+_),this.remove(0,_,(function(){n.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=l.a.setTimeout((function(){n.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),n.quotaExceededErrorRetryTimeout_=null,n.processCallQueue_()}),1e3)}),!0)},n.handleAppendError_=function(e,t){var n=e.segmentInfo,r=e.type,o=e.bytes;t&&(22!==t.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(r+" append of "+o.length+"b failed for segment #"+n.mediaIndex+" in playlist "+n.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:n,type:r,bytes:o}))},n.appendToSourceBuffer_=function(e){var t,n,r,o=e.segmentInfo,l=e.type,c=e.initSegment,data=e.data,d=e.bytes;if(!d){var h=[data],f=data.byteLength;c&&(h.unshift(c),f+=c.byteLength),r=0,(t={bytes:f,segments:h}).bytes&&(n=new Uint8Array(t.bytes),t.segments.forEach((function(e){n.set(e,r),r+=e.byteLength}))),d=n}this.sourceUpdater_.appendBuffer({segmentInfo:o,type:l,bytes:d},this.handleAppendError_.bind(this,{segmentInfo:o,type:l,bytes:d}))},n.handleSegmentTimingInfo_=function(e,t,n){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var r=this.pendingSegment_.segment,o=e+"TimingInfo";r[o]||(r[o]={}),r[o].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[o].transmuxedPresentationStart=n.start.presentation,r[o].transmuxedDecodeStart=n.start.decode,r[o].transmuxedPresentationEnd=n.end.presentation,r[o].transmuxedDecodeEnd=n.end.decode,r[o].baseMediaDecodeTime=n.baseMediaDecodeTime}},n.appendData_=function(e,t){var n=t.type,data=t.data;if(data&&data.byteLength&&("audio"!==n||!this.audioDisabled_)){var r=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:r,data:data})}},n.loadSegment_=function(e){var t=this;this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((function(){var n=f()({},e,{forceTimestampOffset:!0});f()(e,t.generateSegmentInfo_(n)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)}))},n.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var n=this.createSimplifiedSegmentObj_(e),r=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),o=null!==this.mediaIndex,l=e.timeline!==this.currentTimeline_&&e.timeline>0,c=r||o&&l;this.logger_("Requesting "+fo(e)),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=Ks({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:c,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(n){var r=n.message,o=n.level,l=n.stream;t.logger_(fo(e)+" logged from transmuxer stream "+l+" as a "+o+": "+r)}})},n.trimBackBuffer_=function(e){var t=function(e,t,n){var r=t-ws.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));var o=t-n;return Math.min(o,r)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},n.createSimplifiedSegmentObj_=function(e){var t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},o=e.playlist.segments[e.mediaIndex-1];if(o&&o.timeline===t.timeline&&(o.videoTimingInfo?r.baseStartTime=o.videoTimingInfo.transmuxedDecodeEnd:o.audioTimingInfo&&(r.baseStartTime=o.audioTimingInfo.transmuxedDecodeEnd)),t.key){var l=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=l}return t.map&&(r.map=this.initSegmentForMap(t.map)),r},n.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},n.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<po?this.logger_("Ignoring segment's bandwidth because its duration of "+e+" is less than the min to record 0.016666666666666666"):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)},n.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate")},n.segmentRequestFinished_=function(e,t,n){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));else if(this.saveTransferStats_(t.stats),this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId){if(e){if(this.pendingSegment_=null,this.state="READY",e.code===Us)return;return this.pause(),e.code===Bs?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=function(e,t,n){if(!t.length)return e;if(n)return t.slice();for(var r=t[0].pts,i=0;i<e.length&&!(e[i].pts>=r);i++);return e.slice(0,i).concat(t)}(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}},n.setTimeMapping_=function(e){var t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)},n.updateMediaSecondsLoaded_=function(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},n.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},n.trueSegmentStart_=function(e){var t=e.currentStart,n=e.playlist,r=e.mediaIndex,o=e.firstVideoFrameTimeForData,l=e.currentVideoTimestampOffset,c=e.useVideoTimingInfo,d=e.videoTimingInfo,h=e.audioTimingInfo;if(void 0!==t)return t;if(!c)return h.start;var f=n.segments[r-1];return 0!==r&&f&&void 0!==f.start&&f.end===o+l?d.start:o},n.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var n=t.hasAudio,r=t.hasVideo,o=t.isMuxed,l="main"===this.loaderType_&&r,c=!this.audioDisabled_&&n&&!o;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);l&&e.waitingOnAppends++,c&&e.waitingOnAppends++,l&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),c&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},n.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},n.checkForIllegalMediaSwitch=function(e){var t=function(e,t,n){return"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},n.updateSourceBufferTimestampOffset_=function(e){if(null!==e.timestampOffset&&"number"==typeof e.timingInfo.start&&!e.changedTimestampOffset&&"main"===this.loaderType_){var t=!1;e.timestampOffset-=e.timingInfo.start,e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}},n.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"==typeof n.end?n.end:n.start+e.duration)},n.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});var t=yo(e,this.sourceType_);if(t&&("warn"===t.severity?ua.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",!e.isSyncRequest||(this.trigger("syncinfoupdate"),e.hasAppendedData_)){this.logger_("Appended "+fo(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");var n=e.segment,r=e.part,o=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,l=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(o||l)return this.logger_("bad "+(o?"segment":"part")+" "+fo(e)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+fo(e))},n.recordThroughput_=function(e){if(e.duration<po)this.logger_("Ignoring segment's throughput because its duration of "+e.duration+" is less than the min to record 0.016666666666666666");else{var t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}},n.addSegmentMetadataCue_=function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if(ho(n)&&ho(r)){co(n,r,this.segmentMetadataTrack_);var o=l.a.WebKitDataCue||l.a.VTTCue,c={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},d=new o(n,r,JSON.stringify(c));d.value=c,this.segmentMetadataTrack_.addCue(d)}}},t}(ua.EventTarget);function _o(){}var To,wo=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))},So=["video","audio"],Eo=function(e,t){var n=t[e+"Buffer"];return n&&n.updating||t.queuePending[e]},xo=function e(t,n){if(0!==n.queue.length){var r=0,o=n.queue[r];if("mediaSource"!==o.type){if("mediaSource"!==t&&n.ready()&&"closed"!==n.mediaSource.readyState&&!Eo(t,n)){if(o.type!==t){if(r=function(e,t){for(var i=0;i<t.length;i++){var n=t[i];if("mediaSource"===n.type)return null;if(n.type===e)return i}return null}(t,n.queue),null===r)return;o=n.queue[r]}return n.queue.splice(r,1),n.queuePending[t]=o,o.action(t,n),o.doneFn?void 0:(n.queuePending[t]=null,void e(t,n))}}else n.updating()||"closed"===n.mediaSource.readyState||(n.queue.shift(),o.action(n),o.doneFn&&o.doneFn(),e("audio",n),e("video",n))}},ko=function(e,t){var n=t[e+"Buffer"],r=wo(e);n&&(n.removeEventListener("updateend",t["on"+r+"UpdateEnd_"]),n.removeEventListener("error",t["on"+r+"Error_"]),t.codecs[e]=null,t[e+"Buffer"]=null)},Co=function(e,t){return e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t)},Ao=function(e,t,n){return function(r,o){var l=o[r+"Buffer"];if(Co(o.mediaSource,l)){o.logger_("Appending segment "+t.mediaIndex+"'s "+e.length+" b
2ytes to "+r+"Buffer");try{l.appendBuffer(e)}catch(e){o.logger_("Error with code "+e.code+" "+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+t.mediaIndex+" to "+r+"Buffer"),o.queuePending[r]=null,n(e)}}}},Oo=function(e,t){return function(n,r){var o=r[n+"Buffer"];if(Co(r.mediaSource,o)){r.logger_("Removing "+e+" to "+t+" from "+n+"Buffer");try{o.remove(e,t)}catch(o){r.logger_("Remove "+e+" to "+t+" from "+n+"Buffer failed")}}}},jo=function(e){return function(t,n){var r=n[t+"Buffer"];Co(n.mediaSource,r)&&(n.logger_("Setting "+t+"timestampOffset to "+e),r.timestampOffset=e)}},Io=function(e){return function(t,n){e()}},Po=function(e){return function(t){if("open"===t.mediaSource.readyState){t.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{t.mediaSource.endOfStream(e)}catch(e){ua.log.warn("Failed to call media source endOfStream",e)}}}},Lo=function(e){return function(t){t.logger_("Setting mediaSource duration to "+e);try{t.mediaSource.duration=e}catch(e){ua.log.warn("Failed to set media source duration",e)}}},Mo=function(){return function(e,t){if("open"===t.mediaSource.readyState){var n=t[e+"Buffer"];if(Co(t.mediaSource,n)){t.logger_("calling abort on "+e+"Buffer");try{n.abort()}catch(t){ua.log.warn("Failed to abort on "+e+"Buffer",t)}}}}},Do=function(e,t){return function(n){var r=wo(e),o=Object(D.e)(t);n.logger_("Adding "+e+"Buffer with codec "+t+" to mediaSource");var l=n.mediaSource.addSourceBuffer(o);l.addEventListener("updateend",n["on"+r+"UpdateEnd_"]),l.addEventListener("error",n["on"+r+"Error_"]),n.codecs[e]=t,n[e+"Buffer"]=l}},No=function(e){return function(t){var n=t[e+"Buffer"];if(ko(e,t),Co(t.mediaSource,n)){t.logger_("Removing "+e+"Buffer with codec "+t.codecs[e]+" from mediaSource");try{t.mediaSource.removeSourceBuffer(n)}catch(t){ua.log.warn("Failed to removeSourceBuffer "+e+"Buffer",t)}}}},Ro=function(e){return function(t,n){var r=n[t+"Buffer"],o=Object(D.e)(e);Co(n.mediaSource,r)&&n.codecs[t]!==e&&(n.logger_("changing "+t+"Buffer codec from "+n.codecs[t]+" to "+e),r.changeType(o),n.codecs[t]=e)}},Bo=function(e){var t=e.type,n=e.sourceUpdater,r=e.action,o=e.doneFn,l=e.name;n.queue.push({type:t,action:r,doneFn:o,name:l}),xo(t,n)},Uo=function(e,t){return function(n){if(t.queuePending[e]){var r=t.queuePending[e].doneFn;t.queuePending[e]=null,r&&r(t[e+"Error_"])}xo(e,t)}},Fo=function(e){function t(t){var n;return(n=e.call(this)||this).mediaSource=t,n.sourceopenListener_=function(){return xo("mediaSource",_()(n))},n.mediaSource.addEventListener("sourceopen",n.sourceopenListener_),n.logger_=ha("SourceUpdater"),n.audioTimestampOffset_=0,n.videoTimestampOffset_=0,n.queue=[],n.queuePending={audio:null,video:null},n.delayedAudioAppendQueue_=[],n.videoAppendQueued_=!1,n.codecs={},n.onVideoUpdateEnd_=Uo("video",_()(n)),n.onAudioUpdateEnd_=Uo("audio",_()(n)),n.onVideoError_=function(e){n.videoError_=e},n.onAudioError_=function(e){n.audioError_=e},n.createdSourceBuffers_=!1,n.initializedEme_=!1,n.triggeredReady_=!1,n}w()(t,e);var n=t.prototype;return n.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},n.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},n.hasInitializedAnyEme=function(){return this.initializedEme_},n.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},n.createSourceBuffers=function(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}
vendor: 42,135 bytes, line 2
2,n.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},n.addSourceBuffer=function(e,t){Bo({type:"mediaSource",sourceUpdater:this,action:Do(e,t),name:"addSourceBuffer"})},n.abort=function(e){Bo({type:e,sourceUpdater:this,action:Mo(e),name:"abort"})},n.removeSourceBuffer=function(e){this.canRemoveSourceBuffer()?Bo({type:"mediaSource",sourceUpdater:this,action:No(e),name:"removeSourceBuffer"}):ua.log.error("removeSourceBuffer is not supported!")},n.canRemoveSourceBuffer=function(){return!ua.browser.IE_VERSION&&!ua.browser.IS_FIREFOX&&l.a.MediaSource&&l.a.MediaSource.prototype&&"function"==typeof l.a.MediaSource.prototype.removeSourceBuffer},t.canChangeType=function(){return l.a.SourceBuffer&&l.a.SourceBuffer.prototype&&"function"==typeof l.a.SourceBuffer.prototype.changeType},n.canChangeType=function(){return this.constructor.canChangeType()},n.changeType=function(e,t){this.canChangeType()?Bo({type:e,sourceUpdater:this,action:Ro(t),name:"changeType"}):ua.log.error("changeType is not supported!")},n.addOrChangeSourceBuffers=function(e){var t=this;if(!e||"object"!=typeof e||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((function(n){var r=e[n];if(!t.hasCreatedSourceBuffers())return t.addSourceBuffer(n,r);t.canChangeType()&&t.changeType(n,r)}))},n.appendBuffer=function(e,t){var n=this,r=e.segmentInfo,o=e.type,l=e.bytes;if(this.processedAppend_=!0,"audio"===o&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_("delayed audio append of "+l.length+" until video append");if(Bo({type:o,sourceUpdater:this,action:Ao(l,r||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===o){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var c=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+c.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,c.forEach((function(e){n.appendBuffer.apply(n,e)}))}},n.audioBuffered=function(){return Co(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:ua.createTimeRange()},n.videoBuffered=function(){return Co(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:ua.createTimeRange()},n.buffered=function(){var video=Co(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,audio=Co(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return audio&&!video?this.audioBuffered():video&&!audio?this.videoBuffered():function(e,t){var n=null,r=null,o=0,l=[],c=[];if(!(e&&e.length&&t&&t.length))return ua.createTimeRange();for(var d=e.length;d--;)l.push({time:e.start(d),type:"start"}),l.push({time:e.end(d),type:"end"});for(d=t.length;d--;)l.push({time:t.start(d),type:"start"}),l.push({time:t.end(d),type:"end"});for(l.sort((function(a,b){return a.time-b.time})),d=0;d<l.length;d++)"start"===l[d].type?2==++o&&(n=l[d].time):"end"===l[d].type&&1==--o&&(r=l[d].time),null!==n&&null!==r&&(c.push([n,r]),n=null,r=null);return ua.createTimeRanges(c)}(this.audioBuffered(),this.videoBuffered())},n.setDuration=function(e,t){void 0===t&&(t=_o),Bo({type:"mediaSource",sourceUpdater:this,action:Lo(e),name:"duration",doneFn:t})},n.endOfStream=function(e,t){void 0===e&&(e=null),void 0===t&&(t=_o),"string"!=typeof e&&(e=void 0),Bo({type:"mediaSource",sourceUpdater:this,action:Po(e),name:"endOfStream",doneFn:t})},n.removeAudio=function(e,t,n){void 0===n&&(n=_o),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?Bo({type:"audio",sourceUpdater:this,action:Oo(e,t),doneFn:n,name:"remove"}):n()},n.removeVideo=function(e,t,n){void 0===n&&(n=_o),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?Bo({type:"video",sourceUpdater:this,action:Oo(e,t),doneFn:n,name:"remove"}):n()},n.updating=function(){return!(!Eo("audio",this)&&!Eo("video",this))},n.audioTimestampOffset=function(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(Bo({type:"audio",sourceUpdater:this,action:jo(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_},n.videoTimestampOffset=function(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(Bo({type:"video",sourceUpdater:this,action:jo(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_},n.audioQueueCallback=function(e){this.audioBuffer&&Bo({type:"audio",sourceUpdater:this,action:Io(e),name:"callback"})},n.videoQueueCallback=function(e){this.videoBuffer&&Bo({type:"video",sourceUpdater:this,action:Io(e),name:"callback"})},n.dispose=function(){var e=this;this.trigger("dispose"),So.forEach((function(t){e.abort(t),e.canRemoveSourceBuffer()?e.removeSourceBuffer(t):e[t+"QueueCallback"]((function(){return ko(t,e)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},t}(ua.EventTarget),zo=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},$o=new Uint8Array("\n\n".split("").map((function(e){return e.charCodeAt(0)}))),Ho=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).mediaSource_=null,r.subtitlesTrack_=null,r.loaderType_="subtitle",r.featuresNativeTextTracks_=t.featuresNativeTextTracks,r.shouldSaveSegmentTimingInfo_=!1,r}w()(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return null},n.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return ua.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return ua.createTimeRanges([[t,n]])},n.initSegmentForMap=function(map,e){if(void 0===e&&(e=!1),!map)return null;var t=cs(map),n=this.initSegments_[t];if(e&&!n&&map.bytes){var r=$o.byteLength+map.bytes.byteLength,o=new Uint8Array(r);o.set(map.bytes),o.set($o,map.bytes.byteLength),this.initSegments_[t]=n={resolvedUri:map.resolvedUri,byterange:map.byterange,bytes:o}}return n||map},n.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.track=function(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},n.remove=function(e,t){co(e,t,this.subtitlesTrack_)},n.fillBuffer_=function(){var e=this,t=this.chooseNextRequest_();if(t){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline)){return this.syncController_.one("timestampoffset",(function(){e.state="READY",e.paused()||e.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(t)}},n.timestampOffsetForSegment_=function(){return null},n.chooseNextRequest_=function(){return this.skipEmptySegments_(e.prototype.chooseNextRequest_.call(this))},n.skipEmptySegments_=function(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},n.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},n.segmentRequestFinished_=function(e,t,n){var r=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===Bs&&this.handleTimeout_(),e.code===Us?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var o=this.pendingSegment_;this.saveBandwidthRelatedStats_(o.duration,t.stats),this.state="APPENDING",this.trigger("appending");var c=o.segment;if(c.map&&(c.map.bytes=t.map.bytes),o.bytes=t.bytes,"function"!=typeof l.a.WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var d,h=function(){r.subtitlesTrack_.tech_.off("vttjsloaded",d),r.stopForError({message:"Error loading vtt.js"})};return d=function(){r.subtitlesTrack_.tech_.off("vttjserror",h),r.segmentRequestFinished_(e,t,n)},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",d),void this.subtitlesTrack_.tech_.one("vttjserror",h)}c.requested=!0;try{this.parseVTTCues_(o)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(o,this.syncController_.timelines[o.timeline],this.playlist_),o.cues.length?o.timingInfo={start:o.cues[0].startTime,end:o.cues[o.cues.length-1].endTime}:o.timingInfo={start:o.startOfSegment,end:o.startOfSegment+o.duration},o.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");o.byteLength=o.bytes.byteLength,this.mediaSecondsLoaded+=c.duration,o.cues.forEach((function(e){r.subtitlesTrack_.addCue(r.featuresNativeTextTracks_?new l.a.VTTCue(e.startTime,e.endTime,e.text):e)})),function(track){var e=track.cues;if(e)for(var i=0;i<e.length;i++){for(var t=[],n=0,r=0;r<e.length;r++)e[i].startTime===e[r].startTime&&e[i].endTime===e[r].endTime&&e[i].text===e[r].text&&++n>1&&t.push(e[r]);t.length&&t.forEach((function(e){return track.removeCue(e)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},n.handleData_=function(){},n.updateTimingInfoEnd_=function(){},n.parseVTTCues_=function(e){var t,n=!1;"function"==typeof l.a.TextDecoder?t=new l.a.TextDecoder("utf8"):(t=l.a.WebVTT.StringDecoder(),n=!0);var r=new l.a.WebVTT.Parser(l.a,l.a.vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=function(map){e.timestampmap=map},r.onparsingerror=function(e){ua.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=zo(o)),r.parse(o)}var c=e.bytes;n&&(c=zo(c)),r.parse(c),r.flush()},n.updateTimeMapping_=function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var o=e.timestampmap,l=o.MPEGTS/H.ONE_SECOND_IN_TS-o.LOCAL+t.mapping;if(e.cues.forEach((function(e){e.startTime+=l,e.endTime+=l})),!n.syncInfo){var c=e.cues[0].startTime,d=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(c,d-r.duration)}}}else r.empty=!0},t}(bo),Wo=function(track,e){for(var t=track.cues,i=0;i<t.length;i++){var n=t[i];if(e>=n.adStartTime&&e<=n.adEndTime)return n}return null},Vo=[{name:"VOD",run:function(e,t,n,r,o){if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,o){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var l=null,c=null,d=Ea(t);o=o||0;for(var i=0;i<d.length;i++){var h=d[t.endList||0===o?i:d.length-(i+1)],f=h.segment,m=e.timelineToDatetimeMappings[f.timeline];if(m&&f.dateTimeObject){var v=f.dateTimeObject.getTime()/1e3+m;if(f.parts&&"number"==typeof h.partIndex)for(var y=0;y<h.partIndex;y++)v+=f.parts[y].duration;var _=Math.abs(o-v);if(null!==c&&(0===_||c<_))break;c=_,l={time:v,segmentIndex:h.segmentIndex,partIndex:h.partIndex}}}return l}},{name:"Segment",run:function(e,t,n,r,o){var l=null,c=null;o=o||0;for(var d=Ea(t),i=0;i<d.length;i++){var h=d[t.endList||0===o?i:d.length-(i+1)],f=h.segment,m=h.part&&h.part.start||f&&f.start;if(f.timeline===r&&void 0!==m){var v=Math.abs(o-m);if(null!==c&&c<v)break;(!l||null===c||c>=v)&&(c=v,l={time:m,segmentIndex:h.segmentIndex,partIndex:h.partIndex})}}return l}},{name:"Discontinuity",run:function(e,t,n,r,o){var l=null;if(o=o||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var c=null,i=0;i<t.discontinuityStarts.length;i++){var d=t.discontinuityStarts[i],h=t.discontinuitySequence+i+1,f=e.discontinuities[h];if(f){var m=Math.abs(o-f.time);if(null!==c&&c<m)break;(!l||null===c||c>=m)&&(c=m,l={time:f.time,segmentIndex:d,partIndex:null})}}return l}},{name:"Playlist",run:function(e,t,n,r,o){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],qo=function(e){function t(t){var n;return(n=e.call(this)||this).timelines=[],n.discontinuities=[],n.timelineToDatetimeMappings={},n.logger_=ha("SyncController"),n}w()(t,e);var n=t.prototype;return n.getSyncPoint=function(e,t,n,r){var o=this.runStrategies_(e,t,n,r);return o.length?this.selectSyncPoint_(o,{key:"time",value:r}):null},n.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;var r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+ja({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))},n.runStrategies_=function(e,t,n,r){for(var o=[],i=0;i<Vo.length;i++){var l=Vo[i],c=l.run(this,e,t,n,r);c&&(c.strategy=l.name,o.push({strategy:l.name,syncPoint:c}))}return o},n.selectSyncPoint_=function(e,t){for(var n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),o=e[0].strategy,i=1;i<e.length;i++){var l=Math.abs(e[i].syncPoint[t.key]-t.value);l<r&&(r=l,n=e[i].syncPoint,o=e[i].strategy)}return this.logger_("syncPoint for ["+t.key+": "+t.value+"] chosen with strategy ["+o+"]: [time:"+n.time+", segmentIndex:"+n.segmentIndex+("number"==typeof n.partIndex?",partIndex:"+n.partIndex:"")+"]"),n},n.saveExpiredSegmentInfo=function(e,t){var n=t.mediaSequence-e.mediaSequence;if(n>86400)ua.log.warn("Not saving expired segment info. Media sequence gap "+n+" is too large.");else for(var i=n-1;i>=0;i--){var r=e.segments[i];if(r&&void 0!==r.start){t.syncInfo={mediaSequence:e.mediaSequence+i,time:r.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},n.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}},n.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,n=e.shouldSaveTimelineMapping,r=this.calculateSegmentTimeMapping_(t,t.timingInfo,n),o=t.segment;r&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:o.start}));var l=o.dateTimeObject;o.discontinuity&&n&&l&&(this.timelineToDatetimeMappings[o.timeline]=-l.getTime()/1e3)},n.timestampOffsetForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].time},n.mappingForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping},n.calculateSegmentTimeMapping_=function(e,t,n){var r,o,l=e.segment,c=e.part,d=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)d={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=d,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+d.time+"] [mapping: "+d.mapping+"]")),r=e.startOfSegment,o=t.end+d.mapping;else{if(!d)return!1;r=t.start+d.mapping,o=t.end+d.mapping}return c&&(c.start=r,c.end=o),(!l.start||r<l.start)&&(l.start=r),l.end=o,!0},n.saveDiscontinuitySyncInfo_=function(e){var t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(var i=0;i<t.discontinuityStarts.length;i++){var r=t.discontinuityStarts[i],o=t.discontinuitySequence+i+1,l=r-e.mediaIndex,c=Math.abs(l);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>c){var time=void 0;time=l<0?n.start-ja({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:r}):n.end+ja({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:r}),this.discontinuities[o]={time:time,accuracy:c}}}},n.dispose=function(){this.trigger("dispose"),this.off()},t}(ua.EventTarget),Yo=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}w()(t,e);var n=t.prototype;return n.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},n.pendingTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.pendingTimelineChanges_[t]={type:t,from:n,to:r},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},n.lastTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.lastTimelineChanges_[t]={type:t,from:n,to:r},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},n.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(ua.EventTarget),Go=xs(ks((function(){function e(e,t,n){return e(n={path:t,exports:{},require:function(path,base){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==base&&n.path)}},n.exports),n.exports}var t=e((function(e){function t(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0})),n=e((function(e){function t(n,p){return e.exports=t=Object.setPrototypeOf||function(e,p){return e.__proto__=p,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,p)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),r=e((function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),o=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,i=0;i<n;++i)t[i].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),o=t.length,l=0;l<o;++l)t[l].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(data){e.push(data)}))},e}();var l=null,c=function(){function e(e){var i,t,n;l||(l=function(){var i,e,t,n,r,s,o,l,c=[[[],[],[],[],[]],[[],[],[],[],[]]],d=c[0],h=c[1],f=d[4],m=h[4],v=[],th=[];for(i=0;i<256;i++)th[(v[i]=i<<1^283*(i>>7))^i]=i;for(e=t=0;!f[e];e^=n||1,t=th[t]||1)for(s=(s=t^t<<1^t<<2^t<<3^t<<4)>>8^255&s^99,f[e]=s,m[s]=e,l=16843009*v[r=v[n=v[e]]]^65537*r^257*n^16843008*e,o=257*v[s]^16843008*s,i=0;i<4;i++)d[i][e]=o=o<<24^o>>>8,h[i][s]=l=l<<24^l>>>8;for(i=0;i<5;i++)d[i]=d[i].slice(0),h[i]=h[i].slice(0);return c}()),this._tables=[[l[0][0].slice(),l[0][1].slice(),l[0][2].slice(),l[0][3].slice(),l[0][4].slice()],[l[1][0].slice(),l[1][1].slice(),l[1][2].slice(),l[1][3].slice(),l[1][4].slice()]];var r=this._tables[0][4],o=this._tables[1],c=e.length,d=1;if(4!==c&&6!==c&&8!==c)throw new Error("Invalid aes key size");var h=e.slice(0),f=[];for(this._key=[h,f],i=c;i<4*c+28;i++)n=h[i-1],(i%c==0||8===c&&i%c==4)&&(n=r[n>>>24]<<24^r[n>>16&255]<<16^r[n>>8&255]<<8^r[255&n],i%c==0&&(n=n<<8^n>>>24^d<<24,d=d<<1^283*(d>>7))),h[i]=h[i-c]^n;for(t=0;i;t++,i--)n=h[3&t?i:i-4],f[t]=i<=4||t<4?n:o[0][r[n>>>24]]^o[1][r[n>>16&255]]^o[2][r[n>>8&255]]^o[3][r[255&n]]}return e.prototype.decrypt=function(e,t,n,r,o,l){var c,d,h,i,f=this._key[1],a=e^f[0],b=r^f[1],m=n^f[2],v=t^f[3],y=f.length/4-2,_=4,table=this._tables[1],T=table[0],w=table[1],S=table[2],E=table[3],x=table[4];for(i=0;i<y;i++)c=T[a>>>24]^w[b>>16&255]^S[m>>8&255]^E[255&v]^f[_],d=T[b>>>24]^w[m>>16&255]^S[v>>8&255]^E[255&a]^f[_+1],h=T[m>>>24]^w[v>>16&255]^S[a>>8&255]^E[255&b]^f[_+2],v=T[v>>>24]^w[a>>16&255]^S[b>>8&255]^E[255&m]^f[_+3],_+=4,a=c,b=d,m=h;for(i=0;i<4;i++)o[(3&-i)+l]=x[a>>>24]<<24^x[b>>16&255]<<16^x[m>>8&255]<<8^x[255&v]^f[_++],c=a,a=b,b=m,m=v,v=c},e}(),d=function(e){function t(){var t;return(t=e.call(this,o)||this).jobs=[],t.delay=1,t.timeout_=null,t}r(t,e);var n=t.prototype;return n.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(o),h=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},f=function(){function e(t,n,r,o){var l=e.STEP,c=new Int32Array(t.buffer),f=new Uint8Array(t.byteLength),i=0;for(this.asyncStream_=new d,this.asyncStream_.push(this.decryptChunk_(c.subarray(i,i+l),n,r,f)),i=l;i<c.length;i+=l)r=new Uint32Array([h(c[i-4]),h(c[i-3]),h(c[i-2]),h(c[i-1])]),this.asyncStream_.push(this.decryptChunk_(c.subarray(i,i+l),n,r,f));this.asyncStream_.push((function(){var e;o(null,(e=f).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return e.prototype.decryptChunk_=function(e,t,n,r){return function(){var o=function(e,t,n){var r,o,l,d,f,m,v,y,_,T=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),w=new c(Array.prototype.slice.call(t)),S=new Uint8Array(e.byteLength),E=new Int32Array(S.buffer);for(r=n[0],o=n[1],l=n[2],d=n[3],_=0;_<T.length;_+=4)f=h(T[_]),m=h(T[_+1]),v=h(T[_+2]),y=h(T[_+3]),w.decrypt(f,m,v,y,E,_),E[_]=h(E[_]^r),E[_+1]=h(E[_+1]^o),E[_+2]=h(E[_+2]^l),E[_+3]=h(E[_+3]^d),r=f,o=m,l=v,d=y;return S}(e,t,n);r.set(o,e.byteOffset)}},t(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}();self.onmessage=function(e){var data=e.data,t=new Uint8Array(data.encrypted.bytes,data.encrypted.byteOffset,data.encrypted.byteLength),n=new Uint32Array(data.key.bytes,data.key.byteOffset,data.key.byteLength/4),r=new Uint32Array(data.iv.bytes,data.iv.byteOffset,data.iv.byteLength/4);new f(t,n,r,(function(e,t){var n,r;self.postMessage((n={source:data.source,decrypted:t},r={},Object.keys(n).forEach((function(e){var t=n[e];ArrayBuffer.isView(t)?r[e]={bytes:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength}:r[e]=t})),r),[t.buffer])}))}}))),Xo=Es(Go),Ko=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},Qo=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},Jo=function(e,t){t.activePlaylistLoader=e,e.load()},Zo={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],o=t.blacklistCurrentPlaylist;Qo(n,r);var l=r.activeTrack(),c=r.activeGroup(),d=(c.filter((function(e){return e.default}))[0]||c[0]).id,h=r.tracks[d];if(l!==h){for(var f in ua.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[f].enabled=r.tracks[f]===h;r.onTrackChanged()}else o({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e];ua.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),Qo(n,r);var track=r.activeTrack();track&&(track.mode="disabled"),r.onTrackChanged()}}},el={AUDIO:function(e,t,n){if(t){var r=n.tech,o=n.requestOptions,l=n.segmentLoaders[e];t.on("loadedmetadata",(function(){var e=t.media();l.playlist(e,o),(!r.paused()||e.endList&&"none"!==r.preload())&&l.load()})),t.on("loadedplaylist",(function(){l.playlist(t.media(),o),r.paused()||l.load()})),t.on("error",Zo[e](e,n))}},SUBTITLES:function(e,t,n){var r=n.tech,o=n.requestOptions,l=n.segmentLoaders[e],c=n.mediaTypes[e];t.on("loadedmetadata",(function(){var e=t.media();l.playlist(e,o),l.track(c.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&l.load()})),t.on("loadedplaylist",(function(){l.playlist(t.media(),o),r.paused()||l.load()})),t.on("error",Zo[e](e,n))}},tl={AUDIO:function(e,t){var n=t.vhs,r=t.sourceType,o=t.segmentLoaders[e],l=t.requestOptions,c=t.master.mediaGroups,d=t.mediaTypes[e],h=d.groups,f=d.tracks,m=d.logger_,v=t.masterPlaylistLoader,y=Ua(v.master);for(var _ in c[e]&&0!==Object.keys(c[e]).length||(c[e]={main:{default:{default:!0}}},y&&(c[e].main.default.playlists=v.master.playlists)),c[e])for(var T in h[_]||(h[_]=[]),c[e][_]){var w=c[e][_][T],S=void 0;if(y?(m("AUDIO group '"+_+"' label '"+T+"' is a master playlist"),w.isMasterPlaylist=!0,S=null):S="vhs-json"===r&&w.playlists?new es(w.playlists[0],n,l):w.resolvedUri?new es(w.resolvedUri,n,l):w.playlists&&"dash"===r?new Ts(w.playlists[0],n,l,v):null,w=ua.mergeOptions({id:T,playlistLoader:S},w),el[e](e,w.playlistLoader,t),h[_].push(w),void 0===f[T]){var track=new ua.AudioTrack({id:T,kind:Ko(w),enabled:!1,language:w.language,default:w.default,label:T});f[T]=track}}o.on("error",Zo[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.vhs,o=t.sourceType,l=t.segmentLoaders[e],c=t.requestOptions,d=t.master.mediaGroups,h=t.mediaTypes[e],f=h.groups,m=h.tracks,v=t.masterPlaylistLoader;for(var y in d[e])for(var _ in f[y]||(f[y]=[]),d[e][y])if(!d[e][y][_].forced){var T=d[e][y][_],w=void 0;if("hls"===o)w=new es(T.resolvedUri,r,c);else if("dash"===o){if(!T.playlists.filter((function(p){return p.excludeUntil!==1/0})).length)return;w=new Ts(T.playlists[0],r,c,v)}else"vhs-json"===o&&(w=new es(T.playlists?T.playlists[0]:T.resolvedUri,r,c));if(T=ua.mergeOptions({id:_,playlistLoader:w},T),el[e](e,T.playlistLoader,t),f[y].push(T),void 0===m[_]){var track=n.addRemoteTextTrack({id:_,kind:"subtitles",default:T.default&&T.autoselect,language:T.language,label:_},!1).track;m[_]=track}}l.on("error",Zo[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var n=t.tech,r=t.master.mediaGroups,o=t.mediaTypes[e],l=o.groups,c=o.tracks;for(var d in r[e])for(var h in l[d]||(l[d]=[]),r[e][d]){var f=r[e][d][h];if(/^(?:CC|SERVICE)/.test(f.instreamId)){var m=n.options_.vhs&&n.options_.vhs.captionServices||{},v={label:h,language:f.language,instreamId:f.instreamId,default:f.default&&f.autoselect};if(m[v.instreamId]&&(v=ua.mergeOptions(v,m[v.instreamId])),void 0===v.default&&delete v.default,l[d].push(ua.mergeOptions({id:h},f)),void 0===c[h]){var track=n.addRemoteTextTrack({id:v.instreamId,kind:"captions",default:v.default,language:v.language,label:v.label},!1).track;c[h]=track}}}}},il=function e(t,n){for(var i=0;i<t.length;i++){if(Ra(n,t[i]))return!0;if(t[i].playlists&&e(t[i].playlists,n))return!0}return!1},nl={AUDIO:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if(n[r].enabled)return n[r];return null}},SUBTITLES:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if("showing"===n[r].mode||"hidden"===n[r].mode)return n[r];return null}}},rl=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){tl[t](t,e)}));var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,o=e.vhs,l=e.segmentLoaders,c=l.AUDIO,d=l.main;["AUDIO","SUBTITLES"].forEach((function(n){t[n].activeGroup=function(e,t){return function(track){var n=t.masterPlaylistLoader,r=t.mediaTypes[e].groups,o=n.media();if(!o)return null;var l=null;o.attributes[e]&&(l=r[o.attributes[e]]);var c=Object.keys(r);if(!l)if("AUDIO"===e&&c.length>1&&Ua(t.master))for(var i=0;i<c.length;i++){var d=r[c[i]];if(il(d,o)){l=d;break}}else r.main?l=r.main:1===c.length&&(l=r[c[0]]);return void 0===track?l:null!==track&&l&&l.filter((function(e){return e.id===track.id}))[0]||null}}(n,e),t[n].activeTrack=nl[n](n,e),t[n].onGroupChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],o=n.main,l=t.mediaTypes[e],c=l.activeTrack(),d=l.getActiveGroup(),h=l.activePlaylistLoader,f=l.lastGroup_;d&&f&&d.id===f.id||(l.lastGroup_=d,l.lastTrack_=c,Qo(r,l),d&&!d.isMasterPlaylist&&(d.playlistLoader?(r.resyncLoader(),Jo(d.playlistLoader,l)):h&&o.resetEverything()))}}(n,e),t[n].onGroupChanging=function(e,t){return function(){var n=t.segmentLoaders[e];t.mediaTypes[e].lastGroup_=null,n.abort(),n.pause()}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.masterPlaylistLoader,r=t.segmentLoaders,o=r[e],l=r.main,c=t.mediaTypes[e],d=c.activeTrack(),h=c.getActiveGroup(),f=c.activePlaylistLoader,m=c.lastTrack_;if((!m||!d||m.id!==d.id)&&(c.lastGroup_=h,c.lastTrack_=d,Qo(o,c),h)){if(h.isMasterPlaylist){if(!d||!m||d.id===m.id)return;var v=t.vhs.masterPlaylistController_,y=v.selectPlaylist();if(v.media()===y)return;return c.logger_("track change. Switching master audio from "+m.id+" to "+d.id),n.pause(),l.resetEverything(),void v.fastQualityChange_(y)}if("AUDIO"===e){if(!h.playlistLoader)return l.setAudio(!0),void l.resetEverything();o.setAudio(!0),l.setAudio(!1)}f!==h.playlistLoader?(o.track&&o.track(d),o.resetEverything(),Jo(h.playlistLoader,c)):Jo(h.playlistLoader,c)}}}(n,e),t[n].getActiveGroup=function(e,t){var n=t.mediaTypes;return function(){var t=n[e].activeTrack();return t?n[e].activeGroup(t):null}}(n,e)}));var h=t.AUDIO.activeGroup();if(h){var f=(h.filter((function(e){return e.default}))[0]||h[0]).id;t.AUDIO.tracks[f].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(d.setAudio(!1),c.setAudio(!0)):d.setAudio(!0)}n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanged()}))})),n.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanging()}))}));var m=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"}),r.trigger({type:"usage",name:"hls-audio-change"})};for(var v in r.audioTracks().addEventListener("change",m),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),o.on("dispose",(function(){r.audioTracks().removeEventListener("change",m),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[v])},al=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],sl=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},ll=function(e){function t(t){var n;n=e.call(this)||this;var r=t.src,o=t.handleManifestRedirects,c=t.withCredentials,d=t.tech,h=t.bandwidth,f=t.externVhs,m=t.useCueTags,v=t.blacklistDuration,y=t.enableLowInitialPlaylist,T=t.sourceType,w=t.cacheEncryptionKeys,S=t.experimentalBufferBasedABR,E=t.experimentalLeastPixelDiffSelector,x=t.captionServices;if(!r)throw new Error("A non-empty playlist URL or JSON manifest string is required");var k,C=t.maxPlaylistRetries;null==C&&(C=1/0),To=f,n.experimentalBufferBasedABR=Boolean(S),n.experimentalLeastPixelDiffSelector=Boolean(E),n.withCredentials=c,n.tech_=d,n.vhs_=d.vhs,n.sourceType_=T,n.useCueTags_=m,n.blacklistDuration=v,n.maxPlaylistRetries=C,n.enableLowInitialPlaylist=y,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:c,handleManifestRedirects:o,maxPlaylistRetries:C,timeout:null},n.on("error",n.pauseLoading),n.mediaTypes_=(k={},["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(e){k[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:_o,activeTrack:_o,getActiveGroup:_o,onGroupChanged:_o,onTrackChanged:_o,lastTrack_:null,logger_:ha("MediaGroups["+e+"]")}})),k),n.mediaSource=new l.a.MediaSource,n.handleDurationChange_=n.handleDurationChange_.bind(_()(n)),n.handleSourceOpen_=n.handleSourceOpen_.bind(_()(n)),n.handleSourceEnded_=n.handleSourceEnded_.bind(_()(n)),n.mediaSource.addEventListener("durationchange",n.handleDurationChange_),n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_),n.mediaSource.addEventListener("sourceended",n.handleSourceEnded_),n.seekable_=ua.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new qo(t),n.segmentMetadataTrack_=d.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new Xo,n.sourceUpdater_=new Fo(n.mediaSource),n.inbandTextTracks_={},n.timelineChangeController_=new Yo;var A={vhs:n.vhs_,parse708captions:t.parse708captions,captionServices:x,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.duration()},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:h,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:w,sourceUpdater:n.sourceUpdater_,timelineChangeController:n.timelineChangeController_,experimentalExactManifestTimings:t.experimentalExactManifestTimings};n.masterPlaylistLoader_="dash"===n.sourceType_?new Ts(r,n.vhs_,n.requestOptions_):new es(r,n.vhs_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new bo(ua.mergeOptions(A,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),t),n.audioSegmentLoader_=new bo(ua.mergeOptions(A,{loaderType:"audio"}),t),n.subtitleSegmentLoader_=new Ho(ua.mergeOptions(A,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks}),t),n.setupSegmentLoaderListeners_(),n.experimentalBufferBasedABR&&(n.masterPlaylistLoader_.one("loadedplaylist",(function(){return n.startABRTimer_()})),n.tech_.on("pause",(function(){return n.stopABRTimer_()})),n.tech_.on("play",(function(){return n.startABRTimer_()}))),al.forEach((function(e){n[e+"_"]=sl.bind(_()(n),e)})),n.logger_=ha("MPC"),n.triggeredFmp4Usage=!1,"none"===n.tech_.preload()?(n.loadOnPlay_=function(){n.loadOnPlay_=null,n.masterPlaylistLoader_.load()},n.tech_.one("play",n.loadOnPlay_)):n.masterPlaylistLoader_.load(),n.timeToLoadedData__=-1,n.mainAppendsToLoadedData__=-1,n.audioAppendsToLoadedData__=-1;var O="none"===n.tech_.preload()?"play":"loadstart";return n.tech_.one(O,(function(){var e=Date.now();n.tech_.one("loadeddata",(function(){n.timeToLoadedData__=Date.now()-e,n.mainAppendsToLoadedData__=n.mainSegmentLoader_.mediaAppends,n.audioAppendsToLoadedData__=n.audioSegmentLoader_.mediaAppends}))})),n}w()(t,e);var n=t.prototype;return n.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},n.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},n.appendsToLoadedData_=function(){var main=this.mainAppendsToLoadedData_(),audio=this.audioAppendsToLoadedData_();return-1===main||-1===audio?-1:main+audio},n.timeToLoadedData_=function(){return this.timeToLoadedData__},n.checkABR_=function(){var e=this.selectPlaylist();e&&this.shouldSwitchToMedia_(e)&&this.switchMedia_(e,"abr")},n.switchMedia_=function(e,t,n){var r=this.media(),o=r&&(r.id||r.uri),l=e.id||e.uri;o&&o!==l&&(this.logger_("switch media "+o+" -> "+l+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,n)},n.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=l.a.setInterval((function(){return e.checkABR_()}),250)},n.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(l.a.clearInterval(this.abrTimer_),this.abrTimer_=null)},n.getAudioTrackPlaylists_=function(){var e=this.master(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;var track,n=e.mediaGroups.AUDIO,r=Object.keys(n);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)track=this.mediaTypes_.AUDIO.activeTrack();else{var o=n.main||r.length&&n[r[0]];for(var label in o)if(o[label].default){track={label:label};break}}if(!track)return t;var l=[];for(var c in n)if(n[c][track.label]){var d=n[c][track.label];if(d.playlists&&d.playlists.length)l.push.apply(l,d.playlists);else if(d.uri)l.push(d);else if(e.playlists.length)for(var i=0;i<e.playlists.length;i++){var h=e.playlists[i];h.attributes&&h.attributes.AUDIO&&h.attributes.AUDIO===c&&l.push(h)}}return l.length?l:t},n.setupMasterPlaylistLoaderListeners_=function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Na(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,t.endList&&"none"!==e.tech_.preload()&&(e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load()),rl({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,vhs:e.vhs_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t),e.setupFirstPlay(),!e.mediaTypes_.AUDIO.activePlaylistLoader||e.mediaTypes_.AUDIO.activePlaylistLoader.media()?e.trigger("selectedinitialmedia"):e.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){e.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){e.loadOnPlay_&&e.tech_.off("play",e.loadOnPlay_);var t=e.masterPlaylistLoader_.media();if(!t){var n;if(e.excludeUnsupportedVariants_(),e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),!n||!e.shouldSwitchToMedia_(n))return;if(e.initialMedia_=n,e.switchMedia_(e.initialMedia_,"initial"),!("vhs-json"===e.sourceType_&&e.initialMedia_.segments))return;t=e.initialMedia_}e.handleUpdatedMediaPlaylist(t)})),this.masterPlaylistLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){e.mainSegmentLoader_.abort(),e.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Na(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load(),e.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var t=e.masterPlaylistLoader_.media();"playlist-unchanged"!==t.lastExcludeReason_&&(e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),e.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},n.handleUpdatedMediaPlaylist=function(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},n.triggerPresenceUsage_=function(e,t){var n=e.mediaGroups||{},r=!0,o=Object.keys(n.AUDIO);for(var l in n.AUDIO)for(var label in n.AUDIO[l]){n.AUDIO[l][label].uri||(r=!1)}r&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(n.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),To.Playlist.isAes(t)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),o.length&&Object.keys(n.AUDIO[o[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},n.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),o=this.bufferHighWaterLine();return function(e){var t=e.currentPlaylist,n=e.buffered,r=e.currentTime,o=e.nextPlaylist,l=e.bufferLowWaterLine,c=e.bufferHighWaterLine,d=e.duration,h=e.experimentalBufferBasedABR,f=e.log;if(!o)return ua.log.warn("We received no playlist to switch to. Please check your stream."),!1;var m="allowing switch "+(t&&t.id||"null")+" -> "+o.id;if(!t)return f(m+" as current playlist is not set"),!0;if(o.id===t.id)return!1;var v=Boolean(ga(n,r).length);if(!t.endList)return v||"number"!=typeof t.partTargetDuration?(f(m+" as current playlist is live"),!0):(f("not "+m+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var y=Ta(n,r),_=h?ws.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:ws.MAX_BUFFER_LOW_WATER_LINE;if(d<_)return f(m+" as duration < max low water line ("+d+" < "+_+")"),!0;var T=o.attributes.BANDWIDTH,w=t.attributes.BANDWIDTH;if(T<w&&(!h||y<c)){var S=m+" as next bandwidth < current bandwidth ("+T+" < "+w+")";return h&&(S+=" and forwardBuffer < bufferHighWaterLine ("+y+" < "+c+")"),f(S),!0}if((!h||T>w)&&y>=l){var E=m+" as forwardBuffer >= bufferLowWaterLine ("+y+" >= "+l+")";return h&&(E+=" and next bandwidth > current bandwidth ("+T+" > "+w+")"),f(E),!0}return f("not "+m+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:o,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},n.setupSegmentLoaderListeners_=function(){var e=this;this.experimentalBufferBasedABR||(this.mainSegmentLoader_.on("bandwidthupdate",(function(){var t=e.selectPlaylist();e.shouldSwitchToMedia_(t)&&e.switchMedia_(t,"bandwidthupdate"),e.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("progress",(function(){e.trigger("progress")}))),this.mainSegmentLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())}
vendor: 4,586 bytes, line 2
2)),this.mainSegmentLoader_.on("appenderror",(function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){e.logger_("main segment loader ended"),e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()}))},n.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},n.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},n.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},n.fastQualityChange_=function(e){var t=this;void 0===e&&(e=this.selectPlaylist()),e!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){ua.browser.IE_VERSION||ua.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},n.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}},n.setupFirstPlay=function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var n=this.seekable();if(!n.length)return!1;if(ua.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){e.trigger("firstplay"),e.tech_.setCurrentTime(n.end(0)),e.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(n.end(0))}return this.hasPlayed_=!0,this.load(),!0},n.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(function(e){}))}this.trigger("sourceopen")},n.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var e=this.inbandTextTracks_.metadataTrack_.cues;if(e&&e.length){var t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}}},n.handleDurationChange_=function(){this.tech_.trigger("durationchange")},n.onEndOfStream=function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},n.stuckAtPlaylistEnd_=function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;var n=To.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),o=this.tech_.buffered();if(!o.length)return n-r<=fa;var l=o.end(o.length-1);return l-r<=fa&&n-l<=fa},n.blacklistCurrentPlaylist=function(e,t){void 0===e&&(e={});var n=e.playlist||this.masterPlaylistLoader_.media();
vendor: 14,658 bytes, line 2
2if(t=t||e.blacklistDuration||this.blacklistDuration,!n)return this.error=e,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));n.playlistErrors_++;var r,o=this.masterPlaylistLoader_.master.playlists,l=o.filter(Ma),c=1===l.length&&l[0]===n;if(1===o.length&&t!==1/0)return ua.log.warn("Problem encountered with playlist "+n.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(c);if(c){var d=!1;o.forEach((function(e){if(e!==n){var t=e.excludeUntil;void 0!==t&&t!==1/0&&(d=!0,delete e.excludeUntil)}})),d&&(ua.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}r=n.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*t,n.excludeUntil=r,e.reason&&(n.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var h=this.selectPlaylist();if(!h)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var f=e.internal?this.logger_:ua.log.warn,m=e.message?" "+e.message:"";f((e.internal?"Internal problem":"Problem")+" encountered with playlist "+n.id+"."+m+" Switching to playlist "+h.id+"."),h.attributes.AUDIO!==n.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),h.attributes.SUBTITLES!==n.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var v=h.targetDuration/2*1e3||5e3,y="number"==typeof h.lastRequest&&Date.now()-h.lastRequest<=v;return this.switchMedia_(h,"exclude",c||y)},n.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},n.delegateLoaders_=function(filter,e){var t=this,n=[],r="all"===filter;(r||"main"===filter)&&n.push(this.masterPlaylistLoader_);var o=[];(r||"audio"===filter)&&o.push("AUDIO"),(r||"subtitle"===filter)&&(o.push("CLOSED-CAPTIONS"),o.push("SUBTITLES")),o.forEach((function(e){var r=t.mediaTypes_[e]&&t.mediaTypes_[e].activePlaylistLoader;r&&n.push(r)})),["main","audio","subtitle"].forEach((function(e){var r=t[e+"SegmentLoader_"];!r||filter!==e&&"all"!==filter||n.push(r)})),n.forEach((function(t){return e.forEach((function(e){"function"==typeof t[e]&&t[e]()}))}))},n.setCurrentTime=function(e){var t=ga(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},n.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:To.Playlist.duration(e):1/0:0},n.seekable=function(){return this.seekable_},n.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.duration());if(null!==n){var r=this.masterPlaylistLoader_.master,o=To.Playlist.seekable(t,n,To.Playlist.liveEdgeDelay(r,t));if(0!==o.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=To.Playlist.seekable(t,n,To.Playlist.liveEdgeDelay(r,t))).length)return}var l,c;this.seekable_&&this.seekable_.length&&(l=this.seekable_.end(0),c=this.seekable_.start(0)),e?e.start(0)>o.end(0)||o.start(0)>e.end(0)?this.seekable_=o:this.seekable_=ua.createTimeRanges([[e.start(0)>o.start(0)?e.start(0):o.start(0),e.end(0)<o.end(0)?e.end(0):o.end(0)]]):this.seekable_=o,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===l&&this.seekable_.start(0)===c||(this.logger_("seekable updated ["+ya(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},n.updateDuration=function(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){var t=this.seekable();if(!t.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<t.end(t.length-1))&&this.sourceUpdater_.setDuration(t.end(t.length-1))}else{var n=this.tech_.buffered(),r=To.Playlist.duration(this.masterPlaylistLoader_.media());n.length>0&&(r=Math.max(r,n.end(n.length-1))),this.mediaSource.duration!==r&&this.sourceUpdater_.setDuration(r)}},n.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(t){var n=e.mediaTypes_[t].groups;for(var r in n)n[r].forEach((function(e){e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},n.master=function(){return this.masterPlaylistLoader_.master},n.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},n.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)},n.getCodecsOrExclude_=function(){var e=this,t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};t.video=t.main;var n=to(this.master(),this.media()),r={},o=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(r.video=n.video||t.main.videoCodec||D.b),t.main.isMuxed&&(r.video+=","+(n.audio||t.main.audioCodec||D.a)),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||o)&&(r.audio=n.audio||t.main.audioCodec||t.audio.audioCodec||D.a,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),r.audio||r.video){var l,c={};if(["video","audio"].forEach((function(e){if(r.hasOwnProperty(e)&&(o=t[e].isFmp4,d=r[e],!(o?Object(D.c)(d):Object(D.g)(d)))){var n=t[e].isFmp4?"browser":"muxer";c[n]=c[n]||[],c[n].push(r[e]),"audio"===e&&(l=n)}var o,d})),o&&l&&this.media().attributes.AUDIO){var d=this.media().attributes.AUDIO;this.master().playlists.forEach((function(t){(t.attributes&&t.attributes.AUDIO)===d&&t!==e.media()&&(t.excludeUntil=1/0)})),this.logger_("excluding audio group "+d+" as "+l+' does not support codec(s): "'+r.audio+'"')}if(!Object.keys(c).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var h=[];if(["video","audio"].forEach((function(t){var n=(Object(D.h)(e.sourceUpdater_.codecs[t]||"")[0]||{}).type,o=(Object(D.h)(r[t]||"")[0]||{}).type;n&&o&&n.toLowerCase()!==o.toLowerCase()&&h.push('"'+e.sourceUpdater_.codecs[t]+'" -> "'+r[t]+'"')})),h.length)return void this.blacklistCurrentPlaylist({playlist:this.media(),message:"Codec switching not supported: "+h.join(", ")+".",blacklistDuration:1/0,internal:!0})}return r}var f=Object.keys(c).reduce((function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+c[t].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:f,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},n.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},n.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,n=[];Object.keys(t).forEach((function(r){var o=t[r];if(-1===n.indexOf(o.id)){n.push(o.id);var l=to(e.master,o),c=[];!l.audio||Object(D.g)(l.audio)||Object(D.c)(l.audio)||c.push("audio codec "+l.audio),!l.video||Object(D.g)(l.video)||Object(D.c)(l.video)||c.push("video codec "+l.video),l.text&&"stpp.ttml.im1t"===l.text&&c.push("text codec "+l.text),c.length&&(o.excludeUntil=1/0,e.logger_("excluding "+o.id+" for unsupported: "+c.join(", ")))}}))},n.excludeIncompatibleVariants_=function(e){var t=this,n=[],r=this.master().playlists,o=Zs(Object(D.h)(e)),l=eo(o),c=o.video&&Object(D.h)(o.video)[0]||null,d=o.audio&&Object(D.h)(o.audio)[0]||null;Object.keys(r).forEach((function(e){var o=r[e];if(-1===n.indexOf(o.id)&&o.excludeUntil!==1/0){n.push(o.id);var h=[],f=to(t.masterPlaylistLoader_.master,o),m=eo(f);if(f.audio||f.video){if(m!==l&&h.push('codec count "'+m+'" !== "'+l+'"'),!t.sourceUpdater_.canChangeType()){var v=f.video&&Object(D.h)(f.video)[0]||null,y=f.audio&&Object(D.h)(f.audio)[0]||null;v&&c&&v.type.toLowerCase()!==c.type.toLowerCase()&&h.push('video codec "'+v.type+'" !== "'+c.type+'"'),y&&d&&y.type.toLowerCase()!==d.type.toLowerCase()&&h.push('audio codec "'+y.type+'" !== "'+d.type+'"')}h.length&&(o.excludeUntil=1/0,t.logger_("blacklisting "+o.id+": "+h.join(" && ")))}}}))},n.updateAdCues_=function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,track,t){if(void 0===t&&(t=0),e.segments)for(var n,r=t,i=0;i<e.segments.length;i++){var o=e.segments[i];if(n||(n=Wo(track,r+o.duration/2)),n){if("cueIn"in o){n.endTime=r,n.adEndTime=r,r+=o.duration,n=null;continue}if(r<n.endTime){r+=o.duration;continue}n.endTime+=o.duration}else if("cueOut"in o&&((n=new l.a.VTTCue(r,r+o.duration,o.cueOut)).adStartTime=r,n.adEndTime=r+parseFloat(o.cueOut),track.addCue(n)),"cueOutCont"in o){var c=o.cueOutCont.split("/").map(parseFloat),d=c[0],h=c[1];(n=new l.a.VTTCue(r,r+o.duration,"")).adStartTime=r-d,n.adEndTime=n.adStartTime+h,track.addCue(n)}r+=o.duration}}(e,this.cueTagsTrack_,t)},n.goalBufferLength=function(){var e=this.tech_.currentTime(),t=ws.GOAL_BUFFER_LENGTH,n=ws.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,ws.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)},n.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=ws.BUFFER_LOW_WATER_LINE,n=ws.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,ws.MAX_BUFFER_LOW_WATER_LINE),o=Math.max(t,ws.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.experimentalBufferBasedABR?o:r)},n.bufferHighWaterLine=function(){return ws.BUFFER_HIGH_WATER_LINE},t}(ua.EventTarget),cl=function(e,t,n){var r,o,l,c=e.masterPlaylistController_,d=c[(e.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(c);if(t.attributes){var h=t.attributes.RESOLUTION;this.width=h&&h.width,this.height=h&&h.height,this.bandwidth=t.attributes.BANDWIDTH}this.codecs=to(c.master(),t),this.playlist=t,this.id=n,this.enabled=(r=e.playlists,o=t.id,l=d,function(e){var t=r.master.playlists[o],n=La(t),c=Ma(t);return void 0===e?c:(e?delete t.disabled:t.disabled=!0,e===c||n||(l(),e?r.trigger("renditionenabled"):r.trigger("renditiondisabled")),e)})},hl=["seeking","seeked","pause","playing","error"],pl=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=ha("PlaybackWatcher"),this.logger_("initialize");var n=function(){return t.monitorCurrentTime_()},r=function(){return t.monitorCurrentTime_()},o=function(){return t.techWaiting_()},c=function(){return t.cancelTimer_()},d=this.masterPlaylistController_,h=["main","subtitle","audio"],f={};h.forEach((function(e){f[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},d[e+"SegmentLoader_"].on("appendsdone",f[e].updateend),d[e+"SegmentLoader_"].on("playlistupdate",f[e].reset),t.tech_.on(["seeked","seeking"],f[e].reset)}));var m=function(e){["main","audio"].forEach((function(n){d[n+"SegmentLoader_"][e]("appended",t.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){t.fixesBadSeeks_()&&(t.consecutiveUpdates=0,t.lastRecordedTime=t.tech_.currentTime(),m("off"))},this.clearSeekingAppendCheck_=function(){return m("off")},this.watchForBadSeeking_=function(){t.clearSeekingAppendCheck_(),m("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",o),this.tech_.on(hl,c),this.tech_.on("canplay",r),this.tech_.one("play",n),this.dispose=function(){t.clearSeekingAppendCheck_(),t.logger_("dispose"),t.tech_.off("waiting",o),t.tech_.off(hl,c),t.tech_.off("canplay",r),t.tech_.off("play",n),t.tech_.off("seeking",t.watchForBadSeeking_),t.tech_.off("seeked",t.clearSeekingAppendCheck_),h.forEach((function(e){d[e+"SegmentLoader_"].off("appendsdone",f[e].updateend),d[e+"SegmentLoader_"].off("playlistupdate",f[e].reset),t.tech_.off(["seeked","seeking"],f[e].reset)})),t.checkCurrentTimeTimeout_&&l.a.clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&l.a.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=l.a.setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+"SegmentLoader_"];this[e+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,n=t[e+"SegmentLoader_"],r=n.buffered_(),o=function(a,b){if(a===b)return!1;if(!a&&b||!b&&a)return!0;
vendor: 4,874 bytes, line 2
2if(a.length!==b.length)return!0;for(var i=0;i<a.length;i++)if(a.start(i)!==b.start(i)||a.end(i)!==b.end(i))return!0;return!1}(this[e+"Buffered_"],r);this[e+"Buffered_"]=r,o?this.resetSegmentDownloads_(e):(this[e+"StalledDownloads_"]++,this.logger_("found #"+this[e+"StalledDownloads_"]+" "+e+" appends that did not increase buffer (possible stalled download)",{playlistId:n.playlist_&&n.playlist_.id,buffered:ba(r)}),this[e+"StalledDownloads_"]<10||(this.logger_(e+" loader stalled download exclusion"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:"vhs-"+e+"-download-exclusion"}),"subtitle"!==e&&t.blacklistCurrentPlaylist({message:"Excessive "+e+" segment downloading detected."},1/0)))},t.checkCurrentTime_=function(){if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+fa>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),n=this.tech_.currentTime();this.afterSeekableWindow_(t,n,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1));if(this.beforeSeekableWindow_(t,n)){var r=t.start(0);e=r+(r===t.end(0)?0:fa)}if(void 0!==e)return this.logger_("Trying to seek outside of seekable at time "+n+" with seekable range "+ya(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var o=this.masterPlaylistController_.sourceUpdater_,l=this.tech_.buffered(),c=o.audioBuffer?o.audioBuffered():null,d=o.videoBuffer?o.videoBuffered():null,h=this.media(),f=h.partTargetDuration?h.partTargetDuration:2*(h.targetDuration-pa),m=[c,d],i=0;i<m.length;i++){if(m[i])if(Ta(m[i],n)<f)return!1}var v=va(l,n);return 0!==v.length&&(e=v.start(0)+fa,this.logger_("Buffered region starts ("+v.start(0)+")  just beyond seek point ("+n+"). Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0)},t.waiting_=function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=ga(t,e);return n.length&&e+3<=n.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.logger_("Stopped at "+e+" while inside a buffered region ["+n.start(0)+" -> "+n.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var n=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+n),this.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var r=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,o=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:r.audioBuffered(),videoBuffered:r.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var l=va(o,t);if(l.length>0){var c=l.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+c+", seeking to "+l.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*c,t),!0}return!1},t.afterSeekableWindow_=function(e,t,n,r){if(void 0===r&&(r=!1),!e.length)return!1;var o=e.end(e.length-1)+fa;return!n.endList&&r&&(o=e.end(e.length-1)+3*n.targetDuration),t>o},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)},t.videoUnderflow_=function(e){var t=e.videoBuffered,n=e.audioBuffered,r=e.currentTime;if(t){var o;if(t.length&&n.length){var l=ga(t,r-3),c=ga(t,r),d=ga(n,r);d.length&&!c.length&&l.length&&(o={start:l.end(0),end:d.end(0)})}else{va(t,r).length||(o=this.gapFromVideoUnderflow_(t,r))}return!!o&&(this.logger_("Encountered a gap in video from "+o.start+" to "+o.end+". Seeking to current time "+r),!0)}},t.skipTheGap_=function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=va(t,n);this.cancelTimer_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+pa),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))}
vendor: 17,953 bytes, line 2
2,t.gapFromVideoUnderflow_=function(e,t){for(var n=function(e){if(e.length<2)return ua.createTimeRanges();for(var t=[],i=1;i<e.length;i++){var n=e.end(i-1),r=e.start(i);t.push([n,r])}return ua.createTimeRanges(t)}(e),i=0;i<n.length;i++){var r=n.start(i),o=n.end(i);if(t-r<4&&t-r>2)return{start:r,end:o}}return null},e}(),fl={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},ml=function e(t,n){var r=0,o=0,l=ua.mergeOptions(fl,n);t.ready((function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var c=function(){o&&t.currentTime(o)},d=function(e){null!=e&&(o=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",c),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},h=function(){return Date.now()-r<1e3*l.errorInterval?(t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void t.trigger({type:"usage",name:"hls-error-reload-canceled"})):l.getSource&&"function"==typeof l.getSource?(r=Date.now(),l.getSource.call(t,d)):void ua.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},f=function e(){t.off("loadedmetadata",c),t.off("error",h),t.off("dispose",e)};t.on("error",h),t.on("dispose",f),t.reloadSourceOnError=function(n){f(),e(t,n)}},gl="2.13.1",vl={PlaylistLoader:es,Playlist:Fa,utils:ps,STANDARD_PLAYLIST_SELECTOR:lo,INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(Fa.isEnabled);return ao(t,(function(a,b){return so(a,b)})),t.filter((function(t){return!!to(e.playlists.master,t).video}))[0]||null},lastBandwidthSelector:lo,movingAverageBandwidthSelector:function(e){var t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var r=this.useDevicePixelRatio&&l.a.devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),oo(this.playlists.master,t,parseInt(ro(this.tech_.el(),"width"),10)*r,parseInt(ro(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:so,comparePlaylistResolution:function(e,t){var n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||l.a.Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||l.a.Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:rs()};Object.keys(ws).forEach((function(e){Object.defineProperty(vl,e,{get:function(){return ua.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),ws[e]},set:function(t){ua.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?ua.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):ws[e]=t}})}));var yl="videojs-vhs",bl=function(e,t){for(var n=t.media(),r=-1,i=0;i<e.length;i++)if(e[i].id===n.id){r=i;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};vl.canPlaySource=function(){return ua.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var _l=function(e){var t=e.player,n=e.sourceKeySystems,r=e.audioMedia,o=e.mainPlaylists;if(!t.eme.initializeMediaKeys)return Promise.resolve();var l=function(e,t){return e.reduce((function(e,n){if(!n.contentProtection)return e;var r=t.reduce((function(e,t){var r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[])}(r?o.concat([r]):o,Object.keys(n)),c=[],d=[];return l.forEach((function(e){d.push(new Promise((function(e,n){t.tech_.one("keysessioncreated",e)}))),c.push(new Promise((function(n,r){t.eme.initializeMediaKeys({keySystems:e},(function(e){e?r(e):n()}))})))})),Promise.race([Promise.all(c),Promise.race(d)])},Tl=function(e){var t=e.player,n=function(e,t,n){if(!e)return e;var r={};t&&t.attributes&&t.attributes.CODECS&&(r=Zs(Object(D.h)(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);var o=Object(D.e)(r.video),l=Object(D.e)(r.audio),c={};for(var d in e)c[d]={},l&&(c[d].audioContentType=l),o&&(c[d].videoContentType=o),t.contentProtection&&t.contentProtection[d]&&t.contentProtection[d].pssh&&(c[d].pssh=t.contentProtection[d].pssh),"string"==typeof e[d]&&(c[d].url=e[d]);return ua.mergeOptions(e,c)}(e.sourceKeySystems,e.media,e.audioMedia);return!!n&&(t.currentSource().keySystems=n,!(n&&!t.eme)||(ua.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},wl=function(){if(!l.a.localStorage)return null;var e=l.a.localStorage.getItem(yl);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};vl.supportsNativeHls=function(){if(!d.a||!d.a.createElement)return!1;var video=d.a.createElement("video");if(!ua.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(e){return/maybe|probably/i.test(video.canPlayType(e))}))}(),vl.supportsNativeDash=!!(d.a&&d.a.createElement&&ua.getTech("Html5").isSupported())&&/maybe|probably/i.test(d.a.createElement("video").canPlayType("application/dash+xml")),vl.supportsTypeNatively=function(e){return"hls"===e?vl.supportsNativeHls:"dash"===e&&vl.supportsNativeDash},vl.isSupported=function(){return ua.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Sl=function(e){function t(source,t,n){var r;if(r=e.call(this,t,ua.mergeOptions(n.hls,n.vhs))||this,n.hls&&Object.keys(n.hls).length&&ua.log.warn("Using hls options is deprecated. Use vhs instead."),"number"==typeof n.initialBandwidth&&(r.options_.bandwidth=n.initialBandwidth),r.logger_=ha("VhsHandler"),t.options_&&t.options_.playerId){var o=ua(t.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return ua.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),t.trigger({type:"usage",name:"hls-player-access"}),_()(r)},configurable:!0}),o.hasOwnProperty("vhs")||Object.defineProperty(o,"vhs",{get:function(){return ua.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),t.trigger({type:"usage",name:"vhs-player-access"}),_()(r)},configurable:!0}),o.hasOwnProperty("dash")||Object.defineProperty(o,"dash",{get:function(){return ua.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),_()(r)},configurable:!0}),r.player_=o}if(r.tech_=t,r.source_=source,r.stats={},r.ignoreNextSeekingEvent_=!1,r.setOptions_(),r.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(r.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return r.on(d.a,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(e){var t=d.a.fullscreenElement||d.a.webkitFullscreenElement||d.a.mozFullScreenElement||d.a.msFullscreenElement;t&&t.contains(r.tech_.el())?r.masterPlaylistController_.fastQualityChange_():r.masterPlaylistController_.checkABR_()})),r.on(r.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),r.on(r.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),r.on(r.tech_,"play",r.play),r}w()(t,e);var n=t.prototype;return n.setOptions_=function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var t=wl();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),t&&t.throughput&&(this.options_.throughput=t.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=ws.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===ws.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(option){void 0!==e.source_[option]&&(e.options_[option]=e.source_[option])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},n.src=function(e,t){var n=this;if(e){var r;this.setOptions_(),this.options_.src=0===(r=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(r.substring(r.indexOf(",")+1)):r,this.options_.tech=this.tech_,this.options_.externVhs=vl,this.options_.sourceType=Object(N.a)(t),this.options_.seekTo=function(time){n.tech_.setCurrentTime(time)},this.options_.smoothQualityChange&&ua.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new ll(this.options_);var o=ua.mergeOptions({liveRangeSafeTimeDelta:fa},this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new pl(o),this.masterPlaylistController_.on("error",(function(){var e=ua.players[n.tech_.options_.playerId],t=n.masterPlaylistController_.error;"object"!=typeof t||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));var c=this.options_.experimentalBufferBasedABR?vl.movingAverageBandwidthSelector(.55):vl.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):c.bind(this),this.masterPlaylistController_.selectInitialPlaylist=vl.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var e=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,t=l.a.navigator.connection||l.a.navigator.mozConnection||l.a.navigator.webkitConnection,n=1e7;if(this.options_.useNetworkInformationApi&&t){var r=1e3*t.downlink*1e3;e=r>=n&&e>=n?Math.max(e,r):r}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e,t=1/(this.bandwidth||1);return e=this.throughput>0?1/this.throughput:0,Math.floor(1/(t+e))},set:function(){ua.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return ba(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return ba(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!l.a.localStorage)return!1;var t=wl();t=t?ua.mergeOptions(t,e):e;try{l.a.localStorage.setItem(yl,JSON.stringify(t))}catch(e){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e;(e=n).representations=function(){var t=e.masterPlaylistController_.master(),n=Ua(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((function(e){return!La(e)})).map((function(t,i){return new cl(e,t,t.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){n.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=l.a.URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},n.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),_l({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},n.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},n.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=Tl({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});this.player_.tech_.on("keystatuschange",(function(t){"output-restricted"===t.status&&e.masterPlaylistController_.blacklistCurrentPlaylist({playlist:e.masterPlaylistController_.media(),message:"DRM keystatus changed to "+t.status+". Playlist will fail to play. Check for HDCP content.",blacklistDuration:1/0})})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==ua.browser.IE_VERSION&&n?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},n.setupQualityLevels_=function(){var e=this,t=ua.players[this.tech_.options_.playerId];
2t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t,n;t=e.qualityLevels_,(n=e).representations().forEach((function(e){t.addQualityLevel(e)})),bl(t,n.playlists)})),this.playlists.on("mediachange",(function(){bl(e.qualityLevels_,e.playlists)})))},t.version=function(){return{"@videojs/http-streaming":gl,"mux.js":"6.0.1","mpd-parser":"0.21.0","m3u8-parser":"4.7.0","aes-decrypter":"3.1.2"}},n.version=function(){return this.constructor.version()},n.canChangeType=function(){return Fo.canChangeType()},n.play=function(){this.masterPlaylistController_.play()},n.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},n.duration=function(){return this.masterPlaylistController_.duration()},n.seekable=function(){return this.masterPlaylistController_.seekable()},n.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&l.a.URL.revokeObjectURL&&(l.a.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},n.convertToProgramTime=function(time,e){return fs({playlist:this.masterPlaylistController_.media(),time:time,callback:e})},n.seekToProgramTime=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=2),ms({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(ua.getComponent("Component")),El={name:"videojs-http-streaming",VERSION:gl,canHandleSource:function(e,t){void 0===t&&(t={});var n=ua.mergeOptions(ua.options,t);return El.canPlayType(e.type,n)},handleSource:function(source,e,t){void 0===t&&(t={});var n=ua.mergeOptions(ua.options,t);return e.vhs=new Sl(source,e,n),ua.hasOwnProperty("hls")||Object.defineProperty(e,"hls",{get:function(){return ua.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),e.vhs},configurable:!0}),e.vhs.xhr=rs(),e.vhs.src(source.src,source.type),e.vhs},canPlayType:function(e,t){void 0===t&&(t={});var n=ua.mergeOptions(ua.options,t),r=n.vhs,o=(r=void 0===r?{}:r).overrideNative,l=void 0===o?!ua.browser.IS_ANY_SAFARI:o,c=n.hls,d=(c=void 0===c?{}:c).overrideNative,h=void 0!==d&&d,f=Object(N.a)(e);return f&&(!vl.supportsTypeNatively(f)||h||l)?"maybe":""}};(Object(D.c)("avc1.4d400d,mp4a.40.2")&&ua.getTech("Html5").registerSourceHandler(El,0),ua.VhsHandler=Sl,Object.defineProperty(ua,"HlsHandler",{get:function(){return ua.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),Sl},configurable:!0}),ua.VhsSourceHandler=El,Object.defineProperty(ua,"HlsSourceHandler",{get:function(){return ua.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),El},configurable:!0}),ua.Vhs=vl,Object.defineProperty(ua,"Hls",{get:function(){return ua.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),vl},configurable:!0}),ua.use||(ua.registerComponent("Hls",vl),ua.registerComponent("Vhs",vl)),ua.options.vhs=ua.options.vhs||{},ua.options.hls=ua.options.hls||{},ua.getPlugin&&ua.getPlugin("reloadSourceOnError"))||(ua.registerPlugin||ua.plugin)("reloadSourceOnError",(function(e){ml(this,e)}));t.a=ua}).call(this,n(59))},488:function(e,t){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},491:function(e,t,n){var r=n(384);t.DOMImplementation=r.DOMImplementation,t.XMLSerializer=r.XMLSerializer,t.DOMParser=n(778).DOMParser},492:function(e,t,n){var r=n(781).getUint64;e.exports=function(data){var view=new DataView(data.buffer,data.byteOffset,data.byteLength),e={version:data[0],flags:new Uint8Array(data.subarray(1,4)),references:[],referenceId:view.getUint32(4),timescale:view.getUint32(8)},i=12;0===e.version?(e.earliestPresentationTime=view.getUint32(i),e.firstOffset=view.getUint32(i+4),i+=8):(e.earliestPresentationTime=r(data.subarray(i)),e.firstOffset=r(data.subarray(i+8)),i+=16),i+=2;var t=view.getUint16(i);for(i+=2;t>0;i+=12,t--)e.references.push({referenceType:(128&data[i])>>>7,referencedSize:2147483647&view.getUint32(i),subsegmentDuration:view.getUint32(i+4),startsWithSap:!!(128&data[i+8]),sapType:(112&data[i+8])>>>4,sapDeltaTime:268435455&view.getUint32(i+8)});return e}},493:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}function o(e,t,n=".",l){if(!r(t))return o(e,{},n,l);const c=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const d=e[t];null!=d&&(l&&l(c,t,d,n)||(Array.isArray(d)&&Array.isArray(c[t])?c[t]=c[t].concat(d):r(d)&&r(c[t])?c[t]=o(d,c[t],(n?`${n}.`:"")+t.toString(),l):c[t]=d))}return c}function l(e){return(...t)=>t.reduce(((p,t)=>o(p,t,"",e)),{})}const c=l();c.fn=l(((e,t,n,r)=>{if(void 0!==e[t]&&"function"==typeof n)return e[t]=n(e[t]),!0})),c.arrayFn=l(((e,t,n,r)=>{if(Array.isArray(e[t])&&"function"==typeof n)return e[t]=n(e[t]),!0})),c.extend=l,e.exports=c},494:function(e,t,n){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},u=function(e,t,n,r,u){var i=e.name?e:e.$locale(),a=o(i[t]),s=o(i[n]),l=a||s.map((function(e){return e.substr(0,r)}));if(!u)return l;var c=i.weekStart;return l.map((function(e,t){return l[(t+(c||0))%7]}))},i=function(){return n.Ls[n.locale()]},a=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},s=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):u(e,"months")},monthsShort:function(t){return t?t.format("MMM"):u(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):u(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):u(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):u(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return a(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},n.localeData=function(){var e=i();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return a(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return u(i(),"months")},n.monthsShort=function(){return u(i(),"monthsShort","months",3)},n.weekdays=function(e){return u(i(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return u(i(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return u(i(),"weekdaysMin","weekdays",2,e)}}}()},495:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(48);n(26),n(10),n(104);function o(e){return null!==e&&"object"===Object(r.a)(e)}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3?arguments[3]:void 0;if(!o(t))return l(e,{},n,r);var c=Object.assign({},t);for(var d in e)if("__proto__"!==d&&"constructor"!==d){var h=e[d];null!=h&&(r&&r(c,d,h,n)||(Array.isArray(h)&&Array.isArray(c[d])?c[d]=c[d].concat(h):o(h)&&o(c[d])?c[d]=l(h,c[d],(n?"".concat(n,"."):"")+d.toString(),r):c[d]=h))}return c}function c(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(p,t){return l(p,t,"",e)}),{})}}var d=c();d.fn=c((function(e,t,n,r){if(void 0!==e[t]&&"function"==typeof n)return e[t]=n(e[t]),!0})),d.arrayFn=c((function(e,t,n,r){if(Array.isArray(e[t])&&"function"==typeof n)return e[t]=n(e[t]),!0})),d.extend=c},496:function(e,t,n){!function(e,t,n){"use strict";var r;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,function(e){e.SwiperComponent="Swiper",e.SwiperSlideComponent="SwiperSlide",e.SwiperDirective="swiper",e.SwiperInstance="$swiper"}(r||(r={}));var o,l,c=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});(function(e){e.Ready="ready",e.ClickSlide="clickSlide"})(o||(o={})),function(e){e.AutoUpdate="autoUpdate",e.AutoDestroy="autoDestroy",e.DeleteInstanceOnDestroy="deleteInstanceOnDestroy",e.CleanupStylesOnDestroy="cleanupStylesOnDestroy"}(l||(l={}));var d=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"];function h(){for(var s=0,i=0,e=arguments.length;i<e;i++)s+=arguments[i].length;var t=Array(s),n=0;for(i=0;i<e;i++)for(var a=arguments[i],r=0,o=a.length;r<o;r++,n++)t[n]=a[r];return t}var f,m=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},v=function(e,t,n){var r,l,c;if(e&&!e.destroyed){var d=(null===(r=t.composedPath)||void 0===r?void 0:r.call(t))||t.path;if((null==t?void 0:t.target)&&d){var h=Array.from(e.slides),f=Array.from(d);if(h.includes(t.target)||f.some((function(e){return h.includes(e)}))){var v=e.clickedIndex,y=Number(null===(c=null===(l=e.clickedSlide)||void 0===l?void 0:l.dataset)||void 0===c?void 0:c.swiperSlideIndex),_=Number.isInteger(y)?y:null;n(o.ClickSlide,v,_),n(m(o.ClickSlide),v,_)}}}},y=function(e,t){d.forEach((function(n){e.on(n,(function(){for(var e=arguments,r=[],o=0;o<arguments.length;o++)r[o]=e[o];t.apply(void 0,h([n],r));var l=m(n);l!==n&&t.apply(void 0,h([l],r))}))}))},_="instanceName";function T(e,t){var n=function(e,t){var n,r,o,l,c=null===(r=null===(n=e.data)||void 0===n?void 0:n.attrs)||void 0===r?void 0:r[t];return void 0!==c?c:null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l[m(t)]}
2,d=function(element,e,t){return e.arg||n(t,_)||element.id||r.SwiperInstance},h=function(element,e,t){var n=d(element,e,t);return t.context[n]||null},f=function(e){return e.value||t},T=function(input){return[!0,void 0,null,""].includes(input)},w=function(e){var t,n,r=(null===(t=e.data)||void 0===t?void 0:t.on)||(null===(n=e.componentOptions)||void 0===n?void 0:n.listeners);return function(e){for(var t,n=arguments,o=[],l=1;l<arguments.length;l++)o[l-1]=n[l];var c=null===(t=r)||void 0===t?void 0:t[e];c&&c.fns.apply(c,o)}};return{bind:function(element,e,t){-1===element.className.indexOf(c.containerClass)&&(element.className+=(element.className?" ":"")+c.containerClass),element.addEventListener("click",(function(n){var r=w(t),o=h(element,e,t);v(o,n,r)}))},inserted:function(element,t,n){var r=n.context,l=f(t),c=d(element,t,n),h=w(n),m=r,v=null==m?void 0:m[c];v&&!v.destroyed||(v=new e(element,l),m[c]=v,y(v,h),h(o.Ready,v))},componentUpdated:function(element,e,t){var r,o,c,d,m,v,y,_,w,S,E,x,k=n(t,l.AutoUpdate);if(T(k)){var C=h(element,e,t);if(C){var A=f(e).loop;A&&(null===(o=null===(r=C)||void 0===r?void 0:r.loopDestroy)||void 0===o||o.call(r)),null===(c=null==C?void 0:C.update)||void 0===c||c.call(C),null===(m=null===(d=C.navigation)||void 0===d?void 0:d.update)||void 0===m||m.call(d),null===(y=null===(v=C.pagination)||void 0===v?void 0:v.render)||void 0===y||y.call(v),null===(w=null===(_=C.pagination)||void 0===_?void 0:_.update)||void 0===w||w.call(_),A&&(null===(E=null===(S=C)||void 0===S?void 0:S.loopCreate)||void 0===E||E.call(S),null===(x=null==C?void 0:C.update)||void 0===x||x.call(C))}}},unbind:function(element,e,t){var r,o=n(t,l.AutoDestroy);if(T(o)){var c=h(element,e,t);c&&c.initialized&&(null===(r=null==c?void 0:c.destroy)||void 0===r||r.call(c,T(n(t,l.DeleteInstanceOnDestroy)),T(n(t,l.CleanupStylesOnDestroy))))}}}}function w(e){var t;return n.extend({name:r.SwiperComponent,props:(t={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},t[l.AutoUpdate]={type:Boolean,default:!0},t[l.AutoDestroy]={type:Boolean,default:!0},t[l.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},t[l.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},t),data:function(){var e;return(e={})[r.SwiperInstance]=null,e},computed:{swiperInstance:{cache:!1,set:function(e){this[r.SwiperInstance]=e},get:function(){return this[r.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||c.wrapperClass}},methods:{handleSwiperClick:function(e){v(this.swiperInstance,e,this.$emit.bind(this))},autoReLoopSwiper:function(){var e,t;if(this.swiperInstance&&this.swiperOptions.loop){var n=this.swiperInstance;null===(e=null==n?void 0:n.loopDestroy)||void 0===e||e.call(n),null===(t=null==n?void 0:n.loopCreate)||void 0===t||t.call(n)}},updateSwiper:function(){var e,t,n,r,o,c,d,h;this[l.AutoUpdate]&&this.swiperInstance&&(this.autoReLoopSwiper(),null===(t=null===(e=this.swiperInstance)||void 0===e?void 0:e.update)||void 0===t||t.call(e),null===(r=null===(n=this.swiperInstance.navigation)||void 0===n?void 0:n.update)||void 0===r||r.call(n),null===(c=null===(o=this.swiperInstance.pagination)||void 0===o?void 0:o.render)||void 0===c||c.call(o),null===(h=null===(d=this.swiperInstance.pagination)||void 0===d?void 0:d.update)||void 0===h||h.call(d))},destroySwiper:function(){var e,t;this[l.AutoDestroy]&&this.swiperInstance&&this.swiperInstance.initialized&&(null===(t=null===(e=this.swiperInstance)||void 0===e?void 0:e.destroy)||void 0===t||t.call(e,this[l.DeleteInstanceOnDestroy],this[l.CleanupStylesOnDestroy]))},initSwiper:function(){this.swiperInstance=new e(this.$el,this.swiperOptions),y(this.swiperInstance,this.$emit.bind(this)),this.$emit(o.Ready,this.swiperInstance)}},mounted:function(){this.swiperInstance||this.initSwiper()},activated:function(){this.updateSwiper()},updated:function(){this.updateSwiper()},beforeDestroy:function(){this.$nextTick(this.destroySwiper)},render:function(e){return e("div",{staticClass:c.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[f.ParallaxBg],e("div",{class:this.wrapperClass},this.$slots.default),this.$slots[f.Pagination],this.$slots[f.PrevButton],this.$slots[f.NextButton],this.$slots[f.Scrollbar]])}})}!function(e){e.ParallaxBg="parallax-bg",e.Pagination="pagination",e.Scrollbar="scrollbar",e.PrevButton="button-prev",e.NextButton="button-next"}(f||(f={}));var S=n.extend({name:r.SwiperSlideComponent,computed:{slideClass:function(){var e,t;return(null===(t=null===(e=this.$parent)||void 0===e?void 0:e.swiperOptions)||void 0===t?void 0:t.slideClass)||c.slideClass}},methods:{update:function(){var e,t=this.$parent;t[l.AutoUpdate]&&(null===(e=null==t?void 0:t.swiperInstance)||void 0===e||e.update(
2))}},mounted:function(){this.update()},updated:function(){this.update()},render:function(e){return e("div",{class:this.slideClass},this.$slots.default)}}),E=function(e){var t=function(n,o){if(!t.installed){var l=w(e);o&&(l.options.props.defaultOptions.default=function(){return o}),n.component(r.SwiperComponent,l),n.component(r.SwiperSlideComponent,S),n.directive(r.SwiperDirective,T(e,o)),t.installed=!0}};return t};function x(e){var t;return(t={version:"4.1.1",install:E(e),directive:T(e)})[r.SwiperComponent]=w(e),t[r.SwiperSlideComponent]=S,t}var k=x(t),C=k.version,A=k.install,O=k.directive,j=k.Swiper,I=k.SwiperSlide;e.Swiper=j,e.SwiperSlide=I,e.default=k,e.directive=O,e.install=A,e.version=C,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(996),n(6))},497:function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=(r(n(1)),n(6)),u=r(a),s=r(n(7)),o=r(n(8)),p=r(n(9)),b=r(n(10)),l=r(n(11)),c=r(n(14)),d=[],h=!1,f={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},m=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(h=!0),h)return d=(0,l.default)(d,f),(0,b.default)(d,f.once),d},v=function(){d=(0,c.default)(),m()},y=function(){d.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")}))},_=function(e){return!0===e||"mobile"===e&&p.default.mobile()||"phone"===e&&p.default.phone()||"tablet"===e&&p.default.tablet()||"function"==typeof e&&!0===e()},T=function(e){f=i(f,e),d=(0,c.default)();var t=document.all&&!window.atob;return _(f.disable)||t?y():(f.disableMutationObserver||o.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),f.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",f.easing),document.querySelector("body").setAttribute("data-aos-duration",f.duration),document.querySelector("body").setAttribute("data-aos-delay",f.delay),"DOMContentLoaded"===f.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?m(!0):"load"===f.startEvent?window.addEventListener(f.startEvent,(function(){m(!0)})):document.addEventListener(f.startEvent,(function(){m(!0)})),window.addEventListener("resize",(0,s.default)(m,f.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(m,f.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)((function(){(0,b.default)(d,f.once)}),f.throttleDelay)),f.disableMutationObserver||o.default.ready("[data-aos]",v),d)};e.exports={init:T,refresh:m,refreshHard:v}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=b,r=m;return b=m=void 0,E=t,g=e.apply(r,n)}function o(e){return E=e,y=setTimeout(c,t),x?r(e):g}function a(e){var i=t-(e-_);return k?w(i,v-(e-E)):i}function l(e){var n=e-_;return void 0===_||n>=t||n<0||k&&e-E>=v}function c(){var e=S();return l(e)?d(e):void(y=setTimeout(c,a(e)))}function d(e){return y=void 0,C&&b?r(e):(b=m=void 0,g)}function h(){void 0!==y&&clearTimeout(y),E=0,b=_=m=y=void 0}function p(){return void 0===y?g:d(S())}function f(){var e=S(),n=l(e);if(b=arguments,m=this,_=e,n){if(void 0===y)return o(_);if(k)return y=setTimeout(c,t),r(_)}return void 0===y&&(y=setTimeout(c,t)),g}var b,m,v,g,y,_,E=0,x=!1,k=!1,C=!0;if("function"!=typeof e)throw new TypeError(s);return t=u(t)||0,i(n)&&(x=!!n.leading,v=(k="maxWait"in n)?T(u(n.maxWait)||0,t):v,C="trailing"in n?!!n.trailing:C),f.cancel=h,f.flush=p,f}function r(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:o,maxWait:t,trailing:a})}function i(e){var t=void 0===e?"undefined":l(e);return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==(void 0===e?"undefined":l(e))}function a(e){return"symbol"==(void 0===e?"undefined":l(e))||o(e)&&_.call(e)==d}function u(e){if("number"==typeof e)return e;if(a(e))return c;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(h,"");var n=f.test(e);return n||b.test(e)?m(e.slice(2),n?2:8):p.test(e)?c:+e}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="Expected a function",c=NaN,d="[object Symbol]",h=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,b=/^0o[0-7]+$/i,m=parseInt,v="object"==(void 0===t?"undefined":l(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,y=v||g||Function("return this")(),_=Object.prototype.toString,T=Math.max,w=Math.min,S=function(){return y.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=b,r=m;return b=m=void 0,E=t,g=e.apply(r,n)}function o(e){return E=e,y=setTimeout(c,t),x?i(e):g}function u(e){var i=t-(e-S);return k?T(i,v-(e-E)):i}function s(e){var n=e-S;return void 0===S||n>=t||n<0||k&&e-E>=v}function c(){var e=w();return s(e)?d(e):void(y=setTimeout(c,u(e)))}function d(e){return y=void 0,C&&b?i(e):(b=m=void 0,g)}function h(){void 0!==y&&clearTimeout(y),E=0,b=S=m=y=void 0}function p(){return void 0===y?g:d(w())}function f(){var e=w(),n=s(e);if(b=arguments,m=this,S=e,n){if(void 0===y)return o(S);if(k)return y=setTimeout(c,t),i(S)}return void 0===y&&(y=setTimeout(c,t)),g}var b,m,v,g,y,S,E=0,x=!1,k=!1,C=!0;if("function"!=typeof e)throw new TypeError(l);return t=a(t)||0,r(n)&&(x=!!n.leading,v=(k="maxWait"in n)?_(a(n.maxWait)||0,t):v,C="trailing"in n?!!n.trailing:C),f.cancel=h,f.flush=p,f}function r(e){var t=void 0===e?"undefined":u(e);return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==(void 0===e?"undefined":u(e))}function o(e){return"symbol"==(void 0===e?"undefined":u(e))||i(e)&&y.call(e)==c}function a(e){if("number"==typeof e)return e;if(o(e))return s;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=p.test(e);return n||f.test(e)?b(e.slice(2),n?2:8):h.test(e)?s:+e}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l="Expected a function",s=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,f=/^0o[0-7]+$/i,b=parseInt,m="object"==(void 0===t?"undefined":u(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype.toString,_=Math.max,T=Math.min,w=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,r=void 0;for(t=0;t<e.length;t+=1){if((r=e[t]).dataset&&r.dataset.aos)return!0;
2if(r.children&&n(r.children))return!0}return!1}function r(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function i(){return!!r()}function o(e,t){var n=window.document,o=new(r())(a);u=t,o.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function a(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),r=Array.prototype.slice.call(e.removedNodes);if(n(t.concat(r)))return u()}))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){};t.default={isSupported:i,ready:o}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,u=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,l=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
2sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=function(){function e(){n(this,e)}return i(e,[{key:"phone",value:function(){var e=r();return!(!o.test(e)&&!a.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=r();return!(!u.test(e)&&!l.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var r=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==r&&("false"===r||!n&&"true"!==r)&&e.node.classList.remove("aos-animate")},r=function(e,t){var r=window.pageYOffset,i=window.innerHeight;e.forEach((function(e,o){n(e,i+r,t)}))};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(12)),a=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,o.default)(e.node,t.offset)})),e};t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(13)),a=function(e,t){var n=0,r=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(r=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,o.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(t)||(r=t),n+r};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))};t.default=n}])},498:function(e,t,n){(function(t){e.exports=function(){return i={},e.m=t=[function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";n.r(t);var i=n(1),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";n.r(t);var i=n(2),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";function i(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.overlayTransition}},[e.visibility.overlay?n("div",{ref:"overlay",class:e.overlayClass,attrs:{"aria-expanded":e.visibility.overlay.toString(),"data-modal":e.name}},[n("div",{staticClass:"v--modal-background-click",on:{mousedown:function(t){return t.target!==t.currentTarget?null:e.handleBackgroundClick(t)},touchstart:function(t){return t.target!==t.currentTarget?null:e.handleBackgroundClick(t)}}},[n("div",{staticClass:"v--modal-top-right"},[e._t("top-right")],2),e._v(" "),n("transition",{attrs:{name:e.transition},on:{"before-enter":e.beforeTransitionEnter,"after-enter":e.afterTransitionEnter,"after-leave":e.afterTransitionLeave}},[e.visibility.modal?n("div",{ref:"modal",class:e.modalClass,style:e.modalStyle,attrs:{role:"dialog","aria-modal":"true"}},[e._t("default"),e._v(" "),e.resizable&&!e.isAutoHeight?n("resizer",{attrs:{"min-width":e.minWidth,"min-height":e.minHeight,"max-width":e.maxWidth,"max-height":e.maxHeight},on:{resize:e.handleModalResize}}
2):e._e()],2):e._e()])],1)]):e._e()])}function r(){var e=this.$createElement;return(this._self._c||e)("div",{class:this.className},[])}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return n<e?e:t<n?t:n}function c(){var e=window.innerWidth,t=document.documentElement.clientWidth;return e&&t?Math.min(e,t):t||e}n.r(t),n.d(t,"getModalsContainer",(function(){return I})),r._withStripped=i._withStripped=!0;var d=function(e){var t=0<arguments.length&&void 0!==e?e:0;return function(){return(t++).toString()}}();function u(e,t,n,i,r,o,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}var h=u({name:"VueJsModalResizer",props:{minHeight:{type:Number,default:0},minWidth:{type:Number,default:0},maxWidth:{type:Number,default:Number.MAX_SAFE_INTEGER},maxHeight:{type:Number,default:Number.MAX_SAFE_INTEGER}},data:function(){return{clicked:!1,size:{}}},mounted:function(){this.$el.addEventListener("mousedown",this.start,!1)},computed:{className:function(){return{"vue-modal-resizer":!0,clicked:this.clicked}}},methods:{start:function(e){this.clicked=!0,window.addEventListener("mousemove",this.mousemove,!1),window.addEventListener("mouseup",this.stop,!1),e.stopPropagation(),e.preventDefault()},stop:function(){this.clicked=!1,window.removeEventListener("mousemove",this.mousemove,!1),window.removeEventListener("mouseup",this.stop,!1),this.$emit("resize-stop",{element:this.$el.parentElement,size:this.size})},mousemove:function(e){this.resize(e)},resize:function(e){var t=this.$el.parentElement;if(t){var n=e.clientX-t.offsetLeft,i=e.clientY-t.offsetTop,r=Math.min(c(),this.maxWidth),o=Math.min(window.innerHeight,this.maxHeight);n=l(this.minWidth,r,n),i=l(this.minHeight,o,i),this.size={width:n,height:i},t.style.width=n+"px",t.style.height=i+"px",this.$emit("resize",{element:t,size:this.size})}}}},r,[],!1,(function(e){var t=n(3);t.__inject__&&t.__inject__(e)}),null,"0e5a7cbe");h.options.__file="src/Resizer.vue";var f=h.exports;function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){switch(m(e)){case"number":return{type:"px",value:e};case"string":return function(e){if("auto"===e)return{type:e,value:0};var t=g.find((function(t){return t.regexp.test(e)}));return t?{type:t.name,value:parseFloat(e)}:{type:"",value:e}}(e);default:return{type:"",value:e}}}function v(e){if("string"!=typeof e)return 0<=e;var t=p(e);
2return("%"===t.type||"px"===t.type)&&0<t.value}var y="[-+]?[0-9]*.?[0-9]+",g=[{name:"px",regexp:new RegExp("^".concat(y,"px$"))},{name:"%",regexp:new RegExp("^".concat(y,"%$"))},{name:"px",regexp:new RegExp("^".concat(y,"$"))}];function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=u({name:"VueJsModal",props:{name:{required:!0,type:String},delay:{type:Number,default:0},resizable:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},draggable:{type:[Boolean,String],default:!1},scrollable:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},overlayTransition:{type:String,default:"overlay-fade"},transition:{type:String},clickToClose:{type:Boolean,default:!0},classes:{type:[String,Array],default:"v--modal"},styles:{type:[String,Array,Object]},minWidth:{type:Number,default:0,validator:function(e){return 0<=e}},minHeight:{type:Number,default:0,validator:function(e){return 0<=e}},maxWidth:{type:Number,default:Number.MAX_SAFE_INTEGER},maxHeight:{type:Number,default:Number.MAX_SAFE_INTEGER},width:{type:[Number,String],default:600,validator:v},height:{type:[Number,String],default:300,validator:function(e){return"auto"===e||v(e)}},pivotX:{type:Number,default:.5,validator:function(e){return 0<=e&&e<=1}},pivotY:{type:Number,default:.5,validator:function(e){return 0<=e&&e<=1}}},components:{Resizer:f},data:function(){return{visible:!1,visibility:{modal:!1,overlay:!1},shift:{left:0,top:0},modal:{width:0,widthType:"px",height:0,heightType:"px",renderedHeight:0},viewportHeight:0,viewportWidth:0,mutationObserver:null}},created:function(){this.setInitialSize()},beforeMount:function(){var e=this;if(L.event.$on("toggle",this.handleToggleEvent),window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize(),this.scrollable&&!this.isAutoHeight&&console.warn('Modal "'.concat(this.name,'" has scrollable flag set to true ')+'but height is not "auto" ('.concat(this.height,")")),this.isAutoHeight){var t=function(){if("undefined"!=typeof window)for(var e=["","WebKit","Moz","O","Ms"],t=0;t<e.length;t++){var n=e[t]+"MutationObserver";if(n in window)return window[n]}return!1}();t?this.mutationObserver=new t((function(t){e.updateRenderedHeight()})):console.warn("MutationObserver was not found. Vue-js-modal automatic resizing relies heavily on MutationObserver. Please make sure to provide shim for it.")}this.clickToClose&&window.addEventListener("keyup",this.handleEscapeKeyUp)},beforeDestroy:function(){L.event.$off("toggle",this.handleToggleEvent),window.removeEventListener("resize",this.handleWindowResize),this.clickToClose&&window.removeEventListener("keyup",this.handleEscapeKeyUp),this.scrollable&&document.body.classList.remove("v--modal-block-scroll")},computed:{isAutoHeight:function(){return"auto"===this.modal.heightType},position:function(){var e=this.viewportHeight,t=this.viewportWidth,n=this.shift,i=this.pivotX,r=this.pivotY,o=this.trueModalWidth,a=this.trueModalHeight,s=t-o,c=Math.max(e-a,0),u=n.left+i*s,d=n.top+r*c;return{left:parseInt(l(0,s,u)),top:parseInt(l(0,c,d))}},trueModalWidth:function(){var e=this.viewportWidth,t=this.modal,n=this.adaptive,i=this.minWidth,r=this.maxWidth,o="%"===t.widthType?e/100*t.width:t.width,a=Math.max(i,Math.min(e,r));return n?l(i,a,o):o},trueModalHeight:function(){var e=this.viewportHeight,t=this.modal,n=this.isAutoHeight,i=this.adaptive,r=this.minHeight,o=this.maxHeight,a="%"===t.heightType?e/100*t.height:t.height;if(n)return this.modal.renderedHeight;var s=Math.max(r,Math.min(e,o));return i?l(r,s,a):a},overlayClass:function(){return{"v--modal-overlay":!0,scrollable:this.scrollable&&this.isAutoHeight}},modalClass:function(){return["v--modal-box",this.classes]},stylesProp:function(){return"string"==typeof this.styles?this.styles.split(";").map((function(e){return e.trim()})).filter(Boolean).map((function(e){return e.split(":")})).reduce((function(e,t){var n=o(t,2);return a({},e,s({},n[0],n[1]))}),{}):this.styles},modalStyle:function(){return[this.stylesProp,{top:this.position.top+"px",left:this.position.left+"px",width:this.trueModalWidth+"px",height:this.isAutoHeight?"auto":this.trueModalHeight+"px"}]}},watch:{visible:function(e){var t=this;e?(this.visibility.overlay=!0,setTimeout((function(){t.visibility.modal=!0,t.$nextTick((function(){t.addDraggableListeners(),t.callAfterEvent(!0)}))}),this.delay)):(this.visibility.modal=!1,setTimeout((function(){t.visibility.overlay=!1,t.$nextTick((function(){t.removeDraggableListeners(),t.callAfterEvent(!1)}))}),this.delay))}},methods:{handleToggleEvent:function(e,t,n){if(this.name===e){var i=void 0===t?!this.visible:t;this.toggle(i,n)}},setInitialSize:function(){var e=this.modal,t=p(this.width),n=p(this.height);e.width=t.value,e.widthType=t.type,e.height=n.value,e.heightType=n.type},handleEscapeKeyUp:function(e){27===e.which&&this.visible&&this.$modal.hide(this.name)},handleWindowResize:function(){this.viewportWidth=c(),this.viewportHe
2ight=window.innerHeight,this.ensureShiftInWindowBounds()},createModalEvent:function(e){var t=0<arguments.length&&void 0!==e?e:{};return function(e){var t=0<arguments.length&&void 0!==e?e:{};return a({id:d(),timestamp:Date.now(),canceled:!1},t)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){b(e,t,n[t])}))}return e}({name:this.name,ref:this.$refs.modal},t))},handleModalResize:function(e){this.modal.widthType="px",this.modal.width=e.size.width,this.modal.heightType="px",this.modal.height=e.size.height;var t=this.modal.size;this.$emit("resize",this.createModalEvent({size:t}))},toggle:function(e,t){var n=this.reset,i=this.scrollable,r=this.visible;if(r!==e){var o=r?"before-close":"before-open";"before-open"==o?(n&&(this.setInitialSize(),this.shift.left=0,this.shift.top=0),i&&document.body.classList.add("v--modal-block-scroll")):i&&document.body.classList.remove("v--modal-block-scroll");var a=!1,s=this.createModalEvent({stop:function(){a=!0},state:e,params:t});this.$emit(o,s),a||(this.visible=e,"before-open"==o&&"undefined"!=typeof document&&document.activeElement&&"BODY"!==document.activeElement.tagName&&document.activeElement.blur&&document.activeElement.blur())}},getDraggableElement:function(){var e="string"!=typeof this.draggable?".v--modal-box":this.draggable;return e?this.$refs.overlay.querySelector(e):null},handleBackgroundClick:function(){this.clickToClose&&this.toggle(!1)},callAfterEvent:function(e){e?this.connectObserver():this.disconnectObserver();var t=e?"opened":"closed",n=this.createModalEvent({state:e});this.$emit(t,n)},addDraggableListeners:function(){var e=this;if(this.draggable){var t=this.getDraggableElement();if(t){var a=0,s=0,n=0,u=0,r=function(e){return e.touches&&0<e.touches.length?e.touches[0]:e},o=function(t){var o=t.target;if(!o||"INPUT"!==o.nodeName&&"TEXTAREA"!==o.nodeName&&"SELECT"!==o.nodeName){var d=r(t),i=d.clientX,h=d.clientY;document.addEventListener("mousemove",l),document.addEventListener("touchmove",l),document.addEventListener("mouseup",c),document.addEventListener("touchend",c),a=i,s=h,n=e.shift.left,u=e.shift.top}},l=function(t){var o=r(t),l=o.clientX,i=o.clientY;e.shift.left=n+l-a,e.shift.top=u+i-s,t.preventDefault()},c=function t(n){e.ensureShiftInWindowBounds(),document.removeEventListener("mousemove",l),document.removeEventListener("touchmove",l),document.removeEventListener("mouseup",t),document.removeEventListener("touchend",t),n.preventDefault()};t.addEventListener("mousedown",o),t.addEventListener("touchstart",o)}}},removeDraggableListeners:function(){},updateRenderedHeight:function(){this.$refs.modal&&(this.modal.renderedHeight=this.$refs.modal.getBoundingClientRect().height)},connectObserver:function(){this.mutationObserver&&this.mutationObserver.observe(this.$refs.overlay,{childList:!0,attributes:!0,subtree:!0})},disconnectObserver:function(){this.mutationObserver&&this.mutationObserver.disconnect()},beforeTransitionEnter:function(){this.connectObserver()},afterTransitionEnter:function(){},afterTransitionLeave:function(){},ensureShiftInWindowBounds:function(){var e=this.viewportHeight,t=this.viewportWidth,n=this.shift,i=this.pivotX,r=this.pivotY,o=this.trueModalWidth,a=this.trueModalHeight,s=t-o,c=Math.max(e-a,0),u=n.left+i*s,d=n.top+r*c;this.shift.left-=u-l(0,s,u),this.shift.top-=d-l(0,c,d)}}},i,[],!1,(function(e){var t=n(4);t.__inject__&&t.__inject__(e)}),null,"536170a6");function T(){var e=this,t=e.$createElement,i=e._self._c||t;return i("modal",{attrs:{name:"dialog",height:"auto",classes:["v--modal","vue-dialog",this.params.class],width:e.width,"pivot-y":.3,adaptive:!0,clickToClose:e.clickToClose,transition:e.transition},on:{"before-open":e.beforeOpened,"before-close":e.beforeClosed,opened:function(t){e.$emit("opened",t)},closed:function(t){e.$emit("closed",t)}}},[i("div",{staticClass:"dialog-content"},[e.params.title?i("div",{staticClass:"dialog-c-title",domProps:{innerHTML:e._s(e.params.title||"")}}
2):e._e(),e._v(" "),e.params.component?i(e.params.component,e._b({tag:"component"},"component",e.params.props,!1)):i("div",{staticClass:"dialog-c-text",domProps:{innerHTML:e._s(e.params.text||"")}})],1),e._v(" "),e.buttons?i("div",{staticClass:"vue-dialog-buttons"},e._l(e.buttons,(function(t,n){return i("button",{key:n,class:t.class||"vue-dialog-button",style:e.buttonStyle,attrs:{type:"button"},domProps:{innerHTML:e._s(t.title)},on:{click:function(t){t.stopPropagation(),e.click(n,t)}}},[e._v("\n      "+e._s(t.title)+"\n    ")])}))):i("div",{staticClass:"vue-dialog-buttons-none"})])}_.options.__file="src/Modal.vue";var w=_.exports;T._withStripped=!0;var S=u({name:"VueJsDialog",props:{width:{type:[Number,String],default:400},clickToClose:{type:Boolean,default:!0},transition:{type:String,default:"fade"}},data:function(){return{params:{},defaultButtons:[{title:"CLOSE"}]}},computed:{buttons:function(){return this.params.buttons||this.defaultButtons},buttonStyle:function(){return{flex:"1 1 ".concat(100/this.buttons.length,"%")}}},methods:{beforeOpened:function(e){window.addEventListener("keyup",this.onKeyUp),this.params=e.params||{},this.$emit("before-opened",e)},beforeClosed:function(e){window.removeEventListener("keyup",this.onKeyUp),this.params={},this.$emit("before-closed",e)},click:function(e,t,n){var i=2<arguments.length&&void 0!==n?n:"click",r=this.buttons[e];r&&"function"==typeof r.handler?r.handler(e,t,{source:i}):this.$modal.hide("dialog")},onKeyUp:function(e){if(13===e.which&&0<this.buttons.length){var t=1===this.buttons.length?0:this.buttons.findIndex((function(e){return e.default}));-1!==t&&this.click(t,e,"keypress")}}}},T,[],!1,(function(e){var t=n(5);t.__inject__&&t.__inject__(e)}),null,"0c67a010");function E(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"modals-container"}},e._l(e.modals,(function(t){return i("modal",e._g(e._b({key:t.id,on:{closed:function(n){e.remove(t.id)}}},"modal",t.modalAttrs,!1),t.modalListeners),[i(t.component,e._g(e._b({tag:"component",on:{close:function(n){e.$modal.hide(t.modalAttrs.name)}}},"component",t.componentAttrs,!1),e.$listeners))],1)})))}S.options.__file="src/Dialog.vue";var x=S.exports;function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}E._withStripped=!0;var C=u({data:function(){return{modals:[]}},created:function(){this.$root._dynamicContainer=this},methods:{add:function(e,t,n,i){var r=this,o=1<arguments.length&&void 0!==t?t:{},a=2<arguments.length&&void 0!==n?n:{},s=3<arguments.length&&void 0!==i?i:{},l=d(),u=a.name||"_dynamic_modal_"+l;this.modals.push({id:l,modalAttrs:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){k(e,t,n[t])}))}return e}({},a,{name:u}),modalListeners:s,component:e,componentAttrs:o}),this.$nextTick((function(){r.$modal.show(u)}))},remove:function(e){var t=this.modals.findIndex((function(t){return t.id===e}));-1!==t&&this.modals.splice(t,1)}}},E,[],!1,null,null,"431cd08a");C.options.__file="src/ModalsContainer.vue";var A=C.exports;function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=function(e,t,n){if(!n._dynamicContainer&&t.injectModalsContainer){var i=(r=document.createElement("div"),document.body.appendChild(r),r);new e({parent:n,render:function(e){return e(A)}}).$mount(i)}var r;return n._dynamicContainer},P={install:function(a,e){var s=1<arguments.length&&void 0!==e?e:{};if(!this.installed){this.installed=!0,this.event=new a,this.rootInstance=null;var t=s.componentName||"Modal",n=s.dynamicDefaults||{},r=function(e,t,r,i){var o=r&&r.root?r.root:P.rootInstance,l=I(a,s,o);l?l.add(e,t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
2)))),i.forEach((function(t){j(e,t,n[t])}))}return e}({},n,r),i):console.warn("[vue-js-modal] In order to render dynamic modals, a <modals-container> component must be present on the page.")};a.prototype.$modal={show:function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];switch(O(e)){case"string":return function(e,t){P.event.$emit("toggle",e,!0,t)}.apply(void 0,[e].concat(n));case"object":case"function":return s.dynamic?r.apply(void 0,[e].concat(n)):console.warn("[vue-js-modal] $modal() received object as a first argument, but dynamic modals are switched off. https://github.com/euvl/vue-js-modal/#dynamic-modals");default:console.warn("[vue-js-modal] $modal() received an unsupported argument as a first argument.",e)}},hide:function(e,t){P.event.$emit("toggle",e,!1,t)},toggle:function(e,t){P.event.$emit("toggle",e,void 0,t)}},a.component(t,w),s.dialog&&a.component("VDialog",x),s.dynamic&&(a.component("ModalsContainer",A),a.mixin({beforeMount:function(){null===P.rootInstance&&(P.rootInstance=this.$root)}}))}}},L=t.default=P}],e.c=i,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(e){return t[e]}.bind(null,i));return 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(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="/dist/",e(e.s=6);function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var t,i}()}).call(this,n(59))},499:function(e,t,n){"use strict";var r=n(6);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(t){l(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var h=function(e){return"function"==typeof e},f=function(e){return e&&"object"===o(e)&&!Array.isArray(e)},m=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!r.length)return t;var source=r.shift();if(f(t)&&f(source)){for(var c in source)f(source[c])?(t[c]||Object.assign(t,l({},c,{})),e(t[c],source[c])):Object.assign(t,l({},c,source[c]));return e.apply(void 0,[t].concat(r))}},v=function(){return"undefined"!=typeof window&&"undefined"!=typeof document},y=function(text){v()},_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y('Missing "appName" property inside the plugin options.',null==e.app_name),y('Missing "name" property in the route.',null==e.screen_name),e};function T(){var path=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",base=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=path.split("/"),t=base.split("/");return""===e[0]&&"/"===base[base.length-1]&&e.shift(),t.join("/")+e.join("/")}var w,S={},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}};S=m(t,e)},x=function(){return S},k=function(){var e,t=x(),n=t.globalObjectName;v()&&void 0!==window[n]&&(e=window)[n].apply(e,arguments)},C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=x(),o=r.config,l=r.includes;k.apply(void 0,["config",o.id].concat(t)),Array.isArray(l)&&l.forEach((function(e){k.apply(void 0,["config",e.id].concat(t))}))}
2,A=function(e,t){v()&&(window["ga-disable-".concat(e)]=t)},O=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=x(),n=t.config,r=t.includes;A(n.id,e),Array.isArray(r)&&r.forEach((function(t){return A(t.id,e)}))},j=function(){O(!0)},I=function(e){w=e},P=function(){return w},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=x(),r=n.includes,o=n.defaultGroupName;null==t.send_to&&Array.isArray(r)&&r.length&&(t.send_to=r.map((function(e){return e.id})).concat(o)),k("event",e,t)},M=function(param){if(v()){var template;if("string"==typeof param)template={page_path:param};else if(param.path||param.fullPath){var e=x(),t=e.pageTrackerUseFullPath,n=e.pageTrackerPrependBase,r=P(),base=r&&r.options.base,path=t?param.fullPath:param.path;template=d(d({},param.name&&{page_title:param.name}),{},{page_path:n?T(path,base):path})}else template=param;null==template.page_location&&(template.page_location=window.location.href),null==template.send_page_view&&(template.send_page_view=!0),L("page_view",template)}},D=function(param){var template,e=x().appName;param&&((template="string"==typeof param?{screen_name:param}:param).app_name=template.app_name||e,L("screen_view",template))},N=Object.freeze({__proto__:null,query:k,config:C,optOut:j,optIn:function(){O(!1)},pageview:M,screenview:D,exception:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];L.apply(void 0,["exception"].concat(t))},linker:function(e){C("linker",e)},time:function(e){L("timing_complete",e)},set:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,["set"].concat(t))},refund:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];L.apply(void 0,["refund"].concat(t))},purchase:function(e){L("purchase",e)},customMap:function(map){C({custom_map:map})},event:L}),R=function(e){return e.$gtag=e.prototype.$gtag=N},B=function(e){return d({send_page_view:!1},e)},U=function(){var e=x(),t=e.config,n=e.includes;k("config",t.id,B(t.params)),Array.isArray(n)&&n.forEach((function(e){k("config",e.id,B(e.params))}
2))},track=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=x(),r=n.appName,o=n.pageTrackerTemplate,l=n.pageTrackerScreenviewEnabled,c=n.pageTrackerSkipSamePath;if(!c||e.path!==t.path){var template=e;h(o)?template=o(e,t):l&&(template=_({app_name:r,screen_name:e.name})),l?D(template):M(template)}},F=function(e){var t=x().pageTrackerExcludedRoutes;return t.includes(e.path)||t.includes(e.name)},z=function(){var e=x(),t=e.onReady,n=e.onError,o=e.globalObjectName,l=e.globalDataLayerName,c=e.config,d=e.customResourceURL,f=e.customPreconnectOrigin,m=e.deferScriptLoad,y=e.pageTrackerEnabled,_=e.disableScriptLoad,T=Boolean(y&&P());if(function(){if(v()){var e=x(),t=e.enabled,n=e.globalObjectName,r=e.globalDataLayerName;null==window[n]&&(window[r]=window[r]||[],window[n]=function(){window[r].push(arguments)}),window[n]("js",new Date),t||j(),window[n]}}(),T?function(){var e=x(),t=e.onBeforeTrack,n=e.onAfterTrack,o=P();o.onReady((function(){r.default.nextTick().then((function(){var e=o.currentRoute;U(),F(e)||track(e)})),o.afterEach((function(e,o){r.default.nextTick().then((function(){F(e)||(h(t)&&t(e,o),track(e,o),h(n)&&n(e,o))}))}))}))}():U(),!_)return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,r){if("undefined"!=typeof document){var head=document.head||document.getElementsByTagName("head")[0],script=document.createElement("script");if(script.async=!0,script.src=e,script.defer=t.defer,t.preconnectOrigin){var link=document.createElement("link");link.href=t.preconnectOrigin,link.rel="preconnect",head.appendChild(link)}head.appendChild(script),script.onload=n,script.onerror=r}}))}("".concat(d,"?id=").concat(c.id,"&l=").concat(l),{preconnectOrigin:f,defer:m}).then((function(){t&&t(window[o])})).catch((function(e){return n&&n(e),e}))};t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;R(e),E(t),I(n),x().bootstrap&&z()}},501:function(e,t,n){"use strict";n(26),n(228),n(651),n(18);var r,o=n(205),l=n.n(o),c=(n(20),n(184),n(10),n(652),n(39),n(330),n(44),n(215)),d=n.n(c),h=n(260),f=n.n(h),m=n(486),v=n.n(m),y=[],_="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var T,w=function(e){return Object.freeze(e)},S=function(e,t){this.inlineSize=e,this.blockSize=t,w(this)},E=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,w(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),x=function(e){return e instanceof SVGElement&&"getBBox"in e},k=function(e){if(x(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,l=o.offsetWidth,c=o.offsetHeight;return!(l||c||e.getClientRects().length)},C=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},A="undefined"!=typeof window?window:{},O=new WeakMap,j=/auto|scroll/,I=/^tb|vertical/,P=/msie|trident/i.test(A.navigator&&A.navigator.userAgent),L=function(e){return parseFloat(e||"0")},M=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new S((n?t:e)||0,(n?e:t)||0)},D=w({devicePixelContentBoxSize:M(),borderBoxSize:M(),contentBoxSize:M(),contentRect:new E(0,0,0,0)}),N=function(e,t){if(void 0===t&&(t=!1),O.has(e)&&!t)return O.get(e);if(k(e))return O.set(e,D),D;var n=getComputedStyle(e),svg=x(e)&&e.ownerSVGElement&&e.getBBox(),r=!P&&"border-box"===n.boxSizing,o=I.test(n.writingMode||""),l=!svg&&j.test(n.overflowY||""),c=!svg&&j.test(n.overflowX||""),d=svg?0:L(n.paddingTop),h=svg?0:L(n.paddingRight),f=svg?0:L(n.paddingBottom),m=svg?0:L(n.paddingLeft),v=svg?0:L(n.borderTopWidth),y=svg?0:L(n.borderRightWidth),_=svg?0:L(n.borderBottomWidth),T=m+h,S=d+f,C=(svg?0:L(n.borderLeftWidth))+y,A=v+_,N=c?e.offsetHeight-A-e.clientHeight:0,R=l?e.offsetWidth-C-e.clientWidth:0,B=r?T+C:0,U=r?S+A:0,F=svg?svg.width:L(n.width)-B-R,z=svg?svg.he
vendor: 4,602 bytes, line 2
2ight:L(n.height)-U-N,$=F+T+R+C,H=z+S+N+A,W=w({devicePixelContentBoxSize:M(Math.round(F*devicePixelRatio),Math.round(z*devicePixelRatio),o),borderBoxSize:M($,H,o),contentBoxSize:M(F,z,o),contentRect:new E(m,d,F,z)});return O.set(e,W),W},R=function(e,t,n){var o=N(e,n),l=o.borderBoxSize,c=o.contentBoxSize,d=o.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return d;case r.BORDER_BOX:return l;default:return c}},B=function(e){var t=N(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=w([t.borderBoxSize]),this.contentBoxSize=w([t.contentBoxSize]),this.devicePixelContentBoxSize=w([t.devicePixelContentBoxSize])},U=function(e){if(k(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},F=function(){var e=1/0,t=[];y.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new B(t.target),o=U(t.target);r.push(n),t.lastReportedSize=R(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},z=function(e){y.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(U(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},$=function(){var e,t=0;for(z(t);y.some((function(e){return e.activeTargets.length>0}));)t=F(),z(t);return y.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:_}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=_),window.dispatchEvent(e)),t>0},H=[],W=function(e){if(!T){var t=0,n=document.createTextNode("");new MutationObserver((function(){return H.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),T=function(){n.textContent=""+(t?t--:t++)}}H.push(e),T()},V=0,Y={attributes:!0,characterData:!0,childList:!0,subtree:!0},G=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],time=function(e){return void 0===e&&(e=0),Date.now()+e},X=!1,K=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!X){X=!0;var n,r=time(e);n=function(){var n=!1;try{n=$()}finally{if(X=!1,e=r-time(),!V)return;n?t.run(1e3):e>0?t.run(e):t.start()}},W((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Y)};document.body?t():A.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),G.forEach((function(t){return A.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),G.forEach((function(t){return A.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),Q=function(e){!V&&e>0&&K.start(),!(V+=e)&&K.stop()},J=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=R(this.target,this.observedBox,!0);return e=this.target,x(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},ee=new WeakMap,te=function(e,t){for(var i=0;i<e.length;i+=1)if(e[i].target===t)return i;return-1},ie=function(){function e(){}return e.connect=function(e,t){var n=new Z(e,t);ee.set(e,n)},e.observe=function(e,t,n){var r=ee.get(e),o=0===r.observationTargets.length;te(r.observationTargets,t)<0&&(o&&y.push(r),r.observationTargets.push(new J(t,n&&n.box)),Q(1),K.schedule())},e.unobserve=function(e,t){var n=ee.get(e),r=te(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&y.splice(y.indexOf(n),1),n.observationTargets.splice(r,1),Q(-1))},e.disconnect=function(e){var t=this,n=ee.get(e);
2n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),ne=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ie.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!C(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ie.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!C(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ie.unobserve(this,e)},e.prototype.disconnect=function(){ie.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),re=(n(656),n(29),n(23),n(82),n(69),function(e){return Array.prototype.reduce.call(e,(function(e,t){var option=t.name.match(/data-simplebar-(.+)/);if(option){var n=option[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[n]=!0;break;case"false":e[n]=!1;break;case void 0:e[n]=!0;break;default:e[n]=t.value}}return e}),{})});function ae(element){return element&&element.ownerDocument&&element.ownerDocument.defaultView?element.ownerDocument.defaultView:window}function se(element){return element&&element.ownerDocument?element.ownerDocument:document}var oe=null,le=null;function ue(e){if(null===oe){var t=se(e);if(void 0===t)return oe=0;var body=t.body,n=t.createElement("div");n.classList.add("simplebar-hide-scrollbar"),body.appendChild(n);var r=n.getBoundingClientRect().right;body.removeChild(n),oe=r}return oe}l.a&&window.addEventListener("resize",(function(){le!==window.devicePixelRatio&&(le=window.devicePixelRatio,oe=null)}));var ce=function(){function e(element,t){var n=this;this.onScroll=function(){var e=ae(n.el);n.scrollXTicking||(e.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(e.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0)},this.scrollX=function(){n.axis.x.isOverflowing&&(n.showScrollbar("x"),n.positionScrollbar("x")),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&(n.showScrollbar("y"),n.positionScrollbar("y")),n.scrollYTicking=!1},this.onMouseEnter=function(){n.showScrollbar("x"),n.showScrollbar("y")},this.onMouseMove=function(e){n.mouseX=e.clientX,n.mouseY=e.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this.onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.hideScrollbars=function(){n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.track.rect)||(n.axis.y.scrollbar.el.classList.remove(n.classNames.visible),n.axis.y.isVisible=!1),n.isWithinBounds(n.axis.x.track.rect)||(n.axis.x.scrollbar.el.classList.remove(n.classNames.visible),n.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,r;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(t=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(r=n.isWithinBounds(n.axis.y.track.rect)),(t||r)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(e,"x"):n.onTrackClick(e,"x")),r&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(e,"y"):n.onTrackClick(e,"y"))))},this.drag=function(t){var track=n.axis[n.draggedAxis].track,r=track.rect[n.axis[n.draggedAxis].sizeAttr],o=n.axis[n.draggedAxis].scrollbar,l=n.contentWrapperEl[n.axis[n.draggedAxis].scrollSizeAttr],c=parseInt(n.elStyles[n.axis[n.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var d=(("y"===n.draggedAxis?t.pageY:t.pageX)-track.rect[n.axis[n.draggedAxis].offsetAttr]-n.axis[n.draggedAxis].dragOffset)/(r-o.size)*(l-c);"x"===n.draggedAxis&&(d=n.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?d-(r+o.size):d,d=n.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-d:d),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=d},this.onEndDrag=function(e){var t=se(n.el),r=ae(n.el);e.preventDefault(),e.stopPropagation(),n.el.classList.remove(n.classNames.dragging),t.removeEventListener("mousemove",n.drag,!0),t.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=r.setTimeout((function(){t.removeEventListener("click",n.preventClick,!0),t.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=element,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,{},t),this.classNames=Object.assign({},e.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,e.instances.has(this.el)||(this.recalculate=d()(this.recalculate.bind(this),64),this.onMouseMove=d()(this.onMouseMove.bind(this),64),this.hideScrollbars=f()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=f()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=v()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=t.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=e.getOffset(n),l=e.getOffset(r);n.scrollLeft=999;var c=e.getOffset(r);return{isRtlScrollingInverted:o.left!==l.left&&l.left-c.left!=0,isRtlScrollbarInverted:o.left!==l.left}},e.getOffset=function(e){var rect=e.getBoundingClientRect(),t=se(e),n=ae(e);return{top:rect.top+(n.pageYOffset||t.documentElement.scrollTop),left
2:rect.left+(n.pageXOffset||t.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),l.a&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var track=document.createElement("div"),t=document.createElement("div");track.classList.add(this.classNames.track),t.classList.add(this.classNames.scrollbar),track.appendChild(t),this.axis.x.track.el=track.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=track.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.setAccessibilityAttributes=function(){var e=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",e)},t.initListeners=function(){var e=this,t=ae(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})}
2)),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize);var n=!1,r=t.ResizeObserver||ne;this.resizeObserver=new r((function(){n&&e.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var e=ae(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,l=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var d=this.contentEl.scrollHeight,h=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=d+"px";var f=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h>r,this.axis.y.isOverflowing=d>f,this.axis.x.isOverflowing="hidden"!==l&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==c&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var m=this.axis.x.isOverflowing?this.scrollbarWidth:0,v=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&h>o-v,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>f-m,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,n=this.contentEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=r/n;return t=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var n=this.contentWrapperEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[t].sizeAttr],10),l=this.axis[t].scrollbar,c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],d=(c="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-c:c)/(n-o),h=~~((r-l.size)*d);h="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?h+(r-l.size):h,l.el.style.transform="x"===t?"translate3d("+h+"px, 0, 0)":"translate3d(0, "+h+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var track=this.axis[e].track.el,t=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(track.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(track.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?t.style.display="block":t.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var n=se(this.el),r=ae(this.el),o=this.axis[t].scrollbar,l="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=l-o.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var n=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var r=ae(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var o=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],d=("y"===t?this.mouseY-o:this.mouseX-o)<0?-1:1,h=-1===d?c-l:c+l;!function e(){var o,l;-1===d?c>h&&(c-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((o={})[n.axis[t].offsetAttr]=c,o)),r.requestAnimationFrame(e)):c<h&&(c+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((l={})[n.axis[t].offsetAttr]=c,l)),r.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:ue(this.el)}catch(e){return ue(this.el)}},t.removeListeners=function(){var e=this,t=ae(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})}
2)),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return n.call(e,t)}))[0]},e}();ce.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},ce.instances=new WeakMap,ce.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||ce.instances.has(e)||new ce(e,re(e.attributes))}))},ce.removeObserver=function(){this.globalObserver.disconnect()},ce.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(ce.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},ce.handleMutations=function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes,(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!ce.instances.has(e)&&document.documentElement.contains(e)&&new ce(e,re(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),(function(e){"init"!==e.getAttribute("data-simplebar")&&!ce.instances.has(e)&&document.documentElement.contains(e)&&new ce(e,re(e.attributes))})))})),Array.prototype.forEach.call(e.removedNodes,(function(e){1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?ce.instances.has(e)&&!document.documentElement.contains(e)&&ce.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){ce.instances.has(e)&&!document.documentElement.contains(e)&&ce.instances.get(e).unMount()})))}))}))},ce.getOptions=re,l.a&&ce.initHtmlApi();var de=ce,he={name:"simplebar-vue",mounted:function(){var e=de.getOptions(this.$refs.element.attributes);this.SimpleBar=new de(this.$refs.element,e)},computed:{scrollElement:function(){return this.$refs.scrollElement},contentElement:function(){return this.$refs.contentElement}}},pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"element"},[n("div",{staticClass:"simplebar-wrapper"},[e._m(0),e._v(" "),n("div",{staticClass:"simplebar-mask"},[n("div",{staticClass:"simplebar-offset"},[n("div",e._g({ref:"scrollElement",staticClass:"simplebar-content-wrapper"},Object.assign({},e.$listeners.scroll&&{scroll:e.$listeners.scroll})),[n("div",{ref:"contentElement",staticClass:"simplebar-content"},[e._t("default")],2)])])]),e._v(" "),n("div",{staticClass:"simplebar-placeholder"})]),e._v(" "),e._m(1),e._v(" "),e._m(2)])};pe._withStripped=!0;var fe=function(template,style,script,e,t,n,r,o){var component=("function"==typeof script?script.options:script)||{};return component.__file="/Users/adriendenat/Sites/simplebar/packages/simplebar-vue/index.vue",component.render||(component.render=template.render,component.staticRenderFns=template.staticRenderFns,component._compiled=!0,t&&(component.functional=!0)),component._scopeId=e,component}({render:pe,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"simplebar-height-auto-observer-wrapper"},[t("div",{staticClass:"simplebar-height-auto-observer"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"simplebar-track simplebar-horizontal"},[t("div",{staticClass:"simplebar-scrollbar"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"simplebar-track simplebar-vertical"},[t("div",{staticClass:"simplebar-scrollbar"})])}]}
vendor: 4,410 bytes, line 2
2,0,he,undefined,!1);t.a=fe},563:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(9),o=n.n(r),l=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,i=0;i<n;++i)t[i].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),o=t.length,l=0;l<o;++l)t[l].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(data){e.push(data)}))},e}(),c=n(76),d=n.n(c),h=n(16),f=n.n(h),m=n(197),v=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return o()(t,e),t.prototype.push=function(data){var e;for(this.buffer+=data,e=this.buffer.indexOf("\n");e>-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},t}(l),y=String.fromCharCode(9),_=function(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},T=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},i=n.length;i--;)""!==n[i]&&((t=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},w=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}o()(t,e);var n=t.prototype;return n.push=function(line){var e,t,n=this;0!==(line=line.trim()).length&&("#"===line[0]?this.tagMappers.reduce((function(e,t){var n=t(line);return n===line?e:e.concat([n])}),[line]).forEach((function(r){for(var i=0;i<n.customParsers.length;i++)if(n.customParsers[i].call(n,r))return;if(0===r.indexOf("#EXT"))if(r=r.replace("\r",""),e=/^#EXTM3U/.exec(r))n.trigger("data",{type:"tag",tagType:"m3u"});else{if(e=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(r))return t={type:"tag",tagType:"inf"},e[1]&&(t.duration=parseFloat(e[1])),e[2]&&(t.title=e[2]),void n.trigger("data",t);if(e=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(r))return t={type:"tag",tagType:"targetduration"},e[1]&&(t.duration=parseInt(e[1],10)),void n.trigger("data",t);if(e=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(r))return t={type:"tag",tagType:"version"},e[1]&&(t.version=parseInt(e[1],10)),void n.trigger("data",t);if(e=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(r))return t={type:"tag",tagType:"media-sequence"},e[1]&&(t.number=parseInt(e[1],10)),void n.trigger("data",t);if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(r))return t={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(t.number=parseInt(e[1],10)),void n.trigger("data",t);if(e=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(r))return t={type:"tag",tagType:"playlist-type"},e[1]&&(t.playlistType=e[1]),void n.trigger("data",t);if(e=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(r))return t=d()(_(e[1]),{type:"tag",tagType:"byterange"}),void n.trigger("data",t);if(e=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(r))return t={type:"tag",tagType:"allow-cache"},e[1]&&(t.allowed=!/NO/.test(e[1])),void n.trigger("data",t);if(e=/^#EXT-X-MAP:?(.*)$/.exec(r)){if(t={type:"tag",tagType:"map"},e[1]){var o=T(e[1]);o.URI&&(t.uri=o.URI),o.BYTERANGE&&(t.byterange=_(o.BYTERANGE))}n.trigger("data",t)}else if(e=/^#EXT-X-STREAM-INF:?(.*)$/.exec(r)){if(t={type:"tag",tagType:"stream-inf"},e[1]){if(t.attributes=T(e[1]),t.attributes.RESOLUTION){var l=t.attributes.RESOLUTION.split("x"),c={};l[0]&&(c.width=parseInt(l[0],10)),l[1]&&(c.height=parseInt(l[1],10)),t.attributes.RESOLUTION=c}t.attributes.BANDWIDTH&&(t.attributes.BANDWIDTH=parseInt(t.attributes.BANDWIDTH,10)),t.attributes["PROGRAM-ID"]&&(t.attributes["PROGRAM-ID"]=parseInt(t.attributes["PROGRAM-ID"],10))}n.trigger("data",t)}else{if(e=/^#EXT-X-MEDIA:?(.*)$/.exec(r))return t={type:"tag",tagType:"media"},e[1]&&(t.attributes=T(e[1])),void n.trigger("data",t);if(e=/^#EXT-X-ENDLIST/.exec(r))n.trigger("data",{type:"tag",tagType:"endlist"});else if(e=/^#EXT-X-DISCONTINUITY/.exec(r))n.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(e=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(r))return t={type:"tag",tagType:"program-date-time"}
vendor: 13,148 bytes, line 2
2,e[1]&&(t.dateTimeString=e[1],t.dateTimeObject=new Date(e[1])),void n.trigger("data",t);if(e=/^#EXT-X-KEY:?(.*)$/.exec(r))return t={type:"tag",tagType:"key"},e[1]&&(t.attributes=T(e[1]),t.attributes.IV&&("0x"===t.attributes.IV.substring(0,2).toLowerCase()&&(t.attributes.IV=t.attributes.IV.substring(2)),t.attributes.IV=t.attributes.IV.match(/.{8}/g),t.attributes.IV[0]=parseInt(t.attributes.IV[0],16),t.attributes.IV[1]=parseInt(t.attributes.IV[1],16),t.attributes.IV[2]=parseInt(t.attributes.IV[2],16),t.attributes.IV[3]=parseInt(t.attributes.IV[3],16),t.attributes.IV=new Uint32Array(t.attributes.IV))),void n.trigger("data",t);if(e=/^#EXT-X-START:?(.*)$/.exec(r))return t={type:"tag",tagType:"start"},e[1]&&(t.attributes=T(e[1]),t.attributes["TIME-OFFSET"]=parseFloat(t.attributes["TIME-OFFSET"]),t.attributes.PRECISE=/YES/.test(t.attributes.PRECISE)),void n.trigger("data",t);if(e=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(r))return t={type:"tag",tagType:"cue-out-cont"},e[1]?t.data=e[1]:t.data="",void n.trigger("data",t);if(e=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(r))return t={type:"tag",tagType:"cue-out"},e[1]?t.data=e[1]:t.data="",void n.trigger("data",t);if(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(r))return t={type:"tag",tagType:"cue-in"},e[1]?t.data=e[1]:t.data="",void n.trigger("data",t);if((e=/^#EXT-X-SKIP:(.*)$/.exec(r))&&e[1])return(t={type:"tag",tagType:"skip"}).attributes=T(e[1]),t.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(t.attributes["SKIPPED-SEGMENTS"]=parseInt(t.attributes["SKIPPED-SEGMENTS"],10)),t.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(t.attributes["RECENTLY-REMOVED-DATERANGES"]=t.attributes["RECENTLY-REMOVED-DATERANGES"].split(y)),void n.trigger("data",t);if((e=/^#EXT-X-PART:(.*)$/.exec(r))&&e[1])return(t={type:"tag",tagType:"part"}).attributes=T(e[1]),["DURATION"].forEach((function(e){t.attributes.hasOwnProperty(e)&&(t.attributes[e]=parseFloat(t.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){t.attributes.hasOwnProperty(e)&&(t.attributes[e]=/YES/.test(t.attributes[e]))})),t.attributes.hasOwnProperty("BYTERANGE")&&(t.attributes.byterange=_(t.attributes.BYTERANGE)),void n.trigger("data",t);if((e=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(r))&&e[1])return(t={type:"tag",tagType:"server-control"}).attributes=T(e[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){t.attributes.hasOwnProperty(e)&&(t.attributes[e]=parseFloat(t.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){t.attributes.hasOwnProperty(e)&&(t.attributes[e]=/YES/.test(t.attributes[e]))})),void n.trigger("data",t);if((e=/^#EXT-X-PART-INF:(.*)$/.exec(r))&&e[1])return(t={type:"tag",tagType:"part-inf"}).attributes=T(e[1]),["PART-TARGET"].forEach((function(e){t.attributes.hasOwnProperty(e)&&(t.attributes[e]=parseFloat(t.attributes[e]))})),void n.trigger("data",t);if((e=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(r))&&e[1])return(t={type:"tag",tagType:"preload-hint"}).attributes=T(e[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(t.attributes.hasOwnProperty(e)){t.attributes[e]=parseInt(t.attributes[e],10);var n="BYTERANGE-LENGTH"===e?"length":"offset";t.attributes.byterange=t.attributes.byterange||{},t.attributes.byterange[n]=t.attributes[e],delete t.attributes[e]}})),void n.trigger("data",t);if((e=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(r))&&e[1])return(t={type:"tag",tagType:"rendition-report"}).attributes=T(e[1]),["LAST-MSN","LAST-PART"].forEach((function(e){t.attributes.hasOwnProperty(e)&&(t.attributes[e]=parseInt(t.attributes[e],10))})),void n.trigger("data",t);n.trigger("data",{type:"tag",data:r.slice(4)})}}}else n.trigger("data",{type:"comment",text:r.slice(1)})})):this.trigger("data",{type:"uri",uri:line}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,o=e.dataParser,l=e.segment;"function"!=typeof o&&(o=function(line){return line}),this.customParsers.push((function(line){if(n.exec(line))return t.trigger("data",{type:"custom",data:o(line),customType:r,segment:l}),!0}))},n.addTagMapper=function(e){var t=e.expression,map=e.map;this.tagMappers.push((function(line){return t.test(line)?map(line):line}))},t}(l),S=function(e){var t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(function(a){return a[1].toUpperCase()})))]=e[n]})),t},E=function(e){var t=e.serverControl,n=e.targetDuration,r=e.partTargetDuration;if(t){var o="#EXT-X-SERVER-CONTROL",l="holdBack",c="partHoldBack",d=n&&3*n,h=r&&2*r;n&&!t.hasOwnProperty(l)&&(t[l]=d,this.trigger("info",{message:o+" defaulting HOLD-BACK to targetDuration * 3 ("+d+")."})),d&&t[l]<d&&(this.trigger("warn",{message:o+" clamping HOLD-BACK ("+t[l]+") to targetDuration * 3 ("+d+")"}),t[l]=d),r&&!t.hasOwnProperty(c)&&(t[c]=3*r,this.trigger("info",{message:o+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+t[c]+")."})),r&&t[c]<h&&(this.trigger("warn",{message:o+" clamping PART-HOLD-BACK ("+t[c]+") to partTargetDuration * 2 ("+h+")."}),t[c]=h)}},x=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new v,t.parseStream=new w,t.lineStream.pipe(t.parseStream);var n,r,o=f()(t),l=[],c={},h=!1,y=function(){},_={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},T=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var x=0,k=0;return t.on("end",(function(){c.uri||!c.parts&&!c.preloadHints||(!c.map&&n&&(c.map=n),!c.key&&r&&(c.key=r),c.timeline||"number"!=typeof T||(c.timeline=T),t.manifest.preloadSegment=c)})),t.parseStream.on("data",(function(e){var t,f;({tag:function(){({version:function(){e.version&&(this.manifest.version=e.version)},"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(c.byterange=t,t.length=e.length,"offset"in e||(e.offset=x)),"offset"in e&&(c.byterange=t,t.offset=e.offset),x=t.offset+t.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),e.duration>0&&(c.duration=e.duration),0===e.duration&&(c.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=l},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){if("com.apple.streamingkeydelivery"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:e.attributes});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:Object(m.a)(e.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},void 0!==e.attributes.IV&&(r.iv=e.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?this.manifest.mediaSequence=e.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?(this.manifest.discontinuitySequence=e.number,T=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange),r&&(n.key=r)},"stream-inf":function(){this.manifest.playlists=l,this.manifest.mediaGroups=this.manifest.mediaGroups||_,e.attributes?(c.attributes||(c.attributes={}),d()(c.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||_,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME){var n=this.manifest.mediaGroups[e.attributes.TYPE];n[e.attributes["GROUP-ID"]]=n[e.attributes["GROUP-ID"]]||{},t=n[e.attributes["GROUP-ID"]],(f={default:/yes/i.test(e.attributes.DEFAULT)}).default?f.autoselect=!0:f.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(f.language=e.attributes.LANGUAGE),e.attributes.URI&&(f.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(f.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(f.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(f.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=f}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){T+=1,c.discontinuity=!0,this.manifest.discontinuityStarts.push(l.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),c.dateTimeString=e.dateTimeString,c.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):(this.manifest.targetDuration=e.duration,E.call(this,this.manifest))},start:function(){e.attributes&&!isNaN(e.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){c.cueOut=e.data},"cue-out-cont":function(){c.cueOutCont=e.data},"cue-in":function(){c.cueIn=e.data},skip:function(){this.manifest.skip=S(e.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",e.attributes,["SKIPPED-SEGMENTS"])},part:function(){var t=this;h=!0;var n=this.manifest.segments.length,r=S(e.attributes);c.parts=c.parts||[],c.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=k),k=r.byterange.offset+r.byterange.length);var o=c.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+o+" for segment #"+n,e.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(e,i){e.hasOwnProperty("lastPart")||t.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+i+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var t=this.manifest.serverControl=S(e.attributes);t.hasOwnProperty("canBlockReload")||(t.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),E.call(this,this.manifest),t.canSkipDateranges&&!t.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var t=this.manifest.segments.length,n=S(e.attributes),r=n.type&&"PART"===n.type;c.preloadHints=c.preloadHints||[],c.preloadHints.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=r?k:0,r&&(k=n.byterange.offset+n.byterange.length)));var o=c.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+o+" for segment #"+t,e.attributes,["TYPE","URI"]),n.type)for(var i=0;i<c.preloadHints.length-1;i++){var l=c.preloadHints[i];l.type&&(l.type===n.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+o+" for segment #"+t+" has the same TYPE "+n.type+" as preload hint #"+i}))}},"rendition-report":function(){var t=S(e.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(t);var n=this.manifest.renditionReports.length-1,r=["LAST-MSN","URI"];h&&r.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+n,e.attributes,r)},"part-inf":function(){this.manifest.partInf=S(e.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",e.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),E.call(this,this.manifest)}}[e.tagType]||y).call(o)}
2,uri:function(){c.uri=e.uri,l.push(c),this.manifest.targetDuration&&!("duration"in c)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),c.duration=this.manifest.targetDuration),r&&(c.key=r),c.timeline=T,n&&(c.map=n),k=0,c={}},comment:function(){},custom:function(){e.segment?(c.custom=c.custom||{},c.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(o)})),t}o()(t,e);var n=t.prototype;return n.warnOnMissingAttributes_=function(e,t,n){var r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:e+" lacks required attribute(s): "+r.join(", ")})},n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n"),this.trigger("end")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(l)},566:function(e,t,n){var content=n(987);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(4).default)("0542ed34",content,!0,{sourceMap:!1})},578:function(e,t,n){(function(e){e.installComponents=function(component,e){var n="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(n.components=component.exports.options.components),n.components=n.components||{},e)n.components[i]=n.components[i]||e[i];n.functional&&function(component,e){if(component.exports[t])return;component.exports[t]=!0;var n=component.exports.render;component.exports.render=function(t,r){return n(t,Object.assign({},r,{_c:function(t,a,b){return r._c(e[t]||t,a,b)}}))}}(component,n.components)};var t="_functionalComponents"}).call(this,n(59))},658:function(e,t,n){var content=n(659);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(4).default)("ad0bb078",content,!0,{sourceMap:!1})},659:function(e,t,n){var r=n(3)(!1);r.push([e.i,'[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;overflow:hidden;width:auto!important;height:auto!important;z-index:0}.simplebar-mask,.simplebar-offset{position:absolute;padding:0;margin:0;left:0;top:0;bottom:0;right:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;z-index:-1}.simplebar-height-auto-observer,.simplebar-track{position:absolute;overflow:hidden;pointer-events:none}.simplebar-track{z-index:1;right:0;bottom:0}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition:opacity 0s linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.hs-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}',""]),e.exports=r},7:function(e,t,n){(function(t){var r,o=void 0!==t?t:"undefined"!=typeof window?window:{},l=n(767);"undefined"!=typeof document?r=document:(r=o["__GLOBAL_DOCUMENT_CACHE@4"])||(r=o["__GLOBAL_DOCUMENT_CACHE@4"]=l),e.exports=r}).call(this,n(59))},768:function(e,t){e.exports=function(e){if(!e)return!1;var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},769:function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,o,l){if(n)e(n);else if(o.statusCode>=400&&o.statusCode<=599){var c=l;if(t)if(r.TextDecoder){var d=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],o=n[1];return"charset"===r.trim()?o.trim():e}),"utf-8")}(o.headers&&o.headers["content-type"]);try{c=new TextDecoder(d).decode(l)}catch(e){}}else c=String.fromCharCode.apply(null,new Uint8Array(l));e({cause:c})}else e(null,l)}}},770:function(e,t,n){var r=n(7),o=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();
vendor: 8,442 bytes, line 2
2function l(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function c(input){function e(e,t,s,n){return 3600*(0|e)+60*(0|t)+(0|s)+(0|n)/1e3}var t=input.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return t?t[3]?e(t[1],t[2],t[3].replace(":",""),t[4]):t[1]>59?e(t[1],t[2],0,t[4]):e(0,t[1],t[2],t[4]):null}function d(){this.values=o(null)}function h(input,e,t,n){var r=n?input.split(n):[input];for(var i in r)if("string"==typeof r[i]){var o=r[i].split(t);if(2===o.length)e(o[0],o[1])}}function f(input,e,t){var n=input;function r(){var e=c(input);if(null===e)throw new l(l.Errors.BadTimeStamp,"Malformed timestamp: "+n);return input=input.replace(/^[^\sa-zA-Z-]+/,""),e}function o(){input=input.replace(/^\s+/,"")}if(o(),e.startTime=r(),o(),"--\x3e"!==input.substr(0,3))throw new l(l.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);input=input.substr(3),o(),e.endTime=r(),o(),function(input,e){var n=new d;h(input,(function(e,r){switch(e){case"region":for(var i=t.length-1;i>=0;i--)if(t[i].id===r){n.set(e,t[i].region);break}break;case"vertical":n.alt(e,r,["rl","lr"]);break;case"line":var o=r.split(","),l=o[0];n.integer(e,l),n.percent(e,l)&&n.set("snapToLines",!1),n.alt(e,l,["auto"]),2===o.length&&n.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=r.split(","),n.percent(e,o[0]),2===o.length&&n.alt("positionAlign",o[1],["start","center","end"]);break;case"size":n.percent(e,r);break;case"align":n.alt(e,r,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(e){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(t){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(t){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(input,e)}l.prototype=o(Error.prototype),l.prototype.constructor=l,l.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},d.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,a){for(var n=0;n<a.length;++n)if(t===a[n]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var m=r.createElement&&r.createElement("textarea"),v={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},y={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},_={v:"title",lang:"lang"},T={rt:"ruby"};function w(e,input){function t(){if(!input)return null;var e,t=input.match(/^([^<]*)(<[^>]*>?)?/);return e=t[1]?t[1]:t[2],input=input.substr(e.length),e}function n(e,element){return!T[element.localName]||T[element.localName]===e.localName}function r(t,n){var r=v[t];if(!r)return null;var element=e.document.createElement(r),o=_[t];return o&&n&&(element[o]=n.trim()),element}for(var o,s,l=e.document.createElement("div"),d=l,h=[];null!==(o=t());)if("<"!==o[0])d.appendChild(e.document.createTextNode((s=o,m.innerHTML=s,s=m.textContent,m.textContent="",s)));else{if("/"===o[1]){h.length&&h[h.length-1]===o.substr(2).replace(">","")&&(h.pop(),d=d.parentNode);continue}var f,w=c(o.substr(1,o.length-2));if(w){f=e.document.createProcessingInstruction("timestamp",w),d.appendChild(f);continue}var S=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!S)continue;if(!(f=r(S[1],S[3])))continue;if(!n(d,f))continue;if(S[2]){var E=S[2].split(".");E.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(y.hasOwnProperty(n)){var r=t?"background-color":"color",o=y[n];f.style[r]=o}})),f.className=E.join(" ")}h.push(S[1]),d.appendChild(f),d=f}return l}var S=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function E(e){for(var i=0;i<S.length;i++){var t=S[i];if(e>=t[0]&&e<=t[1])return!0}return!1}function x(e){var t=[],text="";if(!e||!e.childNodes)return"ltr";function n(e,t){for(var i=t.childNodes.length-1;i>=0;i--)e.push(t.childNodes[i])}function r(e){if(!e||!e.length)return null;var t=e.pop(),text=t.textContent||t.innerText;if(text){var o=text.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):text}return"ruby"===t.tagName?r(e):t.childNodes?(n(e,t),r(e)):void 0}for(n(t,e);text=r(t);)for(var i=0;i<text.length;i++)if(E(text.charCodeAt(i)))return"rtl";return"ltr"}function k(){}function C(e,t,n){k.call(this),this.cue=t,this.cueDiv=w(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:x(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var o=0;switch(t.positionAlign){case"start":o=t.position;break;case"center":o=t.position-t.size/2;break;case"end":o=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(o,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(o,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function A(e){var t,n,r,o;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var l=(l=e.div.childNodes)&&(l=l[0])&&l.getClientRects&&l.getClientRects();e=e.div.getBoundingClientRect(),t=l?Math.max(l[0]&&l[0].height||0,e.height/l.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function O(e,t,n,r){var o=new A(t),l=t.cue,c=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var track=e.track,t=track.textTrackList,n=0,i=0;i<t.length&&t[i]!==track;i++)"showing"===t[i].mode&&n++;return-1*++n}(l),d=[];if(l.snapToLines){var h;
vendor: 5,296 bytes, line 2
2switch(l.vertical){case"":d=["+y","-y"],h="height";break;case"rl":d=["+x","-x"],h="width";break;case"lr":d=["-x","+x"],h="width"}var f=o.lineHeight,m=f*Math.round(c),v=n[h]+f,y=d[0];Math.abs(m)>v&&(m=m<0?-1:1,m*=Math.ceil(v/f)*f),c<0&&(m+=""===l.vertical?n.height:n.width,d=d.reverse()),o.move(y,m)}else{var _=o.lineHeight/n.height*100;switch(l.lineAlign){case"center":c-=_/2;break;case"end":c-=_}switch(l.vertical){case"":t.applyStyles({top:t.formatStyle(c,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(c,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(c,"%")})}d=["+y","-x","+x","-y"],o=new A(t)}var T=function(b,e){for(var t,o=new A(b),l=1,i=0;i<e.length;i++){for(;b.overlapsOppositeAxis(n,e[i])||b.within(n)&&b.overlapsAny(r);)b.move(e[i]);if(b.within(n))return b;var p=b.intersectPercentage(n);l>p&&(t=new A(b),l=p),b=new A(o)}return t||o}(o,d);t.move(T.toCSSCompatValues(n))}function j(){}k.prototype.applyStyles=function(e,div){for(var t in div=div||this.div,e)e.hasOwnProperty(t)&&(div.style[t]=e[t])},k.prototype.formatStyle=function(e,t){return 0===e?0:e+t},C.prototype=o(k.prototype),C.prototype.constructor=C,A.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},A.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},A.prototype.overlapsAny=function(e){for(var i=0;i<e.length;i++)if(this.overlaps(e[i]))return!0;return!1},A.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},A.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},A.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},A.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},A.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},j.StringDecoder=function(){return{decode:function(data){if(!data)return"";if("string"!=typeof data)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(data))}}},j.convertCueToDOMTree=function(e,t){return e&&t?w(e,t):null};j.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var i=0;i<e.length;i++)if(e[i].hasBeenReset||!e[i].displayState)return!0;return!1}(t)){var o=[],l=A.getSimpleBoxPosition(r),c={font:Math.round(.05*l.height*100)/100+"px sans-serif"};!function(){for(var n,d,i=0;i<t.length;i++)d=t[i],n=new C(e,d,c),r.appendChild(n.div),O(0,n,l,o),d.displayState=n.div,o.push(A.getSimpleBoxPosition(n))}()}else for(var i=0;i<t.length;i++)r.appendChild(t[i].displayState)},j.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},j.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof l))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(data){var e=this;function t(){for(var t=e.buffer,n=0;n<t.length&&"\r"!==t[n]&&"\n"!==t[n];)++n;var line=t.substr(0,n);return"\r"===t[n]&&++n,"\n"===t[n]&&++n,e.buffer=t.substr(n),line}function n(input){input.match(/X-TIMESTAMP-MAP/)?h(input,(function(t,n){if("X-TIMESTAMP-MAP"===t)!function(input){var t=new d;h(input,(function(e,n){switch(e){case"MPEGT":t.integer(e+"S",n);break;case"LOCA":t.set(e+"L",c(n))}}),/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:t.get("MPEGTS"),LOCAL:t.get("LOCAL")})}(n)}),/=/):h(input,(function(t,n){if("Region"===t)!function(input){var t=new d;if(h(input,(function(e,n){switch(e){case"id":t.set(e,n);break;case"width":t.percent(e,n);break;case"lines":t.integer(e,n);break;case"regionanchor":case"viewportanchor":var r=n.split(",");if(2!==r.length)break;var o=new d;if(o.percent("x",r[0]),o.percent("y",r[1]),!o.has("x")||!o.has("y"))break;t.set(e+"X",o.get("x")),t.set(e+"Y",o.get("y"));break;case"scroll":t.alt(e,n,["up"])}}),/=/,/\s/),t.has("id")){var n=new(e.vttjs.VTTRegion||e.window.VTTRegion);n.width=t.get("width",100),n.lines=t.get("lines",3),n.regionAnchorX=t.get("regionanchorX",0),n.regionAnchorY=t.get("regionanchorY",100),n.viewportAnchorX=t.get("viewportanchorX",0),n.viewportAnchorY=t.get("viewportanchorY",100),n.scroll=t.get("scroll",""),e.onregion&&e.onregion(n),e.regi
vendor: 4,853 bytes, line 2
2onList.push({id:t.get("id"),region:n})}}(n)}),/:/)}data&&(e.buffer+=e.decoder.decode(data,{stream:!0}));try{var line;if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var r=(line=t()).match(/^WEBVTT([ \t].*)?$/);if(!r||!r[0])throw new l(l.Errors.BadSignature);e.state="HEADER"}for(var o=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(o?o=!1:line=t(),e.state){case"HEADER":/:/.test(line)?n(line):line||(e.state="ID");continue;case"NOTE":line||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(line)){e.state="NOTE";break}if(!line)continue;e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,"");try{e.cue.align="center"}catch(t){e.cue.align="middle"}if(e.state="CUE",-1===line.indexOf("--\x3e")){e.cue.id=line;continue}case"CUE":try{f(line,e.cue,e.regionList)}catch(t){e.reportOrThrowError(t),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var m=-1!==line.indexOf("--\x3e");if(!line||m&&(o=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=line.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":line||(e.state="ID");continue}}}catch(t){e.reportOrThrowError(t),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new l(l.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.exports=j},771:function(e,t){var n={"":1,lr:1,rl:1},r={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function o(e){return"string"==typeof e&&(!!r[e.toLowerCase()]&&e.toLowerCase())}function l(e,t,text){this.hasBeenReset=!1;var r="",l=!1,c=e,d=t,h=text,f=null,m="",v=!0,y="auto",_="start",T="auto",w="auto",S=100,E="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return r},set:function(e){r=""+e}},pauseOnExit:{enumerable:!0,get:function(){return l},set:function(e){l=!!e}},startTime:{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");c=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return d},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");d=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return h},set:function(e){h=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return f},set:function(e){f=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return m},set:function(e){var t=function(e){return"string"==typeof e&&!!n[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");m=t,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return v},set:function(e){v=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return y},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");y=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return _},set:function(e){var t=o(e);t?(_=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return T},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");T=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return w},set:function(e){var t=o(e);t?(w=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return S},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");S=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return E},set:function(e){var t=o(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");E=t,this.hasBeenReset=!0}}}),this.displayState=void 0}l.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=l},772:function(e,t){var n={"":!0,up:!0};function r(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,t=3,o=0,l=100,c=0,d=100,h="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return l},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");l=e}},regionAnchorX:{enumerable:!0,get:function(){return o}
vendor: 6,108 bytes, line 2
2,set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return d},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");d=e}},viewportAnchorX:{enumerable:!0,get:function(){return c},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");c=e}},scroll:{enumerable:!0,get:function(){return h},set:function(e){var t=function(e){return"string"==typeof e&&!!n[e.toLowerCase()]&&e.toLowerCase()}(e);!1===t?console.warn("Scroll: an invalid or illegal string was specified."):h=t}}})}},774:function(e,t,n){"use strict";(function(e){var r=n(775),o=n(776),l=n(777);function c(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(e,t){if(c()<t)throw new RangeError("Invalid typed array length");return h.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=h.prototype:(null===e&&(e=new h(t)),e.length=t),e}function h(e,t,n){if(!(h.TYPED_ARRAY_SUPPORT||this instanceof h))return new h(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return v(this,e)}return f(this,e,t,n)}function f(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);h.TYPED_ARRAY_SUPPORT?(e=t).__proto__=h.prototype:e=y(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!h.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|T(t,n),o=(e=d(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(h.isBuffer(t)){var n=0|_(t.length);return 0===(e=d(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?d(e,0):y(e,t);if("Buffer"===t.type&&l(t.data))return y(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function m(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function v(e,t){if(m(t),e=d(e,t<0?0:0|_(t)),!h.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function y(e,t){var n=t.length<0?0:0|_(t.length);e=d(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function _(e){if(e>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|e}function T(e,t){if(h.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return X(e).length;t=(""+t).toLowerCase(),r=!0}}function w(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return L(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return P(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function S(b,e,t){var i=b[e];b[e]=b[t],b[t]=i}function E(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=h.from(t,r)),h.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,o);if("number"==typeof t)return t&=255,h.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function x(e,t,n,r,o){var i,l=1,c=e.length,d=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;l=2,c/=2,d/=2,n/=2}function h(e,i){return 1===l?e[i]:e.readUInt16BE(i*l)}if(o){var f=-1;for(i=n;i<c;i++)if(h(e,i)===h(t,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===d)return f*l}else-1!==f&&(i-=i-f),f=-1}else for(n+d>c&&(n=c-d),i=n;i>=0;i--){for(var m=!0,v=0;v<d;v++)if(h(e,i+v)!==h(t,v)){m=!1;break}if(m)return i}return-1}function k(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var l=t.length;if(l%2!=0)throw new TypeError("Invalid hex string");r>l/2&&(r=l/2);for(var i=0;i<r;++i){var c=parseInt(t.substr(2*i,2),16);if(isNaN(c))return i;e[n+i]=c}return i}function C(e,t,n,r){return Q(X(t,e.length-n),e,n,r)}function A(e,t,n,r){return Q(function(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}(t),e,n,r)}function O(e,t,n,r){return A(e,t,n,r)}function j(e,t,n,r){return Q(K(t),e,n,r)}function I(e,t,n,r){return Q(function(e,t){for(var n,r,o,l=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o=n%256,l.push(o),l.push(r);return l}(t,e.length-n),e,n,r)}function P(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function L(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,l,c,d,h=e[i],f=null,m=h>239?4:h>223?3:h>191?2:1;if(i+m<=n)switch(m){case 1:h<128&&(f=h);break;
vendor: 13,400 bytes, line 2
2case 2:128==(192&(o=e[i+1]))&&(d=(31&h)<<6|63&o)>127&&(f=d);break;case 3:o=e[i+1],l=e[i+2],128==(192&o)&&128==(192&l)&&(d=(15&h)<<12|(63&o)<<6|63&l)>2047&&(d<55296||d>57343)&&(f=d);break;case 4:o=e[i+1],l=e[i+2],c=e[i+3],128==(192&o)&&128==(192&l)&&128==(192&c)&&(d=(15&h)<<18|(63&o)<<12|(63&l)<<6|63&c)>65535&&d<1114112&&(f=d)}null===f?(f=65533,m=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),i+=m}return function(e){var t=e.length;if(t<=M)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=M));return n}(r)}t.Buffer=h,t.SlowBuffer=function(e){+e!=e&&(e=0);return h.alloc(+e)},t.INSPECT_MAX_BYTES=50,h.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=c(),h.poolSize=8192,h._augment=function(e){return e.__proto__=h.prototype,e},h.from=function(e,t,n){return f(null,e,t,n)},h.TYPED_ARRAY_SUPPORT&&(h.prototype.__proto__=Uint8Array.prototype,h.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&h[Symbol.species]===h&&Object.defineProperty(h,Symbol.species,{value:null,configurable:!0})),h.alloc=function(e,t,n){return function(e,t,n,r){return m(t),t<=0?d(e,t):void 0!==n?"string"==typeof r?d(e,t).fill(n,r):d(e,t).fill(n):d(e,t)}(null,e,t,n)},h.allocUnsafe=function(e){return v(null,e)},h.allocUnsafeSlow=function(e){return v(null,e)},h.isBuffer=function(b){return!(null==b||!b._isBuffer)},h.compare=function(a,b){if(!h.isBuffer(a)||!h.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var e=a.length,t=b.length,i=0,n=Math.min(e,t);i<n;++i)if(a[i]!==b[i]){e=a[i],t=b[i];break}return e<t?-1:t<e?1:0},h.isEncoding=function(e){switch(String(e).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}},h.concat=function(e,t){if(!l(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return h.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=h.allocUnsafe(t),r=0;for(i=0;i<e.length;++i){var o=e[i];if(!h.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},h.byteLength=T,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<e;i+=2)S(this,i,i+1);return this},h.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<e;i+=4)S(this,i,i+3),S(this,i+1,i+2);return this},h.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<e;i+=8)S(this,i,i+7),S(this,i+1,i+6),S(this,i+2,i+5),S(this,i+3,i+4);return this},h.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?L(this,0,e):w.apply(this,arguments)},h.prototype.equals=function(b){if(!h.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===h.compare(this,b)},h.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},h.prototype.compare=function(e,t,n,r,o){if(!h.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var l=(o>>>=0)-(r>>>=0),c=(n>>>=0)-(t>>>=0),d=Math.min(l,c),f=this.slice(r,o),m=e.slice(t,n),i=0;i<d;++i)if(f[i]!==m[i]){l=f[i],c=m[i];break}return l<c?-1:c<l?1:0},h.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},h.prototype.indexOf=function(e,t,n){return E(this,e,t,n,!0)},h.prototype.lastIndexOf=function(e,t,n){return E(this,e,t,n,!1)},h.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var l=!1;;)switch(r){case"hex":return k(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return j(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,t,n);default:if(l)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),l=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function D(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function R(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=G(e[i]);return o}function B(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function U(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,o,l){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<l)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function $(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function H(e,t,n,r,o,l){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(e,t,n,r,l){return l||H(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function V(e,t,n,r,l){return l||H(e,0,n,8),o.write(e,t,n,r,52,8),n+8}h.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),h.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=h.prototype;else{var o=t-e;n=new h(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},h.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||U(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},h.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||U(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},h.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},h.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},h.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},h.prototype.readUInt32LE=function(e,t){return t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},h.prototype.readUInt32BE=function(e,t){return t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},h.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||U(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},h.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||U(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},h.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},h.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt32LE=function(e,t){return t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},h.prototype.readInt32BE=function(e,t){return t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},h.prototype.readFloatLE=function(e,t){return t||U(e,4,this.length),o.read(this,e,!0,23,4)},h.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),o.read(this,e,!1,23,4)},h.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),o.read(this,e,!0,52,8)},h.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),o.read(this,e,!1,52,8)},h.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},h.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},h.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,1,255,0),h.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},h.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},h.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},h.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):$(this,e,t,!0),t+4},h.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$(this,e,t,!1),t+4},h.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=0,l=1,sub=0;for(this[t]=255&e;++i<n&&(l*=256);)e<0&&0===sub&&0!==this[t+i-1]&&(sub=1),this[t+i]=(e/l>>0)-sub&255;return t+n},h.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=n-1,l=1,sub=0;for(this[t+i]=255&e;--i>=0&&(l*=256);)e<0&&0===sub&&0!==this[t+i+1]&&(sub=1),this[t+i]=(e/l>>0)-sub&255;return t+n},h.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,1,127,-128),h.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},h.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},h.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},h.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):$(this,e,t,!0),t+4},h.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$(this,e,t,!1),t+4},h.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},h.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},h.prototype.writeDoubleLE=function(e,t,n){return V(this,e,t,!0,n)},h.prototype.writeDoubleBE=function(e,t,n){return V(this,e,t,!1,n)},h.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!h.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},h.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var code=e.charCodeAt(0);code<256&&(e=code)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!h.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var o=h.isBuffer(e)?e:X(new h(e,r).toString()),l=o.length;for(i=0;i<n-t;++i)this[i+t]=o[i%l]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function X(e,t){var n;t=t||1/0;for(var r=e.length,o=null,l=[],i=0;i<r;++i){if((n=e.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>
vendor: 5,429 bytes, line 2
2-1&&l.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&l.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&l.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&l.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;l.push(n)}else if(n<2048){if((t-=2)<0)break;l.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;l.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;l.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return l}function K(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(59))},775:function(e,t,n){"use strict";t.byteLength=function(e){var t=d(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,i,n=d(e),r=n[0],c=n[1],h=new l(function(e,t,n){return 3*(t+n)/4-n}(0,r,c)),f=0,m=c>0?r-4:r;for(i=0;i<m;i+=4)t=o[e.charCodeAt(i)]<<18|o[e.charCodeAt(i+1)]<<12|o[e.charCodeAt(i+2)]<<6|o[e.charCodeAt(i+3)],h[f++]=t>>16&255,h[f++]=t>>8&255,h[f++]=255&t;2===c&&(t=o[e.charCodeAt(i)]<<2|o[e.charCodeAt(i+1)]>>4,h[f++]=255&t);1===c&&(t=o[e.charCodeAt(i)]<<10|o[e.charCodeAt(i+1)]<<4|o[e.charCodeAt(i+2)]>>2,h[f++]=t>>8&255,h[f++]=255&t);return h},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,l=[],c=16383,i=0,d=n-o;i<d;i+=c)l.push(h(e,i,i+c>d?d:i+c));1===o?(t=e[n-1],l.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],l.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return l.join("")};for(var r=[],o=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,c=code.length;i<c;++i)r[i]=code[i],o[code.charCodeAt(i)]=i;function d(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function h(e,t,n){for(var o,l,output=[],i=t;i<n;i+=3)o=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),output.push(r[(l=o)>>18&63]+r[l>>12&63]+r[l>>6&63]+r[63&l]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},776:function(e,t){t.read=function(e,t,n,r,o){var l,c,d=8*o-r-1,h=(1<<d)-1,f=h>>1,m=-7,i=n?o-1:0,v=n?-1:1,s=e[t+i];for(i+=v,l=s&(1<<-m)-1,s>>=-m,m+=d;m>0;l=256*l+e[t+i],i+=v,m-=8);for(c=l&(1<<-m)-1,l>>=-m,m+=r;m>0;c=256*c+e[t+i],i+=v,m-=8);if(0===l)l=1-f;else{if(l===h)return c?NaN:1/0*(s?-1:1);c+=Math.pow(2,r),l-=f}return(s?-1:1)*c*Math.pow(2,l-r)},t.write=function(e,t,n,r,o,l){var c,d,h,f=8*l-o-1,m=(1<<f)-1,v=m>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=r?0:l-1,y=r?1:-1,s=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,c=m):(c=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-c))<1&&(c--,h*=2),(t+=c+v>=1?rt/h:rt*Math.pow(2,1-v))*h>=2&&(c++,h/=2),c+v>=m?(d=0,c=m):c+v>=1?(d=(t*h-1)*Math.pow(2,o),c+=v):(d=t*Math.pow(2,v-1)*Math.pow(2,o),c=0));o>=8;e[n+i]=255&d,i+=y,d/=256,o-=8);for(c=c<<o|d,f+=o;f>0;e[n+i]=255&c,i+=y,c/=256,f-=8);e[n+i-y]|=128*s}},777:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},778:function(e,t,n){var r=n(191),o=n(384),l=n(779),c=n(780),d=o.DOMImplementation,h=r.NAMESPACE,f=c.ParseError,m=c.XMLReader;function v(e){this.options=e||{locator:{}}}function y(){this.cdata=!1}function _(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function T(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function w(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function S(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}v.prototype.parseFromString=function(source,e){var t=this.options,n=new m,r=t.domBuilder||new y,o=t.errorHandler,c=t.locator,d=t.xmlns||{},f=/\/x?html?$/.test(e),v=f?l.HTML_ENTITIES:l.XML_ENTITIES;return c&&r.setDocumentLocator(c),n.errorHandler=function(e,t,n){if(!e){if(t instanceof y)return t;e=t}var r={},o=e instanceof Function;function l(t){var l=e[t];!l&&o&&(l=2==e.length?function(n){e(t,n)}:e),r[t]=l&&function(e){l("[xmldom "+t+"]\t"+e+T(n))}||function(){}}return n=n||{},l("warning"),l("error"),l("fatalError"),r}(o,r,c),n.domBuilder=t.domBuilder||r,f&&(d[""]=h.HTML),d.xml=d.xml||h.XML,source&&"string"==typeof source?n.parse(source,d,v):n.errorHandler.error("invalid doc source"),r.doc},y.prototype={startDocument:function(){this.doc=(new d).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var o=this.doc,l=o.createElementNS(e,n||t),c=r.length;S(this,l),this.currentElement=l,this.locator&&_(this.locator,l);for(var i=0;i<c;i++){e=r.getURI(i);var d=r.getValue(i),h=(n=r.getQName(i),o.createAttributeNS(e,n));this.locator&&_(r.getLocator(i),h),h.value=h.nodeValue=d,l.setAttributeNode(h)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,data){var ins=this.doc.createProcessingInstruction(e,data);this.locator&&_(this.locator,ins),S(this,ins)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=w.apply(this,arguments)){if(this.cdata)var r
vendor: 12,141 bytes, line 2
2=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&_(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=w.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&_(this.locator,r),S(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var dt=r.createDocumentType(e,t,n);this.locator&&_(this.locator,dt),S(this,dt),this.doc.doctype=dt}},warning:function(e){console.warn("[xmldom warning]\t"+e,T(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,T(this.locator))},fatalError:function(e){throw new f(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){y.prototype[e]=function(){return null}})),t.__DOMHandler=y,t.DOMParser=v,t.DOMImplementation=o.DOMImplementation,t.XMLSerializer=o.XMLSerializer},779:function(e,t,n){var r=n(191).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},780:function(e,t,n){var r=n(191).NAMESPACE,o=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,l=new RegExp("[\\-\\.0-9"+o.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),c=new RegExp("^"+o.source+l.source+"*(?::"+o.source+l.source+"*)?$");function d(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,d)}function h(){}function f(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function m(source,e,t,n,o,l){function c(e,n,r){t.attributeNames.hasOwnProperty(e)&&l.fatalError("Attribute "+e+" redefined"),t.addValue(e,n,r)}for(var d,p=++e,s=0;;){var h=source.charAt(p);switch(h){case"=":if(1===s)d=source.slice(e,p),s=3;else{if(2!==s)throw new Error("attribute equal must after attrName");s=3}break;case"'":case'"':if(3===s||1===s){if(1===s&&(l.warning('attribute value must after "="'),d=source.slice(e,p)),e=p+1,!((p=source.indexOf(h,e))>0))throw new Error("attribute value no end '"+h+"' match");c(d,f=source.slice(e,p).replace(/&#?\w+;/g,o),e-1),s=5}else{if(4!=s)throw new Error('attribute value must after "="');c(d,f=source.slice(e,p).replace(/&#?\w+;/g,o),e),l.warning('attribute "'+d+'" missed start quot('+h+")!!"),e=p+1,s=5}break;case"/":switch(s){case 0:t.setTagName(source.slice(e,p));case 5:case 6:case 7:s=7,t.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return l.error("unexpected end of input"),0==s&&t.setTagName(source.slice(e,p)),p;case">":switch(s){case 0:t.setTagName(source.slice(e,p));case 5:case 6:case 7:break;case 4:case 1:"/"===(f=source.slice(e,p)).slice(-1)&&(t.closed=!0,f=f.slice(0,-1));case 2:2===s&&(f=d),4==s?(l.warning('attribute "'+f+'" missed quot(")!'),c(d,f.replace(/&#?\w+;/g,o),e)):(r.isHTML(n[""])&&f.match(/^(?:disabled|checked|selected)$/i)||l.warning('attribute "'+f+'" missed value!! "'+f+'" instead!!'),c(f,f,e));break;case 3:throw new Error("attribute value missed!!")}return p;case"€":h=" ";default:if(h<=" ")switch(s){case 0:t.setTagName(source.slice(e,p)),s=6;break;case 1:d=source.slice(e,p),s=2;break;case 4:var f=source.slice(e,p).replace(/&#?\w+;/g,o);l.warning('attribute "'+f+'" missed quot(")!!'),c(d,f,e);case 5:s=6}else switch(s){case 2:t.tagName;r.isHTML(n[""])&&d.match(/^(?:disabled|checked|selected)$/i)||l.warning('attribute "'+d+'" missed value!! "'+d+'" instead2!!'),c(d,d,e),e=p,s=1;break;case 5:l.warning('attribute space is required"'+d+'"!!');case 6:s=1,e=p;break;case 3:s=4,e=p;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}p++}}function v(e,t,n){for(var o=e.tagName,l=null,i=e.length;i--;){var a=e[i],c=a.qName,d=a.value;if((v=c.indexOf(":"))>0)var h=a.prefix=c.slice(0,v),f=c.slice(v+1),m="xmlns"===h&&f;else f=c,h=null,m="xmlns"===c&&"";a.localName=f,!1!==m&&(null==l&&(l={},T(n,n={})),n[m]=l[m]=d,a.uri=r.XMLNS,t.startPrefixMapping(m,d))}for(i=e.length;i--;){(h=(a=e[i]).prefix)&&("xml"===h&&(a.uri=r.XML),"xmlns"!==h&&(a.uri=n[h||""]))}var v;(v=o.indexOf(":"))>0?(h=e.prefix=o.slice(0,v),f=e.localName=o.slice(v+1)):(h=null,f=e.localName=o);var y=e.uri=n[h||""];if(t.startElement(y,f,o,e),!e.closed)return e.currentNSMap=n,e.localNSMap=l,!0;if(t.endElement(y,f,o),l)for(h in l)t.endPrefixMapping(h)}function y(source,e,t,n,r){if(/^(?:script|textarea)$/i.test(t)){var o=source.indexOf("</"+t+">",e),text=source.substring(e+1,o);if(/[&<]/.test(text))return/^script$/i.test(t)?(r.characters(text,0,text.length),o):(text=text.replace(/&#?\w+;/g,n),r.characters(text,0,text.length),o)}return e+1}function _(source,e,t,n){var r=n[t];return null==r&&((r=source.lastIndexOf("</"+t+">"))<e&&(r=source.lastIndexOf("</"+t)),n[t]=r),r<e}function T(source,e){for(var t in source)e[t]=source[t]}function w(source,e,t,n){if("-"===source.charAt(e+2))return"-"===source.charAt(e+3)?(r=source.indexOf("--\x3e",e+4))>e?(t.comment(source,e+4,r-e-4),r+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==source.substr(e+3,6)){var r=source.indexOf("]]>",e+9);return t.startCDATA(),t.characters(source,e+9,r-e-9),t.endCDATA(),r+3}var o=function(source,e){var t,n=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;r.lastIndex=e,r.exec(source);for(;t=r.exec(source);)if(n.push(t),t[1])return n}(source,e),l=o.length;if(l>1&&/!doctype/i.test(o[0][0])){var c=o[1][0],d=!1,h=!1;l>3&&(/^public$/i.test(o[2][0])?(d=o[3][0],h=l>4&&o[4][0]):/^system$/i.test(o[2][0])&&(h=o[3][0]));var f=o[l-1];return t.startDTD(c,d,h),t.endDTD(),f.index+f[0].length}return-1}function S(source,e,t){var n=source.indexOf("?>",e);if(n){var r=source.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(r){r[0].length;return t.processingInstruction(r[1],r[2]),n+2}return-1}return-1}function E(){this.attributeNames={}}d.prototype=new Error,d.prototype.name=d.name,h.prototype={parse:function(source,e,t){var n=this.domBuilder;n.startDocument(),T(e,e={}),function(source,e,t,n,o){function l(code){if(code>65535){var e=55296+((code-=65536)>>10),t=56320+(1023&code);return String.fromCharCode(e,t)}return String.fromCharCode(code)}function c(a){var e=a.slice(1,-1);return e in t?t[e]:"#"===e.charAt(0)?l(parseInt(e.substr(1).replace("x","0x"))):(o.error("entity not found:"+a),a)}function h(e){if(e>I){var t=source.substring(I,e).replace(/&#?\w+;/g,c);A&&T(I),n.characters(t,0,e-I),I=e}}function T(p,e){for(;p>=k&&(e=C.exec(source));)x=e.index,k=x+e[0].length,A.lineNumber++;A.columnNumber=p-x+1}var x=0,k=0,C=/.*(?:\r\n?|\n)|.*$/g,A=n.locator,O=[{currentNSMap:e}],j={},I=0;for(;;){try{var P=source.indexOf("<",I);if(P<0){if(!source.substr(I).match(/^\s*$/)){var L=n.doc,text=L.createTextNode(source.substr(I));L.appendChild(text),n.currentElement=text}return}switch(P>I&&h(P),source.charAt(P+1)){case"/":var M=source.indexOf(">",P+3),D=source.substring(P+2,M).replace(/[ \t\n\r]+$/g,""),N=O.pop();M<0?(D=source.substring(P+2).replace(/[\s<].*/,""),o.error("end tag name: "+D+" is not complete:"+N.tagName),M=P+1+D.length):D.match(/\s</)&&(D=D.replace(/[\s<].*/,""),o.error("end tag name: "+D+" maybe not complete"),M=P+1+D.length);var R=N.localNSMap,B=N.tagName==D;if(B||N.tagName&&N.tagName.toLowerCase()==D.toLowerCase()){if(n.endElement(N.uri,N.localName,D),R)for(var U in R)n.endPrefixMapping(U);B||o.fatalError("end tag name: "+D+" is not match the current start tagName:"+N.tagName)}else O.push(N);M++;break;case"?":A&&T(P),M=S(source,P,n);break;case"!":A&&T(P),M=w(source,P,n,o);break;default:A&&T(P);var F=new E,z=O[O.length-1].currentNSMap,$=(M=m(source,P,F,z,c,o),F.length);if(!F.closed&&_(source,M,F.tagName,j)&&(F.closed=!0,t.nbsp||o.warning("unclosed xml attribute")),A&&$){for(var H=f(A,{}),i=0;i<$;i++){var a=F[i];T(a.offset),a.locator=f(A,{})}n.locator=H,v(F,n,z)&&O.push(F),n.locator=A}else v(F,n,z)&&O.push(F);r.isHTML(F.uri)&&!F.closed?M=y(source,M,F.tagName,c,n):M++}}catch(e){if(e instanceof d)throw e;o.error("element parse error: "+e),M=-1}M>I?I=M:h(Math.max(P,I)+1)}}(source,e,t,n,this.errorHandler),n.endDocument()}},E.prototype={setTagName:function(e){if(!c.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!c.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(i){return this[i].localName},getLocator:function(i){return this[i].locator},getQName:function(i){return this[i].qName},getURI:function(i){return this[i].uri},getValue:function(i){return this[i].value}},t.XMLReader=h,t.ParseError=d},781:function(e,t){var n=Math.pow(2,32);e.exports={getUint64:function(e){var t,r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getBigUint64?(t=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:r.getUint32(0)*n+r.getUint32(4)},MAX_UINT32:n}},782:function(e,t,n){var content=n(783);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(4).default)("4d47b6f6",content,!0,{sourceMap:!1})},783:function(e,t,n){var r=n(3)(!1);
2r.push([e.i,'@charset "UTF-8";.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.vjs-button>.vjs-icon-placeholder:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABDkAAsAAAAAG6gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV3hY21hcAAAAYQAAADaAAADPv749/pnbHlmAAACYAAAC3AAABHQZg6OcWhlYWQAAA3QAAAAKwAAADYZw251aGhlYQAADfwAAAAdAAAAJA+RCLFobXR4AAAOHAAAABMAAACM744AAGxvY2EAAA4wAAAASAAAAEhF6kqubWF4cAAADngAAAAfAAAAIAE0AIFuYW1lAAAOmAAAASUAAAIK1cf1oHBvc3QAAA/AAAABJAAAAdPExYuNeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS7wTiBgZWBgaWQ5RkDA8MvCM0cwxDOeI6BgYmBlZkBKwhIc01hcPjI+FGJHcRdyA4RZgQRADK3CxEAAHic7dFZbsMgAEXRS0ycyZnnOeG7y+qC8pU1dHusIOXxuoxaOlwZYWQB0Aea4quIEN4E9LzKbKjzDeM6H/mua6Lmc/p8yhg0lvdYx15ZG8uOLQOGjMp3EzqmzJizYMmKNRu27Nhz4MiJMxeu3Ljz4Ekqm7T8P52G8PP3lnTOVk++Z6iN6QZzNN1F7ptuN7eGOjDUoaGODHVsuvU8MdTO9Hd5aqgzQ50b6sJQl4a6MtS1oW4MdWuoO0PdG+rBUI+GejLUs6FeDPVqqDdDvRvqw1CfhpqM9At0iFLaAAB4nJ1YDXBTVRZ+5/22TUlJ8we0pHlJm7RJf5O8F2j6EymlSPkpxaL8U2xpa3DKj0CBhc2IW4eWKSokIoLsuMqssM64f+jA4HSdWXXXscBq67IOs3FXZ1ZYWVyRFdo899yXtIBQZ90k7717zz3v3HPPOfd854YCCj9cL9dL0RQFOqCbGJnrHb5EayiKIWN8iA/hWBblo6hUWm8TtCDwE80WMJus/irwyxOdxeB0MDb14VNJHnXYoLLSl6FfCUYO9nYPTA8Epg9090LprfbBbZ2hY0UlJUXHQp3/vtWkS6EBv8+rPMq5u9692f/dNxJNiqwC1xPE9TCUgCsSdQWgE3XQD25lkG4CN2xmTcOXWBOyser6RN6KnGbKSbmQ3+d0OI1m2W8QzLLkI2sykrWAgJJEtA8vGGW/2Q+CmT3n8zS9wZwu2DCvtuZKZN3xkrLh36yCZuUomQSqGpY8t/25VfHVhw8z4ebGBtfLb0ya9PCaDc+8dGTvk2dsh6z7WzvowlXKUSWo9MJ15a3KrEP2loOr2Ojhw6iW6hf2BDdEccQvZGpaAy7YovSwq8kr7HGllxpd71rkS6G0Sf11sl9OvMK1+jwPPODxjUwkOim9CU3ix1wNjXDfmJSEn618Bs6lpWwUpU+8PCqLMY650zjq8VhCIP17NEKTx3eaLL+s5Pi6yJWaWjTHLR1jYzPSV9VF/6Ojdb/1kO3Mk3uhHC0x6gc1BjlKQ+nQFxTYdaJkZ7ySVxLBbhR1dsboNXp1tCYKW2LRaEzpYcIx2BKNxaL0ZaUnSqfFoiNhHKR/GkX6PWUSAaJelQaqZL1EpoHNsajSEyPSoJ9IjhIxTdjHLmwZvhRDOiFTY/YeQnvrVZmiTQtGncECXtFTBZLOVwwMRgoXHAkXzMzPn1nAJJ8jYSbMDaqN2waGLzNhih/bZynUBMpIWSg7VYi7
2DRx2m8ALkIdRCJwI6ArJx2EI8kaDWeTQKeAFk9fjl/1AvwktjQ1P7NjyMGQyfd4vjipX6M/i52D7Cq80kqlcxEcGXRr/FEcgs0u5uGgB4VWuMFfpdn2Re6Hi3PqzmxWKsz6+ae2Pn9hXXw/fqM859UiGC0oKYYILJBqJrsn1Z1E5qOs9rQCiUQRREjm8yJcbHF5cUJufX1vAHlefw0XgUoboS3ETfQlTxBC4SOtuE8VPRJTBSCQSjZCpk7Gqzu+masaZ2y7Zjehho4F3g82BNDkAHpORG4+OCS+f6JTPmtRn/PH1kch6d04sp7AQb25aQ/pqUyXeQ8vrebG8OYQdXOQ+585u0sdW9rqalzRURiJ+9F4MweRFrKUjl1GUYhH1A27WOHw5cTFSFPMo9EeUIGnQTZHIaJ7AHLaOKsOODaNF9jkBjYG2QEsQ2xjMUAx2bBEbeTBWMHwskBjngq56S/yfgkBnWBa4K9sqKtq2t1UI8S9He5XuBRbawAdatrQEAi30Aks2+LM8WeCbalVZkWNylvJ+dqJnzVb+OHlSoKW8nPCP7Rd+CcZ2DdWAGqJ2CBFOphgywFFCFBNtfAbGtNPBCwxvygHeYMZMY9ZboBqwq/pVrsbgN5tkv152ODlbMfiqwGMBgxa4Exz3QhovRIUp6acqZmQzRq0ypDXS2TPLT02YIkQETnOE445oOGxOmXAqUJNNG7XgupMjPq2ua9asrj5yY/yuKteO1Kx0YNJTufrirLe1mZnat7OL6rnUdCWenpW6I8mAnbsY8KWs1PuSovCW9A/Z25PQ24a7cNOqgmTkLmBMgh4THgc4b9k2IVv1/g/F5nGljwPLfOgHAzJzh45V/4+WenTzmMtR5Z7us2Tys909UHqrPY7KbckoxRvRHhmVc3cJGE97uml0R1S0jdULVl7EvZtDFVBF35N9cEdjpgmAiOlFZ+Dtoh93+D3zzHr8RRNZQhnCNMNbcegOvpEwZoL+06cJQ07h+th3fZ/7PVbVC6ngTAV/KoLFuO6+2KFcU651gEb5ugPSIb1D+Xp8V4+k3sEIGnw5mYe4If4k1lFYr6SCzmM2EQ8iWtmwjnBI9kTwe1TlfAmXh7H02by9fW2gsjKwtv0aaURKil4OdV7rDL1MXIFNrhdxohcZXYTnq47WisrKitaObbf5+yvkLi5J6lCNZZ+B6GC38VNBZBDidSS/+mSvh6s+srgC8pyKMvDtt+de3c9fU76ZPfuM8ud4Kv0fyP/LqfepMT/3oZxSqpZaTa1DaQYLY8TFsHYbWYsPoRhRWfL5eSSQbhUGgGC3YLbVMk6PitTFNGpAsNrC6D1VNBKgBHMejaiuRWEWGgsSDBTJjqWIl8kJLlsaLJ2tXDr6xGfT85bM2Q06a46x2HTgvdnV8z5YDy/27J4zt6x2VtkzjoYpkq36kaBr4eQSg7tyiVweWubXZugtadl58ydapfbORfKsDTuZ0OBgx4cfdjCf5tbWNITnL120fdOi1RV1C3uKGzNdwYLcMvZ3BxoPyTOCD1XvXTp7U10gWCVmTV9b3r2z0SkGWovb2hp9I89O8a2smlyaO8muMU+dRmtzp60IzAoFpjLr1n388boLyf0dRvxhsHZ0qbWqDkwqvvpkj4l0fY6EIXRi5sQSrAvsVYwXRy4qJ2EVtD1AN7a0HWth9ymvL1xc3WTUKK/TAHA/bXDVtVWfOMfuGxGZv4Ln/jVr9jc3j1yMv0tndmyt9Vq88Y9gH1wtLX3KWjot5++jWHgAoZZkQ14wGQ20Fli71UmKJAy4xKMSTGbVdybW7FDDAut9XpD5AzWrYO7zQ8qffqF8+Ynd/clrHcdyxGy3a/3+mfNnzC/cBsveTjnTvXf1o6vzOlZw7WtqtdmPK/Errz/6NNtD72zmNOZfbmYdTGHfoofqI79Oc+R2n1lrnL6pOm0Up7kwxhTW12Amm7WYkXR2qYrF2AmgmbAsxZjwy1xpg/m1Je2vrp8v/nz2xpmlBg4E9hrMU341wVpTOh/OfmGvAnra8q6uctr60ZQHV3Q+WMQJykMj8ZsWn2QBOmmHMB+m5pDIpTFonYigiaKAhGEiAHF7EliVnQkjoLVIMPtJpBKHYd3A8GYH9jJzrWwmHx5Qjp7vDAX0suGRym1vtm/9W1/HyR8vczfMs6Sk8DSv855/5dlX9oQq52hT8syyp2rx5Id17IAyAM3wIjQPMOHzytEB64q6D5zT91yNbnx3V/nqnd017S9Y0605k3izoXLpsxde2n38yoOV9s1LcjwzNjbdX6asnBVaBj/6/DwKwPkpcqbDG7BnsXoSqWnUAmottYF6jMSdVyYZh3zVXCjwTiwwHH6sGuRiEHQGzuRX6whZkp123oy1BWE2mEfJ/tvIRtM4ZM5bDXiMsPMaAKOTyc5uL57rqyyc5y5JE5pm1i2S2iUX0CcaQ6lC6Zog7JqSqZmYlosl2K6pwNA84zRnQW6SaALYZQGW5lhCtU/W34N6o+bKfZ8cf3/Cl/+iTX3wBzpOY4mRkeNf3rptycGSshQWgGbYt5jFc2e0+DglIrwl6DVWQ7BuwaJ3Xk1J4VL5urnLl/Wf+gHU/hZoZdKNym6lG+I34FaNeZKcSpJIo2IeCVvpdsDGfKvzJnAwmeD37Ow65ZWwSowpgwX5T69s/rB55dP5BcpgDKFV8p7q2sn/1uc93bVzT/w6UrCqDTWvfCq/oCD/qZXNoUj8BL5Kp6GU017frfNXkAtiiyf/SOCEeLqnd8R/Ql9GlCRfctS6k5chvIBuQ1zCCjoCHL2DHNHIXxMJ3kQeO8lbsUXONeSfA5EjcG6/E+KdhN4bP04vBhdi883+BFBzQbxFbvZzQeY9LNBZc0FNfn5NwfDn6rCTnTw6R8o+gfpf5hCom33cRuiTlss3KHmZjD+BPN+5gXuA2ziS/Q73mLxUkpbKN/eqwz5uK0X9F3h2d1V4nGNgZGBgAOJd776+iue3+crAzc4AAje5Bfcg0xz9YHEOBiYQBQA8FQlFAHicY2BkYGBnAAGOPgaG//85+hkYGVCBMgBGGwNYAAAAeJxjYGBgYB8EmKOPgQEAQ04BfgAAAAAAAA4AaAB+AMwA4AECAUIBbAGYAcICGAJYArQC4AMwA7AD3gQwBJYE3AUkBWYFigYgBmYGtAbqB1gIEghYCG4IhAi2COh4nGNgZGBgUGYoZWBnAAEmIOYCQgaG/2A+AwAYCQG2AHicXZBNaoNAGIZfE5PQCKFQ2lUps2oXBfOzzAESyDKBQJdGR2NQR3QSSE/QE/QEPUUPUHqsvsrXjTMw83zPvPMNCuAWP3DQDAejdm1GjzwS7pMmwi75XngAD4/CQ/oX4TFe4Qt7uMMbOzjuDc0EmXCP/C7cJ38Iu+RP4QEe8CU8pP8WHmOPX2EPz87TPo202ey2OjlnQSXV/6arOjWFmvszMWtd6CqwOlKHq6ovycLaWMWVydXKFFZnmVFlZU46tP7R2nI5ncbi/dDkfDtFBA2DDXbYkhKc+V0Bqs5Zt9JM1HQGBRTm/EezTmZNKtpcAMs9Yu6AK9caF76zoLWIWcfMGOSkVduvSWechqZsz040Ib2PY3urxBJTzriT95lipz+TN1fmAAAAeJxtkMl2wjAMRfOAhABlKm2h80C3+ajgCKKDY6cegP59TYBzukAL+z1Zsq8ctaJTTKPrsUQLbXQQI0EXKXroY4AbDDHCGBNMcYsZ7nCPB8yxwCOe8IwXvOIN7/jAJ76wxHfUqWX+OzgumWAjJMV17i0Ndlr6irLKO+qftdT7i6y4uFSUvCknay+lFYZIZaQcmfH/xIFdYn98bqhra1aKTM/6lWMnyaYirx1rFUQZFBkb2zJUtoXeJCeg0WnLtHeSFc3OtrnozNwqi0TkSpBMDB1nSde5oJXW23hTS2/T0LilglXX7dmFVxLnq5U0vYATHFk3zX3BOisoQHNDFDeZnqKDy9hRNawN7Vh727hFzcJ5c8TILrKZfH7tIPxAFP0BpLeJPA==) format("woff");font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.vjs-icon-play:before{content:"\\f101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\\f102"}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,.vjs-icon-pause:before{content:"\\f103"}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before,.vjs-icon-volume-mute:before{content:"\\f104"}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before,.vjs-icon-volume-low:before{content:"\\f105"}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before,.vjs-icon-volume-mid:before{content:"\\f106"}.video-js .vjs-mute-control .vjs-icon-placeholder,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control .vjs-icon-placeholder:before,.vjs-icon-volume-high:before{content:"\\f107"}.video-js .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-enter:before{content:"\\f108"}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-exit:before{content:"\\f109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\\f10a"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\\f10b"}.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subtitles-button .vjs-icon-placeholder,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subtitles-button .vjs-icon-placeholder:before,.vjs-icon-subtitles:before{content:"\\f10c"}.video-js .vjs-captions-button .vjs-icon-placeholder,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button .vjs-icon-placeholder:before,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before,.vjs-icon-captions:before{content:"\\f10d"}.video-js .vjs-chapters-button .vjs-icon-placeholder,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button .vjs-icon-placeholder:before,.vjs-icon-chapters:before{content:"\\f10e"}
2.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\\f10f"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\\f110"}.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle,.vjs-seek-to-live-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before,.vjs-seek-to-live-control .vjs-icon-placeholder:before{content:"\\f111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\\f112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\\f113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\\f114"}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before,.vjs-icon-cancel:before{content:"\\f115"}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder,.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before,.vjs-icon-replay:before{content:"\\f116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\\f117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\\f118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\\f119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\\f11a"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\\f11b"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\\f11c"}.video-js .vjs-descriptions-button .vjs-icon-placeholder,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button .vjs-icon-placeholder:before,.vjs-icon-audio-description:before{content:"\\f11d"}.video-js .vjs-audio-button .vjs-icon-placeholder,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button .vjs-icon-placeholder:before,.vjs-icon-audio:before{content:"\\f11e"}.vjs-icon-next-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-next-item:before{content:"\\f11f"}.vjs-icon-previous-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-previous-item:before{content:"\\f120"}.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder,.vjs-icon-picture-in-picture-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder:before,.vjs-icon-picture-in-picture-enter:before{content:"\\f121"}.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder,.vjs-icon-picture-in-picture-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder:before,.vjs-icon-picture-in-picture-exit:before{content:"\\f122"}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:normal}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex="-1"]{outline:none}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-1-1,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-16-9,.video-js.vjs-fluid{width:100%;max-width:100%;height:0}.video-js.vjs-16-9{padding-top:56.25%}.video-js.vjs-4-3{padding-top:75%}.video-js.vjs-9-16{padding-top:177.7777777778%}.video-js.vjs-1-1{padding-top:100%}.video-js.vjs-fill,.video-js .vjs-tech{width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0}body.vjs-full-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen:not(.vjs-ios-native-fs){width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1!important;visibility:visible!important}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.63332em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.81666em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-control
2s .vjs-big-play-button{display:none}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button{display:block}.video-js button{background:none;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:linear-gradient(180deg,rgba(0,0,0,.8),hsla(0,0%,100%,0));overflow:auto}.video-js .vjs-modal-dialog>*{box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:auto}.vjs-menu .vjs-menu-content>*{box-sizing:border-box}.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.js-focus-visible .vjs-menu li.vjs-menu-item:hover,.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover{background-color:#73859f;background-color:rgba(115,133,159,.5)}.js-focus-visible .vjs-menu li.vjs-selected:hover,.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.js-focus-visible .vjs-menu :not(.vjs-selected):focus:not(.focus-visible),.video-js .vjs-menu :not(.vjs-selected):focus:not(.focus-visible),.video-js .vjs-menu :not(.vjs-selected):focus:not(:focus-visible){background:none}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:5em}.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:10em}.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:14em}.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:25em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-has-started .vjs-control-bar{display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;pointer-events:none;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-control
2s .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;flex:none}.vjs-button>.vjs-icon-placeholder:before{font-size:1.8em;line-height:1.67}.vjs-button>.vjs-icon-placeholder{display:block}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{cursor:pointer;flex:auto;display:flex;align-items:center;min-width:4em;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-live .vjs-progress-control{display:none}.vjs-liveui .vjs-progress-control{display:flex;align-items:center}.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-progress-holder{flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control .vjs-progress-holder{margin:0 10px}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{font-size:.9em;position:absolute;right:-.5em;top:-.3333333333em;z-index:1}.video-js .vjs-load-progress{background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:rgba(115,133,159,.75)}.video-js .vjs-time-tooltip{background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-progress-holder:focus .vjs-time-tooltip{display:none}.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control{cursor:pointer;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:flex}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{transition:width 1s}.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control{visibility:visible;opacity:1;position:relative;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;margin-right:0}.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical{left
2:-3.5em;transition:left 0s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active{width:10em;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3000em;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;visibility:visible;opacity:1;position:relative;transition:none}.video-js.vjs-no-flex .vjs-volume-control.vjs-volume-vertical,.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{position:absolute;bottom:3em;left:.5em}.video-js .vjs-volume-panel{display:flex}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em;z-index:1}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em;z-index:1}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.video-js .vjs-volume-tooltip{background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip,.video-js .vjs-volume-control:hover .vjs-volume-tooltip{display:block;font-size:1em;visibility:visible}.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip,.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip{left:1em;top:-12px}.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip{font-size:1em}.video-js .vjs-volume-control .vjs-mouse-display{display:none;position:absolute;width:100%;height:1px;background-color:#000;z-index:1}.video-js .vjs-volume-horizontal .vjs-mouse-display{width:1px;height:100%}.vjs-no-flex .vjs-volume-control .vjs-mouse-display{z-index:0}.video-js .vjs-volume-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-volume-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-volume-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.vjs-poster{display:inline-block;vertical-align:middle;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-has-started .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster{display:block}.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-live-control{display:flex;align-items:flex-start;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js.vjs-liveui .vjs-live-control,.video-js:not(.vjs-live) .vjs-live-control{display:none}.video-js .vjs-seek-to-live-control{align-items:center;cursor:pointer;flex:none;display:inline-flex;height:100%;padding-left:.5em;padding-right:.5em;font-size:1em;line-height:3em;width:auto;min-width:4em}.vjs-no-flex .vjs-seek-to-live-control{display:table-cell;width:auto;text-align:left}.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,.video-js:not(.vjs-live) .vjs-seek-to-live-control{display:none}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge{cursor:auto}.vjs-seek-to-live-control .vjs-icon-placeholder{margin-right:.5em;color:#888}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:red}.video-js .vjs-time-control{flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-no-flex .vjs-current-time,.vjs-no-flex .vjs-duration{dis
2play:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer}.video-js .vjs-play-control .vjs-icon-placeholder{flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{transform:translateY(-3em)}.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{transform:translateY(-1.5em)}.video-js .vjs-fullscreen-control,.video-js .vjs-picture-in-picture-control{cursor:pointer;flex:none}.vjs-playback-rate .vjs-playback-rate-value,.vjs-playback-rate>.vjs-menu-button{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:1.5em;line-height:2;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px;visibility:hidden}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block;-webkit-animation:vjs-spinner-show 0s linear .3s forwards;animation:vjs-spinner-show 0s linear .3s forwards}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:#fff transparent transparent}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-show{to{visibility:visible}}@-webkit-keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{to{transform:rotate(1turn)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:"";font-size:1.5em;line-height:inherit}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:" ";font-size:1.5em;line-height:inherit}.video-js.vjs-layout-small .vjs-current-time,.video-js.vjs-layout-small .vjs-duration,.video-js.vjs-layout-small .vjs-playback-rate,.video-js.vjs-layout-small .vjs-remaining-time,.video-js.vjs-layout-small .vjs-time-divider,.video-js.vjs-layout-small .vjs-volume-control,.video-js.vjs-layout-tiny .vjs-current-time,.video-js.vjs-layout-tiny .vjs-duration,.video-js.vjs-layout-tiny .vjs-playback-rate,.video-js.vjs-layout-tiny .vjs-remaining-time,.video-js.vjs-layout-tiny .vjs-time-divider,.video-js.vjs-layout-tiny .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-current-time,.video-js.vjs-layout-x-small .vjs-duration,.video-js.vjs-layout-x-small .vjs-playback-rate,.video-js.vjs-layout-x-small .vjs-remaining-time,.video-js.vjs-layout-x-small .vjs-time-divider,.video-js.vjs-layout-x-small .vjs-volume-control{display:none}.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover{width:auto}.video-js.vjs-layout-tiny .vjs-progress-control,.video-js.vjs-layout-x-small .vjs-progress-control{display:none}.video-js.vjs-layout-x-small .vjs-custom-control-spacer{flex:auto;display:block}.video-js.vjs-layout-x-small.vjs-no-flex .vjs-custom-control-spacer{width:auto}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;height:70%}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-controls,.vjs-text-track-settings .vjs-track-settings-font{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}@supports (display:grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:20px 24px 0}.vjs-track-settings-controls .vjs-default-button{margin-bottom:20px}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:1/-1}.vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content{grid-template-columns:1fr}}.vjs-track-setting>select{margin-right:1em;margin-bottom:.5em}.vjs-text-track-settings fieldset{margin:5px;padding:3px;border:none}
2.vjs-text-track-settings fieldset span{display:inline-block}.vjs-text-track-settings fieldset span>select{max-width:7.3em}.vjs-text-track-settings legend{color:#fff;margin:0 0 5px}.vjs-text-track-settings .vjs-label{position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);display:block;margin:0 0 5px;padding:0;border:0;height:1px;width:1px;overflow:hidden}.vjs-track-settings-controls button:active,.vjs-track-settings-controls button:focus{outline-style:solid;outline-width:medium;background-image:linear-gradient(0deg,#fff 88%,#73859f)}.vjs-track-settings-controls button:hover{color:rgba(43,51,63,.75)}.vjs-track-settings-controls button{background-color:#fff;background-image:linear-gradient(-180deg,#fff 88%,#73859f);color:#2b333f;cursor:pointer;border-radius:2px}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}@media print{.video-js>:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.js-focus-visible .video-js :focus:not(.focus-visible),.video-js :focus:not(.focus-visible),.video-js :focus:not(:focus-visible){outline:none}',""]),e.exports=r},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return De})),n.d(t,"b",(function(){return ce})),n.d(t,"c",(function(){return Ve})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return fe})),n.d(t,"f",(function(){return le})),n.d(t,"g",(function(){return Ee})),n.d(t,"h",(function(){return xe})),n.d(t,"i",(function(){return _e})),n.d(t,"j",(function(){return oe})),n.d(t,"k",(function(){return ne})),n.d(t,"l",(function(){return he})),n.d(t,"m",(function(){return Te})),n.d(t,"n",(function(){return ue})),n.d(t,"o",(function(){return Le}));var r=function(e,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},r(e,b)};var o,l=function(){return l=Object.assign||function(e){for(var s,i=1,t=arguments.length;i<t;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(e[p]=s[p]);return e},l.apply(this,arguments)};function c(e){var s="function"==typeof Symbol&&Symbol.iterator,t=s&&e[s],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)l.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return l}function h(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var f=[],m=function(){function e(e){this.active=!0,this.effects=[],this.cleanups=[],this.vm=e}return e.prototype.run=function(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0},e.prototype.on=function(){this.active&&(f.push(this),o=this)},e.prototype.off=function(){this.active&&(f.pop(),o=f[f.length-1])},e.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(e){return e.stop()})),this.cleanups.forEach((function(e){return e()})),this.active=!1)},e}();!function(e){function t(t){void 0===t&&(t=!1);var n,r=void 0;return function(e){var t=S;S=!1;try{e()}finally{S=t}}((function(){r=G(k())})),n=e.call(this,r)||this,t||function(e,t){var n;if((t=t||o)&&t.active)return void t.effects.push(e);var r=null===(n=O())||void 0===n?void 0:n.proxy;r&&r.$on("hook:destroyed",(function(){return e.stop()}))}(n),n}(function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}r(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)})(t,e)}(m);function v(){var e,t;return(null===(e=o)||void 0===e?void 0:e.vm)||(null===(t=O())||void 0===t?void 0:t.proxy)}var y=void 0;try{var _=n(6);_&&x(_)?y=_:_&&"default"in _&&x(_.default)&&(y=_.default)}catch(e){}var T=null,w=null,S=!0,E="__composition_api_installed__";function x(e){return e&&V(e)&&"Vue"===e.name}function k(){return T}function C(){return T||y}function A(e){if(S){var t=w;null==t||t.scope.off(),null==(w=e)||w.scope.on()}}function O(){return w}var j=new WeakMap;function I(e){if(j.has(e))return j.get(e);var t={proxy:e,update:e.$forceUpdate,type:e.$options,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null};!function(e){if(!e.scope){var t=new m(e.proxy);e.scope=t,e.proxy.$on("hook:destroyed",(function(){return t.stop()}))}e.scope}(t);return["data","props","attrs","refs","vnode","slots"].forEach((function(n){D(t,n,{get:function(){return e["$".concat(n)]}})})),D(t,"isMounted",{get:function(){return e._isMounted}}),D(t,"isUnmounted",{get:function(){return e._isDestroyed}}),D(t,"isDeactivated",{get:function(){return e._inactive}}),D(t,"emitted",{get:function(){return e._events}}),j.set(e,t),e.$parent&&(t.parent=I(e.$parent)),e.$root&&(t.root=I(e.$root)),t}function P(e){return"function"==typeof e&&/native code/.test(e.toString())}var L="undefined"!=typeof Symbol&&P(Symbol)&&"undefined"!=typeof Reflect&&P(Reflect.ownKeys),M=function(e){return e};function D(e,t,n){var r=n.get,o=n.set;Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:r||M,set:o||M})}function N(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function R(e,t){return Object.hasOwnProperty.call(e,t)}function B(e){return Array.isArray(e)}var U,F=Object.prototype.toString,z=function(e){return F.call(e)};function $(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)&&t<=4294967295}function H(e){return null!==e&&"object"==typeof e}function W(e){return"[object Object]"===function(e){return Object.prototype.toString.call(e)}(e)}function V(e){return"function"==typeof e}function Y(e,t){return t=t||O()}function G(e,t){void 0===t&&(t={});var n=e.config.silent;e.config.silent=!0;var r=new e(t);return e.config.silent=n,r}function X(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e.$scopedSlots[t])return e.$scopedSlots[t].apply(e,n)}}function K(e){return L?Symbol.for(e):e}
vendor: 7,065 bytes, line 2
2var Q=K("composition-api.preFlushQueue"),J=K("composition-api.postFlushQueue"),Z="composition-api.refKey",ee=new WeakMap,te=new WeakMap,ie=new WeakMap;function ne(e,t,n){var r=k().util,o=(r.warn,r.defineReactive);var l=e.__ob__;function c(){l&&H(n)&&!R(n,"__ob__")&&ye(n)}if(B(e)){if($(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),c(),n;if("length"===t&&n!==e.length)return e.length=n,null==l||l.dep.notify(),n}return t in e&&!(t in Object.prototype)?(e[t]=n,c(),n):e._isVue||l&&l.vmCount?n:l?(o(l.value,t,n),ge(e,t,n),c(),l.dep.notify(),n):(e[t]=n,n)}var re=!1;var ae=function(e){D(this,"value",{get:e.get,set:e.set})};function se(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=new ae(e);n&&(r.effect=!0);var o=Object.seal(r);return t&&ie.set(o,!0),o}function oe(e){var t;if(le(e))return e;var n=_e(((t={})[Z]=e,t));return se({get:function(){return n[Z]},set:function(e){return n[Z]=e}})}function le(e){return e instanceof ae}function ue(e){if(!W(e))return e;var t={};for(var n in e)t[n]=de(e,n);return t}function ce(e){var t=oe(0);return se(e((function(){t.value}),(function(){++t.value})))}function de(object,e){e in object||ne(object,e,void 0);var t=object[e];return le(t)?t:se({get:function(){return object[e]},set:function(t){return object[e]=t}})}function he(e){var t;if(le(e))return e;var n=function(e){var t,n;if(!H(e))return e;if(!W(e)&&!B(e)||pe(e)||!Object.isExtensible(e))return e;var r=ve(B(e)?[]:{}),o=r.__ob__,l=function(t){var n,l,c=e[t],d=Object.getOwnPropertyDescriptor(e,t);if(d){if(!1===d.configurable)return"continue";n=d.get,l=d.set}D(r,t,{get:function(){var t,r=n?n.call(e):c;return null===(t=o.dep)||void 0===t||t.depend(),r},set:function(t){var r;if(!n||l){var d=n?n.call(e):c;(re||d!==t)&&(l?l.call(e,t):c=t,null===(r=o.dep)||void 0===r||r.notify())}}})};try{for(var d=c(Object.keys(e)),h=d.next();!h.done;h=d.next()){l(h.value)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}return r}(((t={})[Z]=e,t));return se({get:function(){return n[Z]},set:function(e){return n[Z]=e}})}function pe(e){var t;return Boolean(e&&R(e,"__ob__")&&"object"==typeof e.__ob__&&(null===(t=e.__ob__)||void 0===t?void 0:t.__raw__))}function fe(e){var t;return Boolean(e&&R(e,"__ob__")&&"object"==typeof e.__ob__&&!(null===(t=e.__ob__)||void 0===t?void 0:t.__raw__))}function me(e){if(!(!W(e)||pe(e)||B(e)||le(e)||(t=e,n=k(),n&&t instanceof n)||ee.has(e))){var t,n;ee.set(e,!0);for(var r=Object.keys(e),i=0;i<r.length;i++)ge(e,r[i])}}function ge(e,t,n){if("__ob__"!==t&&!pe(e[t])){var r,o,l=Object.getOwnPropertyDescriptor(e,t);if(l){if(!1===l.configurable)return;r=l.get,o=l.set,r&&!o||2!==arguments.length||(n=e[t])}me(n),D(e,t,{get:function(){var o=r?r.call(e):n;return t!==Z&&le(o)?o.value:o},set:function(l){r&&!o||(t!==Z&&le(n)&&!le(l)?n.value=l:o?(o.call(e,l),n=l):n=l,me(l))}})}}function ve(e){var t,n=C();n.observable?t=n.observable(e):t=G(n,{data:{$$state:e}})._data.$$state;return R(t,"__ob__")||ye(t),t}function ye(e,t){var n,r;if(void 0===t&&(t=new Set),!t.has(e)&&!R(e,"__ob__")&&Object.isExtensible(e)){N(e,"__ob__",function(e){void 0===e&&(e={});return{value:e,dep:{notify:M,depend:M,addSub:M,removeSub:M}}}(e)),t.add(e);try{for(var o=c(Object.keys(e)),l=o.next();!l.done;l=o.next()){var d=e[l.value];(W(d)||B(d))&&!pe(d)&&Object.isExtensible(d)&&ye(d,t)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}}function be(){return ve({}).__ob__}function _e(e){if(!H(e))return e;if(!W(e)&&!B(e)||pe(e)||!Object.isExtensible(e))return e;var t=ve(e);return me(t),t}function Te(e){var t,n;return pe(e)||!Object.isExtensible(e)?e:(null===(n=null===(t=e)||void 0===t?void 0:t.__ob__)||void 0===n?void 0:n.value)||e}function we(e){return function(t,n){var r,o=Y("on".concat((r=e)[0].toUpperCase()+r.slice(1)),n);return o&&function(e,t,n,r){var o=t.proxy.$options,l=e.config.optionMergeStrategies[n],c=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=O();A(e);try{return t.apply(void 0,h([],d(n),!1))}finally{A(o)}}}(t,r);return o[n]=l(o[n],c),c}(k(),o,e,t)}}var Se,Ee=we("beforeMount"),xe=(we("mounted"),we("beforeUpdate"),we("updated"),we("beforeDestroy"),we("destroyed"),we("errorCaptured"),we("activated"),we("deactivated"),we("serverPrefetch"));function ke(){Oe(this,Q)}function Ce(){Oe(this,J)}function Ae(){var e=v();return e?function(e){return void 0!==e[Q]}(e)||function(e){e[Q]=[],e[J]=[],e.$on("hook:beforeUpdate",ke),e.$on("hook:updated",Ce)}(e):(Se||(Se=G(k())),e=Se),e}function Oe(e,t){for(var n=e[t],r=0;r<n.length;r++)n[r]();n.length=0}function je(e,t,n){var r=function(){e.$nextTick((function(){e[Q].length&&Oe(e,Q),e[J].length&&Oe(e,J)}))};switch(n){case"pre":r(),e[Q].push(t);break;case"post":r(),e[J].push(t);break;default:!function(e,t){if(!e)throw new Error("[vue-composition-api] ".concat(t))}(!1,'flush must be one of ["post", "pre", "sync"], but got '.concat(n))}}function Ie(e,t){var n=e.teardown;e.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(e,r),t()}}function Pe(e,source,t,n){var r;var o,l=n.flush,c="sync"===l,f=function(e){o=function(){try{e()}catch(e){!function(e,t,n){if("undefined"==typeof window||"undefined"==typeof console)throw e;console.error(e)}(e)}}},m=function(){o&&(o(),o=null)},v=function(t){return c||e===Se?t:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return je(e,(function(){t.apply(void 0,h([],d(n),!1))}),l)}};if(null===t){var y=!1,_=function(e,t,n,r){var o=e._watchers.length;return e.$watch(t,n,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),e._watchers[o]}(e,(function(){if(!y)try{y=!0,source(f)}finally{y=!1}}),M,{deep:n.deep||!1,sync:c,before:m});Ie(_,m),_.lazy=!1;var T=_.get.bind(_);return _.get=v(T),function(){_.teardown()}}var w,S=n.deep,E=!1;if(le(source)?w=function(){return source.value}:fe(source)?(w=function(){return source},S=!0):B(source)?(E=!0,w=function(){return source.map((function(s){return le(s)?s.value:fe(s)?Me(s):V(s)?s():M}))}):w=V(source)?source:M,S){var x=w;w=function(){return Me(x())}}var k=function(e,n){if(S||!E||!e.every((function(e,i){return t=e,r=n[i],t===r?0!==t||1/t==1/r:t!=t&&r!=r;var t,r})))return m(),t(e,n,f)},C=v(k);if(n.immediate){var A=C,O=function(e,t){return O=A,k(e,B(e)?[]:t)};C=function(e,t){return O(e,t)}}var j=e.$watch(w,C,{immediate:n.immediate,deep:S,sync:c}),I=e._watchers[e._watchers.length-1];return fe(I.value)&&(null===(r=I.value.__ob__)||void 0===r?void 0:r.dep)&&S&&I.value.__ob__.dep.addSub({update:function(){I.run()}}),Ie(I,m),function(){j()}}function Le(source,e,t){var n=null;V(e)?n=e:(t=e,n=null);var r=function(e){return l({immediate:!1,deep:!1,flush:"pre"},e)}(t);return Pe(Ae(),source,n,r)}function Me(e,t){if(void 0===t&&(t=new Set),!H(e)||t.has(e)||te.has(e))return e;if(t.add(e),le(e))Me(e.value,t);else if(B(e))for(var i=0;i<e.length;i++)Me(e[i],t);else if("[object Set]"===z(e)||function(e){return"[object Map]"===z(e)}(e))e.forEach((function(e){Me(e,t)}));
vendor: 6,000 bytes, line 2
2else if(W(e))for(var n in e)Me(e[n],t);return e}function De(e){var t,n,r,o,l=v();if(V(e)?t=e:(t=e.get,n=e.set),l&&!l.$isServer){var c,d=function(){if(!U){var e=G(k(),{computed:{value:function(){return 0}}}),t=e._computedWatchers.value.constructor,n=e._data.__ob__.dep.constructor;U={Watcher:t,Dep:n},e.$destroy()}return U}(),h=d.Watcher,f=d.Dep;o=function(){return c||(c=new h(l,t,M,{lazy:!0})),c.dirty&&c.evaluate(),f.target&&c.depend(),c.value},r=function(e){n&&n(e)}}else{var m=G(k(),{computed:{$$state:{get:t,set:n}}});l&&l.$on("hook:destroyed",(function(){return m.$destroy()})),o=function(){return m.$$state},r=function(e){m.$$state=e}}return se({get:o,set:r},!n,!0)}var Ne={set:function(e,t,n){(e.__composition_api_state__=e.__composition_api_state__||{})[t]=n},get:function(e,t){return(e.__composition_api_state__||{})[t]}};function Re(e){var t=Ne.get(e,"rawBindings")||{};if(t&&Object.keys(t).length){for(var n=e.$refs,r=Ne.get(e,"refs")||[],o=0;o<r.length;o++){var l=t[h=r[o]];!n[h]&&l&&le(l)&&(l.value=null)}var c=Object.keys(n),d=[];for(o=0;o<c.length;o++){var h;l=t[h=c[o]];n[h]&&l&&le(l)&&(l.value=n[h],d.push(h))}Ne.set(e,"refs",d)}}function Be(e){for(var t=[e._vnode];t.length;){var n=t.pop();if(n.context&&Re(n.context),n.children)for(var i=0;i<n.children.length;++i)t.push(n.children[i])}}function Ue(e,t){var n,r;if(e){var o=Ne.get(e,"attrBindings");if(o||t){if(!o){var l=_e({});o={ctx:t,data:l},Ne.set(e,"attrBindings",o),D(t,"attrs",{get:function(){return null==o?void 0:o.data},set:function(){}})}var source=e.$attrs,d=function(t){R(o.data,t)||D(o.data,t,{get:function(){return e.$attrs[t]}})};try{for(var h=c(Object.keys(source)),f=h.next();!f.done;f=h.next()){d(f.value)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}}}}function Fe(e,t){var n=e.$options._parentVnode;if(n){for(var r=Ne.get(e,"slots")||[],o=function(e,t){var n;if(e){if(e._normalized)return e._normalized;for(var r in n={},e)e[r]&&"$"!==r[0]&&(n[r]=!0)}else n={};for(var r in t)r in n||(n[r]=!0);return n}(n.data.scopedSlots,e.$slots),l=0;l<r.length;l++){o[d=r[l]]||delete t[d]}var c=Object.keys(o);for(l=0;l<c.length;l++){var d;t[d=c[l]]||(t[d]=X(e,d))}Ne.set(e,"slots",c)}}function ze(e,t,n){var r=O();A(e);try{return t(e)}catch(e){if(!n)throw e;n(e)}finally{A(r)}}function $e(e){function t(e,n){if(void 0===n&&(n=new Set),!n.has(e)&&W(e)&&!le(e)&&!fe(e)&&!pe(e)){var r=k().util.defineReactive;Object.keys(e).forEach((function(o){var l=e[o];r(e,o,l),l&&(n.add(l),t(l,n))}))}}function n(e,t){return void 0===t&&(t=new Map),t.has(e)?t.get(e):(t.set(e,!1),B(e)&&fe(e)?(t.set(e,!0),!0):!(!W(e)||pe(e)||le(e))&&Object.keys(e).some((function(r){return n(e[r],t)})))}e.mixin({beforeCreate:function(){var e=this,r=e.$options,o=r.setup,l=r.render;l&&(r.render=function(){for(var t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return ze(I(e),(function(){return l.apply(t,n)}))});if(!o)return;if(!V(o))return void 0;var data=r.data;r.data=function(){return function(e,r){void 0===r&&(r={});var o,l=e.$options.setup,c=function(e){var t={slots:{}},n=["emit"];["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(n){var r="$".concat(n);D(t,n,{get:function(){return e[r]},set:function(){}})})),Ue(e,t),n.forEach((function(n){var r="$".concat(n);D(t,n,{get:function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e[r].apply(e,t)}}})})),!1;return t}(e),d=I(e);if(d.setupContext=c,N(r,"__ob__",be()),Fe(e,c.slots),ze(d,(function(){o=l(r,c)})),!o)return;if(V(o)){var h=o;return void(e.$options.render=function(){return Fe(e,c.slots),ze(d,(function(){return h()}))})}if(H(o)){fe(o)&&(o=ue(o)),Ne.set(e,"rawBindings",o);var f=o;return void Object.keys(f).forEach((function(r){var o=f[r];if(!le(o))if(fe(o))B(o)&&(o=oe(o));else if(V(o)){var l=o;o=o.bind(e),Object.keys(l).forEach((function(e){o[e]=l[e]}))}else H(o)?n(o)&&t(o):o=oe(o);!function(e,t,n){var r=e.$options.props;t in e||r&&R(r,t)||(le(n)?D(e,t,{get:function(){return n.value},set:function(e){n.value=e}}):D(e,t,{get:function(){return fe(n)&&n.__ob__.dep.depend(),n},set:function(e){n=e}}))}(e,r,o)}))}0}(e,e.$props),V(data)?data.call(e,e):data||{}}},mounted:function(){Be(this)},beforeUpdate:function(){Ue(this)},updated:function(){Be(this)}})}function He(e,t){if(!e)return t;if(!t)return e;for(var n,r,o,l=L?Reflect.ownKeys(e):Object.keys(e),i=0;i<l.length;i++)"__ob__"!==(n=l[i])&&(r=t[n],o=e[n],R(t,n)?r!==o&&W(r)&&!le(r)&&W(o)&&!le(o)&&He(o,r):t[n]=o);return t}function We(e){(function(e){return T&&R(e,E)})(e)||(e.config.optionMergeStrategies.setup=function(e,t){return function(n,r){return He(V(e)?e(n,r)||{}:void 0,V(t)?t(n,r)||{}:void 0)}},function(e){T=e,Object.defineProperty(e,E,{configurable:!0,writable:!0,value:!0})}(e),$e(e))}var Ve={install:function(e){return We(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Ve)},964:function(e,t,n){e.exports=function(){"use strict";return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")}}()},965:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%
2d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};return n.default.locale(r,null,!0),r}(n(111))},966:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(r,null,!0),r}(n(111))},985:function(e,t,n){"use strict";n.r(t),n.d(t,"ScrollToPlugin",(function(){return k})),n.d(t,"default",(function(){return k}));var r,o,l,c,d,h,f,m=function(){return"undefined"!=typeof window}
2,v=function(){return r||m()&&(r=window.gsap)&&r.registerPlugin&&r},y=function(e){return"string"==typeof e},_=function(e){return"function"==typeof e},T=function(element,e){var t="x"===e?"Width":"Height",n="scroll"+t,r="client"+t;return element===l||element===c||element===d?Math.max(c[n],d[n])-(l["inner"+t]||c[r]||d[r]):element[n]-element["offset"+t]},w=function(e,t){var p="scroll"+("x"===t?"Left":"Top");return e===l&&(null!=e.pageXOffset?p="page"+t.toUpperCase()+"Offset":e=null!=c[p]?c:d),function(){return e[p]}},S=function(element,e){if(!(element=h(element)[0])||!element.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var rect=element.getBoundingClientRect(),t=!e||e===l||e===d,n=t?{top:c.clientTop-(l.pageYOffset||c.scrollTop||d.scrollTop||0),left:c.clientLeft-(l.pageXOffset||c.scrollLeft||d.scrollLeft||0)}:e.getBoundingClientRect(),r={x:rect.left-n.left,y:rect.top-n.top};return!t&&e&&(r.x+=w(e,"x")(),r.y+=w(e,"y")()),r},E=function(e,t,n,r,o){return isNaN(e)||"object"==typeof e?y(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+r-o:"max"===e?T(t,n)-o:Math.min(T(t,n),S(e,t)[n]-o):parseFloat(e)-o},x=function(){r=v(),m()&&r&&document.body&&(l=window,d=document.body,c=document.documentElement,h=r.utils.toArray,r.config({autoKillThreshold:7}),f=r.config(),o=1)},k={version:"3.9.1",name:"scrollTo",rawVars:1,register:function(e){r=e,x()},init:function(e,t,n,c,d){o||x();var data=this,h=r.getProperty(e,"scrollSnapType");data.isWin=e===l,data.target=e,data.tween=n,t=function(e,t,n,r){if(_(e)&&(e=e(t,n,r)),"object"!=typeof e)return y(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var p,o={};for(p in e)o[p]="onAutoKill"!==p&&_(e[p])?e[p](t,n,r):e[p];return o}(t,c,e,d),data.vars=t,data.autoKill=!!t.autoKill,data.getX=w(e,"x"),data.getY=w(e,"y"),data.x=data.xPrev=data.getX(),data.y=data.yPrev=data.getY(),h&&"none"!==h&&(data.snap=1,data.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),null!=t.x?(data.add(data,"x",data.x,E(t.x,e,"x",data.x,t.offsetX||0),c,d),data._props.push("scrollTo_x")):data.skipX=1,null!=t.y?(data.add(data,"y",data.y,E(t.y,e,"y",data.y,t.offsetY||0),c,d),data._props.push("scrollTo_y")):data.skipY=1},render:function(e,data){for(var t,n,r,o,c,d=data._pt,h=data.target,m=data.tween,v=data.autoKill,y=data.xPrev,_=data.yPrev,w=data.isWin,S=data.snap,E=data.snapInline;d;)d.r(e,d.d),d=d._next;t=w||!data.skipX?data.getX():y,r=(n=w||!data.skipY?data.getY():_)-_,o=t-y,c=f.autoKillThreshold,data.x<0&&(data.x=0),data.y<0&&(data.y=0),v&&(!data.skipX&&(o>c||o<-c)&&t<T(h,"x")&&(data.skipX=1),!data.skipY&&(r>c||r<-c)&&n<T(h,"y")&&(data.skipY=1),data.skipX&&data.skipY&&(m.kill(),data.vars.onAutoKill&&data.vars.onAutoKill.apply(m,data.vars.onAutoKillParams||[]))),w?l.scrollTo(data.skipX?t:data.x,data.skipY?n:data.y):(data.skipY||(h.scrollTop=data.y),data.skipX||(h.scrollLeft=data.x)),!S||1!==e&&0!==e||(n=h.scrollTop,t=h.scrollLeft,E?h.style.scrollSnapType=E:h.style.removeProperty("scroll-snap-type"),h.scrollTop=n+1,h.scrollLeft=t+1,h.scrollTop=n,h.scrollLeft=t),data.xPrev=data.x,data.yPrev=data.y},kill:function(e){var t="scrollTo"===e;(t||"scrollTo_x"===e)&&(this.skipX=1),(t||"scrollTo_y"===e)&&(this.skipY=1)}};k.max=T,k.getOffset=S,k.buildGetter=w,v()&&r.registerPlugin(k)},986:function(e,t,n){"use strict";n.r(t),n.d(t,"ScrollTrigger",(function(){return wt})),n.d(t,"default",(function(){return wt}));var r,o,l,c,d,h,f,m,v,y,_,T,w,S,E,x,k,C,A,O,j,I,P,L,M,D,N=1,R=[],B=[],U=Date.now,F=U(),z=0,$=1,H=function(e){return e},W=function(e){return v(e)[0]||(te(e)&&!1!==r.config().nullTargetWarn?console.warn("Element not found:",e):null)},V=function(e){return Math.round(1e5*e)/1e5||0},Y=function(){return"undefined"!=typeof window},G=function(){return r||Y()&&(r=window.gsap)&&r.registerPlugin&&r},X=function(e){return!!~f.indexOf(e)},K=function(element,e){return~R.indexOf(element)&&R[R.indexOf(element)+1][e]},Q=function(element,e){var s=e.s,t=e.sc,i=B.indexOf(element),n=t===Ae.sc?1:2;return!~i&&(i=B.push(element)-1),B[i+n]||(B[i+n]=K(element,s)||(X(element)?t:function(e){return arguments.length?element[s]=e:element[s]}))},J=function(element){return K(element,"getBoundingClientRect")||(X(element)?function(){return vt.width=l.innerWidth,vt.height=l.innerHe
2ight,vt}:function(){return Ie(element)})},Z=function(element,e){var s=e.s,t=e.d2,n=e.d,a=e.a;return(s="scroll"+t)&&(a=K(element,s))?a()-J(element)()[n]:X(element)?(h[s]||d[s])-(l["inner"+t]||d["client"+t]||h["client"+t]):element[s]-element["offset"+t]},ee=function(e,t){for(var i=0;i<A.length;i+=3)(!t||~t.indexOf(A[i+1]))&&e(A[i],A[i+1],A[i+2])},te=function(e){return"string"==typeof e},ie=function(e){return"function"==typeof e},ne=function(e){return"number"==typeof e},re=function(e){return"object"==typeof e},ae=function(e){return ie(e)&&e()},se=function(e,t){return function(){var n=ae(e),r=ae(t);return function(){ae(n),ae(r)}}},oe=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},le=function(e,t){if(e.enabled){var n=t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},ue=Math.abs,ce="scrollLeft",de="scrollTop",he="left",pe="top",fe="right",me="bottom",ge="width",ve="height",ye="Right",be="Left",_e="Top",Te="Bottom",we="padding",Se="margin",Ee="Width",xe="Height",ke="px",Ce={s:ce,p:he,p2:be,os:fe,os2:ye,d:ge,d2:Ee,a:"x",sc:function(e){return arguments.length?l.scrollTo(e,Ae.sc()):l.pageXOffset||c.scrollLeft||d.scrollLeft||h.scrollLeft||0}},Ae={s:de,p:pe,p2:_e,os:me,os2:Te,d:ve,d2:xe,a:"y",op:Ce,sc:function(e){return arguments.length?l.scrollTo(Ce.sc(),e):l.pageYOffset||c.scrollTop||d.scrollTop||h.scrollTop||0}},Oe=function(element){return l.getComputedStyle(element)},je=function(e,t){for(var p in t)p in e||(e[p]=t[p]);return e},Ie=function(element,e){var t=e&&"matrix(1, 0, 0, 1, 0, 0)"!==Oe(element)[E]&&r.to(element,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=element.getBoundingClientRect();return t&&t.progress(0).kill(),n},Pe=function(element,e){var t=e.d2;return element["offset"+t]||element["client"+t]||0},Le=function(e){var p,a=[],t=e.labels,n=e.duration();for(p in t)a.push(t[p]/n);return a},Me=function(e){var t=r.utils.snap(e),a=Array.isArray(e)&&e.slice(0).sort((function(a,b){return a-b}));return a?function(e,n,r){var i;if(void 0===r&&(r=.001),!n)return t(e);if(n>0){for(e-=r,i=0;i<a.length;i++)if(a[i]>=e)return a[i];return a[i-1]}for(i=a.length,e+=r;i--;)if(a[i]<=e)return a[i];return a[0]}:function(n,r,o){void 0===o&&(o=.001);var l=t(n);return!r||Math.abs(l-n)<o||l-n<0==r<0?l:t(r<0?n-e:n+e)}},De=function(e,element,t,n){return t.split(",").forEach((function(t){return e(element,t,n)}))},Ne=function(element,e,t){return element.addEventListener(e,t,{passive:!0})},Re=function(element,e,t){return element.removeEventListener(e,t)},Be={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ue={toggleActions:"play",anticipatePin:0},Fe={top:0,left:0,center:.5,bottom:1,right:1},ze=function(e,t){if(te(e)){var n=e.indexOf("="),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Fe?Fe[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},$e=function(e,t,n,r,o,l,d,f){var m=o.startColor,v=o.endColor,y=o.fontSize,_=o.indent,T=o.fontWeight,w=c.createElement("div"),S=X(n)||"fixed"===K(n,"pinType"),E=-1!==e.indexOf("scroller"),x=S?h:n,k=-1!==e.indexOf("start"),C=k?m:v,A="border-color:"+C+";font-size:"+y+";color:"+C+";font-weight:"+T+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return A+="position:"+((E||f)&&S?"fixed;":"absolute;"),(E||f||!S)&&(A+=(r===Ae?fe:me)+":"+(l+parseFloat(_))+"px;"),d&&(A+="box-sizing:border-box;text-align:left;width:"+d.offsetWidth+"px;"),w._isStart=k,w.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),w.style.cssText=A,w.innerText=t||0===t?e+"-"+t:e,x.children[0]?x.insertBefore(w,x.children[0]):x.appendChild(w),w._offset=w["offset"+r.op.d2],He(w,0,r,k),w},He=function(marker,e,t,n){var o={display:"block"},l=t[n?"os2":"p2"],c=t[n?"p2":"os2"];marker._isFlipped=n,o[t.a+"Percent"]=n?-100:0,o[t.a]=n?"1px":0,o["border"+l+Ee]=1,o["border"+c+Ee]=0,o[t.p]=e+"px",r.set(marker,o)},We=[],Ve={},qe=function(){return U()-z>34&&ut()},Ye=function(){ut(),z||et("scrollStart"),z=U()},Ge=function(){return!w&&!I&&!c.fullscreenElement&&m.restart(!0)},Xe={},Ke=[],Qe=[],Je=function(e){var t,n=r.ticker.frame,c=[],i=0;if(M!==n||N){for(nt();i<Qe.length;i+=4)(t=l.matchMedia(Qe[i]).matches)!==Qe[i+3]&&(Qe[i+3]=t,t?c.push(i):nt(1,Qe[i])||ie(Qe[i+2])&&Qe[i+2]());for(it(),i=0;i<c.length;i++)t=c[i],L=Qe[t],Qe[t+2]=Qe[t+1](e);
2L=0,o&&st(0,1),M=n,et("matchMedia")}},Ze=function e(){return Re(wt,"scrollEnd",e)||st(!0)},et=function(e){return Xe[e]&&Xe[e].map((function(e){return e()}))||Ke},tt=[],it=function(e){for(var i=0;i<tt.length;i+=5)e&&tt[i+4]!==e||(tt[i].style.cssText=tt[i+1],tt[i].getBBox&&tt[i].setAttribute("transform",tt[i+2]||""),tt[i+3].uncache=1)},nt=function(e,t){var n;for(x=0;x<We.length;x++)n=We[x],t&&n.media!==t||(e?n.kill(1):n.revert());t&&it(t),t||et("revert")},at=function(){return B.forEach((function(e){return"function"==typeof e&&(e.rec=0)}))},st=function(e,t){if(!z||e){D=!0;var n=et("refreshInit");O&&wt.sort(),t||nt(),We.forEach((function(e){return e.refresh()})),We.forEach((function(e){return"max"===e.vars.end&&e.setPositions(e.start,Z(e.scroller,e._dir))})),n.forEach((function(e){return e&&e.render&&e.render(-1)})),at(),m.pause(),D=!1,et("refresh")}else Ne(wt,"scrollEnd",Ze)},ot=0,lt=1,ut=function(){if(!D){var e=We.length,time=U(),t=time-F>=50,n=e&&We[0].scroll();if(lt=ot>n?-1:1,ot=n,t&&(z&&!S&&time-z>200&&(z=0,et("scrollEnd")),_=F,F=time),lt<0){for(x=e;x-- >0;)We[x]&&We[x].update(0,t);lt=1}else for(x=0;x<e;x++)We[x]&&We[x].update(0,t)}},ct=[he,pe,me,fe,"marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ht=ct.concat([ge,ve,"boxSizing","maxWidth","maxHeight","position",Se,we,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),pt=function(e,t,n,r){if(e.parentNode!==t){for(var p,i=ct.length,o=t.style,l=e.style;i--;)o[p=ct[i]]=n[p];o.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(o.display="inline-block"),l.bottom=l.right=o.flexBasis="auto",o.overflow="visible",o.boxSizing="border-box",o.width=Pe(e,Ce)+ke,o.height=Pe(e,Ae)+ke,o.padding=l.margin=l.top=l.left="0",mt(r),l.width=l.maxWidth=n.width,l.height=l.maxHeight=n.height,l.padding=n.padding,e.parentNode.insertBefore(t,e),t.appendChild(e)}},ft=/([A-Z])/g,mt=function(e){if(e){var p,t,style=e.t.style,n=e.length,i=0;for((e.t._gsap||r.core.getCache(e.t)).uncache=1;i<n;i+=2)t=e[i+1],p=e[i],t?style[p]=t:style[p]&&style.removeProperty(p.replace(ft,"-$1").toLowerCase())}},gt=function(element){for(var e=ht.length,style=element.style,t=[],i=0;i<e;i++)t.push(ht[i],style[ht[i]]);return t.t=element,t},vt={left:0,top:0},yt=function(e,t,n,r,o,marker,l,c,f,m,v,y,_){ie(e)&&(e=e(c)),te(e)&&"max"===e.substr(0,3)&&(e=y+("="===e.charAt(4)?ze("0"+e.substr(3),n):0));var T,w,element,time=_?_.time():0;if(_&&_.seek(0),ne(e))l&&He(l,n,r,!0);else{ie(t)&&(t=t(c));var S,E,x,k,C=e.split(" ");element=W(t)||h,(S=Ie(element)||{})&&(S.left||S.top)||"none"!==Oe(element).display||(k=element.style.display,element.style.display="block",S=Ie(element),k?element.style.display=k:element.style.removeProperty("display")),E=ze(C[0],S[r.d]),x=ze(C[1]||"0",n),e=S[r.p]-f[r.p]-m+E+o-x,l&&He(l,x,r,n-x<20||l._isStart&&x>20),n-=n-x}if(marker){var A=e+n,O=marker._isStart;T="scroll"+r.d2,He(marker,A,r,O&&A>20||!O&&(v?Math.max(h[T],d[T]):marker.parentNode[T])<=A+1),v&&(f=Ie(l),v&&(marker.style[r.op.p]=f[r.op.p]-r.op.m-marker._offset+ke))}return _&&element&&(T=Ie(element),_.seek(y),w=Ie(element),_._caScrollDist=T[r.p]-w[r.p],e=e/_._caScrollDist*y),_&&_.seek(time),_?e:Math.round(e)},bt=/(?:webkit|moz|length|cssText|inset)/i,_t=function(element,e,t,n){if(element.parentNode!==e){var p,o,style=element.style;if(e===h){for(p in element._stOrig=style.cssText,o=Oe(element))+p||bt.test(p)||!o[p]||"string"!=typeof style[p]||"0"===p||(style[p]=o[p]);style.top=t,style.left=n}else style.cssText=element._stOrig;r.core.getCache(element).uncache=1,e.appendChild(element)}},Tt=function(e,t){var n,o,l=Q(e,t),c="_scroll"+t.p2,d=function t(d,h,f,m,v){var y=t.tween,_=h.onComplete,T={};return y&&y.kill(),n=Math.round(f),h[c]=d,h.modifiers=T,T[c]=function(e){return(e=V(l()))!==n&&e!==o&&Math.abs(e-n)>2&&Math.abs(e-o)>2?(y.kill(),t.tween=0):e=f+m*y.ratio+v*y.ratio*y.ratio,o=n,n=V(e)},h.onComplete=function(){t.tween=0,_&&_.call(y)},y=t.tween=r.to(e,h)};return e[c]=l,Ne(e,"wheel",(function(){return d.tween&&d.tween.kill()&&(d.tween=0)})),d};Ce.op=Ae;var wt=function(){function e(t,n){o||e.register(r)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(1),$){var o,f,m,T,E,k,C,A,I,M,D,B,F,V,Y,G,ee,ae,se,ce,de,he,pe,fe,me,ge,ve,ye,be,_e,Te,xe,De,Fe,He,qe,Xe,Ke,element,Qe,Je=t=je(te(t)||ne(t)||t.nodeType?{trigger:t}:t,Ue),et=Je.onUpdate,tt=Je.toggleClass,it=Je.id,nt=Je.onToggle,at=Je.onRefresh,st=Je.scrub,ot=Je.trigger,ut=Je.pin,ct=Je.pinSpacing,ht=Je.invali
2dateOnRefresh,ft=Je.anticipatePin,bt=Je.onScrubComplete,wt=Je.onSnapComplete,St=Je.once,Et=Je.snap,xt=Je.pinReparent,kt=Je.pinSpacer,Ct=Je.containerAnimation,At=Je.fastScrollEnd,Ot=Je.preventOverlaps,jt=t.horizontal||t.containerAnimation&&!1!==t.horizontal?Ce:Ae,It=!st&&0!==st,Pt=W(t.scroller||l),Lt=r.core.getCache(Pt),Mt=X(Pt),Dt="fixed"===("pinType"in t?t.pinType:K(Pt,"pinType")||Mt&&"fixed"),Nt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Rt=It&&t.toggleActions.split(" "),Bt="markers"in t?t.markers:Ue.markers,Ut=Mt?0:parseFloat(Oe(Pt)["border"+jt.p2+Ee])||0,Ft=this,zt=t.onRefreshInit&&function(){return t.onRefreshInit(Ft)},$t=function(e,t,n){var r=n.d,o=n.d2,a=n.a;return(a=K(e,"getBoundingClientRect"))?function(){return a()[r]}:function(){return(t?l["inner"+o]:e["client"+o])||0}}(Pt,Mt,jt),Ht=function(element,e){return!e||~R.indexOf(element)?J(element):function(){return vt}}(Pt,Mt),Wt=0,Vt=Q(Pt,jt);if(Ft.media=L,Ft._dir=jt,ft*=45,Ft.scroller=Pt,Ft.scroll=Ct?Ct.time.bind(Ct):Vt,T=Vt(),Ft.vars=t,n=n||t.animation,"refreshPriority"in t&&(O=1),Lt.tweenScroll=Lt.tweenScroll||{top:Tt(Pt,Ae),left:Tt(Pt,Ce)},Ft.tweenTo=o=Lt.tweenScroll[jt.p],n&&(n.vars.lazy=!1,n._initted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.render(0,!0,!0),Ft.animation=n.pause(),n.scrollTrigger=Ft,(Te=ne(st)&&st)&&(_e=r.to(n,{ease:"power3",duration:Te,onComplete:function(){return bt&&bt(Ft)}})),ye=0,it||(it=n.vars.id)),We.push(Ft),Et&&(re(Et)&&!Et.push||(Et={snapTo:Et}),"scrollBehavior"in h.style&&r.set(Mt?[h,d]:Pt,{scrollBehavior:"auto"}),m=ie(Et.snapTo)?Et.snapTo:"labels"===Et.snapTo?function(e){return function(t){return r.utils.snap(Le(e),t)}}(n):"labelsDirectional"===Et.snapTo?(Ke=n,function(e,t){return Me(Le(Ke))(e,t.direction)}):!1!==Et.directional?function(e,t){return Me(Et.snapTo)(e,t.direction)}:r.utils.snap(Et.snapTo),xe=Et.duration||{min:.1,max:2},xe=re(xe)?y(xe.min,xe.max):y(xe,xe),De=r.delayedCall(Et.delay||Te/2||.1,(function(){if(Math.abs(Ft.getVelocity())<10&&!S&&Wt!==Vt()){var e=n&&!It?n.totalProgress():Ft.progress,t=(e-be)/(U()-_)*1e3||0,l=r.utils.clamp(-Ft.progress,1-Ft.progress,ue(t/2)*t/.185),c=Ft.progress+(!1===Et.inertia?0:l),d=y(0,1,m(c,Ft)),h=Vt(),f=Math.round(k+d*F),v=Et,T=v.onStart,w=v.onInterrupt,E=v.onComplete,x=o.tween;if(h<=C&&h>=k&&f!==h){if(x&&!x._initted&&x.data<=ue(f-h))return;!1===Et.inertia&&(l=d-Ft.progress),o(f,{duration:xe(ue(.185*Math.max(ue(c-e),ue(d-e))/t/.05||0)),ease:Et.ease||"power3",data:ue(f-h),onInterrupt:function(){return De.restart(!0)&&w&&w(Ft)},onComplete:function(){Ft.update(),Wt=Vt(),ye=be=n&&!It?n.totalProgress():Ft.progress,wt&&wt(Ft),E&&E(Ft)}},h,l*F,f-h-l*F),T&&T(Ft,o.tween)}}else Ft.isActive&&De.restart(!0)})).pause()),it&&(Ve[it]=Ft),ot=Ft.trigger=W(ot||ut),ut=!0===ut?ot:W(ut),te(tt)&&(tt={targets:ot,className:tt}),ut&&(!1===ct||ct===Se||(ct=!(!ct&&"flex"===Oe(ut.parentNode).display)&&we),Ft.pin=ut,!1!==t.force3D&&r.set(ut,{force3D:!0}),(f=r.core.getCache(ut)).spacer?V=f.pinState:(kt&&((kt=W(kt))&&!kt.nodeType&&(kt=kt.current||kt.nativeElement),f.spacerIsNative=!!kt,kt&&(f.spacerState=gt(kt))),f.spacer=ee=kt||c.createElement("div"),ee.classList.add("pin-spacer"),it&&ee.classList.add("pin-spacer-"+it),f.pinState=V=gt(ut)),Ft.spacer=ee=f.spacer,ve=Oe(ut),pe=ve[ct+jt.os2],se=r.getProperty(ut),ce=r.quickSetter(ut,jt.a,ke),pt(ut,ee,ve),G=gt(ut)),Bt&&(B=re(Bt)?je(Bt,Be):Be,M=$e("scroller-start",it,Pt,jt,B,0),D=$e("scroller-end",it,Pt,jt,B,0,M),ae=M["offset"+jt.op.d2],A=$e("start",it,Pt,jt,B,ae,0,Ct),I=$e("end",it,Pt,jt,B,ae,0,Ct),Ct&&(Xe=r.quickSetter([A,I],jt.a,ke)),Dt||R.length&&!0===K(Pt,"fixedMarkers")||(Qe=Oe(element=Mt?h:Pt).position,element.style.position="absolute"===Qe||"fixed"===Qe?Qe:"relative",r.set([M,D],{force3D:!0}),me=r.quickSetter(M,jt.a,ke),ge=r.quickSetter(D,jt.a,ke))),Ct){var qt=Ct.vars.onUpdate,Yt=Ct.vars.onUpdateParams;Ct.eventCallback("onUpdate",(function(){Ft.update(0,0,1),qt&&qt.apply(Yt||[])}))}Ft.previous=function(){return We[We.indexOf(Ft)-1]},Ft.next=function(){return We[We.indexOf(Ft)+1]},Ft.revert=function(e){var t=!1!==e||!Ft.enabled,r=w;t!==Ft.isReverted&&(t&&(Ft.scroll.rec||(Ft.scroll.rec=Vt()),He=Math.max(Vt(),Ft.scroll.rec||0),Fe=Ft.progress,qe=n&&n.progress()),A&&[A,I,M,D].forEac
2h((function(e){return e.style.display=t?"none":"block"})),t&&(w=1),Ft.update(t),w=r,ut&&(t?function(e,t,n){mt(n);var r=e._gsap;if(r.spacerIsNative)mt(r.spacerState);else if(e.parentNode===t){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}}(ut,ee,V):(!xt||!Ft.isActive)&&pt(ut,ee,Oe(ut),fe)),Ft.isReverted=t)},Ft.refresh=function(o,l){if(!w&&Ft.enabled||l)if(ut&&o&&z)Ne(e,"scrollEnd",Ze);else{w=1,_e&&_e.pause(),ht&&n&&n.time(-.01,!0).invalidate(),Ft.isReverted||Ft.revert();for(var c,d,f,m,v,y,_,S,x,O,P=$t(),L=Ht(),N=Ct?Ct.duration():Z(Pt,jt),R=0,B=0,U=t.end,$=t.endTrigger||ot,H=t.start||(0!==t.start&&ot?ut?"0 0":"0 100%":0),X=t.pinnedContainer&&W(t.pinnedContainer),K=ot&&Math.max(0,We.indexOf(Ft))||0,i=K;i--;)(y=We[i]).end||y.refresh(0,1)||(w=1),!(_=y.pin)||_!==ot&&_!==ut||y.isReverted||(O||(O=[]),O.unshift(y),y.revert());for(ie(H)&&(H=H(Ft)),k=yt(H,ot,P,jt,Vt(),A,M,Ft,L,Ut,Dt,N,Ct)||(ut?-.001:0),ie(U)&&(U=U(Ft)),te(U)&&!U.indexOf("+=")&&(~U.indexOf(" ")?U=(te(H)?H.split(" ")[0]:"")+U:(R=ze(U.substr(2),P),U=te(H)?H:k+R,$=ot)),C=Math.max(k,yt(U||($?"100% 0":N),$,P,jt,Vt()+R,I,D,Ft,L,Ut,Dt,N,Ct))||-.001,F=C-k||(k-=.01)&&.001,R=0,i=K;i--;)(_=(y=We[i]).pin)&&y.start-y._pinPush<k&&!Ct&&(c=y.end-y.start,_!==ot&&_!==X||ne(H)||(R+=c*(1-y.progress)),_===ut&&(B+=c));if(k+=R,C+=R,Ft._pinPush=B,A&&R&&((c={})[jt.a]="+="+R,X&&(c[jt.p]="-="+Vt()),r.set([A,I],c)),ut)c=Oe(ut),m=jt===Ae,f=Vt(),de=parseFloat(se(jt.a))+B,!N&&C>1&&((Mt?h:Pt).style["overflow-"+jt.a]="scroll"),pt(ut,ee,c),G=gt(ut),d=Ie(ut,!0),S=Dt&&Q(Pt,m?Ce:Ae)(),ct&&((fe=[ct+jt.os2,F+B+ke]).t=ee,(i=ct===we?Pe(ut,jt)+F+B:0)&&fe.push(jt.d,i+ke),mt(fe),Dt&&Vt(He)),Dt&&((v={top:d.top+(m?f-k:S)+ke,left:d.left+(m?S:f-k)+ke,boxSizing:"border-box",position:"fixed"}).width=v.maxWidth=Math.ceil(d.width)+ke,v.height=v.maxHeight=Math.ceil(d.height)+ke,v.margin=v.marginTop=v.marginRight=v.marginBottom=v.marginLeft="0",v.padding=c.padding,v.paddingTop=c.paddingTop,v.paddingRight=c.paddingRight,v.paddingBottom=c.paddingBottom,v.paddingLeft=c.paddingLeft,Y=function(e,t,n){for(var p,r=[],o=e.length,i=n?8:0;i<o;i+=2)p=e[i],r.push(p,p in t?t[p]:e[i+1]);return r.t=e.t,r}(V,v,xt)),n?(x=n._initted,j(1),n.render(n.duration(),!0,!0),he=se(jt.a)-de+F+B,F!==he&&Y.splice(Y.length-2,2),n.render(0,!0,!0),x||n.invalidate(),j(0)):he=F;else if(ot&&Vt()&&!Ct)for(d=ot.parentNode;d&&d!==h;)d._pinOffset&&(k-=d._pinOffset,C-=d._pinOffset),d=d.parentNode;O&&O.forEach((function(e){return e.revert(!1)})),Ft.start=k,Ft.end=C,T=E=Vt(),Ct||(T<He&&Vt(He),Ft.scroll.rec=0),Ft.revert(!1),w=0,n&&It&&n._initted&&n.progress()!==qe&&n.progress(qe,!0).render(n.time(),!0,!0),(Fe!==Ft.progress||Ct)&&(n&&!It&&n.totalProgress(Fe,!0),Ft.progress=Fe,Ft.update(0,0,1)),ut&&ct&&(ee._pinOffset=Math.round(Ft.progress*he)),at&&at(Ft)}},Ft.getVelocity=function(){return(Vt()-E)/(U()-_)*1e3||0},Ft.endAnimation=function(){oe(Ft.callbackAnimation),n&&(_e?_e.progress(1):n.paused()?It||oe(n,Ft.direction<0,1):oe(n,n.reversed()))},Ft.labelToScroll=function(label){return n&&n.labels&&(k||Ft.refresh()||k)+n.labels[label]/n.duration()*F||0},Ft.getTrailing=function(e){var i=We.indexOf(Ft),a=Ft.direction>0?We.slice(0,i).reverse():We.slice(i+1);return te(e)?a.filter((function(t){return t.vars.preventOverlaps===e})):a},Ft.update=function(e,t,r){if(!Ct||r||e){var l,c,d,f,m,y,S,x=Ft.scroll(),p=e?0:(x-k)/F,A=p<0?0:p>1?1:p||0,O=Ft.progress;if(t&&(E=T,T=Ct?Vt():x,Et&&(be=ye,ye=n&&!It?n.totalProgress():A)),ft&&!A&&ut&&!w&&!N&&z&&k<x+(x-E)/(U()-_)*ft&&(A=1e-4),A!==O&&Ft.enabled){if(f=(m=(l=Ft.isActive=!!A&&A<1)!==(!!O&&O<1))||!!A!=!!O,Ft.direction=A>O?1:-1,Ft.progress=A,f&&!w&&(c=A&&!O?0:1===A?1:1===O?2:3,It&&(d=!m&&"none"!==Rt[c+1]&&Rt[c+1]||Rt[c],S=n&&("complete"===d||"reset"===d||d in n))),Ot&&m&&(S||st||!n)&&(ie(Ot)?Ot(Ft):Ft.getTrailing(Ot).forEach((function(e){return e.endAnimation()}))),It||(!_e||w||N?n&&n.totalProgress(A,!!w):(_e.vars.totalProgress=A,_e.invali
2date().restart())),ut)if(e&&ct&&(ee.style[ct+jt.os2]=pe),Dt){if(f){if(y=!e&&A>O&&C+1>x&&x+1>=Z(Pt,jt),xt)if(e||!l&&!y)_t(ut,ee);else{var j=Ie(ut,!0),I=x-k;_t(ut,h,j.top+(jt===Ae?I:0)+ke,j.left+(jt===Ae?0:I)+ke)}mt(l||y?Y:G),he!==F&&A<1&&l||ce(de+(1!==A||y?0:he))}}else ce(de+he*A);Et&&!o.tween&&!w&&!N&&De.restart(!0),tt&&(m||St&&A&&(A<1||!P))&&v(tt.targets).forEach((function(e){return e.classList[l||St?"add":"remove"](tt.className)})),et&&!It&&!e&&et(Ft),f&&!w?(It&&(S&&("complete"===d?n.pause().totalProgress(1):"reset"===d?n.restart(!0).pause():"restart"===d?n.restart(!0):n[d]()),et&&et(Ft)),!m&&P||(nt&&m&&le(Ft,nt),Nt[c]&&le(Ft,Nt[c]),St&&(1===A?Ft.kill(!1,1):Nt[c]=0),m||Nt[c=1===A?1:3]&&le(Ft,Nt[c])),At&&!l&&Math.abs(Ft.getVelocity())>(ne(At)?At:2500)&&(oe(Ft.callbackAnimation),_e?_e.progress(1):oe(n,!A,1))):It&&et&&!w&&et(Ft)}if(ge){var L=Ct?x/Ct.duration()*(Ct._caScrollDist||0):x;me(L+(M._isFlipped?1:0)),ge(L)}Xe&&Xe(-x/Ct.duration()*(Ct._caScrollDist||0))}},Ft.enable=function(t,n){Ft.enabled||(Ft.enabled=!0,Ne(Pt,"resize",Ge),Ne(Pt,"scroll",Ye),zt&&Ne(e,"refreshInit",zt),!1!==t&&(Ft.progress=Fe=0,T=E=Wt=Vt()),!1!==n&&Ft.refresh())},Ft.getTween=function(e){return e&&o?o.tween:_e},Ft.setPositions=function(e,t){ut&&(de+=e-k,he+=t-e-F),Ft.start=k=e,Ft.end=C=t,F=t-e,Ft.update()},Ft.disable=function(t,n){if(Ft.enabled&&(!1!==t&&Ft.revert(),Ft.enabled=Ft.isActive=!1,n||_e&&_e.pause(),He=0,f&&(f.uncache=1),zt&&Re(e,"refreshInit",zt),De&&(De.pause(),o.tween&&o.tween.kill()&&(o.tween=0)),!Mt)){for(var i=We.length;i--;)if(We[i].scroller===Pt&&We[i]!==Ft)return;Re(Pt,"resize",Ge),Re(Pt,"scroll",Ye)}},Ft.kill=function(e,t){Ft.disable(e,t),_e&&_e.kill(),it&&delete Ve[it];var i=We.indexOf(Ft);i>=0&&We.splice(i,1),i===x&&lt>0&&x--,i=0,We.forEach((function(e){return e.scroller===Ft.scroller&&(i=1)})),i||(Ft.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.render(-1),t||n.kill()),A&&[A,I,M,D].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),ut&&(f&&(f.uncache=1),i=0,We.forEach((function(e){return e.pin===ut&&i++})),i||(f.spacer=0))},Ft.enable(!1,!1),n&&n.add&&!F?r.delayedCall(.01,(function(){return k||C||Ft.refresh()}))&&(F=.01)&&(k=C=0):Ft.refresh()}else this.update=this.refresh=this.kill=H},e.register=function(t){if(!o&&(r=t||G(),Y()&&window.document&&(l=window,c=document,d=c.documentElement,h=c.body),r&&(v=r.utils.toArray,y=r.utils.clamp,j=r.core.suppressOverwrites||H,r.core.globals("ScrollTrigger",e),h))){Ne(l,"wheel",Ye),f=[l,c,d,h],Ne(c,"scroll",Ye);var n,_=h.style,w=_.borderTopStyle;_.borderTopStyle="solid",n=Ie(h),Ae.m=Math.round(n.top+Ae.sc())||0,Ce.m=Math.round(n.left+Ce.sc())||0,w?_.borderTopStyle=w:_.removeProperty("border-top-style"),T=setInterval(qe,200),r.delayedCall(.5,(function(){return N=0})),Ne(c,"touchcancel",H),Ne(h,"touchstart",H),De(Ne,c,"pointerdown,touchstart,mousedown",(function(){return S=1})),De(Ne,c,"pointerup,touchend,mouseup",(function(){return S=0})),E=r.utils.checkPrefix("transform"),ht.push(E),o=U(),m=r.delayedCall(.2,st).pause(),A=[c,"visibilitychange",function(){var e=l.innerWidth,t=l.innerHeight;c.hidden?(k=e,C=t):k===e&&C===t||Ge()},c,"DOMContentLoaded",st,l,"load",function(){return z||st()},l,"resize",Ge],ee(Ne)}return o},e.defaults=function(e){if(e)for(var p in e)Ue[p]=e[p];return Ue},e.kill=function(){$=0,We.slice(0).forEach((function(e){return e.kill(1)}))},e.config=function(e){"limitCallbacks"in e&&(P=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(T)||(T=t)&&setInterval(qe,t),"autoRefreshEvents"in e&&(ee(Re)||ee(Ne,e.autoRefreshEvents||"none"),I=-1===(e.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=W(e),i=B.indexOf(n),r=X(n);~i&&B.splice(i,r?6:2),t&&(r?R.unshift(l,t,h,t,d,t):R.unshift(n,t))},e.matchMedia=function(e){var t,p,i,n,r;for(p in e)i=Qe.indexOf(p),n=e[p],L=p,"all"===p?n():(t=l.matchMedia(p))&&(t.matches&&(r=n()),~i?(Qe[i+1]=se(Qe[i+1],n),Qe[i+2]=se(Qe[i+2],r)):(i=Qe.length,Qe.push(p,n,r),t.addListener?t.addListener(Je):t.addEventListener("change",Je)),Qe[i+3]=t.matches),L=0;return Qe},e.clearMatchMedia=function(e){e||(Qe.length=0),(e=Qe.indexOf(e))>=0&&Qe.splice(e,4)}
2,e.isInViewport=function(element,e,t){var n=(te(element)?W(element):element).getBoundingClientRect(),r=n[t?ge:ve]*e||0;return t?n.right-r>0&&n.left+r<l.innerWidth:n.bottom-r>0&&n.top+r<l.innerHeight},e.positionInViewport=function(element,e,t){te(element)&&(element=W(element));var n=element.getBoundingClientRect(),r=n[t?ge:ve],o=null==e?r/2:e in Fe?Fe[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0;return t?(n.left+o)/l.innerWidth:(n.top+o)/l.innerHeight},e}();wt.version="3.9.1",wt.saveStyles=function(e){return e?v(e).forEach((function(e){if(e&&e.style){var i=tt.indexOf(e);i>=0&&tt.splice(i,5),tt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),r.core.getCache(e),L)}})):tt},wt.revert=function(e,t){return nt(!e,t)},wt.create=function(e,t){return new wt(e,t)},wt.refresh=function(e){return e?Ge():(o||wt.register())&&st(!0)},wt.update=ut,wt.clearScrollMemory=at,wt.maxScroll=function(element,e){return Z(element,e?Ce:Ae)},wt.getScrollFunc=function(element,e){return Q(W(element),e?Ce:Ae)},wt.getById=function(e){return Ve[e]},wt.getAll=function(){return We.slice(0)},wt.isScrolling=function(){return!!z},wt.snapDirectional=Me,wt.addEventListener=function(e,t){var a=Xe[e]||(Xe[e]=[]);~a.indexOf(t)||a.push(t)},wt.removeEventListener=function(e,t){var a=Xe[e],i=a&&a.indexOf(t);i>=0&&a.splice(i,1)},wt.batch=function(e,t){var p,n=[],o={},l=t.interval||.016,c=t.batchMax||1e9,d=function(e,t){var n=[],o=[],d=r.delayedCall(l,(function(){t(n,o),n=[],o=[]})).pause();return function(e){n.length||d.restart(!0),n.push(e.trigger),o.push(e),c<=n.length&&d.progress(1)}};for(p in t)o[p]="on"===p.substr(0,2)&&ie(t[p])&&"onRefreshInit"!==p?d(0,t[p]):t[p];return ie(c)&&(c=c(),Ne(wt,"refresh",(function(){return c=t.batchMax()}))),v(e).forEach((function(e){var t={};for(p in o)t[p]=o[p];t.trigger=e,n.push(wt.create(t))})),n},wt.sort=function(e){return We.sort(e||function(a,b){return-1e6*(a.vars.refreshPriority||0)+a.start-(b.start+-1e6*(b.vars.refreshPriority||0))})},G()&&r.registerPlugin(wt)},987:function(e,t,n){var r=n(3)(!1);r.push([e.i,'@font-face{font-family:"swiper-icons";src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;
2left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;width:calc(var(--swiper-navigation-size)/44*27);height:44px;height:var(--swiper-navigation-size);margin-top:-22px;margin-top:calc(var(--swiper-navigation-size)*-1/2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-theme-color);color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;-moz-font-feature-settings:normal,;font-feature-settings:normal,;font-variant:normal;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:"next"}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:opacity .3s;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
2.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-theme-color);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-theme-color);background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#fff}.swiper-pagination-black{--swiper-pagination-color:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;
2left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s linear infinite;box-sizing:border-box;border-left:4px solid var(--swiper-theme-color);border-bottom:4px solid var(--swiper-theme-color);border-right:4px solid var(--swiper-theme-color);border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{to{transform:rotate(1turn)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}',""]),e.exports=r},988:function(e,t,n){var content=n(989);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(4).default)("0667d9c0",content,!0,{sourceMap:!1})},989:function(e,t,n){var r=n(3)(!1);r.push([e.i,'[data-aos][data-aos][data-aos-duration="50"],body[data-aos-duration="50"] [data-aos]{transition-duration:50ms}[data-aos][data-aos][data-aos-delay="50"],body[data-aos-delay="50"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="50"].aos-animate,body[data-aos-delay="50"] [data-aos].aos-animate{transition-delay:50ms}[data-aos][data-aos][data-aos-duration="100"],body[data-aos-duration="100"] [data-aos]{transition-duration:.1s}[data-aos][data-aos][data-aos-delay="100"],body[data-aos-delay="100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="100"].aos-animate,body[data-aos-delay="100"] [data-aos].aos-animate{transition-delay:.1s}[data-aos][data-aos][data-aos-duration="150"],body[data-aos-duration="150"] [data-aos]{transition-duration:.15s}[data-aos][data-aos][data-aos-delay="150"],body[data-aos-delay="150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="150"].aos-animate,body[data-aos-delay="150"] [data-aos].aos-animate{transition-delay:.15s}[data-aos][data-aos][data-aos-duration="200"],body[data-aos-duration="200"] [data-aos]{transition-duration:.2s}[data-aos][data-aos][data-aos-delay="200"],body[data-aos-delay="200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="200"].aos-animate,body[data-aos-delay="200"] [data-aos].aos-animate{transition-delay:.2s}[data-aos][data-aos][data-aos-duration="250"],body[data-aos-duration="250"] [data-aos]{transition-duration:.25s}[data-aos][data-aos][data-aos-delay="250"],body[data-aos-delay="250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="250"].aos-animate,body[data-aos-delay="250"] [data-aos].aos-animate{transition-delay:.25s}[data-aos][data-aos][data-aos-duration="300"],body[data-aos-duration="300"] [data-aos]{transition-duration:.3s}[data-aos][data-aos][data-aos-delay="300"],body[data-aos-delay="300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="300"].aos-animate,body[data-aos-delay="300"] [data-aos].aos-animate{transition-delay:.3s}[data-aos][data-aos][data-aos-duration="350"],body[data-aos-duration="350"] [data-aos]{transition-duration:.35s}[data-aos][data-aos][data-aos-delay="350"],body[data-aos-delay="350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="350"].aos-animate,body[data-aos-delay="350"] [data-aos].aos-animate{transition-delay:.35s}[data-aos][data-aos][data-aos-duration="400"],body[data-aos-duration="400"] [data-aos]{transition-duration:.4s}[data-aos][data-aos][data-aos-delay="400"],body[data-aos-delay="400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="400"].aos-animate,body[data-aos-delay="400"] [data-aos].aos-animate{transition-delay:.4s}[data-aos][data-aos][data-aos-duration="450"],body[data-aos-duration="450"] [data-aos]{transition-duration:.45s}[data-aos][data-aos][data-aos-delay="450"],body[data-aos-delay="450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="450"].aos-animate,body[data-aos-delay="450"] [data-aos].aos-animate{transition-delay:.45s}[data-aos][data-aos][data-aos-duration="500"],body[data-aos-duration="500"] [data-aos]{transition-duration:.5s}[data-aos][data-aos][data-aos-delay="500"],body[data-aos-delay="500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="500"].aos-animate,body[data-aos-delay="500"] [data-aos].aos-animate{transition-delay:.5s}[data-aos][data-aos][data-aos-duration="550"],body[data-aos-duration="550"] [data-aos]{transition-duration:.55s}[data-aos][data-aos][data-aos-delay="550"],body[data-aos-delay="550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="550"].aos-animate,body[data-aos-delay="550"] [data-aos].aos-animate{transition-delay:.55s}[data-aos][data-aos][data-aos-duration="600"],body[data-aos-duration="600"] [data-aos]{transition-duration:.6s}[data-aos][data-aos][data-aos-delay="600"],body[data-aos-delay="600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="600"].aos-animate,body[data-aos-delay="600"] [data-aos].aos-animate{transition-delay:.6s}[data-aos][data-aos][data-aos-duration="650"],body[data-aos-duration="650"] [data-aos]{transition-duration:.65s}[data-aos][data-aos][data-aos-delay="650"],body[data-aos-delay="650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="650"].aos-animate,body[data-aos-delay="650"] [data-aos].aos-animate{transition-delay:.65s}[data-aos][data-aos][data-aos-duration="700"],body[data-aos-duration="700"] [data-aos]{transition-duration:.7s}[data-aos][data-aos][data-aos-delay="700"],body[data-aos-delay="700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="700"].aos-animate,body[data-aos-delay="700"] [data-aos].aos-animate{transition-delay:.7s}[data-aos][data-aos][data-aos-duration="750"],body[data-aos-duration="750"] [data-aos]{transition-duration:.75s}[data-aos][data-aos][data-aos-delay="750"],body[data-aos-delay="750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="750"].aos-animate,body[data-aos-delay="750"] [data-aos].aos-animate{transition-delay:.75s}[data-aos][data-aos][data-aos-duration="800"],body[data-aos-duration="800"] [data-aos]{transition-duration:.8s}[data-aos][data-aos][data-aos-delay="800"],body[data-aos-delay="800"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="800"].aos-animate,body[data-aos-delay="800"] [data-aos].aos-animate{transition-delay:.8s}[data-aos][data-aos][data-aos-duration="850"],body[data-aos-duration="850"] [data-aos]{transition-duration:.85s}[data-aos][data-aos][data-aos-delay="850"],body[data-aos-delay="850"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="850"].aos-animate,body[data-aos-delay="850"] [data-aos].aos-animate{transition-delay:.85s}[data-aos][data-aos][data-aos-duration="900"],body[data-aos-duration="900"] [data-aos]{transition-duration:.9s}[data-aos][data-aos][data-aos-delay="900"],body[data-aos-delay="900"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="900"].aos-animate,body[data-aos-delay="900"] [data-aos].aos-animate{transition-delay:.9s}[data-aos][data-aos][data-aos-duration="950"],body[data-aos-duration="950"] [data-aos]{transition-duration:.95s}[data-aos][data-aos][data-aos-delay="950"],body[data-aos-delay="950"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="950"].aos-animate,body[data-aos-delay="950"] [data-aos].aos-animate{transition-delay:.95s}[data-aos][data-aos][data-aos-duration="1000"],body[data-aos-duration="1000"] [data-aos]{transition-duration:1s}[data-aos][data-aos][data-aos-delay="1000"],body[data-aos-delay="1000"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1000"].aos-animate,body[data-aos-delay="1000"] [data-aos].aos-animate{transition-delay:1s}[data-aos][data-aos][data-aos-duration="1050"],body[data-aos-duration="1050"] [data-aos]{transition-duration:1.05s}[data-aos][data-aos][data-aos-delay="1050"],body[data-aos-delay="1050"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1050"].aos-animate,body[data-aos-delay="1050"] [data-aos].aos-animate{transition-delay:1.05s}[data-aos][data-aos][data-aos-duration="1100"],body[data-aos-duration="1100"] [data-aos]{transition-duration:1.1s}[data-aos][data-aos][data-aos-delay="1100"],body[data-aos-delay="1100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1100"].aos-animate,body[data-aos-delay="1100"] [data-aos].aos-animate{transition-delay:1.1s}[data-aos][data-aos][data-aos-duration="1150"],body[data-aos-duration="1150"] [data-aos]{transition-duration:1.15s}[data-aos][data-aos][data-aos-delay="1150"],body[data-aos-delay="1150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1150"].aos-animate,body[data-aos-delay="1150"] [data-aos].aos-animate{transition-delay:1.15s}[data-aos][data-aos][data-aos-duration="1200"],body[data-aos-duration="1200"] [data-aos]{transition-duration:1.2s}[data-aos][data-aos][data-aos-delay="1200"],body[data-aos-delay="1200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1200"].aos-animate,body[data-aos-delay="1200"] [data-aos].aos-animate{transition-delay:1.2s}[data-aos][data-aos][data-aos-duration="1250"],body[data-aos-duration="1250"] [data-aos]{transition-duration:1.25s}[data-aos][data-aos][data-aos-delay="1250"],body[data-aos-delay="1250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1250"].aos-animate,body[data-aos-delay="1250"] [data-aos].aos-animate{transition-delay:1.25s}[data-aos][data-aos][data-aos-duration="1300"],body[data-aos-duration="1300"] [data-aos]{transition-duration:1.3s}[data-aos][data-aos][data-aos-delay="1300"],body[data-aos-delay="1300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1300"].aos-animate,body[data-aos-delay="1300"] [data-aos].aos-animate{transition-delay:1.3s}[data-aos][data-aos][data-aos-duration="1350"],body[data-aos-duration="1350"] [data-aos]{transition-duration:1.35s}[data-aos][data-aos][data-aos-delay="1350"],body[data-aos-delay="1350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1350"].aos-animate,body[data-aos-delay="1350"] [data-aos].aos-animate{transition-delay:1.35s}[data-aos][data-aos][data-aos-duration="1400"],body[data-aos-duration="1400"] [data-aos]{transition-duration:1.4s}[data-aos][data-aos][data-aos-delay="1400"],body[data-aos-delay="1400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1400"].aos-animate,body[data-aos-delay="1400"] [data-aos].aos-animate{transition-delay:1.4s}[data-aos][data-aos][data-aos-duration="1450"],body[data-aos-duration="1450"] [data-aos]{transition-duration:1.45s}[data-aos][data-aos][data-aos-delay="1450"],body[data-aos-delay="1450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1450"].aos-animate,body[data-aos-delay="1450"] [data-aos].aos-animate{transition-delay:1.45s}[data-aos][data-aos][data-aos-duration="1500"],body[data-aos-duration="1500"] [data-aos]{transition-duration:1.5s}[data-aos][data-aos][data-aos-delay="1500"],body[data-aos-delay="1500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1500"].aos-animate,body[data-aos-delay="1500"] [data-aos].aos-animate{transition-delay:1.5s}[data-aos][data-aos][data-aos-duration="1550"],body[data-aos-duration="1550"] [data-aos]{transition-duration:1.55s}[data-aos][data-aos][data-aos-delay="1550"],body[data-aos-delay="1550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1550"].aos-animate,body[data-aos-delay="1550"] [data-aos].aos-animate{transition-delay:1.55s}[data-aos][data-aos][data-aos-duration="1600"],body[data-aos-duration="1600"] [data-aos]{transition-duration:1.6s}[data-aos][data-aos][data-aos-delay="1600"],body[data-aos-delay="1600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1600"].aos-animate,body[data-aos-delay="1600"] [data-aos].aos-animate{transition-delay:1.6s}[data-aos][data-aos][data-aos-duration="1650"],body[data-aos-duration="1650"] [data-aos]{transition-duration:1.65s}[data-aos][data-aos][data-aos-delay="1650"],body[data-aos-delay="1650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1650"].aos-animate,body[data-aos-delay="1650"] [data-aos].aos-animate{transition-delay:1.65s}[data-aos][data-aos][data-aos-duration="1700"],body[data-aos-duration="1700"] [data-aos]{transition-duration:1.7s}[data-aos][data-aos][data-aos-delay="1700"],body[data-aos-delay="1700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1700"].aos-animate,body[data-aos-delay="1700"] [data-aos].aos-animate{transition-delay:1.7s}[data-aos][data-aos][data-aos-duration="1750"],body[data-aos-duration="1750"] [data-aos]{transition-duration:1.75s}[data-aos][data-aos][data-aos-delay="1750"],body[data-aos-delay="1750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1750"].aos-animate,body[data-aos-delay="1750"] [data-aos].aos-animate{transition-delay:1.75s}[data-aos][data-aos][data-aos-duration="1800"],body[data-aos-duration="1800"] [data-aos]{transition-duration:1.8s}[data-aos][data-aos][data-aos-delay="1800"],body[data-aos-delay="1800"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1800"].aos-animate,body[data-aos-delay="1800"] [data-aos].aos-animate{transition-delay:1.8s}[data-aos][data-aos][data-aos-duration="1850"],body[data-aos-duration="1850"] [data-aos]{transition-duration:1.85s}[data-aos][data-aos][data-aos-delay="1850"],body[data-aos-delay="1850"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1850"].aos-animate,body[data-aos-delay="1850"] [data-aos].aos-animate{transition-delay:1.85s}[data-aos][data-aos][data-aos-duration="1900"],body[data-aos-duration="1900"] [data-aos]{transition-duration:1.9s}[data-aos][data-aos][data-aos-delay="1900"],body[data-aos-delay="1900"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1900"].aos-animate,body[data-aos-delay="1900"] [data-aos].aos-animate{transition-delay:1.9s}[data-aos][data-aos][data-aos-duration="1950"],body[data-aos-duration="1950"] [data-aos]{transition-duration:1.95s}[data-aos][data-aos][data-aos-delay="1950"],
2body[data-aos-delay="1950"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1950"].aos-animate,body[data-aos-delay="1950"] [data-aos].aos-animate{transition-delay:1.95s}[data-aos][data-aos][data-aos-duration="2000"],body[data-aos-duration="2000"] [data-aos]{transition-duration:2s}[data-aos][data-aos][data-aos-delay="2000"],body[data-aos-delay="2000"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2000"].aos-animate,body[data-aos-delay="2000"] [data-aos].aos-animate{transition-delay:2s}[data-aos][data-aos][data-aos-duration="2050"],body[data-aos-duration="2050"] [data-aos]{transition-duration:2.05s}[data-aos][data-aos][data-aos-delay="2050"],body[data-aos-delay="2050"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2050"].aos-animate,body[data-aos-delay="2050"] [data-aos].aos-animate{transition-delay:2.05s}[data-aos][data-aos][data-aos-duration="2100"],body[data-aos-duration="2100"] [data-aos]{transition-duration:2.1s}[data-aos][data-aos][data-aos-delay="2100"],body[data-aos-delay="2100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2100"].aos-animate,body[data-aos-delay="2100"] [data-aos].aos-animate{transition-delay:2.1s}[data-aos][data-aos][data-aos-duration="2150"],body[data-aos-duration="2150"] [data-aos]{transition-duration:2.15s}[data-aos][data-aos][data-aos-delay="2150"],body[data-aos-delay="2150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2150"].aos-animate,body[data-aos-delay="2150"] [data-aos].aos-animate{transition-delay:2.15s}[data-aos][data-aos][data-aos-duration="2200"],body[data-aos-duration="2200"] [data-aos]{transition-duration:2.2s}[data-aos][data-aos][data-aos-delay="2200"],body[data-aos-delay="2200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2200"].aos-animate,body[data-aos-delay="2200"] [data-aos].aos-animate{transition-delay:2.2s}[data-aos][data-aos][data-aos-duration="2250"],body[data-aos-duration="2250"] [data-aos]{transition-duration:2.25s}[data-aos][data-aos][data-aos-delay="2250"],body[data-aos-delay="2250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2250"].aos-animate,body[data-aos-delay="2250"] [data-aos].aos-animate{transition-delay:2.25s}[data-aos][data-aos][data-aos-duration="2300"],body[data-aos-duration="2300"] [data-aos]{transition-duration:2.3s}[data-aos][data-aos][data-aos-delay="2300"],body[data-aos-delay="2300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2300"].aos-animate,body[data-aos-delay="2300"] [data-aos].aos-animate{transition-delay:2.3s}[data-aos][data-aos][data-aos-duration="2350"],body[data-aos-duration="2350"] [data-aos]{transition-duration:2.35s}[data-aos][data-aos][data-aos-delay="2350"],body[data-aos-delay="2350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2350"].aos-animate,body[data-aos-delay="2350"] [data-aos].aos-animate{transition-delay:2.35s}[data-aos][data-aos][data-aos-duration="2400"],body[data-aos-duration="2400"] [data-aos]{transition-duration:2.4s}[data-aos][data-aos][data-aos-delay="2400"],body[data-aos-delay="2400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2400"].aos-animate,body[data-aos-delay="2400"] [data-aos].aos-animate{transition-delay:2.4s}[data-aos][data-aos][data-aos-duration="2450"],body[data-aos-duration="2450"] [data-aos]{transition-duration:2.45s}[data-aos][data-aos][data-aos-delay="2450"],body[data-aos-delay="2450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2450"].aos-animate,body[data-aos-delay="2450"] [data-aos].aos-animate{transition-delay:2.45s}[data-aos][data-aos][data-aos-duration="2500"],body[data-aos-duration="2500"] [data-aos]{transition-duration:2.5s}[data-aos][data-aos][data-aos-delay="2500"],body[data-aos-delay="2500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2500"].aos-animate,body[data-aos-delay="2500"] [data-aos].aos-animate{transition-delay:2.5s}[data-aos][data-aos][data-aos-duration="2550"],body[data-aos-duration="2550"] [data-aos]{transition-duration:2.55s}[data-aos][data-aos][data-aos-delay="2550"],body[data-aos-delay="2550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2550"].aos-animate,body[data-aos-delay="2550"] [data-aos].aos-animate{transition-delay:2.55s}[data-aos][data-aos][data-aos-duration="2600"],body[data-aos-duration="2600"] [data-aos]{transition-duration:2.6s}[data-aos][data-aos][data-aos-delay="2600"],body[data-aos-delay="2600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2600"].aos-animate,body[data-aos-delay="2600"] [data-aos].aos-animate{transition-delay:2.6s}[data-aos][data-aos][data-aos-duration="2650"],body[data-aos-duration="2650"] [data-aos]{transition-duration:2.65s}[data-aos][data-aos][data-aos-delay="2650"],body[data-aos-delay="2650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2650"].aos-animate,body[data-aos-delay="2650"] [data-aos].aos-animate{transition-delay:2.65s}[data-aos][data-aos][data-aos-duration="2700"],body[data-aos-duration="2700"] [data-aos]{transition-duration:2.7s}[data-aos][data-aos][data-aos-delay="2700"],body[data-aos-delay="2700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2700"].aos-animate,body[data-aos-delay="2700"] [data-aos].aos-animate{transition-delay:2.7s}[data-aos][data-aos][data-aos-duration="2750"],body[data-aos-duration="2750"] [data-aos]{transition-duration:2.75s}[data-aos][data-aos][data-aos-delay="2750"],body[data-aos-delay="2750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2750"].aos-animate,body[data-aos-delay="2750"] [data-aos].aos-animate{transition-delay:2.75s}[data-aos][data-aos][data-aos-duration="2800"],body[data-aos-duration="2800"] [data-aos]{transition-duration:2.8s}[data-aos][data-aos][data-aos-delay="2800"],body[data-aos-delay="2800"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2800"].aos-animate,body[data-aos-delay="2800"] [data-aos].aos-animate{transition-delay:2.8s}[data-aos][data-aos][data-aos-duration="2850"],body[data-aos-duration="2850"] [data-aos]{transition-duration:2.85s}[data-aos][data-aos][data-aos-delay="2850"],body[data-aos-delay="2850"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2850"].aos-animate,body[data-aos-delay="2850"] [data-aos].aos-animate{transition-delay:2.85s}[data-aos][data-aos][data-aos-duration="2900"],body[data-aos-duration="2900"] [data-aos]{transition-duration:2.9s}[data-aos][data-aos][data-aos-delay="2900"],body[data-aos-delay="2900"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2900"].aos-animate,body[data-aos-delay="2900"] [data-aos].aos-animate{transition-delay:2.9s}[data-aos][data-aos][data-aos-duration="2950"],body[data-aos-duration="2950"] [data-aos]{transition-duration:2.95s}[data-aos][data-aos][data-aos-delay="2950"],body[data-aos-delay="2950"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2950"].aos-animate,body[data-aos-delay="2950"] [data-aos].aos-animate{transition-delay:2.95s}[data-aos][data-aos][data-aos-duration="3000"],body[data-aos-duration="3000"] [data-aos]{transition-duration:3s}[data-aos][data-aos][data-aos-delay="3000"],body[data-aos-delay="3000"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="3000"].aos-animate,body[data-aos-delay="3000"] [data-aos].aos-animate{transition-delay:3s}[data-aos][data-aos][data-aos-easing=linear],body[data-aos-easing=linear] [data-aos]{transition-timing-function:cubic-bezier(.25,.25,.75,.75)}[data-aos][data-aos][data-aos-easing=ease],body[data-aos-easing=ease] [data-aos]{transition-timing-function:ease}[data-aos][data-aos][data-aos-easing=ease-in],body[data-aos-easing=ease-in] [data-aos]{transition-timing-function:ease-in}[data-aos][data-aos][data-aos-easing=ease-out],body[data-aos-easing=ease-out] [data-aos]{transition-timing-function:ease-out}[data-aos][data-aos][data-aos-easing=ease-in-out],body[data-aos-easing=ease-in-out] [data-aos]{transition-timing-function:ease-in-out}[data-aos][data-aos][data-aos-easing=ease-in-back],body[data-aos-easing=ease-in-back] [data-aos]{transition-timing-function:cubic-bezier(.6,-.28,.735,.045)}[data-aos][data-aos][data-aos-easing=ease-out-back],body[data-aos-easing=ease-out-back] [data-aos]{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}[data-aos][data-aos][data-aos-easing=ease-in-out-back],body[data-aos-easing=ease-in-out-back] [data-aos]{transition-timing-function:cubic-bezier(.68,-.55,.265,1.55)}[data-aos][data-aos][data-aos-easing=ease-in-sine],body[data-aos-easing=ease-in-sine] [data-aos]{transition-timing-function:cubic-bezier(.47,0,.745,.715)}[data-aos][data-aos][data-aos-easing=ease-out-sine],body[data-aos-easing=ease-out-sine] [data-aos]{transition-timing-function:cubic-bezier(.39,.575,.565,1)}[data-aos][data-aos][data-aos-easing=ease-in-out-sine],body[data-aos-easing=ease-in-out-sine] [data-aos]{transition-timing-function:cubic-bezier(.445,.05,.55,.95)}[data-aos][data-aos][data-aos-easing=ease-in-quad],body[data-aos-easing=ease-in-quad] [data-aos]{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}[data-aos][data-aos][data-aos-easing=ease-out-quad],body[data-aos-easing=ease-out-quad] [data-aos]{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}[data-aos][data-aos][data-aos-easing=ease-in-out-quad],body[data-aos-easing=ease-in-out-quad] [data-aos]{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}[data-aos][data-aos][data-aos-easing=ease-in-cubic],body[data-aos-easing=ease-in-cubic] [data-aos]{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}[data-aos][data-aos][data-aos-easing=ease-out-cubic],body[data-aos-easing=ease-out-cubic] [data-aos]{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}[data-aos][data-aos][data-aos-easing=ease-in-out-cubic],body[data-aos-easing=ease-in-out-cubic] [data-aos]{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}[data-aos][data-aos][data-aos-easing=ease-in-quart],body[data-aos-easing=ease-in-quart] [data-aos]{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}[data-aos][data-aos][data-aos-easing=ease-out-quart],body[data-aos-easing=ease-out-quart] [data-aos]{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}[data-aos][data-aos][data-aos-easing=ease-in-out-quart],body[data-aos-easing=ease-in-out-quart] [data-aos]{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}[data-aos^=fade][data-aos^=fade]{opacity:0;transition-property:opacity,transform}[data-aos^=fade][data-aos^=fade].aos-animate{opacity:1;transform:translateZ(0)}[data-aos=fade-up]{transform:translate3d(0,100px,0)}[data-aos=fade-down]{transform:translate3d(0,-100px,0)}[data-aos=fade-right]{transform:translate3d(-100px,0,0)}[data-aos=fade-left]{transform:translate3d(100px,0,0)}[data-aos=fade-up-right]{transform:translate3d(-100px,100px,0)}[data-aos=fade-up-left]{transform:translate3d(100px,100px,0)}[data-aos=fade-down-right]{transform:translate3d(-100px,-100px,0)}[data-aos=fade-down-left]{transform:translate3d(100px,-100px,0)}[data-aos^=zoom][data-aos^=zoom]{opacity:0;transition-property:opacity,transform}[data-aos^=zoom][data-aos^=zoom].aos-animate{opacity:1;transform:translateZ(0) scale(1)}[data-aos=zoom-in]{transform:scale(.6)}[data-aos=zoom-in-up]{transform:translate3d(0,100px,0) scale(.6)}[data-aos=zoom-in-down]{transform:translate3d(0,-100px,0) scale(.6)}[data-aos=zoom-in-right]{transform:translate3d(-100px,0,0) scale(.6)}[data-aos=zoom-in-left]{transform:translate3d(100px,0,0) scale(.6)}[data-aos=zoom-out]{transform:scale(1.2)}[data-aos=zoom-out-up]{transform:translate3d(0,100px,0) scale(1.2)}[data-aos=zoom-out-down]{transform:translate3d(0,-100px,0) scale(1.2)}[data-aos=zoom-out-right]{transform:translate3d(-100px,0,0) scale(1.2)}[data-aos=zoom-out-left]{transform:translate3d(100px,0,0) scale(1.2)}[data-aos^=slide][data-aos^=slide]{transition-property:transform}[data-aos^=slide][data-aos^=slide].aos-animate{transform:translateZ(0)}[data-aos=slide-up]{transform:translate3d(0,100%,0)}[data-aos=slide-down]{transform:translate3d(0,-100%,0)}[data-aos=slide-right]{transform:translate3d(-100%,0,0)}[data-aos=slide-left]{transform:translate3d(100%,0,0)}[data-aos^=flip][data-aos^=flip]{-webkit-backface-visibility:hidden;backface-visibility:hidden;transition-property:transform}[data-aos=flip-left]{transform:perspective(2500px) rotateY(-100deg)}[data-aos=flip-left].aos-animate{transform:perspective(2500px) rotateY(0)}[data-aos=flip-right]{transform:perspective(2500px) rotateY(100deg)}[data-aos=flip-right].aos-animate{transform:perspective(2500px) rotateY(0)}[data-aos=flip-up]{transform:perspective(2500px) rotateX(-100deg)}[data-aos=flip-up].aos-animate{transform:perspective(2500px) rotateX(0)}[data-aos=flip-down]{transform:perspective(2500px) rotateX(100deg)}[data-aos=flip-down].aos-animate{transform:perspective(2500px) rotateX(0)}',""]),e.exports=r},992:function(e,t,n){var content=n(993);
2content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(4).default)("80711072",content,!0,{sourceMap:!1})},993:function(e,t,n){var r=n(3)(!1);r.push([e.i,'.vue-modal-resizer{overflow:hidden;width:12px;height:12px;right:0;bottom:0;z-index:9999999;cursor:se-resize}.vue-modal-resizer,.vue-modal-resizer:after{display:block;position:absolute;background:transparent}.vue-modal-resizer:after{content:"";left:0;top:0;width:0;height:0;border-bottom:10px solid #ddd;border-left:10px solid transparent}.vue-modal-resizer.clicked:after{border-bottom:10px solid #369be9}.v--modal-block-scroll{overflow:hidden;width:100vw}.v--modal-overlay{position:fixed;box-sizing:border-box;left:0;top:0;width:100%;height:100vh;background:rgba(0,0,0,.2);z-index:999;opacity:1}.v--modal-overlay.scrollable{height:100%;min-height:100vh;overflow-y:auto;-webkit-overflow-scrolling:touch}.v--modal-overlay .v--modal-background-click{width:100%;min-height:100%;height:auto}.v--modal-overlay .v--modal-box{position:relative;overflow:hidden;box-sizing:border-box}.v--modal-overlay.scrollable .v--modal-box{margin-bottom:2px}.v--modal{background-color:#fff;text-align:left;border-radius:3px;box-shadow:0 20px 60px -2px rgba(27,33,58,.4);padding:0}.v--modal.v--modal-fullscreen{width:100vw;height:100vh;margin:0;left:0;top:0}.v--modal-top-right{display:block;position:absolute;right:0;top:0}.overlay-fade-enter-active,.overlay-fade-leave-active{transition:all .2s}.overlay-fade-enter,.overlay-fade-leave-active{opacity:0}.nice-modal-fade-enter-active,.nice-modal-fade-leave-active{transition:all .4s}.nice-modal-fade-enter,.nice-modal-fade-leave-active{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.vue-dialog div{box-sizing:border-box}.vue-dialog .dialog-flex{width:100%;height:100%}.vue-dialog .dialog-content{flex:1 0 auto;width:100%;padding:15px;font-size:14px}.vue-dialog .dialog-c-title{font-weight:600;padding-bottom:15px}.vue-dialog .vue-dialog-buttons{display:flex;flex:0 1 auto;width:100%;border-top:1px solid #eee}.vue-dialog .vue-dialog-buttons-none{width:100%;padding-bottom:15px}.vue-dialog-button{font-size:12px!important;background:transparent;padding:0;margin:0;border:0;cursor:pointer;box-sizing:border-box;line-height:40px;height:40px;color:inherit;font:inherit;outline:none}.vue-dialog-button:hover{background:rgba(0,0,0,.01)}.vue-dialog-button:active{background:rgba(0,0,0,.025)}.vue-dialog-button:not(:first-of-type){border-left:1px solid #eee}',""]),e.exports=r},996:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function o(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&o(e[n],t[n])}))}n.r(t);var l="undefined"!=typeof document?document:{},c={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};o(l,c);var d="undefined"!=typeof window?window:{};o(d,{document:c,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});class h{constructor(e){const t=this;for(let i=0;i<e.length;i+=1)t[i]=e[i];return t.length=e.length,this}}function f(e,t){const n=[];let i=0;if(e&&!t&&e instanceof h)return e;if(e)if("string"==typeof e){let r,o;const html=e.trim();if(html.indexOf("<")>=0&&html.indexOf(">")>=0){let e="div";for(0===html.indexOf("<li")&&(e="ul"),0===html.indexOf("<tr")&&(e="tbody"),0!==html.indexOf("<td")&&0!==html.indexOf("<th")||(e="tr"),0===html.indexOf("<tbody")&&(e="table"),0===html.indexOf("<option")&&(e="select"),o=l.createElement(e),o.innerHTML=html,i=0;i<o.childNodes.length;i+=1)n.push(o.childNodes[i])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||l).querySelectorAll(e.trim()):[l.getElementById(e.trim().split("#")[1])],i=0;i<r.length;i+=1)r[i]&&n.push(r[i])}else if(e.nodeType||e===d||e===l)n.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)n.push(e[i]);return new h(n)}function m(e){const t=[];for(let i=0;i<e.length;
vendor: 5,609 bytes, line 2
2i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}f.fn=h.prototype,f.Class=h,f.Dom7=h;"resize scroll".split(" ");const v={addClass:function(e){if(void 0===e)return this;const t=e.split(" ");for(let i=0;i<t.length;i+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.add(t[i]);return this},removeClass:function(e){const t=e.split(" ");for(let i=0;i<t.length;i+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){const t=e.split(" ");for(let i=0;i<t.length;i+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.toggle(t[i]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(const t in e)this[i][t]=e[t],this[i].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let i=0;i<this.length;i+=1)this[i].removeAttribute(e);return this},data:function(e,t){let n;if(void 0!==t){for(let i=0;i<this.length;i+=1)n=this[i],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0],n){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];const t=n.getAttribute(`data-${e}`);return t||void 0}},transform:function(e){for(let i=0;i<this.length;i+=1){const t=this[i].style;t.webkitTransform=e,t.transform=e}return this},transition:function(e){"string"!=typeof e&&(e=`${e}ms`);for(let i=0;i<this.length;i+=1){const t=this[i].style;t.webkitTransitionDuration=e,t.transitionDuration=e}return this},on:function(...e){let[t,n,r,o]=e;function l(e){const t=e.target;if(!t)return;const o=e.target.dom7EventData||[];if(o.indexOf(e)<0&&o.unshift(e),f(t).is(n))r.apply(t,o);else{const e=f(t).parents();for(let t=0;t<e.length;t+=1)f(e[t]).is(n)&&r.apply(e[t],o)}}function c(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof e[1]&&([t,r,o]=e,n=void 0),o||(o=!1);const d=t.split(" ");let h;for(let i=0;i<this.length;i+=1){const e=this[i];if(n)for(h=0;h<d.length;h+=1){const t=d[h];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:r,proxyListener:l}),e.addEventListener(t,l,o)}else for(h=0;h<d.length;h+=1){const t=d[h];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:r,proxyListener:c}),e.addEventListener(t,c,o)}}return this},off:function(...e){let[t,n,r,o]=e;"function"==typeof e[1]&&([t,r,o]=e,n=void 0),o||(o=!1);const l=t.split(" ");for(let i=0;i<l.length;i+=1){const e=l[i];for(let t=0;t<this.length;t+=1){const l=this[t];let c;if(!n&&l.dom7Listeners?c=l.dom7Listeners[e]:n&&l.dom7LiveListeners&&(c=l.dom7LiveListeners[e]),c&&c.length)for(let t=c.length-1;t>=0;t-=1){const n=c[t];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(l.removeEventListener(e,n.proxyListener,o),c.splice(t,1)):r||(l.removeEventListener(e,n.proxyListener,o),c.splice(t,1))}}}return this},trigger:function(...e){const t=e[0].split(" "),n=e[1];for(let i=0;i<t.length;i+=1){const r=t[i];for(let t=0;t<this.length;t+=1){const o=this[t];let c;try{c=new d.CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0})}catch(e){c=l.createEvent("Event"),c.initEvent(r,!0,!0),c.detail=n}o.dom7EventData=e.filter(((data,e)=>e>0)),o.dispatchEvent(c),o.dom7EventData=[],delete o.dom7EventData}}return this},transitionEnd:function(e){const t=["webkitTransitionEnd","transitionend"],n=this;let i;function r(o){if(o.target===this)for(e.call(this,o),i=0;i<t.length;i+=1)n.off(t[i],r)}if(e)for(i=0;i<t.length;i+=1)n.on(t[i],r);return this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),body=l.body,n=e.clientTop||body.clientTop||0,r=e.clientLeft||body.clientLeft||0,o=e===d?d.scrollY:e.scrollTop,c=e===d?d.scrollX:e.scrollLeft;return{top:t.top+o-n,left:t.left+c-r}}return null},css:function(e,t){let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(let t in e)this[i].style[t]=e[t];return this}if(this[0])return d.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(let i=0;i<this.length;i+=1)if(!1===e.call(this[i],i,this[i]))return this;return this},html:function(html){if(void 0===html)return this[0]?this[0].innerHTML:void 0;for(let i=0;i<this.length;i+=1)this[i].innerHTML=html;return this},text:function(text){if(void 0===text)return this[0]?this[0].textContent.trim():null;for(let i=0;i<this.length;i+=1)this[i].textContent=text;return this},is:function(e){const t=this[0];let n,i;if(!t||void 0===e)return!1;if("string"==typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);
2if(t.msMatchesSelector)return t.msMatchesSelector(e);for(n=f(e),i=0;i<n.length;i+=1)if(n[i]===t)return!0;return!1}if(e===l)return t===l;if(e===d)return t===d;if(e.nodeType||e instanceof h){for(n=e.nodeType?[e]:e,i=0;i<n.length;i+=1)if(n[i]===t)return!0;return!1}return!1},index:function(){let i,e=this[0];if(e){for(i=0;null!==(e=e.previousSibling);)1===e.nodeType&&(i+=1);return i}},eq:function(e){if(void 0===e)return this;const t=this.length;let n;return e>t-1?new h([]):e<0?(n=t+e,new h(n<0?[]:[this[n]])):new h([this[e]])},append:function(...e){let t;for(let n=0;n<e.length;n+=1){t=e[n];for(let i=0;i<this.length;i+=1)if("string"==typeof t){const e=l.createElement("div");for(e.innerHTML=t;e.firstChild;)this[i].appendChild(e.firstChild)}else if(t instanceof h)for(let e=0;e<t.length;e+=1)this[i].appendChild(t[e]);else this[i].appendChild(t)}return this},prepend:function(e){let i,t;for(i=0;i<this.length;i+=1)if("string"==typeof e){const n=l.createElement("div");for(n.innerHTML=e,t=n.childNodes.length-1;t>=0;t-=1)this[i].insertBefore(n.childNodes[t],this[i].childNodes[0])}else if(e instanceof h)for(t=0;t<e.length;t+=1)this[i].insertBefore(e[t],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&f(this[0].nextElementSibling).is(e)?new h([this[0].nextElementSibling]):new h([]):this[0].nextElementSibling?new h([this[0].nextElementSibling]):new h([]):new h([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return new h([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?f(r).is(e)&&t.push(r):t.push(r),n=r}return new h(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&f(t.previousElementSibling).is(e)?new h([t.previousElementSibling]):new h([]):t.previousElementSibling?new h([t.previousElementSibling]):new h([])}return new h([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return new h([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?f(r).is(e)&&t.push(r):t.push(r),n=r}return new h(t)},parent:function(e){const t=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?f(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return f(m(t))},parents:function(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?f(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return f(m(t))},closest:function(e){let t=this;return void 0===e?new h([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return new h(t)},children:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].childNodes;for(let r=0;r<n.length;r+=1)e?1===n[r].nodeType&&f(n[r]).is(e)&&t.push(n[r]):1===n[r].nodeType&&t.push(n[r])}return new h(m(t))},filter:function(e){const t=[],n=this;for(let i=0;i<n.length;i+=1)e.call(n[i],i,n[i])&&t.push(n[i]);return new h(t)},remove:function(){for(let i=0;i<this.length;i+=1)this[i].parentNode&&this[i].parentNode.removeChild(this[i]);return this},add:function(...e){const t=this;let i,n;for(i=0;i<e.length;i+=1){const r=f(e[i]);for(n=0;n<r.length;n+=1)t[t.length]=r[n],t.length+=1}return t},styles:function(){return this[0]?d.getComputedStyle(this[0],null):{}}};Object.keys(v).forEach((e=>{f.fn[e]=f.fn[e]||v[e]}));const y={deleteProps(e){const object=e;Object.keys(object).forEach((e=>{try{object[e]=null}catch(e){}try{delete object[e]}catch(e){}}))},nextTick:(e,t=0)=>setTimeout(e,t),now:()=>Date.now(),getTranslate(e,t="x"){let n,r,o;const l=d.getComputedStyle(e,null);return d.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((a=>a.replace(",","."))).join(", ")),o=new d.WebKitCSSMatrix("none"===r?"":r)):(o=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===t&&(r=d.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=d.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0},parseUrlQuery(e){const t={};let i,n,param,r,o=e||d.location.href;if("string"==typeof o&&o.length)for(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"",n=o.split("&").filter((e=>""!==e)),r=n.length,i=0;i<r;
2i+=1)param=n[i].replace(/#\S+/g,"").split("="),t[decodeURIComponent(param[0])]=void 0===param[1]?void 0:decodeURIComponent(param[1])||"";return t},isObject:e=>"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object,extend(...e){const t=Object(e[0]);for(let i=1;i<e.length;i+=1){const n=e[i];if(null!=n){const e=Object.keys(Object(n));for(let r=0,o=e.length;r<o;r+=1){const o=e[r],desc=Object.getOwnPropertyDescriptor(n,o);void 0!==desc&&desc.enumerable&&(y.isObject(t[o])&&y.isObject(n[o])?y.extend(t[o],n[o]):!y.isObject(t[o])&&y.isObject(n[o])?(t[o]={},y.extend(t[o],n[o])):t[o]=n[o])}}}return t}},_={touch:!!("ontouchstart"in d||d.DocumentTouch&&l instanceof d.DocumentTouch),pointerEvents:!!d.PointerEvent&&"maxTouchPoints"in d.navigator&&d.navigator.maxTouchPoints>=0,observer:"MutationObserver"in d||"WebkitMutationObserver"in d,passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});d.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in d};class T{constructor(e={}){const t=this;t.params=e,t.eventsListeners={}
2,t.params&&t.params.on&&Object.keys(t.params.on).forEach((e=>{t.on(e,t.params.on[e])}))}on(e,t,n){const r=this;if("function"!=typeof t)return r;const o=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][o](t)})),r}once(e,t,n){const r=this;if("function"!=typeof t)return r;function o(...n){r.off(e,o),o.f7proxy&&delete o.f7proxy,t.apply(r,n)}return o.f7proxy=t,r.on(e,o,n)}off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach(((r,o)=>{(r===t||r.f7proxy&&r.f7proxy===t)&&n.eventsListeners[e].splice(o,1)}))})),n):n}emit(...e){const t=this;if(!t.eventsListeners)return t;let n,data,r;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],data=e.slice(1,e.length),r=t):(n=e[0].events,data=e[0].data,r=e[0].context||t);return(Array.isArray(n)?n:n.split(" ")).forEach((e=>{if(t.eventsListeners&&t.eventsListeners[e]){const n=[];t.eventsListeners[e].forEach((e=>{n.push(e)})),n.forEach((e=>{e.apply(r,data)}))}})),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach((n=>{const r=t.modules[n];r.params&&y.extend(e,r.params)}))}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach((n=>{const r=t.modules[n],o=e[n]||{};r.instance&&Object.keys(r.instance).forEach((e=>{const n=r.instance[e];t[e]="function"==typeof n?n.bind(t):n})),r.on&&t.on&&Object.keys(r.on).forEach((e=>{t.on(e,r.on[e])})),r.create&&r.create.bind(t)(o)}))}static set components(e){this.use&&this.use(e)}static installModule(e,...t){const n=this;n.prototype.modules||(n.prototype.modules={});const r=e.name||`${Object.keys(n.prototype.modules).length}_${y.now()}`;return n.prototype.modules[r]=e,e.proto&&Object.keys(e.proto).forEach((t=>{n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((t=>{n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n}static use(e,...t){const n=this;return Array.isArray(e)?(e.forEach((e=>n.installModule(e))),n):n.installModule(e,...t)}}var w={updateSize:function(){const e=this;let t,n;const r=e.$el;t=void 0!==e.params.width?e.params.width:r[0].clientWidth,n=void 0!==e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(r.css("padding-left"),10)-parseInt(r.css("padding-right"),10),n=n-parseInt(r.css("padding-top"),10)-parseInt(r.css("padding-bottom"),10),y.extend(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this,t=e.params,{$wrapperEl:n,size:r,rtlTranslate:o,wrongRTL:l}=e,c=e.virtual&&t.virtual.enabled,h=c?e.virtual.slides.length:e.slides.length,f=n.children(`.${e.params.slideClass}`),m=c?e.virtual.slides.length:f.length;let v=[];const _=[],T=[];function w(e){return!t.cssMode||e!==f.length-1}let S=t.slidesOffsetBefore;"function"==typeof S&&(S=t.slidesOffsetBefore.call(e));let E=t.slidesOffsetAfter;"function"==typeof E&&(E=t.slidesOffsetAfter.call(e));const x=e.snapGrid.length,k=e.snapGrid.length;let C,A,O=t.spaceBetween,j=-S,I=0,P=0;if(void 0===r)return;"string"==typeof O&&O.indexOf("%")>=0&&(O=parseFloat(O.replace("%",""))/100*r),e.virtualSize=-O,o?f.css({marginLeft:"",marginTop:""}):f.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(C=Math.floor(m/t.slidesPerColumn)===m/e.params.slidesPerColumn?m:Math.ceil(m/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(C=Math.max(C,t.slidesPerView*t.slidesPerColumn)));const L=t.slidesPerColumn,M=C/L,D=Math.floor(m/t.slidesPerColumn);for(let i=0;i<m;i+=1){A=0;const n=f.eq(i);if(t.slidesPerColumn>1){let r,o,l;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(i/(t.slidesPerGroup*t.slidesPerColumn)),c=i-t.slidesPerColumn*t.slidesPerGroup*e,d=0===e?t.slidesPerGroup:Math.min(Math.ceil((m-e*L*t.slidesPerGroup)/L),t.slidesPerGroup);l=Math.floor(c/d),o=c-l*d+e*t.slidesPerGroup,r=o+l*C/L,n.css({"-webkit-box-ordinal-group":r,"-moz-box-ordinal-group":r,"-ms-flex-order":r,"-webkit-order":r,order:r})}else"column"===t.slidesPerColumnFill?(o=Math.floor(i/L),l=i-o*L,(o>D||o===D&&l===L-1)&&(l+=1,l>=L&&(l=0,o+=1))):(l=Math.floor(i/M),o=i-l*M);n.css("margin-"+(e.isHorizontal()?"top":"left"),0!==l&&t.spaceBetween&&`${t.spaceBetween}px`)}if("none"!==n.css("display")){if("auto"===t.slidesPerView){const r=d.getComputedStyle(n[0],null),o=n[0].style.transform,l=n[0].style.webkitTransform;if(o&&(n[0].style.transform="none"),l&&(n[0].style.webkitTransform="none"),t.roundLengths)A=e.isHorizontal()?n.outerWidth(!0):n.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(r.getPropertyValue("width")),t=parseFloat(r.getPropertyValue("padding-left")),n=parseFloat(r.getPropertyValue("padding-right")),o=parseFloat(r.getPropertyValue("margin-left")),l=parseFloat(r.getPropertyValue("margin-right")),c=r.getPropertyValue("box-sizing");A=c&&"border-box"===c?e+o+l:e+t+n+o+l}else{const e=parseFloat(r.getPropertyValue("height")),t=parseFloat(r.getPropertyValue("padding-top")),n=parseFloat(r.getPropertyValue("padding-bottom")),o=parseFloat(r.getPropertyValue("margin-top")),l=parseFloat(r.getPropertyValue("margin-bottom")),c=r.getPropertyValue("box-sizing");A=c&&"border-box"===c?e+o+l:e+t+n+o+l}o&&(n[0].style.transform=o),l&&(n[0].style.webkitTransform=l),t.roundLengths&&(A=Math.floor(A))}else A=(r-(t.slidesPerView-1)*O)/t.slidesPerView,t.roundLengths&&(A=Math.floor(A)),f[i]&&(e.isHorizontal()?f[i].style.width=`${A}px`:f[i].style.height=`${A}px`);
vendor: 10,000 bytes, line 2
2f[i]&&(f[i].swiperSlideSize=A),T.push(A),t.centeredSlides?(j=j+A/2+I/2+O,0===I&&0!==i&&(j=j-r/2-O),0===i&&(j=j-r/2-O),Math.abs(j)<.001&&(j=0),t.roundLengths&&(j=Math.floor(j)),P%t.slidesPerGroup==0&&v.push(j),_.push(j)):(t.roundLengths&&(j=Math.floor(j)),(P-Math.min(e.params.slidesPerGroupSkip,P))%e.params.slidesPerGroup==0&&v.push(j),_.push(j),j=j+A+O),e.virtualSize+=A+O,I=A,P+=1}}let N;if(e.virtualSize=Math.max(e.virtualSize,r)+E,o&&l&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:`${e.virtualSize+t.spaceBetween}px`}),t.setWrapperSize&&(e.isHorizontal()?n.css({width:`${e.virtualSize+t.spaceBetween}px`}):n.css({height:`${e.virtualSize+t.spaceBetween}px`})),t.slidesPerColumn>1&&(e.virtualSize=(A+t.spaceBetween)*C,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:`${e.virtualSize+t.spaceBetween}px`}):n.css({height:`${e.virtualSize+t.spaceBetween}px`}),t.centeredSlides)){N=[];for(let i=0;i<v.length;i+=1){let n=v[i];t.roundLengths&&(n=Math.floor(n)),v[i]<e.virtualSize+v[0]&&N.push(n)}v=N}if(!t.centeredSlides){N=[];for(let i=0;i<v.length;i+=1){let n=v[i];t.roundLengths&&(n=Math.floor(n)),v[i]<=e.virtualSize-r&&N.push(n)}v=N,Math.floor(e.virtualSize-r)-Math.floor(v[v.length-1])>1&&v.push(e.virtualSize-r)}if(0===v.length&&(v=[0]),0!==t.spaceBetween&&(e.isHorizontal()?o?f.filter(w).css({marginLeft:`${O}px`}):f.filter(w).css({marginRight:`${O}px`}):f.filter(w).css({marginBottom:`${O}px`})),t.centeredSlides&&t.centeredSlidesBounds){let e=0;T.forEach((n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)})),e-=t.spaceBetween;const n=e-r;v=v.map((e=>e<0?-S:e>n?n+E:e))}if(t.centerInsufficientSlides){let e=0;if(T.forEach((n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)})),e-=t.spaceBetween,e<r){const t=(r-e)/2;v.forEach(((e,n)=>{v[n]=e-t})),_.forEach(((e,n)=>{_[n]=e+t}))}}y.extend(e,{slides:f,snapGrid:v,slidesGrid:_,slidesSizesGrid:T}),m!==h&&e.emit("slidesLengthChange"),v.length!==x&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),_.length!==k&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,n=[];let i,r=0;if("number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each(((e,t)=>{n.push(t)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length)break;n.push(t.slides.eq(e)[0])}else n.push(t.slides.eq(t.activeIndex)[0]);for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;r=e>r?e:r}r&&t.$wrapperEl.css("height",`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:o}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let l=-e;o&&(l=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let i=0;i<r.length;i+=1){const e=r[i],c=(l+(n.centeredSlides?t.minTranslate():0)-e.swiperSlideOffset)/(e.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){const o=-(l-e.swiperSlideOffset),c=o+t.slidesSizesGrid[i];(o>=0&&o<t.size-1||c>1&&c<=t.size||o<=0&&c>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(i),r.eq(i).addClass(n.slideVisibleClass))}e.progress=o?-c:c}t.visibleSlides=f(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:progress,isBeginning:o,isEnd:l}=t;const c=o,d=l;0===r?(progress=0,o=!0,l=!0):(progress=(e-t.minTranslate())/r,o=progress<=0,l=progress>=1),y.extend(t,{progress:progress,isBeginning:o,isEnd:l}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!c&&t.emit("reachBeginning toEdge"),l&&!d&&t.emit("reachEnd toEdge"),(c&&!o||d&&!l)&&t.emit("fromEdge"),t.emit("progress",progress)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:o,realIndex:l}=e,c=e.virtual&&n.virtual.enabled;let d;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),d=c?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${o}"]`):t.eq(o),d.addClass(n.slideActiveClass),n.loop&&(d.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l}"]`).addClass(n.slideDuplicateActiveClass));let h=d.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===h.length&&(h=t.eq(0),h.addClass(n.slideNextClass));let f=d.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===f.length&&(f=t.eq(-1),f.addClass(n.slidePrevClass)),n.loop&&(h.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${h.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${h.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),f.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${f.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${f.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:o,params:l,activeIndex:c,realIndex:d,snapIndex:h}=t;let f,m=e;if(void 0===m){for(let i=0;i<r.length;i+=1)void 0!==r[i+1]?n>=r[i]&&n<r[i+1]-(r[i+1]-r[i])/2?m=i:n>=r[i]&&n<r[i+1]&&(m=i+1):n>=r[i]&&(m=i);l.normalizeSlideIndex&&(m<0||void 0===m)&&(m=0)}if(o.indexOf(n)>=0)f=o.indexOf(n);else{const e=Math.min(l.slidesPerGroupSkip,m);f=e+Math.floor((m-e)/l.slidesPerGroup)}if(f>=o.length&&(f=o.length-1),m===c)return void(f!==h&&(t.snapIndex=f,t.emit("snapIndexChange")));const v=parseInt(t.slides.eq(m).attr("data-swiper-slide-index")||m,10);y.extend(t,{snapIndex:f,realIndex:v,previousIndex:c,activeIndex:m}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),d!==v&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=f(e.target).closest(`.${n.slideClass}`)[0];let o=!1;if(r)for(let i=0;i<t.slides.length;i+=1)t.slides[i]===r&&(o=!0);if(!r||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(f(r).attr("data-swiper-slide-index"),10):t.clickedIndex=f(r).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var S={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:r,$wrapperEl:o}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let l=y.getTranslate(o[0],e);return n&&(l=-l),l||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:o,$wrapperEl:l,wrapperEl:c,progress:progress}=n;let d,h=0,f=0;n.isHorizontal()?h=r?-e:e:f=e,o.roundLengths&&(h=Math.floor(h),f=Math.floor(f)),o.cssMode?c[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-h:-f:o.virtualTranslate||l.transform(`translate3d(${h}px, ${f}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?h:f;const m=n.maxTranslate()-n.minTranslate();d=0===m?0:(e-n.minTranslate())/m,d!==progress&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,r=!0,o){const l=this,{params:c,wrapperEl:d}=l;if(l.animating&&c.preventInteractionOnTransition)return!1;const h=l.minTranslate(),f=l.maxTranslate();let m;if(m=r&&e>h?h:r&&e<f?f:e,l.updateProgress(m),c.cssMode){const e=l.isHorizontal();return 0===t?d[e?"scrollLeft":"scrollTop"]=-m:d.scrollTo?d.scrollTo({[e?"left":"top"]:-m,behavior:"smooth"}):d[e?"scrollLeft":"scrollTop"]=-m,!0}return 0===t?(l.setTransition(0),l.setTranslate(m),n&&(l.emit("beforeTransitionStart",t,o),l.emit("transitionEnd"))):(l.setTransition(t),l.setTranslate(m),n&&(l.emit("beforeTransitionStart",t,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(e){l&&!l.destroyed&&e.target===this&&(l.$wrapperEl[0].removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.$wrapperEl[0].removeEventListener("webkitTransitionEnd",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,n&&l.emit("transitionEnd"))}),l.$wrapperEl[0].addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.$wrapperEl[0].addEventListener("webkitTransitionEnd",l.onTranslateToWrapperTransitionEnd))),!0}};var E={setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{activeIndex:r,params:o,previousIndex:l}=n;if(o.cssMode)return;o.autoHeight&&n.updateAutoHeight();let c=t;if(c||(c=r>l?"next":r<l?"prev":"reset"),n.emit("transitionStart"),e&&r!==l){if("reset"===c)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===c?n.emit("slideNextTransitionStart"):n.emit
2("slidePrevTransitionStart")}},transitionEnd:function(e=!0,t){const n=this,{activeIndex:r,previousIndex:o,params:l}=n;if(n.animating=!1,l.cssMode)return;n.setTransition(0);let c=t;if(c||(c=r>o?"next":r<o?"prev":"reset"),n.emit("transitionEnd"),e&&r!==o){if("reset"===c)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===c?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}};var x={slideTo:function(e=0,t=this.params.speed,n=!0,r){const o=this;let l=e;l<0&&(l=0);const{params:c,snapGrid:d,slidesGrid:h,previousIndex:f,activeIndex:m,rtlTranslate:v,wrapperEl:y}=o;if(o.animating&&c.preventInteractionOnTransition)return!1;const _=Math.min(o.params.slidesPerGroupSkip,l);let T=_+Math.floor((l-_)/o.params.slidesPerGroup);T>=d.length&&(T=d.length-1),(m||c.initialSlide||0)===(f||0)&&n&&o.emit("beforeSlideChangeStart");const w=-d[T];if(o.updateProgress(w),c.normalizeSlideIndex)for(let i=0;i<h.length;i+=1)-Math.floor(100*w)>=Math.floor(100*h[i])&&(l=i);if(o.initialized&&l!==m){if(!o.allowSlideNext&&w<o.translate&&w<o.minTranslate())return!1;if(!o.allowSlidePrev&&w>o.translate&&w>o.maxTranslate()&&(m||0)!==l)return!1}let S;if(S=l>m?"next":l<m?"prev":"reset",v&&-w===o.translate||!v&&w===o.translate)return o.updateActiveIndex(l),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==c.effect&&o.setTranslate(w),"reset"!==S&&(o.transitionStart(n,S),o.transitionEnd(n,S)),!1;if(c.cssMode){const e=o.isHorizontal();let n=-w;return v&&(n=y.scrollWidth-y.offsetWidth-n),0===t?y[e?"scrollLeft":"scrollTop"]=n:y.scrollTo?y.scrollTo({[e?"left":"top"]:n,behavior:"smooth"}):y[e?"scrollLeft":"scrollTop"]=n,!0}return 0===t?(o.setTransition(0),o.setTranslate(w),o.updateActiveIndex(l),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,S),o.transitionEnd(n,S)):(o.setTransition(t),o.setTranslate(w),o.updateActiveIndex(l),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,S),o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,S))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,r){const o=this;let l=e;return o.params.loop&&(l+=o.loopedSlides),o.slideTo(l,t,n,r)},slideNext:function(e=this.params.speed,t=!0,n){const r=this,{params:o,animating:l}=r,c=r.activeIndex<o.slidesPerGroupSkip?1:o.slidesPerGroup;if(o.loop){if(l)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+c,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const r=this,{params:o,animating:l,snapGrid:c,slidesGrid:d,rtlTranslate:h}=r;if(o.loop){if(l)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function f(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const m=f(h?r.translate:-r.translate),v=c.map((e=>f(e)));d.map((e=>f(e))),c[v.indexOf(m)];let y,_=c[v.indexOf(m)-1];return void 0===_&&o.cssMode&&c.forEach((e=>{!_&&m>=e&&(_=e)})),void 0!==_&&(y=d.indexOf(_),y<0&&(y=r.activeIndex-1)),r.slideTo(y,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,r=.5){const o=this;let l=o.activeIndex;const c=Math.min(o.params.slidesPerGroupSkip,l),d=c+Math.floor((l-c)/o.params.slidesPerGroup),h=o.rtlTranslate?o.translate:-o.translate;if(h>=o.snapGrid[d]){const e=o.snapGrid[d];h-e>(o.snapGrid[d+1]-e)*r&&(l+=o.params.slidesPerGroup)}else{const e=o.snapGrid[d-1];h-e<=(o.snapGrid[d]-e)*r&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,l=e.clickedIndex;if(t.loop){if(e.animating)return;o=parseInt(f(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?l<e.loopedSlides-r/2||l>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),l=n.children(`.${t.slideClass}[data-swiper-slide-index="${o}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),y.nextTick((()=>{e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-r?(e.loopFix(),l=n.children(`.${t.slideClass}[data-swiper-slide-index="${o}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),y.nextTick((()=>{e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}};var k={loopCreate:function(){const e=this,{params:t,$wrapperEl:n}=e;n.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let r=n.children(`.${t.slideClass}`);
vendor: 12,542 bytes, line 2
2if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-r.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let i=0;i<e;i+=1){const e=f(l.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);n.append(e)}r=n.children(`.${t.slideClass}`)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=r.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>r.length&&(e.loopedSlides=r.length);const o=[],c=[];r.each(((t,n)=>{const l=f(n);t<e.loopedSlides&&c.push(n),t<r.length&&t>=r.length-e.loopedSlides&&o.push(n),l.attr("data-swiper-slide-index",t)}));for(let i=0;i<c.length;i+=1)n.append(f(c[i].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let i=o.length-1;i>=0;i-=1)n.prepend(f(o[i].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:o,allowSlideNext:l,snapGrid:c,rtlTranslate:d}=e;let h;e.allowSlidePrev=!0,e.allowSlideNext=!0;const f=-c[t]-e.getTranslate();if(t<r){h=n.length-3*r+t,h+=r;e.slideTo(h,0,!1,!0)&&0!==f&&e.setTranslate((d?-e.translate:e.translate)-f)}else if(t>=n.length-r){h=-n.length+t+r,h+=r;e.slideTo(h,0,!1,!0)&&0!==f&&e.setTranslate((d?-e.translate:e.translate)-f)}e.allowSlidePrev=o,e.allowSlideNext=l,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};var C={setGrabCursor:function(e){const t=this;if(_.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;_.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}};var A={appendSlide:function(e){const t=this,{$wrapperEl:n,params:r}=t;if(r.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);r.loop&&t.loopCreate(),r.observer&&_.observer||t.update()},prependSlide:function(e){const t=this,{params:n,$wrapperEl:r,activeIndex:o}=t;n.loop&&t.loopDestroy();let l=o+1;if("object"==typeof e&&"length"in e){for(let i=0;i<e.length;i+=1)e[i]&&r.prepend(e[i]);l=o+e.length}else r.prepend(e);n.loop&&t.loopCreate(),n.observer&&_.observer||t.update(),t.slideTo(l,0,!1)},addSlide:function(e,t){const n=this,{$wrapperEl:r,params:o,activeIndex:l}=n;let c=l;o.loop&&(c-=n.loopedSlides,n.loopDestroy(),n.slides=r.children(`.${o.slideClass}`));const d=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=d)return void n.appendSlide(t);let h=c>e?c+1:c;const f=[];for(let i=d-1;i>=e;i-=1){const e=n.slides.eq(i);e.remove(),f.unshift(e)}if("object"==typeof t&&"length"in t){for(let i=0;i<t.length;i+=1)t[i]&&r.append(t[i]);h=c>e?c+t.length:c}else r.append(t);for(let i=0;i<f.length;i+=1)r.append(f[i]);o.loop&&n.loopCreate(),o.observer&&_.observer||n.update(),o.loop?n.slideTo(h+n.loopedSlides,0,!1):n.slideTo(h,0,!1)},removeSlide:function(e){const t=this,{params:n,$wrapperEl:r,activeIndex:o}=t;let l=o;n.loop&&(l-=t.loopedSlides,t.loopDestroy(),t.slides=r.children(`.${n.slideClass}`));let c,d=l;if("object"==typeof e&&"length"in e){for(let i=0;i<e.length;i+=1)c=e[i],t.slides[c]&&t.slides.eq(c).remove(),c<d&&(d-=1);d=Math.max(d,0)}else c=e,t.slides[c]&&t.slides.eq(c).remove(),c<d&&(d-=1),d=Math.max(d,0);n.loop&&t.loopCreate(),n.observer&&_.observer||t.update(),n.loop?t.slideTo(d+t.loopedSlides,0,!1):t.slideTo(d,0,!1)},removeAllSlides:function(){const e=this,t=[];for(let i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}};const O=function(){const e=d.navigator.platform,t=d.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!d.cordova&&!d.phonegap),phonegap:!(!d.cordova&&!d.phonegap),electron:!1},r=d.screen.width,o=d.screen.height,l=t.match(/(Android);?[\s\/]+([\d.]+)?/);let c=t.match(/(iPad).*OS\s([\d_]+)/);const h=t.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,v=t.indexOf("Edge/")>=0,y=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,T="Win32"===e,w=t.toLowerCase().indexOf("electron")>=0;let S="MacIntel"===e;return!c&&S&&_.touch&&(1024===r&&1366===o||834===r&&1194===o||834===r&&1112===o||768===r&&1024===o)&&(c=t.match(/(Version)\/([\d.]+)/),S=!1),n.ie=m,n.edge=v,n.firefox=y,l&&!T&&(n.os="android",n.osVersion=l[2],n.android=!0,n.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(c||f||h)&&(n.os="ios",n.ios=!0),f&&!h&&(n.osVersion=f[2].replace(/_/g,"."),n.iphone=!0),c&&(n.osVersion=c[2].replace(/_/g,"."),n.ipad=!0),h&&(n.osVersion=h[3]?h[3].replace(/_/g,"."):null,n.ipod=!0),n.ios&&n.osVersion&&t.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),n.webView=!(!(f||c||h)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!d.navigator.standalone)||d.matchMedia&&d.matchMedia("(display-mode: standalone)").matches,n.webview=n.webView,n.standalone=n.webView,n.desktop=!(n.ios||n.android)||w,n.desktop&&(n.electron=w,n.macos=S,n.windows=T,n.macos&&(n.os="macos"),n.windows&&(n.os="windows")),n.pixelRatio=d.devicePixelRatio||1,n}();function j(e){const t=this,data=t.touchEventsData,{params:n,touches:r}=t;if(t.animating&&n.preventInteractionOnTransition)return;let o=e;o.originalEvent&&(o=o.originalEvent);const c=f(o.target);if("wrapper"===n.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(data.isTouchEvent="touchstart"===o.type,!data.isTouchEvent&&"which"in o&&3===o.which)return;if(!data.isTouchEvent&&"button"in o&&o.button>0)return;if(data.isTouched&&data.isMoved)return;if(n.noSwiping&&c.closest(n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`)[0])return void(t.allowClick=!0);if(n.swipeHandler&&!c.closest(n.swipeHandler)[0])return;r.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,r.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;const h=r.currentX,m=r.currentY,v=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,_=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!v||!(h<=_||h>=d.screen.width-_)){if(y.extend(data,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=h,r.startY=m,data.touchStartTime=y.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,n.threshold>0&&(data.allowThresholdMove=!1),"touchstart"!==o.type){let e=!0;c.is(data.formElements)&&(e=!1),l.activeElement&&f(l.activeElement).is(data.formElements)&&l.activeElement!==c[0]&&l.activeElement.blur();const r=e&&t.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||r)&&o.preventDefault()}t.emit("touchStart",o)}}function I(e){const t=this,data=t.touchEventsData,{params:n,touches:r,rtlTranslate:o}=t;let c=e;if(c.originalEvent&&(c=c.originalEvent),!data.isTouched)return void(data.startMoving&&data.isScrolling&&t.emit("touchMoveOpposite",c));if(data.isTouchEvent&&"touchmove"!==c.type)return;const d="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),h="touchmove"===c.type?d.pageX:c.pageX,m="touchmove"===c.type?d.pageY:c.pageY;if(c.preventedByNestedSwiper)return r.startX=h,void(r.startY=m);if(!t.allowTouchMove)return t.allowClick=!1,void(data.isTouched&&(y.extend(r,{startX:h,startY:m,currentX:h,currentY:m}),data.touchStartTime=y.now()));if(data.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(t.isVertical()){if(m<r.startY&&t.translate<=t.maxTranslate()||m>r.startY&&t.translate>=t.minTranslate())return data.isTouched=!1,void(data.isMoved=!1)}else if(h<r.startX&&t.translate<=t.maxTranslate()||h>r.startX&&t.translate>=t.minTranslate())return;if(data.isTouchEvent&&l.activeElement&&c.target===l.activeElement&&f(c.target).is(data.formElements))return data.isMoved=!0,void(t.allowClick=!1);if(data.allowTouchCallbacks&&t.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;r.currentX=h,r.currentY=m;const v=r.currentX-r.startX,_=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(v**2+_**2)<t.params.threshold)return;if(void 0===data.isScrolling){let e;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?data.isScrolling=!1:v*v+_*_>=25&&(e=180*Math.atan2(Math.abs(_),Math.abs(v))/Math.PI,data.isScrolling=t.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(data.isScrolling&&t.emit("touchMoveOpposite",c),void 0===data.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(data.startMoving=!0)),data.isScrolling)return void(data.isTouched=!1);if(!data.startMoving)return;t.allowClick=!1,!n.cssMode&&c.cancelable&&c.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&c.stopPropagation(),data.isMoved||(n.loop&&t.loopFix(),data.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),data.allowMomentumBounce=!1,!n.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",c)),t.emit("sliderMove",c),data.isMoved=!0;let T=t.isHorizontal()?v:_;r.diff=T,T*=n.touchRatio,o&&(T=-T),t.swipeDirection=T>0?"prev":"next",data.currentTranslate=T+data.startTranslate;let w=!0,S=n.resistanceRatio;if(n.touchReleaseOnEdges&&(S=0),T>0&&data.currentTranslate>t.minTranslate()?(w=!1,n.resistance&&(data.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+data.startTranslate+T)**S)):T<0&&data.currentTranslate<t.maxTranslate()&&(w=!1,n.resistance&&(data.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-data.startTranslate-T)**S)),w&&(c.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&data.currentTranslate<data.startTranslate&&(data.currentTranslate=data.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&data.currentTranslate>data.startTranslate&&(data.currentTranslate=data.startTranslate),n.threshold>0){if(!(Math.abs(T)>n.threshold||data.allowThresholdMove))return void(data.currentTranslate=data.startTranslate);if(!data.allowThresholdMove)return data.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,data.currentTranslate=data.startTranslate,void(r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),n.freeMode&&(0===data.velocities.length&&data.velocities.push({position:r[t.isHorizontal()?"startX":"startY"],time:data.touchStartTime}),data.velocities.push({position:r[t.isHorizontal()?"currentX":"currentY"],time:y.now()})),t.updateProgress(data.currentTranslate),t.setTranslate(data.currentTranslate))}function P(e){const t=this,data=t.touchEventsData,{params:n,touches:r,rtlTranslate:o,$wrapperEl:l,slidesGrid:c,snapGrid:d}=t;let h=e;if(h.originalEvent&&(h=h.originalEvent),data.allowTouchCallbacks&&t.emit("touchEnd",h),data.allowTouchCallbacks=!1,!data.isTouched)return data.isMoved&&n.grabCursor&&t.setGrabCursor(!1),data.isMoved=!1,void(data.startMoving=!1);n.grabCursor&&data.isMoved&&data.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const f=y.now(),m=f-data.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap click",h),m<300&&f-data.lastClickTime<300&&t.emit("doubleTap doubleClick",h)),data.lastClickTime=y.now(),y.nextTick((()=>{t.destroyed||(t.allowClick=!0)})),!data.isTouched||!data.isMoved||!t.swipeDirection||0===r.diff||data.currentTranslate===data.startTranslate)return data.isTouched=!1,data.isMoved=!1,void(data.startMoving=!1);let v;if(data.isTouched=!1,data.isMoved=!1,data.startMoving=!1,v=n.followFinger?o?t.translate:-t.translate:-data.currentTranslate,n.cssMode)return;if(n.freeMode){if(v<-t.minTranslate())return void t.slideTo(t.activeIndex);if(v>-t.maxTranslate())return void(t.slides.length<d.length?t.slideTo(d.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(data.velocities.length>1){const e=data.velocities.pop(),r=data.velocities.pop(),o=e.position-r.position,time=e.time-r.time;t.velocity=o/time,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(time>150||y.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,data.velocities.length=0;let e=1e3*n.freeModeMomentumRatio;
2const r=t.velocity*e;let c=t.translate+r;o&&(c=-c);let h,f=!1;const m=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;let v;if(c<t.maxTranslate())n.freeModeMomentumBounce?(c+t.maxTranslate()<-m&&(c=t.maxTranslate()-m),h=t.maxTranslate(),f=!0,data.allowMomentumBounce=!0):c=t.maxTranslate(),n.loop&&n.centeredSlides&&(v=!0);else if(c>t.minTranslate())n.freeModeMomentumBounce?(c-t.minTranslate()>m&&(c=t.minTranslate()+m),h=t.minTranslate(),f=!0,data.allowMomentumBounce=!0):c=t.minTranslate(),n.loop&&n.centeredSlides&&(v=!0);else if(n.freeModeSticky){let e;for(let t=0;t<d.length;t+=1)if(d[t]>-c){e=t;break}c=Math.abs(d[e]-c)<Math.abs(d[e-1]-c)||"next"===t.swipeDirection?d[e]:d[e-1],c=-c}if(v&&t.once("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-c-t.translate)/t.velocity):Math.abs((c-t.translate)/t.velocity),n.freeModeSticky){const r=Math.abs((o?-c:c)-t.translate),l=t.slidesSizesGrid[t.activeIndex];e=r<l?n.speed:r<2*l?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&f?(t.updateProgress(h),t.setTransition(e),t.setTranslate(c),t.transitionStart(!0,t.swipeDirection),t.animating=!0,l.transitionEnd((()=>{t&&!t.destroyed&&data.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout((()=>{t.setTranslate(h),l.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(c),t.setTransition(e),t.setTranslate(c),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,l.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(c),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();return void((!n.freeModeMomentum||m>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let _=0,T=t.slidesSizesGrid[0];for(let i=0;i<c.length;i+=i<n.slidesPerGroupSkip?1:n.slidesPerGroup){const e=i<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==c[i+e]?v>=c[i]&&v<c[i+e]&&(_=i,T=c[i+e]-c[i]):v>=c[i]&&(_=i,T=c[c.length-1]-c[c.length-2])}const w=(v-c[_])/T,S=_<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(m>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=n.longSwipesRatio?t.slideTo(_+S):t.slideTo(_)),"prev"===t.swipeDirection&&(w>1-n.longSwipesRatio?t.slideTo(_+S):t.slideTo(_))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(h.target===t.navigation.nextEl||h.target===t.navigation.prevEl)?h.target===t.navigation.nextEl?t.slideTo(_+S):t.slideTo(_):("next"===t.swipeDirection&&t.slideTo(_+S),"prev"===t.swipeDirection&&t.slideTo(_))}}function L(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:l}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&l!==e.snapGrid&&e.checkOverflow()}function M(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function D(){const e=this,{wrapperEl:t,rtlTranslate:n}=e;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();r=0===o?0:(e.translate-e.minTranslate())/o,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let N=!1;function R(){}var B={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesB
vendor: 5,044 bytes, line 2
2ounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0};const U={update:w,translate:S,transition:E,slide:x,loop:k,grabCursor:C,manipulation:A,events:{attachEvents:function(){const e=this,{params:t,touchEvents:n,el:r,wrapperEl:o}=e;e.onTouchStart=j.bind(e),e.onTouchMove=I.bind(e),e.onTouchEnd=P.bind(e),t.cssMode&&(e.onScroll=D.bind(e)),e.onClick=M.bind(e);const c=!!t.nested;if(!_.touch&&_.pointerEvents)r.addEventListener(n.start,e.onTouchStart,!1),l.addEventListener(n.move,e.onTouchMove,c),l.addEventListener(n.end,e.onTouchEnd,!1);else{if(_.touch){const o=!("touchstart"!==n.start||!_.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(n.start,e.onTouchStart,o),r.addEventListener(n.move,e.onTouchMove,_.passiveListener?{passive:!1,capture:c}:c),r.addEventListener(n.end,e.onTouchEnd,o),n.cancel&&r.addEventListener(n.cancel,e.onTouchEnd,o),N||(l.addEventListener("touchstart",R),N=!0)}(t.simulateTouch&&!O.ios&&!O.android||t.simulateTouch&&!_.touch&&O.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),l.addEventListener("mousemove",e.onTouchMove,c),l.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),t.cssMode&&o.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(O.ios||O.android?"resize orientationchange observerUpdate":"resize observerUpdate",L,!0):e.on("observerUpdate",L,!0)},detachEvents:function(){const e=this,{params:t,touchEvents:n,el:r,wrapperEl:o}=e,c=!!t.nested;if(!_.touch&&_.pointerEvents)r.removeEventListener(n.start,e.onTouchStart,!1),l.removeEventListener(n.move,e.onTouchMove,c),l.removeEventListener(n.end,e.onTouchEnd,!1);else{if(_.touch){const o=!("onTouchStart"!==n.start||!_.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(n.start,e.onTouchStart,o),r.removeEventListener(n.move,e.onTouchMove,c),r.removeEventListener(n.end,e.onTouchEnd,o),n.cancel&&r.removeEventListener(n.cancel,e.onTouchEnd,o)}(t.simulateTouch&&!O.ios&&!O.android||t.simulateTouch&&!_.touch&&O.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),l.removeEventListener("mousemove",e.onTouchMove,c),l.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),t.cssMode&&o.removeEventListener("scroll",e.onScroll),e.off(O.ios||O.android?"resize orientationchange observerUpdate":"resize observerUpdate",L)}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:r=0,params:o,$el:l}=e,c=o.breakpoints;if(!c||c&&0===Object.keys(c).length)return;const d=e.getBreakpoint(c);if(d&&e.currentBreakpoint!==d){const h=d in c?c[d]:void 0;h&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((param=>{const e=h[param];void 0!==e&&(h[param]="slidesPerView"!==param||"AUTO"!==e&&"auto"!==e?"slidesPerView"===param?parseFloat(e):parseInt(e,10):"auto")}));const f=h||e.originalParams,m=o.slidesPerColumn>1,v=f.slidesPerColumn>1;m&&!v?l.removeClass(`${o.containerModifierClass}multirow ${o.containerModifierClass}multirow-column`):!m&&v&&(l.addClass(`${o.containerModifierClass}multirow`),"column"===f.slidesPerColumnFill&&l.addClass(`${o.containerModifierClass}multirow-column`));const _=f.direction&&f.direction!==o.direction,T=o.loop&&(f.slidesPerView!==o.slidesPerView||_);_&&n&&e.changeDirection(),y.extend(e.params,f),y.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=d,T&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",f)}}
2,getBreakpoint:function(e){if(!e)return;let t=!1;const n=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:d.innerHeight*t,point:e}}return{value:e,point:e}}));n.sort(((a,b)=>parseInt(a.value,10)-parseInt(b.value,10)));for(let i=0;i<n.length;i+=1){const{point:e,value:r}=n[i];r<=d.innerWidth&&(t=e)}return t||"max"}},checkOverflow:{checkOverflow:function(){const e=this,t=e.params,n=e.isLocked,r=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?e.isLocked=r<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:n,$el:r}=this,o=[];o.push("initialized"),o.push(t.direction),t.freeMode&&o.push("free-mode"),t.autoHeight&&o.push("autoheight"),n&&o.push("rtl"),t.slidesPerColumn>1&&(o.push("multirow"),"column"===t.slidesPerColumnFill&&o.push("multirow-column")),O.android&&o.push("android"),O.ios&&o.push("ios"),t.cssMode&&o.push("css-mode"),o.forEach((n=>{e.push(t.containerModifierClass+n)})),r.addClass(e.join(" "))},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,r,o,l){let image;function c(){l&&l()}f(e).parent("picture")[0]||e.complete&&o?c():t?(image=new d.Image,image.onload=c,image.onerror=c,r&&(image.sizes=r),n&&(image.srcset=n),t&&(image.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},F={};class z extends T{constructor(...e){let t,n;1===e.length&&e[0].constructor&&e[0].constructor===Object?n=e[0]:[t,n]=e,n||(n={}),n=y.extend({},n),t&&!n.el&&(n.el=t),super(n),Object.keys(U).forEach((e=>{Object.keys(U[e]).forEach((t=>{z.prototype[t]||(z.prototype[t]=U[e][t])}))}));const r=this;void 0===r.modules&&(r.modules={}),Object.keys(r.modules).forEach((e=>{const t=r.modules[e];if(t.params){const e=Object.keys(t.params)[0],r=t.params[e];if("object"!=typeof r||null===r)return;if(!(e in n)||!("enabled"in r))return;!0===n[e]&&(n[e]={enabled:!0}),"object"!=typeof n[e]||"enabled"in n[e]||(n[e].enabled=!0),n[e]||(n[e]={enabled:!1})}}));const o=y.extend({},B);r.useModulesParams(o),r.params=y.extend({},o,F,n),r.originalParams=y.extend({},r.params),r.passedParams=y.extend({},n),r.$=f;const l=f(r.params.el);if(t=l[0],!t)return;if(l.length>1){const e=[];return l.each(((t,r)=>{const o=y.extend({},n,{el:r});e.push(new z(o))})),e}let c;return t.swiper=r,l.data("swiper",r),t&&t.shadowRoot&&t.shadowRoot.querySelector?(c=f(t.shadowRoot.querySelector(`.${r.params.wrapperClass}`)),c.children=e=>l.children(e)):c=l.children(`.${r.params.wrapperClass}`),y.extend(r,{$el:l,el:t,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:f(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===l.css("direction"),rtlTranslate:"horizontal"===r.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===l.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return _.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},_.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:y.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.params.init&&r.init(),r}slidesPerViewDynamic(){const{params:e,slides:t,slidesGrid:n,size:r,activeIndex:o}=this;let l=1;if(e.centeredSlides){let e,n=t[o].swiperSlideSize;
2for(let i=o+1;i<t.length;i+=1)t[i]&&!e&&(n+=t[i].swiperSlideSize,l+=1,n>r&&(e=!0));for(let i=o-1;i>=0;i-=1)t[i]&&!e&&(n+=t[i].swiperSlideSize,l+=1,n>r&&(e=!0))}else for(let i=o+1;i<t.length;i+=1)n[i]-n[o]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let o;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(r(),e.params.autoHeight&&e.updateAutoHeight()):(o=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),o||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.params.direction=e,n.slides.each(((t,n)=>{"vertical"===e?n.style.width="":n.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}init(){const e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}destroy(e=!0,t=!0){const n=this,{params:r,$el:o,$wrapperEl:l,slides:c}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),o.removeAttr("style"),l.removeAttr("style"),c&&c.length&&c.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),y.deleteProps(n)),n.destroyed=!0),null}static extendDefaults(e){y.extend(F,e)}static get extendedDefaults(){return F}static get defaults(){return B}static get Class(){return T}static get $(){return f}}var $={name:"device",proto:{device:O},static:{device:O}},H={name:"support",proto:{support:_},static:{support:_}};const W={isEdge:!!d.navigator.userAgent.match(/Edge/g),isSafari:function(){const e=d.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(d.navigator.userAgent)};var V={name:"browser",proto:{browser:W},static:{browser:W}},Y={name:"resize",create(){const e=this;y.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){d.addEventListener("resize",this.resize.resizeHandler),d.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy(){d.removeEventListener("resize",this.resize.resizeHandler),d.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}};const G={func:d.MutationObserver||d.WebkitMutationObserver,attach(e,t={}){const n=this,r=new(0,G.func)((e=>{if(1===e.length)return void n.emit("observerUpdate",e[0]);const t=function(){n.emit("observerUpdate",e[0])};d.requestAnimationFrame?d.requestAnimationFrame(t):d.setTimeout(t,0)}));r.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(r)},init(){const e=this;if(_.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let i=0;i<t.length;i+=1)e.observer.attach(t[i])}e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}}
2,destroy(){this.observer.observers.forEach((e=>{e.disconnect()})),this.observer.observers=[]}};var X={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){const e=this;y.extend(e,{observer:{init:G.init.bind(e),attach:G.attach.bind(e),destroy:G.destroy.bind(e),observers:[]}})},on:{init(){this.observer.init()},destroy(){this.observer.destroy()}}};const K={update(e){const t=this,{slidesPerView:n,slidesPerGroup:r,centeredSlides:o}=t.params,{addSlidesBefore:l,addSlidesAfter:c}=t.params.virtual,{from:d,to:h,slides:f,slidesGrid:m,renderSlide:v,offset:_}=t.virtual;t.updateActiveIndex();const T=t.activeIndex||0;let w,S,E;w=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o?(S=Math.floor(n/2)+r+l,E=Math.floor(n/2)+r+c):(S=n+(r-1)+l,E=r+c);const x=Math.max((T||0)-E,0),k=Math.min((T||0)+S,f.length-1),C=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function A(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(y.extend(t.virtual,{from:x,to:k,offset:C,slidesGrid:t.slidesGrid}),d===x&&h===k&&!e)return t.slidesGrid!==m&&C!==_&&t.slides.css(w,`${C}px`),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:C,from:x,to:k,slides:function(){const e=[];for(let i=x;i<=k;
2i+=1)e.push(f[i]);return e}()}),void A();const O=[],j=[];if(e)t.$wrapperEl.find(`.${t.params.slideClass}`).remove();else for(let i=d;i<=h;i+=1)(i<x||i>k)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${i}"]`).remove();for(let i=0;i<f.length;i+=1)i>=x&&i<=k&&(void 0===h||e?j.push(i):(i>h&&j.push(i),i<d&&O.push(i)));j.forEach((e=>{t.$wrapperEl.append(v(f[e],e))})),O.sort(((a,b)=>b-a)).forEach((e=>{t.$wrapperEl.prepend(v(f[e],e))})),t.$wrapperEl.children(".swiper-slide").css(w,`${C}px`),A()},renderSlide(e,t){const n=this,r=n.params.virtual;if(r.cache&&n.virtual.cache[t])return n.virtual.cache[t];const o=r.renderSlide?f(r.renderSlide.call(n,e,t)):f(`<div class="${n.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return o.attr("data-swiper-slide-index")||o.attr("data-swiper-slide-index",t),r.cache&&(n.virtual.cache[t]=o),o},appendSlide(e){const t=this;if("object"==typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.push(e[i]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide(e){const t=this,n=t.activeIndex;let r=n+1,o=1;if(Array.isArray(e)){for(let i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.unshift(e[i]);r=n+e.length,o=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){const e=t.virtual.cache,n={};Object.keys(e).forEach((t=>{const r=e[t],l=r.attr("data-swiper-slide-index");l&&r.attr("data-swiper-slide-index",parseInt(l,10)+1),n[parseInt(t,10)+o]=r})),t.virtual.cache=n}t.virtual.update(!0),t.slideTo(r,0)},removeSlide(e){const t=this;if(null==e)return;let n=t.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)},removeAllSlides(){const e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}};var Q={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create(){const e=this;y.extend(e,{virtual:{update:K.update.bind(e),appendSlide:K.appendSlide.bind(e),prependSlide:K.prependSlide.bind(e),removeSlide:K.removeSlide.bind(e),removeAllSlides:K.removeAllSlides.bind(e),renderSlide:K.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit(){const e=this;if(!e.params.virtual.enabled)return;e.classNames.push(`${e.params.containerModifierClass}virtual`);const t={watchSlidesProgress:!0};y.extend(e.params,t),y.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update(
2)},setTranslate(){this.params.virtual.enabled&&this.virtual.update()}}};const J={handle(e){const t=this,{rtlTranslate:n}=t;let r=e;r.originalEvent&&(r=r.originalEvent);const o=r.keyCode||r.charCode,c=t.params.keyboard.pageUpDown,h=c&&33===o,f=c&&34===o,m=37===o,v=39===o,y=38===o,_=40===o;if(!t.allowSlideNext&&(t.isHorizontal()&&v||t.isVertical()&&_||f))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&m||t.isVertical()&&y||h))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||l.activeElement&&l.activeElement.nodeName&&("input"===l.activeElement.nodeName.toLowerCase()||"textarea"===l.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(h||f||m||v||y||_)){let e=!1;if(t.$el.parents(`.${t.params.slideClass}`).length>0&&0===t.$el.parents(`.${t.params.slideActiveClass}`).length)return;const r=d.innerWidth,o=d.innerHeight,l=t.$el.offset();n&&(l.left-=t.$el[0].scrollLeft);const c=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]];for(let i=0;i<c.length;i+=1){const t=c[i];t[0]>=0&&t[0]<=r&&t[1]>=0&&t[1]<=o&&(e=!0)}if(!e)return}t.isHorizontal()?((h||f||m||v)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((f||v)&&!n||(h||m)&&n)&&t.slideNext(),((h||m)&&!n||(f||v)&&n)&&t.slidePrev()):((h||f||y||_)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(f||_)&&t.slideNext(),(h||y)&&t.slidePrev()),t.emit("keyPress",o)}},enable(){const e=this;e.keyboard.enabled||(f(l).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable(){const e=this;e.keyboard.enabled&&(f(l).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}};var Z={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create(){const e=this;y.extend(e,{keyboard:{enabled:!1,enable:J.enable.bind(e),disable:J.disable.bind(e),handle:J.handle.bind(e)}})},on:{init(){const e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy(){const e=this;e.keyboard.enabled&&e.keyboard.disable()}}};const ee={lastScrollTime:y.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:()=>d.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){const e="onwheel";let t=e in l;if(!t){const element=l.createElement("div");element.setAttribute(e,"return;"),t="function"==typeof element.onwheel}return!t&&l.implementation&&l.implementation.hasFeature&&!0!==l.implementation.hasFeature("","")&&(t=l.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize(e){let t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),e.shiftKey&&!r&&(r=o,o=0),(r||o)&&e.deltaMode&&(1===e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}},handleMouseEnter(){this.mouseEntered=!0},handleMouseLeave(){this.mouseEntered=!1},handle(e){let t=e;const n=this,r=n.params.mousewheel;n.params.cssMode&&t.preventDefault();let o=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(o=f(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!o[0].contains(t.target)&&!r.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let l=0;const c=n.rtlTranslate?-1:1,data=ee.normalize(t);if(r.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(data.pixelX)>Math.abs(data.pixelY)))return!0;l=-data.pixelX*c}else{if(!(Math.abs(data.pixelY)>Math.abs(data.pixelX)))return!0;l=-data.pixelY}else l=Math.abs(data.pixelX)>Math.abs(data.pixelY)?-data.pixelX*c:-data.pixelY;if(0===l)return!0;if(r.invert&&(l=-l),n.params.freeMode){const e={time:y.now(),delta:Math.abs(l),direction:Math.sign(l)},{lastEventBeforeSnap:o}=n.mousewheel,c=o&&e.time<o.time+500&&e.delta<=o.delta&&e.direction===o.direction;if(!c){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();let o=n.getTranslate()+l*r.sensitivity;const d=n.isBeginning,h=n.isEnd;if(o>=n.minTranslate()&&(o=n.minTranslate()),o<=n.maxTranslate()&&(o=n.maxTranslate()),n.setTransition(0),n.setTranslate(o),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!d&&n.isBeginning||!h&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;const t=n.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const r=t.length?t[t.length-1]:void 0,o=t[0];if(t.push(e),r&&(e.delta>r.delta||e.direction!==r.direction))t.splice(0);else if(t.length>=15&&e.time-o.time<500&&o.delta-e.delta>=1&&e.delta<=6){const r=l>0?.8:.2;n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.mousewheel.timeout=y.nextTick((()=>{n.slideToClosest(n.params.speed,!0,void 0,r)}),0)}n.mousewheel.timeout||(n.mousewheel.timeout=y.nextTick((()=>{n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)}),500))}if(c||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),o===n.minTranslate()||o===n.maxTranslate())return!0}}else{const t={time:y.now(),delta:Math.abs(l),direction:Math.sign(l),raw:e},r=n.mousewheel.recentWheelEvents;r.length>=2&&r.shift();const o=r.length?r[r.length-1]:void 0;if(r.push(t),o?(t.direction!==o.direction||t.delta>o.delta||t.time>o.time+150)&&n.mousewheel.animateSlider(t):n.mousewheel.animateSlider(t),n.mousewheel.releaseScroll(t))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider(e){const t=this;return e.delta>=6&&y.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new d.Date).getTime(),!1)},releaseScroll(e){const t=this,n=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&n.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&n.releaseOnEdges)return!0;return!1},enable(){const e=this,t=ee.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=f(e.params.mousewheel.eventsTarged)),n.on("mouseenter",e.mousewheel.handleMouseEnter),n.on("mouseleave",e.mousewheel.handleMouseLeave),n.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this,t=ee.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=f(e.params.mousewheel.eventsTarged)),n.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}};
2const te={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:n,$prevEl:r}=e.navigation;r&&r.length>0&&(e.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){const t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick(e){const t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let n,r;t.nextEl&&(n=f(t.nextEl),e.params.uniqueNavElements&&"string"==typeof t.nextEl&&n.length>1&&1===e.$el.find(t.nextEl).length&&(n=e.$el.find(t.nextEl))),t.prevEl&&(r=f(t.prevEl),e.params.uniqueNavElements&&"string"==typeof t.prevEl&&r.length>1&&1===e.$el.find(t.prevEl).length&&(r=e.$el.find(t.prevEl))),n&&n.length>0&&n.on("click",e.navigation.onNextClick),r&&r.length>0&&r.on("click",e.navigation.onPrevClick),y.extend(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}};const ie={update(){const e=this,t=e.rtl,n=e.params.pagination;if(!n.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let l;const c=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(l=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),l>r-1-2*e.loopedSlides&&(l-=r-2*e.loopedSlides),l>c-1&&(l-=c),l<0&&"bullets"!==e.params.paginationType&&(l=c+l)):l=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let c,d,h;if(n.dynamicBullets&&(e.pagination.bulletSize=r.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=l-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),c=l-e.pagination.dynamicBulletIndex,d=c+(Math.min(r.length,n.dynamicMainBullets)-1),h=(d+c)/2),r.removeClass(`${n.bulletActiveClass} ${n.bulletActiveClass}-next ${n.bulletActiveClass}-next-next ${n.bulletActiveClass}-prev ${n.bulletActiveClass}-prev-prev ${n.bulletActiveClass}-main`),o.length>1)r.each(((e,t)=>{const r=f(t),o=r.index();o===l&&r.addClass(n.bulletActiveClass),n.dynamicBullets&&(o>=c&&o<=d&&r.addClass(`${n.bulletActiveClass}-main`),o===c&&r.prev().addClass(`${n.bulletActiveClass}-prev`).prev().addClass(`${n.bulletActiveClass}-prev-prev`),o===d&&r.next().addClass(`${n.bulletActiveClass}-next`).next().addClass(`${n.bulletActiveClass}-next-next`))}));else{const t=r.eq(l),o=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=r.eq(c),l=r.eq(d);for(let i=c;i<=d;i+=1)r.eq(i).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(o>=r.length-n.dynamicMainBullets){for(let i=n.dynamicMainBullets;i>=0;i-=1)r.eq(r.length-i).addClass(`${n.bulletActiveClass}-main`);r.eq(r.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else t.prev().addClass(`${n.bulletActiveClass}-prev`).prev().addClass(`${n.bulletActiveClass}-prev-prev`),l.next().addClass(`${n.bulletActiveClass}-next`).next().addClass(`${n.bulletActiveClass}-next-next`);else t.prev().addClass(`${n.bulletActiveClass}-prev`).prev().addClass(`${n.bulletActiveClass}-prev-prev`),l.next().addClass(`${n.bulletActiveClass}-next`).next().addClass(`${n.bulletActiveClass}-next-next`)}}if(n.dynamicBullets){const o=Math.min(r.length,n.dynamicMainBullets+4),l=(e.pagination.bulletSize*o-e.pagination.bulletSize)/2-h*e.pagination.bulletSize,c=t?"right":"left";r.css(e.isHorizontal()?c:"top",`${l}px`)}}if("fraction"===n.type&&(o.find(`.${n.currentClass}`).text(n.formatFractionCurrent(l+1)),o.find(`.${n.totalClass}`).text(n.formatFractionTotal(c))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(l+1)/c;let d=1,h=1;"horizontal"===t?d=r:h=r,o.find(`.${n.progressbarFillClass}
2`).transform(`translate3d(0,0,0) scaleX(${d}) scaleY(${h})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(o.html(n.renderCustom(e,l+1,c)),e.emit("paginationRender",e,o[0])):e.emit("paginationUpdate",e,o[0]),o[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let o="";if("bullets"===t.type){const l=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let i=0;i<l;i+=1)t.renderBullet?o+=t.renderBullet.call(e,i,t.bulletClass):o+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(o),e.pagination.bullets=r.find(`.${t.bulletClass}`)}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(o)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let n=f(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",`.${t.bulletClass}`,(function(t){t.preventDefault();let n=f(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),y.extend(e.pagination,{$el:n,el:n[0]}))},destroy(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",`.${t.bulletClass}`)}};const ne={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n,progress:progress}=e,{dragSize:r,trackSize:o,$dragEl:l,$el:c}=t,d=e.params.scrollbar;let h=r,f=(o-r)*progress;n?(f=-f,f>0?(h=r-f,f=0):-f+r>o&&(h=o+f)):f<0?(h=r+f,f=0):f+r>o&&(h=o-f),e.isHorizontal()?(l.transform(`translate3d(${f}px, 0, 0)`),l[0].style.width=`${h}px`):(l.transform(`translate3d(0px, ${f}px, 0)`),l[0].style.height=`${h}px`),d.hide&&(clearTimeout(e.scrollbar.timeout),c[0].style.opacity=1,e.scrollbar.timeout=setTimeout((()=>{c[0].style.opacity=0,c.transition(400)}),1e3))},setTransition(e){const t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:n,$el:r}=t;n[0].style.width="",n[0].style.height="";const o=e.isHorizontal()?r[0].offsetWidth:r[0].offsetHeight,l=e.size/e.virtualSize,c=l*(o/e.size);let d;d="auto"===e.params.scrollbar.dragSize?o*l:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=`${d}px`:n[0].style.height=`${d}px`,r[0].style.display=l>=1?"none":"",e.params.scrollbar.hide&&(r[0].style.opacity=0),y.extend(t,{trackSize:o,divider:l,moveDivider:c,dragSize:d}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition(e){const t=this,{scrollbar:n,rtlTranslate:r}=t,{$el:o,dragSize:l,trackSize:c,dragStartPos:d}=n;let h;h=(n.getPointerPosition(e)-o.offset()[t.isHorizontal()?"left":"top"]-(null!==d?d:l/2))/(c-l),h=Math.max(Math.min(h,1),0),r&&(h=1-h);const f=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*h;t.updateProgress(f),t.setTranslate(f),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart(e){const t=this,n=t.params.scrollbar,{scrollbar:r,$wrapperEl:o}=t,{$el:l,$dragEl:c}=r;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===c[0]||e.target===c?r.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),o.transition(100),c.transition(100),r.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),l.transition(0),n.hide&&l.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove(e){const t=this,{scrollbar:n,$wrapperEl:r}=t,{$el:o,$dragEl:l}=n;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,n.setDragPosition(e),r.transition(0),o.transition(0),l.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,n=t.params.scrollbar,{scrollbar:r,$wrapperEl:o}=t,{$el:l}=r;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),o.transition("")),n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=y.nextTick((()=>{l.css("opacity",0),l.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:r,params:o}=e,c=t.$el[0],d=!(!_.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!_.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};_.touch?(c.addEventListener(n.start,e.scrollbar.onDragStart,d),c.addEventListener(n.move,e.
2scrollbar.onDragMove,d),c.addEventListener(n.end,e.scrollbar.onDragEnd,h)):(c.addEventListener(r.start,e.scrollbar.onDragStart,d),l.addEventListener(r.move,e.scrollbar.onDragMove,d),l.addEventListener(r.end,e.scrollbar.onDragEnd,h))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:r,params:o}=e,c=t.$el[0],d=!(!_.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!_.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};_.touch?(c.removeEventListener(n.start,e.scrollbar.onDragStart,d),c.removeEventListener(n.move,e.scrollbar.onDragMove,d),c.removeEventListener(n.end,e.scrollbar.onDragEnd,h)):(c.removeEventListener(r.start,e.scrollbar.onDragStart,d),l.removeEventListener(r.move,e.scrollbar.onDragMove,d),l.removeEventListener(r.end,e.scrollbar.onDragEnd,h))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:n}=e,r=e.params.scrollbar;let o=f(r.el);e.params.uniqueNavElements&&"string"==typeof r.el&&o.length>1&&1===n.find(r.el).length&&(o=n.find(r.el));let l=o.find(`.${e.params.scrollbar.dragClass}`);0===l.length&&(l=f(`<div class="${e.params.scrollbar.dragClass}"></div>`),o.append(l)),y.extend(t,{$el:o,el:o[0],$dragEl:l,dragEl:l[0]}),r.draggable&&t.enableDraggable()},destroy(){this.scrollbar.disableDraggable()}};const re={setTransform(e,progress){const{rtl:t}=this,n=f(e),r=t?-1:1,p=n.attr("data-swiper-parallax")||"0";let o=n.attr("data-swiper-parallax-x"),l=n.attr("data-swiper-parallax-y");const c=n.attr("data-swiper-parallax-scale"),d=n.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=p,l="0"):(l=p,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*progress*r+"%":o*progress*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*progress+"%":l*progress+"px",null!=d){const e=d-(d-1)*(1-Math.abs(progress));n[0].style.opacity=e}if(null==c)n.transform(`translate3d(${o}, ${l}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(progress));n.transform(`translate3d(${o}, ${l}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:n,progress:progress,snapGrid:r}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(((t,n)=>{e.parallax.setTransform(n,progress)})),n.each(((t,n)=>{let o=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(t/2)-progress*(r.length-1)),o=Math.min(Math.max(o,-1),1),f(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(((t,n)=>{e.parallax.setTransform(n,o)}))}))},setTransition(e=this.params.speed){const{$el:t}=this;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(((t,n)=>{const r=f(n);let o=parseInt(r.attr("data-swiper-parallax-duration"),10)||e;0===e&&(o=0),r.transition(o)}))}};const ae={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,o=e.targetTouches[1].pageY;return Math.sqrt((r-t)**2+(o-n)**2)},onGestureStart(e){const t=this,n=t.params.zoom,r=t.zoom,{gesture:o}=r;if(r.fakeGestureTouched=!1,r.fakeGestureMoved=!1,!_.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;r.fakeGestureTouched=!0,o.scaleStart=ae.getDistanceBetweenTouches(e)}o.$slideEl&&o.$slideEl.length||(o.$slideEl=f(e.target).closest(`.${t.params.slideClass}`),0===o.$slideEl.length&&(o.$slideEl=t.slides.eq(t.activeIndex)),o.$imageEl=o.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),o.$imageWrapEl=o.$imageEl.parent(`.${n.containerClass}`),o.maxRatio=o.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==o.$imageWrapEl.length)?(o.$imageEl&&o.$imageEl.transition(0),t.zoom.isScaling=!0):o.$imageEl=void 0},onGestureChange(e){const t=this.params.zoom,n=this.zoom,{gesture:r}=n;if(!_.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,r.scaleMove=ae.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length&&(n.scale=_.gestures?e.scale*n.currentScale:r.scaleMove/r.scaleStart*n.currentScale,n.scale>r.maxRatio&&(n.scale=r.maxRatio-1+(n.scale-r.maxRatio+1)**.5),n.scale<t.minRatio&&(n.scale=t.minRatio+1-(t.minRatio-n.scale+1)**.5),r.$imageEl.transform(`translate3d(0,
20,0) scale(${n.scale})`))},onGestureEnd(e){const t=this,n=t.params.zoom,r=t.zoom,{gesture:o}=r;if(!_.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!O.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}o.$imageEl&&0!==o.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,o.maxRatio),n.minRatio),o.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${r.scale})`),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(o.$slideEl=void 0))},onTouchStart(e){const t=this.zoom,{gesture:n,image:image}=t;n.$imageEl&&0!==n.$imageEl.length&&(image.isTouched||(O.android&&e.cancelable&&e.preventDefault(),image.isTouched=!0,image.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,image.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove(e){const t=this,n=t.zoom,{gesture:r,image:image,velocity:o}=n;if(!r.$imageEl||0===r.$imageEl.length)return;if(t.allowClick=!1,!image.isTouched||!r.$slideEl)return;image.isMoved||(image.width=r.$imageEl[0].offsetWidth,image.height=r.$imageEl[0].offsetHeight,image.startX=y.getTranslate(r.$imageWrapEl[0],"x")||0,image.startY=y.getTranslate(r.$imageWrapEl[0],"y")||0,r.slideWidth=r.$slideEl[0].offsetWidth,r.slideHeight=r.$slideEl[0].offsetHeight,r.$imageWrapEl.transition(0),t.rtl&&(image.startX=-image.startX,image.startY=-image.startY));const l=image.width*n.scale,c=image.height*n.scale;if(!(l<r.slideWidth&&c<r.slideHeight)){if(image.minX=Math.min(r.slideWidth/2-l/2,0),image.maxX=-image.minX,image.minY=Math.min(r.slideHeight/2-c/2,0),image.maxY=-image.minY,image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!image.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(image.minX)===Math.floor(image.startX)&&image.touchesCurrent.x<image.touchesStart.x||Math.floor(image.maxX)===Math.floor(image.startX)&&image.touchesCurrent.x>image.touchesStart.x))return void(image.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(image.minY)===Math.floor(image.startY)&&image.touchesCurrent.y<image.touchesStart.y||Math.floor(image.maxY)===Math.floor(image.startY)&&image.touchesCurrent.y>image.touchesStart.y))return void(image.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),image.isMoved=!0,image.currentX=image.touchesCurrent.x-image.touchesStart.x+image.startX,image.currentY=image.touchesCurrent.y-image.touchesStart.y+image.startY,image.currentX<image.minX&&(image.currentX=image.minX+1-(image.minX-image.currentX+1)**.8),image.currentX>image.maxX&&(image.currentX=image.maxX-1+(image.currentX-image.maxX+1)**.8),image.currentY<image.minY&&(image.currentY=image.minY+1-(image.minY-image.currentY+1)**.8),image.currentY>image.maxY&&(image.currentY=image.maxY-1+(image.currentY-image.maxY+1)**.8),o.prevPositionX||(o.prevPositionX=image.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=image.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(image.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(image.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(image.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(image.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=image.touchesCurrent.x,o.prevPositionY=image.touchesCurrent.y,o.prevTime=Date.now(),r.$imageWrapEl.transform(`translate3d(${image.currentX}px, ${image.currentY}px,0)`)}},onTouchEnd(){const e=this.zoom,{gesture:t,image:image,velocity:n}=e;if(!t.$imageEl||0===t.$imageEl.length)return;if(!image.isTouched||!image.isMoved)return image.isTouched=!1,void(image.isMoved=!1);image.isTouched=!1,image.isMoved=!1;let r=300,o=300;const l=n.x*r,c=image.currentX+l,d=n.y*o,h=image.currentY+d;0!==n.x&&(r=Math.abs((c-image.currentX)/n.x)),0!==n.y&&(o=Math.abs((h-image.currentY)/n.y));const f=Math.max(r,o);image.currentX=c,image.currentY=h;const m=image.width*e.scale,v=image.height*e.scale;image.minX=Math.min(t.slideWidth/2-m/2,0),image.maxX=-image.minX,image.minY=Math.min(t.slideHeight/2-v/2,0),image.maxY=-image.minY,image.currentX=Math.max(Math.min(image.currentX,image.maxX),image.minX),image.currentY=Math.max(Math.min(image.currentY,image.maxY),image.minY),t.$imageWrapEl.transition(f).transform(`translate3d(${image.currentX}px, ${image.currentY}px,0)`)},onTransitionEnd(){const e=this,t=e.zoom,{gesture:n}=t;n.$slideEl&&e.previousIndex!==e.activeIndex&&(n.$imageEl&&n.$imageEl.transform("translate3d(0,
20,0) scale(1)"),n.$imageWrapEl&&n.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle(e){const t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in(e){const t=this,n=t.zoom,r=t.params.zoom,{gesture:o,image:image}=n;if(o.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?o.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):o.$slideEl=t.slides.eq(t.activeIndex),o.$imageEl=o.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),o.$imageWrapEl=o.$imageEl.parent(`.${r.containerClass}`)),!o.$imageEl||0===o.$imageEl.length)return;let l,c,d,h,f,m,v,y,_,T,w,S,E,x,k,C,A,O;o.$slideEl.addClass(`${r.zoomedSlideClass}`),void 0===image.touchesStart.x&&e?(l="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,c="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(l=image.touchesStart.x,c=image.touchesStart.y),n.scale=o.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,n.currentScale=o.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,e?(A=o.$slideEl[0].offsetWidth,O=o.$slideEl[0].offsetHeight,d=o.$slideEl.offset().left,h=o.$slideEl.offset().top,f=d+A/2-l,m=h+O/2-c,_=o.$imageEl[0].offsetWidth,T=o.$imageEl[0].offsetHeight,w=_*n.scale,S=T*n.scale,E=Math.min(A/2-w/2,0),x=Math.min(O/2-S/2,0),k=-E,C=-x,v=f*n.scale,y=m*n.scale,v<E&&(v=E),v>k&&(v=k),y<x&&(y=x),y>C&&(y=C)):(v=0,y=0),o.$imageWrapEl.transition(300).transform(`translate3d(${v}px, ${y}px,0)`),o.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${n.scale})`)},out(){const e=this,t=e.zoom,n=e.params.zoom,{gesture:r}=t;r.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?r.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):r.$slideEl=e.slides.eq(e.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent(`.${n.containerClass}`)),r.$imageEl&&0!==r.$imageEl.length&&(t.scale=1,t.currentScale=1,r.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),r.$slideEl.removeClass(`${n.zoomedSlideClass}`),r.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const n=!("touchstart"!==e.touchEvents.start||!_.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},r=!_.passiveListener||{passive:!1,capture:!0},o=`.${e.params.slideClass}`;_.gestures?(e.$wrapperEl.on("gesturestart",o,t.onGestureStart,n),e.$wrapperEl.on("gesturechange",o,t.onGestureChange,n),e.$wrapperEl.on("gestureend",o,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,o,t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,o,t.onGestureChange,r),e.$wrapperEl.on(e.touchEvents.end,o,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,o,t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,t.onTouchMove,r)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const n=!("touchstart"!==e.touchEvents.start||!_.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},r=!_.passiveListener||{passive:!1,capture:!0},o=`.${e.params.slideClass}`;_.gestures?(e.$wrapperEl.off("gesturestart",o,t.onGestureStart,n),e.$wrapperEl.off("gesturechange",o,t.onGestureChange,n),e.$wrapperEl.off("gestureend",o,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,o,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,o,t.onGestureChange,r),e.$wrapperEl.off(e.touchEvents.end,o,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,o,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,t.onTouchMove,r)}};const se={loadInSlide(e,t=!0){const n=this,r=n.params.lazy;if(void 0===e)return;if(0===n.slides.length)return;const o=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children(`.${n.params.slideClass}[data-swiper-slide-index="${e}"]`):n.slides.eq(e);let l=o.find(`.${r.elementClass}:not(.${r.loadedClass}):not(.${r.loadingClass})`);!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(l=l.add(o[0])),0!==l.length&&l.each(((e,l)=>{const c=f(l);c.addClass(r.loadingClass);const d=c.attr("data-background"),h=c.attr("data-src"),m=c.attr("data-srcset"),v=c.attr("data-sizes"),y=c.parent("picture");n.loadImage(c[0],h||d,m,v,!1,(()=>
2{if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(d?(c.css("background-image",`url("${d}")`),c.removeAttr("data-background")):(m&&(c.attr("srcset",m),c.removeAttr("data-srcset")),v&&(c.attr("sizes",v),c.removeAttr("data-sizes")),y.length&&y.children("source").each(((e,t)=>{const n=f(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))})),h&&(c.attr("src",h),c.removeAttr("data-src"))),c.addClass(r.loadedClass).removeClass(r.loadingClass),o.find(`.${r.preloaderClass}`).remove(),n.params.loop&&t){const e=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){const t=n.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${n.params.slideDuplicateClass})`);n.lazy.loadInSlide(t.index(),!1)}else{const t=n.$wrapperEl.children(`.${n.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);n.lazy.loadInSlide(t.index(),!1)}}n.emit("lazyImageReady",o[0],c[0]),n.params.autoHeight&&n.updateAutoHeight()}})),n.emit("lazyImageLoad",o[0],c[0])}))},load(){const e=this,{$wrapperEl:t,params:n,slides:r,activeIndex:o}=e,l=e.virtual&&n.virtual.enabled,c=n.lazy;let d=n.slidesPerView;function h(e){if(l){if(t.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(r[e])return!0;return!1}function m(e){return l?f(e).attr("data-swiper-slide-index"):f(e).index()}if("auto"===d&&(d=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(`.${n.slideVisibleClass}`).each(((t,n)=>{const r=l?f(n).attr("data-swiper-slide-index"):f(n).index();e.lazy.loadInSlide(r)}));else if(d>1)for(let i=o;i<o+d;i+=1)h(i)&&e.lazy.loadInSlide(i);else e.lazy.loadInSlide(o);if(c.loadPrevNext)if(d>1||c.loadPrevNextAmount&&c.loadPrevNextAmount>1){const t=c.loadPrevNextAmount,n=d,l=Math.min(o+n+Math.max(t,n),r.length),f=Math.max(o-Math.max(n,t),0);for(let i=o+d;i<l;i+=1)h(i)&&e.lazy.loadInSlide(i);for(let i=f;i<o;i+=1)h(i)&&e.lazy.loadInSlide(i)}else{const r=t.children(`.${n.slideNextClass}`);r.length>0&&e.lazy.loadInSlide(m(r));const o=t.children(`.${n.slidePrevClass}`);o.length>0&&e.lazy.loadInSlide(m(o))}}};const oe={LinearSpline:function(e,t){const n=function(){let e,t,n;return(r,o)=>{for(t=-1,e=r.length;e-t>1;)n=e+t>>1,r[n]<=o?t=n:e=n;return e}}();let r,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=n(this.x,e),r=o-1,(e-this.x[r])*(this.y[o]-this.y[r])/(this.x[o]-this.x[r])+this.y[r]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new oe.LinearSpline(t.slidesGrid,e.slidesGrid):new oe.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const n=this,r=n.controller.control;let o,l;function c(e){const t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),l=-n.controller.spline.interpolate(-t)),l&&"container"!==n.params.controller.by||(o=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),l=(t-n.minTranslate())*o+e.minTranslate()),n.params.controller.inverse&&(l=e.maxTranslate()-l),e.updateProgress(l),e.setTranslate(l,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(let i=0;i<r.length;i+=1)r[i]!==t&&r[i]instanceof z&&c(r[i]);else r instanceof z&&t!==r&&c(r)},setTransition(e,t){const n=this,r=n.controller.control;let i;function o(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&y.nextTick((()=>{t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((()=>{r&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(i=0;i<r.length;i+=1)r[i]!==t&&r[i]instanceof z&&o(r[i]);else r instanceof z&&t!==r&&o(r)}};const le={makeElFocusable:e=>(e.attr("tabIndex","0"),e),makeElNotFocusable:e=>(e.attr("tabIndex","-1"),e),addElRole:(e,t)=>(e.attr("role",t),e),addElLabel:(e,label)=>(e.attr("aria-label",label),e),disableEl:e=>(e.attr("aria-disabled",!0),e),enableEl:e=>(e.attr("aria-disabled",!1),e),onEnterKey(e){const t=this,n=t.params.a11y;if(13!==e.keyCode)return;const r=f(e.target);t.navigation&&t.navigation.$nextEl&&r.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&r.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&r.is(`.${t.params.pagination.bulletClass}`)&&r[0].click()},notify(e){const t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation(){const e=this;if(e.params.loop||!e.navigation)return;const{$nextEl:t,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),t&&t.length>0&&(e.isEnd?(e.a11y.disableEl(t),e.a11y.makeElNotFocusable(t)):(e.a11y.enableEl(t),e.a11y.makeElFocusable(t)))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(((n,r)=>{const o=f(r);e.a11y.makeElFocusable(o),e.a11y.addElRole(o,"button"),e.a11y.addElLabel(o,t.paginationBulletMessage.replace(/\{\{index\}\}/,o.index()+1))}))},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let n,r;e.navigation&&e.navigation.$nextEl&&(n=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(r=e.navigation.$prevEl),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.nextSlideMessage),n.on("keydown",e.a11y.onEnterKey)),r&&(e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.prevSlideMessage),r.on("key
2down",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",`.${e.params.pagination.bulletClass}`,e.a11y.onEnterKey)},destroy(){const e=this;let t,n;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),n&&n.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown",`.${e.params.pagination.bulletClass}`,e.a11y.onEnterKey)}};const ue={init(){const e=this;if(!e.params.history)return;if(!d.history||!d.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=ue.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||d.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){const e=this;e.params.history.replaceState||d.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState(){const e=this;e.history.paths=ue.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues(){const e=d.location.pathname.slice(1).split("/").filter((e=>""!==e)),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory(e,t){const n=this;if(!n.history.initialized||!n.params.history.enabled)return;const r=n.slides.eq(t);let o=ue.slugify(r.attr("data-history"));d.location.pathname.includes(e)||(o=`${e}/${o}`);const l=d.history.state;l&&l.value===o||(n.params.history.replaceState?d.history.replaceState({value:o},null,o):d.history.pushState({value:o},null,o))},slugify:text=>text.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),scrollToSlide(e,t,n){const r=this;if(t)for(let i=0,o=r.slides.length;i<o;i+=1){const o=r.slides.eq(i);if(ue.slugify(o.attr("data-history"))===t&&!o.hasClass(r.params.slideDuplicateClass)){const t=o.index();r.slideTo(t,e,n)}}else r.slideTo(0,e,n)}};const ce={onHashCange(){const e=this;e.emit("hashChange");const t=l.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const n=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===n)return;e.slideTo(n)}},setHash(){const e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&d.history&&d.history.replaceState)d.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),e.emit("hashSet");else{const t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");l.location.hash=n||"",e.emit("hashSet")}},init(){const e=this;if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;e.hashNavigation.initialized=!0;const t=l.location.hash.replace("#","");if(t){const n=0;for(let i=0,r=e.slides.length;i<r;i+=1){const r=e.slides.eq(i);if((r.attr("data-hash")||r.attr("data-history"))===t&&!r.hasClass(e.params.slideDuplicateClass)){const t=r.index();e.slideTo(t,n,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&f(d).on("hashchange",e.hashNavigation.onHashCange)},destroy(){const e=this;e.params.hashNavigation.watchState&&f(d).off("hashchange",e.hashNavigation.onHashCange)}};const de={run(){const e=this,t=e.slides.eq(e.activeIndex);let n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=y.nextTick((()=>{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,
2!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),n)},start(){const e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop(){const e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause(e){const t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}};const he={setTranslate(){const e=this,{slides:t}=e;for(let i=0;i<t.length;i+=1){const t=e.slides.eq(i);let n=-t[0].swiperSlideOffset;e.params.virtualTranslate||(n-=e.translate);let r=0;e.isHorizontal()||(r=n,n=0);const o=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:o}).transform(`translate3d(${n}px, ${r}px, 0px)`)}},setTransition(e){const t=this,{slides:n,$wrapperEl:r}=t;if(n.transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.transitionEnd((()=>{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let i=0;i<n.length;i+=1)r.trigger(n[i])}))}}};const pe={setTranslate(){const e=this,{$el:t,$wrapperEl:n,slides:r,width:o,height:l,rtlTranslate:c,size:d}=e,h=e.params.cubeEffect,m=e.isHorizontal(),v=e.virtual&&e.params.virtual.enabled;let y,_=0;h.shadow&&(m?(y=n.find(".swiper-cube-shadow"),0===y.length&&(y=f('<div class="swiper-cube-shadow"></div>'),n.append(y)),y.css({height:`${o}px`})):(y=t.find(".swiper-cube-shadow"),0===y.length&&(y=f('<div class="swiper-cube-shadow"></div>'),t.append(y))));for(let i=0;i<r.length;i+=1){const e=r.eq(i);let t=i;v&&(t=parseInt(e.attr("data-swiper-slide-index"),10));let n=90*t,o=Math.floor(n/360);c&&(n=-n,o=Math.floor(-n/360));const progress=Math.max(Math.min(e[0].progress,1),-1);let l=0,y=0,T=0;t%4==0?(l=4*-o*d,T=0):(t-1)%4==0?(l=0,T=4*-o*d):(t-2)%4==0?(l=d+4*o*d,T=d):(t-3)%4==0&&(l=-d,T=3*d+4*d*o),c&&(l=-l),m||(y=l,l=0);const w=`rotateX(${m?0:-n}deg) rotateY(${m?n:0}deg) translate3d(${l}px, ${y}px, ${T}px)`;if(progress<=1&&progress>-1&&(_=90*t+90*progress,c&&(_=90*-t-90*progress)),e.transform(w),h.slideShadows){let t=m?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),n=m?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=f(`<div class="swiper-slide-shadow-${m?"left":"top"}"></div>`),e.append(t)),0===n.length&&(n=f(`<div class="swiper-slide-shadow-${m?"right":"bottom"}"></div>`),e.append(n)),t.length&&(t[0].style.opacity=Math.max(-progress,0)),n.length&&(n[0].style.opacity=Math.max(progress,0))}}if(n.css({"-webkit-transform-origin":`50% 50% -${d/2}px`,"-moz-transform-origin":`50% 50% -${d/2}px`,"-ms-transform-origin":`50% 50% -${d/2}px`,"transform-origin":`50% 50% -${d/2}px`}),h.shadow)if(m)y.transform(`translate3d(0px, ${o/2+h.shadowOffset}px, ${-o/2}px) rotateX(90deg) rotateZ(0deg) scale(${h.shadowScale})`);else{const e=Math.abs(_)-90*Math.floor(Math.abs(_)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=h.shadowScale,r=h.shadowScale/t,o=h.shadowOffset;y.transform(`scale3d(${n}, 1, ${r}) translate3d(0px, ${l/2+o}px, ${-l/2/r}px) rotateX(-90deg)`)}const T=W.isSafari||W.isWebView?-d/2:0;n.transform(`translate3d(0px,0,${T}px) rotateX(${e.isHorizontal()?0:_}deg) rotateY(${e.isHorizontal()?-_:0}deg)`)},setTransition(e){const t=this,{$el:n,slides:r}=t;r.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&n.find(".swiper-cube-shadow").transition(e)}};const fe={setTranslate(){const e=this,{slides:t,rtlTranslate:n}=e;for(let i=0;i<t.length;i+=1){const r=t.eq(i);let progress=r[0].progress;e.params.flipEffect.limitRotation&&(progress=Math.max(Math.min(r[0].progress,
21),-1));let o=-180*progress,l=0,c=-r[0].swiperSlideOffset,d=0;if(e.isHorizontal()?n&&(o=-o):(d=c,c=0,l=-o,o=0),r[0].style.zIndex=-Math.abs(Math.round(progress))+t.length,e.params.flipEffect.slideShadows){let t=e.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===t.length&&(t=f(`<div class="swiper-slide-shadow-${e.isHorizontal()?"left":"top"}"></div>`),r.append(t)),0===n.length&&(n=f(`<div class="swiper-slide-shadow-${e.isHorizontal()?"right":"bottom"}"></div>`),r.append(n)),t.length&&(t[0].style.opacity=Math.max(-progress,0)),n.length&&(n[0].style.opacity=Math.max(progress,0))}r.transform(`translate3d(${c}px, ${d}px, 0px) rotateX(${l}deg) rotateY(${o}deg)`)}},setTransition(e){const t=this,{slides:n,activeIndex:r,$wrapperEl:o}=t;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.eq(r).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let i=0;i<n.length;i+=1)o.trigger(n[i])}))}}};const me={setTranslate(){const e=this,{width:t,height:n,slides:r,$wrapperEl:o,slidesSizesGrid:l}=e,c=e.params.coverflowEffect,d=e.isHorizontal(),h=e.translate,m=d?t/2-h:n/2-h,v=d?c.rotate:-c.rotate,y=c.depth;for(let i=0,e=r.length;i<e;i+=1){const e=r.eq(i),t=l[i],n=(m-e[0].swiperSlideOffset-t/2)/t*c.modifier;let o=d?v*n:0,h=d?0:v*n,_=-y*Math.abs(n),T=c.stretch;"string"==typeof T&&-1!==T.indexOf("%")&&(T=parseFloat(c.stretch)/100*t);let w=d?0:T*n,S=d?T*n:0,E=1-(1-c.scale)*Math.abs(n);Math.abs(S)<.001&&(S=0),Math.abs(w)<.001&&(w=0),Math.abs(_)<.001&&(_=0),Math.abs(o)<.001&&(o=0),Math.abs(h)<.001&&(h=0),Math.abs(E)<.001&&(E=0);const x=`translate3d(${S}px,${w}px,${_}px)  rotateX(${h}deg) rotateY(${o}deg) scale(${E})`;if(e.transform(x),e[0].style.zIndex=1-Math.abs(Math.round(n)),c.slideShadows){let t=d?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=d?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=f(`<div class="swiper-slide-shadow-${d?"left":"top"}"></div>`),e.append(t)),0===r.length&&(r=f(`<div class="swiper-slide-shadow-${d?"right":"bottom"}"></div>`),e.append(r)),t.length&&(t[0].style.opacity=n>0?n:0),r.length&&(r[0].style.opacity=-n>0?-n:0)}}if(_.pointerEvents||_.prefixedPointerEvents){o[0].style.perspectiveOrigin=`${m}px 50%`}},setTransition(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};const ge={init(){const e=this,{thumbs:t}=e.params,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,y.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),y.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):y.isObject(t.swiper)&&(e.thumbs.swiper=new n(y.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const n=t.clickedIndex,r=t.clickedSlide;if(r&&f(r).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let o;if(o=t.params.loop?parseInt(f(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const n=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${o}"]`).eq(0).index(),r=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${o}"]`).eq(0).index();o=void 0===n?r:void 0===r?n:r-t<t-n?r:n}e.slideTo(o)},update(e){const t=this,n=t.thumbs.swiper;if(!n)return;const r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,o=t.params.thumbs.autoScrollOffset,l=o&&!n.params.loop;if(t.realIndex!==n.realIndex||l){let c,d,h=n.activeIndex;if(n.params.loop){n.slides.eq(h).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,h=n.activeIndex);const e=n.slides.eq(h).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),r=n.slides.eq(h).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();c=void 0===e?r:void 0===r?e:r-h==h-e?h:r-h<h-e?r:e,d=t.activeIndex>t.previousIndex?"next":"prev"}else c=t.realIndex,d=c>t.previousIndex?"next":"prev";l&&(c+="next"===d?o:-1*o),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(c)<0&&(n.params.centeredSlides?c=c>h?c-Math.floor(r/2)+1:c+Math.floor(r/2)-1:c>h&&(c=c-r+1),n.slideTo(c,e?0:void 0))}let c=1;const d=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(c=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(c=1),c=Math.floor(c),n.slides.removeClass(d),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let i=0;i<c;i+=1)n.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+i}"]`).addClass(d);else for(let i=0;i<c;i+=1)n.slides.eq(t.realIndex+i).addClass(d)}};const ve=[$,H,V,Y,X,Q,Z,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create(){const e=this;y.extend(e,{mousewheel:{enabled:!1,enable:ee.enable.bind(e),disable:ee.disable.bind(e),handle:ee.handle.bind(e),handleMouseEnter:ee.handleMouseEnter.bind(e),handleMouseLeave:ee.handleMouseLeave.bind(e),animateSlider:ee.animateSlider.bind(e),releaseScroll:ee.releaseScroll.bind(e),lastScrollTime:y.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init(){const e=this;!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy(){const e=this;e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create(){const e=this;y.extend(e,{navigation:{init:te.init.bind(e),update:te.update.bind(e),destroy:te.destroy.bind(e),onNextClick:te.onNextClick.bind(e),onPrevClick:te.onPrevClick.bind(e)}})},on:{init(){this.navigation.init(),this.navigation.update()},toEdge(){this.navigation.update()},fromEdge(){this.navigation.update()},destroy(){this.navigation.destroy()},click(e){const t=this,{$nextEl:n,$prevEl:r}=t.navigation;if(t.params.navigation.hideOnClick&&!f(e.target).is(r)&&!f(e.target).is(n)){let e;n?e=n.hasClass(t.params.navigation.hiddenClass):r&&(e=r.hasClass(t.params.navigation.hiddenClass)),!0===e?t.emit("navigationShow",t):t.emit("navigationHide",t),n&&n.toggleClass(t.params.navigation.hiddenClass),r&&r.toggleClass(t.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){const e=this;y.extend(e,{pagination:{init:ie.init.bind(e),render:ie.render.bind(e),update:ie.update.bind(e),destroy:ie.destroy.bind(e),dynamicBulletIndex:0}})},on:{init(){const e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange(){const e=this;e.params.loop||e.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){this.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!f(e.target).hasClass(t.params.pagination.bulletClass)){!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){const e=this;y.extend(e,{scrollbar:{init:ne.init.bind(e),destroy:ne.destroy.bind(e),updateSize:ne.updateSize.bind(e),setTranslate:ne.setTranslate.bind(e),setTransition:ne.setTransition.bind(e),enableDraggable:ne.enableDraggable.bind(e),disableDraggable:ne.disableDraggable.bind(e),setDragPosition:ne.setDragPosition.bind(e),getPointerPosition:ne.getPointerPosition.bind(e),onDragStart:ne.onDragStart.bind(e),onDragMove:ne.onDragMove.bind(e),onDragEnd:ne.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){const e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update(){this.scrollbar.updateSize()},resize(){this.scrollbar.updateSize()},observerUpdate(){this.scrollbar.updateSize()},setTranslate(){this.scrollbar.setTranslate()},setTransition(e){this.scrollbar.setTransition(e)},destroy(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create(){const e=this;y.extend(e,{parallax:{setTransform:re.setTransform.bind(e),setTranslate:re.setTranslate.bind(e),setTransition:re.setTransition.bind(e)}})},on:{beforeInit(){const e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((n=>{t[n]=ae[n].bind(e)})),y.extend(e,{zoom:t});let n=1;Object.defineProperty(e.zoom,"scale",{get:()=>n,set(t){if(n!==t){const n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,r)}n=t}})},on:{init(){const e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy(){this.zoom.disable()},touchStart(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){const e=this;y.extend(e,{lazy:{initialImageLoaded:!1,load:se.load.bind(e),loadInSlide:se.loadInSlide.bind(e)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){const e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove(){const e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange(){const e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){const e=this;y.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:oe.getInterpolateFunction.bind(e),setTranslate:oe.setTranslate.bind(e),setTransition:oe.setTransition.bind(e)}})}
2,on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;y.extend(e,{a11y:{liveRegion:f(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}}),Object.keys(le).forEach((t=>{e.a11y[t]=le[t].bind(e)}))},on:{init(){const e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){const e=this;y.extend(e,{history:{init:ue.init.bind(e),setHistory:ue.setHistory.bind(e),setHistoryPopState:ue.setHistoryPopState.bind(e),scrollToSlide:ue.scrollToSlide.bind(e),destroy:ue.destroy.bind(e)}})},on:{init(){const e=this;e.params.history.enabled&&e.history.init()},destroy(){const e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange(){const e=this;e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){const e=this;y.extend(e,{hashNavigation:{initialized:!1,init:ce.init.bind(e),destroy:ce.destroy.bind(e),setHash:ce.setHash.bind(e),onHashCange:ce.onHashCange.bind(e)}})},on:{init(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd(){const e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange(){const e=this;e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;y.extend(e,{autoplay:{running:!1,paused:!1,run:de.run.bind(e),start:de.start.bind(e),stop:de.stop.bind(e),pause:de.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&(e.autoplay.start(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){const n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd(){const e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.auto
2play.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){const e=this;y.extend(e,{fadeEffect:{setTranslate:he.setTranslate.bind(e),setTransition:he.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("fade"!==e.params.effect)return;e.classNames.push(`${e.params.containerModifierClass}fade`);const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};y.extend(e.params,t),y.extend(e.originalParams,t)},setTranslate(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){const e=this;y.extend(e,{cubeEffect:{setTranslate:pe.setTranslate.bind(e),setTransition:pe.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("cube"!==e.params.effect)return;e.classNames.push(`${e.params.containerModifierClass}cube`),e.classNames.push(`${e.params.containerModifierClass}3d`);const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};y.extend(e.params,t),y.extend(e.originalParams,t)},setTranslate(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){const e=this;y.extend(e,{flipEffect:{setTranslate:fe.setTranslate.bind(e),setTransition:fe.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("flip"!==e.params.effect)return;e.classNames.push(`${e.params.containerModifierClass}flip`),e.classNames.push(`${e.params.containerModifierClass}3d`);const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};y.extend(e.params,t),y.extend(e.originalParams,t)},setTranslate(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create(){const e=this;y.extend(e,{coverflowEffect:{setTranslate:me.setTranslate.bind(e),setTransition:me.setTransition.bind(e)}})},on:{beforeInit(){const e=this;"coverflow"===e.params.effect&&(e.classNames.push(`${e.params.containerModifierClass}coverflow`),e.classNames.push(`${e.params.containerModifierClass}3d`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){const e=this;y.extend(e,{thumbs:{swiper:null,init:ge.init.bind(e),update:ge.update.bind(e),onThumbClick:ge.onThumbClick.bind(e)}})},on:{beforeInit(){const e=this,{thumbs:t}=e.params;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange(){this.thumbs.swiper&&this.thumbs.update()},update(){this.thumbs.swiper&&this.thumbs.update()},resize(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate(){this.thumbs.swiper&&this.thumbs.update()},setTransition(e){const t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy(){const e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===z.use&&(z.use=z.Class.use,z.installModule=z.Class.installModule),z.use(ve);t.default=z}}]);

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.