PageSourceSearch

https://drpad.it/_nuxt/daf6655.js

js drpad.it collected 2026-10-08 20:02:59 UTC 2,006,760 bytes, 2 lines download raw bytes

vendor: 4,488 bytes, lines 1-2
1/*! For license information please see LICENSES */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[74],[function(t,e,r){(function(e){var r;r="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=r}).call(this,r(40))},,function(t,e,r){"use strict";r.d(e,"g",(function(){return o})),r.d(e,"e",(function(){return l})),r.d(e,"k",(function(){return c})),r.d(e,"j",(function(){return h})),r.d(e,"i",(function(){return d})),r.d(e,"b",(function(){return v})),r.d(e,"f",(function(){return y})),r.d(e,"c",(function(){return _})),r.d(e,"h",(function(){return w})),r.d(e,"d",(function(){return T})),r.d(e,"a",(function(){return S}));var a,b,n=r(0),o=function(b,t,e){return void 0===e&&(e=" "),(function(t,e){for(var r="";e--;)r+=t;return r}(e,t)+b.toString()).slice(-t)},l=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},c=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||l(t)||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},h=function(t){t=c(t);for(var e="",i=0;i<t.length;i++)e+=o(t[i].toString(16),2,"0");return e},d=function(t){t=c(t);for(var e="",i=0;i<t.length;i++)e+=o(t[i].toString(2),8,"0");return e},f=r.n(n).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(t,e){var r=void 0===e?{}:e,n=r.signed,o=void 0!==n&&n,l=r.le,h=void 0!==l&&l;t=c(t);var d=h?"reduce":"reduceRight",v=(t[d]?t[d]:Array.prototype[d]).call(t,(function(e,r,i){var n=h?i:Math.abs(i+1-t.length);return e+f(r)*m[n]}),f(0));if(o){var y=m[t.length]/f(2)-f(1);(v=f(v))>y&&(v-=y,v-=y,v-=f(2))}return Number(v)}),y=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0),t=f(t);for(var o,l=(o=t,Math.ceil(function(t){return t.toString(2).length}(o)/8)),c=new Uint8Array(new ArrayBuffer(l)),i=0;i<l;i++){var h=n?i:Math.abs(i+1-c.length);c[h]=Number(t/m[i]&f(255)),t<0&&(c[h]=Math.abs(~c[h]),c[h]-=0===i?1:2)}return c},_=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,c(t));try{return decodeURIComponent(escape(e))}catch(t){}return e},w=function(t,e){if("string"!=typeof t&&t&&"function"==typeof t.toString&&(t=t.toString()),"string"!=typeof t)return new Uint8Array;e||(t=unescape(encodeURIComponent(t)));for(var view=new Uint8Array(t.length),i=0;i<t.length;i++)view[i]=t.charCodeAt(i);return view},T=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e=e.filter((function(b){return b&&(b.byteLength||b.length)&&"string"!=typeof b})),e.length<=1)return c(e[0]);var n=e.reduce((function(t,e,i){return t+(e.byteLength||e.length)}),0),o=new Uint8Array(n),l=0;return e.forEach((function(t){t=c(t),o.set(t,l),l+=t.byteLength})),o},S=function(a,b,t){var e=void 0===t?{}:t,r=e.offset,n=void 0===r?0:r,o=e.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-n>=b.length&&l.call(b,(function(t,i){return t===(mask[i]?mask[i]&a[n+i]:a[n+i])}))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return Xe})),r.d(e,"d",(function(){return kr})),r.d(e,"B",(function(){return Fr})),r.d(e,"b",(function(){return Ur})),r.d(e,"c",(function(){return qr})),r.d(e,"e",(function(){return Ze})),r.d(e,"A",(function(){return le})),r.d(e,"l",(function(){return Mt})),r.d(e,"q",(function(){return X})),r.d(e,"r",(function(){return Y})),r.d(e,"n",(function(){return B})),r.d(e,"o",(function(){return z})),r.d(e,"v",(function(){return _r})),r.d(e,"u",(function(){return J})),r.d(e,"j",(function(){return xt})),r.d(e,"y",(function(){return xr})),r.d(e,"h",(function(){return Ne})),r.d(e,"w",(function(){return we})),r.d(e,"f",(function(){return nr})),r.d(e,"t",(function(){return vt})),r.d(e,"z",(function(){return je})),r.d(e,"i",(function(){return O})),r.d(e,"x",(function(){return kt})),r.d(e,"p",(function(){return at})),r.d(e,"m",(function(){return gr})),r.d(e,"k",(function(){return St})),r.d(e,"g",(function(){return De})),r.d(e,"s",(function(){return Ot}));var n=r(17);r(529),r(534),r(9),r(535),r(105),r(24),r(51),r(30),r(104),r(206),r(56),r(207),r(60),r(45),r(54),r(183),r(255
vendor: 53,030 bytes, line 2
2),r(82),r(251),r(49),r(256),r(71),r(253);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var c,h,d,f,m,v,y,_,w,T,S,M,x,k,E,O={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},C={duration:.5,overwrite:!1,delay:0},A=1e8,I=1e-8,P=2*Math.PI,R=P/4,D=0,L=Math.sqrt,N=Math.cos,j=Math.sin,B=function(t){return"string"==typeof t},F=function(t){return"function"==typeof t},U=function(t){return"number"==typeof t},z=function(t){return void 0===t},V=function(t){return"object"===Object(n.a)(t)},$=function(t){return!1!==t},H=function(){return"undefined"!=typeof window},W=function(t){return F(t)||B(t)},G="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Q=Array.isArray,K=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Y=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Z=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,J=/[+-]=-?[.\d]+/,tt=/[^,'"\[\]\s]+/gi,et=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,it={},nt={},ot=function(t){return(nt=Lt(t,it))&&Fr},at=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},st=function(t,e){return!e&&console.warn(t)},ut=function(t,e){return t&&(it[t]=e)&&nt&&(nt[t]=e)||it},lt=function(){return 0},ct={suppressEvents:!0,isStart:!0,kill:!1},ht={suppressEvents:!0,kill:!1},ft={suppressEvents:!0},pt={},mt=[],gt={},vt={},yt={},bt=30,_t=[],wt="",Tt=function(t){var e,i,r=t[0];if(V(r)||F(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(i=_t.length;i--&&!_t[i].targetTest(r););e=_t[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Xe(t[i],e)))||t.splice(i,1);return t},St=function(t){return t._gsap||Tt(fe(t))[0]._gsap},Mt=function(t,e,r){return(r=t[e])&&F(r)?t[e]():z(r)&&t.getAttribute&&t.getAttribute(e)||r},xt=function(t,e){return(t=t.split(",")).forEach(e)||t},kt=function(t){return Math.round(1e5*t)/1e5||0},Et=function(t){return Math.round(1e7*t)/1e7||0},Ot=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},Ct=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},At=function(){var i,t,e=mt.length,a=mt.slice(0);for(gt={},mt.length=0,i=0;i<e;i++)(t=a[i])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},It=function(t,time,e,r){mt.length&&!h&&At(),t.render(time,e,r||h&&time<0&&(t._initted||t._startAt)),mt.length&&!h&&At()},Pt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(tt).length<2?e:B(t)?t.trim():t},Rt=function(p){return p},Dt=function(t,e){for(var p in e)p in t||(t[p]=e[p]);return t},Lt=function(base,t){for(var p in t)base[p]=t[p];return base},Nt=function t(base,e){for(var p in e)"__proto__"!==p&&"constructor"!==p&&"prototype"!==p&&(base[p]=V(e[p])?t(base[p]||(base[p]={}),e[p]):e[p]);return base},jt=function(t,e){var p,r={};for(p in t)p in e||(r[p]=t[p]);return r},Bt=function(t){var e,r=t.parent||f,n=t.keyframes?(e=Q(t.keyframes),function(t,r){for(var p in r)p in t||"duration"===p&&e||"ease"===p||(t[p]=r[p])}):Dt;if($(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},Ft=function(t,e,r,n,o){void 0===r&&(r="_first"),void 0===n&&(n="_last");var l,c=t[n];if(o)for(l=e[o];c&&c[o]>l;)c=c._prev;return c?(e._next=c._next,c._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=c,e.parent=e._dp=t,e},Ut=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var o=e._prev,l=e._next;o?o._next=l:t[r]===e&&(t[r]=l),l?l._prev=o:t[n]===e&&(t[n]=o),e._next=e._prev=e.parent=null},qt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},zt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var a=t;a;)a._dirty=1,a=a.parent;return t},Vt=function(t,e,r,n){return t._startAt&&(h?t._startAt.revert(ht):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},$t=function t(e){return!e||e._ts&&t(e.parent)},Ht=function(t){return t._repeat?Wt(t._tTime,t=t.duration()+t._rDelay)*t:0},Wt=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Gt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Qt=function(t){return t._end=Et(t._start+(t._tDur/Math.abs(t._ts||t._rts||I)||0))},Kt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Et(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Qt(t),r._dirty||zt(r,t)),t},Xt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Gt(t.rawTime(),e),(!e._dur||ue(0,e.totalDuration(),r)-e._tTime>I)&&e.render(r,!0)),zt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Yt=function(t,e,r,n){return e.parent&&qt(e),e._start=Et((U(r)?r:r||t!==f?oe(t,r,e):t._time)+e._delay),e._end=Et(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ft(t,e,"_first","_last",t._sort?"_start":0),ee(e)||(t._recent=e),n||Xt(t,e),t._ts<0&&Kt(t,t._tTime),t},Zt=function(t,e){return(it.ScrollTrigger||at("scrollTrigger",e))&&it.ScrollTrigger.create(e,t)},Jt=function(t,time,e,r,n){return or(t,time,n),t._initted?!e&&t._pt&&!h&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&w!==je.frame?(mt.push(t),t._lazy=[n,r],1):void 0:1},te=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},ee=function(t){var data=t.data;return"isFromStart"===data||"isStart"===data},re=function(t,e,r,n){var o=t._repeat,l=Et(e)||0,c=t._tTime/t._tDur;return c&&!n&&(t._time*=l/t._dur),t._dur=l,t._tDur=o?o<0?1e10:Et(l*(o+1)+t._rDelay*o):l,c>0&&!n&&Kt(t,t._tTime=t._tDur*c),t.parent&&Qt(t),r||zt(t.parent,t),t},ie=function(t){return t instanceof Ze?zt(t):re(t,t._dur)},ne={_start:0,endTime:lt,totalDuration:lt},oe=function t(e,r,n){var i,o,l,c=e.labels,h=e._recent||ne,d=e.duration()>=A?h.endTime(!1):e._dur;return B(r)&&(isNaN(r)||r in c)?(o=r.charAt(0),l="%"===r.substr(-1),i=r.indexOf("="),"<"===o||">"===o?(i>=0&&(r=r.replace(/=/,"")),("<"===o?h._start:h.endTime(h._repeat>=0))+(parseFloat(r.substr(1))||0)*(l?(i<0?h:n).totalDuration()/100:1)):i<0?(r in c||(c[r]=d),c[r]):(o=parseFloat(r.charAt(i-1)+r.substr(i+1)),l&&n&&(o=o/100*(Q(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+o:d+o)):null==r?d:+r},ae=function(t,e,r){var n,o,l=U(e[1]),c=(l?2:1)+(t<2?0:1),h=e[c];if(l&&(h.duration=e[1]),h.parent=r,t){for(n=h,o=r;o&&!("immediateRender"in n);)n=o.vars.defaults||{},o=$(o.vars.inherit)&&o.parent;h.immediateRender=$(n.immediateRender),t<2?h.runBackwards=1:h.startAt=e[c-1]}return new cr(e[0],h,e[c+1])},se=function(t,e){return t||0===t?e(t):e},ue=function(t,e,r){return r<t?t:r>e?e:r},le=function(t,e){return B(t)&&(e=et.exec(t))?e[1]:""},ce=[].slice,he=function(t,e){return t&&V(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&V(t[0]))&&!t.nodeType&&t!==m},de=function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return B(t)&&!e||he(t,1)?(n=r).push.apply(n,fe(t)):r.push(t)}))||r},fe=function(t,e,r){return d&&!e&&d.selector?d.selector(t):!B(t)||r||!v&&Be()?Q(t)?de(t,r):he(t)?ce.call(t,0):t?[t]:[]:ce.call((e||y).querySelectorAll(t),0)},pe=function(t){return t=fe(t)[0]||st("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return fe(e,r.querySelectorAll?r:r===t?st("Invalid scope")||y.createElement("div"):t)}},me=function(a){return a.sort((function(){return.5-Math.random()}))},ge=function(t){if(F(t))return t;var e=V(t)?t:{each:t},r=He(e.ease),n=e.from||0,base=parseFloat(e.base)||0,o={},l=n>0&&n<1,c=isNaN(n)||l,h=e.axis,d=n,f=n;return B(n)?d=f={center:.5,edges:.5,end:1}[n]||0:!l&&c&&(d=n[0],f=n[1]),function(i,t,a){var l,m,v,y,_,w,T,S,M,x=(a||e).length,k=o[x];if(!k){if(!(M="auto"===e.grid?0:(e.grid||[1,A])[1])){for(T=-A;T<(T=a[M++].getBoundingClientRect().left)&&M<x;);M--}for(k=o[x]=[],l=c?Math.min(M,x)*d-.5:n%M,m=M===A?0:c?x*f/M-.5:n/M|0,T=0,S=A,w=0;w<x;w++)v=w%M-l,y=m-(w/M|0),k[w]=_=h?Math.abs("y"===h?y:v):L(v*v+y*y),_>T&&(T=_),_<S&&(S=_);"random"===n&&me(k),k.max=T-S,k.min=S,k.v=x=(parseFloat(e.amount)||parseFloat(e.each)*(M>x?x-1:h?"y"===h?x/M:M:Math.max(M,x/M))||0)*("edges"===n?-1:1),k.b=x<0?base-x:base,k.u=le(e.amount||e.each)||0,r=r&&x<0?Ve(r):r}return x=(k[i]-k.min)/k.max||0,Et(k.b+(r?r(x):x)*k.v)+k.u}},ve=function(t){var p=Math.pow(10,((t+"").split(".")[1]||"").length);return function(e){var r=Et(Math.round(parseFloat(e)/t)*t*p);return(r-r%1)/p+(U(e)?0:le(e))}},ye=function(t,e){var r,n,o=Q(t);return!o&&V(t)&&(r=o=t.radius||A,t.values?(t=fe(t.values),(n=!U(t[0]))&&(r*=r)):t=ve(t.increment)),se(e,o?F(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var o,l,c=parseFloat(n?e.x:e),h=parseFloat(n?e.y:0),d=A,f=0,i=t.length;i--;)(o=n?(o=t[i].x-c)*o+(l=t[i].y-h)*l:Math.abs(t[i]-c))<d&&(d=o,f=i);return f=!r||d<=r?t[f]:e,n||f===e||U(e)?f:f+le(e)}:ve(t))},be=function(t,e,r,n){return se(Q(t)?!e:!0===r?!!(r=0):!n,(function(){return Q(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*n)/n}))},_e=function(a,t,e){return se(e,(function(e){return a[~~t(e)]}))},we=function(t){for(var i,e,r,n,o=0,s="";~(i=t.indexOf("random(",o));)r=t.indexOf(")",i),n="["===t.charAt(i+7),e=t.substr(i+7,r-i-7).match(n?tt:K),s+=t.substr(o,i-o)+be(n?e:+e[0],n?0:+e[1],+e[2]||1e-5),o=r+1;return s+t.substr(o,t.length-o)},Te=function(t,e,r,n,o){var l=e-t,c=n-r;return se(o,(function(e){return r+((e-t)/l*c||0)}))},Se=function(t,e,r){var p,n,label,o=t.labels,l=A;for(p in o)(n=o[p]-e)<0==!!r&&n&&l>(n=Math.abs(n))&&(label=p,l=n);return label},Me=function(t,e,r){var n,o,l,c=t.vars,h=c[e],f=d,m=t._ctx;if(h)return n=c[e+"Params"],o=c.callbackScope||t,r&&mt.length&&At(),m&&(d=m),l=n?h.apply(o,n):h.call(o),d=f,l},xe=function(t){return qt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!h),t.progress()<1&&Me(t,"onInterrupt"),t},ke=[],Ee=function(t){if(H()&&t){var e=(t=!t.name&&t.default||t).name,r=F(t),n=e&&!r&&t.init?function(){this._props=[]}:t,o={init:lt,render:wr,add:ir,kill:Sr,modifier:Tr,rawVars:0},l={targetTest:0,get:0,getSetter:gr,aliases:{},register:0};if(Be(),t!==n){if(vt[e])return;Dt(n,Dt(jt(t,o),l)),Lt(n.prototype,Lt(o,jt(t,l))),vt[n.prop=e]=n,t.targetTest&&(_t.push(n),pt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ut(e,n),t.register&&t.register(Fr,n,kr)}else t&&ke.push(t)},Oe=255,Ce={aqua:[0,Oe,Oe],lime:[0,Oe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Oe],navy:[0,0,128],white:[Oe,Oe,Oe],olive:[128,128,0],yellow:[Oe,Oe,0],orange:[Oe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Oe,0,0],pink:[Oe,192,203],cyan:[0,Oe,Oe],transparent:[Oe,Oe,Oe,0]},Ae=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Oe+.5|0},Ie=function(t,e,r){var n,g,b,o,s,l,c,h,d,f,a=t?U(t)?[t>>16,t>>8&Oe,t&Oe]:0:Ce.black;if(!a){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ce[t])a=Ce[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),g=t.charAt(2),b=t.charAt(3),t="#"+n+n+g+g+b+b+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(a=parseInt(t.substr(1,6),16))>>16,a>>8&Oe,a&Oe,parseInt(t.substr(7),16)/255];a=[(t=parseInt(t.substr(1),16))>>16,t>>8&Oe,t&Oe]}else if("hsl"===t.substr(0,3))if(a=f=t.match(K),e){if(~t.indexOf("="))return a=t.match(X),r&&a.length<4&&(a[3]=1),a}else o=+a[0]%360/360,s=+a[1]/100,n=2*(l=+a[2]/100)-(g=l<=.5?l*(s+1):l+s-l*s),a.length>3&&(a[3]*=1),a[0]=Ae(o+1/3,n,g),a[1]=Ae(o,n,g),a[2]=Ae(o-1/3,n,g);else a=t.match(K)||Ce.transparent;a=a.map(Number)}return e&&!f&&(n=a[0]/Oe,g=a[1]/Oe,b=a[2]/Oe,l=((c=Math.max(n,g,b))+(h=Math.min(n,g,b)))/2,c===h?o=s=0:(d=c-h,s=l>.5?d/(2-c-h):d/(c+h),o=c===n?(g-b)/d+(g<b?6:0):c===g?(b-n)/d+2:(n-g)/d+4,o*=60),a[0]=~~(o+.5),a[1]=~~(100*s+.5),a[2]=~~(100*l+.5)),r&&a.length<4&&(a[3]=1),a},Pe=function(t){var e=[],r=[],i=-1;return t.split(De).forEach((function(t){var a=t.match(Y)||[];e.push.apply(e,a),r.push(i+=a.length+1)})),e.c=r,e},Re=function(s,t,e){var r,n,o,l,c="",h=(s+c).match(De),d=t?"hsla(":"rgba(",i=0;if(!h)return s;if(h=h.map((function(e){return(e=Ie(e,t,1))&&d+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),e&&(o=Pe(s),(r=e.c).join(c)!==o.c.join(c)))for(l=(n=s.replace(De,"1").split(Y)).length-1;i<l;i++)c+=n[i]+(~r.indexOf(i)?h.shift()||d+"0,0,0,0)":(o.length?o:h.length?h:e).shift());if(!n)for(l=(n=s.split(De)).length-1;i<l;i++)c+=n[i]+h[i];return c+n[l]},De=function(){var p,s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(p in Ce)s+="|"+p+"\\b";return new RegExp(s+")","gi")}(),Le=/hsl[a]?\(/,Ne=function(a){var t,e=a.join(" ");if(De.lastIndex=0,De.test(e))return t=Le.test(e),a[1]=Re(a[1],t),a[0]=Re(a[0],t,Pe(a[1])),!0},je=function(){var t,e,r,n,o,l,c=Date.now,h=500,d=33,f=c(),w=f,T=1e3/240,M=T,x=[],k=function r(m){var v,y,time,_,S=c()-w,k=!0===m;if(S>h&&(f+=S-d),((v=(time=(w+=S)-f)-M)>0||k)&&(_=++n.frame,o=time-1e3*n.time,n.time=time/=1e3,M+=v+(v>=T?4:T-v),y=1),k||(t=e(r)),y)for(l=0;l<x.length;l++)x[l](time,o,_,m)};return n={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(t){return o/(1e3/(t||60))},wake:function(){_&&(!v&&H()&&(m=v=window,y=m.document||{},it.gsap=Fr,(m.gsapVersions||(m.gsapVersions=[])).push(Fr.version),ot(nt||m.GreenSockGlobals||!m.gsap&&m||{}),r=m.requestAnimationFrame,ke.forEach(Ee)),t&&n.sleep(),e=r||function(t){return setTimeout(t,M-1e3*n.time+1|0)},S=1,k(2))},sleep:function(){(r?m.cancelAnimationFrame:clearTimeout)(t),S=0,e=lt},lagSmoothing:function(t,e){h=t||1/0,d=Math.min(e||33,h)},fps:function(t){T=1e3/(t||240),M=1e3*n.time+T},add:function(t,e,r){var o=e?function(e,r,l,c){t(e,r,l,c),n.remove(o)}:t;return n.remove(t),x[r?"unshift":"push"](o),Be(),o},remove:function(t,i){~(i=x.indexOf(t))&&x.splice(i,1)&&l>=i&&l--},_listeners:x}}(),Be=function(){return!S&&je.wake()},Fe={},Ue=/^[\d.\-M][\d.\-,\s]/,qe=/["']/g,ze=function(t){for(var e,r,n,o={},l=t.substr(1,t.length-3).split(":"),c=l[0],i=1,h=l.length;i<h;i++)r=l[i],e=i!==h-1?r.lastIndexOf(","):r.length,n=r.substr(0,e),o[c]=isNaN(n)?n.replace(qe,"").trim():+n,c=r.substr(e+1).trim();return o},Ve=function(t){return function(p){return 1-t(1-p)}},$e=function t(e,r){for(var n,o=e._first;o;)o instanceof Ze?t(o,r):!o.vars.yoyoEase||o._yoyo&&o._repeat||o._yoyo===r||(o.timeline?t(o.timeline,r):(n=o._ease,o._ease=o._yEase,o._yEase=n,o._yoyo=r)),o=o._next},He=function(t,e){return t&&(F(t)?t:Fe[t]||function(t){var e,r,n,o,l=(t+"").split("("),c=Fe[l[0]];return c&&l.length>1&&c.config?c.config.apply(null,~t.indexOf("{")?[ze(l[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),o=e.indexOf("(",r),e.substring(r,~o&&o<n?e.indexOf(")",n+1):n)).split(",").map(Pt)):Fe._CE&&Ue.test(t)?Fe._CE("",t):c}(t))||e},We=function(t,e,r,n){void 0===r&&(r=function(p){return 1-e(1-p)}),void 0===n&&(n=function(p){return p<.5?e(2*p)/2:1-e(2*(1-p))/2});var o,l={easeIn:e,easeOut:r,easeInOut:n};return xt(t,(function(t){for(var p in Fe[t]=it[t]=l,Fe[o=t.toLowerCase()]=r,l)Fe[o+("easeIn"===p?".in":"easeOut"===p?".out":".inOut")]=Fe[t+"."+p]=l[p]})),l},Ge=function(t){return function(p){return p<.5?(1-t(1-2*p))/2:.5+t(2*(p-.5))/2}},Qe=function t(e,r,n){var o=r>=1?r:1,l=(n||(e?.3:.45))/(r<1?r:1),c=l/P*(Math.asin(1/o)||0),h=function(p){return 1===p?1:o*Math.pow(2,-10*p)*j((p-c)*l)+1},d="out"===e?h:"in"===e?function(p){return 1-h(1-p)}:Ge(h);return l=P/l,d.config=function(r,n){return t(e,r,n)},d},Ke=function t(e,r){void 0===r&&(r=1.70158);var n=function(p){return p?--p*p*((r+1)*p+r)+1:0},o="out"===e?n:"in"===e?function(p){return 1-n(1-p)}:Ge(n);return o.config=function(r){return t(e,r)},o};xt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,i){var e=i<5?i+1:i;We(t+",Power"+(e-1),i?function(p){return Math.pow(p,e)}:function(p){return p},(function(p){return 1-Math.pow(1-p,e)}),(function(p){return p<.5?Math.pow(2*p,e)/2:1-Math.pow(2*(1-p),e)/2}))})),Fe.Linear.easeNone=Fe.none=Fe.Linear.easeIn,We("Elastic",Qe("in"),Qe("out"),Qe()),M=7.5625,k=1/(x=2.75),We("Bounce",(function(p){return 1-E(1-p)}),E=function(p){return p<k?M*p*p:p<.7272727272727273?M*Math.pow(p-1.5/x,2)+.75:p<.9090909090909092?M*(p-=2.25/x)*p+.9375:M*Math.pow(p-2.625/x,2)+.984375}),We("Expo",(function(p){return p?Math.pow(2,10*(p-1)):0})),We("Circ",(function(p){return-(L(1-p*p)-1)})),We("Sine",(function(p){return 1===p?1:1-N(p*R)})),We("Back",Ke("in"),Ke("out"),Ke()),Fe.SteppedEase=Fe.steps=it.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),o=e?1:0;return function(p){return((n*ue(0,.99999999,p)|0)+o)*r}}},C.ease=Fe["quad.out"],xt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return wt+=t+","+t+"Params,"}));var Xe=function(t,e){this.id=D++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Mt,this.set=e?e.getSetter:gr},Ye=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,re(this,+t.duration,1,1),this.data=t.data,d&&(this._ctx=d,d.data.push(this)),S||je.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,re(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Be(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Kt(this,t),!r._dp||r.parent||Xt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Yt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===I||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),It(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ht(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ht(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Wt(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Gt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(ue(-Math.abs(this._delay),this._tDur,e),!0),Qt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Be(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==I&&(this._tTime-=I)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Yt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+($(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Gt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=ft);var e=h;return h=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),h=e,this},e.globalTime=function(t){for(var e=this,time=arguments.length?t:e.rawTime();e;)time=e._start+time/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(t):time},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,ie(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var time=this._time;return this._rDelay=t,ie(this),time?this.time(time):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(oe(this,t),$(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,$(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-I))},e.eventCallback=function(t,e,r){var n=this.vars;return arguments.length>1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(r){var n=F(t)?t:Rt,o=function(){var t=e.then;e.then=null,F(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?o():e._prom=o}))},e.kill=function(){xe(this)},t}();Dt(Ye.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 Ze=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=$(e.sortChildren),f&&Yt(e.parent||f,o(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Zt(o(n),e.scrollTrigger),n}l(e,t);var r=e.prototype;return r.to=function(t,e,r){return ae(0,arguments,this),this},r.from=function(t,e,r){return ae(1,arguments,this),this},r.fromTo=function(t,e,r,n){return ae(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Bt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new cr(t,e,oe(this,r),1),this},r.call=function(t,e,r){return Yt(this,cr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,o,l,c){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=l,r.onCompleteParams=c,r.parent=this,new cr(t,r,oe(this,o)),this},r.staggerFrom=function(t,e,r,n,o,l,c){return r.runBackwards=1,Bt(r).immediateRender=$(r.immediateRender),this.staggerTo(t,e,r,n,o,l,c)},r.staggerFromTo=function(t,e,r,n,o,l,c,h){return n.startAt=r,Bt(n).immediateRender=$(n.immediateRender),this.staggerTo(t,e,n,o,l,c,h)},r.render=function(t,e,r){var time,n,o,l,c,d,m,v,y,_,w,T,S=this._time,M=this._dirty?this.totalDuration():this._tDur,x=this._dur,k=t<=0?0:Et(t),E=this._zTime<0!=t<0&&(this._initted||!x);if(this!==f&&k>M&&t>=0&&(k=M),k!==this._tTime||r||E){if(S!==this._time&&x&&(k+=this._time-S,t+=this._time-S),time=k,y=this._start,d=!(v=this._ts),E&&(x||(S=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(w=this._yoyo,c=x+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*c+t,e,r);if(time=Et(k%c),k===M?(l=this._repeat,time=x):((l=~~(k/c))&&l===k/c&&(time=x,l--),time>x&&(time=x)),_=Wt(this._tTime,c),!S&&this._tTime&&_!==l&&this._tTime-_*c-this._dur<=0&&(_=l),w&&1&l&&(time=x-time,T=1),l!==_&&!this._lock){var O=w&&1&_,C=O===(w&&1&l);if(l<_&&(O=!O),S=O?0:k%x?x:k,this._lock=1,this.render(S||(T?0:Et(l*c)),e,!x)._lock=0,this._tTime=k,!e&&this.parent&&Me(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1),S&&S!==this._time||d!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(x=this._dur,M=this._tDur,C&&(this._lock=2,S=O?x:-1e-4,this.render(S,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!d)return this;$e(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=function(t,e,time){var r;if(time>e)for(r=t._first;r&&r._start<=time;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=time;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,Et(S),Et(time)),m&&(k-=time-(time=m._start))),this._tTime=k,this._time=time,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,S=0),!S&&time&&!e&&!l&&(Me(this,"onStart"),this._tTime!==k))return this;if(time>=S&&t>=0)for(n=this._first;n;){if(o=n._next,(n._act||time>=n._start)&&n._ts&&m!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(time-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(time-n._start)*n._ts,e,r),time!==this._time||!this._ts&&!d){m=0,o&&(k+=this._zTime=-1e-8);break}}n=o}else{n=this._last;for(var A=t<0?t:time;n;){if(o=n._prev,(n._act||A<=n._end)&&n._ts&&m!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(A-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(A-n._start)*n._ts,e,r||h&&(n._initted||n._startAt)),time!==this._time||!this._ts&&!d){m=0,o&&(k+=this._zTime=A?-1e-8:I);break}}n=o}}if(m&&!e&&(this.pause(),m.render(time>=S?0:-1e-8)._zTime=time>=S?1:-1,this._ts))return this._start=y,Qt(this),this.render(t,e,r);this._onUpdate&&!e&&Me(this,"onUpdate",!0),(k===M&&this._tTime>=this.totalDuration()||!k&&S)&&(y!==this._start&&Math.abs(v)===Math.abs(this._ts)||this._lock||((t||!x)&&(k===M&&this._ts>0||!k&&this._ts<0)&&qt(this,1),e||t<0&&!S||!k&&!S&&M||(Me(this,k===M&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(k<M&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(U(e)||(e=oe(this,e,t)),!(t instanceof Ye)){if(Q(t))return t.forEach((function(t){return r.add(t,e)})),this;if(B(t))return this.addLabel(t,e);if(!F(t))return this;t=cr.delayedCall(0,t)}return this!==t?Yt(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-A);for(var a=[],o=this._first;o;)o._start>=n&&(o instanceof cr?e&&a.push(o):(r&&a.push(o),t&&a.push.apply(a,o.getChildren(!0,e,r)))),o=o._next;return a},r.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},r.remove=function(t){return B(t)?this.removeLabel(t):F(t)?this.killTweensOf(t):(Ut(this,t),t===this._recent&&(this._recent=this._last),zt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Et(je.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(label,t){return this.labels[label]=oe(this,t),this},r.removeLabel=function(label){return delete this.labels[label],this},r.addPause=function(t,e,r){var n=cr.delayedCall(0,e||lt,r);return n.data="isPause",this._hasPause=1,Yt(this,n,oe(this,t))},r.removePause=function(t){var e=this._first;for(t=oe(this,t);e;)e._start===t&&"isPause"===e.data&&qt(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Je!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,a=[],n=fe(t),o=this._first,l=U(e);o;)o instanceof cr?Ct(o._targets,n)&&(l?(!Je||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&a.push(o):(r=o.getTweensOf(n,e)).length&&a.push.apply(a,r),o=o._next;return a},r.tweenTo=function(t,e){e=e||{};var r,n=this,o=oe(n,t),l=e,c=l.startAt,h=l.onStart,d=l.onStartParams,f=l.immediateRender,m=cr.to(n,Dt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:e.duration||Math.abs((o-(c&&"time"in c?c.time:n._time))/n.timeScale())||I,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((o-(c&&"time"in c?c.time:n._time))/n.timeScale());m._dur!==t&&re(m,t,0,1).render(m._time,!0,!0),r=1}h&&h.apply(m,d||[])}},e));return f?m.render(0):m},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Dt({startAt:{time:oe(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Se(this,oe(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Se(this,oe(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+I)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var p,n=this._first,o=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(p in o)o[p]>=r&&(o[p]+=t);return zt(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),zt(this)},r.totalDuration=function(t){var e,r,n,o=0,l=this,c=l._last,h=A;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-t:t));if(l._dirty){for(n=l.parent;c;)e=c._prev,c._dirty&&c.totalDuration(),(r=c._start)>h&&l._sort&&c._ts&&!l._lock?(l._lock=1,Yt(l,c,r-c._delay,1)._lock=0):h=r,r<0&&c._ts&&(o-=r,(!n&&!l._dp||n&&n.smoothChildTiming)&&(l._start+=r/l._ts,l._time-=r,l._tTime-=r),l.shiftChildren(-r,!1,-Infinity),h=0),c._end>o&&c._ts&&(o=c._end),c=e;re(l,l===f&&l._time>o?l._time:o,1,1),l._dirty=0}return l._tDur},e.updateRoot=function(time){if(f._ts&&(It(f,Gt(time,f)),w=je.frame),je.frame>=bt){bt+=O.autoSleep||120;var t=f._first;if((!t||!t._ts)&&O.autoSleep&&je._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||je.sleep()}}},e}(Ye);Dt(Ze.prototype,{_lock:0,_hasPause:0,_forcing:0});var Je,er,rr=function(t,e,r,n,o,l,c){var h,d,f,m,v,y,_,a,w=new kr(this._pt,t,e,0,1,_r,null,o),T=0,S=0;for(w.b=r,w.e=n,r+="",(_=~(n+="").indexOf("random("))&&(n=we(n)),l&&(l(a=[r,n],t,e),r=a[0],n=a[1]),d=r.match(Z)||[];h=Z.exec(n);)m=h[0],v=n.substring(T,h.index),f?f=(f+1)%5:"rgba("===v.substr(-5)&&(f=1),m!==d[S++]&&(y=parseFloat(d[S-1])||0,w._pt={_next:w._pt,p:v||1===S?v:",",s:y,c:"="===m.charAt(1)?Ot(y,m)-y:parseFloat(m)-y,m:f&&f<4?Math.round:0},T=Z.lastIndex);return w.c=T<n.length?n.substring(T,n.length):"",w.fp=c,(J.test(n)||_)&&(w.e=0),this._pt=w,w},ir=function(t,e,r,n,o,l,c,h,d,f){F(n)&&(n=n(o||0,t,l));var m,v=t[e],y="get"!==r?r:F(v)?d?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](d):t[e]():v,_=F(v)?d?pr:fr:dr;if(B(n)&&(~n.indexOf("random(")&&(n=we(n)),"="===n.charAt(1)&&((m=Ot(y,n)+(le(y)||0))||0===m)&&(n=m)),!f||y!==n||er)return isNaN(y*n)||""===n?(!v&&!(e in t)&&at(e,n),rr.call(this,t,e,y,n,_,h||O.stringFilter,d)):(m=new kr(this._pt,t,e,+y||0,n-(y||0),"boolean"==typeof v?yr:vr,0,_),d&&(m.fp=d),c&&m.modifier(c,this,t),this._pt=m)},nr=function(t,e,r,n,o,l){var c,h,d,i;if(vt[t]&&!1!==(c=new vt[t]).init(o,c.rawVars?e[t]:function(t,e,r,n,o){if(F(t)&&(t=sr(t,o,e,r,n)),!V(t)||t.style&&t.nodeType||Q(t)||G(t))return B(t)?sr(t,o,e,r,n):t;var p,l={};for(p in t)l[p]=sr(t[p],o,e,r,n);return l}(e[t],n,o,l,r),r,n,l)&&(r._pt=h=new kr(r._pt,o,t,0,1,c.render,c,0,c.priority),r!==T))for(d=r._ptLookup[r._targets.indexOf(o)],i=c._props.length;i--;)d[c._props[i]]=h;return c},or=function t(e,time,r){var n,i,p,o,l,d,m,v,y,_,w,T,S,M=e.vars,x=M.ease,k=M.startAt,E=M.immediateRender,O=M.lazy,P=M.onUpdate,R=M.onUpdateParams,D=M.callbackScope,L=M.runBackwards,N=M.yoyoEase,j=M.keyframes,B=M.autoRevert,F=e._dur,U=e._startAt,z=e._targets,V=e.parent,H=V&&"nested"===V.data?V.vars.targets:z,W="auto"===e._overwrite&&!c,G=e.timeline;if(G&&(!j||!x)&&(x="none"),e._ease=He(x,C.ease),e._yEase=N?Ve(He(!0===N?x:N,C.ease)):0,N&&e._yoyo&&!e._repeat&&(N=e._yEase,e._yEase=e._ease,e._ease=N),e._from=!G&&!!M.runBackwards,!G||j&&!M.stagger){if(T=(v=z[0]?St(z[0]).harness:0)&&M[v.prop],n=jt(M,pt),U&&(U._zTime<0&&U.progress(1),time<0&&L&&E&&!B?U.render(-1,!0):U.revert(L&&F?ht:ct),U._lazy=0),k){if(qt(e._startAt=cr.set(z,Dt({data:"isStart",overwrite:!1,parent:V,immediateRender:!0,lazy:!U&&$(O),startAt:null,delay:0,onUpdate:P,onUpdateParams:R,callbackScope:D,stagger:0},k))),e._startAt._dp=0,e._startAt._sat=e,time<0&&(h||!E&&!B)&&e._startAt.revert(ht),E&&F&&time<=0&&r<=0)return void(time&&(e._zTime=time))}else if(L&&F&&!U)if(time&&(E=!1),p=Dt({overwrite:!1,data:"isFromStart",lazy:E&&!U&&$(O),immediateRender:E,stagger:0,parent:V},n),T&&(p[v.prop]=T),qt(e._startAt=cr.set(z,p)),e._startAt._dp=0,e._startAt._sat=e,time<0&&(h?e._startAt.revert(ht):e._startAt.render(-1,!0)),e._zTime=time,E){if(!time)return}else t(e._startAt,I,I);for(e._pt=e._ptCache=0,O=F&&$(O)||O&&!F,i=0;i<z.length;i++){if(m=(l=z[i])._gsap||Tt(z)[i]._gsap,e._ptLookup[i]=_={},gt[m.id]&&mt.length&&At(),w=H===z?i:H.indexOf(l),v&&!1!==(y=new v).init(l,T||n,e,w,H)&&(e._pt=o=new kr(e._pt,l,y.name,0,1,y.render,y,0,y.priority),y._props.forEach((function(t){_[t]=o})),y.priority&&(d=1)),!v||T)for(p in n)vt[p]&&(y=nr(p,n,e,w,l,H))?y.priority&&(d=1):_[p]=o=ir.call(e,l,p,"get",n[p],w,H,0,M.stringFilter);e._op&&e._op[i]&&e.kill(l,e._op[i]),W&&e._pt&&(Je=e,f.killTweensOf(l,_,e.globalTime(time)),S=!e.parent,Je=0),e._pt&&O&&(gt[m.id]=1)}d&&xr(e),e._onInit&&e._onInit(e)}e._onUpdate=P,e._initted=(!e._op||e._pt)&&!S,j&&time<=0&&G.render(A,!0,!0)},ar=function(t,e,r,n){var p,a,o=e.ease||n||"power1.inOut";if(Q(e))a=r[t]||(r[t]=[]),e.forEach((function(t,i){return a.push({t:i/(e.length-1)*100,v:t,e:o})}));else for(p in e)a=r[p]||(r[p]=[]),"ease"===p||a.push({t:parseFloat(t),v:e[p],e:o})},sr=function(t,e,i,r,n){return F(t)?t.call(e,i,r,n):B(t)&&~t.indexOf("random(")?we(t):t},ur=wt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",lr={};xt(ur+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return lr[t]=1}));var cr=function(t){function e(e,r,n,l){var h;"number"==typeof r&&(n.duration=r,r=n,n=null);var d,i,m,v,p,y,_,w,T=(h=t.call(this,l?r:Bt(r))||this).vars,S=T.duration,M=T.delay,x=T.immediateRender,k=T.stagger,E=T.overwrite,C=T.keyframes,A=T.defaults,I=T.scrollTrigger,P=T.yoyoEase,R=r.parent||f,D=(Q(e)||G(e)?U(e[0]):"length"in r)?[e]:fe(e);if(h._targets=D.length?Tt(D):st("GSAP target "+e+" not found. https://greensock.com",!O.nullTargetWarn)||[],h._ptLookup=[],h._overwrite=E,C||k||W(S)||W(M)){if(r=h.vars,(d=h.timeline=new Ze({data:"nested",defaults:A||{},targets:R&&"nested"===R.data?R.vars.targets:D})).kill(),d.parent=d._dp=o(h),d._start=0,k||W(S)||W(M)){if(v=D.length,_=k&&ge(k),V(k))for(p in k)~ur.indexOf(p)&&(w||(w={}),w[p]=k[p]);for(i=0;i<v;i++)(m=jt(r,lr)).stagger=0,P&&(m.yoyoEase=P),w&&Lt(m,w),y=D[i],m.duration=+sr(S,o(h),i,y,D),m.delay=(+sr(M,o(h),i,y,D)||0)-h._delay,!k&&1===v&&m.delay&&(h._delay=M=m.delay,h._start+=M,m.delay=0),d.to(y,m,_?_(i,y,D):0),d._ease=Fe.none;d.duration()?S=M=0:h.timeline=0}else if(C){Bt(Dt(d.vars.defaults,{ease:"none"})),d._ease=He(C.ease||r.ease||"none");var a,L,N,time=0;if(Q(C))C.forEach((function(t){return d.to(D,t,">")})),d.duration();else{for(p in m={},C)"ease"===p||"easeEach"===p||ar(p,C[p],m,C.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++)(N={ease:(L=a[i]).e,duration:(L.t-(i?a[i-1].t:0))/100*S})[p]=L.v,d.to(D,N,time),time+=N.duration;d.duration()<S&&d.to({},{duration:S-d.duration()})}}S||h.duration(S=d.duration())}else h.timeline=0;return!0!==E||c||(Je=o(h),f.killTweensOf(D),Je=0),Yt(R,o(h),n),r.reversed&&h.reverse(),r.paused&&h.paused(!0),(x||!S&&!C&&h._start===Et(R._time)&&$(x)&&$t(o(h))&&"nested"!==R.data)&&(h._tTime=-1e-8,h.render(Math.max(0,-M)||0)),I&&Zt(o(h),I),h}l(e,t);var r=e.prototype;return r.render=function(t,e,r){var time,n,o,l,c,d,f,m,v,y=this._time,_=this._tDur,w=this._dur,T=t<0,S=t>_-I&&!T?_:t<I?0:t;if(w){if(S!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==T){if(time=S,m=this.timeline,this._repeat){if(l=w+this._rDelay,this._repeat<-1&&T)return this.totalTime(100*l+t,e,r);if(time=Et(S%l),S===_?(o=this._repeat,time=w):((o=~~(S/l))&&o===S/l&&(time=w,o--),time>w&&(time=w)),(d=this._yoyo&&1&o)&&(v=this._yEase,time=w-time),c=Wt(this._tTime,l),time===y&&!r&&this._initted)return this._tTime=S,this;o!==c&&(m&&this._yEase&&$e(m,d),!this.vars.repeatRefresh||d||this._lock||(this._lock=r=1,this.render(Et(l*o),!0).invalidate()._lock=0))}if(!this._initted){if(Jt(this,T?t:time,r,e,S))return this._tTime=0,this;if(y!==this._time)return this;if(w!==this._dur)return this.render(t,e,r)}if(this._tTime=S,this._time=time,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=f=(v||this._ease)(time/w),this._from&&(this.ratio=f=1-f),time&&!y&&!e&&!o&&(Me(this,"onStart"),this._tTime!==S))return this;for(n=this._pt;n;)n.r(f,n.d),n=n._next;m&&m.render(t<0?t:!time&&d?-1e-8:m._dur*m._ease(time/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(T&&Vt(this,t,0,r),Me(this,"onUpdate")),this._repeat&&o!==c&&this.vars.onRepeat&&!e&&this.parent&&Me(this,"onRepeat"),S!==this._tDur&&S||this._tTime!==S||(T&&!this._onUpdate&&Vt(this,t,0,!0),(t||!w)&&(S===this._tDur&&this._ts>0||!S&&this._ts<0)&&qt(this,1),e||T&&!y||!(S||y||d)||(Me(this,S===_?"onComplete":"onReverseComplete",!0),this._prom&&!(S<_&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,n){var o,l,c,d=t.ratio,f=e<0||!e&&(!t._start&&te(t)&&(t._initted||!ee(t))||(t._ts<0||t._dp._ts<0)&&!ee(t))?0:1,m=t._rDelay,v=0;if(m&&t._repeat&&(v=ue(0,t._tDur,e),l=Wt(v,m),t._yoyo&&1&l&&(f=1-f),l!==Wt(t._tTime,m)&&(d=1-f,t.vars.repeatRefresh&&t._initted&&t.invalidate())),f!==d||h||n||t._zTime===I||!e&&t._zTime){if(!t._initted&&Jt(t,e,n,r,v))return;for(c=t._zTime,t._zTime=e||(r?I:0),r||(r=e&&!c),t.ratio=f,t._from&&(f=1-f),t._time=0,t._tTime=v,o=t._pt;o;)o.r(f,o.d),o=o._next;e<0&&Vt(t,e,0,!0),t._onUpdate&&!r&&Me(t,"onUpdate"),v&&t._repeat&&!r&&t.parent&&Me(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===f&&(f&&qt(t,1),r||h||(Me(t,f?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,n){S||je.wake(),this._ts||this.play();var time=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||or(this,time),function(t,e,r,n,o,l,time){var c,h,d,i,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],d=t._ptLookup,i=t._targets.length;i--;){if((c=d[i][e])&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==e&&c.fp!==e;)c=c._next;if(!c)return er=1,t.vars[e]="+=0",or(t,time),er=0,1;f.push(c)}for(i=f.length;i--;)(c=(h=f[i])._pt||h).s=!n&&0!==n||o?c.s+(n||0)+l*c.c:n,c.c=r-c.s,h.e&&(h.e=kt(r)+le(h.e)),h.b&&(h.b=c.s+le(h.b))}(this,t,e,r,n,this._ease(time/this._dur),time)?this.resetTo(t,e,r,n):(Kt(this,0),this.parent||Ft(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?xe(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Je&&!0!==Je.vars.overwrite)._first||xe(this),this.parent&&r!==this.timeline.totalDuration()&&re(this,this._dur*this.timeline._tDur/r,0,1),this}var n,o,l,c,p,h,i,d=this._targets,f=t?fe(t):d,m=this._ptLookup,v=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0}(d,f))return"all"===e&&(this._pt=0),xe(this);for(n=this._op=this._op||[],"all"!==e&&(B(e)&&(p={},xt(e,(function(t){return p[t]=1})),e=p),e=function(t,e){var r,p,i,n,o=t[0]?St(t[0]).harness:0,l=o&&o.aliases;if(!l)return e;for(p in r=Lt({},e),l)if(p in r)for(i=(n=l[p].split(",")).length;i--;)r[n[i]]=r[p];return r}(d,e)),i=d.length;i--;)if(~f.indexOf(d[i]))for(p in o=m[i],"all"===e?(n[i]=e,c=o,l={}):(l=n[i]=n[i]||{},c=e),c)(h=o&&o[p])&&("kill"in h.d&&!0!==h.d.kill(p)||Ut(this,h,"_pt"),delete o[p]),"all"!==l&&(l[p]=1);return this._initted&&!this._pt&&v&&xe(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return ae(1,arguments)},e.delayedCall=function(t,r,n,o){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:o})},e.fromTo=function(t,e,r){return ae(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return f.killTweensOf(t,e,r)},e}(Ye);Dt(cr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),xt("staggerTo,staggerFrom,staggerFromTo",(function(t){cr[t]=function(){var e=new Ze,r=ce.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var dr=function(t,e,r){return t[e]=r},fr=function(t,e,r){return t[e](r)},pr=function(t,e,r,data){return t[e](data.fp,r)},mr=function(t,e,r){return t.setAttribute(e,r)},gr=function(t,e){return F(t[e])?fr:z(t[e])&&t.setAttribute?mr:dr},vr=function(t,data){return data.set(data.t,data.p,Math.round(1e6*(data.s+data.c*t))/1e6,data)},yr=function(t,data){return data.set(data.t,data.p,!!(data.s+data.c*t),data)},_r=function(t,data){var e=data._pt,s="";if(!t&&data.b)s=data.b;else if(1===t&&data.e)s=data.e;else{for(;e;)s=e.p+(e.m?e.m(e.s+e.c*t):Math.round(1e4*(e.s+e.c*t))/1e4)+s,e=e._next;s+=data.c}data.set(data.t,data.p,s,data)},wr=function(t,data){for(var e=data._pt;e;)e.r(t,e.d),e=e._next},Tr=function(t,e,r,n){for(var o,l=this._pt;l;)o=l._next,l.p===n&&l.modifier(t,e,r),l=o},Sr=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Ut(this,n,"_pt"):n.dep||(e=1),n=r;return!e},Mr=function(t,e,r,data){data.mSet(t,e,data.m.call(data.tween,r,data.mt),data)},xr=function(t){for(var e,r,n,o,l=t._pt;l;){for(e=l._next,r=n;r&&r.pr>l.pr;)r=r._next;(l._prev=r?r._prev:o)?l._prev._next=l:n=l,(l._next=r)?r._prev=l:o=l,l=e}t._pt=n},kr=function(){function t(t,e,r,n,o,l,data,c,h){this.t=e,this.s=n,this.c=o,this.p=r,this.r=l||vr,this.d=data||this,this.set=c||dr,this.pr=h||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Mr,this.m=t,this.mt=r,this.tween=e},t}();xt(wt+"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(t){return pt[t]=1})),it.TweenMax=it.TweenLite=cr,it.TimelineLite=it.TimelineMax=Ze,f=new Ze({sortChildren:!1,defaults:C,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),O.stringFilter=Ne;var Er=[],Or={},Cr=[],Ar=0,Ir=0,Pr=function(t){return(Or[t]||Cr).map((function(t){return t()}))},Rr=function(){var time=Date.now(),t=[];time-Ar>2&&(Pr("matchMediaInit"),Er.forEach((function(e){var r,p,n,o,l=e.queries,c=e.conditions;for(p in l)(r=m.matchMedia(l[p]).matches)&&(n=1),r!==c[p]&&(c[p]=r,o=1);o&&(e.revert(),n&&t.push(e))})),Pr("matchMediaRevert"),t.forEach((function(t){return t.onMatch(t)})),Ar=time,Pr("matchMedia"))},Dr=function(){function t(t,e){this.selector=e&&pe(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Ir++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){F(t)&&(r=e,e=t,t=F);var n=this,o=function(){var t,o=d,l=n.selector;return o&&o!==n&&o.data.push(n),r&&(n.selector=pe(r)),d=n,t=e.apply(n,arguments),F(t)&&n._r.push(t),d=o,n.selector=l,n.isReverted=!1,t};return n.last=o,t===F?o(n):t?n[t]=o:o},e.ignore=function(t){var e=d;d=null,t(this),d=e},e.getTweens=function(){var a=[];return this.data.forEach((function(e){return e instanceof t?a.push.apply(a,e.getTweens()):e instanceof cr&&!(e.parent&&"nested"===e.parent.data)&&a.push(e)})),a},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t){var n=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})))})),n.map((function(t){return{g:t.globalTime(0),t:t}})).sort((function(a,b){return b.g-a.g||-1/0})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return!(e instanceof cr)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var i=Er.length;i--;)Er[i].id===this.id&&Er.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Lr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){V(t)||(t={matches:t});var n,p,o,l=new Dr(0,r||this.scope),c=l.conditions={};for(p in d&&!l.selector&&(l.selector=d.selector),this.contexts.push(l),e=l.add("onMatch",e),l.queries=t,t)"all"===p?o=1:(n=m.matchMedia(t[p]))&&(Er.indexOf(l)<0&&Er.push(l),(c[p]=n.matches)&&(o=1),n.addListener?n.addListener(Rr):n.addEventListener("change",Rr));return o&&e(l),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),Nr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach((function(t){return Ee(t)}))},timeline:function(t){return new Ze(t)},getTweensOf:function(t,e){return f.getTweensOf(t,e)},getProperty:function(t,e,r,n){B(t)&&(t=fe(t)[0]);var o=St(t||{}).get,l=r?Rt:Pt;return"native"===r&&(r=""),t?e?l((vt[e]&&vt[e].get||o)(t,e,r,n)):function(e,r,n){return l((vt[e]&&vt[e].get||o)(t,e,r,n))}:t},quickSetter:function(t,e,r){if((t=fe(t)).length>1){var n=t.map((function(t){return Fr.quickSetter(t,e,r)})),o=n.length;return function(t){for(var i=o;i--;)n[i](t)}}t=t[0]||{};var l=vt[e],c=St(t),p=c.harness&&(c.harness.aliases||{})[e]||e,h=l?function(e){var p=new l;T._pt=0,p.init(t,r?e+r:e,T,0,[t]),p.render(1,p),T._pt&&wr(1,T)}:c.set(t,p);return l?h:function(e){return h(t,p,r?e+r:e,c,1)}},quickTo:function(t,e,r){var n,o=Fr.to(t,Lt(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),l=function(t,r,n){return o.resetTo(e,t,r,n)};return l.tween=o,l},isTweening:function(t){return f.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=He(t.ease,C.ease)),Nt(C,t||{})},config:function(t){return Nt(O,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,o=t.defaults,l=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!vt[t]&&!it[t]&&st(e+" effect requires "+t+" plugin.")})),yt[e]=function(t,e,n){return r(fe(t),Dt(e||{},o),n)},l&&(Ze.prototype[e]=function(t,r,n){return this.add(yt[e](t,V(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Fe[t]=He(e)},parseEase:function(t,e){return arguments.length?He(t,e):Fe},getById:function(t){return f.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,o=new Ze(t);for(o.smoothChildTiming=$(t.smoothChildTiming),f.remove(o),o._dp=0,o._time=o._tTime=f._time,r=f._first;r;)n=r._next,!e&&!r._dur&&r instanceof cr&&r.vars.onComplete===r._targets[0]||Yt(o,r,r._start-r._delay),r=n;return Yt(f,o,0),o},context:function(t,e){return t?new Dr(t,e):d},matchMedia:function(t){return new Lr(t)},matchMediaRefresh:function(){return Er.forEach((function(t){var e,p,r=t.conditions;for(p in r)r[p]&&(r[p]=!1,e=1);e&&t.revert()}))||Rr()},addEventListener:function(t,e){var a=Or[t]||(Or[t]=[]);~a.indexOf(e)||a.push(e)},removeEventListener:function(t,e){var a=Or[t],i=a&&a.indexOf(e);i>=0&&a.splice(i,1)},utils:{wrap:function t(e,r,n){var o=r-e;return Q(e)?_e(e,t(0,e.length),r):se(n,(function(t){return(o+(t-e)%o)%o+e}))},wrapYoyo:function t(e,r,n){var o=r-e,l=2*o;return Q(e)?_e(e,t(0,e.length-1),r):se(n,(function(t){return e+((t=(l+(t-e)%l)%l||0)>o?l-t:t)}))},distribute:ge,random:be,snap:ye,normalize:function(t,e,r){return Te(t,e,0,1,r)},getUnit:le,clamp:function(t,e,r){return se(r,(function(r){return ue(t,e,r)}))},splitColor:Ie,toArray:fe,selector:pe,mapRange:Te,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(r){return t(parseFloat(r))+(e||le(r))}},interpolate:function t(e,r,progress,n){var o=isNaN(e+r)?0:function(p){return(1-p)*e+p*r};if(!o){var p,i,l,c,h,d=B(e),f={};if(!0===progress&&(n=1)&&(progress=null),d)e={p:e},r={p:r};else if(Q(e)&&!Q(r)){for(l=[],c=e.length,h=c-2,i=1;i<c;i++)l.push(t(e[i-1],e[i]));c--,o=function(p){p*=c;var i=Math.min(h,~~p);return l[i](p-i)},progress=r}else n||(e=Lt(Q(e)?[]:{},e));if(!l){for(p in r)ir.call(f,e,p,"get",r[p]);o=function(p){return wr(p,f)||(d?e.p:e)}}}return se(progress,o)},shuffle:me},install:ot,effects:yt,ticker:je,updateRoot:Ze.updateRoot,plugins:vt,globalTimeline:f,core:{PropTween:kr,globals:ut,Tween:cr,Timeline:Ze,Animation:Ye,getCache:St,_removeLinkedListItem:Ut,reverting:function(){return h},context:function(t){return t&&d&&(d.data.push(t),t._ctx=d),d},suppressOverwrites:function(t){return c=t}}};xt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Nr[t]=cr[t]})),je.add(Ze.updateRoot),T=Nr.to({},{duration:0});var jr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Br=function(t,e){return{name:t,rawVars:1,init:function(t,r,n){n._onInit=function(t){var n,p;if(B(r)&&(n={},xt(r,(function(t){return n[t]=1})),r=n),e){for(p in n={},r)n[p]=e(r[p]);r=n}!function(t,e){var p,i,r,n=t._targets;for(p in e)for(i=n.length;i--;)(r=t._ptLookup[i][p])&&(r=r.d)&&(r._pt&&(r=jr(r,p)),r&&r.modifier&&r.modifier(e[p],t,n[i],p))}(t,r)}}}},Fr=Nr.registerPlugin({name:"attr",init:function(t,e,r,n,o){var p,l,c;for(p in this.tween=r,e)c=t.getAttribute(p)||"",(l=this.add(t,"setAttribute",(c||0)+"",e[p],n,o,0,0,p)).op=p,l.b=c,this._props.push(p)},render:function(t,data){for(var e=data._pt;e;)h?e.set(e.t,e.p,e.b,e):e.r(t,e.d),e=e._next}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Br("roundProps",ve),Br("modifiers"),Br("snap",ye))||Nr;cr.version=Ze.version=Fr.version="3.12.2",_=1,H()&&Be();Fe.Power0;var Ur=Fe.Power1,qr=Fe.Power2;Fe.Power3,Fe.Power4,Fe.Linear,Fe.Quad,Fe.Cubic,Fe.Quart,Fe.Quint,Fe.Strong,Fe.Elastic,Fe.Back,Fe.SteppedEase,Fe.Bounce,Fe.Sine,Fe.Expo,Fe.Circ},function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"addTypenameToDocument",(function(){return at})),r.d(e,"argumentsObjectFromField",(function(){return T})),r.d(e,"assign",(function(){return F})),r.d(e,"buildQueryFromSelectionSet",(function(){return gt})),r.d(e,"canUseWeakMap",(function(){return yt})),r.d(e,"checkDocument",(function(){return z})),r.d(e,"cloneDeep",(function(){return _t})),r.d(e,"createFragmentMap",(function(){return X})),r.d(e,"getDefaultValues",(function(){return Y})),r.d(e,"getDirectiveInfoFromField",(function(){return I})),r.d(e,"getDirectiveNames",(function(){return R})),r.d(e,"getDirectivesFromDocument",(function(){return ht})),r.d(e,"getEnv",(function(){return Tt})),r.d(e,"getFragmentDefinition",(function(){return Q})),r.d(e,"getFragmentDefinitions",(function(){return W})),r.d(e,"getFragmentQueryDocument",(function(){return B})),r.d(e,"getInclusionDirectives",(function(){return j})),r.d(e,"getMainDefinition",(function(){return K})),r.d(e,"getMutationDefinition",(function(){return U})),r.d(e,"getOperationDefinition",(function(){return V})),r.d(e,"getOperationDefinitionOrDie",(function(){return $})),r.d(e,"getOperationName",(function(){return H})),r.d(e,"getQueryDefinition",(function(){return G})),r.d(e,"getStoreKeyName",(function(){return w})),r.d(e,"graphQLResultHasError",(function(){return Ot})),r.d(e,"hasClientExports",(function(){return L})),r.d(e,"hasDirectives",(function(){return D})),r.d(e,"isDevelopment",(function(){return xt})),r.d(e,"isEnv",(function(){return St})),r.d(e,"isField",(function(){return M})),r.d(e,"isIdValue",(function(){return k})),r.d(e,"isInlineFragment",(function(){return x})),r.d(e,"isJsonValue",(function(){return O})),r.d(e,"isNumberValue",(function(){return m})),r.d(e,"isProduction",(function(){return Mt})),r.d(e,"isScalarValue",(function(){return f})),r.d(e,"isTest",(function(){return kt})),r.d(e,"maybeDeepFreeze",(function(){return At})),r.d(e,"mergeDeep",(function(){return Pt})),r.d(e,"mergeDeepArray",(function(){return Rt})),r.d(e,"removeArgumentsFromDocument",(function(){return ft}
2)),r.d(e,"removeClientSetsFromDocument",(function(){return vt})),r.d(e,"removeConnectionDirectiveFromDocument",(function(){return ut})),r.d(e,"removeDirectivesFromDocument",(function(){return ot})),r.d(e,"removeFragmentSpreadFromDocument",(function(){return pt})),r.d(e,"resultKeyNameFromField",(function(){return S})),r.d(e,"shouldInclude",(function(){return P})),r.d(e,"storeKeyNameFromField",(function(){return y})),r.d(e,"stripSymbols",(function(){return Ft})),r.d(e,"toIdValue",(function(){return E})),r.d(e,"tryFunctionOrLogError",(function(){return Et})),r.d(e,"valueFromNode",(function(){return A})),r.d(e,"valueToObjectRepresentation",(function(){return v})),r.d(e,"variablesInOperation",(function(){return Z})),r.d(e,"warnOnceInDevelopment",(function(){return Bt}));var n=r(70),o=r(11),l=r(65),c=r(461),h=r.n(c),d=r(430);function f(t){return["StringValue","BooleanValue","EnumValue"].indexOf(t.kind)>-1}function m(t){return["IntValue","FloatValue"].indexOf(t.kind)>-1}function v(t,e,r,n){if(function(t){return"IntValue"===t.kind}(r)||function(t){return"FloatValue"===t.kind}(r))t[e.value]=Number(r.value);else if(function(t){return"BooleanValue"===t.kind}(r)||function(t){return"StringValue"===t.kind}(r))t[e.value]=r.value;else if(function(t){return"ObjectValue"===t.kind}(r)){var l={};r.fields.map((function(t){return v(l,t.name,t.value,n)})),t[e.value]=l}else if(function(t){return"Variable"===t.kind}(r)){var c=(n||{})[r.name.value];t[e.value]=c}else if(function(t){return"ListValue"===t.kind}(r))t[e.value]=r.values.map((function(t){var r={};return v(r,e,t,n),r[e.value]}));else if(function(t){return"EnumValue"===t.kind}(r))t[e.value]=r.value;else{if(!function(t){return"NullValue"===t.kind}(r))throw new o.a(17);t[e.value]=null}}function y(t,e){var r=null;t.directives&&(r={},t.directives.forEach((function(t){r[t.name.value]={},t.arguments&&t.arguments.forEach((function(n){var o=n.name,l=n.value;return v(r[t.name.value],o,l,e)}))})));var n=null;return t.arguments&&t.arguments.length&&(n={},t.arguments.forEach((function(t){var r=t.name,o=t.value;return v(n,r,o,e)}))),w(t.name.value,n,r)}r.d(e,"isEqual",(function(){return d.a}));var _=["connection","include","skip","client","rest","export"];function w(t,e,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var o=e,l={};return n.forEach((function(t){l[t]=o[t]})),r.connection.key+"("+JSON.stringify(l)+")"}return r.connection.key}var c=t;if(e){var d=h()(e);c+="("+d+")"}return r&&Object.keys(r).forEach((function(t){-1===_.indexOf(t)&&(r[t]&&Object.keys(r[t]).length?c+="@"+t+"("+JSON.stringify(r[t])+")":c+="@"+t)})),c}function T(t,e){if(t.arguments&&t.arguments.length){var r={};return t.arguments.forEach((function(t){var n=t.name,o=t.value;return v(r,n,o,e)})),r}return null}function S(t){return t.alias?t.alias.value:t.name.value}function M(t){return"Field"===t.kind}function x(t){return"InlineFragment"===t.kind}function k(t){return t&&"id"===t.type&&"boolean"==typeof t.generated}function E(t,e){return void 0===e&&(e=!1),Object(l.a)({type:"id",generated:e},"string"==typeof t?{id:t,typename:void 0}:t)}function O(t){return null!=t&&"object"==typeof t&&"json"===t.type}function C(t){throw new o.a(18)}function A(t,e){switch(void 0===e&&(e=C),t.kind){case"Variable":return e(t);case"NullValue":return null;case"IntValue":return parseInt(t.value,10);case"FloatValue":return parseFloat(t.value);case"ListValue":return t.values.map((function(t){return A(t,e)}));case"ObjectValue":for(var r={},n=0,o=t.fields;n<o.length;n++){var l=o[n];r[l.name.value]=A(l.value,e)}return r;default:return t.value}}function I(t,e){if(t.directives&&t.directives.length){var r={};return t.directives.forEach((function(t){r[t.name.value]=T(t,e)})),r}return null}function P(t,e){return void 0===e&&(e={}),j(t.directives).every((function(t){var r=t.directive,n=t.ifArgument,l=!1;return"Variable"===n.value.kind?(l=e[n.value.name.value],Object(o.b)(void 0!==l,13)):l=n.value.value,"skip"===r.name.value?!l:l}))}function R(t){var e=[];return Object(n.b)(t,{Directive:function(t){e.push(t.name.value)}}),e}function D(t,e){return R(e).some((function(e){return t.indexOf(e)>-1}))}function L(t){return t&&D(["client"],t)&&D(["export"],t)}function N(t){var e=t.name.value;return"skip"===e||"include"===e}function j(t){return t?t.filter(N).map((function(t){var e=t.arguments;t.name.value;Object(o.b)(e&&1===e.length,14);var r=e[0];Object(o.b)(r.name&&"if"===r.name.value,15);var n=r.value;return Object(o.b)(n&&("Variable"===n.kind||"BooleanValue"===n.kind),16),{directive:t,ifArgument:r}})):[]}function B(t,e){var r=e,n=[];return t.definitions.forEach((function(t){if("OperationDefinition"===t.kind)throw new o.a(11);"FragmentDefinition"===t.kind&&n.push(t)})),void 0===r&&(Object(o.b)(1===n.length,12),r=n[0].name.value),Object(l.a)(Object(l.a)({},t),{definitions:Object(l.b)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],t.definitions)})}function F(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.forEach((function(source){null!=source&&Object.keys(source).forEach((function(e){t[e]=source[e]}))})),t}function U(t){z(t);var e=t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&"mutation"===t.operation}))[0];return Object(o.b)(e,1),e}function z(t){Object(o.b)(t&&"Document"===t.kind,2);var e=t.definitions.filter((function(t){return"FragmentDefinition"!==t.kind})).map((function(t){if("OperationDefinition"!==t.kind)throw new o.a(3);return t}));return Object(o.b)(e.length<=1,4),t}function V(t){return z(t),t.definitions.filter((function(t){return"OperationDefinition"===t.kind}))[0]}function $(t){var e=V(t);return Object(o.b)(e,5),e}function H(t){return t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&t.name})).map((function(t){return t.name.value}))[0]||null}function W(t){return t.definitions.filter((function(t){return"FragmentDefinition"===t.kind}))}function G(t){var e=V(t);return Object(o.b)(e&&"query"===e.operation,6),e}
2function Q(t){Object(o.b)("Document"===t.kind,7),Object(o.b)(t.definitions.length<=1,8);var e=t.definitions[0];return Object(o.b)("FragmentDefinition"===e.kind,9),e}function K(t){var e;z(t);for(var r=0,n=t.definitions;r<n.length;r++){var l=n[r];if("OperationDefinition"===l.kind){var c=l.operation;if("query"===c||"mutation"===c||"subscription"===c)return l}"FragmentDefinition"!==l.kind||e||(e=l)}if(e)return e;throw new o.a(10)}function X(t){void 0===t&&(t=[]);var e={};return t.forEach((function(t){e[t.name.value]=t})),e}function Y(t){if(t&&t.variableDefinitions&&t.variableDefinitions.length){var e=t.variableDefinitions.filter((function(t){return t.defaultValue})).map((function(t){var e=t.variable,r=t.defaultValue,n={};return v(n,e.name,r),n}));return F.apply(void 0,Object(l.b)([{}],e))}return{}}function Z(t){var e=new Set;if(t.variableDefinitions)for(var r=0,n=t.variableDefinitions;r<n.length;r++){var o=n[r];e.add(o.variable.name.value)}return e}function J(t,e,r){var n=0;return t.forEach((function(r,i){e.call(this,r,i,t)&&(t[n++]=r)}),r),t.length=n,t}var tt={kind:"Field",name:{kind:"Name",value:"__typename"}};function et(t,e){return t.selectionSet.selections.every((function(t){return"FragmentSpread"===t.kind&&et(e[t.name.value],e)}))}function it(t){return et(V(t)||Q(t),X(W(t)))?null:t}function nt(t){return function(e){return t.some((function(t){return t.name&&t.name===e.name.value||t.test&&t.test(e)}))}}function ot(t,e){var r=Object.create(null),o=[],l=Object.create(null),c=[],h=it(Object(n.b)(e,{Variable:{enter:function(t,e,n){"VariableDefinition"!==n.kind&&(r[t.name.value]=!0)}},Field:{enter:function(e){if(t&&e.directives&&(t.some((function(t){return t.remove}))&&e.directives&&e.directives.some(nt(t))))return e.arguments&&e.arguments.forEach((function(t){"Variable"===t.value.kind&&o.push({name:t.value.name.value})})),e.selectionSet&&mt(e.selectionSet).forEach((function(t){c.push({name:t.name.value})})),null}},FragmentSpread:{enter:function(t){l[t.name.value]=!0}},Directive:{enter:function(e){if(nt(t)(e))return null}}}));return h&&J(o,(function(t){return!r[t.name]})).length&&(h=ft(o,h)),h&&J(c,(function(t){return!l[t.name]})).length&&(h=pt(c,h)),h}function at(t){return Object(n.b)(z(t),{SelectionSet:{enter:function(t,e,r){if(!r||"OperationDefinition"!==r.kind){var n=t.selections;if(n)if(!n.some((function(t){return M(t)&&("__typename"===t.name.value||0===t.name.value.lastIndexOf("__",0))}))){var o=r;if(!(M(o)&&o.directives&&o.directives.some((function(t){return"export"===t.name.value}))))return Object(l.a)(Object(l.a)({},t),{selections:Object(l.b)(n,[tt])})}}}}})}var st={test:function(t){var e="connection"===t.name.value;return e&&(!t.arguments||t.arguments.some((function(t){return"key"===t.name.value}))),e}};function ut(t){return ot([st],z(t))}function lt(t,e,r){return void 0===r&&(r=!0),e&&e.selections&&e.selections.some((function(e){return ct(t,e,r)}))}function ct(t,e,r){return void 0===r&&(r=!0),!M(e)||!!e.directives&&(e.directives.some(nt(t))||r&&lt(t,e.selectionSet,r))}function ht(t,e){var r;return z(e),it(Object(n.b)(e,{SelectionSet:{enter:function(e,n,o,path){var c=path.join("-");if(!r||c===r||!c.startsWith(r)){if(e.selections){var h=e.selections.filter((function(e){return ct(t,e)}));return lt(t,e,!1)&&(r=c),Object(l.a)(Object(l.a)({},e),{selections:h})}return null}}}}))}function ft(t,e){var r=function(t){return function(e){return t.some((function(t){return e.value&&"Variable"===e.value.kind&&e.value.name&&(t.name===e.value.name.value||t.test&&t.test(e))}))}}(t);return it(Object(n.b)(e,{OperationDefinition:{enter:function(e){return Object(l.a)(Object(l.a)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return!t.some((function(t){return t.name===e.variable.name.value}))}))})}},Field:{enter:function(e){if(t.some((function(t){return t.remove}))){var n=0;if(e.arguments.forEach((function(t){r(t)&&(n+=1)})),1===n)return null}}},Argument:{enter:function(t){if(r(t))return null}}}))}function pt(t,e){function r(e){if(t.some((function(t){return t.name===e.name.value})))return null}return it(Object(n.b)(e,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}function mt(t){var e=[];return t.selections.forEach((function(t){(M(t)||x(t))&&t.selectionSet?mt(t.selectionSet).forEach((function(t){return e.push(t)})):"FragmentSpread"===t.kind&&e.push(t)})),e}function gt(t){return"query"===K(t).operation?t:Object(n.b)(t,{OperationDefinition:{enter:function(t){return Object(l.a)(Object(l.a)({},t),{operation:"query"})}}})}function vt(t){z(t);var e=ot([{test:function(t){return"client"===t.name.value},remove:!0}],t);return e&&(e=Object(n.b)(e,{FragmentDefinition:{enter:function(t){if(t.selectionSet&&t.selectionSet.selections.every((function(t){return M(t)&&"__typename"===t.name.value})))return null}}})),e}var yt="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product),bt=Object.prototype.toString;function _t(t){return wt(t,new Map)}function wt(t,e){switch(bt.call(t)){case"[object Array]":if(e.has(t))return e.get(t);var r=t.slice(0);return e.set(t,r),r.forEach((function(t,i){r[i]=wt(t,e)})),r;case"[object Object]":if(e.has(t))return e.get(t);var n=Object.create(Object.getPrototypeOf(t));return e.set(t,n),Object.keys(t).forEach((function(r){n[r]=wt(t[r],e)})),n;default:return t}}function Tt(){return void 0!==t?"production":"development"}function St(t){return Tt()===t}function Mt(){return!0===St("production")}
2function xt(){return!0===St("development")}function kt(){return!0===St("test")}function Et(t){try{return t()}catch(t){console.error&&console.error(t)}}function Ot(t){return t.errors&&t.errors.length}function Ct(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(e){null===t[e]||"object"!=typeof t[e]&&"function"!=typeof t[e]||Object.isFrozen(t[e])||Ct(t[e])})),t}function At(t){if((xt()||kt())&&!("function"==typeof Symbol&&"string"==typeof Symbol("")))return Ct(t);return t}var It=Object.prototype.hasOwnProperty;function Pt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Rt(t)}function Rt(t){var e=t[0]||{},r=t.length;if(r>1){var n=[];e=Nt(e,n);for(var i=1;i<r;++i)e=Lt(e,t[i],n)}return e}function Dt(t){return null!==t&&"object"==typeof t}function Lt(t,source,e){return Dt(source)&&Dt(t)?(Object.isExtensible&&!Object.isExtensible(t)&&(t=Nt(t,e)),Object.keys(source).forEach((function(r){var n=source[r];if(It.call(t,r)){var o=t[r];n!==o&&(t[r]=Lt(Nt(o,e),n,e))}else t[r]=n})),t):source}function Nt(t,e){return null!==t&&"object"==typeof t&&e.indexOf(t)<0&&(t=Array.isArray(t)?t.slice(0):Object(l.a)({__proto__:Object.getPrototypeOf(t)},t),e.push(t)),t}var jt=Object.create({});function Bt(t,e){void 0===e&&(e="warn"),Mt()||jt[t]||(kt()||(jt[t]=!0),"error"===e?console.error(t):console.warn(t))}function Ft(data){return JSON.parse(JSON.stringify(data))}}.call(this,r(67))},function(t,e,r){(function(e){var n,o=void 0!==e?e:"undefined"!=typeof window?window:{},l=r(598);"undefined"!=typeof document?n=document:(n=o["__GLOBAL_DOCUMENT_CACHE@4"])||(n=o["__GLOBAL_DOCUMENT_CACHE@4"]=l),t.exports=n}).call(this,r(40))},,,function(t,e,r){"use strict";r.d(e,"d",(function(){return _})),r.d(e,"l",(function(){return w})),r.d(e,"n",(function(){return T})),r.d(e,"m",(function(){return S})),r.d(e,"f",(function(){return M})),r.d(e,"b",(function(){return x})),r.d(e,"s",(function(){return k})),r.d(e,"h",(function(){return E})),r.d(e,"i",(function(){return O})),r.d(e,"e",(function(){return C})),r.d(e,"r",(function(){return A})),r.d(e,"k",(function(){return I})),r.d(e,"t",(function(){return R})),r.d(e,"o",(function(){return L})),r.d(e,"q",(function(){return N})),r.d(e,"g",(function(){return j})),r.d(e,"c",(function(){return B})),r.d(e,"j",(function(){return F})),r.d(e,"p",(function(){return U})),r.d(e,"a",(function(){return Q})),r.d(e,"v",(function(){return K})),r.d(e,"u",(function(){return X}));r(80),r(38),r(72),r(81),r(44),r(24),r(48);var n=r(17),o=r(12),l=r(16),c=r(41),h=(r(55),r(9),r(29),r(249),r(45),r(22),r(54),r(26),r(59),r(60),r(51),r(30),r(56),r(203),r(204),r(251),r(49),r(82),r(253),r(57),r(61),r(7)),d=r(64);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function v(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;return void 0===t[r]&&(t[r]=0),t[r]++}}function w(t){h.default.config.errorHandler&&h.default.config.errorHandler(t)}function T(t){return t.then((function(t){return t.default||t}))}function S(t){return t.$options&&"function"==typeof t.$options.fetch&&!t.$options.fetch.length}function M(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=v(t.$children||[]);try{for(n.s();!(e=n.n()).done;){var o=e.value;o.$fetch&&r.push(o),o.$children&&M(o,r)}}catch(t){n.e(t)}finally{n.f()}return r}function x(t,e){if(e||!t.options.__hasNuxtData){var r=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=r,t.options.data=function(){var data=r.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),m(m({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function k(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=h.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function E(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t[r]).map((function(o){return e&&e.push(n),t[r][o]}))})))}function O(t){return E(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function C(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t.components).reduce((function(n,o){return t.components[o]?n.push(e(t.components[o],t.instances[o],t,o,r)):delete t.components[o],n}),[])})))}function A(t,e){return Promise.all(C(t,function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(r,n,o,l){var c,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof r||r.options){t.next=11;break}return t.prev=1,t.next=4,r();case 4:r=t.sent,t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),t.t0&&"ChunkLoadError"===t.t0.name&&"undefined"!=typeof window&&window.sessionStorage&&(c=Date.now(),(!(h=parseInt(window.sessionStorage.getItem("nuxt-reload")))||h+6e4<c)&&(window.sessionStorage.setItem("nuxt-reload",c),window.location.reload(!0))),t.t0;case 11:return o.components[l]=r=k(r),t.abrupt("return","function"==typeof e?e(r,n,o,l):r);case 13:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,r,n,o){return t.apply(this,arguments)}}()))}function I(t){return P.apply(this,arguments)}function P(){return(P=Object(o.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,A(e);case 4:return t.abrupt("return",m(m({},e),{},{meta:E(e).map((function(t,r){return m(m({},t.options.meta),(e.matched[r]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function R(t,e){return D.apply(this,arguments)}function D(){return(D=Object(o.a)(regeneratorRuntime.mark((function t(e,r){var o,l,h,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!0,isDev:!1,isHMR:!1,app:e,store:e.store,payload:r.payload,error:r.error,base:e.router.options.base,env:{NUXT_ENV_COMPANY_NAME:"Dr Pad",NUXT_ENV_BASE_URL:"https://drpad.it",NUXT_ENV_AUTHOR:"Quamm",NUXT_ENV_GOOGLE_TAG_MANAGER_ID:"GTM-NJKTBCX7",NUXT_ENV_DATO_GQL_KEY:"e2fdff4583100223e6bdfe86a20976",NUXT_ENV_DATO_GQL_URL:"https://graphql.datocms.com/"}},r.ssrContext&&(e.context.ssrContext=r.ssrContext),e.context.redirect=function(t,path,r){if(t){e.context._redirected=!0;var o=Object(n.a)(path);if("number"==typeof t||"undefined"!==o&&"object"!==o||(r=path||{},path=t,o=Object(n.a)(path),t=302),"object"===o&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=Object(d.f)(path,r),window.location.assign(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:r,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([I(r.route),I(r.from)]);case 3:o=t.sent,l=Object(c.a)(o,2),h=l[0],f=l[1],r.route&&(e.context.route=h),r.from&&(e.context.from=f),r.error&&(e.context.error=r.error),e.context.next=r.next,e.context._redirected=!1,e.context._errored=!1,e.context.
2isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 16:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function L(t,e,r){return!t.length||e._redirected||e._errored||r&&r.aborted?Promise.resolve():N(t[0],e).then((function(){return L(t.slice(1),e,r)}))}function N(t,e){var r;return(r=2===t.length?new Promise((function(r){t(e,(function(t,data){t&&e.error(t),r(data=data||{})}))})):t(e))&&r instanceof Promise&&"function"==typeof r.then?r:Promise.resolve(r)}function j(base,t){if("hash"===t)return window.location.hash.replace(/^#\//,"");base=decodeURI(base).slice(0,-1);var path=decodeURI(window.location.pathname);base&&path.startsWith(base)&&(path=path.slice(base.length));var e=(path||"/")+window.location.search+window.location.hash;return Object(d.d)(e)}function B(t,e){return function(t,e){for(var r=new Array(t.length),i=0;i<t.length;i++)"object"===Object(n.a)(t[i])&&(r[i]=new RegExp("^(?:"+t[i].pattern+")$",G(e)));return function(e,n){for(var path="",data=e||{},o=(n||{}).pretty?V:encodeURIComponent,l=0;l<t.length;l++){var c=t[l];if("string"!=typeof c){var h=data[c.name||"pathMatch"],d=void 0;if(null==h){if(c.optional){c.partial&&(path+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Array.isArray(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<h.length;f++){if(d=o(h[f]),!r[l].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");path+=(0===f?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?$(h):o(h),!r[l].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');path+=c.prefix+d}}else path+=c}return path}}(function(t,e){var r,n=[],o=0,l=0,path="",c=e&&e.delimiter||"/";for(;null!=(r=z.exec(t));){var h=r[0],d=r[1],f=r.index;if(path+=t.slice(l,f),l=f+h.length,d)path+=d[1];else{var m=t[l],v=r[2],y=r[3],_=r[4],w=r[5],T=r[6],S=r[7];path&&(n.push(path),path="");var M=null!=v&&null!=m&&m!==v,x="+"===T||"*"===T,k="?"===T||"*"===T,E=r[2]||c,pattern=_||w;n.push({name:y||o++,prefix:v||"",delimiter:E,optional:k,repeat:x,partial:M,asterisk:Boolean(S),pattern:pattern?W(pattern):S?".*":"[^"+H(E)+"]+?"})}}l<t.length&&(path+=t.substr(l));path&&n.push(path);return n}(t,e),e)}function F(t,e){var r={},n=m(m({},t),e);for(var o in n)String(t[o])!==String(e[o])&&(r[o]=!0);return r}function U(t){var e;if(t.message||"string"==typeof t)e=t.message||t;else try{e=JSON.stringify(t,null,2)}catch(r){e="[".concat(t.constructor.name,"]")}return m(m({},t),{},{message:e,statusCode:t.statusCode||t.status||t.response&&t.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(t){window.onNuxtReadyCbs.push(t)};var z=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function V(t,e){var r=e?/[?#]/g:/[/?#]/g;return encodeURI(t).replace(r,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function $(t){return V(t,!0)}function H(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function W(t){return t.replace(/([=!:$/()])/g,"\\$1")}function G(t){return t&&t.sensitive?"":"i"}function Q(t,e,r){t.$options[e]||(t.$options[e]=[]),t.$options[e].includes(r)||t.$options[e].push(r)}var K=d.c;d.h,d.b;function X(t){try{window.history.scrollRestoration=t}catch(t){}}},,,function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return h})),r.d(e,"b",(function(){return d}));var n=r(460),o="Invariant Violation",l=Object.setPrototypeOf,c=void 0===l?function(t,e){return t.__proto__=e,t}:l,h=function(t){function e(r){void 0===r&&(r=o);var n=t.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,c(n,e.prototype),n}return Object(n.a)(e,t),e}(Error);function d(t,e){if(!t)throw new h(e)}function f(t){return function(){return console[t].apply(console,arguments)}}!function(t){t.warn=f("warn"),t.error=f("error")}(d||(d={}));var m={env:{}};if("object"==typeof t)m=t;else try{Function("stub","process = stub")(m)}catch(t){}}).call(this,r(67))},,function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));
2var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},,,,,function(t,e){function r(t){if(t&&"object"==typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"==typeof t)return l[t];var r,c=String(t);return(r=n[c.toLowerCase()])?r:(r=o[c.toLowerCase()])||(1===c.length?c.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"==typeof t){var r=t.which||t.keyCode||t.charCode;if(null==r)return!1;if("string"==typeof e){var l;if(l=n[e.toLowerCase()])return l===r;if(l=o[e.toLowerCase()])return l===r}else if("number"==typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.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=e.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++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=i;for(i=1;i<13;i++)n["f"+i]=i+111;for(i=0;i<10;i++)n["numpad "+i]=i+96;var l=e.names=e.title={};for(i in n)l[n[i]]=i;for(var c in o)n[c]=o[c]},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},,,,function(t,e,r){var n=r(62),o=n.Buffer;function l(t,e){for(var r in t)e[r]=t[r]}function c(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(l(n,e),e.Buffer=c),c.prototype=Object.create(o.prototype),l(o,c),c.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},c.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},c.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},,,,,,,,,function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var content=t(e);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(o[l]=!0)}for(var c=0;c<t.length;c++){var h=[].concat(t[c]);n&&o[h[0]]||(r&&(h[2]?h[2]="".concat(r," and ").concat(h[2]):h[2]=r),e.push(h))}},e}},function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],l=o[0],c={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};n[l]?n[l].parts.push(c):r.push(n[l]={id:l,parts:[c]})}return r}r.r(e),r.d(e,"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,h=0,d=!1,f=function(){},m=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function _(t,e,r,o){d=r,m=o||{};var c=n(t,e);return w(c),function(e){for(var r=[],i=0;i<c.length;i++){var o=c[i];(h=l[o.id]).refs--,r.push(h)}e?w(c=n(t,e)):c=[];for(i=0;i<r.length;i++){var h;if(0===(h=r[i]).refs){for(var d=0;d<h.parts.length;d++)h.parts[d]();delete l[h.id]}}}}function w(t){for(var i=0;i<t.length;i++){var e=t[i],r=l[e.id];if(r){r.refs++;for(var n=0;n<r.parts.length;n++)r.parts[n](e.parts[n]);for(;n<e.parts.length;n++)r.parts.push(S(e.parts[n]));r.parts.length>e.parts.length&&(r.parts.length=e.parts.length)}else{var o=[];for(n=0;n<e.parts.length;n++)o.push(S(e.parts[n]));l[e.id]={id:e.id,refs:1,parts:o}}}}function T(){var t=document.createElement("style");return t.type="text/css",head.appendChild(t),t}function S(t){var e,r,n=document.querySelector("style["+v+'~="'+t.id+'"]');if(n){if(d)return f;n.parentNode.removeChild(n)}if(y){var o=h++;n=c||(c=T()),e=k.bind(null,n,o,!1),r=k.bind(null,n,o,!0)}else n=T(),e=E.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}
2var M,x=(M=[],function(t,e){return M[t]=e,M.filter(Boolean).join("\n")});function k(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=x(e,o);else{var l=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(l,c[e]):t.appendChild(l)}}function E(t,e){var r=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute("media",n),m.ssrId&&t.setAttribute(v,e.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},,function(t,e,r){"use strict";var n=r(223);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var l="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function c(source,t){for(var e,r=/\r\n|[\n\r]/g,line=1,n=t+1;(e=r.exec(source.body))&&e.index<t;)line+=1,n=t+1-(e.index+e[0].length);return{line:line,column:n}}function h(t){return d(t.source,c(t.source,t.start))}function d(source,t){var e=source.locationOffset.column-1,body=m(e)+source.body,r=t.line-1,n=source.locationOffset.line-1,o=t.line+n,l=1===t.line?e:0,c=t.column+l,h="".concat(source.name,":").concat(o,":").concat(c,"\n"),d=body.split(/\r\n|[\n\r]/g),v=d[r];if(v.length>120){for(var y=Math.floor(c/80),_=c%80,w=[],i=0;i<v.length;i+=80)w.push(v.slice(i,i+80));return h+f([["".concat(o),w[0]]].concat(w.slice(1,y+1).map((function(t){return["",t]})),[[" ",m(_-1)+"^"],["",w[y+1]]]))}return h+f([["".concat(o-1),d[r-1]],["".concat(o),v],["",m(c-1)+"^"],["".concat(o+1),d[r+1]]])}function f(t){var e=t.filter((function(t){t[0];return void 0!==t[1]})),r=Math.max.apply(Math,e.map((function(t){return t[0].length})));return e.map((function(t){var e,n=t[0],line=t[1];return m(r-(e=n).length)+e+(line?" | "+line:" |")})).join("\n")}function m(t){return Array(t+1).join(" ")}function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function T(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?S(t):e}function S(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M(t){var e="function"==typeof Map?new Map:void 0;return M=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return x(t,arguments,O(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),E(n,t)},M(t)}function x(t,e,r){return x=k()?Reflect.construct:function(t,e,r){var a=[null];a.push.apply(a,e);var n=new(Function.bind.apply(t,a));return r&&E(n,r.prototype),n},x.apply(null,arguments)}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}
2function E(t,p){return E=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t},E(t,p)}function O(t){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},O(t)}var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(M,t);var e,r,n,f,m,v=(e=M,r=k(),function(){var t,n=O(e);if(r){var o=O(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return T(this,t)});function M(t,e,source,r,path,n,l){var h,d,f,m;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,M),(m=v.call(this,t)).name="GraphQLError",m.originalError=null!=n?n:void 0,m.nodes=A(Array.isArray(e)?e:e?[e]:void 0);for(var w=[],x=0,k=null!==(E=m.nodes)&&void 0!==E?E:[];x<k.length;x++){var E,O=k[x].loc;null!=O&&w.push(O)}w=A(w),m.source=null!=source?source:null===(h=w)||void 0===h?void 0:h[0].source,m.positions=null!=r?r:null===(d=w)||void 0===d?void 0:d.map((function(t){return t.start})),m.locations=r&&source?r.map((function(t){return c(source,t)})):null===(f=w)||void 0===f?void 0:f.map((function(t){return c(t.source,t.start)})),m.path=null!=path?path:void 0;var C,I=null==n?void 0:n.extensions;return null==l&&("object"==o(C=I)&&null!==C)?m.extensions=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?y(Object(source),!0).forEach((function(e){_(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},I):m.extensions=null!=l?l:{},Object.defineProperties(S(m),{message:{enumerable:!0},locations:{enumerable:null!=m.locations},path:{enumerable:null!=m.path},extensions:{enumerable:null!=m.extensions&&Object.keys(m.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=n&&n.stack?(Object.defineProperty(S(m),"stack",{value:n.stack,writable:!0,configurable:!0}),T(m)):(Error.captureStackTrace?Error.captureStackTrace(S(m),M):Object.defineProperty(S(m),"stack",{value:Error().stack,writable:!0,configurable:!0}),m)}return n=M,(f=[{key:"toString",value:function(){return function(t){var output=t.message;if(t.nodes)for(var e=0,r=t.nodes;e<r.length;e++){var n=r[e];n.loc&&(output+="\n\n"+h(n.loc))}else if(t.source&&t.locations)for(var o=0,l=t.locations;o<l.length;o++){var c=l[o];output+="\n\n"+d(t.source,c)}return output}(this)}},{key:l,get:function(){return"Object"}}])&&w(n.prototype,f),m&&w(n,m),M}(M(Error));function A(t){return void 0===t||0===t.length?void 0:t}function I(source,t,e){return new C("Syntax Error: ".concat(e),void 0,source,[t])}var P=r(13),R=r(36),D=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),L=r(171);function N(t,e){if(!Boolean(t))throw new Error(e)}var j=function(t,e){return t instanceof e};function B(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var F=function(){function t(body){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof body||N(0,"Body must be a string. Received: ".concat(Object(L.a)(body),".")),this.body=body,this.name=t,this.locationOffset=e,this.locationOffset.line>0||N(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||N(0,"column in locationOffset is 1-indexed and must be positive.")}var e,r,n;return e=t,(r=[{key:l,get:function(){return"Source"}}])&&B(e.prototype,r),n&&B(e,n),t}();var U=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",
vendor: 24,013 bytes, line 2
2ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),z=r(224),V=function(){function t(source){var t=new R.b(D.SOF,0,0,0,0,null);this.source=source,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var e=t.prototype;return e.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},e.lookahead=function(){var t=this.token;if(t.kind!==D.EOF)do{var e;t=null!==(e=t.next)&&void 0!==e?e:t.next=H(this,t)}while(t.kind===D.COMMENT);return t},t}();function $(code){return isNaN(code)?D.EOF:code<127?JSON.stringify(String.fromCharCode(code)):'"\\u'.concat(("00"+code.toString(16).toUpperCase()).slice(-4),'"')}function H(t,e){for(var source=t.source,body=source.body,r=body.length,n=e.end;n<r;){var code=body.charCodeAt(n),o=t.line,l=1+n-t.lineStart;switch(code){case 65279:case 9:case 32:case 44:++n;continue;case 10:++n,++t.line,t.lineStart=n;continue;case 13:10===body.charCodeAt(n+1)?n+=2:++n,++t.line,t.lineStart=n;continue;case 33:return new R.b(D.BANG,n,n+1,o,l,e);case 35:return G(source,n,o,l,e);case 36:return new R.b(D.DOLLAR,n,n+1,o,l,e);case 38:return new R.b(D.AMP,n,n+1,o,l,e);case 40:return new R.b(D.PAREN_L,n,n+1,o,l,e);case 41:return new R.b(D.PAREN_R,n,n+1,o,l,e);case 46:if(46===body.charCodeAt(n+1)&&46===body.charCodeAt(n+2))return new R.b(D.SPREAD,n,n+3,o,l,e);break;case 58:return new R.b(D.COLON,n,n+1,o,l,e);case 61:return new R.b(D.EQUALS,n,n+1,o,l,e);case 64:return new R.b(D.AT,n,n+1,o,l,e);case 91:return new R.b(D.BRACKET_L,n,n+1,o,l,e);case 93:return new R.b(D.BRACKET_R,n,n+1,o,l,e);case 123:return new R.b(D.BRACE_L,n,n+1,o,l,e);case 124:return new R.b(D.PIPE,n,n+1,o,l,e);case 125:return new R.b(D.BRACE_R,n,n+1,o,l,e);case 34:return 34===body.charCodeAt(n+1)&&34===body.charCodeAt(n+2)?Y(source,n,o,l,e,t):X(source,n,o,l,e);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Q(source,n,code,o,l,e);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return J(source,n,o,l,e)}throw I(source,n,W(code))}var line=t.line,col=1+n-t.lineStart;return new R.b(D.EOF,r,r,line,col,e)}function W(code){return code<32&&9!==code&&10!==code&&13!==code?"Cannot contain the invalid character ".concat($(code),"."):39===code?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat($(code),".")}function G(source,t,line,col,e){var code,body=source.body,r=t;do{code=body.charCodeAt(++r)}while(!isNaN(code)&&(code>31||9===code));return new R.b(D.COMMENT,t,r,line,col,e,body.slice(t+1,r))}function Q(source,t,e,line,col,r){var body=source.body,code=e,n=t,o=!1;if(45===code&&(code=body.charCodeAt(++n)),48===code){if((code=body.charCodeAt(++n))>=48&&code<=57)throw I(source,n,"Invalid number, unexpected digit after 0: ".concat($(code),"."))}else n=K(source,n,code),code=body.charCodeAt(n);if(46===code&&(o=!0,code=body.charCodeAt(++n),n=K(source,n,code),code=body.charCodeAt(n)),69!==code&&101!==code||(o=!0,43!==(code=body.charCodeAt(++n))&&45!==code||(code=body.charCodeAt(++n)),n=K(source,n,code),code=body.charCodeAt(n)),46===code||function(code){return 95===code||code>=65&&code<=90||code>=97&&code<=122}(code))throw I(source,n,"Invalid number, expected digit but got: ".concat($(code),"."));return new R.b(o?D.FLOAT:D.INT,t,n,line,col,r,body.slice(t,n))}function K(source,t,e){var body=source.body,r=t,code=e;if(code>=48&&code<=57){do{code=body.charCodeAt(++r)}while(code>=48&&code<=57);return r}throw I(source,r,"Invalid number, expected digit but got: ".concat($(code),"."))}function X(source,t,line,col,e){for(var a,b,r,n,body=source.body,o=t+1,l=o,code=0,c="";o<body.length&&!isNaN(code=body.charCodeAt(o))&&10!==code&&13!==code;){if(34===code)return c+=body.slice(l,o),new R.b(D.STRING,t,o+1,line,col,e,c);if(code<32&&9!==code)throw I(source,o,"Invalid character within String: ".concat($(code),"."));if(++o,92===code){switch(c+=body.slice(l,o-1),code=body.charCodeAt(o)){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+="\n";break;case 114:c+="\r";break;case 116:c+="\t";break;case 117:var h=(a=body.charCodeAt(o+1),b=body.charCodeAt(o+2),r=body.charCodeAt(o+3),n=body.charCodeAt(o+4),Z(a)<<12|Z(b)<<8|Z(r)<<4|Z(n));if(h<0){var d=body.slice(o+1,o+5);throw I(source,o,"Invalid character escape sequence: \\u".concat(d,"."))}c+=String.fromCharCode(h),o+=4;break;default:throw I(source,o,"Invalid character escape sequence: \\".concat(String.fromCharCode(code),"."))}l=++o}}throw I(source,o,"Unterminated string.")}function Y(source,t,line,col,e,r){for(var body=source.body,n=t+3,o=n,code=0,l="";n<body.length&&!isNaN(code=body.charCodeAt(n));){if(34===code&&34===body.charCodeAt(n+1)&&34===body.charCodeAt(n+2))return l+=body.slice(o,n),new R.b(D.BLOCK_STRING,t,n+3,line,col,e,Object(z.a)(l));if(code<32&&9!==code&&10!==code&&13!==code)throw I(source,n,"Invalid character within String: ".concat($(code),"."));10===code?(++n,++r.line,r.lineStart=n):13===code?(10===body.charCodeAt(n+1)?n+=2:++n,++r.line,r.lineStart=n):92===code&&34===body.charCodeAt(n+1)&&34===body.charCodeAt(n+2)&&34===body.charCodeAt(n+3)?(l+=body.slice(o,n)+'"""',o=n+=4):++n}throw I(source,n,"Unterminated string.")}function Z(a){return a>=48&&a<=57?a-48:a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:-1}function J(source,t,line,col,e){for(var body=source.body,r=body.length,n=t+1,code=0;n!==r&&!isNaN(code=body.charCodeAt(n))&&(95===code||code>=48&&code<=57||code>=65&&code<=90||code>=97&&code<=122);)++n;return new R.b(D.NAME,t,n,line,col,e,body.slice(t,n))}var tt=function(){function t(source,t){var e=function(source){return j(source,F)}(source)?source:new F(source);this._lexer=new V(e),this._options=t}var e=t.prototype;return e.parseName=function(){var t=this.expectToken(D.NAME);return{kind:P.a.NAME,value:t.value,loc:this.loc(t)}},e.parseDocument=function(){var t=this._lexer.token;return{kind:P.a.DOCUMENT,definitions:this.many(D.SOF,this.parseDefinition,D.EOF),loc:this.loc(t)}},e.parseDefinition=function(){if(this.peek(D.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(D.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},e.parseOperationDefinition=function(){var t=this._lexer.token;if(this.peek(D.BRACE_L))return{kind:P.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var e,r=this.parseOperationType();return this.peek(D.NAME)&&(e=this.parseName()),{kind:P.a.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},e.parseOperationType=function(){var t=this.expectToken(D.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(t)},e.parseVariableDefinitions=function(){return this.optionalMany(D.PAREN_L,this.parseVariableDefinition,D.PAREN_R)},e.parseVariableDefinition=function(){var t=this._lexer.token;return{kind:P.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(D.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(D.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(t)}},e.parseVariable=function(){var t=this._lexer.token;return this.expectToken(D.DOLLAR),{kind:P.a.VARIABLE,name:this.parseName(),loc:this.loc(t)}},e.parseSelectionSet=function(){var t=this._lexer.token;return{kind:P.a.SELECTION_SET,selections:this.many(D.BRACE_L,this.parseSelection,D.BRACE_R),loc:this.loc(t)}},e.parseSelection=function(){return this.peek(D.SPREAD)?this.parseFragment():this.parseField()},e.parseField=function(){var t,e,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(D.COLON)?(t=n,e=this.parseName()):e=n,{kind:P.a.FIELD,alias:t,name:e,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(D.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},e.parseArguments=function(t){var e=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(D.PAREN_L,e,D.PAREN_R)},e.parseArgument=function(){var t=this._lexer.token,e=this.parseName();return this.expectToken(D.COLON),{kind:P.a.ARGUMENT,name:e,value:this.parseValueLiteral(!1),loc:this.loc(t)}},e.parseConstArgument=function(){var t=this._lexer.token;return{kind:P.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(D.COLON),this.parseValueLiteral(!0)),loc:this.loc(t)}},e.parseFragment=function(){var t=this._lexer.token;this.expectToken(D.SPREAD);var e=this.expectOptionalKeyword("on");return!e&&this.peek(D.NAME)?{kind:P.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(t)}:{kind:P.a.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},e.parseFragmentDefinition=function(){var t,e=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(t=this._options)||void 0===t?void 0:t.experimentalFragmentVariables)?{kind:P.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:P.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},e.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},e.parseValueLiteral=function(t){var e=this._lexer.token;switch(e.kind){case D.BRACKET_L:return this.parseList(t);case D.BRACE_L:return this.parseObject(t);case D.INT:return this._lexer.advance(),{kind:P.a.INT,value:e.value,loc:this.loc(e)};case D.FLOAT:return this._lexer.advance(),{kind:P.a.FLOAT,value:e.value,loc:this.loc(e)};case D.STRING:case D.BLOCK_STRING:return this.parseStringLiteral();case D.NAME:switch(this._lexer.advance(),e.value){case"true":return{kind:P.a.BOOLEAN,value:!0,loc:this.loc(e)};case"false":return{kind:P.a.BOOLEAN,value:!1,loc:this.loc(e)};case"null":return{kind:P.a.NULL,loc:this.loc(e)};default:return{kind:P.a.ENUM,value:e.value,loc:this.loc(e)}}case D.DOLLAR:if(!t)return this.parseVariable()}throw this.unexpected()},e.parseStringLiteral=function(){var t=this._lexer.token;return this._lexer.advance(),{kind:P.a.STRING,value:t.value,block:t.kind===D.BLOCK_STRING,loc:this.loc(t)}},e.parseList=function(t){var e=this,r=this._lexer.token;return{kind:P.a.LIST,values:this.any(D.BRACKET_L,(function(){return e.parseValueLiteral(t)}),D.BRACKET_R),loc:this.loc(r)}},e.parseObject=function(t){var e=this,r=this._lexer.token;return{kind:P.a.OBJECT,fields:this.any(D.BRACE_L,(function(){return e.parseObjectField(t)}),D.BRACE_R),loc:this.loc(r)}},e.parseObjectField=function(t){var e=this._lexer.token,r=this.parseName();return this.expectToken(D.COLON),{kind:P.a.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t),loc:this.loc(e)}},e.parseDirectives=function(t){for(var e=[];this.peek(D.AT);)e.push(this.parseDirective(t));return e},e.parseDirective=function(t){var e=this._lexer.token;return this.expectToken(D.AT),{kind:P.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t),loc:this.loc(e)}},e.parseTypeReference=function(){var t,e=this._lexer.token;return this.expectOptionalToken(D.BRACKET_L)?(t=this.parseTypeReference(),this.expectToken(D.BRACKET_R),t={kind:P.a.LIST_TYPE,type:t,loc:this.loc(e)}):t=this.parseNamedType(),this.expectOptionalToken(D.BANG)?{kind:P.a.NON_NULL_TYPE,type:t,loc:this.loc(e)}:t},e.parseNamedType=function(){var t=this._lexer.token;return{kind:P.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(t)}},e.parseTypeSystemDefinition=function(){var t=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(t.kind===D.NAME)switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(t)},e.peekDescription=function(){return this.peek(D.STRING)||this.peek(D.BLOCK_STRING)},e.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},e.parseSchemaDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(D.BRACE_L,this.parseOperationTypeDefinition,D.BRACE_R);return{kind:P.a.SCHEMA_DEFINITION,description:e,directives:r,operationTypes:n,loc:this.loc(t)}},e.parseOperationTypeDefinition=function(){var t=this._lexer.token,e=this.parseOperationType();this.expectToken(D.COLON);var r=this.parseNamedType();return{kind:P.a.OPERATION_TYPE_DEFINITION,operation:e,type:r,loc:this.loc(t)}},e.parseScalarTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:P.a.SCALAR_TYPE_DEFINITION,description:e,name:r,directives:n,loc:this.loc(t)}},e.parseObjectTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),l=this.parseFieldsDefinition();return{kind:P.a.OBJECT_TYPE_DEFINITION,description:e,name:r,interfaces:n,directives:o,fields:l,loc:this.loc(t)}},e.parseImplementsInterfaces=function(){var t;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)){var e=[];this.expectOptionalToken(D.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(D.AMP)||this.peek(D.NAME));return e}return this.delimitedMany(D.AMP,this.parseNamedType)},e.parseFieldsDefinition=function(){var t;return!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLEmptyFields)&&this.peek(D.BRACE_L)&&this._lexer.lookahead().kind===D.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(D.BRACE_L,this.parseFieldDefinition,D.BRACE_R)},e.parseFieldDefinition=function(){var t=this._lexer.token,e=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(D.COLON);var o=this.parseTypeReference(),l=this.parseDirectives(!0);return{kind:P.a.FIELD_DEFINITION,description:e,name:r,arguments:n,type:o,directives:l,loc:this.loc(t)}},e.parseArgumentDefs=function(){return this.optionalMany(D.PAREN_L,this.parseInputValueDef,D.PAREN_R)},e.parseInputValueDef=function(){var t=this._lexer.token,e=this.parseDescription(),r=this.parseName();this.expectToken(D.COLON);var n,o=this.parseTypeReference();this.expectOptionalToken(D.EQUALS)&&(n=this.parseValueLiteral(!0));var l=this.parseDirectives(!0);return{kind:P.a.INPUT_VALUE_DEFINITION,description:e,name:r,type:o,defaultValue:n,directives:l,loc:this.loc(t)}},e.parseInterfaceTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),l=this.parseFieldsDefinition();return{kind:P.a.INTERFACE_TYPE_DEFINITION,description:e,name:r,interfaces:n,directives:o,fields:l,loc:this.loc(t)}},e.parseUnionTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:P.a.UNION_TYPE_DEFINITION,description:e,name:r,directives:n,types:o,loc:this.loc(t)}},e.parseUnionMemberTypes=function(){return this.expectOptionalToken(D.EQUALS)?this.delimitedMany(D.PIPE,this.parseNamedType):[]},e.parseEnumTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:P.a.ENUM_TYPE_DEFINITION,description:e,name:r,directives:n,values:o,loc:this.loc(t)}},e.parseEnumValuesDefinition=function(){return this.optionalMany(D.BRACE_L,this.parseEnumValueDefinition,D.BRACE_R)},e.parseEnumValueDefinition=function(){var t=this._lexer.token,e=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:P.a.ENUM_VALUE_DEFINITION,description:e,name:r,directives:n,loc:this.loc(t)}},e.parseInputObjectTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:P.a.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:r,directives:n,fields:o,loc:this.loc(t)}},e.parseInputFieldsDefinition=function(){return this.optionalMany(D.BRACE_L,this.parseInputValueDef,D.BRACE_R)},e.parseTypeSystemExtension=function(){var t=this._lexer.lookahead();if(t.kind===D.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)},e.parseSchemaExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var e=this.parseDirectives(!0),r=this.optionalMany(D.BRACE_L,this.parseOperationTypeDefinition,D.BRACE_R);if(0===e.length&&0===r.length)throw this.unexpected();return{kind:P.a.SCHEMA_EXTENSION,directives:e,operationTypes:r,loc:this.loc(t)}},e.parseScalarTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var e=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:P.a.SCALAR_TYPE_EXTENSION,name:e,directives:r,loc:this.loc(t)}},e.parseObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var e=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:P.a.OBJECT_TYPE_EXTENSION,name:e,interfaces:r,directives:n,fields:o,loc:this.loc(t)}},e.parseInterfaceTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var e=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:P.a.INTERFACE_TYPE_EXTENSION,name:e,interfaces:r,directives:n,fields:o,loc:this.loc(t)}},e.parseUnionTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var e=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:P.a.UNION_TYPE_EXTENSION,name:e,directives:r,types:n,loc:this.loc(t)}},e.parseEnumTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var e=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:P.a.ENUM_TYPE_EXTENSION,name:e,directives:r,values:n,loc:this.loc(t)}},e.parseInputObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var e=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:P.a.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:r,fields:n,loc:this.loc(t)}},e.parseDirectiveDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(D.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var l=this.parseDirectiveLocations();return{kind:P.a.DIRECTIVE_DEFINITION,description:e,name:r,arguments:n,repeatable:o,locations:l,loc:this.loc(t)}},e.parseDirectiveLocations=function(){return this.delimitedMany(D.PIPE,this.parseDirectiveLocation)},e.parseDirectiveLocation=function(){var t=this._lexer.token,e=this.parseName();if(void 0!==U[e.value])return e;throw this.unexpected(t)},e.loc=function(t){var e;if(!0!==(null===(e=this._options)||void 0===e?void 0:e.noLocation))return new R.a(t,this._lexer.lastToken,this._lexer.source)},e.peek=function(t){return this._lexer.token.kind===t},e.expectToken=function(t){var e=this._lexer.token;if(e.kind===t)return this._lexer.advance(),e;throw I(this._lexer.source,e.start,"Expected ".concat(it(t),", found ").concat(et(e),"."))},e.expectOptionalToken=function(t){var e=this._lexer.token;if(e.kind===t)return this._lexer.advance(),e},e.expectKeyword=function(t){var e=this._lexer.token;if(e.kind!==D.NAME||e.value!==t)throw I(this._lexer.source,e.start,'Expected "'.concat(t,'", found ').concat(et(e),"."));this._lexer.advance()},e.expectOptionalKeyword=function(t){var e=this._lexer.token;return e.kind===D.NAME&&e.value===t&&(this._lexer.advance(),!0)},e.unexpected=function(t){var e=null!=t?t:this._lexer.token;return I(this._lexer.source,e.start,"Unexpected ".concat(et(e),"."))},e.any=function(t,e,r){this.expectToken(t);for(var n=[];!this.expectOptionalToken(r);)n.push(e.call(this));return n},e.optionalMany=function(t,e,r){if(this.expectOptionalToken(t)){var n=[];do{n.push(e.call(this))}while(!this.expectOptionalToken(r));return n}return[]},e.many=function(t,e,r){this.expectToken(t);var n=[];do{n.push(e.call(this))}while(!this.expectOptionalToken(r));return n},e.delimitedMany=function(t,e){this.expectOptionalToken(t);var r=[];do{r.push(e.call(this))}while(this.expectOptionalToken(t));return r},t}();function et(t){var e=t.value;return it(t.kind)+(null!=e?' "'.concat(e,'"'):"")}function it(t){return function(t){return t===D.BANG||t===D.DOLLAR||t===D.AMP||t===D.PAREN_L||t===D.PAREN_R||t===D.SPREAD||t===D.COLON||t===D.EQUALS||t===D.AT||t===D.BRACKET_L||t===D.BRACKET_R||t===D.BRACE_L||t===D.PIPE||t===D.BRACE_R}(t)?'"'.concat(t,'"'):t}var nt=new Map,ot=new Map,at=!0,st=!1;function ut(t){return t.replace(/[\s,]+/g," ").trim()}function lt(t){var e=new Set,r=[];return t.definitions.forEach((function(t){if("FragmentDefinition"===t.kind){var n=t.name.value,o=ut((c=t.loc).source.body.substring(c.start,c.end)),l=ot.get(n);l&&!l.has(o)?at&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):l||ot.set(n,l=new Set),l.add(o),e.has(o)||
2(e.add(o),r.push(t))}else r.push(t);var c})),Object(n.__assign)(Object(n.__assign)({},t),{definitions:r})}function ct(source){var t=ut(source);if(!nt.has(t)){var e=function(source,t){return new tt(source,t).parseDocument()}(source,{experimentalFragmentVariables:st,allowLegacyFragmentVariables:st});if(!e||"Document"!==e.kind)throw new Error("Not a valid GraphQL document.");nt.set(t,function(t){var e=new Set(t.definitions);e.forEach((function(t){t.loc&&delete t.loc,Object.keys(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&e.add(n)}))}));var r=t.loc;return r&&(delete r.startToken,delete r.endToken),t}(lt(e)))}return nt.get(t)}function ht(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];"string"==typeof t&&(t=[t]);var n=t[0];return e.forEach((function(e,i){e&&"Document"===e.kind?n+=e.loc.source.body:n+=e,n+=t[i+1]})),ct(n)}var ft,pt=ht,mt=function(){nt.clear(),ot.clear()},gt=function(){at=!1},vt=function(){st=!0},yt=function(){st=!1};(ft=ht||(ht={})).gql=pt,ft.resetCaches=mt,ft.disableFragmentWarnings=gt,ft.enableExperimentalFragmentVariables=vt,ft.disableExperimentalFragmentVariables=yt,ht.default=ht;e.a=ht},function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return c})),r.d(e,"c",(function(){return h}));var n=r(176);function o(t){var e=t.prototype.toJSON;"function"==typeof e||function(t,e){if(!Boolean(t))throw new Error(null!=e?e:"Unexpected invariant triggered.")}(0),t.prototype.inspect=e,n.a&&(t.prototype[n.a]=e)}var l=function(){function t(t,e,source){this.start=t.start,this.end=e.end,this.startToken=t,this.endToken=e,this.source=source}return t.prototype.toJSON=function(){return{start:this.start,end:this.end}},t}();o(l);var c=function(){function t(t,e,r,line,n,o,l){this.kind=t,this.start=e,this.end=r,this.line=line,this.column=n,this.value=l,this.prev=o,this.next=null}return t.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},t}();function h(t){return null!=t&&"string"==typeof t.kind}o(c)},function(t,e,r){"use strict";r.d(e,"i",(function(){return d})),r.d(e,"h",(function(){return f})),r.d(e,"d",(function(){return m})),r.d(e,"f",(function(){return v})),r.d(e,"e",(function(){return y})),r.d(e,"c",(function(){return _})),r.d(e,"g",(function(){return w})),r.d(e,"a",(function(){return T})),r.d(e,"b",(function(){return S}));var n=r(0),o=r.n(n),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"],h=["Video","Audio","Text"],d=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)})):t},f=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),c.forEach((function(n){var o=l[n].exec(t.toLowerCase());if(o&&!(o.length<=1)){e=n;var c=t.substring(0,o[1].length),details=t.replace(c,"");r.push({type:c,details:details,mediaType:n})}})),e||r.push({type:t,details:"",mediaType:"unknown"})})),r},m=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var o=r[n];if(o.default&&o.playlists)return f(o.playlists[0].attributes.CODECS)}return null},v=function(t){return void 0===t&&(t=""),l.audio.test(t.trim().toLowerCase())},y=function(t){if(t&&"string"==typeof t){var e,r=t.toLowerCase().split(",").map((function(t){return d(t.trim())})),n="video";1===r.length&&v(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),l.text.test(e.trim().toLowerCase()))&&(n="application");var o="mp4";return r.every((function(t){return l.mp4.test(t)}))?o="mp4":r.every((function(t){return l.webm.test(t)}))?o="webm":r.every((function(t){return l.ogg.test(t)}))&&(o="ogg"),n+"/"+o+';codecs="'+t+'"'}},_=function(t){return void 0===t&&(t=""),o.a.MediaSource&&o.a.MediaSource.isTypeSupp
2orted&&o.a.MediaSource.isTypeSupported(y(t))||!1},w=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var i=0;i<h.length;i++){if(l["muxer"+h[i]].test(t))return!0}return!1}))},T="mp4a.40.2",S="avc1.4d400d"},,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"Observable",(function(){return n.a})),r.d(e,"getOperationName",(function(){return h.getOperationName})),r.d(e,"ApolloLink",(function(){return E})),r.d(e,"concat",(function(){return k})),r.d(e,"createOperation",(function(){return _})),r.d(e,"empty",(function(){return S})),r.d(e,"execute",(function(){return O})),r.d(e,"from",(function(){return M})),r.d(e,"fromError",(function(){return y})),r.d(e,"fromPromise",(function(){return v})),r.d(e,"makePromise",(function(){return m})),r.d(e,"split",(function(){return x})),r.d(e,"toPromise",(function(){return f}));var n=r(63),o=r(11),l=function(t,b){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},l(t,b)};var c=function(){return c=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},c.apply(this,arguments)};var h=r(4);!function(t){function e(e,link){var r=t.call(this,e)||this;return r.link=link,r}(function(t,b){function e(){this.constructor=t}l(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)})(e,t)}(Error);function d(link){return link.request.length<=1}function f(t){var e=!1;return new Promise((function(r,n){t.subscribe({next:function(data){e||(e=!0,r(data))},error:n})}))}var m=f;function v(t){return new n.a((function(e){t.then((function(t){e.next(t),e.complete()})).catch(e.error.bind(e))}))}function y(t){return new n.a((function(e){e.error(t)}))}function _(t,e){var r=c({},t);return Object.defineProperty(e,"setContext",{enumerable:!1,value:function(t){r=c({},r,"function"==typeof t?t(r):t)}}),Object.defineProperty(e,"getContext",{enumerable:!1,value:function(){return c({},r)}}),Object.defineProperty(e,"toKey",{enumerable:!1,value:function(){return function(t){var e=t.query,r=t.variables,n=t.operationName;return JSON.stringify([n,e,r])}(e)}}),e}function w(t,e){return e?e(t):n.a.of()}function T(t){return"function"==typeof t?new E(t):t}function S(){return new E((function(){return n.a.of()}))}function M(t){return 0===t.length?S():t.map(T).reduce((function(t,e){return t.concat(e)}))}function x(t,e,r){var o=T(e),l=T(r||new E(w));return d(o)&&d(l)?new E((function(e){return t(e)?o.request(e)||n.a.of():l.request(e)||n.a.of()})):new E((function(e,r){return t(e)?o.request(e,r)||n.a.of():l.request(e,r)||n.a.of()}))}var k=function(t,e){var r=T(t);if(d(r))return r;var o=T(e);return d(o)?new E((function(t){return r.request(t,(function(t){return o.request(t)||n.a.of()}))||n.a.of()})):new E((function(t,e){return r.request(t,(function(t){return o.request(t,e)||n.a.of()}))||n.a.of()}))},E=function(){function t(t){t&&(this.request=t)}return t.prototype.split=function(e,r,n){return this.concat(x(e,r,n||new t(w)))},t.prototype.concat=function(t){return k(this,t)},t.prototype.request=function(t,e){throw new o.a(1)},t.empty=S,t.from=M,t.split=x,t.execute=O,t}();function O(link,t){return link.request(_(t.context,function(t){var e={variables:t.variables||{},extensions:t.extensions||{},operationName:t.operationName,query:t.query};return e.operationName||(e.operationName="string"!=typeof e.query?Object(h.getOperationName)(e.query):""),e}(function(t){for(var e=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(t);r<n.length;r++){var l=n[r];if(e.indexOf(l)<0)throw new o.a(2)}return t}(t))))||n.a.of()}},,,,,,,,,,function(t,e,r){"use strict";(function(t){var n=r(605),o=r(606),l=r(607);function c(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(t,e){if(c()<e)throw new RangeError("Invalid typed array length");return d.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=d.prototype:(null===t&&(t=new d(e)),t.length=e),t}function d(t,e,r){if(!(d.TYPED_ARRAY_SUPPORT||this instanceof d))return new d(t,e,r);
vendor: 5,075 bytes, line 2
2if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return v(this,t)}return f(this,t,e,r)}function f(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);d.TYPED_ARRAY_SUPPORT?(t=e).__proto__=d.prototype:t=y(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!d.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|w(e,r);t=h(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(d.isBuffer(e)){var r=0|_(e.length);return 0===(t=h(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?h(t,0):y(t,e);if("Buffer"===e.type&&l(e.data))return y(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function m(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function v(t,e){if(m(e),t=h(t,e<0?0:0|_(e)),!d.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function y(t,e){var r=e.length<0?0:0|_(e.length);t=h(t,r);for(var i=0;i<r;i+=1)t[i]=255&e[i];return t}function _(t){if(t>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function w(t,e){if(d.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(t).length;default:if(n)return K(t).length;e=(""+e).toLowerCase(),n=!0}}function T(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return R(this,e,r);case"ascii":return L(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function S(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function M(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=d.from(e,n)),d.isBuffer(e))return 0===e.length?-1:x(t,e,r,n,o);if("number"==typeof e)return e&=255,d.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):x(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function x(t,e,r,n,o){var i,l=1,c=t.length,h=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;l=2,c/=2,h/=2,r/=2}function d(t,i){return 1===l?t[i]:t.readUInt16BE(i*l)}if(o){var f=-1;for(i=r;i<c;i++)if(d(t,i)===d(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===h)return f*l}else-1!==f&&(i-=i-f),f=-1}else for(r+h>c&&(r=c-h),i=r;i>=0;i--){for(var m=!0,v=0;v<h;v++)if(d(t,i+v)!==d(e,v)){m=!1;break}if(m)return i}return-1}function k(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var l=e.length;if(l%2!=0)throw new TypeError("Invalid hex string");n>l/2&&(n=l/2);for(var i=0;i<n;++i){var c=parseInt(e.substr(2*i,2),16);if(isNaN(c))return i;t[r+i]=c}return i}function E(t,e,r,n){return Y(K(e,t.length-r),t,r,n)}function O(t,e,r,n){return Y(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,r,n)}function C(t,e,r,n){return O(t,e,r,n)}function A(t,e,r,n){return Y(X(e),t,r,n)}function I(t,e,r,n){return Y(function(t,e){for(var r,n,o,l=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o=r%256,l.push(o),l.push(n);return l}(e,t.length-r),t,r,n)}function P(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function R(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,l,c,h,d=t[i],f=null,m=d>239?4:d>223?3:d>191?2:1;if(i+m<=r)switch(m){case 1:d<128&&(f=d);break;
vendor: 6,987 bytes, line 2
2case 2:128==(192&(o=t[i+1]))&&(h=(31&d)<<6|63&o)>127&&(f=h);break;case 3:o=t[i+1],l=t[i+2],128==(192&o)&&128==(192&l)&&(h=(15&d)<<12|(63&o)<<6|63&l)>2047&&(h<55296||h>57343)&&(f=h);break;case 4:o=t[i+1],l=t[i+2],c=t[i+3],128==(192&o)&&128==(192&l)&&128==(192&c)&&(h=(15&d)<<18|(63&o)<<12|(63&l)<<6|63&c)>65535&&h<1114112&&(f=h)}null===f?(f=65533,m=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=m}return function(t){var e=t.length;if(e<=D)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=D));return r}(n)}e.Buffer=d,e.SlowBuffer=function(t){+t!=t&&(t=0);return d.alloc(+t)},e.INSPECT_MAX_BYTES=50,d.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=c(),d.poolSize=8192,d._augment=function(t){return t.__proto__=d.prototype,t},d.from=function(t,e,r){return f(null,t,e,r)},d.TYPED_ARRAY_SUPPORT&&(d.prototype.__proto__=Uint8Array.prototype,d.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&d[Symbol.species]===d&&Object.defineProperty(d,Symbol.species,{value:null,configurable:!0})),d.alloc=function(t,e,r){return function(t,e,r,n){return m(e),e<=0?h(t,e):void 0!==r?"string"==typeof n?h(t,e).fill(r,n):h(t,e).fill(r):h(t,e)}(null,t,e,r)},d.allocUnsafe=function(t){return v(null,t)},d.allocUnsafeSlow=function(t){return v(null,t)},d.isBuffer=function(b){return!(null==b||!b._isBuffer)},d.compare=function(a,b){if(!d.isBuffer(a)||!d.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var t=a.length,e=b.length,i=0,r=Math.min(t,e);i<r;++i)if(a[i]!==b[i]){t=a[i],e=b[i];break}return t<e?-1:e<t?1:0},d.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(t,e){if(!l(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return d.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var r=d.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(!d.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},d.byteLength=w,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)S(this,i,i+1);return this},d.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)S(this,i,i+3),S(this,i+1,i+2);return this},d.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;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},d.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?R(this,0,t):T.apply(this,arguments)},d.prototype.equals=function(b){if(!d.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===d.compare(this,b)},d.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},d.prototype.compare=function(t,e,r,n,o){if(!d.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var l=(o>>>=0)-(n>>>=0),c=(r>>>=0)-(e>>>=0),h=Math.min(l,c),f=this.slice(n,o),m=t.slice(e,r),i=0;i<h;++i)if(f[i]!==m[i]){l=f[i],c=m[i];break}return l<c?-1:c<l?1:0},d.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},d.prototype.indexOf=function(t,e,r){return M(this,t,e,r,!0)},d.prototype.lastIndexOf=function(t,e,r){return M(this,t,e,r,!1)},d.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var l=!1;;)switch(n){case"hex":return k(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":return O(this,t,e,r);case"latin1":case"binary":return C(this,t,e,r);case"base64":return A(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,r);default:if(l)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),l=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function L(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function N(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function j(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Q(t[i]);return o}function B(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function F(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,r,n,o,l){if(!d.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<l)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function z(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function V(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function $(t,e,r,n,o,l){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function H(t,e,r,n,l){return l||$(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function W(t,e,r,n,l){return l||$(t,0,r,8),o.write(t,e,r,n,52,8),r+8}d.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),d.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=d.prototype;else{var o=e-t;r=new d(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},d.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var n=this[t],o=1,i=0;
vendor: 4,089 bytes, line 2
2++i<e&&(o*=256);)n+=this[t+i]*o;return n},d.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},d.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},d.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},d.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},d.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},d.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},d.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},d.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},d.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},d.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},d.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},d.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},d.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},d.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),o.read(this,t,!0,23,4)},d.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),o.read(this,t,!1,23,4)},d.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),o.read(this,t,!0,52,8)},d.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),o.read(this,t,!1,52,8)},d.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||U(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},d.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||U(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},d.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,1,255,0),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},d.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},d.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},d.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):V(this,t,e,!0),e+4},d.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):V(this,t,e,!1),e+4},d.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);U(this,t,e,r,o-1,-o)}var i=0,l=1,sub=0;for(this[e]=255&t;++i<r&&(l*=256);)t<0&&0===sub&&0!==this[e+i-1]&&(sub=1),this[e+i]=(t/l>>0)-sub&255;return e+r},d.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);U(this,t,e,r,o-1,-o)}var i=r-1,l=1,sub=0;for(this[e+i]=255&t;--i>=0&&(l*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/l>>0)-sub&255;return e+r},d.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,1,127,-128),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},d.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},d.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 4,374 bytes, line 2
28,this[e+1]=255&t):z(this,t,e,!1),e+2},d.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):V(this,t,e,!0),e+4},d.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):V(this,t,e,!1),e+4},d.prototype.writeFloatLE=function(t,e,r){return H(this,t,e,!0,r)},d.prototype.writeFloatBE=function(t,e,r){return H(this,t,e,!1,r)},d.prototype.writeDoubleLE=function(t,e,r){return W(this,t,e,!0,r)},d.prototype.writeDoubleBE=function(t,e,r){return W(this,t,e,!1,r)},d.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!d.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},d.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var code=t.charCodeAt(0);code<256&&(t=code)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!d.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var o=d.isBuffer(t)?t:K(new d(t,n).toString()),l=o.length;for(i=0;i<r-e;++i)this[i+e]=o[i%l]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function Q(t){return t<16?"0"+t.toString(16):t.toString(16)}function K(t,e){var r;e=e||1/0;for(var n=t.length,o=null,l=[],i=0;i<n;++i){if((r=t.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&l.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&l.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&l.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&l.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;l.push(r)}else if(r<2048){if((e-=2)<0)break;l.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;l.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return l}function X(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(40))},function(t,e,r){"use strict";var n=r(459),o=r.n(n).a;e.a=o},,function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));var n=function(){return n=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},n.apply(this,arguments)};function o(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}},,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return h}));var n=r(171),o=r(36),l={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
2Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},c=Object.freeze({});function h(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,h=void 0,f=Array.isArray(t),m=[t],v=-1,y=[],_=void 0,w=void 0,T=void 0,path=[],S=[],M=t;do{var x=++v===m.length,k=x&&0!==y.length;if(x){if(w=0===S.length?void 0:path[path.length-1],_=T,T=S.pop(),k){if(f)_=_.slice();else{for(var E={},O=0,C=Object.keys(_);O<C.length;O++){var A=C[O];E[A]=_[A]}_=E}for(var I=0,P=0;P<y.length;P++){var R=y[P][0],D=y[P][1];f&&(R-=I),f&&null===D?(_.splice(R,1),I++):_[R]=D}}v=h.index,m=h.keys,y=h.edits,f=h.inArray,h=h.prev}else{if(w=T?f?v:m[v]:void 0,null==(_=T?T[w]:M))continue;T&&path.push(w)}var L,N=void 0;if(!Array.isArray(_)){if(!Object(o.c)(_))throw new Error("Invalid AST Node: ".concat(Object(n.a)(_),"."));var j=d(e,_.kind,x);if(j){if((N=j.call(e,_,w,T,path,S))===c)break;if(!1===N){if(!x){path.pop();continue}}else if(void 0!==N&&(y.push([w,N]),!x)){if(!Object(o.c)(N)){path.pop();continue}_=N}}}if(void 0===N&&k&&y.push([w,_]),x)path.pop();else h={inArray:f,index:v,keys:m,edits:y,prev:h},m=(f=Array.isArray(_))?_:null!==(L=r[_.kind])&&void 0!==L?L:[],v=-1,y=[],T&&S.push(T),T=_}while(void 0!==h);return 0!==y.length&&(M=y[y.length-1][1]),M}function d(t,e,r){var n=t[e];if(n){if(!r&&"function"==typeof n)return n;var o=r?n.leave:n.enter;if("function"==typeof o)return o}else{var l=r?t.leave:t.enter;if(l){if("function"==typeof l)return l;var c=l[e];if("function"==typeof c)return c}}}},,,,,,,,,,,,,function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){"use strict";var n=e,o=r(99),l=r(83),c=r(415);n.assert=l,n.toArray=c.toArray,n.zero2=c.zero2,n.toHex=c.toHex,n.encode=c.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var o=1<<e+1,l=t.clone(),i=0;i<n.length;i++){var c,h=l.andln(o-1);l.isOdd()?(c=h>(o>>1)-1?(o>>1)-h:h,l.isubn(c)):c=0,n[i]=c,l.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,o=0,l=0;t.cmpn(-o)>0||e.cmpn(-l)>0;){var c,h,d=t.andln(3)+o&3,f=e.andln(3)+l&3;3===d&&(d=-1),3===f&&(f=-1),c=0==(1&d)?0:3!==(n=t.andln(7)+o&7)&&5!==n||2!==f?d:-d,r[0].push(c),h=0==(1&f)?0:3!==(n=e.andln(7)+l&7)&&5!==n||2!==d?f:-f,r[1].push(h),2*o===c+1&&(o=1-o),2*l===h+1&&(l=1-l),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new o(t,"hex","le")}},,,,,,,function(t,e,r){"use strict";var n=r(83),o=r(19);function l(t,i){return 55296==(64512&t.charCodeAt(i))&&(!(i<0||i+1>=t.length)&&56320==(64512&t.charCodeAt(i+1)))}function c(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function h(t){return 1===t.length?"0"+t:t}function d(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var p=0,i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?r[p++]=n:n<2048?(r[p++]=n>>6|192,r[p++]=63&n|128):l(t,i)?(n=65536+((1023&n)<<10)+(1023&t.charCodeAt(++i)),r[p++]=n>>18|240,r[p++]=n>>12&63|128,r[p++]=n>>6&63|128,r[p++]=63&n|128):(r[p++]=n>>12|224,r[p++]=n>>6&63|128,r[p++]=63&n|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",i=0;i<t.length;i++)e+=h(t[i].toString(16));return e},e.htonl=c,e.toHex32=function(t,e){for(var r="",i=0;i<t.length;i++){var n=t[i];"little"===e&&(n=c(n)),r+=d(n.toString(16))}return r},e.zero2=h,e.zero8=d,e.join32=function(t,e,r,o){var l=r-e;n(l%4==0);for(var c=new Array(l/4),i=0,h=e;i<c.length;i++,h+=4){var d;d="big"===o?t[h]<<24|t[h+1]<<16|t[h+2]<<8|t[h+3]:t[h+3]<<24|t[h+2]<<16|t[h+1]<<8|t[h],c[i]=d>>>0}return c},e.split32=function(t,e){for(var r=new Array(4*t.length),i=0,n=0;i<t.length;i++,n+=4){var o=t[i];"big"===e?(r[n]=o>>>24,r[n+1]=o>>>16&255,r[n+2]=o>>>8&255,r[n+3]=255&o):(r[n+3]=o>>>24,r[n+2]=o>>>16&255,r[n+1]=o>>>8&255,r[n]=255&o)}return r},e.rotr32=function(t,b){return t>>>b|t<<32-b},e.rotl32=function(t,b){return t<<b|t>>>32-b},e.sum32=function(a,b){return a+b>>>0},e.sum32_3=function(a,b,t){return a+b+t>>>0},e.sum32_4=function(a,b,t,e){return a+b+t+e>>>0},e.sum32_5=function(a,b,t,e,r){return a+b+t+e+r>>>0},e.sum64=function(t,e,r,n){var o=t[e],l=n+t[e+1]>>>0,c=(l<n?1:0)+r+o;t[e]=c>>>0,t[e+1]=l},e.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,o,l,c,dl){var h=0,d=e;return h+=(d=d+n>>>0)<e?1:0,h+=(d=d+l>>>0)<l?1:0,t+r+o+c+(h+=(d=d+dl>>>0)<dl?1:0)>>>0},e.sum64_4_lo=function(t,e,r,n,o,l,c,dl){return e+n+l+dl>>>0},e.sum64_5_hi=function(t,e,r,n,o,l,c,dl,h,d){var f=0,m=e;return f+=(m=m+n>>>
vendor: 4,954 bytes, line 2
20)<e?1:0,f+=(m=m+l>>>0)<l?1:0,f+=(m=m+dl>>>0)<dl?1:0,t+r+o+c+h+(f+=(m=m+d>>>0)<d?1:0)>>>0},e.sum64_5_lo=function(t,e,r,n,o,l,c,dl,h,d){return e+n+l+dl+d>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},,,,,,,,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(669).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;o*=n,o+=c>=49?c-49+10:c>=17?c-17+10:c}return o}l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this.strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this.strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 9,561 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r.strip()}l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);e=0!==(o=l>>>24-r&16777215)||i!==this.length-1?m[6-c.length]+c+e:c+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=v[base],d=y[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var _=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?_+e:m[h-_.length]+_+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},l.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,h=new t(l),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<l;i++)h[i]=0}else{for(i=0;i<l-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[l-i-1]=b}return h},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,760 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function T(t,e,r){return(new S).mulp(t,e,r)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=_),l.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?_(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r.strip()}(this,t,e):T(this,t,e),r},S.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},S.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},S.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},S.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},S.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},S.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},S.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},S.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},S.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),T(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},l.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new A(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 8,094 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,x),o(O,x),o(C,x),C.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return M[t]=e,e},A.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},A.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},A.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},A.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},A.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},A.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},A.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},A.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},A.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},A.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},A.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},A.prototype.isqr=function(a){return this.imul(a,a.clone())},A.prototype.sqr=function(a){return this.mul(a,a)},A.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},A.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new I(t)},o(I,A),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},function(t,e,r){"use strict";r.d(e,"b",(function(){return fl})),r.d(e,"a",(function(){return lt.a}));var n={};r.r(n),r.d(n,"FooterFondelli",(function(){return Ot})),r.d(n,"FooterGrid",(function(){return Ct})),r.d(n,"FooterMenu",(function(){return At})),r.d(n,"FooterPolicy",(function(){return It})),r.d(n,"FooterShare",(function(){return Pt})),r.d(n,"NavigationHamburger",(function(){return Rt})),r.d(n,"NavigationHeader",(function(){return Dt})),r.d(n,"NavigationHeaderMobile",(function(){return Lt})),r.d(n,"NavigationLangSwitcher",(function(){return Nt})),r.d(n,"NavigationLinksBlock",(function(){return jt})),r.d(n,"NavigationOverlayDesktop",(function(){return Bt})),r.d(n,"NavigationOverlayMobile",(function(){return Ft})),r.d(n,"NavigationSecondLevelMobile",(function(){return Ut})),r.d(n,"JournalInEvidenza",(function(){return qt})),r.d(n,"ProductHeader",(function(){return zt})),r.d(n,"ProductTemplateAside",(function(){return Vt})),r.d(n,"ProductTemplateGallery",(function(){return $t})),r.d(n,"UiArrowCta",(function(){return Ht})),r.d(n,"UiArrowCtaFull",(function(){return Wt})),r.d(n,"UiArrowDownCta",(function(){return Gt})),r.d(n,"UiOverlay",(function(){return Qt})),r.d(n,"UiCarousel",(function(){return Kt})),r.d(n,"UiResponsiveImage",(function(){return Xt})),r.d(n,"UiThreeCol",(function(){return Yt})),r.d(n,"UiTwoColHalf",(function(){return Zt})),r.d(n,"UiVideo",(function(){return Jt})),r.d(n,"UiVideoOverlay",(function(){return te})),r.d(n,"NavigationOverlayDesktopMenu",(function(){return ee})),r.d(n,"JournalArticleTextBlock",(function(){return re})),r.d(n,"JournalArticleVideo",(function(){return ie})),r.d(n,"JournalListingItem",(function(){return ne})),r.d(n,"ProductContentBlocksAvailableWith",(function(){return oe})),r.d(n,"ProductContentBlocksCard",(function(){return ae})),r.d(n,"ProductContentBlocksDataSheet",(function(){return se})),r.d(n,"ProductContentBlocksTextDoubleImages",(function(){return ue})),r.d(n,"PagesContactsForm",(function(){return le})),r.d(n,"PagesBlocksAnimatedAccordion",(function(){return ce})),r.d(n,"PagesBlocksCards",(function(){return he})),r.d(n,"PagesBlocksConsigliatiCarousel",(function(){return de})),r.d(n,"PagesBlocksDoubleImages",(function(){return fe})),r.d(n,"PagesBlocksDoubleText",(function(){return pe})),r.d(n,"PagesBlocksForm",(function(){return me})),r.d(n,"PagesBlocksGridText",(function(){return ge})),r.d(n,"PagesBlocksHero",(function(){return ve})),r.d(n,"PagesBlocksIconCards",(function(){return ye})),r.d(n,"PagesBlocksInEvidenzaCarousel",(function(){return be})),r.d(n,"PagesBlocksInvertedTextImage",(function(){return _e})),r.d(n,"PagesBlocksProgettazione",(function(){return we})),r.d(n,"PagesBlocksQualitaCertificata",(function(){return Te})),r.d(n,"PagesBlocksRePadTwoCol",(function(){return Se})),r.d(n,"PagesBlocksResultPopUp",(function(){return Me})),r.d(n,"PagesBlocksTessutoSostenibile",(function(){return xe})),r.d(n,"PagesBlocksTestKit",(function(){return ke})),r.d(n,"PagesBlocksTextBlock",(function(){return Ee})),r.d(n,"PagesBlocksVideoHero",(function(){return Oe})),r.d(n,"PagesBlocksVideoPage",(function(){return Ce})),r.d(n,"PagesRepadForm",(function(){return Ae})),r.d(n,"PagesTestKitForm",(function(){return Ie})),r.d(n,"UiCarouselWidgetPagination",(function(){return Pe})),r.d(n,"LocomotiveScroll",(function(){return Re}));r(26),r(38),r(29),r(44),r(24),r(48);var o=r(12),l=r(16),c=(r(55),r(45),r(9),r(54),r(30),r(56),r(7)),h=r(122),d=r
2(175),f=r(287),m=r.n(f),v=r(143),y=r.n(v),_=(r(59),r(60),r(288)),w=r(64),T=r(8);r(183);"scrollRestoration"in window.history&&(Object(T.u)("manual"),window.addEventListener("beforeunload",(function(){Object(T.u)("auto")})),window.addEventListener("load",(function(){Object(T.u)("manual")})));function S(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function M(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?S(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):S(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var x=function(){return Object(T.n)(r.e(58).then(r.bind(null,999)))},k=function(){return Object(T.n)(r.e(43).then(r.bind(null,1e3)))},E=function(){return Object(T.n)(r.e(45).then(r.bind(null,1001)))},O=function(){return Object(T.n)(r.e(47).then(r.bind(null,1002)))},C=function(){return Object(T.n)(r.e(48).then(r.bind(null,1003)))},A=function(){return Object(T.n)(r.e(49).then(r.bind(null,1004)))},I=function(){return Object(T.n)(r.e(50).then(r.bind(null,1005)))},P=function(){return Object(T.n)(r.e(52).then(r.bind(null,1006)))},R=function(){return Object(T.n)(r.e(56).then(r.bind(null,1007)))},D=function(){return Object(T.n)(r.e(54).then(r.bind(null,1008)))},L=function(){return Object(T.n)(r.e(64).then(r.bind(null,1009)))},N=function(){return Object(T.n)(r.e(55).then(r.bind(null,1010)))},j=function(){return Object(T.n)(r.e(53).then(r.bind(null,1011)))},B=function(){return Object(T.n)(r.e(57).then(r.bind(null,1012)))},F=function(){return Object(T.n)(r.e(59).then(r.bind(null,1013)))},U=function(){return Object(T.n)(r.e(61).then(r.bind(null,1014)))},z=function(){return Object(T.n)(r.e(62).then(r.bind(null,1015)))},V=function(){return Object(T.n)(r.e(65).then(r.bind(null,1016)))},$=function(){return Object(T.n)(r.e(66).then(r.bind(null,1017)))},H=function(){return Object(T.n)(r.e(68).then(r.bind(null,1018)))},W=function(){return Object(T.n)(r.e(70).then(r.bind(null,1019)))},G=function(){return Object(T.n)(r.e(71).then(r.bind(null,1020)))},Q=function(){return Object(T.n)(r.e(72).then(r.bind(null,1021)))},K=function(){return Object(T.n)(Promise.all([r.e(75),r.e(44)]).then(r.bind(null,998)))},X=function(){return Object(T.n)(Promise.all([r.e(0),r.e(46)]).then(r.bind(null,1022)))},Y=function(){return Object(T.n)(Promise.all([r.e(0),r.e(51)]).then(r.bind(null,1023)))},Z=function(){return Object(T.n)(Promise.all([r.e(0),r.e(60)]).then(r.bind(null,1024)))},J=function(){return Object(T.n)(r.e(63).then(r.bind(null,1025)))},tt=function(){return Object(T.n)(Promise.all([r.e(0),r.e(67)]).then(r.bind(null,1026)))},et=function(){return Object(T.n)(Promise.all([r.e(0),r.e(69)]).then(r.bind(null,1027)))},it=function(){};c.default.use(_.a);var nt={mode:"history",base:"/",linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,r){var n=!1,o=t!==e;r?n=r:o&&function(t){var e=Object(T.h)(t);if(1===e.length){var r=e[0].options;return!1!==(void 0===r?{}:r).scrollToTop}return e.some((function(t){var e=t.options;return e&&e.scrollToTop}))}(t)&&(n={x:0,y:0});var l=window.$nuxt;return(!o||t.path===e.path&&t.hash!==e.hash)&&l.$nextTick((function(){return l.$emit("triggerScroll")})),new Promise((function(e){l.$once("triggerScroll",(function(){if(t.hash){var r=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(r="#"+window.CSS.escape(r.substr(1)));try{var o=document.querySelector(r);if(o){var l;n={selector:r};var c=Number(null===(l=getComputedStyle(o)["scroll-margin-top"])||void 0===l?void 0:l.replace("px",""));c&&(n.offset={y:c})}}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(n)}))}))},routes:[{path:"/8ore/",component:x,pathToRegexpOptions:{strict:!0},name:"ore___it"},{path:"/azienda/",component:k,pathToRegexpOptions:{strict:!0},name:"azienda___it"},{path:"/blog/",component:E,pathToRegexpOptions:{strict:!0},name:"blog___it"},{path:"/comfort/",component:O,pathToRegexpOptions:{strict:!0},name:"comfort___it"},{path:"/contatti/",component:C,pathToRegexpOptions:{strict:!0},name:"contatti___it"},{path:"/cookie-policy/",component:A,pathToRegexpOptions:{strict:!0},name:"cookie-policy___it"},{path:"/crediti/",component:I,pathToRegexpOptions:{strict:!0},name:"crediti___it"},{path:"/distanza/",component:P,pathToRegexpOptions:{strict:!0},name:"distanza___it"},{path:"/en/",component:R,pathToRegexpOptions:{strict:!0},name:"index___en"},{path:"/fondelli-donna/",component:D,pathToRegexpOptions:{strict:!0},name:"fondellidonna___it"},{path:"/fondelli-professionali/",component:L,pathToRegexpOptions:{strict:!0},name:"professionale___it"},{path:"/fondelli-uomo/",component:N,pathToRegexpOptions:{strict:!0},name:"fondelliuomo___it"},{path:"/fondelli/",component:j,pathToRegexpOptions:{strict:!0},name:"fondelli___it"},{path:"/lunghe-distanze/",component:B,pathToRegexpOptions:{strict:!0},name:"lunghedistanze___it"},{path:"/perche-drpad/",component:F,pathToRegexpOptions:{strict:!0},name:"perchedrpad___it"},{path:"/portanza/",component:U,pathToRegexpOptions:{strict:!0},name:"portanza___it"},{path:"/privacy-policy/",component:z,pathToRegexpOptions:{strict:!0},name:"privacy-policy___it"},{path:"/re-pad/",component:V,pathToRegexpOptions:{strict:!0},name:"repad___it"},{path:"/servizi/",component:$,pathToRegexpOptions:{strict:!0},name:"servizi___it"},{path:"/sport/",component:H,pathToRegexpOptions:{strict:!0},name:"sport___it"},{path:"/tecnologia/",component:W,pathToRegexpOptions:{strict:!0},name:"tecnologia___it"},{path:"/tecnologie/",component:G,pathToRegexpOptions:{strict:!0},name:"tecnologie___it"},{path:"/test-kit/",component:Q,pathToRegexpOptions:{strict:!0},name:"test-kit___it"},{path:"/en/8hours/",component:x,pathToRegexpOptions:{strict:!0},name:"ore___en"},{path:"/en/bike-pads/",component:j,pathToRegexpOptions:{strict:!0},name:"fondelli___en"},{path:"/en/blog/",component:E,pathToRegexpOptions:{strict:!0},name:"blog___en"},{path:"/en/comfort/",component:O,pathToRegexpOptions:{strict:!0},name:"comfort___en"},{path:"/en/company/",component:k,pathToRegexpOptions:{strict:!0},name:"azienda___en"},{path:"/en/contacts/",component:C,pathToRegexpOptions:{strict:!0},name:"contatti___en"},{path:"/en/cookie-policy/",component:A,pathToRegexpOptions:{strict:!0},name:"cookie-policy___en"},{path:"/en/credits/",component:I,pathToRegexpOptions:{strict:!0},name:"crediti___en"},{path:"/en/distanza/",component:P,pathToRegexpOptions:{strict:!0},name:"distanza___en"},{path:"/en/long-distances/",component:B,pathToRegexpOptions:{strict:!0},name:"lunghedistanze___en"},{path:"/en/men-bike-pads/",component:N,pathToRegexpOptions:{strict:!0},name:"fondelliuomo___en"},{path:"/en/portanza/",component:U,pathToRegexpOptions:{strict:!0},name:"portanza___en"},{path:"/en/privacy-policy/",component:z,pathToRegexpOptions:{strict:!0},name:"privacy-policy___en"},{path:"/en/professional-bike-pads/",component:L,pathToRegexpOptions:{strict:!0},name:"professionale___en"},{path:"/en/re-pad/",component:V,pathToRegexpOptions:{strict:!0},name:"repad___en"},{path:"/en/services/",component:$,pathToRegexpOptions:{strict:!0},name:"servizi___en"},{path:"/en/sport/",component:H,pathToRegexpOptions:{strict:!0},name:"sport___en"},{path:"/en/technologies/",component:G,pathToRegexpOptions:{strict:!0},name:"tecnologie___en"},{path:"/en/tecnologia/",component:W,pathToRegexpOptions:{strict:!0},name:"tecnologia___en"},{path:"/en/test-kit/",component:Q,pathToRegexpOptions:{strict:!0},name:"test-kit___en"},{path:"/en/why-drpad/",component:F,pathToRegexpOptions:{strict:!0},name:"perchedrpad___en"},{path:"/en/women-bike-pads/",component:D,pathToRegexpOptions:{strict:!0},name:"fondellidonna___en"},{path:"/en/blog/:slug/",component:K,pathToRegexpOptions:{strict:!0},name:"blog-slug___en"},{path:"/en/comfort/:slug/",component:X,pathToRegexpOptions:{strict:!0},name:"comfort-slug___en"},{path:"/en/distance/:slug/",component:Y,pathToRegexpOptions:{strict:!0},name:"distanza-slug___en"},{path:"/en/lift/:slug/",component:Z,pathToRegexpOptions:{strict:!0},name:"portanza-slug___en"},{path:"/en/product/:slug/",component:J,pathToRegexpOptions:{strict:!0},name:"prodotto-slug___en"},{path:"/en/sport/:slug/",component:tt,pathToRegexpOptions:{strict:!0},name:"sport-slug___en"},{path:"/en/technology/:slug/",component:et,pathToRegexpOptions:{strict:!0},name:"tecnologia-slug___en"},{path:"/blog/:slug/",component:K,pathToRegexpOptions:{strict:!0},name:"blog-slug___it"},{path:"/comfort/:slug/",component:X,pathToRegexpOptions:{strict:!0},name:"comfort-slug___it"},{path:"/distanza/:slug/",component:Y,pathToRegexpOptions:{strict:!0},name:"distanza-slug___it"},{path:"/portanza/:slug/",component:Z,pathToRegexpOptions:{strict:!0},name:"portanza-slug___it"},{path:"/prodotto/:slug?/",component:J,pathToRegexpOptions:{strict:!0},name:"prodotto-slug___it"},{path:"/sport/:slug/",component:tt,pathToRegexpOptions:{strict:!0},name:"sport-slug___it"},{path:"/tecnologia/:slug/",component:et,pathToRegexpOptions:{strict:!0},name:"tecnologia-slug___it"},{path:"/",component:R,pathToRegexpOptions:{strict:!0},name:"index___it"}],fallback:!1};function ot(t,e){var base=e._app&&e._app.basePath||nt.base,r=new _.a(M(M({},nt),{},{base:base})),n=r.push;
2r.push=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:it,r=arguments.length>2?arguments[2]:void 0;return n.call(this,t,e,r)};var o=r.resolve.bind(r);return r.resolve=function(t,e,r){return"string"==typeof t&&(t=Object(w.d)(t)),o(t,e,r)},r}var at={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var r=e.parent,data=e.data,n=e.props,o=r.$createElement;data.nuxtChild=!0;for(var l=r,c=r.$nuxt.nuxt.transitions,h=r.$nuxt.nuxt.defaultTransition,d=0;r;)r.$vnode&&r.$vnode.data.nuxtChild&&d++,r=r.$parent;data.nuxtChildDepth=d;var f=c[d]||h,m={};st.forEach((function(t){void 0!==f[t]&&(m[t]=f[t])}));var v={};ut.forEach((function(t){"function"==typeof f[t]&&(v[t]=f[t].bind(l))}));var y=v.beforeEnter;if(v.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),y)return y.call(l,t)},!1===f.css){var _=v.leave;(!_||_.length<2)&&(v.leave=function(t,e){_&&_.call(l,t),l.$nextTick(e)})}var w=o("routerView",data);return n.keepAlive&&(w=o("keep-alive",{props:n.keepAliveProps},[w])),o("transition",{props:m,on:v},[w])}},st=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],ut=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],lt=r(112),ct=r(41),ht=(r(49),{name:"Nuxt",components:{NuxtChild:at,NuxtError:lt.a},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(T.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(ct.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var r=e.options;if(r.key)return"function"==typeof r.key?r.key(this.$route):r.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(lt.a,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),ft=(r(51),r(80),r(72),r(81),r(57),r(61),r(71),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),clearTimeout(this._hide),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),this._hide=setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}
2),pt=(r(563),r(14)),mt=Object(pt.a)(ft,undefined,undefined,!1,null,null,null).exports,gt=(r(565),r(567),r(569),r(571),r(574),r(470));function vt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return yt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yt(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}var bt={_default:Object(T.s)(gt.a)},_t={render:function(t,e){var r=t("NuxtLoading",{ref:"loading"}),n=t(this.layout||"nuxt"),o=t("div",{domProps:{id:"__layout"},key:this.layoutName},[n]),l=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(t){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[r,l])},data:function(){return{isOnline:!0,layout:null,layoutName:"",nbFetching:0}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){this.$root.$options.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.$loading=t.$refs.loading,!t.isPreview){e.next=9;break}if(!t.$store||!t.$store._actions.nuxtServerInit){e.next=6;break}return t.$loading.start(),e.next=6,t.$store.dispatch("nuxtServerInit",t.context);case 6:return e.next=8,t.refresh();case 8:t.$loading.finish();case 9:case"end":return e.stop()}}),e)})))()},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline},isFetching:function(){return this.nbFetching>0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=Object(T.i)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),n=r.map(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(r){var p,n,o,component;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=[],r.$options.fetch&&r.$options.fetch.length&&p.push(Object(T.q)(r.$options.fetch,t.context)),r.$options.asyncData&&p.push(Object(T.q)(r.$options.asyncData,t.context).then((function(t){for(var e in t)c.default.set(r.$data,e,t[e])}))),e.next=5,Promise.all(p);case 5:p=[],r.$fetch&&p.push(r.$fetch()),n=vt(Object(T.f)(r.$vnode.componentInstance));try{for(n.s();!(o=n.n()).done;)component=o.value,p.push(component.$fetch())}catch(t){n.e(t)}finally{n.f()}return e.abrupt("return",Promise.all(p));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.prev=5,e.next=8,Promise.all(n);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(T.l)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(lt.a.options||lt.a).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&bt["_"+t]||(t="default"),this.layoutName=t,this.layout=bt["_"+t],this.layout},loadLayout:function(t){return t&&bt["_"+t]||(t="default"),Promise.resolve(bt["_"+t])},getRouterBase:function(){return Object(w.h)(this.$router.options.base)},getRoutePath:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",base=this.getRouterBase();return Object(w.h)(Object(w.g)(Object(w.e)(t).pathname,base))},getStaticAssetsPath:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=window.__NUXT__.staticAssetsBase;return Object(T.v)(e,this.getRoutePath(t))},fetchStaticManifest:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.__NUXT_IMPORT__("manifest.js",Object(w.d)(Object(T.v)(t.getStaticAssetsPath(),"manifest.js"))));case 1:case"end":return e.stop()}}),e)})))()},setPagePayload:function(t){this._pagePayload=t,this._fetchCounters={}},fetchPayload:function(t,e){var r=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var path,o,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return path=Object(w.a)(r.getRoutePath(t)),n.next=3,r.fetchStaticManifest();case 3:if(n.sent.routes.includes(path)){n.next=7;break}throw e||r.setPagePayload(!1),new Error("Route ".concat(path," is not pre-rendered"));case 7:return o=Object(T.v)(r.getStaticAssetsPath(t),"payload.js"),n.prev=8,n.next=11,window.__NUXT_IMPORT__(path,Object(w.d)(o));case 11:return l=n.sent,e||r.setPagePayload(l),n.abrupt("return",l);case 16:throw n.prev=16,n.t0=n.catch(8),e||r.setPagePayload(!1),n.t0;case 20:case"end":return n.stop()}}),n,null,[[8,16]])})))()}},components:{NuxtLoading:mt}};c.default.use(h.a);var wt=["state","getters","actions","mutations"],Tt={};(Tt=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),Mt(t,e)}(r(616),"store/index.js")).modules=Tt.modules||{},xt(r(617),"app.js"),xt(r(618),"dato/index.js");var St=Tt instanceof Function?Tt:function(){return new h.a.Store(Object.assign({strict:!1},Tt))};function Mt(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var r=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return r}})}return t}function xt(t,e){t=t.default||t;var r=e.replace(/\.(js|mjs)$/,"").split("/"),n=r[r.length-1],o="store/".concat(e);
2if(t="state"===n?function(t,e){if("function"!=typeof t){console.warn("".concat(e," should export a method that returns an object"));var r=Object.assign({},t);return function(){return r}}return Mt(t,e)}(t,o):Mt(t,o),wt.includes(n)){var l=n;Et(kt(Tt,r,{isProperty:!0}),t,l)}else{"index"===n&&(r.pop(),n=r[r.length-1]);for(var c=kt(Tt,r),h=0,d=wt;h<d.length;h++){var f=d[h];Et(c,t[f],f)}!1===t.namespaced&&delete c.namespaced}}function kt(t,e){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isProperty,n=void 0!==r&&r;if(!e.length||n&&1===e.length)return t;var o=e.shift();return t.modules[o]=t.modules[o]||{},t.modules[o].namespaced=!0,t.modules[o].modules=t.modules[o].modules||{},kt(t.modules[o],e,{isProperty:n})}function Et(t,e,r){e&&("state"===r?t.state=e||t.state:t[r]=Object.assign({},t[r],e))}var Ot=function(){return Promise.resolve().then(r.bind(null,781)).then((function(t){return De(t.default||t)}))},Ct=function(){return Promise.resolve().then(r.bind(null,473)).then((function(t){return De(t.default||t)}))},At=function(){return Promise.resolve().then(r.bind(null,782)).then((function(t){return De(t.default||t)}))},It=function(){return Promise.resolve().then(r.bind(null,783)).then((function(t){return De(t.default||t)}))},Pt=function(){return Promise.resolve().then(r.bind(null,784)).then((function(t){return De(t.default||t)}))},Rt=function(){return Promise.resolve().then(r.bind(null,790)).then((function(t){return De(t.default||t)}))},Dt=function(){return Promise.resolve().then(r.bind(null,785)).then((function(t){return De(t.default||t)}))},Lt=function(){return Promise.resolve().then(r.bind(null,789)).then((function(t){return De(t.default||t)}))},Nt=function(){return r.e(7).then(r.bind(null,1028)).then((function(t){return De(t.default||t)}))},jt=function(){return r.e(8).then(r.bind(null,1029)).then((function(t){return De(t.default||t)}))},Bt=function(){return Promise.resolve().then(r.bind(null,787)).then((function(t){return De(t.default||t)}))},Ft=function(){return Promise.resolve().then(r.bind(null,791)).then((function(t){return De(t.default||t)}))},Ut=function(){return Promise.resolve().then(r.bind(null,792)).then((function(t){return De(t.default||t)}))},qt=function(){return r.e(5).then(r.bind(null,884)).then((function(t){return De(t.default||t)}))},zt=function(){return r.e(35).then(r.bind(null,881)).then((function(t){return De(t.default||t)}))},Vt=function(){return r.e(36).then(r.bind(null,948)).then((function(t){return De(t.default||t)}))},$t=function(){return r.e(37).then(r.bind(null,947)).then((function(t){return De(t.default||t)}))},Ht=function(){return Promise.resolve().then(r.bind(null,475)).then((function(t){return De(t.default||t)}))},Wt=function(){return Promise.resolve().then(r.bind(null,476)).then((function(t){return De(t.default||t)}))},Gt=function(){return Promise.resolve().then(r.bind(null,786)).then((function(t){return De(t.default||t)}))},Qt=function(){return r.e(40).then(r.bind(null,832)).then((function(t){return De(t.default||t)}))},Kt=function(){return r.e(38).then(r.bind(null,804)).then((function(t){return De(t.default||t)}))},Xt=function(){return Promise.resolve().then(r.bind(null,302)).then((function(t){return De(t.default||t)}))},Yt=function(){return r.e(41).then(r.bind(null,886)).then((function(t){return De(t.default||t)}))},Zt=function(){return r.e(42).then(r.bind(null,805)).then((function(t){return De(t.default||t)}))},Jt=function(){return Promise.resolve().then(r.bind(null,478)).then((function(t){return De(t.default||t)}))},te=function(){return Promise.resolve().then(r.bind(null,793)).then((function(t){return De(t.default||t)}))},ee=function(){return Promise.resolve().then(r.bind(null,788)).then((function(t){return De(t.default||t)}))},re=function(){return r.e(3).then(r.bind(null,1030)).then((function(t){return De(t.default||t)}))},ie=function(){return r.e(4).then(r.bind(null,1031)).then((function(t){return De(t.default||t)}))},ne=function(){return r.e(6).then(r.bind(null,885)).then((function(t){return De(t.default||t)}))},oe=function(){return r.e(31).then(r.bind(null,950)).then((function(t){return De(t.default||t)}))},ae=function(){return r.e(32).then(r.bind(null,889)).then((function(t){return De(t.default||t)}))},se=function(){return r.e(33).then(r.bind(null,949)).then((function(t){return De(t.default||t)}))},ue=function(){return r.e(34).then(r.bind(null,840)).then((function(t){return De(t.default||t)}))},le=function(){return r.e(28).then(r.bind(null,938)).then((function(t){return De(t.default||t)}))},ce=function(){return r.e(9).then(r.bind(null,940)).then((function(t){return De(t.default||t)}))},he=function(){return r.e(10).then(r.bind(null,883)).then((function(t){return De(t.default||t)}))},de=function(){return r.e(11).then(r.bind(null,951)).then((function(t){return De(t.default||t)}))},fe=function(){return r.e(12).then(r.bind(null,1032)).then((function(t){return De(t.default||t)}))},pe=function(){return r.e(13).then(r.bind(null,945)).then((function(t){return De(t.default||t)}))},me=function(){return r.e(14).then(r.bind(null,1033)).then((function(t){return De(t.default||t)}))},ge=function(){return r.e(15).then(r.bind(null,943)).then((function(t){return De(t.default||t)}))},ve=function(){return Promise.resolve().then(r.bind(null,477)).then((function(t){return De(t.default||t)}))},ye=function(){return r.e(16).then(r.bind(null,888)).then((function(t){return De(t.default||t)}))},be=function(){return r.e(17).then(r.bind(null,941)).then((function(t){return De(t.default||t)}))},_e=function(){return r.e(18).then(r.bind(null,819)).then((function(t){return De(t.default||t)}))},we=function(){return r.e(19).then(r.bind(null,1034)).then((function(t){return De(t.default||t)}))},Te=function(){return r.e(20).then(r.bind(null,887)).then((function(t){return De(t.default||t)}))},Se=function(){return r.e(21).then(r.bind(null,820)).then((function(t){return De(t.default||t)}))},Me=function(){return r.e(22).then(r.bind(null,839)).then((function(t){return De(t.default||t)}))},xe=function(){return r.e(23).then(r.bind(null,833)).then((function(t){return De(t.default||t)}))},ke=function(){return r.e(24).then(r.bind(null,942)).then((function(t){return De(t.default||t)}))},Ee=function(){return r.e(25).then(r.bind(null,939)).then((function(t){return De(t.default||t)}))},Oe=function(){return r.e(26).then(r.bind(null,1035)).then((function(t){return De(t.default||t)}))},Ce=function(){return r.e(27).then(r.bind(null,937)).then((function(t){return De(t.default||t)}))},Ae=function(){return r.e(29).then(r.bind(null,944)).then((function(t){return De(t.default||t)}))},Ie=function(){return r.e(30).then(r.bind(null,946)).then((function(t){return De(t.default||t)}))},Pe=function(){return r.e(39).then(r.bind(null,1036)).then((function(t){return De(t.default||t)}))},Re=function(){return Promise.resolve().then(r.bind(null,474)).then((function(t){return De(t.default||t)}))};function De(t){if(!t||!t.functional)return t;var e=Array.isArray(t.props)?t.props:Object.keys(t.props||{});return{render:function(r){var n={},o={};for(var l in this.$attrs)e.includes(l)?o[l]=this.$attrs[l]:n[l]=this.$attrs[l];return r(t,{on:this.$listeners,attrs:n,props:o,scopedSlots:this.$scopedSlots},this.$slots.default)}}}for(var Le in n)c.default.component(Le,n[Le]),c.default.component("Lazy"+Le,n[Le]);r(226);var Ne=["attachErrorHandler","createTracingMixins","init","vueRouterInstrumentation","attachErrorHandler","createTracingMixins","FunctionToString","Hub","InboundFilters","ModuleMetadata","Scope","addBreadcrumb","addGlobalEventProcessor","addTracingExtensions","captureEvent","captureException","captureMessage","close","configureScope","createTransport","extractTraceparentData","flush","getActiveTransaction","getCurrentHub","getHubFromCarrier","lastEventId","makeMain","makeMultiplexedTransport","setContext","setExtra","setExtras","setMeasurement","setTag","setTags","setUser","spanStatusfromHttpCode","startTransaction","trace","withScope","BrowserClient","makeFetchTransport","makeXHRTransport","defaultStackParser","eventFromException","eventFromMessage","exceptionFromError","createUserFeedbackEnvelope","captureUserFeedback","forceLoad","onLoad","showReportDialog","wrap","Replay","BrowserTracing","instrumentOutgoingRequests","makeBrowserOfflineTransport","onProfilingStartRouteTransaction","BrowserProfilingIntegration","GlobalHandlers","TryCatch","Breadcrumbs","LinkedErrors","HttpContext","Dedupe","init","vueRouterInstrumentation"],je=function(t,e){var r={};Ne.forEach((function(t){r[t]=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return console.warn("$sentry.".concat(t,"() called, but Sentry plugin is disabled. Arguments:"),r)}})),e("sentry",r),t.$sentry=r},Be=r(180),Fe=r(798);
2class Ue{constructor(t={},e){return(async()=>{this.ctx=e,this.options=t||{};const title=this.ctx.app.head.title;let r=navigator.userAgent.toLowerCase()||"",n=title||"";if("api"===t.mode){const t=this.options.api?await Fe.a.get(this.options.api):await Fe.a.get("https://ipinfo.io"),e=this.options.keyName||"ip",o=this.options.saltName||"region";r+=t.data[e],n+=t.data[o]}return this.key=Object(Be.pbkdf2Sync)(r,n,64,64,"sha512").toString("base64"),this})()}setKey(t,e,r,n){this.key=Object(Be.pbkdf2Sync)(t||navigator.userAgent.toLowerCase(),e||title,r||64,n||64,"sha512").toString("base64")}encrypt(data){if("debug"===this.options.mode)return data;try{this.cipher=Object(Be.createCipher)(this.options.type||"aes-256-cbc",this.key);let t=this.cipher.update(data,"utf8","base64");return t+=this.cipher.final("base64"),t}catch(t){return null}}decrypt(data){try{this.decipher=Object(Be.createDecipher)(this.options.type||"aes-256-cbc",this.key);let t=this.decipher.update(data,"base64","utf8");return t+=this.decipher.final("utf8"),t}catch(t){return"debug"===this.options.mode?data:null}}}var qe=r(230);c.default.prototype.$localStorageLoaded=!1,c.default.prototype.$sessionStorageLoaded=!1;var ze,Ve,$e,He=async(t,e={})=>{const n=r(706)(e.mode);e.expireHours&&n.setExpire(e.expireHours);const o=t.store,l=await new Ue(e,t);let h=e.localStorage||["localStorage"];"string"==typeof e.localStorage&&(h=[e.localStorage]);let d=e.sessionStorage||["sessionStorage"];"string"==typeof e.sessionStorage&&(d=[e.sessionStorage]);const f=e.versionPropName||"version",m={local:h,session:d};let v={local:[],session:[]};const y=(t,e,i)=>o.watch((t=>t[e]),(e=>((t,i,e)=>{const data=JSON.stringify(qe.a.create(e));n[t].set(m[t][i],l.encrypt(data))})(t,i,e)),{deep:!0}),_=(t,e,i)=>{const r=JSON.parse(l.decrypt(n[t].get(e)));let data={...o.state};const h=qe.a.check(r);o.state[e]&&h[f]===o.state[e][f]&&(data[e]={...data[e],...h,status:!0}),o.replaceState(data),m[t].forEach(((e,i)=>{v[t][i]=y(t,e,i)})),i==m[t].length-1&&("local"==t&&(c.default.prototype.$localStorageLoaded=!0),"session"==t&&(c.default.prototype.$sessionStorageLoaded=!0))},w=()=>{window.addEventListener("storage",(t=>{if(t&&t.storageArea===localStorage&&Object.keys(o.state).indexOf(t.key)>=0){let data={...o.state};data[t.key]=qe.a.check(JSON.parse(l.decrypt(t.newValue))),JSON.stringify(data)!==JSON.stringify(o.state)&&o.replaceState(data)}}))};if("manual"===e.mode){w(),c.default.prototype.$setWebStorageKey=(t,e,r,n)=>l.setKey(t,e,r,n);let t=[];m.local.forEach(((e,i)=>{t.push(o.watch((t=>t[e].status),(r=>{r&&(_("local",e,i),t[i]())}),{deep:!0}))}));let e=[];m.session.forEach(((t,i)=>{e.push(o.watch((t=>t.sessionStorage),(r=>{r.status&&(_("session",t,i),e[i]())}),{deep:!0}))}))}else m.local.forEach(((t,i)=>{_("local",t,i),w()})),m.session.forEach(((t,i)=>{_("session",t,i)}))},We=function(t){He(t,{mode:"debug"})},Ge=r(456),Qe=r.n(Ge);function Ke(t,e,r,n){return new(r||(r=Promise))((function(o,l){function c(t){try{d(n.next(t))}catch(t){l(t)}}function h(t){try{d(n.throw(t))}catch(t){l(t)}}function d(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(c,h)}d((n=n.apply(t,e||[])).next())}))}c.default.use(Qe.a,{}),function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"}(ze||(ze={})),function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"}(Ve||(Ve={})),function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"}($e||($e={}));const Xe="Vue-Toastification",Ye={type:{type:String,default:ze.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},Ze={type:Ye.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},Je={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:Ye.classNames,showOnHover:Boolean,ariaLabel:{type:String,default:"close"}},er={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:Boolean,isRunning:Boolean},rr={transition:{type:[Object,String],default:`${Xe}__bounce`},transitionDuration:{type:[Number,Object],default:750}};var ir={CORE_TOAST:{position:{type:String,default:Ve.TOP_RIGHT},draggable:Ye.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:Ye.trueBoolean,pauseOnHover:Ye.trueBoolean,closeOnClick:Ye.trueBoolean,timeout:er.timeout,hideProgressBar:er.hideProgressBar,toastClassName:Ye.classNames,bodyClassName:Ye.classNames,icon:Ze.customIcon,closeButton:Je.component,closeButtonClassName:Je.classNames,showCloseButtonOnHover:Je.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:Boolean,eventBus:Object},TOAST:{id:{type:[String,Number],required:!0},type:Ye.type,content:{type:[String,Object,Function],required:!0},onClick:Function,onClose:Function},CONTAINER:{container:{type:void 0,default:()=>document.body},newestOnTop:Ye.trueBoolean,maxToasts:{type:Number,default:20},transition:rr.transition,transitionDuration:rr.transitionDuration,toastDefaults:Object,filterBeforeCreate:{type:Function,default:t=>t},filterToasts:{type:Function,default:t=>t},containerClassName:Ye.classNames,onMounted:Function},PROGRESS_BAR:er,ICON:Ze,TRANSITION:rr,CLOSE_BUTTON:Je};const nr=t=>"function"==typeof t,or=t=>"string"==typeof t,ar=t=>or(t)&&t.trim().length>0,sr=t=>"number"==typeof t,ur=t=>void 0===t,lr=t=>"object"==typeof t&&null!==t,cr=t=>vr(t,"tag")&&ar(t.tag),dr=t=>window.TouchEvent&&t instanceof TouchEvent,fr=t=>vr(t,"component")&&mr(t.component),pr=t=>!!(t=>nr(t)&&vr(t,"cid"))(t)||!!lr(t)&&(!(!t.extends&&!t._Ctor)||(!!or(t.template)||yr(t))),mr=t=>!ur(t)&&(or(t)||(t=>t instanceof c.default||pr(t))(t)||yr(t)||cr(t)||fr(t)),gr=t=>lr(t)&&sr(t.height)&&sr(t.width)&&sr(t.right)&&sr(t.left)&&sr(t.top)&&sr(t.bottom),vr=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),yr=t=>vr(t,"render")&&nr(t.render),_r=(i=0,()=>i++);var i;function wr(t){return dr(t)?t.targetTouches[0].clientX:t.clientX}function Tr(t){return dr(t)?t.targetTouches[0].clientY:t.clientY}const Sr=t=>{ur(t.remove)?t.parentNode&&t.parentNode.removeChild(t):t.remove()},Mr=t=>fr(t)?Mr(t.component):cr(t)?{render:()=>t}:t;function xr(template,style,script,t,e,r,n,o,l,c){"boolean"!=typeof n&&(l=o,o=n,n=!1);const h="function"==typeof script?script.options:script;let d;if(template&&template.render&&(h.render=template.render,h.staticRenderFns=template.staticRenderFns,h._compiled=!0,e&&(h.functional=!0)),t&&(h._scopeId=t),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),style&&style.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},h._ssrRegister=d):style&&(d=n?function(t){style.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){style.call(this,o(t))}),d)if(h.functional){const t=h.render;h.render=function(e,r){return d.call(r),t(e,r)}}else{const t=h.beforeCreate;h.beforeCreate=t?[].concat(t,d):[d]}return script}const kr=c.default.extend({props:ir.PROGRESS_BAR,data:()=>({hasClass:!0}),computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Xe}__progress-bar`:""}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeDestroy(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}},watch:{timeout(){this.hasClass=!1,this.$nextTick((()=>this.hasClass=!0))}}});var Er=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.cpClass,style:t.style})};Er._withStripped=!0;const Or=xr({render:Er,staticRenderFns:[]}
vendor: 4,118 bytes, line 2
2,undefined,kr,undefined,false,undefined,!1,void 0,void 0,void 0);const Cr=c.default.extend({props:ir.CLOSE_BUTTON,computed:{buttonComponent(){return!1!==this.component?Mr(this.component):"button"},classes(){const t=[`${Xe}__close-button`];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}});var Ar=function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.buttonComponent,t._g({tag:"component",class:t.classes,attrs:{"aria-label":t.ariaLabel}},t.$listeners),[t._v("\n  ×\n")])};Ar._withStripped=!0;const Ir=xr({render:Ar,staticRenderFns:[]},undefined,Cr,undefined,false,undefined,!1,void 0,void 0,void 0);const Pr={};var Rr=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-check-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}})])};Rr._withStripped=!0;const Dr=xr({render:Rr,staticRenderFns:[]},undefined,Pr,undefined,false,undefined,!1,void 0,void 0,void 0);const Lr={};var Nr=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-info-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"}})])};Nr._withStripped=!0;const jr=xr({render:Nr,staticRenderFns:[]},undefined,Lr,undefined,false,undefined,!1,void 0,void 0,void 0);const Br={};var Fr=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-exclamation-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})])};Fr._withStripped=!0;const Ur=xr({render:Fr,staticRenderFns:[]},undefined,Br,undefined,false,undefined,!1,void 0,void 0,void 0);const qr={};var zr=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-exclamation-triangle fa-w-18",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"}},[e("path",{attrs:{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})])};zr._withStripped=!0;const Vr=xr({render:zr,staticRenderFns:[]}
2,undefined,qr,undefined,false,undefined,!1,void 0,void 0,void 0);var $r=c.default.extend({props:ir.ICON,computed:{customIconChildren(){return vr(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return or(this.customIcon)?this.trimValue(this.customIcon):vr(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return vr(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:mr(this.customIcon)?Mr(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[ze.DEFAULT]:jr,[ze.INFO]:jr,[ze.SUCCESS]:Dr,[ze.ERROR]:Vr,[ze.WARNING]:Ur}[this.type]},iconClasses(){const t=[`${Xe}__icon`];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:(t,e="")=>ar(t)?t.trim():e}});const Hr=$r;var Wr=function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.component,{tag:"component",class:t.iconClasses},[t._v(t._s(t.customIconChildren))])};Wr._withStripped=!0;const Gr=xr({render:Wr,staticRenderFns:[]},undefined,Hr,undefined,false,undefined,!1,void 0,void 0,void 0);const Qr=c.default.extend({components:{ProgressBar:Or,CloseButton:Ir,Icon:Gr},inheritAttrs:!1,props:Object.assign({},ir.CORE_TOAST,ir.TOAST),data:()=>({isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}),computed:{classes(){const t=[`${Xe}__toast`,`${Xe}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(`${Xe}__toast--rtl`),t},bodyClasses(){return[`${Xe}__toast-${or(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return gr(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeDestroy(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},destroyed(){setTimeout((()=>{Sr(this.$el)}),1e3)},methods:{getVueComponentFromObj:Mr,closeToast(){this.eventBus.$emit($e.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const element=this.$el;element.addEventListener("touchstart",this.onDragStart,{passive:!0}),element.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const element=this.$el;element.removeEventListener("touchstart",this.onDragStart),element.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(t){this.beingDragged=!0,this.dragPos={x:wr(t),y:Tr(t)},this.dragStart=wr(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:wr(t),y:Tr(t)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((()=>this.closeToast()))):setTimeout((()=>{this.beingDragged=!1,gr(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0})))}}});var Kr=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.classes,style:t.draggableStyle,on:{click:t.clickHandler,mouseenter:t.hoverPause,mouseleave:t.hoverPlay}},[t.icon?r("Icon",{attrs:{"custom-icon":t.icon,type:t.type}}):t._e(),t._v(" "),r("div",{class:t.bodyClasses,attrs:{role:t.accessibility.toastRole||"alert"}},["string"==typeof t.content?[t._v(t._s(t.content))]:r(t.getVueComponentFromObj(t.content),t._g(t._b({tag:"component",attrs:{"toast-id":t.id},on:{"close-toast":t.closeToast}},"component",t.content.props,!1),t.content.listeners))],2),t._v(" "),t.closeButton?r("CloseButton",{attrs:{component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel},on:{click:function(e){return e.stopPropagation(),t.closeToast(e)}}}):t._e(),t._v(" "),t.timeout?r("ProgressBar",{attrs:{"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout},on:{"close-toast":t.timeoutHandler}}):t._e()],1)};Kr._withStripped=!0;const Xr=xr({render:Kr,staticRenderFns:[]}
2,undefined,Qr,undefined,false,undefined,!1,void 0,void 0,void 0);const Yr=c.default.extend({inheritAttrs:!1,props:ir.TRANSITION,methods:{beforeEnter(t){const e="number"==typeof this.transitionDuration?this.transitionDuration:this.transitionDuration.enter;t.style.animationDuration=`${e}ms`,t.style.animationFillMode="both",this.$emit("before-enter",t)},afterEnter(t){this.cleanUpStyles(t),this.$emit("after-enter",t)},afterLeave(t){this.cleanUpStyles(t),this.$emit("after-leave",t)},beforeLeave(t){const e="number"==typeof this.transitionDuration?this.transitionDuration:this.transitionDuration.leave;t.style.animationDuration=`${e}ms`,t.style.animationFillMode="both",this.$emit("before-leave",t)},leave(t,e){this.setAbsolutePosition(t),this.$emit("leave",t,e)},setAbsolutePosition(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.height=getComputedStyle(t).height,t.style.position="absolute"},cleanUpStyles(t){t.style.animationFillMode="",t.style.animationDuration=""}}});var Zr=function(){var t=this,e=t.$createElement;return(t._self._c||e)("transition-group",{attrs:{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active"},on:{leave:t.leave,"before-enter":t.beforeEnter,"before-leave":t.beforeLeave,"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[t._t("default")],2)};Zr._withStripped=!0;const Jr=xr({render:Zr,staticRenderFns:[]},undefined,Yr,undefined,false,undefined,!1,void 0,void 0,void 0);const ti=c.default.extend({components:{Toast:Xr,VtTransition:Jr},props:Object.assign({},ir.CORE_TOAST,ir.CONTAINER,ir.TRANSITION),data:()=>({count:0,positions:Object.values(Ve),toasts:{},defaults:{}}),computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){this.setup(this.container);const t=this.eventBus;t.$on($e.ADD,this.addToast),t.$on($e.CLEAR,this.clearToasts),t.$on($e.DISMISS,this.dismissToast),t.$on($e.UPDATE,this.updateToast),t.$on($e.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},methods:{setup(t){return Ke(this,void 0,void 0,(function*(){nr(t)&&(t=yield t()),Sr(this.$el),t.appendChild(this.$el)}))},setToast(t){ur(t.id)||this.$set(this.toasts,t.id,t)},addToast(t){const e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),r=this.defaults.filterBeforeCreate(e,this.toastArray);r&&this.setToast(r)},dismissToast(t){const e=this.toasts[t];ur(e)||ur(e.onClose)||e.onClose(),this.$delete(this.toasts,t)},clearToasts(){Object.keys(this.toasts).forEach((t=>{this.dismissToast(t)}))},getPositionToasts(t){const e=this.filteredToasts.filter((e=>e.position===t)).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults(t){ur(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast({id:t,options:e,create:r}){this.toasts[t]?(e.timeout&&e.timeout===this.toasts[t].timeout&&e.timeout++,this.setToast(Object.assign({},this.toasts[t],e))):r&&this.addToast(Object.assign({},{id:t},e))},getClasses(t){return[`${Xe}__container`,t].concat(this.defaults.containerClassName)}}});var ei=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",t._l(t.positions,(function(e){return r("div",{key:e},[r("VtTransition",{class:t.getClasses(e),attrs:{transition:t.defaults.transition,"transition-duration":t.defaults.transitionDuration}},t._l(t.getPositionToasts(e),(function(e){return r("Toast",t._b({key:e.id},"Toast",e,!1))})),1)],1)})),0)};ei._withStripped=!0;const ri=xr({render:ei,staticRenderFns:[]},undefined,ti,undefined,false,undefined,!1,void 0,void 0,void 0),ii=(t,e={},r=!0)=>{const n=e.eventBus=e.eventBus||new t;if(r){const r=new(t.extend(ri))({el:document.createElement("div"),propsData:e}),n=e.onMounted;ur(n)||n(r)}const o=(content,t)=>{const e=Object.assign({},{id:_r(),type:ze.DEFAULT},t,{content:content});return n.$emit($e.ADD,e),e.id};return o.clear=()=>n.$emit($e.CLEAR),o.updateDefaults=t=>{n.$emit($e.UPDATE_DEFAULTS,t)},o.dismiss=t=>{n.$emit($e.DISMISS,t)},o.update=function(t,{content:content,options:e},r=!1){n.$emit($e.UPDATE,{id:t,options:Object.assign({},e,{content:content}),create:r})},o.success=(content,t)=>o(content,Object.assign({},t,{type:ze.SUCCESS})),o.info=(content,t)=>o(content,Object.assign({},t,{type:ze.INFO})),o.error=(content,t)=>o(content,Object.assign({},t,{type:ze.ERROR})),o.warning=(content,t)=>o(content,Object.assign({},t,{type:ze.WARNING})),o};function ni(t,e=c.default){return t instanceof e?ii(e,{eventBus:t},!1):ii(e,t,!0)}var oi=function(t,e){e("toast",ni({cssFile:"/opt/build/repo/app/node_modules/vue-toastification/dist/index.css",icon:!1}))},ai=r(457),si=r.n(ai),ui=function(t,e){var r=t.req,n=t.res,o=!0;e("cookies",si()(r,n,o))},ci=(r(39),r(22),"background: #2E495E;border-radius: 0.5em;color: white;font-weight: bold;padding: 2px 0.5em;");function hi(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];
2(t=console).log.apply(t,["%cGTM",ci].concat(r))}var di="dataLayer",fi="GTM-NJKTBCX7";var pi=function(t,e){var r="GTM-NJKTBCX7",n=(t.$config&&t.$config.gtm||{}).id,o=function(t,e){return{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fi;!e[t]&&window._gtm_inject&&(window._gtm_inject(t),e[t]=!0,hi("init",t))},push:function(t){window[di]||(window[di]=[]),window[di].push(t),hi("push",t)}}}(0,r?Object(l.a)({},r,!0):{});n&&n!==r&&o.init(n),t.$gtm=o,e("gtm",t.$gtm)},mi=r(293),gi=(r(708),function(t,b){return gi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},gi(t,b)});function vi(t,b){function e(){this.constructor=t}gi(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}var yi=function(){return yi=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},yi.apply(this,arguments)};function bi(t,e,r,n){return new(r||(r=Promise))((function(o,l){function c(t){try{d(n.next(t))}catch(t){l(t)}}function h(t){try{d(n.throw(t))}catch(t){l(t)}}function d(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(c,h)}d((n=n.apply(t,e||[])).next())}))}function _i(t,body){var e,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(c){return function(l){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,r&&(n=2&l[0]?r.return:l[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,l[1])).done)return n;switch(r=0,n&&(l=[2&l[0],n.value]),l[0]){case 0:case 1:n=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]<n[3])){o.label=l[1];break}if(6===l[0]&&o.label<n[1]){o.label=n[1],n=l;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(l);break}n[2]&&o.ops.pop(),o.trys.pop();continue}l=body.call(t,o)}catch(t){l=[6,t],r=0}finally{e=n=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}var wi,Ti=r(4),Si=r(430),Mi=r(63),xi=r(52),ki=r(285),Ei=r(11),Oi=r(70);function Ci(t){return t<7}!function(t){t[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error"}(wi||(wi={}));var Ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return vi(e,t),e.prototype[ki.default]=function(){return this},e.prototype["@@observable"]=function(){return this},e}(Mi.a);function Ii(t){return Array.isArray(t)&&t.length>0}var Pi,Ri=function(t){function e(r){var n,o,l=r.graphQLErrors,c=r.networkError,h=r.errorMessage,d=r.extraInfo,f=t.call(this,h)||this;return f.graphQLErrors=l||[],f.networkError=c||null,f.message=h||(o="",Ii((n=f).graphQLErrors)&&n.graphQLErrors.forEach((function(t){var e=t?t.message:"Error message not found.";o+="GraphQL error: "+e+"\n"})),n.networkError&&(o+="Network error: "+n.networkError.message+"\n"),o=o.replace(/\n$/,"")),f.extraInfo=d,f.__proto__=e.prototype,f}return vi(e,t),e}(Error);!function(t){t[t.normal=1]="normal",t[t.refetch=2]="refetch",t[t.poll=3]="poll"}(Pi||(Pi={}));var Di=function(t){function e(e){var r=e.queryManager,n=e.options,o=e.shouldSubscribe,l=void 0===o||o,c=t.call(this,(function(t){return c.onSubscribe(t)}))||this;c.observers=new Set,c.subscriptions=new Set,c.isTornDown=!1,c.options=n,c.variables=n.variables||{},c.queryId=r.generateQueryId(),c.shouldSubscribe=l;var h=Object(Ti.getOperationDefinition)(n.query);return c.queryName=h&&h.name&&h.name.value,c.queryManager=r,c}return vi(e,t),e.prototype.result=function(){var t=this;return new Promise((function(e,r){var n={next:function(r){e(r),t.observers.delete(n),t.observers.size||t.queryManager.removeQuery(t.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:r},o=t.subscribe(n)}))},e.prototype.currentResult=function(){var t=this.getCurrentResult();return void 0===t.data&&(t.data={}),t},e.prototype.getCurrentResult=function(){if(this.isTornDown){var t=this.lastResult;return{data:!this.lastError&&t&&t.data||void 0,error:this.lastError,loading:!1,networkStatus:wi.error}}var e,r,n,o=this.queryManager.getCurrentQueryResult(this),data=o.data,l=o.partial,c=this.queryManager.queryStore.get(this.queryId),h=this.options.fetchPolicy,d="network-only"===h||"no-cache"===h;if(c){var f=c.networkStatus;if(r=c,void 0===(n=this.options.errorPolicy)&&(n="none"),r&&(r.networkError||"none"===n&&Ii(r.graphQLErrors)))return{data:void 0,loading:!1,networkStatus:f,error:new Ri({graphQLErrors:c.graphQLErrors,networkError:c.networkError})};c.variables&&(this.options.variables=yi(yi({},this.options.variables),c.variables),this.variables=this.options.variables),e={data:data,loading:Ci(f),networkStatus:f},c.graphQLErrors&&"all"===this.options.errorPolicy&&(e.errors=c.graphQLErrors)}else{var m=d||l&&"cache-only"!==h;e={data:data,loading:m,networkStatus:m?wi.loading:wi.ready}}return l||this.updateLastResult(yi(yi({},e),{stale:!1})),yi(yi({},e),{partial:l})},e.prototype.isDifferentFromLastResult=function(t){var e=this.lastResultSnapshot;return!(e&&t&&e.networkStatus===t.networkStatus&&e.stale===t.stale&&Object(Si.a)(e.data,t.data))},e.prototype.getLastResult=function(){return this.lastResult},e.prototype.getLastError=function(){return this.lastError},e.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){var t=this.queryManager.queryStore.get(this.queryId);t&&(t.networkError=null,t.graphQLErrors=[])},e.prototype.refetch=function(t){var e=this.options.fetchPolicy;return"cache-only"===e?Promise.reject(new Ei.a(1)):("no-cache"!==e&&"cache-and-network"!==e&&(e="network-only"),Object(Si.a)(this.variables,t)||(this.variables=yi(yi({},this.variables),t)),Object(Si.a)(this.options.variables,this.variables)||(this.options.variables=yi(yi({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,yi(yi({},this.options),{fetchPolicy:e}),Pi.refetch))},e.prototype.fetchMore=function(t){var e=this;Object(Ei.b)(t.updateQuery,2);var r=yi(yi({},t.query?t:yi(yi(yi({},this.options),t),{variables:yi(yi({},this.variables),t.variables)})),{fetchPolicy:"network-only"}),n=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(n,r,Pi.normal,this.queryId).then((function(o){return e.updateQuery((function(e){return t.updateQuery(e,{fetchMoreResult:o.data,variables:r.variables})})),e.queryManager.stopQuery(n),o}),(function(t){throw e.queryManager.stopQuery(n),t}))},e.prototype.subscribeToMore=function(t){var e=this,r=this.queryManager.startGraphQLSubscription({query:t.document,variables:t.variables}).subscribe({next:function(r){var n=t.updateQuery;n&&e.updateQuery((function(t,e){var o=e.variables;return n(t,{subscriptionData:r,variables:o})}))},error:function(e){t.onError&&t.onError(e)}});return this.subscriptions.add(r),function(){e.subscriptions.delete(r)&&r.unsubscribe()}},e.prototype.setOptions=function(t){var e=this.options.fetchPolicy;this.options=yi(yi({},this.options),t),t.pollInterval?this.startPolling(t.pollInterval):0===t.pollInterval&&this.stopPolling();var r=t.fetchPolicy;return this.setVariables(this.options.variables,e!==r&&("cache-only"===e||"standby"===e||"network-only"===r),t.fetchResults)},e.prototype.setVariables=function(t,e,r){return void 0===e&&(e=!1),void 0===r&&(r=!0),this.isTornDown=!1,t=t||this.variables,!e&&Ob
vendor: 6,159 bytes, line 2
2ject(Si.a)(t,this.variables)?this.observers.size&&r?this.result():Promise.resolve():(this.variables=this.options.variables=t,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},e.prototype.updateQuery=function(t){var e=this.queryManager,r=e.getQueryWithPreviousResult(this.queryId),n=r.previousResult,o=r.variables,l=r.document,c=Object(Ti.tryFunctionOrLogError)((function(){return t(n,{variables:o})}));c&&(e.dataStore.markUpdateQueryResult(l,o,c),e.broadcastQueries())},e.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},e.prototype.startPolling=function(t){ji(this),this.options.pollInterval=t,this.queryManager.startPollingQuery(this.options,this.queryId)},e.prototype.updateLastResult=function(t){var e=this.lastResult;return this.lastResult=t,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?t:Object(Ti.cloneDeep)(t),e},e.prototype.onSubscribe=function(t){var e=this;try{var r=t._subscription._observer;r&&!r.error&&(r.error=Li)}catch(t){}var n=!this.observers.size;return this.observers.add(t),t.next&&this.lastResult&&t.next(this.lastResult),t.error&&this.lastError&&t.error(this.lastError),n&&this.setUpQuery(),function(){e.observers.delete(t)&&!e.observers.size&&e.tearDownQuery()}},e.prototype.setUpQuery=function(){var t=this,e=this.queryManager,r=this.queryId;this.shouldSubscribe&&e.addObservableQuery(r,this),this.options.pollInterval&&(ji(this),e.startPollingQuery(this.options,r));var n=function(e){t.updateLastResult(yi(yi({},t.lastResult),{errors:e.graphQLErrors,networkStatus:wi.error,loading:!1})),Ni(t.observers,"error",t.lastError=e)};e.observeQuery(r,this.options,{next:function(r){if(t.lastError||t.isDifferentFromLastResult(r)){var n=t.updateLastResult(r),o=t.options,l=o.query,c=o.variables,h=o.fetchPolicy;e.transform(l).hasClientExports?e.getLocalState().addExportedVariables(l,c).then((function(o){var c=t.variables;t.variables=t.options.variables=o,!r.loading&&n&&"cache-only"!==h&&e.transform(l).serverQuery&&!Object(Si.a)(c,o)?t.refetch():Ni(t.observers,"next",r)})):Ni(t.observers,"next",r)}},error:n}).catch(n)},e.prototype.tearDownQuery=function(){var t=this.queryManager;this.isTornDown=!0,t.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(sub){return sub.unsubscribe()})),this.subscriptions.clear(),t.removeObservableQuery(this.queryId),t.stopQuery(this.queryId),this.observers.clear()},e}(Ai);function Li(t){}function Ni(t,e,r){var n=[];t.forEach((function(t){return t[e]&&n.push(t)})),n.forEach((function(t){return t[e](r)}))}function ji(t){var e=t.options.fetchPolicy;Object(Ei.b)("cache-first"!==e&&"cache-only"!==e,3)}var Bi=function(){function t(){this.store={}}return t.prototype.getStore=function(){return this.store},t.prototype.get=function(t){return this.store[t]},t.prototype.initMutation=function(t,e,r){this.store[t]={mutation:e,variables:r||{},loading:!0,error:null}},t.prototype.markMutationError=function(t,e){var r=this.store[t];r&&(r.loading=!1,r.error=e)},t.prototype.markMutationResult=function(t){var e=this.store[t];e&&(e.loading=!1,e.error=null)},t.prototype.reset=function(){this.store={}},t}(),Fi=function(){function t(){this.store={}}return t.prototype.getStore=function(){return this.store},t.prototype.get=function(t){return this.store[t]},t.prototype.initQuery=function(t){var e=this.store[t.queryId];Object(Ei.b)(!e||e.document===t.document||Object(Si.a)(e.document,t.document),19);var r,n=!1,o=null;t.storePreviousVariables&&e&&e.networkStatus!==wi.loading&&(Object(Si.a)(e.variables,t.variables)||(n=!0,o=e.variables)),r=n?wi.setVariables:t.isPoll?wi.poll:t.isRefetch?wi.refetch:wi.loading;var l=[];e&&e.graphQLErrors&&(l=e.graphQLErrors),this.store[t.queryId]={document:t.document,variables:t.variables,previousVariables:o,networkError:null,graphQLErrors:l,networkStatus:r,metadata:t.metadata},"string"==typeof t.fetchMoreForQueryId&&this.store[t.fetchMoreForQueryId]&&(this.store[t.fetchMoreForQueryId].networkStatus=wi.fetchMore)},t.prototype.markQueryResult=function(t,e,r){this.store&&this.store[t]&&(this.store[t].networkError=null,this.store[t].graphQLErrors=Ii(e.errors)?e.errors:[],this.store[t].previousVariables=null,this.store[t].networkStatus=wi.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=wi.ready))},t.prototype.markQueryError=function(t,e,r){this.store&&this.store[t]&&(this.store[t].networkError=e,this.store[t].networkStatus=wi.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},t.prototype.markQueryResultClient=function(t,e){var r=this.store&&this.store[t];r&&(r.networkError=null,r.previousVariables=null,e&&(r.networkStatus=wi.ready))},t.prototype.stopQuery=function(t){delete this.store[t]},t.prototype.reset=function(t){var e=this;Object.keys(this.store).forEach((function(r){t.indexOf(r)<0?e.stopQuery(r):e.store[r].networkStatus=wi.loading}))},t}();var Ui=function(){function t(t){var e=t.cache,r=t.client,n=t.resolvers,o=t.fragmentMatcher;this.cache=e,r&&(this.client=r),n&&this.addResolvers(n),o&&this.setFragmentMatcher(o)}return t.prototype.addResolvers=function(t){var e=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach((function(t){e.resolvers=Object(Ti.mergeDeep)(e.resolvers,t)})):this.resolvers=Object(Ti.mergeDeep)(this.resolvers,t)},t.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},t.prototype.getResolvers=function(){return this.resolvers||{}},t.prototype.runResolvers=function(t){var e=t.document,r=t.remoteResult,n=t.context,o=t.variables,l=t.onlyRunForcedResolvers,c=void 0!==l&&l;return bi(this,void 0,void 0,(function(){return _i(this,(function(t){return e?[2,this.resolveDocument(e,r.data,n,o,this.fragmentMatcher,c).then((function(t){return yi(yi({},r),{data:t.result})}))]:[2,r]}))}))},t.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},t.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},t.prototype.clientQuery=function(t){return Object(Ti.hasDirectives)(["client"],t)&&this.resolvers?t:null},t.prototype.serverQuery=function(t){return this.resolvers?Object(Ti.removeClientSet
2sFromDocument)(t):t},t.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.cache;return yi(yi({},t),{cache:e,getCacheKey:function(t){if(e.config)return e.config.dataIdFromObject(t);Object(Ei.b)(!1,6)}})},t.prototype.addExportedVariables=function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),bi(this,void 0,void 0,(function(){return _i(this,(function(n){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,e)||{},this.prepareContext(r),e).then((function(data){return yi(yi({},e),data.exportedVariables)}))]:[2,yi({},e)]}))}))},t.prototype.shouldForceResolvers=function(t){var e=!1;return Object(Oi.b)(t,{Directive:{enter:function(t){if("client"===t.name.value&&t.arguments&&(e=t.arguments.some((function(t){return"always"===t.name.value&&"BooleanValue"===t.value.kind&&!0===t.value.value}))))return Oi.a}}}),e},t.prototype.buildRootValueFromCache=function(t,e){return this.cache.diff({query:Object(Ti.buildQueryFromSelectionSet)(t),variables:e,returnPartialData:!0,optimistic:!1}).result},t.prototype.resolveDocument=function(t,e,r,n,o,l){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===o&&(o=function(){return!0}),void 0===l&&(l=!1),bi(this,void 0,void 0,(function(){var c,h,d,f,m,v,y,_,w;return _i(this,(function(T){var S;return c=Object(Ti.getMainDefinition)(t),h=Object(Ti.getFragmentDefinitions)(t),d=Object(Ti.createFragmentMap)(h),f=c.operation,m=f?(S=f).charAt(0).toUpperCase()+S.slice(1):"Query",y=(v=this).cache,_=v.client,w={fragmentMap:d,context:yi(yi({},r),{cache:y,client:_}),variables:n,fragmentMatcher:o,defaultOperationType:m,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(c.selectionSet,e,w).then((function(t){return{result:t,exportedVariables:w.exportedVariables}}))]}))}))},t.prototype.resolveSelectionSet=function(t,e,r){return bi(this,void 0,void 0,(function(){var n,o,l,c,h,d=this;return _i(this,(function(f){return n=r.fragmentMap,o=r.context,l=r.variables,c=[e],h=function(t){return bi(d,void 0,void 0,(function(){var h,d;return _i(this,(function(f){return Object(Ti.shouldInclude)(t,l)?Object(Ti.isField)(t)?[2,this.resolveField(t,e,r).then((function(e){var r;void 0!==e&&c.push(((r={})[Object(Ti.resultKeyNameFromField)(t)]=e,r))}))]:(Object(Ti.isInlineFragment)(t)?h=t:(h=n[t.name.value],Object(Ei.b)(h,7)),h&&h.typeCondition&&(d=h.typeCondition.name.value,r.fragmentMatcher(e,d,o))?[2,this.resolveSelectionSet(h.selectionSet,e,r).then((function(t){c.push(t)}))]:[2]):[2]}))}))},[2,Promise.all(t.selections.map(h)).then((function(){return Object(Ti.mergeDeepArray)(c)}))]}))}))},t.prototype.resolveField=function(t,e,r){return bi(this,void 0,void 0,(function(){var n,o,l,c,h,d,f,m,v,y=this;return _i(this,(function(_){return n=r.variables,o=t.name.value,l=Object(Ti.resultKeyNameFromField)(t),c=o!==l,h=e[l]||e[o],d=Promise.resolve(h),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(t)||(f=e.__typename||r.defaultOperationType,(m=this.resolvers&&this.resolvers[f])&&(v=m[c?o:l])&&(d=Promise.resolve(v(e,Object(Ti.argumentsObjectFromField)(t,n),r.context,{field:t,fragmentMap:r.fragmentMap})))),[2,d.then((function(e){return void 0===e&&(e=h),t.directives&&t.directives.forEach((function(t){"export"===t.name.value&&t.arguments&&t.arguments.forEach((function(t){"as"===t.name.value&&"StringValue"===t.value.kind&&(r.exportedVariables[t.value.value]=e)}))})),t.selectionSet?null==e?e:Array.isArray(e)?y.resolveSubSelectedArray(t,e,r):t.selectionSet?y.resolveSelectionSet(t.selectionSet,e,r):void 0:e}))]}))}))},t.prototype.resolveSubSelectedArray=function(t,e,r){var n=this;return Promise.all(e.map((function(e){return null===e?null:Array.isArray(e)?n.resolveSubSelectedArray(t,e,r):t.selectionSet?n.resolveSelectionSet(t.selectionSet,e,r):void 0})))},t}();function qi(t){var e=new Set,sub=null;return new Ai((function(r){return e.add(r),sub=sub||t.subscribe({next:function(t){e.forEach((function(e){return e.next&&e.next(t)}))},error:function(t){e.forEach((function(e){return e.error&&e.error(t)}))},complete:function(){e.forEach((function(t){return t.complete&&t.complete()}))}}),function(){e.delete(r)&&!e.size&&sub&&(sub.unsubscribe(),sub=null)}}))}var zi=Object.prototype.hasOwnProperty,Vi=function(){function t(t){var link=t.link,e=t.queryDeduplication,r=void 0!==e&&e,n=t.store,o=t.onBroadcast,l=void 0===o?function(){}:o,c=t.ssrMode,h=void 0!==c&&c,d=t.clientAwareness,f=void 0===d?{}:d,m=t.localState,v=t.assumeImmutableResults;this.mutationStore=new Bi,this.queryStore=new Fi,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(Ti.canUseWeakMap?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=link,this.queryDeduplication=r,this.dataStore=n,this.onBroadcast=l,this.clientAwareness=f,this.localState=m||new Ui({cac
vendor: 4,325 bytes, line 2
2he:n.getCache()}),this.ssrMode=h,this.assumeImmutableResults=!!v}return t.prototype.stop=function(){var t=this;this.queries.forEach((function(e,r){t.stopQueryNoBroadcast(r)})),this.fetchQueryRejectFns.forEach((function(t){t(new Ei.a(8))}))},t.prototype.mutate=function(t){var e=t.mutation,r=t.variables,n=t.optimisticResponse,o=t.updateQueries,l=t.refetchQueries,c=void 0===l?[]:l,h=t.awaitRefetchQueries,d=void 0!==h&&h,f=t.update,m=t.errorPolicy,v=void 0===m?"none":m,y=t.fetchPolicy,_=t.context,w=void 0===_?{}:_;return bi(this,void 0,void 0,(function(){var t,l,h,m=this;return _i(this,(function(_){switch(_.label){case 0:return Object(Ei.b)(e,9),Object(Ei.b)(!y||"no-cache"===y,10),t=this.generateQueryId(),e=this.transform(e).document,this.setQuery(t,(function(){return{document:e}})),r=this.getVariables(e,r),this.transform(e).hasClientExports?[4,this.localState.addExportedVariables(e,r,w)]:[3,2];case 1:r=_.sent(),_.label=2;case 2:return l=function(){var t={};return o&&m.queries.forEach((function(e,r){var n=e.observableQuery;if(n){var l=n.queryName;l&&zi.call(o,l)&&(t[r]={updater:o[l],query:m.queryStore.get(r)})}})),t},this.mutationStore.initMutation(t,e,r),this.dataStore.markMutationInit({mutationId:t,document:e,variables:r,updateQueries:l(),update:f,optimisticResponse:n}),this.broadcastQueries(),h=this,[2,new Promise((function(o,m){var _,T;h.getObservableFromLink(e,yi(yi({},w),{optimisticResponse:n}),r,!1).subscribe({next:function(n){Object(Ti.graphQLResultHasError)(n)&&"none"===v?T=new Ri({graphQLErrors:n.errors}):(h.mutationStore.markMutationResult(t),"no-cache"!==y&&h.dataStore.markMutationResult({mutationId:t,result:n,document:e,variables:r,updateQueries:l(),update:f}),_=n)},error:function(e){h.mutationStore.markMutationError(t,e),h.dataStore.markMutationComplete({mutationId:t,optimisticResponse:n}),h.broadcastQueries(),h.setQuery(t,(function(){return{document:null}})),m(new Ri({networkError:e}))},complete:function(){if(T&&h.mutationStore.markMutationError(t,T),h.dataStore.markMutationComplete({mutationId:t,optimisticResponse:n}),h.broadcastQueries(),T)m(T);else{"function"==typeof c&&(c=c(_));var e=[];Ii(c)&&c.forEach((function(t){if("string"==typeof t)h.queries.forEach((function(r){var n=r.observableQuery;n&&n.queryName===t&&e.push(n.refetch())}));else{var r={query:t.query,variables:t.variables,fetchPolicy:"network-only"};t.context&&(r.context=t.context),e.push(h.query(r))}})),Promise.all(d?e:[]).then((function(){h.setQuery(t,(function(){return{document:null}})),"ignore"===v&&_&&Object(Ti.graphQLResultHasError)(_)&&delete _.errors,o(_)}))}}})}))]}}))}))},t.prototype.fetchQuery=function(t,e,r,n){return bi(this,void 0,void 0,(function(){var o,l,c,h,d,f,m,v,y,_,w,T,S,M,x,k,E,O,C=this;return _i(this,(function(A){switch(A.label){case 0:return o=e.metadata,l=void 0===o?null:o,c=e.fetchPolicy,h=void 0===c?"cache-first":c,d=e.context,f=void 0===d?{}:d,m=this.transform(e.query).document,v=this.getVariables(m,e.variables),this.transform(m).hasClientExports?[4,this.localState.addExportedVariables(m,v,f)]:[3,2];case 1:v=A.sent(),A.label=2;case 2:if(e=yi(yi({},e),{variables:v}),w=_="network-only"===h||"no-cache"===h,_||(T=this.dataStore.getCache().diff({query:m,variables:v,returnPartialData:!0,optimistic:!1}),S=T.complete,M=T.result,w=!S||"cache-and-network"===h,y=M),x=w&&"cache-only"!==h&&"standby"!==h,Object(Ti.hasDirectives)(["live"],m)&&(x=!0),k=this.idCounter++,E="no-cache"!==h?this.updateQueryWatch(t,m,e):void 0,this.setQuery(t,(function(){return{document:m,lastRequestId:k,invalidated:!0,cancel:E}})),this.invalidate(n),this.queryStore.initQuery({queryId:t,document:m,storePreviousVariables:x,variables:v,isPoll:r===Pi.poll,isRefetch:r===Pi.refetch,metadata:l,fetchMoreForQueryId:n}),this.broadcastQueries(),x){if(O=this.fetchRequest({requestId:k,queryId:t,document:m,options:e,fetchMoreForQueryId:n}).catch((function(e){throw e.hasOwnProperty("graphQLErrors")?e:(k>=C.getQuery(t).lastRequestId&&(C.queryStore.markQueryError(t,e,n),C.invalidate(t),C.invalidate(n),C.broadcastQueries()),new Ri({networkError:e}))})),"cache-and-network"!==h)return[2,O];O.catch((function(){}))}return this.queryStore.markQueryResultClient(t,!x),this.invalidate(t),this.invalidate(n),this.transform(m).hasForcedResolvers?[2,this.localState.runResolvers({document:m,remoteResult:{data:y}
2,context:f,variables:v,onlyRunForcedResolvers:!0}).then((function(r){return C.markQueryResult(t,r,e,n),C.broadcastQueries(),r}))]:(this.broadcastQueries(),[2,{data:y}])}}))}))},t.prototype.markQueryResult=function(t,e,r,n){var o=r.fetchPolicy,l=r.variables,c=r.errorPolicy;"no-cache"===o?this.setQuery(t,(function(){return{newData:{result:e.data,complete:!0}}})):this.dataStore.markQueryResult(e,this.getQuery(t).document,l,n,"ignore"===c||"all"===c)},t.prototype.queryListenerForObserver=function(t,e,r){var n=this;function o(t,e){if(r[t])try{r[t](e)}catch(t){}}return function(r,l){if(n.invalidate(t,!1),r){var c=n.getQuery(t),h=c.observableQuery,d=c.document,f=h?h.options.fetchPolicy:e.fetchPolicy;if("standby"!==f){var m=Ci(r.networkStatus),v=h&&h.getLastResult(),y=!(!v||v.networkStatus===r.networkStatus),_=e.returnPartialData||!l&&r.previousVariables||y&&e.notifyOnNetworkStatusChange||"cache-only"===f||"cache-and-network"===f;if(!m||_){var w=Ii(r.graphQLErrors),T=h&&h.options.errorPolicy||e.errorPolicy||"none";if("none"===T&&w||r.networkError)return o("error",new Ri({graphQLErrors:r.graphQLErrors,networkError:r.networkError}));try{var data=void 0,S=void 0;if(l)"no-cache"!==f&&"network-only"!==f&&n.setQuery(t,(function(){return{newData:null}})),data=l.result,S=!l.complete;else{var M=h&&h.getLastError(),x="none"!==T&&(M&&M.graphQLErrors)!==r.graphQLErrors;if(v&&v.data&&!x)data=v.data,S=!1;else{var k=n.dataStore.getCache().diff({query:d,variables:r.previousVariables||r.variables,returnPartialData:!0,optimistic:!0});data=k.result,S=!k.complete}}var E=S&&!(e.returnPartialData||"cache-only"===f),O={data:E?v&&v.data:data,loading:m,networkStatus:r.networkStatus,stale:E};"all"===T&&w&&(O.errors=r.graphQLErrors),o("next",O)}catch(t){o("error",new Ri({networkError:t}))}}}}}},t.prototype.transform=function(t){var e=this.transformCache;if(!e.has(t)){var r=this.dataStore.getCache(),n=r.transformDocument(t),o=Object(Ti.removeConnectionDirectiveFromDocument)(r.transformForLink(n)),l=this.localState.clientQuery(n),c=this.localState.serverQuery(o),h={document:n,hasClientExports:Object(Ti.hasClientExports)(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:l,serverQuery:c,defaultVars:Object(Ti.getDefaultValues)(Object(Ti.getOperationDefinition)(n))},d=function(t){t&&!e.has(t)&&e.set(t,h)};d(t),d(n),d(l),d(c)}return e.get(t)},t.prototype.getVariables=function(t,e){return yi(yi({},this.transform(t).defaultVars),e)},t.prototype.watchQuery=function(t,e){void 0===e&&(e=!0),Object(Ei.b)("standby"!==t.fetchPolicy,11),t.variables=this.getVariables(t.query,t.variables),void 0===t.notifyOnNetworkStatusChange&&(t.notifyOnNetworkStatusChange=!1);var r=yi({},t);return new Di({queryManager:this,options:r,shouldSubscribe:e})},t.prototype.query=function(t){var e=this;return Object(Ei.b)(t.query,12),Object(Ei.b)("Document"===t.query.kind,13),Object(Ei.b)(!t.returnPartialData,14),Object(Ei.b)(!t.pollInterval,15),new Promise((function(r,n){var o=e.watchQuery(t,!1);e.fetchQueryRejectFns.set("query:"+o.queryId,n),o.result().then(r,n).then((function(){return e.fetchQueryRejectFns.delete("query:"+o.queryId)}))}))},t.prototype.generateQueryId=function(){return String(this.idCounter++)},t.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},t.prototype.stopQueryInStoreNoBroadcast=function(t){this.stopPollingQuery(t),this.queryStore.stopQuery(t),this.invalidate(t)},t.prototype.addQueryListener=function(t,e){this.setQuery(t,(function(t){return t.listeners.add(e),{invalidated:!1}}))},t.prototype.updateQueryWatch=function(t,e,r){var n=this,o=this.getQuery(t).cancel;o&&o();return this.dataStore.getCache().watch({query:e,variables:r.variables,optimistic:!0,previousResult:function(){var e=null,r=n.getQuery(t).observableQuery;if(r){var o=r.getLastResult();o&&(e=o.data)}return e},callback:function(e){n.setQuery(t,(function(){return{invalidated:!0,newData:e}}))}})},t.prototype.addObservableQuery=function(t,e){this.setQuery(t,(function(){return{observableQuery:e}}))},t.prototype.removeObservableQuery=function(t){var e=this.getQuery(t).cancel;this.setQuery(t,(function(){return{observableQuery:null}})),e&&e()},t.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(t){t(new Ei.a(16))}));var t=[];
vendor: 5,055 bytes, line 2
2return this.queries.forEach((function(e,r){e.observableQuery&&t.push(r)})),this.queryStore.reset(t),this.mutationStore.reset(),this.dataStore.reset()},t.prototype.resetStore=function(){var t=this;return this.clearStore().then((function(){return t.reFetchObservableQueries()}))},t.prototype.reFetchObservableQueries=function(t){var e=this;void 0===t&&(t=!1);var r=[];return this.queries.forEach((function(n,o){var l=n.observableQuery;if(l){var c=l.options.fetchPolicy;l.resetLastResults(),"cache-only"===c||!t&&"standby"===c||r.push(l.refetch()),e.setQuery(o,(function(){return{newData:null}})),e.invalidate(o)}})),this.broadcastQueries(),Promise.all(r)},t.prototype.observeQuery=function(t,e,r){return this.addQueryListener(t,this.queryListenerForObserver(t,e,r)),this.fetchQuery(t,e)},t.prototype.startQuery=function(t,e,r){return this.addQueryListener(t,r),this.fetchQuery(t,e).catch((function(){})),t},t.prototype.startGraphQLSubscription=function(t){var e=this,r=t.query,n=t.fetchPolicy,o=t.variables;r=this.transform(r).document,o=this.getVariables(r,o);var l=function(t){return e.getObservableFromLink(r,{},t,!1).map((function(o){if(n&&"no-cache"===n||(e.dataStore.markSubscriptionResult(o,r,t),e.broadcastQueries()),Object(Ti.graphQLResultHasError)(o))throw new Ri({graphQLErrors:o.errors});return o}))};if(this.transform(r).hasClientExports){var c=this.localState.addExportedVariables(r,o).then(l);return new Ai((function(t){var sub=null;return c.then((function(e){return sub=e.subscribe(t)}),t.error),function(){return sub&&sub.unsubscribe()}}))}return l(o)},t.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},t.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},t.prototype.removeQuery=function(t){this.fetchQueryRejectFns.delete("query:"+t),this.fetchQueryRejectFns.delete("fetchRequest:"+t),this.getQuery(t).subscriptions.forEach((function(t){return t.unsubscribe()})),this.queries.delete(t)},t.prototype.getCurrentQueryResult=function(t,e){void 0===e&&(e=!0);var r=t.options,n=r.variables,o=r.query,l=r.fetchPolicy,c=r.returnPartialData,h=t.getLastResult(),d=this.getQuery(t.queryId).newData;if(d&&d.complete)return{data:d.result,partial:!1};if("no-cache"===l||"network-only"===l)return{data:void 0,partial:!1};var f=this.dataStore.getCache().diff({query:o,variables:n,previousResult:h?h.data:void 0,returnPartialData:!0,optimistic:e}),m=f.result,v=f.complete;return{data:v||c?m:void 0,partial:!v}},t.prototype.getQueryWithPreviousResult=function(t){var e;if("string"==typeof t){var r=this.getQuery(t).observableQuery;Object(Ei.b)(r,17),e=r}else e=t;var n=e.options,o=n.variables,l=n.query;return{previousResult:this.getCurrentQueryResult(e,!1).data,variables:o,document:l}},t.prototype.broadcastQueries=function(){var t=this;this.onBroadcast(),this.queries.forEach((function(e,r){e.invalidated&&e.listeners.forEach((function(n){n&&n(t.queryStore.get(r),e.newData)}))}))},t.prototype.getLocalState=function(){return this.localState},t.prototype.getObservableFromLink=function(t,e,r,n){var o,l=this;void 0===n&&(n=this.queryDeduplication);var c=this.transform(t).serverQuery;if(c){var h=this.inFlightLinkObservables,link=this.link,d={query:c,variables:r,operationName:Object(Ti.getOperationName)(c)||void 0,context:this.prepareContext(yi(yi({},e),{forceFetch:!n}))};if(e=d.context,n){var f=h.get(c)||new Map;h.set(c,f);var m=JSON.stringify(r);if(!(o=f.get(m))){f.set(m,o=qi(Object(xi.execute)(link,d)));var v=function(){f.delete(m),f.size||h.delete(c),y.unsubscribe()},y=o.subscribe({next:v,error:v,complete:v})}}else o=qi(Object(xi.execute)(link,d))}else o=Ai.of({data:{}}),e=this.prepareContext(e);var _=this.transform(t).clientQuery;return _&&(o=function(t,e){return new Ai((function(r){var n=r.next,o=r.error,l=r.complete,c=0,h=!1,d={next:function(t){++c,new Promise((function(r){r(e(t))})).then((function(t){--c,n&&n.call(r,t),h&&d.complete()}),(function(t){--c,o&&o.call(r,t)}))},error:function(t){o&&o.call(r,t)},complete:function(){h=!0,c||l&&l.call(r)}},sub=t.subscribe(d);return function(){return sub.unsubscribe()}}))}(o,(function(t){return l.localState.runResolvers({document:_,remoteResult:t,context:e,variables:r})}))),o},t.prototype.fetchRequest=function(t){var e,r,n=this,o=t.requestId,l=t.queryId,c=t.document,h=t.options,d=t.fetchMoreForQueryId,f=h.variables,m=h.errorPolicy,v=void 0===m?"none":m,y=h.fetchPolicy;return new Promise((function(t,m){var _=n.getObservableFromLink(c,h.context,f),w="fetchRequest:"+l;n.fetchQueryRejectFns.set(w,m);var T=function(){n.fetchQueryRejectFns.delete(w),n.setQuery(l,(function(t){t.subscriptions.delete(S)}))},S=_.map((function(t){if(o>=n.getQuery(l).lastRequestId&&(n.markQueryResult(l,t,h,d),n.queryStore.markQueryResult(l,t,d),n.invalidate(l),n.invalidate(d),n.broadcastQueries()),"none"===v&&Ii(t.errors))return m(new Ri({graphQLErrors:t.errors}));if("all"===v&&(r=t.errors),d||"no-cache"===y)e=t.data;else{var _=n.dataStore.getCache().diff({variables:f,query:c,optimistic:!1,returnPartialData:!0}
2),w=_.result;(_.complete||h.returnPartialData)&&(e=w)}})).subscribe({error:function(t){T(),m(t)},complete:function(){T(),t({data:e,errors:r,loading:!1,networkStatus:wi.ready,stale:!1})}});n.setQuery(l,(function(t){t.subscriptions.add(S)}))}))},t.prototype.getQuery=function(t){return this.queries.get(t)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},t.prototype.setQuery=function(t,e){var r=this.getQuery(t),n=yi(yi({},r),e(r));this.queries.set(t,n)},t.prototype.invalidate=function(t,e){void 0===e&&(e=!0),t&&this.setQuery(t,(function(){return{invalidated:e}}))},t.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.localState.prepareContext(t);return yi(yi({},e),{clientAwareness:this.clientAwareness})},t.prototype.checkInFlight=function(t){var e=this.queryStore.get(t);return e&&e.networkStatus!==wi.ready&&e.networkStatus!==wi.error},t.prototype.startPollingQuery=function(t,e,r){var n=this,o=t.pollInterval;if(Object(Ei.b)(o,18),!this.ssrMode){var l=this.pollingInfoByQueryId.get(e);l||this.pollingInfoByQueryId.set(e,l={}),l.interval=o,l.options=yi(yi({},t),{fetchPolicy:"network-only"});var c=function(){var t=n.pollingInfoByQueryId.get(e);t&&(n.checkInFlight(e)?h():n.fetchQuery(e,t.options,Pi.poll).then(h,h))},h=function(){var t=n.pollingInfoByQueryId.get(e);t&&(clearTimeout(t.timeout),t.timeout=setTimeout(c,t.interval))};r&&this.addQueryListener(e,r),h()}return e},t.prototype.stopPollingQuery=function(t){this.pollingInfoByQueryId.delete(t)},t}(),$i=function(){function t(t){this.cache=t}return t.prototype.getCache=function(){return this.cache},t.prototype.markQueryResult=function(t,e,r,n,o){void 0===o&&(o=!1);var l=!Object(Ti.graphQLResultHasError)(t);o&&Object(Ti.graphQLResultHasError)(t)&&t.data&&(l=!0),!n&&l&&this.cache.write({result:t.data,dataId:"ROOT_QUERY",query:e,variables:r})},t.prototype.markSubscriptionResult=function(t,e,r){Object(Ti.graphQLResultHasError)(t)||this.cache.write({result:t.data,dataId:"ROOT_SUBSCRIPTION",query:e,variables:r})},t.prototype.markMutationInit=function(t){var e,r=this;t.optimisticResponse&&(e="function"==typeof t.optimisticResponse?t.optimisticResponse(t.variables):t.optimisticResponse,this.cache.recordOptimisticTransaction((function(n){var o=r.cache;r.cache=n;try{r.markMutationResult({mutationId:t.mutationId,result:{data:e},document:t.document,variables:t.variables,updateQueries:t.updateQueries,update:t.update})}finally{r.cache=o}}),t.mutationId))},t.prototype.markMutationResult=function(t){var e=this;if(!Object(Ti.graphQLResultHasError)(t.result)){var r=[{result:t.result.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}],n=t.updateQueries;n&&Object.keys(n).forEach((function(o){var l=n[o],c=l.query,h=l.updater,d=e.cache.diff({query:c.document,variables:c.variables,returnPartialData:!0,optimistic:!1}),f=d.result;if(d.complete){var m=Object(Ti.tryFunctionOrLogError)((function(){return h(f,{mutationResult:t.result,queryName:Object(Ti.getOperationName)(c.document)||void 0,queryVariables:c.variables})}));m&&r.push({result:m,dataId:"ROOT_QUERY",query:c.document,variables:c.variables})}})),this.cache.performTransaction((function(e){r.forEach((function(t){return e.write(t)}));var n=t.update;n&&Object(Ti.tryFunctionOrLogError)((function(){return n(e,t.result)}))}))}},t.prototype.markMutationComplete=function(t){var e=t.mutationId;t.optimisticResponse&&this.cache.removeOptimistic(e)},t.prototype.markUpdateQueryResult=function(t,e,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:e,query:t})},t.prototype.reset=function(){return this.cache.reset()},t}(),Hi=function(){function t(t){var e=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=t.cache,n=t.ssrMode,o=void 0!==n&&n,l=t.ssrForceFetchDelay,c=void 0===l?0:l,h=t.connectToDevTools,d=t.queryDeduplication,f=void 0===d||d,m=t.defaultOptions,v=t.assumeImmutableResults,y=void 0!==v&&v,_=t.resolvers,w=t.typeDefs,T=t.fragmentMatcher,S=t.name,M=t.version,link=t.link;if(!link&&_&&(link=xi.ApolloLink.empty()),!link||!r)throw new Ei.a(4);this.link=link,this.cache=r,this.store=new $i(r),this.disableNetworkFetches=o||c>0,this.queryDeduplication=f,this.defaultOptions=m||{},this.typeDefs=w,c&&setTimeout((function(){return e.disableNetworkFetches=!1}),c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==h&&(h&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new Ui({cac
2he:r,client:this,resolvers:_,fragmentMatcher:T}),this.queryManager=new Vi({link:this.link,store:this.store,queryDeduplication:f,ssrMode:o,clientAwareness:{name:S,version:M},localState:this.localState,assumeImmutableResults:y,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.queryStore.getStore(),mutations:e.queryManager.mutationStore.getStore()},dataWithOptimisticResults:e.cache.extract(!0)})}})}return t.prototype.stop=function(){this.queryManager.stop()},t.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=yi(yi({},this.defaultOptions.watchQuery),t)),!this.disableNetworkFetches||"network-only"!==t.fetchPolicy&&"cache-and-network"!==t.fetchPolicy||(t=yi(yi({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},t.prototype.query=function(t){return this.defaultOptions.query&&(t=yi(yi({},this.defaultOptions.query),t)),Object(Ei.b)("cache-and-network"!==t.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===t.fetchPolicy&&(t=yi(yi({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},t.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=yi(yi({},this.defaultOptions.mutate),t)),this.queryManager.mutate(t)},t.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},t.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.cache.readQuery(t,e)},t.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.cache.readFragment(t,e)},t.prototype.writeQuery=function(t){var e=this.cache.writeQuery(t);return this.queryManager.broadcastQueries(),e},t.prototype.writeFragment=function(t){var e=this.cache.writeFragment(t);return this.queryManager.broadcastQueries(),e},t.prototype.writeData=function(t){var e=this.cache.writeData(t);return this.queryManager.broadcastQueries(),e},t.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},t.prototype.__requestRaw=function(t){return Object(xi.execute)(this.link,t)},t.prototype.initQueryManager=function(){return this.queryManager},t.prototype.resetStore=function(){var t=this;return Promise.resolve().then((function(){return t.queryManager.clearStore()})).then((function(){return Promise.all(t.resetStoreCallbacks.map((function(t){return t()})))})).then((function(){return t.reFetchObservableQueries()}))},t.prototype.clearStore=function(){var t=this;return Promise.resolve().then((function(){return t.queryManager.clearStore()})).then((function(){return Promise.all(t.clearStoreCallbacks.map((function(t){return t()})))}))},t.prototype.onResetStore=function(t){var e=this;return this.resetStoreCallbacks.push(t),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter((function(e){return e!==t}))}},t.prototype.onClearStore=function(t){var e=this;return this.clearStoreCallbacks.push(t),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter((function(e){return e!==t}))}},t.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},t.prototype.extract=function(t){return this.cache.extract(t)},t.prototype.restore=function(t){return this.cache.restore(t)},t.prototype.addResolvers=function(t){this.localState.addResolvers(t)},t.prototype.setResolvers=function(t){this.localState.setResolvers(t)},t.prototype.getResolvers=function(){return this.localState.getResolvers()},t.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},t}(),Wi=r(463),Gi=r(124),Qi=r(177),Ki=r(286),Xi=r.n(Ki),Yi=function(t,b){return Yi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},Yi(t,b)};var Zi=function(t){function e(e){var r=t.call(this)||this;return e instanceof Qi.SubscriptionClient?r.subscriptionClient=e:r.subscriptionClient=new Qi.SubscriptionClient(e.uri,e.options,e.webSocketImpl),r}return function(t,b){function e(){this.constructor=t}Yi(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}(e,t),e.prototype.request=function(t){return this.subscriptionClient.request(t)},e}(xi.ApolloLink),Ji=r(172),tn=r(274),en={generateHash:function(t){return tn().update(Object(Ji.print)(t)).digest("hex")},disable:function(t){var e=t.graphQLErrors,r=t.operation;if(e&&e.some((function(t){return"PersistedQueryNotSupported"===t.message})))return!0;var n=r.getContext().response;return!(!n||!n.status||400!==n.status&&500!==n.status)},useGETForHashedQueries:!1};function rn(t){return"OperationDefinition"===t.kind&&"mutation"===t.operation}var nn=Object.prototype.hasOwnProperty,on="__createPersistedQueryLink_hashes",an="function"==typeof Symbol?Symbol.for(on):on,sn=0,un=function(t){void 0===t&&(t={});var e=Object.assign({},en,t),r=e.generateHash,n=e.disable,o=e.useGETForHashedQueries,l=!0,c="forLink"+sn++;function h(t){if(!t||"object"!=typeof t)return r(t);nn.call(t,an)||Object.defineProperty(t,an,{value:Object.create(null),enumerable:!1});var e=t[an];return nn.call(e,c)?e[c]:e[c]=r(t)}return new xi.ApolloLink((function(t,e){if(!e)throw new Error("PersistedQueryLink cannot be the last link in the chain.");var r,c=t.query;if(l)try{t.extensions.persistedQuery={version:1,sha256Hash:h(c)}}catch(t){r=t}return new Mi.a((function(c){if(!r){var h,d,f=!1,m=!1,v=function(r,o){var c=r.response,v=r.networkError;if(!f&&(c&&c.errors||v)&&(f=!0,l=!n({response:c,networkError:v,operation:t,graphQLErrors:c&&c.errors||void 0}),c&&c.errors&&c.errors.some((function(t){return"PersistedQueryNotFound"===t.message}))||!l))return h&&h.unsubscribe(),t.setContext({http:{includeQuery:!0,includeExtensions:l}}),m&&t.setContext({fetchOptions:d}),void(h=e(t).subscribe(y));o()},y={next:function(t){v({response:t},(function(){return c.next(t)}))},error:function(t){v({networkError:t},(function(){return c.error(t)}))},complete:c.complete.bind(c)};return t.setContext({http:{includeQuery:!l,includeExtensions:l}}),o&&l&&function(t){return!t.query.definitions.some(rn)}(t)&&(t.setContext((function(t){var e=t.fetchOptions,r=void 0===e?{}:e;return d=r,{fetchOptions:Object.assign({},r,{method:"GET"})}})),m=!0),h=e(t).subscribe(y),function(){h&&h.unsubscribe()}}c.error(r)}))}))};function ln(t){return new xi.ApolloLink((function(e,r){var n=function(s,t){var e={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&t.indexOf(p)<0&&(e[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)t.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(e[p[i]]=s[p[i]])}return e}(e,[]);return new Mi.a((function(o){var l;return Promise.resolve(n).then((function(r){return t(r,e.getContext())})).then(e.setContext).then((function(){l=r(e).subscribe({next:o.next.bind(o),error:o.error.bind(o),c
2omplete:o.complete.bind(o)})})).catch(o.error.bind(o)),function(){l&&l.unsubscribe()}}))}))}var cn=r(462),hn={test:function(t){return"client"===t.name.value},remove:!0},dn=new Map;var fn=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])};return function(e,b){function r(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(r.prototype=b.prototype,new r)}}(),pn=cn.graphql,mn=function(t){void 0===t&&(t={resolvers:{},defaults:{}});var e=t.defaults,r=t.cache,n=t.typeDefs,o=t.fragmentMatcher;return r&&e&&r.writeData({data:e}),new(function(l){function c(){return null!==l&&l.apply(this,arguments)||this}return fn(c,l),c.prototype.writeDefaults=function(){r&&e&&r.writeData({data:e})},c.prototype.request=function(r,l){if(void 0===l&&(l=function(){return Mi.a.of({data:{}})}),n){var c=function(t){return(Array.isArray(t)?t:[t]).map((function(t){return"string"==typeof t?t:Object(Ji.print)(t)})).map((function(t){return t.trim()})).join("\n")}(n);r.setContext((function(t){var e=t.schemas;return{schemas:(void 0===e?[]:e).concat([{definition:c,directives:"directive @client on FIELD"}])}}))}if(!Object(Ti.hasDirectives)(["client"],r.query))return l(r);var h,d="function"==typeof t.resolvers?t.resolvers():t.resolvers,f=function(t){var e=dn.get(t);if(e)return e;Object(Ti.checkDocument)(t);var r=Object(Ti.removeDirectivesFromDocument)([hn],t);return dn.set(t,r),r}(r.query),m=r.query,v=(h=(Object(Ti.getMainDefinition)(m)||{}).operation).charAt(0).toUpperCase()+h.slice(1)||"Query",y=function(t,r,n,o,l){void 0===r&&(r={});var c=l.resultKey,h=r[c],f=r[t],m=c!==t;if(void 0!==h||void 0!==f)return h||f;var y=d[r.__typename||v];if(y){var _=y[t];if(_)return _(r,n,o,l)}return(m?h:f)||(e||{})[t]};f&&(r.query=f);var _=f&&l?l(r):Mi.a.of({data:{}});return new Mi.a((function(t){var e=!1,n=!1;_.subscribe({next:function(l){var data=l.data,c=l.errors,h=t.error.bind(t),d=r.getContext();n=!0,pn(y,m,data,d,r.variables,{fragmentMatcher:o}).then((function(r){t.next({data:r,errors:c}),e&&t.complete(),n=!1})).catch(h)},error:t.error.bind(t),complete:function(){n||t.complete(),e=!0}})}))},c}(xi.ApolloLink))};function gn(t){const e=Object.assign({},t.operations);t.close(!0),t.connect(),Object.keys(e).forEach((r=>{t.sendMessage(r,Xi.a.GQL_START,e[r].options)}))}function vn(t){if("undefined"!=typeof window){const e=window.localStorage.getItem(t);return e?`Bearer ${e}`:""}}var yn=r(123);function bn(t,e){void 0===e&&(e={});var r=function(t){if(t&&"j"===t[0]&&":"===t[1])return t.substr(2);return t}(t);if(function(t,e){return void 0===e&&(e=!t||"{"!==t[0]&&"["!==t[0]&&'"'!==t[0]),!e}(r,e.doNotParse))try{return JSON.parse(r)}catch(t){}return t}var _n=function(){return _n=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},_n.apply(this,arguments)},wn=function(){function t(t,e){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(t,e){return"string"==typeof t?yn.parse(t,e):"object"==typeof t&&null!==t?t:{}}(t,e),new Promise((function(){r.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return t.prototype._updateBrowserValues=function(t){this.HAS_DOCUMENT_COOKIE&&(this.cookies=yn.parse(document.cookie,t))},t.prototype._emitChange=function(t){for(var i=0;i<this.changeListeners.length;++i)this.changeListeners[i](t)},t.prototype.get=function(t,e,r){return void 0===e&&(e={}),this._updateBrowserValues(r),bn(this.cookies[t],e)},t.prototype.getAll=function(t,e){void 0===t&&(t={}),this._updateBrowserValues(e);var r={};for(var n in this.cookies)r[n]=bn(this.cookies[n],t);return r},t.prototype.set=function(t,e,r){var n;"object"==typeof e&&(e=JSON.stringify(e)),this.cookies=_n(_n({},this.cookies),((n={})[t]=e,n)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=yn.serialize(t,e,r)),this._emitChange({name:t,value:e,options:r})},t.prototype.remove=function(t,e){var r=e=_n(_n({},e),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
2);this.cookies=_n({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=yn.serialize(t,"",r)),this._emitChange({name:t,value:void 0,options:e})},t.prototype.addChangeListener=function(t){this.changeListeners.push(t)},t.prototype.removeChangeListener=function(t){var e=this.changeListeners.indexOf(t);e>=0&&this.changeListeners.splice(e,1)},t}(),Tn=wn;function Sn(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}c.default.use(mi.a);var Mn=function(t,e){var n,c={clients:{}},h=t.app,d=(t.beforeNuxtRender,t.req),f="apollo-token",m={expires:7,path:"/",secure:!1},v=new Tn(d&&d.headers.cookie),y=f;"default"in(n=r(721))&&(n=n.default);(n=n(t)).validateToken||(n.validateToken=function(){return!0});var _=n.cache?n.cache:new Gi.a(n.inMemoryCacheOptions?n.inMemoryCacheOptions:void 0);_.restore(window.__NUXT__&&window.__NUXT__.apollo?window.__NUXT__.apollo.dato:null),n.getAuth||(n.getAuth=function(){var t=v.get(y);return t&&n.validateToken(t)?"Bearer "+t:""}),n.browserHttpEndpoint&&(n.httpEndpoint=n.browserHttpEndpoint),n.ssr=!1,n.cache=_,n.tokenName=y;var w=function({clientId:t="defaultClient",httpEndpoint:e,wsEndpoint:r=null,tokenName:n="apollo-token",persisting:o=!1,ssr:l=!1,websocketsOnly:c=!1,link:link=null,preAuthLinks:h=[],defaultHttpLink:d=!0,httpLinkOptions:f={},cache:m=null,inMemoryCacheOptions:v={},apollo:y={},clientState:_=null,getAuth:w=vn,typeDefs:T,resolvers:S,onCacheInit:M}){let x,k,E;const O=c&&!l&&r;if(m||(m=new Gi.a(v)),!O){const t=Object(Wi.createUploadLink)({uri:e,...f});link?d&&(link=Object(xi.from)([link,t])):link=t,k=ln((async(t,{headers:e})=>{const r=await w(n);return{headers:{...e,...r?{Authorization:r}:{}}}})),link=k.concat(link),h.length&&(link=Object(xi.from)(h).concat(k))}if(!l){if("undefined"!=typeof window){const e=window.__APOLLO_STATE__;e&&e[t]&&m.restore(e[t])}if(!O){let t={};"object"==typeof o&&null!=o&&(t=o,o=!0),!0===o&&(link=un(t).concat(link))}if(r){x=new Qi.SubscriptionClient(r,{reconnect:!0,connectionParams:()=>{const t=w(n);return t?{Authorization:t,headers:{Authorization:t}}:{}}});const t=new Zi(x);link=O?link?link.concat(t):t:Object(xi.split)((({query:t})=>{const{kind:e,operation:r}=Object(Ti.getMainDefinition)(t);return"OperationDefinition"===e&&"subscription"===r}),t,link)}}_&&(console.warn("clientState is deprecated, see https://vue-cli-plugin-apollo.netlify.com/guide/client-state.html"),E=mn({cache:m,..._}),link=Object(xi.from)([E,link]));const C=new Hi({link:link,cache:m,...l?{ssrMode:!0}:{ssrForceFetchDelay:100,connectToDevTools:!1},typeDefs:T,resolvers:S,...y});return E&&C.onResetStore(E.writeDefaults),M&&(M(m),C.onResetStore((()=>M(m)))),{apolloClient:C,wsClient:x,stateLink:E}}(function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Sn(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Sn(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},n));w.apolloClient.wsClient=w.wsClient,c.clients.dato=w.apolloClient;var T,S,M=Object.assign(c,{errorHandler:function(e){return r(722).default(e,t)}}),x=new mi.a(M);h.apolloProvider=x,e("apolloHelpers",{onLogin:(S=Object(o.a)(regeneratorRuntime.mark((function t(e){var r,n,o,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=l.length>1&&void 0!==l[1]?l[1]:x.defaultClient,o=l.length>3&&void 0!==l[3]&&l[3],"number"==typeof(n=l.length>2&&void 0!==l[2]?l[2]:m)&&(n={expires:n}),"number"==typeof n.expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),e?v.set(f,e,n):v.remove(f,n),r.wsClient&&gn(r.wsClient),o){t.next=16;break}return t.prev=8,t.next=11,r.resetStore();case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(8),console.log("%cError on cache reset (setToken)","color: orange;",t.t0.message);case 16:case"end":return t.stop()}}),t,null,[[8,13]])}))),function(t){return S.apply(this,arguments)}),onLogout:(T=Object(o.a)(regeneratorRuntime.mark((function t(){var e,r,n=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=n.length>0&&void 0!==n[0]?n[0]:x.defaultClient,r=n.length>1&&void 0!==n[1]&&n[1],v.remove(f,m),e.wsClient&&gn(e.wsClient),r){t.next=13;break}return t.prev=5,t.next=8,e.resetStore();case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(5),console.log("%cError on cache reset (logout)","color: orange;",t.t0.message);case 13:case"end":return t.stop()}}),t,null,[[5,10]])}))),function(){return T.apply(this,arguments)}),getToken:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return v.get(t)}})},xn=r(181),kn=r.n(xn),En=r(17);function On(t){return null!==t&&"object"===Object(En.a)(t)}function Cn(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",n=arguments.length>3?arguments[3]:void 0;if(!On(e))return Cn(t,{},r,n);var o=Object.assign({},e);for(var l in t)if("__proto__"!==l&&"constructor"!==l){var c=t[l];null!=c&&(n&&n(o,l,c,r)||(Array.isArray(c)&&Array.isArray(o[l])?o[l]=o[l].concat(c):On(c)&&On(o[l])?o[l]=Cn(c,o[l],(r?"".concat(r,"."):"")+l.toString(),n):o[l]=c))}return o}function An(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce((function(p,e){return Cn(p,e,"",t)}),{})}}var In=An();function Pn(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function Rn(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?Pn(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Pn(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function Dn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Ln(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ln(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function Ln(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}In.fn=An((function(t,e,r,n){if(void 0!==t[e]&&"function"==typeof r)return t[e]=r(t[e]),!0})),In.arrayFn=An((function(t,e,r,n){if(Array.isArray(t[e])&&"function"==typeof r)return t[e]=r(t[e]),!0})),In.extend=An;for(var Nn={setBaseURL:function(t){this.defaults.baseURL=t},setHeader:function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",o=Dn(Array.isArray(n)?n:[n]);try{for(o.s();!(r=o.n()).done;){var l=r.value;e?this.defaults.headers[l][t]=e:delete this.defaults.headers[l][t]}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",n=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",n,r)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return Un(In(t,this.defaults))}},jn=function(){var t=Fn[Bn];Nn["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},Bn=0,Fn=["request","delete","get","head","options","post","put","patch"];Bn<Fn.length;Bn++)jn();var Un=function(t){var e=kn.a.create(t);return e.CancelToken=kn.a.CancelToken,e.isCancel=kn.a.isCancel,function(t){for(var e in Nn)t[e]=Nn[e].bind(t)}(e),e.onRequest((function(t){t.headers=Rn(Rn({},e.defaults.headers.common),t.headers)})),qn(e),e},qn=function(t){var e={finish:function(){},start:function(){},fail:function(){},set:function(){}},r=function(){var t="undefined"!=typeof window&&window.$nuxt;return t&&t.$loading&&t.$loading.set?t.$loading:e},n=0;t.onRequest((function(t){t&&!1===t.progress||n++})),t.onResponse((function(t){t&&t.config&&!1===t.config.progress||--n<=0&&(n=0,r().finish())})),t.onError((function(t){t&&t.config&&!1===t.config.progress||(n--,kn.a.isCancel(t)?n<=0&&(n=0,r().finish()):(r().fail(),r().finish()))}));var o=function(t){if(n&&t.total){var progress=100*t.loaded/(t.total*n);r().set(Math.min(100,progress))}};t.defaults.onUploadProgress=o,t.defaults.onDownloadProgress=o},zn=function(t,e){var r=t.$config&&t.$config.axios||{},n=r.browserBaseURL||r.browserBaseUrl||r.baseURL||r.baseUrl||"http://localhost:3000/";var o=Un({baseURL:n,headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}});t.$axios=o,e("axios",o)},Vn=(r(249),r(113)),$n={COMPONENT_OPTIONS_KEY:"nuxtI18n",STRATEGIES:{PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},REDIRECT_ON_OPTIONS:{ALL:"all",ROOT:"root",NO_PREFIX:"no prefix"}},Hn={isUniversalMode:!0,trailingSlash:!0},Wn={vueI18n:{fallbackLocale:"it",messages:{it:{uri:{},form:{"forgot-password":"Password dimenticata?","submit-forgot":"Invia","submit-register":"Registra account","submit-save-password":"Salva password","submit-update":"Aggiorna","submit-order":"Vai all'ordine",login:"Login",email:"Email",password:"Password",firstName:"Nome",lastName:"Cognome",company:"Azienda",category:{options:{assistenza:"Assistenza generica","info-prodotti":"Informazioni sui prodotti",dealer:"Diventare agente / rivenditore / distributore",press:"Informazioni per la stampa"},placeholder:"Seleziona un'opzione",label:"Tipologia di richiesta"},"password-confirm":"Conferma password","password-reveal":"Visualizza password","password-hide":"Nascondi password","order-id":"Inserisci il codice ordine","contact-options":{label:"Voglio essere ricontattato",mail:"Tramite e-mail",phone:"Tramite telefono"}
2,telephone:"Telefono",newsletter:"Tienimi aggiornato su news ed offerte esclusive",privacy:"Ai sensi e per gli effetti degli artt. 7, 12, 13 ss. del Reg. UE 2016/679 - GDPR: Acconsento al trattamento dei miei dati personali come da informativa sulla privacy e a ricevere via email o telefono le informazioni richieste tramite questo modulo",message:"Scrivi il tuo messaggio",messageLabel:"Messaggio","submit-request":"Invia messaggio","submit-request-general":"Invia richiesta","login-cta":"Accedi","text-signup":"Non sei ancora registrato?","label-signup":"Registrati adesso","postinApiId-Repad":"02f762c7-995f-45e8-b787-7ea9ee50d818",result_success_title:"Richiesta inviata",result_success_text:"Abbiamo ricevuto la tua richiesta,<br> ti contatteremo a breve all'indirizzo indicato.",result_success_label_link:"Vai alla home",result_error_title:"Errore",result_error_text:"Qualcosa è andato storto,<br /> prova a compilare nuovamente il modulo.",result_error_label_link:"Torna al modulo","postinApiId-contatti":"53c57233-c0a2-49a5-8e0a-0d452e87630d","postinApiId-kit":"c4349b87-4bd2-42f7-8e0f-936cdef43a7c"},errors:{"forgot-password":"Password dimenticata?","submit-forgot":"Invia",login:"Login",email:"Email",password:"Password","error-title":"Errore","error-404":"Pagina non trovata","error-500":"Si è verificato un errore","back-cta":"Torna alla home"},typology:{vista:"Vista Sport",sole:"Sole Sport",protettivi:"Protettivi Sport",brand:"Brands",accessori:"Accessori"},listing:{block:{moreColors:"colore/i",badgeNew:"New"},filters:{title:"Filtra e ordina",resetAll:"Cancella tutto",tagsTitle:"Filtri applicati",orderByLabel:"Ordina per",filters:"Filtri",apply:"Applica",cancel:"Annulla",forma:"Forma montatura"},tags:{"PRICE-ASC":"Prezzo più alto","PRICE-DESC":"Prezzo più basso"},pagination:{nextLabel:"Next",prevLabel:"Prev"},"link-vista":"Occhiali da vista","link-sole":"Occhiali da sole","link-protettivi":"Occhiali protettivi",chooseBy:"Scegli per","no-match":"Al momento non sono presenti prodotti con i parametri cercati.","serie-heading":"Le serie","all-glasses":"Tutti gli occhiali"},footer:{features:{glasses:"Occhiali per ogni <br> tipo di esigenza visiva",chosen:"Scelti per te <br> da esperti della vista",advice:"Consulenza con <br> ottico specializzato",return:"Spedizione gratuita <br>sopra €29"},follow:"Seguici",marquee:{text:"Iscriviti alla newsletter"},menu:{fondelliMenu:"Fondelli",servizi:"Servizi per Aziende",tecnologie:"Tecnologie",percheDrpad:"Perché Dr Pad",azienda:"Azienda"},policies:{blog:"Blog/Notizie",supporto:"Supporto",testKit:"Dr Pad Test Kit",contatti:"Contatti"},fondelli:{ore:{titolo:"Fondelli 8 ore",text:"Vivi la tua giornata in sella con il massimo comfort. Che tu stia affrontando un Gran Fondo, esplorando nuove strade o impegnandoti in una gara di resistenza, i nostri fondelli 8 ore sono il compagno ideale. Progettati per resistere alle sfide di ogni tipo di terreno, questi fondelli sono robusti, affidabili e pronti ad accompagnarti in ogni avventura. Il nostro fondello 8 ore è progettato per offrire un supporto ottimale per le lunghe distanze. Frutto dell’esperienza nei grandi giri ciclistici professionistici e grazie ai materiali di alta qualità e un design ergonomico, assicura prestazioni senza limiti."},distanze:{titolo:"Fondelli lunghe distanze",text:"Nel mondo del ciclismo, le lunghe distanze non sono solo una sfida fisica, ma anche una prova di resistenza mentale e di attrezzatura. Per supportare i ciclisti in queste avventure epiche, DrPad ha realizzato una gamma di fondelli progettati per le lunghe distanze, una fusione perfetta di tecnologia, comfort e durabilità.  Utilizziamo materiali all’avanguardia e tecniche di costruzione innovative per creare fondelli che riducano l’affaticamento e migliorino la resistenza. La schiuma a densità variabile assorbe gli shock e distribuisce la pressione in modo uniforme, permettendo ai ciclisti di concentrarsi sulla strada e non sul disagio."},biciDonna:{titolo:"Fondelli donna",text:"Progettati esclusivamente per l’anatomia femminile, non sono solo un accessorio, ma un elemento cruciale che esalta l’esperienza di ogni ciclista, combinando funzionalità e comfort su misura. La nostra gamma è stata creata pensando alle diverse esigenze delle cicliste, dai tour lunghi e impegnativi alle brevi uscite quotidiane. Ogni modello è progettato per adattarsi a diversi stili e durate di pedalata, assicurando sempre il massimo in termini di protezione e comodità. Vivi le tue prestazioni senza compromessi e goditi ogni pedalata assieme a Dr Pad."},biciUomo:{titolo:"Fondelli uomo",text:"I nostri fondelli da ciclismo rispettano l’anatomia maschile, offrendo il massimo comfort. La schiuma ad alta densità si adatta dinamicamente alla forma del corpo, offrendo supporto e riducendo la pressione nei punti critici anche grazie agli inserti in Gel, mentre il tessuto traspirante assicura una ventilazione ottimale, mantenendo la pelle asciutta e fresca anche nelle giornate più calde. I nostri fondelli per uomo sono perfetti per vivere la tua prestazione senza compromessi. Scopri la differenza con Dr Pad e goditi ogni pedalata."},professionale:{titolo:"Fondelli professionali",text:"Nel mondo del ciclismo professionistico, ogni dettaglio può fare la differenza tra la vittoria e il secondo posto. Con questa consapevolezza, DrPad è orgogliosa di presentare la gamma elite di fondelli professionali progettati da e per i professionisti, un connubio di innovazione, prestazioni e comfort senza precedenti. I nostri fondelli sono progettati per essere incredibilmente leggeri senza sacrificare il supporto. L’attenzione all’aerodinamica si traduce in un design che riduce la resistenza all’aria, consentend
2o ai ciclisti di tagliare il vento con maggiore efficienza. Scopri l’eccellenza dell’ergonomia DrPad."}},corporate:"Via dell’Industria, 31<br>31041 Cornuda - TV - (Italia)<br>Tel. +39 0423 622069",pIva:"Partita Iva: 03457850265",registro:"Registro delle Imprese TV - 273870",crediti:"Crediti"},navigation:{large:{langswitcher:"Cambia lingua",catalogue:"Fondelli",tecnologia:"Tecnologia",tecnologie:"Tecnologie",services:"Servizi",company:"Azienda",whydrpad:"Perché Dr Pad",contacts:"Contatti",pads:"Fondelli Dr Pad",sport:"Sport",comfort:"Comfort",portanza:"Portanza",distanza:"Distanza"},small:{toggle:"Menu",lang:{it:"Italiano",en:"English"}}},product:{attributes:{"colore-lenti":"Colore lenti","taglia-montatura":"Taglia","gradazione-accessori":"Gradazione","gradazione-lente-singola":"Gradazione","gradazione-lente-sx":"Gradazione occhio sx","gradazione-lente-dx":"Gradazione occhio dx","gradazione-lente-price-1":"La gradazione di una lente ha un costo di +{price}","gradazione-lente-price-2":"La gradazione di entrambe le lenti ha un costo di +{price}","colore-naselli":"Colore naselli","colore-terminali":"Colore terminali","incisione-laser":"Incisione laser","colore-mascherina":"Colore Mascherina","lunetta-per-presbiopia":"Lunetta presbiopia (sx e dx)"},guidataglie:"Trova la tua taglia",frameColor:{label:"Colore montatura"},quantity:{label:"Quantità"},addToCart:{label:"Aggiungi al carrello"},metaSelect:{"gradazione-lente-singola":"Nessuna gradazione","gradazione-lente-sx":"Nessuna gradazione","gradazione-lente-dx":"Nessuna gradazione","lunetta-per-presbiopia":"Nessuna gradazione","colore-naselli":"Scegli il colore","colore-terminali":"Scegli il colore","colore-mascherina":"Scegli il colore"},"incisione-laser":{label:"Personalizza con incisione",placeholder:"Max 10 lettere"},actions:{variantMissing:"Nessuna variante selezionata",productAdded:"Prodotto aggiunto al tuo carrello",productRemoved:"Prodotto rimosso dal tuo carrello","variant-taglia-montatura-noexist":"Questa configurazione non è disponibile nella taglia selezionata","taglia-montatura-missing":"Per mettere il prodotto in carrello, ricorda di selezionare una taglia","taglia-accessori-missing":"Per mettere il prodotto in carrello, ricorda di selezionare una taglia","colore-accessori-missing":"Per mettere il prodotto in carrello, ricorda di selezionare un colore","colore-naselli-missing":"Per mettere il prodotto in carrello, ricorda di selezionare un colore per i naselli","colore-terminali-missing":"Per mettere il prodotto in carrello, ricorda di selezionare un colore per i terminali","lunetta-per-presbiopia-missing":"Per mettere il prodotto in carrello, seleziona il grado di presbiopia degli occhiali","incisione-laser-missing":"Per mettere il prodotto in carrello, inserisci un testo personalizzato","gradazione-lente-singola-missing":"Per mettere il prodotto in carrello, seleziona una gradazione","gradazione-lente-sx-missing":"Per mettere il prodotto in carrello, seleziona una gradazione per la lente sinistra","gradazione-lente-dx-missing":"Per mettere il prodotto in carrello, seleziona una gradazione per la lente destra","taglia-montatura-missing-error":"Nessuna taglia selezionata","taglia-accessori-missing-error":"Nessuna taglia selezionata","colore-naselli-missing-error":"Seleziona un colore per i naselli","colore-accessori-missing-error":"Seleziona un colore","colore-terminali-missing-error":"Seleziona un colore per i terminali","lunetta-per-presbiopia-missing-error":"Scegli il grado di presbiopia per i tuoi occhiali","incisione-laser-missing-error":"Inserisci un testo personalizzato","gradazione-lente-singola-missing-error":"Seleziona una gradazione","gradazione-lente-sx-missing-error":"Seleziona una gradazione per la lente sinistra","gradazione-lente-dx-missing-error":"Seleziona una gradazione per la lente destra"},relatedProducts:{label:"Potrebbero interessarti anche"},"pop-up":{"colore-naselli":{text:"Testo"},"colore-terminali":{text:"Terminali in Thermolast-K®, materiale che assicura una calzata ultra confortevole e sempre salda, anche con il caldo o l’umidità del sudore della pelle. Scegli tra le colorazioni disponibili per personalizzare ogni dettaglio dei tuoi occhiali da moto."}}
2,dataSheetLabel:{densita:"Densità",spessore:"Spessore",livelli:"Livelli",dimensioni:"Dimensioni",tessuti:"Tessuti",schiuma:"Schiuma",downloadPDF:"Scarica scheda tecnica"}},cart:{"title-seo":"Il tuo carrello",headerTitle:"Carrello",emptyCart:"Nel tuo carrello non sono presenti articoli","sub-text":"Accedi per vedere se hai articoli salvati. Oppure continua gli acquisti.","empty-cart-login":"Accedi","empty-cart-buy":"Continua con gli acquisti",summaryTitle:"Riepilogo ordine",checkoutLable:"Prosegui al checkout",deleteItem:"Elimina",discount:"Sconto",giftCard:"GiftCard",subtotal:"Subtotale",tax:"Incluse imposte per un ammontare di {amount}",shipping:"Spedizione","not-selected-shipping":"Il costo sarà calcolato in base alla destinazione scelta",total:"Totale",unitPrice:"Prezzo",cta:{login:"Accedi al tuo account","login-text":"per velocizzare l'acquisto",register:"Crea un nuovo account",guest:"Continua senza account","go-checkout":"Prosegui alla cassa"},help:{title:"Serve aiuto?",subtitle:"Non preoccuparti ti diamo una mano noi.",tel:"+39 0444 601925",email:"info"}},minicart:{"product-qty":"Nessun prodotto in carrello | {count} prodotto in carrello | {count} prodotti in carrello",account:"Account","cart-link":"Vedi tutti i {count} prodotti",login_conjunction:" o ",login_label:"Accedi",register_label:"Registrati",checkout:"Procedi"},services:{login:{"title-seo":"Accedi",title:"Login",subtitle:"Inserisci le tue credenziali per accedere.",success:"Utente loggato con successo.",alert:"Testo"},forgot:{"title-seo":"Password dimenticata",title:"Password dimenticata",subtitle:"Inserisci la tua mail e ti invieremo le indicazioni per crearne una nuova.","form-success":"Richiesta inviata correttamente. \nRicorda, se non vedi l’email entro 1 minuto, controlla nella casella Posta indesiderata (Spam)"},updatePassword:{"title-seo":"Scegli la tua nuova password",title:"Scegli la tua password",subtitle:"Scrivi la nuova password per accedere al tuo account."},registration:{"title-seo":"Crea il tuo account",title:"Crea un account",subtitle:"Registrati per rendere i tuoi prossimi acqusiti più veloci.","form-success":"Account creato correttamente. \nRicorda, se non vedi l’email entro 1 minuto, controlla nella casella Posta indesiderata (Spam)",registered:"Sei già registrato?",login:"Accedi"},confirm:{"title-seo":"Account creato con successo",title:"Account registrato","pre-title":"Il tuo account è stato creato con successo.",subtitle:"Usa le credenziali per accedere al tuo account.",cta:"Effettua login"}},general:{fondello:"Fondello",mobileRepad:"Sostituisci il tuo fondello",gamma:"Fondelli Made in Italy",gammaText:"Il fondello è oltre l’accessorio, è il fedele alleato di ogni ciclista. È il punto di contatto critico tra il corpo umano e la sella. Scegliere quello più adatto alle proprie caratteristiche fisiche è fondamentale per garantirsi il comfort più adatto. Il know-how DrPad è il risultato di anni di ricerca al fianco di ciclisti professionisti di ogni disciplina. Il nostro catalogo contiene tutti i nostri fondelli Made in Italy e spiega le loro diverse morfologie e come assicurano comfort e protezione in ogni condizione. Nei sentieri tortuosi come nelle strade urbane, il fondello DrPad trasforma ogni uscita in un’esperienza appassionante e coinvolgente.",readMore:"Leggi di più",readLess:"Leggi meno",close:"Chiudi",kitText1:"Sei pronto ad aumentare le performance del tuo pantaloncino?",kitText2:"Richiedi gratuitamente il DrPad Test Kit e testa su strada l’efficacia dei nostri prodotti.",playVideoHero:"Vedi il video completo",skipVideoHero:"Entra nel sito",testKit:"Richiedi Test Kit",catProduct:"Categorie di prodotto",featuredProducts:"Prodotti in evidenza",discoverPads:"Scopri tutti i fondelli",repadTitle:"Fondello usurato?",consigliati:"Ti potrebbero interessare",repad1Text:"Non esiste il fondello perfetto per tutti e su tutte le selle, così come non esiste il fondello eterno. Per questo Dr Pad offre anche un esclusivo servizio di sostituzione fondello rivolto ai ciclisti. Quindi non buttare i tuoi pantaloni o short, rendili di nuovo confortevoli camb
2iando il fondello interno.",repad2Text:"Contattaci e ti daremo informazioni complete. È facile: scegli il fondello dal nostro catalogo, stampa l’etichetta di spedizione, e spediscici il tuo pantalone.",qualita:"Qualità certificata",riciclo:"Riciclo del foam",veicoli:"L’80% dei nostri veicoli aziendali è ibrido",regolamento:"Regolamento reach",pannelli:"Pannelli fotovoltaici",macchinari:"Macchinari ad efficienza energetica",certificazione:"Certificazione ISO 9001",availableWith:"Disponibile con",interessato:"Sei interessato a questo prodotto? contatta il sales team.",sendRequest:"Invia richiesta",progettazione:{titolo:"Progettati per durare",schiuma:{titolo:"Schiuma",desc:"Utilizziamo solo schiume poliuretaniche dense e resistenti che rimangono elastiche nel tempo, garantendo leggerezza, traspirabilità e supporto."},perforazione:{titolo:"Perforazione",desc:"Forare la schiuma aiuta a rendere il fondello ancora più leggero e traspirante."},poron:{titolo:"Poron Plus",desc:"Il nostro gel medicale viene iniettato direttamente nel cuore della schiuma, assicurando al fondello una maggiore durata."},gel:{titolo:"Gel Antishock",desc:"     Si tratta di un gel molto durevole che aiuta ad attutire le vibrazioni e gli urti."},carbonio:{titolo:"Filo di carbonio antistatico",desc:" Il tessuto Antistatic Carbon è in grado di mantenere la pelle asciutta e fresca. I suoi fili di carbonio velocizzano l’evaporazione dell’umidità e proteggono il tuo corpo dall’elettrosmog."},cutting:{titolo:"Cutting Technology",desc:"  È una tecnologia proprietaria di Dr Pad vincitrice del prestigioso IF Award nel 2010. Utile a ottenere un fondello ultraleggero e senza cuciture, assicura traspirabilità e comfort assoluti."}},repad:{etichetta:"scarica l’etichetta di spedizione"},privacy:{p_1:"In questa pagina si descrivono le modalità di gestione del sito in riferimento al trattamento dei dati personali degli utenti che lo consultano. Si tratta di un’informativa che è resa anche ai sensi dell’art. 13 del d.lgs. n. 196/2003 – Codice in materia di protezione dei dati personali a coloro che interagiscono con i servizi web di Dual Press Srl, accessibili per via telematica all’indirizzo: https://dualpress.it/. L’informativa si ispira anche alla Raccomandazione n. 2/2001 che le autorità europee per la protezione dei dati personali, riunite nel Gruppo istituito dall’art. 29 della direttiva n. 95/46/CE, hanno adottato il 17 maggio 2001 per individuare alcuni requisiti minimi per la raccolta di dati personali on-line e, in particolare, le modalità, i tempi e la natura delle informazioni che i titolari del trattamento devono fornire agli utenti quando questi si collegano a pagine web, indipendentemente dagli scopi del collegamento.",p_2:'Il "Titolare" del trattamento',p_3:"A seguito della consultazione di questo sito possono essere trattati dati relativi a persone identificate o identificabili. Il “titolare” del loro trattamento è la società Dual Press Srl, con sede in Via dell’Industria, 31 – 31041 Cornuda – TV – (Italy) · Tel. 0423.622069 Fax 0423.878119 · P.I. IT 03457850265.",p_4:"Luogo di trattamento dei dati",p_5:"I trattamenti connessi ai servizi web di questo sito hanno luogo presso la predetta sede della società e sono curati solo da personale autorizzato, o da eventuali incaricati di occasionali operazioni di manutenzione. Nessun dato derivante dal servizio web viene comunicato o diffuso. I dati personali forniti dagli utenti che inoltrano richieste di invio di materiale informativo sono utilizzati al solo fine di eseguire il servizio o la prestazione richiesta e non sono comunicate a terzi.",p_6:"Tipi di dati trattati",p_7:"Dati di navigazione",p_8:"I sistemi informatici e le procedure software preposte al funzionamento di questo sito web acquisiscono, nel corso del loro normale esercizio, alcuni dati personali la cui trasmissione è implicita nell’uso dei protocolli di comunicazione di Internet. Si tratta di informazioni che non sono raccolte per essere associate a interessati identificati, ma che per loro stessa natura potrebbero, attraverso elaborazioni ed associazioni con dati detenuti da terzi, permettere di identificare gli utenti. In questa categoria di dati rientrano gli indirizzi IP o i nomi a dominio dei computer utilizzati dagli utenti che si connettono al sito, gli indirizzi in notazione URI (Uniform Resource Identifier) delle risorse richieste, l’orario della richiesta, il metodo utilizzato nel sottoporre la richiesta al server, la dimensione del file ottenuto in\n    risposta, il codice numerico indicante lo stato della risposta data dal\n    server (buon fine, errore, ecc.) ed altri parametri relativi al sistema\n    operativo e all’ambiente informatico dell’utente. Questi dati vengono\n    utilizzati al solo fine di ricavare informazioni statistiche anonime\n    sull’uso del sito e per controllarne il corretto funzionamento. I dati\n    potrebbero essere utilizzati per l’accertamento di responsabilità in\n    caso di ipotetici reati informatici ai danni del sito. Dati forniti\n    volontariamente dall’utente L’invio facoltativo, esplicito e volontario\n    di posta elettronica agli indirizzi indicati su questo sito comporta la\n    successiva acquisizione dell’indirizzo del mittente, necessario per\n    rispondere alle richieste, nonché degli eventuali altri dati personali\n    inseriti nella missiva.",p_10:"Nessun dato personale degli utenti viene in proposito acquisito dal\n    sito. I cookies di sessione utilizzati in questo sito evitano il ricorso\n    ad altre tecniche informatiche potenzialmente pregiudizievoli per la\n    riservatezza della navigazione degli utenti e non consentono\n    l’acquisizione di dati personali identificativi dell’utente.",p_11:"Facoltatività del riferimento dei dati",p_12:"A parte quanto specificato per i dati di navigazione, l’utente è libero\n    di fornire i dati personali riportati nei moduli di richiesta alla\n    società. Il loro mancato conferimento può comportare l’impossibilità di\n    ottenere quanto richiesto.",p_13:"Modalità del trattamento",p_14:"I dati personali sono trattati con strumenti automatizzati e non, per\n    gli scopi per cui sono stati raccolti. Specifiche misure di sicurezza\n    sono osservate per prevenire la perdita dei dati, usi illeciti o non\n    corretti ed accessi non autorizzati. I dati raccolti, potranno essere\n    utilizzati per conto del titolare del trattamento, dagli amministratori\n    incaricati di svolgere servizi di elaborazione e di corretto svolgimento\n    delle attività del sito.",p_15:"Diritti degli interessati",p_16:"I soggetti cui si riferiscono i dati personali hanno il diritto in\n    qualunque momento di ottenere la conferma dell’esistenza o meno dei\n    medesimi dati e di conoscerne il contenuto e l’origine, verificarne\n    l’esattezza o chiederne l’integrazione o l’aggiornamento, oppure la\n    rettificazione (art. 7 del d.lgs. n. 196/2003). Ai sensi del medesimo\n    articolo si ha il diritto di chiedere la cancellazione, la\n    trasformazione in forma anonima o il blocco dei dati trattati in\n    violazione di legge, nonché di opporsi in ogni caso, per motivi\n    legittimi, al loro trattamento. Le richieste vanno rivolte alla società\n    Dual Press Srl."}
2,cookie:{p_1:"Che cos’è un cookie e a cosa serve",p_2:"Un cookie e una piccola stringa di testo che un sito invia al browser\n    e salva sul tuo computer quando visiti dei siti internet. I cookie\n    sono utilizzati per far funzionare i siti web in maniera più\n    efficiente, per migliorarne le prestazioni, ma anche per fornire\n    informazioni ai proprietari del sito.",p_3:"Che tipo di cookie utilizza questo sito e a quale scopo?",p_4:"Il nostro sito utilizza diversi tipi di cookie ognuno dei quali ha una\n    funzione specifica, come indicato nella tabella sottostante:",p_5:"Come posso disabilitare i cookie?",p_6:"La maggior parte dei browser (Internet Explorer, Firefox, etc.) sono\n    configurati per accettare i cookie. Tuttavia, la maggior parte dei\n    browser permette di controllare e anche disabilitare i cookie\n    attraverso le impostazioni del browser. Ti ricordiamo però che\n    disabilitare i cookie di navigazione o quelli funzionali può causare\n    il malfunzionamento del sito e/o limitare il servizio offerto. Per\n    modificare le impostazioni, segui il procedimento indicato dai vari\n    browser che trovi alle voci “Opzioni” o “Preferenze”. Per saperne di\n    più riguardo ai cookie leggi la normativa."},crediti:{seo:"Crediti - Dr Pad"},testKitPage:{segreti:"Scopri i segreti di Dr Pad",segretiTesto:"Con il nostro Test Kit, puoi farlo comodamente da casa tua.",funziona:"Come funziona",funzionaTesto:"Richiedi il tuo kit. Basta compilare il modulo a fondo pagina. Lo spediremo all’indirizzo indicato e potrai provare i fondelli da te scelti in modo semplice, accurato e conveniente.",perche:"Perché dovresti effettuare il test?",percheTesto:"Perché non è vincolante. Quello che è sicuro è che ti innamorerai dei nostri fondelli. Provarli ti consentirà di prendere una decisione di cui non ti pentirai."}},order:{title:"Ordine Completato","title-seo":"Ordine preso in carico",info:"Riceverai la conferma dell’ordine al tuo indirizzo email.",alert:"Se l'email non arriva entro 2 minuti, controlla nella casella Posta indesiderata (Spam).",cta:"Torna allo shop "},search:{title:"Digita per cercare",noResults:"Nessun risultato",pagePlaceholder:"Cosa stai cercando?",navigation:{placeholder:"Cerca...",resultsLabel:"risultato/i",showAll:"Vedi tutti i risultati",noResults:"Nessun risultato"}},corporate:{contatti:{positionTitle:"Posizione",openingHours:"Orari apertura"},guidaTaglie:{"trovare-taglia-occhiali":"Trovare la tua taglia di occhiali","significato-numeri":"Misure degli occhiali, cosa significano","taglia-occhiali":"La taglia degli occhiali","tabella-taglie":"Tabelle taglie suddivise per brand"},corporateMenu:{services:"Servizio clienti",policies:"Policy",contatti:"Contattaci","metodi-pagamento":"Metodi di pagamento",vouchers:"Vouchers","procedure-reso":"Procedure di reso",riparazioni:"Riparazioni","termini-e-condizioni":"Termini e condizioni","privacy-policy":"Privacy policy","gift-cards":"Gift cards","cookie-policy":"Cookie policy","spedizioni-e-resi":"Spedizioni e resi"},resellers:{"map-link":"Come arrivare"},newsletter:{"sign-in":"Iscriviti",text:"Alla newsletter per ricevere promozioni e novità",link:"https://bike.us17.list-manage.com/subscribe?u=5dcf75d0edea193b228a546fb&id=835042d0b9"}},contacts:{"title-seo":"Contattaci",headerTitle:"Contatti","sub-text":"Accedi per vedere se hai articoli salvati. Oppure continua gli acquisti.",cta:{login:"Accedi al tuo account","login-text":"Per velocizzare l'acquisto",register:"Crea un nuovo account",guest:"Continua senza account","go-checkout":"Prosegui alla cassa"},"contacts-text":'Il nostro team è pronto a guidarti nella scelta degli occhiali più adatti alle tue esigenze e a rispondere a ogni dubbio o domanda.<br>Puoi contattarci al numero <a href="tel:+390444601925" class="mask-link">0444 601925</a> o compilare il form, indicando la tua richiesta.',"maps-label":"Vedi su Google Maps","test-kit":{headerTitle:"Test Kit"},modulo:"Compila il modulo per ricevere informazioni",moduloTestKit:"Compila il modulo per richiedere il tuo Test Kit"},journal:{allArticles:"Tutti",title:"Journal",moreNews:"altre notizie",readArticle:"Leggi la notizia",filtersText:"Scopri il nostro Blog con consigli, approfondimenti ed eventi da non perdere.",noResults:"Spiacente, non sono presenti articoli per la categoria selezionata",readingTime:"Tempo di lettura",nextArticle:"Prossimo articolo",relatedArticles:"Potrebbe interessarti<br> leggere anche...",shareLabel:"Condividi su",copyToClipboard:"Copia l'Url negli appunti",copiedClipboard:"L'Url è stata copiata negli appunti",copiedClipboardError:"Se è verificato un errore. Si prega di provare più tardi."}},en:{uri:{goccia:"drop",strada:"road",nero:"black",blu:"blue",grigio:"grey",rosso:"red","grigio-scuro":"dark-grey",bianco:"white",bronzo:"bronze",oro:"gold",argento:"silver",arancione:"orange",viola:"purple",verde:"green",azzurro:"light-blue",giallo:"yellow",ambra:"amber",fumo:"smoke","grigio-sfumato":"shaded-grey",trasparente:"clear","blu-specchiato":"mirrored-blue","a-goccia-aviator":"teardrop",avvolgenti:"wraparound",rettangolari:"rectangular",arrotondati:"rounded"},form:{"forgot-password":"Forgotten your password?","submit-forgot":"Send","submit-register":"Register account","submit-save-password":"Save password","submit-update":"Refresh","submit-order":"Go to order",login:"Login",email:"Email",password:"Password",firstName:"Name",lastName:"Surname",company:"Company",category:{options:{assistenza:"Generic assistance","info-prodotti":"Information on products",dealer:"Become an agent / retailer / distributor",press:"Information for the press"},placeholder:"Select an option",label:"Type of request"},"password-confirm":"Confirm password","password-reveal":"View password","password-hide":"Hide password","order-id":"Enter order 
2code","contact-options":{label:"I wish to be contacted",mail:"By e-mail",phone:"By phone"},telephone:"Phone",newsletter:"Keep me updated on news and exclusive offers",privacy:"I have read, understood, and accepted the terms and conditions.",message:"Message",messageLabel:"Message","submit-request":"Send message","submit-request-general":"Send request","login-cta":"Log in","text-signup":"Not registered yet?","label-signup":"Register now","postinApiId-Repad":"b80f3c2b-7bf2-4d95-bc56-6d5fe654cd1b",result_success_title:"Request submitted",result_success_text:"We have received your request, we will contact you shortly at the given address.",result_success_label_link:"Go to homepage",result_error_title:"Error",result_error_text:"Something went wrong,<br /> try filling out the form again.",result_error_label_link:"Back to the form","postinApiId-contatti":"5a088dee-af67-4f98-8280-8e68b33341ed","postinApiId-kit":"00bcfad6-e533-4f5d-b022-5fbc06d18cc2"},errors:{"forgot-password":"Forgotten your password?","submit-forgot":"Send",login:"Login",email:"E-mail",password:"Password","error-title":"Error","error-404":"Page not found","error-500":"An error occurred","back-cta":"Return to the home page"},typology:{vista:"Sport Vision",sole:"Sport Sun",protettivi:"Sport Protective",brand:"Brands",accessori:"Accessories"},listing:{block:{moreColors:"colour/s",badgeNew:"New"},filters:{title:"Filter and order",resetAll:"Delete all",tagsTitle:"Filters applied",orderByLabel:"Show by",filters:"Filters",apply:"Apply",cancel:"Cancel",forma:"Frame shape"},tags:{"PRICE-ASC":"Lowest price","PRICE-DESC":"Highest price"},pagination:{nextLabel:"Next",prevLabel:"Prev"},"link-vista":"Vision glasses","link-sole":"Sunglasses","link-protettivi":"Protective glasses",chooseBy:"Choose by","no-match":"There are currently no products with the parameters entered.","serie-heading":"Series","all-glasses":"All glasses"},footer:{features:{glasses:"Glasses for all types  <br> of vision requirements",chosen:"Chosen for you  <br> by vision experts",advice:"Consulting <br> from a specialised optician",return:"Free shipping   <br>on orders over €29"},follow:"Follow us",marquee:{text:"Sign up for our newsletter"},menu:{fondelliMenu:"Bike Pads",servizi:"Services for Companies",tecnologie:"Technologies",percheDrpad:"Why Dr Pad",azienda:"Company"},policies:{blog:"Blog/News",supporto:"Support",testKit:"Dr Pad Test Kit",contatti:"Contacts"},fondelli:{ore:{titolo:"8-Hour Pads",text:"Live your day in the saddle with maximum comfort. Whether you’re tackling a Gran Fondo, exploring new roads, or engaging in an endurance race, our 8-hour pads are the ideal companion. Designed to withstand the challenges of any terrain, these pads are sturdy, reliable, and ready to accompany you on every adventure. Our 8-hour pads are designed to offer optimal support for long distances. Born from experience in professional cycling tours and thanks to high-quality materials and ergonomic design, they ensure limitless performance."},distanze:{titolo:"Long-Distance Pads",text:"In the cycling world, long distances are not just a physical challenge but also a test of mental resilience and equipment. To support cyclists in these epic adventures, DrPad has created a range of pads designed for long distances, a perfect fusion of technology, comfort, and durability. We use cutting-edge materials and innovative construction techniques to create pads that reduce fatigue and improve endurance. Variable-density foam absorbs shocks and distributes pressure evenly, allowing cyclists to focus on the road and not on discomfort."},biciDonna:{titolo:"Women’s Pads",text:"Designed exclusively for the female anatomy, our pads are not just an accessory but a crucial element that enhances every cyclist’s experience, combining functionality and tailored comfort. Our range is created with the diverse needs of female cyclists in mind, from long and challenging tours to short daily rides. Each model is designed to adapt to different styles and durations of pedaling, always ensuring the maximum in terms of protection and comfort. Live your performances without compromises and enjoy every pedal with DrPad."},biciUomo:{titolo:"Men’s Pads",text:"Our cycling chamois respect the male anatomy, offering maximum comfort. The high-density foam dynamically adapts to the body’s shape, providing support and reducing pressure in critical points, thanks to gel inserts. Meanwhile, breathable fabric ensures optimal ventilation, keeping the skin dry and cool even on the hottest days. Our men’s pads are perfect for experiencing your performance without compromises. Discover the difference with DrPad and enjoy every pedal."},professionale:{titolo:"Professional Pads",text:"In the world of professional cycling, every detail can make the difference between victory and second place. With this awareness, DrPad is proud to present the elite range of professional pads designed by and for professionals, a blend of innovation, performance, and unprecedented comfort. Our pads are designed to be incredibly lightweight without sacrificing support. Attention to aerodynamics translates into a design that reduces air resistance, allowing cyclists to cut through the wind with greater eff
2iciency. Discover the excellence of DrPad’s ergonomics."}},corporate:"Via dell’Industria, 31<br>31041 Cornuda - TV - (Italy)<br>Tel. +39 0423 622069",pIva:"VAT Number: 03457850265",registro:"Business Register TV - 273870",crediti:"Credits"},navigation:{large:{langswitcher:"Change language",catalogue:"Bike Pads",tecnologia:"Technology",tecnologie:"Technologies",services:"Services",company:"Company",whydrpad:"Why Dr Pad",contacts:"Contacts",pads:"Bike Pads",sport:"Sport",comfort:"Comfort",portanza:"Lift",distanza:"Distance"},small:{toggle:"Menu",lang:{it:"Italian",en:"English"}}},product:{attributes:{"colore-lenti":"Lens colour","taglia-montatura":"Size","gradazione-accessori":"Prescription","gradazione-lente-singola":"Prescription","gradazione-lente-sx":"Left eye prescription","gradazione-lente-dx":"Right eye prescription","gradazione-lente-price-1":"One prescription lens costs {price} extra","gradazione-lente-price-2":"Two prescription lenses cost {price} extra","colore-naselli":"Nose pad colour","colore-terminali":"Temple tip colour","incisione-laser":"Laser engraving","colore-mascherina":"Front cover colour","lunetta-per-presbiopia":"Magnifying insert for presbyopia (left and right)"},guidataglie:"Find your size",frameColor:{label:"Frame colour"},quantity:{label:"Quantity"},addToCart:{label:"Add to cart"},metaSelect:{"gradazione-lente-singola":"No prescription","gradazione-lente-sx":"No prescription","gradazione-lente-dx":"No prescription","lunetta-per-presbiopia":"No prescription","colore-naselli":"Choose colour","colore-terminali":"Choose colour","colore-mascherina":"Choose colour"},"incisione-laser":{label:"Custom engraving",placeholder:"Max 10 letters"},actions:{variantMissing:"No variant selected",productAdded:"Product added to your cart",productRemoved:"Product removed from your cart","variant-taglia-montatura-noexist":"This configuration is not available in the size selected","taglia-montatura-missing":"Before adding the product to your cart, remember to select a size ","taglia-accessori-missing":"Before adding the product to your cart, remember to select a size","colore-accessori-missing":"Before adding the product to your cart, remember to select a colour","colore-naselli-missing":"Before adding the product to your cart, remember to select the colour of the nose pads","colore-terminali-missing":"Before adding the product to your cart, remember to select the colour of the temple tips","lunetta-per-presbiopia-missing":"Before adding the product to your cart, select the level of presbyopia for the glasses","incisione-laser-missing":"Before adding the product to your cart, enter the custom text","gradazione-lente-singola-missing":"Before adding the product to your cart, select the prescription","gradazione-lente-sx-missing":"Before adding the product to your cart, select the prescription for the left lens","gradazione-lente-dx-missing":"Before adding the product to your cart, select the prescription for the right lens","taglia-montatura-missing-error":"No size selected","taglia-accessori-missing-error":"No size selected","colore-accessori-missing-error":"No colour selected","colore-naselli-missing-error":"Select a colour for the nose pads","colore-terminali-missing-error":"Select a colour for the temple tips","lunetta-per-presbiopia-missing-error":"Choose the level of presbyopia for your glasses","incisione-laser-missing-error":"Enter a custom text","gradazione-lente-singola-missing-error":"Select a prescription","gradazione-lente-sx-missing-error":"Select a prescription for the left lens","gradazione-lente-dx-missing-error":"Select a prescription for the right lens"},relatedProducts:{label:"You might also be interested in"},"pop-up":{"colore-naselli":{text:"Text"},"colore-terminali":{text:"Temple tips in Thermolast-K®,  a material that guarantees a snug, ultra-comfortable fit, even in hot weather or the humidity caused by sweating. Choose from the colours available to customise every detail of your motorbike glasses."}},dataSheetLabel:{densita:"Density",spessore:"Thickness",livelli:"Levels",dimensioni:"Dimensions",tessuti:"Fabrics",schiuma:"Foam",downloadPDF:"Download data sheet"}},cart:{"title-seo":"Your cart",headerTitle:"Cart",emptyCart:"Your cart is empty","sub-text":"Log in to see if you have any items saved. Or continue shopping.","empty-cart-login":"log in","empty-cart-buy":"Continue shopping",summaryTitle:"Order summary",checkoutLable:"Go to checkout",deleteItem:"Remove",discount:"Discount",giftCard:"Gift Card",subtotal:"Sub-total",tax:"Including taxes totalling {amount}",shipping:"Shipping","not-selected-shipping":"The cost will be calculated based on the method selected",total:"Total",unitPrice:"Price",cta:{login:"Log in to your account","login-text":"for a quicker purchase",register:"Create a new account",guest:"Continue without an account","go-checkout":"Go to the checkout"},help:{title:"Need a hand?",subtitle:"Don’t worry, we’re here to help.",tel:"+39 0444 601925",email:"info"}},minicart:{"product-qty":"No products in your cart | {count} product in your cart | {count} products in your cart",account:"Account","cart-link":"See all {count} products",login_conjunction:" or ",login_label:"Login",register_label:"Register",checkout:"Continue"},services:{login:{"title-seo":"Log in",title:"Log in",subtitle:"Enter your credentials to log in.",success:"User succesfully logged in",alert:"Text"},forgot:{"title-seo":"Password forgotten",title:"Password forgotten",subtitle:"Enter your e-mail and we’ll send you instructions to create a new one.","form-success":"Request sent correctly. \nRemember, if you don’t see the e-mail after one minute, check your spam folder"}
2,updatePassword:{"title-seo":"Choose your new password",title:"Choose your password",subtitle:"Enter the new password to log in to your account."},registration:{"title-seo":"Create your account",title:"Crete an account",subtitle:"Register to make your next purchases quicker","form-success":"Account created correctly \nRemember, if you don’t see the e-mail after one minute, check your spam folder",registered:"Already registered?",login:"Log in"},confirm:{"title-seo":"Account created successfully",title:"Account registered","pre-title":"Your account has been created successfully",subtitle:"Use your credentials to log in to your account",cta:"Log in"}},general:{fondello:"Pad",mobileRepad:"Replace your bike pad",gamma:"Made in Italy Cycling Pads",gammaText:"The pad is more than an accessory; it’s the faithful ally of every cyclist. It is the critical point of contact between the human body and the saddle. Choosing the one that suits your physical characteristics is essential to ensure the most suitable comfort. DrPad’s know-how is the result of years of research alongside professional cyclists of every discipline. Our catalog contains all of our Made in Italy pads and explains their different morphologies and how they ensure comfort and protection in all conditions. Whether on winding trails or urban streets, the DrPad pad transforms every ride into an exciting and engaging experience.",readMore:"Read more",readLess:"Read less",close:"Close",kitText1:"Are you ready to increase the performance of your bike pad?",kitText2:"Request the DrPad Test Kit for free and test the effectiveness of our products on the road.",playVideoHero:"Watch the whole video",skipVideoHero:"Enter the website",testKit:"Request Test Kit",catProduct:"Product categories",featuredProducts:"Featured products",discoverPads:"Discover all Bike Pads",repadTitle:"Worn bike pad?",consigliati:"Might interest you",repad1Text:"There is no perfect pad for everyone and on all saddles, just as there is no eternal pad. For this reason, Dr Pad also offers an exclusive pad replacement service aimed at cyclists. So don’t throw away your trousers or shorts, make them comfortable again by changing the internal pad.",repad2Text:"Contact us and we will give you complete information. It’s easy: choose the pad from our catalogue, print the shipping label, and send us your trousers.",qualita:"Certified quality",riciclo:"Foam recycling",veicoli:"80% of our company vehicles are hybrid",regolamento:"Reach regulation",pannelli:"Photovoltaic panels",macchinari:"Energy efficient machinery",certificazione:"ISO 9001 certification",availableWith:"Available with",interessato:"Are you interested in this product? contact the sales team.",sendRequest:"Send request",progettazione:{titolo:"Designed to last",schiuma:{titolo:"Foam",desc:"We only use dense and resistant polyurethane foams that remain elastic over time, ensuring lightness, breathability, and support."},perforazione:{titolo:"Perforation",desc:"Piercing the foam helps to make the pad even lighter and more breathable."},poron:{titolo:"Poron Plus",desc:"Our medical gel is injected directly into the heart of the foam, ensuring the pad has a longer lifespan."},gel:{titolo:"Antishock Gel",desc:"This is a very durable gel that helps to cushion vibrations and shocks."},carbonio:{titolo:"Antistatic carbon thread",desc:"The Antistatic Carbon fabric is able to keep the skin dry and fresh. Its carbon threads speed up the evaporation of moisture and protect your body from electrosmog."},cutting:{titolo:"Cutting Technology",desc:"This is a proprietary technology of Dr Pad that won the prestigious IF Award in 2010. Useful for obtaining an ultra-light and seamless pad, it ensures absolute breathability and comfort."}},repad:{etichetta:"Download shipping label"},privacy:{p_1:"This page describes how the site is managed in relation to the processing of personal data of users who consult it. This information is also provided pursuant to art. 13 of Legislative Decree no. 196/2003 – Code regarding the protection of personal data for those who interact with the web services of Dual Press Srl, accessible electronically at the address: https://dualpress.it/. The information is also inspired by Recommendation no. 2/2001 that the European authorities for the protection of personal data, gathered in the Group established by art. 29 of directive no. 95/46/EC, adopted on 17 May 2001 to identify some minimum requirements for the collection of personal data online and, in particular, the methods, times and nature of the information that data controllers must provide to users when they link to web pages, regardless of the purpose of the link.",p_2:'The "Data Controller" of the processing',p_3:'Following consultation of this site, data relating to identified or identifiable persons may be processed. The "owner" of their processing is the company Dual Press Srl, with headquarters in Via dell’Industria, 31 – 31041 Cornuda – TV – (Italy) · Tel. 0423.622069 Fax 0423.878119 · P.I. IT 03457850265.',p_4:"Place of data processing",p_5:"The processing connected to the web services of this site takes place at the aforementioned company headquarters and is handled only by authorized personnel, or by persons in charge of occasional maintenance operations. No data deriving from the web service is communicated or disseminated. The personal data provided by users who request dispatch of informative material are used for the sole purpose of carrying out the service or provision requested and are not communicated to third parties.",p_6:"Types of processed data",p_7:"Browsing data",p_8:"The computer systems and s
2oftware procedures used to operate this website acquire, during their normal operation, some personal data whose transmission is implicit in the use of Internet communication protocols. This is information that is not collected to be associated with identified interested parties, but which by its very nature could, through processing and association with data held by third parties, allow users to be identified. This category of data includes the IP addresses or domain names of the computers used by users who connect to the site, the addresses in URI (Uniform Resource Identifier) notation of the requested resources, the time of the request, the method used in submitting the request to the server, the size of the file obtained in\n    response, the numerical code indicating the status of the response given by\n    server (successful, error, etc.) and other system-related parameters\n    operational and the user's IT environment. This data comes\n    used for the sole purpose of obtaining anonymous statistical information\n    on the use of the site and to check its correct functioning. The data\n    could be used to ascertain responsibility\n    case of hypothetical computer crimes against the site. Data provided\n    voluntarily by the user. Optional, explicit and voluntary sending\n    of e-mail to the addresses indicated on this site entails the\n    subsequent acquisition of the sender's address, necessary for\n    respond to requests, as well as any other personal data\n    included in the letter.",p_10:"No personal data of users is acquired in this regard by\n    site. The session cookies used on this site avoid recourse\n    to other IT techniques potentially harmful to the\n    confidentiality of user browsing and do not allow\n    the acquisition of personal identification data of the user.",p_11:"Optional data reference",p_12:"Apart from what is specified for navigation data, the user is free\n        to provide the personal data contained in the request forms to\n        society. Failure to provide them may make it impossible to\n        obtain what is requested.",p_13:"Treatment methods",p_14:"Personal data is processed using automated and non-automated tools, for example\n    the purposes for which they were collected. Specific safety measures\n    are observed to prevent data loss, illicit or otherwise\n    correct and unauthorized access. The data collected may be\n    used on behalf of the data controller, by the administrators\n    responsible for carrying out processing and correct execution services\n    of the site's activities.",p_15:"Rights of interested parties",p_16:"The subjects to whom the personal data refers have the right to\n    any time to obtain confirmation of the existence or otherwise of\n    same data and to know its content and origin, verify it\n    the accuracy or request its integration or updating, or the\n    rectification (art. 7 of Legislative Decree no. 196/2003). Pursuant to the same\n    article you have the right to request cancellation, the\n    transformation into anonymous form or blocking of the data processed in\n    violation of the law, as well as to oppose in any case, for reasons\n    legitimate, to their treatment. Requests should be addressed to the company\n    Dual Press Srl."},cookie:{p_1:"What is a cookie and what is it for?",p_2:"A cookie is a small string of text that a site sends to your browser\n        and save on your computer when you visit websites. Cookies\n        they are used to make websites work more efficiently\n        efficiently, to improve its performance, but also to provide\n        information to the site owners.",p_3:"What type of cookies does this site use and for what purpose?",p_4:"\n    Our site uses different types of cookies, each of which has its own\n        specific function, as indicated in the table below:",p_5:"How can I disable cookies?",p_6:"Most browsers (Internet Explorer, Firefox, etc.) are\n    configured to accept cookies. However, most of the\n    browser allows you to control and also disable cookies\n    through your browser settings. However, we remind you that\n    disabling navigation or functional cookies can cause\n    the malfunction of the site and/or limit the service offered. For\n    change the settings, follow the procedure indicated by the various ones\n    browser that you find under “Options” or “Preferences”. To know more\n    more about cookies, read the legislation."},crediti:{seo:"Credits - Dr Pad"},testKitPage:{segreti:"Discover Dr. Pad’s Secrets",segretiTesto:"Do it comfortably from home with our Test Kit.",funziona:"How It Works",funzionaTesto:"Request your kit by filling out the form at the bottom of the page. We will ship it to the provided address, allowing you to try the chosen pads easily, accurately, and conveniently.",perche:"Why Should You Take the Test?",percheTesto:"Because it’s non-binding. What’s certain is that you’ll fall in love with our pads. Trying them will allow you to make a decision you won’t regret."}},order:{title:"Order completed ","title-seo":"Order received",info:"Order confirmation will be sent to your e-mail address.",alert:"If the e-mail does not arrive in 2 minutes, check your spam folder.",cta:"Return to the shop "},search:{title:"Type to search",noResults:"No results",pagePlaceholder:"What are you looking for?",navigation:{placeholder:"Search...",resultsLabel:"result/s",showAll:"See all results",noResults:"No results"}},corporate:{contatti:{positionTitle:"Position",openingHours:"Opening hours"},guidaTaglie:{"trovare-taglia-occhiali":"Find out your glasses size","significato-numeri":"Glasses dimensions: what they mean","taglia-occhiali":"Glasses size","tabella-taglie":"Size table divided by brand"},corporateMenu:{services:"Customer service",policies:"Policy",contatti:"Contact us","metodi-pagamento":"Payment methods",vouchers:"Vouchers","procedure-reso":"Returns procedure",riparazioni:"Repairs","termini-e-condizioni":"Terms and conditions","privacy-policy":"Privacy policy","gift-cards":"Gift cards","cookie-policy":"Cookie policy","spedizioni-e-resi":"Shipping and Returns"},resellers:{"map-link":"How to reach us"},newsletter:{"sign-in":"Sign up",text:"To the newsletter to find out about promotions and new products",link:"https://bike.us17.list-manage.com/subscribe?u=5dcf75d0edea193b228a546fb&id=835042d0b9"}},contacts:{"title-seo":"Contact us",headerTitle:"Contact us","sub-text":"Log in to see if you have any items saved. Or continue shopping.",cta:{login:"Log in to your account","login-text":"for a quicker purchase",register:"Create a new account",guest:"Continue without an account","go-checkout":"Go to the checkout"},"contacts-text":'Our team is ready to help you choose the glasses best suited to your needs and to answer any questions you have.<br>You can contact us at <a href="tel:+390444601925" class="mask-link">0444 601925</a> or by filling in the form with your request, and we’ll get back to you soon',"maps-label":"Show on Google Maps","test-kit":{headerTitle:"Test Kit"},modulo:"Fill out the form for more information",moduloTestKit:"Fill out the form to request your Test Kit"},journal:{allArticles:"All",title:"Journal",moreNews:"More articles",readArticle:"Read article",filtersText:"Discover our Blog with advices, insights and events not to be missed.",noResults:"There are currently no items in the selected category",readingTime:"Reading time",nextArticle:"Next article",relatedArticles:"You also might be interested in...",shareLabel:"Share on",copyToClipboard:"Copy the URL to the clipboard",copiedClipboard:"The URL has been copied to the clipboard",copiedClipboardError:"An error has occurred. Please try later."}}}}
2,vueI18nLoader:!1,locales:[{code:"it",iso:"it-IT"},{code:"en",iso:"en-US"}],defaultLocale:"it",defaultDirection:"ltr",routesNameSeparator:"___",defaultLocaleRouteNameSuffix:"default",sortRoutes:!0,strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:!1,differentDomains:!1,baseUrl:"https://drpad.it",vuex:{moduleName:"i18n",syncRouteParams:!0},parsePages:!1,pages:{repad:{it:"/re-pad",en:"/re-pad"},servizi:{it:"/servizi",en:"/services"},tecnologie:{it:"/tecnologie",en:"/technologies"},azienda:{it:"/azienda",en:"/company"},perchedrpad:{it:"/perche-drpad",en:"/why-drpad"},contatti:{it:"/contatti",en:"/contacts"},fondelli:{it:"/fondelli",en:"/bike-pads"},ore:{it:"/8ore",en:"/8hours"},lunghedistanze:{it:"/lunghe-distanze",en:"/long-distances"},fondellidonna:{it:"/fondelli-donna",en:"/women-bike-pads"},fondelliuomo:{it:"/fondelli-uomo",en:"/men-bike-pads"},professionale:{it:"/fondelli-professionali",en:"/professional-bike-pads"},crediti:{it:"/crediti",en:"/credits"},"prodotto/_slug":{en:"/product/:slug"},"portanza/_slug/index":{en:"/lift/:slug"},"distanza/_slug/index":{en:"/distance/:slug"},"tecnologia/_slug/index":{en:"/technology/:slug"},"test-kit":{it:"/test-kit",en:"/test-kit"}},skipSettingLocaleOnNavigate:!1,onBeforeLanguageSwitch:function(){},onLanguageSwitched:function(){return null},seo:!1,normalizedLocales:[{code:"it",iso:"it-IT"},{code:"en",iso:"en-US"}],localeCodes:["it","en"],additionalMessages:[]},Gn=(r(207),r(251),r(82),r(104),r(294)),Qn=r.n(Gn);function Kn(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function Xn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Yn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yn(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function Yn(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function Zn(text){return"[@nuxtjs/i18n] ".concat(text)}function Jn(t,e){var r,n=[],o=[],l=Xn(t);try{for(l.s();!(r=l.n()).done;){var c=r.value,code=c.code,h=c.iso||code;o.push({code:code,iso:h})}}catch(t){l.e(t)}finally{l.f()}var d,f=Xn(e.entries());try{var m=function(){var t=Object(ct.a)(d.value,2),r=t[0],l=t[1],c=o.find((function(t){return t.iso.toLowerCase()===l.toLowerCase()}));if(c)return n.push({code:c.code,score:1-r/e.length}),1};for(f.s();!(d=f.n()).done&&!m(););}catch(t){f.e(t)}finally{f.f()}var v,y=Xn(e.entries());try{var _=function(){var t=Object(ct.a)(v.value,2),r=t[0],l=t[1].split("-")[0].toLowerCase(),c=o.find((function(t){return t.iso.split("-")[0].toLowerCase()===l}));if(c)return n.push({code:c.code,score:.999-r/e.length}),1};for(y.s();!(v=y.n()).done&&!_(););}catch(t){y.e(t)}finally{y.f()}return n.length>1&&n.sort((function(t,e){return t.score===e.score?e.code.length-t.code.length:e.score-t.score})),n.length?n[0].code:void 0}function to(t,e){var r;if(r=window.location.host){var n=t.find((function(t){return t.domain===r}));if(n)return n.code}return""}function eo(t){return new RegExp("^/(".concat(t.join("|"),")(?:/|$)"))}function ro(t,e){var r=e.routesNameSeparator,n=e.defaultLocaleRouteNameSuffix,o="(".concat(t.join("|"),")"),l="(?:".concat(r).concat(n,")?"),c=new RegExp("".concat(r).concat(o).concat(l,"$")),h=eo(t);return function(t){if(t.name){var e=t.name.match(c);if(e&&e.length>1)return e[1]}else if(t.path){var r=t.path.match(h);if(r&&r.length>1)return r[1]}return""}}function io(t,e){var r,n=e.useCookie,o=e.cookieKey,l=e.localeCodes;if(n&&((r=Qn.a.get(o))&&l.includes(r)))return r}function no(t,e,r){var n=r.useCookie,o=r.cookieAge,c=r.cookieDomain,h=r.cookieKey,d=r.cookieSecure,f=r.cookieCrossOrigin;if(n){var m=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?Kn(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Kn(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({expires:o,path:"/",sameSite:f?"none":"lax",secure:f||d},c?{domain:c}:{});Qn.a.set(h,t,m)}}function oo(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return ao(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ao(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function ao(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function so(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function uo(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?so(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):so(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function lo(t,e){return co.apply(this,arguments)}function co(){return co=Object(o.a)(regeneratorRuntime.mark((function t(e,r){var n,o,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.app,(o=n.i18n).loadedLanguages||(o.loadedLanguages=[]),o.loadedLanguages.includes(r)||(l=Wn.normalizedLocales.find((function(t){return t.code===r})),l?l.file||console.warn(Zn("Could not find lang file for locale ".concat(r))):console.warn(Zn('Attempted to load messages for non-existant locale code "'.concat(r,'"'))));case 4:case"end":return t.stop()}}),t)}))),co.apply(this,arguments)}function ho(t,e,r,n){var o=n.differentDomains,l=n.normalizedLocales;if("function"==typeof t)return t(e);if(o&&r){var c=fo(r,e.req,{normalizedLocales:l});if(c)return c}return t}function fo(t,e,r){var n,o=r.normalizedLocales.find((function(e){return e.code===t}));if(o&&o.domain)return Object(Vn.hasProtocol)(o.domain)?o.domain:(n=window.location.protocol.split(":")[0],"".concat(n,"://").concat(o.domain));console.warn(Zn("Could not find domain name for locale ".concat(t)))}function po(t,e,r){var n={namespaced:!0,state:function(){return uo({},e.syncRouteParams?{routeParams:{}}:{})},actions:uo({},e.syncRouteParams?{setRouteParams:function(t,e){(0,t.commit)("setRouteParams",e)}}:{}),mutations:uo({},e.syncRouteParams?{setRouteParams:function(t,e){t.routeParams=e}}:{}),getters:uo({},e.syncRouteParams?{localeRouteParams:function(t){var e=t.routeParams;return function(t){return e&&e[t]||{}}}}:{})};t.registerModule(e.moduleName,n,{preserveState:!!t.state[e.moduleName]})}function mo(t,e,r,n){var o,l=n||r,c=oo(e);try{for(c.s();!(o=c.n()).done;){var h,d=o.value,f=oo(l);try{for(f.s();!(h=f.n()).done;){var m=h.value,v=t.getLocaleMessage(m);t.mergeLocaleMessage(m,d[m]),t.mergeLocaleMessage(m,v)}}catch(t){f.e(t)}finally{f.f()}}}catch(t){c.e(t)}finally{c.f()}}var go=r(471),vo=(r(255),r(173)),yo=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var r,n,o,l,c,h,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.app,!e.isHMR){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,r.i18n.__onNavigate(e.route);case 5:n=t.sent,o=Object(ct.a)(n,3),l=o[0],c=o[1],h=o[2],l&&c&&(d=h?e.route.query:void 0,e.redirect(l,c,d));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();vo.a.nuxti18n=yo;var bo=["params"];function _o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function wo(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?_o(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):_o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function To(t,e){var r=xo.call(this,t,e);return r?r.route.redirectedFrom||r.route.fullPath:""}function So(t,e){var r=xo.call(this,t,e);return r?r.route:void 0}function Mo(t,e){var r=xo.call(this,t,e);return r?r.location:void 0}function xo(t,e){if(t){var r=this.i18n;if(e=e||r.locale){"string"==typeof t&&(t="/"===t[0]?{path:t}:{name:t});var n=Object.assign({},t);if(n.path&&!n.name){var o=this.router.resolve(n).route,l=this.getRouteBaseName(o);if(l)n={name:Oo(l,e),params:o.params,query:o.query,hash:o.hash};else!(e===Wn.defaultLocale&&[$n.STRATEGIES.PREFIX_EXCEPT_DEFAULT,$n.STRATEGIES.PREFIX_AND_DEFAULT].includes(Wn.strategy)||Wn.strategy===$n.STRATEGIES.NO_PREFIX||r.differentDomains)&&(n.path="/".concat(e).concat(n.path)),n.path=Hn.trailingSlash?Object(Vn.withTrailingSlash)(n.path,!0):Object(Vn.withoutTrailingSlash)(n.path,!0)}else{n.name||n.path||(n.name=this.getRouteBaseName()),n.name=Oo(n.name,e);var c=n.params;c&&void 0===c[0]&&c.pathMatch&&(c[0]=c.pathMatch)}var h=this.router.resolve(n);return h.route.name?h:this.router.resolve(t)}}}function ko(t){var e=this.getRouteBaseName();if(!e)return"";var r=this.i18n,n=this.route,o=this.store,l=n.params,c=Object(go.a)(n,bo),h={};Wn.vuex&&Wn.vuex.syncRouteParams&&o&&(h=o.getters["".concat(Wn.vuex.moduleName,"/localeRouteParams")](t));var d=Object.assign({},c,{name:e,params:wo(wo(wo({},l),h),{},{0:l.pathMatch})}),path=this.localePath(d,t);if(r.differentDomains){var f={differentDomains:r.differentDomains,normalizedLocales:Wn.normalizedLocales},m=fo(t,this.req,f);m&&(path=m+path)}return path}function Eo(t){var e=void 0!==t?t:this.route;if(e&&e.name)return e.name.split(Wn.routesNameSeparator)[0]}function Oo(t,e){var r=t+(Wn.strategy===$n.STRATEGIES.NO_PREFIX?"":Wn.routesNameSeparator+e);return e===Wn.defaultLocale&&Wn.strategy===$n.STRATEGIES.PREFIX_AND_DEFAULT&&(r+=Wn.routesNameSeparator+Wn.defaultLocaleRouteNameSuffix),r}var Co=function(t){return function(){var e={getRouteBaseName:this.getRouteBaseName,i18n:this.$i18n,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,req:null,route:this.$route,router:this.$router,store:this.$store};return t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments)))}},Ao=function(t,e){return function(){var r=t.app,n=(t.req,t.route),o=t.store,l={getRouteBaseName:r.getRouteBaseName,i18n:r.i18n,localePath:r.localePath,localeLocation:r.localeLocation,localeRoute:r.localeRoute,req:null,route:n,router:r.router,store:o};return e.call.apply(e,[l].concat(Array.prototype.slice.call(arguments)))}},Io={install:function(t){t.mixin({methods:{localePath:Co(To),localeRoute:Co(So),localeLocation:Co(Mo),switchLocalePath:Co(ko),getRouteBaseName:Co(Eo)}})}},Po=function(t){c.default.use(Io);var e=t.app,r=t.store;e.localePath=t.localePath=Ao(t,To),e.localeRoute=t.localeRoute=Ao(t,So),e.localeLocation=t.localeLocation=Ao(t,Mo),e.switchLocalePath=t.switchLocalePath=Ao(t,ko),e.getRouteBaseName=t.getRouteBaseName=Ao(t,Eo),r&&(r.localePath=e.localePath,r.localeRoute=e.localeRoute,r.localeLocation=e.localeLocation,r.switchLocalePath=e.switchLocalePath,r.getRouteBaseName=e.getRouteBaseName)},Ro=(r(203),["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]),Do=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Lo(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var No=Array.isArray;function jo(t){return null!==t&&"object"==typeof t}function Bo(t){return"string"==typeof t}var Fo=Object.prototype.toString,Uo="[object Object]";function qo(t){return Fo.call(t)===Uo}function zo(t){return null==t}function Vo(t){return"function"==typeof t}function $o(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return 1===t.length?jo(t[0])||No(t[0])?n=t[0]:"string"==typeof t[0]&&(r=t[0]):2===t.length&&("string"==typeof t[0]&&(r=t[0]),(jo(t[1])||No(t[1]))&&(n=t[1])),{locale:r,params:n}}function Ho(t){return JSON.parse(JSON.stringify(t))}function Wo(t,e){return!!~t.indexOf(e)}var Go=Object.prototype.hasOwnProperty;function Qo(t,e){return Go.call(t,e)}function Ko(t){for(var e=arguments,output=Object(t),i=1;i<arguments.length;i++){var source=e[i];if(null!=source){var r=void 0;for(r in source)Qo(source,r)&&(jo(source[r])?output[r]=Ko(output[r],source[r]):output[r]=source[r])}}return output}function Xo(a,b){if(a===b)return!0;var t=jo(a),e=jo(b);if(!t||!e)return!t&&!e&&String(a)===String(b);try{var r=No(a),n=No(b);
vendor: 23,820 bytes, line 2
2if(r&&n)return a.length===b.length&&a.every((function(t,i){return Xo(t,b[i])}));if(r||n)return!1;var o=Object.keys(a),l=Object.keys(b);return o.length===l.length&&o.every((function(t){return Xo(a[t],b[t])}))}catch(t){return!1}}var Yo={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(t,e){var data=e.data,r=e.parent,n=e.props,o=e.slots,l=r.$i18n;if(l){var path=n.path,c=n.locale,h=n.places,d=o(),f=l.i(path,c,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(d)||h?function(t,e){var r=e?function(t){0;return Array.isArray(t)?t.reduce(Jo,{}):Object.assign({},t)}(e):{};if(!t)return r;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var n=t.every(ta);0;return t.reduce(n?Zo:Jo,r)}(d.default,h):d),m=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return m?t(m,data,f):f}}};function Zo(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Jo(t,e,r){return t[r]=e,t}function ta(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var ea,ra={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(t,e){var r=e.props,n=e.parent,data=e.data,o=n.$i18n;if(!o)return null;var l=null,c=null;Bo(r.format)?l=r.format:jo(r.format)&&(r.format.key&&(l=r.format.key),c=Object.keys(r.format).reduce((function(t,e){var n;return Wo(Ro,e)?Object.assign({},t,((n={})[e]=r.format[e],n)):t}),null));var h=r.locale||o.locale,d=o._ntp(r.value,h,l,c),f=d.map((function(t,e){var r,slot=data.scopedSlots&&data.scopedSlots[t.type];return slot?slot(((r={})[t.type]=t.value,r.index=e,r.parts=d,r)):t.value})),m=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return m?t(m,{attrs:data.attrs,class:data.class,staticClass:data.staticClass},f):f}};function ia(t,e,r){aa(t,r)&&sa(t,e,r)}function na(t,e,r,n){if(aa(t,r)){var o=r.context.$i18n;(function(t,e){var r=e.context;return t._locale===r.$i18n.locale})(t,r)&&Xo(e.value,e.oldValue)&&Xo(t._localeMessage,o.getLocaleMessage(o.locale))||sa(t,e,r)}}function oa(t,e,r,n){if(r.context){var o=r.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else Lo("Vue instance does not exists in VNode context")}function aa(t,e){var r=e.context;return r?!!r.$i18n||(Lo("VueI18n instance does not exists in Vue instance"),!1):(Lo("Vue instance does not exists in VNode context"),!1)}function sa(t,e,r){var n,o,l=function(t){var path,e,r,n;Bo(t)?path=t:qo(t)&&(path=t.path,e=t.locale,r=t.args,n=t.choice);return{path:path,locale:e,args:r,choice:n}}(e.value),path=l.path,c=l.locale,h=l.args,d=l.choice;if(path||c||h)if(path){var f=r.context;t._vt=t.textContent=null!=d?(n=f.$i18n).tc.apply(n,[path,d].concat(ua(c,h))):(o=f.$i18n).t.apply(o,[path].concat(ua(c,h))),t._locale=f.$i18n.locale,t._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else Lo("`path` is required in v-t directive");else Lo("value type not supported")}function ua(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||qo(e))&&r.push(e),r}function la(t,e){void 0===e&&(e={bridge:!1}),la.installed=!0;(ea=t).version&&Number(ea.version.split(".")[0]);(function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[t,n.locale,n._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(r))},t.prototype.$te=function(t,e){var r=this.$i18n;return r._te(t,r.locale,r._getMessages(),e)},t.prototype.$d=function(t){for(var e,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(e=this.$i18n).d.apply(e,[t].concat(r))},t.prototype.$n=function(t){for(var e,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(e=this.$i18n).n.apply(e,[t].concat(r))}})(ea),ea.mixin(function(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n){if(t.i18n instanceof xa){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach((function(t){e=Ko(e,JSON.parse(t))})),Object.keys(e).forEach((function(r){t.i18n.mergeLocaleMessage(r,e[r])}))}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(qo(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xa?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var n=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach((function(t){n=Ko(n,JSON.parse(t))})),t.i18n.messages=n}catch(t){}var o=t.i18n.sharedMessages;o&&qo(o)&&(t.i18n.messages=Ko(t.i18n.messages,o)),this._i18n=new xa(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xa?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof xa&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof xa||qo(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xa||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof xa)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}(e.bridge)),ea.directive("t",{bind:ia,update:na,unbind:oa}),ea.component(Yo.name,Yo),ea.component(ra.name,ra),ea.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var ca=function(){this._caches=Object.create(null)};ca.prototype.interpolate=function(t,e){if(!e)return[t];var r=this._caches[t];return r||(r=function(t){var e=[],r=0,text="";for(;r<t.length;){var n=t[r++];if("{"===n){text&&e.push({type:"text",value:text}),text="";var sub="";for(n=t[r++];void 0!==n&&"}"!==n;)sub+=n,n=t[r++];var o="}"===n,l=ha.test(sub)?"list":o&&da.test(sub)?"named":"unknown";e.push({value:sub,type:l})}else"%"===n?"{"!==t[r]&&(text+=n):text+=n}return text&&e.push({type:"text",value:text}),e}(t),this._caches[t]=r),function(t,e){var r=[],n=0,o=Array.isArray(e)?"list":jo(e)?"named":"unknown";if("unknown"===o)return r;for(;n<t.length;){var l=t[n];switch(l.type){case"text":r.push(l.value);break;case"list":r.push(e[parseInt(l.value,10)]);break;case"named":"named"===o&&r.push(e[l.value])}n++}return r}(r,e)};var ha=/^(?:\d)+/,da=/^(?:\w)+/;var fa=[];fa[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},fa[1]={ws:[1],".":[2],"[":[4],eof:[7]},fa[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},fa[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},fa[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},fa[5]={"'":[4,0],eof:8,else:[5,0]},fa[6]={'"':[4,0],eof:8,else:[6,0]};var pa=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ma(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;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 ga(path){var t,e=path.trim();return("0"!==path.charAt(0)||!isNaN(path))&&(t=e,pa.test(t)?function(t){var a=t.charCodeAt(0);return a!==t.charCodeAt(t.length-1)||34!==a&&39!==a?t:t.slice(1,-1)}(e):"*"+e)}var va=function(){this._cache=Object.create(null)};va.prototype.parsePath=function(path){var t=this._cache[path];return t||(t=function(path){var t,e,r,n,o,l,c,h=[],d=-1,f=0,m=0,v=[];function y(){var t=path[d+1];if(5===f&&"'"===t||6===f&&'"'===t)return d++,r="\\"+t,v[0](),!0}for(v[1]=function(){void 0!==e&&(h.push(e),e=void 0)},v[0]=function(){void 0===e?e=r:e+=r},v[2]=function(){v[0](),m++},v[3]=function(){if(m>0)m--,f=4,v[0]();else{if(m=0,void 0===e)return!1;if(!1===(e=ga(e)))return!1;v[1]()}};null!==f;)if(d++,"\\"!==(t=path[d])||!y()){if(n=ma(t),8===(o=(c=fa[f])[n]||c.else||8))return;if(f=o[0],(l=v[o[1]])&&(r=void 0===(r=o[2])?t:r,!1===l()))return;if(7===f)return h}}(path),t&&(this._cache[path]=t)),t||[]},va.prototype.getPathValue=function(t,path){if(!jo(t))return null;var e=this.parsePath(path);if(0===e.length)return null;for(var r=e.length,n=t,i=0;i<r;){var o=n[e[i]];if(null==o)return null;n=o,i++}return n};var ya,ba=/<\/?[\w\s="/.':;#-\/]+>/,_a=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,wa=/^@(?:\.([a-zA-Z]+))?:/,Ta=/[()]/g,Sa={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ma=new ca,xa=function(t){var e=this;void 0===t&&(t={}),!ea&&"undefined"!=typeof window&&window.Vue&&la(window.Vue);var r=t.locale||"en-US",n=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},l=t.dateTimeFormats||t.datetimeFormats||{},c=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ma,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new va,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,r){var n=Object.getPrototypeOf(e);if(n&&n.getChoiceIndex)return n.getChoiceIndex.call(e,t,r);var o,l;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,r]):(o=t,l=r,o=Math.abs(o),2===l?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(t,r){return!(!t||!r)&&(!zo(e._path.getPathValue(t,r))||!!t[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:r,fallbackLocale:n,messages:o,dateTimeFormats:l,numberFormats:c})},ka={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}};xa.prototype._checkLocaleMessage=function(t,e,r){var n=function(t,e,r,o){if(qo(r))Object.keys(r).forEach((function(l){var c=r[l];qo(c)?(o.push(l),o.push("."),n(t,e,c,o),o.pop(),o.pop()):(o.push(l),n(t,e,c,o),o.pop())}));else if(No(r))r.forEach((function(r,l){qo(r)?(o.push("["+l+"]"),o.push("."),n(t,e,r,o),o.pop(),o.pop()):(o.push("["+l+"]"),n(t,e,r,o),o.pop())}));else if(Bo(r)){if(ba.test(r)){var l="Detected HTML in message '"+r+"' of keypath '"+o.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?Lo(l):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(l)}}};n(e,t,r,[])},xa.prototype._initVM=function(data){var t=ea.config.silent;ea.config.silent=!0,this._vm=new ea({data:data,__VUE18N__INSTANCE__:!0}),ea.config.silent=t},xa.prototype.destroyVM=function(){this._vm.$destroy()},xa.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},xa.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.delete(e));}(this._dataListeners,t)},xa.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e,r,n=(e=t._dataListeners,r=[],e.forEach((function(a){return r.push(a)})),r),i=n.length;i--;)ea.nextTick((function(){n[i]&&n[i].$forceUpdate()}))}),{deep:!0})},xa.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,r=this._vm;return this.vm.$watch("locale",(function(n){r.$set(r,"locale",n),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=n),r.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){n.$set(n,"locale",t),n.$forceUpdate()}),{immediate:!0})},xa.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},ka.vm.get=function(){return this._vm},ka.messages.get=function(){return Ho(this._getMessages())},ka.dateTimeFormats.get=function(){return Ho(this._getDateTimeFormats())},ka.numberFormats.get=function(){return Ho(this._getNumberFormats())},ka.availableLocales.get=function(){return Object.keys(this.messages).sort()},ka.locale.get=function(){return this._vm.locale},ka.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},ka.fallbackLocale.get=function(){return this._vm.fallbackLocale},ka.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},ka.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ka.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},ka.missing.get=function(){return this._missing},ka.missing.set=function(t){this._missing=t},ka.formatter.get=function(){return this._formatter},ka.formatter.set=function(t){this._formatter=t},ka.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ka.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},ka.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ka.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},ka.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ka.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},ka.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ka.warnHtmlInMessage.set=function(t){var e=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,r!==t&&("warn"===t||"error"===t)){var n=this._getMessages();Object.keys(n).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,n[t])}))}},ka.postTranslation.get=function(){return this._postTranslation},ka.postTranslation.set=function(t){this._postTranslation=t},ka.sync.get=function(){return this._sync},ka.sync.set=function(t){this._sync=t},xa.prototype._getMessages=function(){return this._vm.messages},xa.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},xa.prototype._getNumberFormats=function(){return this._vm.numberFormats},xa.prototype._warnDefault=function(t,e,r,n,o,l){if(!zo(r))return r;if(this._missing){var c=this._missing.apply(null,[t,e,n,o]);if(Bo(c))return c}else 0;if(this._formatFallbackMessages){var h=$o.apply(void 0,o);return this._render(e,l,h.params,e)}return e},xa.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:zo(t))&&!zo(this._root)&&this._fallbackRoot},xa.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},xa.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},xa.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},xa.prototype._interpolate=function(t,e,r,n,o,l,c){if(!e)return null;var h,d=this._path.getPathValue(e,r);if(No(d)||qo(d))return d;if(zo(d)){if(!qo(e))return null;if(!Bo(h=e[r])&&!Vo(h))return null}else{if(!Bo(d)&&!Vo(d))return null;h=d}return Bo(h)&&(h.indexOf("@:")>=0||h.indexOf("@.")>=0)&&(h=this._link(t,e,h,n,"raw",l,c)),this._render(h,o,l,r)},xa.prototype._link=function(t,e,r,n,o,l,c){var h=r,d=h.match(_a);for(var f in d)if(d.hasOwnProperty(f)){var link=d[f],m=link.match(wa),v=m[0],y=m[1],_=link.replace(v,"").replace(Ta,"");if(Wo(c,_))return h;c.push(_);var w=this._interpolate(t,e,_,n,"raw"===o?"string":o,"raw"===o?void 0:l,c);if(this._isFallbackRoot(w)){if(!this._root)throw Error("unexpected error");var T=this._root.$i18n;w=T._translate(T._getMessages(),T.locale,T.fallbackLocale,_,n,o,l)}w=this._warnDefault(t,_,w,n,No(l)?l:[l],o),this._modifiers.hasOwnProperty(y)?w=this._modifiers[y](w):Sa.hasOwnProperty(y)&&(w=Sa[y](w)),c.pop(),h=w?h.replace(link,w):h}return h},xa.prototype._createMessageContext=function(t,e,path,r){var n=this,o=No(t)?t:[],l=jo(t)?t:{},c=this._getMessages(),h=this.locale;return{list:function(t){return o[t]},named:function(t){return l[t]},values:t,formatter:e,path:path,messages:c,locale:h,linked:function(t){return n._interpolate(h,c[h]||{},t,null,r,void 0,[t])}}},xa.prototype._render=function(t,e,r,path){if(Vo(t))return t(this._createMessageContext(r,this._formatter||Ma,path,e));var n=this._formatter.interpolate(t,r,path);return n||(n=Ma.interpolate(t,r,path)),"string"!==e||Bo(n)?n:n.join("")},xa.prototype._appendItemToChain=function(t,e,r){var n=!1;return Wo(t,e)||(n=!0,e&&(n="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),r&&r[e]&&(n=r[e]))),n},xa.prototype._appendLocaleToChain=function(t,e,r){var n,o=e.split("-");do{var l=o.join("-");n=this._appendItemToChain(t,l,r),o.splice(-1,1)}while(o.length&&!0===n);return n},xa.prototype._appendBlockToChain=function(t,e,r){for(var n=!0,i=0;i<e.length&&"boolean"==typeof n;i++){var o=e[i];Bo(o)&&(n=this._appendLocaleToChain(t,o,r))}return n},xa.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var r=this._localeChainCache[t];if(!r){e||(e=this.fallbackLocale),r=[];for(var n,o=[t];No(o);)o=this._appendBlockToChain(r,o,e);(o=Bo(n=No(e)?e:jo(e)?e.default?e.default:null:e)?[n]:n)&&this._appendBlockToChain(r,o,null),this._localeChainCache[t]=r}return r},xa.prototype._translate=function(t,e,r,n,o,l,c){for(var h,d=this._getLocaleChain(e,r),i=0;i<d.length;i++){var f=d[i];if(!zo(h=this._interpolate(f,t[f],n,o,l,c,[n])))return h}return null},xa.prototype._t=function(t,e,r,n){for(var o,l=[],c=arguments.length-4;c-- >0;)l[c]=arguments[c+4];if(!t)return"";var h,d=$o.apply(void 0,l);this._escapeParameterHtml&&(d.params=(null!=(h=d.params)&&Object.keys(h).forEach((function(t){"string"==typeof h[t]&&(h[t]=h[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),h));var f=d.locale||e,m=this._translate(r,f,this.fallbackLocale,t,n,"string",d.params);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(l))}return m=this._warnDefault(f,t,m,n,l,"string"),this._postTranslation&&null!=m&&(m=this._postTranslation(m,t)),m},xa.prototype.t=function(t){for(var e,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(r))},xa.prototype._i=function(t,e,r,n,o){var l=this._translate(r,e,this.fallbackLocale,t,n,"raw",o);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,l,n,[o],"raw")},xa.prototype.i=function(t,e,r){return t?(Bo(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,r)):""},xa.prototype._tc=function(t,e,r,n,o){for(var l,c=[],h=arguments.length-5;h-- >0;)c[h]=arguments[h+5];if(!t)return"";void 0===o&&(o=1);var d={count:o,n:o},f=$o.apply(void 0,c);return f.params=Object.assign(d,f.params),c=null===f.locale?[f.params]:[f.locale,f.params],this.fetchChoice((l=this)._t.apply(l,[t,e,r,n].concat(c)),o)},xa.prototype.fetchChoice=function(t,e){if(!t||!Bo(t))return null;var r=t.split("|");return r[e=this.getChoiceIndex(e,r.length)]?r[e].trim():t},xa.prototype.tc=function(t,e){for(var r,n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];return(r=this)._tc.apply(r,[t,this.locale,this._getMessages(),null,e].concat(n))},xa.prototype._te=function(t,e,r){for(var n=[],o=arguments.length-3;o-- >0;)n[o]=arguments[o+3];var l=$o.apply(void 0,n).locale||e;return this._exist(r[l],t)},xa.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},xa.prototype.getLocaleMessage=function(t){return Ho(this._vm.messages[t]||{})},xa.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},xa.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,Ko(void 0!==this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},xa.prototype.getDateTimeFormat=function(t){return Ho(this._vm.dateTimeFormats[t]||{})},xa.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},xa.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,Ko(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},xa.prototype._clearDateTimeFormat=function(t,e){for(var r in e){var n=t+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},xa.prototype._localizeDateTime=function(t,e,r,n,o,l){for(var c=e,h=n[c],d=this._getLocaleChain(e,r),i=0;i<d.length;i++){var f=d[i];if(c=f,!zo(h=n[f])&&!zo(h[o]))break}if(zo(h)||zo(h[o]))return null;var m,v=h[o];if(l)m=new Intl.DateTimeFormat(c,Object.assign({},v,l));else{var y=c+"__"+o;(m=this._dateTimeFormatters[y])||(m=this._dateTimeFormatters[y]=new Intl.DateTimeFormat(c,v))}return m.format(t)},xa.prototype._d=function(t,e,r,n){if(!r)return(n?new Intl.DateTimeFormat(e,n):new Intl.DateTimeFormat(e)).format(t);var o=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),r,n);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,r,e)}
2return o||""},xa.prototype.d=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var n=this.locale,o=null,l=null;return 1===e.length?(Bo(e[0])?o=e[0]:jo(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(o=e[0].key)),l=Object.keys(e[0]).reduce((function(t,r){var n;return Wo(Do,r)?Object.assign({},t,((n={})[r]=e[0][r],n)):t}),null)):2===e.length&&(Bo(e[0])&&(o=e[0]),Bo(e[1])&&(n=e[1])),this._d(t,n,o,l)},xa.prototype.getNumberFormat=function(t){return Ho(this._vm.numberFormats[t]||{})},xa.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},xa.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,Ko(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},xa.prototype._clearNumberFormat=function(t,e){for(var r in e){var n=t+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},xa.prototype._getNumberFormatter=function(t,e,r,n,o,l){for(var c=e,h=n[c],d=this._getLocaleChain(e,r),i=0;i<d.length;i++){var f=d[i];if(c=f,!zo(h=n[f])&&!zo(h[o]))break}if(zo(h)||zo(h[o]))return null;var m,v=h[o];if(l)m=new Intl.NumberFormat(c,Object.assign({},v,l));else{var y=c+"__"+o;(m=this._numberFormatters[y])||(m=this._numberFormatters[y]=new Intl.NumberFormat(c,v))}return m},xa.prototype._n=function(t,e,r,n){if(!xa.availabilities.numberFormat)return"";if(!r)return(n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e)).format(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),r,n),l=o&&o.format(t);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:r,locale:e},n))}return l||""},xa.prototype.n=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var n=this.locale,o=null,l=null;return 1===e.length?Bo(e[0])?o=e[0]:jo(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(o=e[0].key),l=Object.keys(e[0]).reduce((function(t,r){var n;return Wo(Ro,r)?Object.assign({},t,((n={})[r]=e[0][r],n)):t}),null)):2===e.length&&(Bo(e[0])&&(o=e[0]),Bo(e[1])&&(n=e[1])),this._n(t,n,o,l)},xa.prototype._ntp=function(t,e,r,n){if(!xa.availabilities.numberFormat)return[];if(!r)return(n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e)).formatToParts(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),r,n),l=o&&o.formatToParts(t);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,r,n)}return l||[]},Object.defineProperties(xa.prototype,ka),Object.defineProperty(xa,"availabilities",{get:function(){if(!ya){var t="undefined"!=typeof Intl;ya={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return ya}}),xa.install=la,xa.version="8.28.2";var Ea=xa;function Oa(t,e,r){"object"==typeof r.value&&(r.value=Ca(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==e?t[e]=r.value:Object.defineProperty(t,e,r)}function Ca(t){if("object"!=typeof t)return t;var e,r,n,i=0,o=Object.prototype.toString.call(t);if("[object Object]"===o?n=Object.create(t.__proto__||null):"[object Array]"===o?n=Array(t.length):"[object Set]"===o?(n=new Set,t.forEach((function(t){n.add(Ca(t))}))):"[object Map]"===o?(n=new Map,t.forEach((function(t,e){n.set(Ca(e),Ca(t))}))):"[object Date]"===o?n=new Date(+t):"[object RegExp]"===o?n=new RegExp(t.source,t.flags):"[object DataView]"===o?n=new t.constructor(Ca(t.buffer)):"[object ArrayBuffer]"===o?n=t.slice(0):"Array]"===o.slice(-6)&&(n=new t.constructor(t)),n){for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)Oa(n,r[i],Object.getOwnPropertyDescriptor(t,r[i]));for(i=0,r=Object.getOwnPropertyNames(t);i<r.length;i++)Object.hasOwnProperty.call(n,e=r[i])&&n[e]===t[e]||Oa(n,e,Object.getOwnPropertyDescriptor(t,e))}return n||t}var Aa=r(94);r(748),r(755),r(756),r(758),r(759),r(760),r(761),r(763),r(764),r(765),r(766),r(767),r(768),r(769),r(205);function Ia(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function Pa(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?Ia(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Ia(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function Ra(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Da(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Da(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function Da(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function La(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.addDirAttribute,r=void 0!==e&&e,n=t.addSeoAttributes,o=void 0!==n&&n;if(!this.$i18n)return{};var l={htmlAttrs:{},link:[],meta:[]},c=this.$i18n.localeProperties,h=c.iso,f=c.dir||Wn.defaultDirection;if(r&&(l.htmlAttrs.dir=f),o&&(d.a.hasMetaInfo?d.a.hasMetaInfo(this):this._hasMetaInfo)&&this.$i18n.locale&&this.$i18n.locales){h&&(l.htmlAttrs.lang=h);var m=this.$i18n.locales;(function(t,e,link){if(Wn.strategy===$n.STRATEGIES.NO_PREFIX)return;var r,n=new Map,o=Ra(t);try{for(o.s();!(r=o.n()).done;){var l=r.value,c=l.iso;if(c){var h=c.split("-"),d=Object(ct.a)(h,2),f=d[0],m=d[1];f&&m&&(l.isCatchallLocale||!n.has(f))&&n.set(f,l),n.set(c,l)}else console.warn(Zn("Locale ISO code is required to generate alternate link"))}}catch(t){o.e(t)}finally{o.f()}var v,_=Ra(n.entries());try{for(_.s();!(v=_.n()).done;){var w=Object(ct.a)(v.value,2),T=w[0],S=w[1],M=this.switchLocalePath(S.code);M&&link.push({hid:"i18n-alt-".concat(T),rel:"alternate",href:y(M,e),hreflang:T})}}catch(t){_.e(t)}finally{_.f()}if(Wn.defaultLocale){var x=this.switchLocalePath(Wn.defaultLocale);x&&link.push({hid:"i18n-xd",rel:"alternate",href:y(x,e),hreflang:"x-default"})}}).bind(this)(m,this.$i18n.__baseUrl,l.link),function(t,link,e){var r=this.localeRoute(Pa(Pa({},this.$route),{},{name:this.getRouteBaseName()}));if(r){var n=y(r.path,t),o="boolean"!=typeof e&&e.canonicalQueries||[];if(o.length){var l,c=r.query,h=new URLSearchParams,d=Ra(o);try{var f=function(){var t=l.value;if(t in c){var e=c[t];Array.isArray(e)?e.forEach((function(e){return h.append(t,e||"")})):h.append(t,e||"")}};for(d.s();!(l=d.n()).done;)f()}catch(t){d.e(t)}finally{d.f()}var m=h.toString();m&&(n="".concat(n,"?").concat(m))}link.push({hid:"i18n-can",rel:"canonical",href:n})}}.bind(this)(this.$i18n.__baseUrl,l.link,o),function(t,e,meta){var r=t&&e;if(!r)return;meta.push({hid:"i18n-og",property:"og:locale",content:v(e)})}.bind(this)(c,h,l.meta),function(t,e,meta){var r=t.filter((function(t){var r=t.iso;return r&&r!==e}));if(r.length){var n=r.map((function(t){return{hid:"i18n-og-alt-".concat(t.iso),property:"og:locale:alternate",content:v(t.iso)}}));meta.push.apply(meta,Object(Aa.a)(n))}}.bind(this)(m,h,l.meta)}function v(t){return(t||"").replace(/-/g,"_")}function y(t,e){return t.match(/^https?:\/\//)?t:e+t}return l}function Na(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return ja(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ja(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function ja(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}c.default.use(Ea);var Ba=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var r,n,l,h,d,f,m,v,y,_,w,T,S,M,x,k,E,O,C,A,I,P,R,D,L,N,j,B,F,U,z,V,$,H,W,G,Q,K,X,Y;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.app,n=e.route,l=e.store,h=e.req,e.res,d=e.redirect,Wn.vuex&&l&&po(l,Wn.vuex,Wn.localeCodes),f=Wn.lazy,f&&(!0===f||!0!==f.skipNuxtState),t.next=9;break;case 7:m=t.sent.default,e.beforeNuxtRender((function(t){var e=t.nuxtState,n={},o=r.i18n,l=o.fallbackLocale,c=o.locale;if(c&&c!==l){var h=r.i18n._getMessages()[c];if(h)try{m(h),n[c]=h}catch(t){}}e.__i18n={langs:n}}));case 9:if(v=Wn.detectBrowserLanguage,y=v.alwaysRedirect,_=v.fallbackLocale,w=v.redirectOn,T=v.useCookie,S=v.cookieAge,M=v.cookieKey,x=v.cookieDomain,k=v.cookieSecure,E=v.cookieCrossOrigin,O=ro(Wn.localeCodes,{routesNameSeparator:Wn.routesNameSeparator,defaultLocaleRouteNameSuffix:Wn.defaultLocaleRouteNameSuffix}),C=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n){var o,l,h,f,m,v,y,_,w,S,M,x,k,E,C,A,I,P,R=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=(R.length>1&&void 0!==R[1]?R[1]:{}).initialSetup,l=void 0!==o&&o,n){t.next=3;break}return t.abrupt("return");case 3:if(l||!r.i18n.differentDomains){t.next=5;break}return t.abrupt("return");case 5:if(h=r.i18n.locale,n!==h){t.next=8;break}return t.abrupt("return");case 8:if(!(f=r.i18n.onBeforeLanguageSwitch(h,n,l,e))||!r.i18n.localeCodes.includes(f)){t.next=13;break}if(f!==h){t.next=12;break}return t.abrupt("return");case 12:n=f;case 13:if(T&&r.i18n.setLocaleCookie(n),!Wn.langDir){t.next=30;break}if(m=r.i18n.fallbackLocale,!Wn.lazy){t.next=26;break}if(!m){t.next=22;break}return v=[],Array.isArray(m)?v=m.map((function(t){return lo(e,t)}
2)):"object"===Object(En.a)(m)?(m[n]&&(v=v.concat(m[n].map((function(t){return lo(e,t)})))),m.default&&(v=v.concat(m.default.map((function(t){return lo(e,t)}))))):n!==m&&v.push(lo(e,m)),t.next=22,Promise.all(v);case 22:return t.next=24,lo(e,n);case 24:t.next=28;break;case 26:return t.next=28,Promise.all(Wn.localeCodes.map((function(t){return lo(e,t)})));case 28:t.next=31;break;case 30:mo(r.i18n,Wn.additionalMessages,Wn.localeCodes);case 31:for(r.i18n.locale=n,y=Wn.normalizedLocales.find((function(t){return t.code===n}))||{code:n},_=0,w=Object.keys(r.i18n.localeProperties);_<w.length;_++)S=w[_],r.i18n.localeProperties[S]=void 0;for(M=0,x=Object.entries(y);M<x.length;M++)k=Object(ct.a)(x[M],2),E=k[0],C=k[1],c.default.set(r.i18n.localeProperties,E,Ca(C));A=e.route,I="",!1,r.i18n.differentDomains||Wn.strategy===$n.STRATEGIES.NO_PREFIX||O(A)===n&&(Wn.strategy!==$n.STRATEGIES.PREFIX_AND_DEFAULT||n!==Wn.defaultLocale)||!(P=r.switchLocalePath(n)||r.localePath(A.fullPath,n))||Object(Vn.isEqual)(P,A.fullPath)||P.startsWith("//")||(I=P),l?r.i18n.__redirect=I:(r.i18n.onLanguageSwitched(h,n),I&&d(I));case 40:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n){var o,path,l,c,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/"!==n.path||!Wn.rootRedirect){t.next=5;break}return o=302,path=Wn.rootRedirect,"string"!=typeof Wn.rootRedirect&&(o=Wn.rootRedirect.statusCode,path=Wn.rootRedirect.path),t.abrupt("return",[o,"/".concat(path),!0]);case 5:if(!(l=r.i18n.__redirect)){t.next=9;break}return r.i18n.__redirect=null,t.abrupt("return",[302,l]);case 9:if(c={differentDomains:Wn.differentDomains,normalizedLocales:Wn.normalizedLocales},r.i18n.__baseUrl=ho(Wn.baseUrl,e,r.i18n.locale,c),h=Wn.detectBrowserLanguage&&D(n)||!Wn.differentDomains&&Wn.strategy!==$n.STRATEGIES.NO_PREFIX&&O(n)||r.i18n.locale||r.i18n.defaultLocale||"",!Wn.skipSettingLocaleOnNavigate){t.next=17;break}r.i18n.__pendingLocale=h,r.i18n.__pendingLocalePromise=new Promise((function(t){r.i18n.__resolvePendingLocalePromise=t})),t.next=19;break;case 17:return t.next=19,r.i18n.setLocale(h);case 19:return t.abrupt("return",[null,null]);case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r.i18n.__pendingLocale){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,r.i18n.setLocale(r.i18n.__pendingLocale);case 4:r.i18n.__resolvePendingLocalePromise(""),r.i18n.__pendingLocale=null;case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),P=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.i18n.__pendingLocale){t.next=3;break}return t.next=3,r.i18n.__pendingLocalePromise;case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),R=function(){return"undefined"!=typeof navigator&&navigator.languages?Jn(Wn.normalizedLocales,navigator.languages):h&&void 0!==h.headers["accept-language"]?Jn(Wn.normalizedLocales,h.headers["accept-language"].split(",").map((function(t){return t.split(";")[0]}))):void 0},D=function(t){if(Wn.strategy!==$n.STRATEGIES.NO_PREFIX)if(w===$n.REDIRECT_ON_OPTIONS.ROOT){if("/"!==t.path)return""}else if(w===$n.REDIRECT_ON_OPTIONS.NO_PREFIX&&!y&&t.path.match(eo(Wn.localeCodes)))return"";var e;T&&(e=r.i18n.getLocaleCookie())||(e=R());var n=e||_;return!n||T&&!y&&r.i18n.getLocaleCookie()||n===r.i18n.locale?"":n},L=function(t){t.locales=Ca(Wn.locales),t.localeCodes=Ca(Wn.localeCodes),t.localeProperties=c.default.observable(Ca(Wn.normalizedLocales.find((function(e){return e.code===t.locale}))||{code:t.locale})),t.defaultLocale=Wn.defaultLocale,t.differentDomains=Wn.differentDomains,t.onBeforeLanguageSwitch=Wn.onBeforeLanguageSwitch,t.onLanguageSwitched=Wn.onLanguageSwitched,t.setLocaleCookie=function(t){return no(t,0,{useCookie:T,cookieAge:S,cookieDomain:x,cookieKey:M,cookieSecure:k,cookieCrossOrigin:E})},t.getLocaleCookie=function(){return io(0,{useCookie:T,cookieKey:M,localeCodes:Wn.localeCodes})},t.setLocale=function(t){return C(t)},t.getBrowserLocale=function(){return R()},t.finalizePendingLocaleChange=I,t.waitForPendingLocaleChange=P,t.__baseUrl=r.i18n.__baseUrl,t.__pe
2ndingLocale=r.i18n.__pendingLocale,t.__pendingLocalePromise=r.i18n.__pendingLocalePromise,t.__resolvePendingLocalePromise=r.i18n.__resolvePendingLocalePromise},"function"!=typeof Wn.vueI18n){t.next=24;break}return t.next=21,Wn.vueI18n(e);case 21:t.t0=t.sent,t.next=25;break;case 24:t.t0=Ca(Wn.vueI18n);case 25:if((N=t.t0).componentInstanceCreatedListener=L,r.i18n=e.i18n=new Ea(N),r.i18n.locale="",r.i18n.fallbackLocale=N.fallbackLocale||"",l&&(l.$i18n=r.i18n,l.state.localeDomains)){j=Na(Wn.normalizedLocales.entries());try{for(j.s();!(B=j.n()).done;)F=Object(ct.a)(B.value,2),U=F[0],z=F[1],(V=l.state.localeDomains[z.code])&&(z.domain=V,"string"!=typeof($=Wn.locales[U])&&($.domain=V))}catch(t){j.e(t)}finally{j.f()}}return L(r.i18n),H={differentDomains:Wn.differentDomains,normalizedLocales:Wn.normalizedLocales},r.i18n.__baseUrl=ho(Wn.baseUrl,e,"",H),r.i18n.__onNavigate=A,c.default.prototype.$nuxtI18nHead=La,(W=Wn.detectBrowserLanguage?D(n):"")||(r.i18n.differentDomains?(G=to(Wn.normalizedLocales),W=G):Wn.strategy!==$n.STRATEGIES.NO_PREFIX&&(Q=O(n),W=Q)),!W&&T&&(W=r.i18n.getLocaleCookie()),W||(W=r.i18n.defaultLocale||""),t.next=42,C(W,{initialSetup:!0});case 42:if(!Hn.isUniversalMode){t.next=50;break}return t.next=45,A(e.route);case 45:K=t.sent,X=Object(ct.a)(K,2),X[0],(Y=X[1])&&location.assign(Object(Vn.joinURL)(e.base,Y));case 50:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function Fa(t){return!0==(null!=(e=t)&&"object"==typeof e&&!1===Array.isArray(e))&&"[object Object]"===Object.prototype.toString.call(t);var e}var Ua=function(t){var e,r;return!1!==Fa(t)&&("function"==typeof(e=t.constructor)&&(!1!==Fa(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))},qa=r(178),za=function(t,e){return{classification:t,component:"FormulateInput"+(e||t[0].toUpperCase()+t.substr(1))}},Va=Object.assign({},["text","email","number","color","date","hidden","month","password","search","tel","time","url","week","datetime-local"].reduce((function(t,e){var r;return Object.assign({},t,((r={})[e]=za("text"),r))}),{}),{range:za("slider"),textarea:za("textarea","TextArea"),checkbox:za("box"),radio:za("box"),submit:za("button"),button:za("button"),select:za("select"),file:za("file"),image:za("file"),group:za("group")});function $a(t,e){var r={};for(var n in t)r[n]=e(n,t[n]);return r}function Ha(t,e,r){if(void 0===r&&(r=!1),t===e)return!0;if(!t||!e)return!1;if("object"!=typeof t&&"object"!=typeof e)return t===e;var n=Object.keys(t),i=Object.keys(e),s=n.length;if(i.length!==s)return!1;for(var a=0;a<s;a++){var o=n[a];if(!r&&t[o]!==e[o]||r&&!Ha(t[o],e[o],r))return!1}return!0}function Wa(t){return"string"==typeof t?t.replace(/([_-][a-z0-9])/gi,(function(e){return 0===t.indexOf(e)||/[_-]/.test(t[t.indexOf(e)-1])?e:e.toUpperCase().replace(/[_-]/,"")})):t}function a(t){return"string"==typeof t?t[0].toUpperCase()+t.substr(1):t}function Ga(t){return t?"string"==typeof t?[t]:Array.isArray(t)?t:"object"==typeof t?Object.values(t):[]:[]}function u(t,e){return"string"==typeof t?u(t.split("|"),e):Array.isArray(t)?t.map((function(t){return function(t,e){if("function"==typeof t)return[t,[]];if(Array.isArray(t)&&t.length){var r=Qa((t=t.map((function(t){return t}))).shift()),n=r[0],i=r[1];if("string"==typeof n&&e.hasOwnProperty(n))return[e[n],t,n,i];if("function"==typeof n)return[n,t,n,i]}if("string"==typeof t&&t){var o=t.split(":"),s=Qa(o.shift()),a=s[0],l=s[1];if(e.hasOwnProperty(a))return[e[a],o.length?o.join(":").split(","):[],a,l];throw new Error("Unknown validation rule "+t)}return!1}(t,e)})).filter((function(t){return!!t})):[]}function Qa(t){return/^[\^]/.test(t.charAt(0))?[Wa(t.substr(1)),t.charAt(0)]:[Wa(t),null]}function Ka(t){switch(typeof t){case"symbol":case"number":case"string":case"boolean":case"undefined":return!0;default:return null===t}}function Xa(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ya(t,e){return!Xa(t,"__id")||e?Object.defineProperty(t,"__id",Object.assign(Object.create(null),{value:e||ts(9)})):t}function Za(t){return"number"!=typeof t&&(void 0===t||""===t||null===t||!1===t||Array.isArray(t)&&!t.some((function(t){return!Za(t)}))||t&&!Array.isArray(t)&&"object"==typeof t&&Za(Object.values(t)))}function Ja(t,e){return Object.keys(t).reduce((function(r,n){var i=Wa(n);return e.includes(i)&&(r[i]=t[n]),r}),{})}function ts(t){return void 0===t&&(t=13),Math.random().toString(36).substring(2,t+2)}var es=/^(?:\w+:)?\/\/(\S+)$/,rs=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,g=/^[^\s.]+\.\S{2,}$/,b=function(t,e,r){void 0===r&&(r={}),this.input=t,this.fileList=t.files,this.files=[],this.options=Object.assign({},{mimes:{}},r),this.results=!1,this.context=e,this.dataTransferCheck(),e&&e.uploadUrl&&(this.options.uploadUrl=e.uploadUrl),this.uploadPromise=null,Array.isArray(this.fileList)?this.rehydrateFileList(this.fileList):this.addFileList(this.fileList)};b.prototype.rehydrateFileList=function(t){var e=this,r=t.reduce((function(t,r){var n=r[e.options?e.options.fileUrlKey:"url"],i=!(!n||-1===n.lastIndexOf("."))&&n.substr(n.lastIndexOf(".")+1),o=e.options.mimes[i]||!1;return t.push(Object.assign({},r,n?{name:r.name||n.substr(n.lastIndexOf("/")+1||0),type:r.type?r.type:o,previewData:n}:{})),t}),[]);this.addFileList(r),this.results=this.mapUUID(t)},b.prototype.addFileList=function(t){for(var e=this,r=function(r){var n=t[r],i=ts();e.files.push({progress:!1,error:!1,complete:!1,justFinished:!1,name:n.name||"file-upload",file:n,uuid:i,path:!1,removeFile:function(){this.removeFile(i)}.bind(e),previewData:n.previewData||!1})},n=0;n<t.length;n++)r(n)},b.prototype.hasUploader=function(){return!!this.context.uploader},b.prototype.uploaderIsAxios=function(){return!(!this.hasUploader()||"function"!=typeof this.context.uploader.request||"function"!=typeof this.context.uploader.get||"function"!=typeof this.context.uploader.delete||"function"!=typeof this.context.uploader.post)},b.prototype.getUploader=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];if(this.uploaderIsAxios()){var n=new FormData;if(n.append(this.context.name||"file",e[0]),!1===this.context.uploadUrl)throw new Error("No uploadURL specified: https://vueformulate.com/guide/inputs
2/file/#props");return this.context.uploader.post(this.context.uploadUrl,n,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(t){e[1](Math.round(100*t.loaded/t.total))}}).then((function(t){return t.data})).catch((function(t){return e[2](t)}))}return(t=this.context).uploader.apply(t,e)},b.prototype.upload=function(){var t=this;return this.uploadPromise=this.uploadPromise?this.uploadPromise.then((function(){return t.__performUpload()})):this.__performUpload(),this.uploadPromise},b.prototype.__performUpload=function(){var t=this;return new Promise((function(e,r){if(!t.hasUploader())return r(new Error("No uploader has been defined"));Promise.all(t.files.map((function(e){return e.error=!1,e.complete=!!e.path,e.path?Promise.resolve(e.path):t.getUploader(e.file,(function(r){e.progress=r,t.context.rootEmit("file-upload-progress",r),r>=100&&(e.complete||(e.justFinished=!0,setTimeout((function(){e.justFinished=!1}),t.options.uploadJustCompleteDuration)),e.complete=!0,t.context.rootEmit("file-upload-complete",e))}),(function(n){e.progress=0,e.error=n,e.complete=!0,t.context.rootEmit("file-upload-error",n),r(n)}),t.options)}))).then((function(r){t.results=t.mapUUID(r),e(r)})).catch((function(t){throw new Error(t)}))}))},b.prototype.removeFile=function(t){var e=this.files.length;if(this.files=this.files.filter((function(e){return e&&e.uuid!==t})),Array.isArray(this.results)&&(this.results=this.results.filter((function(e){return e&&e.__id!==t}))),this.context.performValidation(),window&&this.fileList instanceof FileList&&this.supportsDataTransfers){var r=new DataTransfer;this.files.forEach((function(t){return r.items.add(t.file)})),this.fileList=r.files,this.input.files=this.fileList}else this.fileList=this.fileList.filter((function(e){return e&&e.__id!==t}));e>this.files.length&&this.context.rootEmit("file-removed",this.files)},b.prototype.mergeFileList=function(t){if(this.addFileList(t.files),this.supportsDataTransfers){var e=new DataTransfer;this.files.forEach((function(t){t.file instanceof File&&e.items.add(t.file)})),this.fileList=e.files,this.input.files=this.fileList,t.files=(new DataTransfer).files}this.context.performValidation(),this.loadPreviews(),"delayed"!==this.context.uploadBehavior&&this.upload()},b.prototype.loadPreviews=function(){this.files.map((function(t){if(!t.previewData&&window&&window.FileReader&&/^image\//.test(t.file.type)){var e=new FileReader;e.onload=function(e){return Object.assign(t,{previewData:e.target.result})},e.readAsDataURL(t.file)}}))},b.prototype.dataTransferCheck=function(){try{new DataTransfer,this.supportsDataTransfers=!0}catch(t){this.supportsDataTransfers=!1}},b.prototype.getFiles=function(){return this.files},b.prototype.mapUUID=function(t){var e=this;return t.map((function(t,r){return e.files[r].path=void 0!==t&&t,t&&Ya(t,e.files[r].uuid)}))},b.prototype.toString=function(){var t=this.files.length?this.files.length+" files":"empty";return this.results?JSON.stringify(this.results,null,"  "):"FileUpload("+t+")"};var is,ns={accepted:function(t){var e=t.value;return Promise.resolve(["yes","on","1",1,!0,"true"].includes(e))},after:function(t,e){var r=t.value;void 0===e&&(e=!1);var n=Date.parse(e||new Date),i=Date.parse(r);return Promise.resolve(!isNaN(i)&&i>n)},alpha:function(t,e){var r=t.value;void 0===e&&(e="default");var n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,latin:/^[a-zA-Z]+$/},i=n.hasOwnProperty(e)?e:"default";return Promise.resolve(n[i].test(r))},alphanumeric:function(t,e){var r=t.value;void 0===e&&(e="default");var n={default:/^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,latin:/^[a-zA-Z0-9]+$/},i=n.hasOwnProperty(e)?e:"default";return Promise.resolve(n[i].test(r))},before:function(t,e){var r=t.value;void 0===e&&(e=!1);var n=Date.parse(e||new Date),i=Date.parse(r);return Promise.resolve(!isNaN(i)&&i<n)},between:function(t,e,r,n){var i=t.value;return void 0===e&&(e=0),void 0===r&&(r=10),Promise.resolve(null!==e&&null!==r&&!isNaN(e)&&!isNaN(r)&&(!isNaN(i)&&"length"!==n||"value"===n?(i=Number(i),e=Number(e),r=Number(r),i>e&&i<r):("string"==typeof i||"length"===n)&&(i=isNaN(i)?i:i.toString()).length>e&&i.length<r))},confirm:function(t,e){var r,n,i=t.value,o=t.getGroupValues,s=t.name;return Promise.resolve((r=o(),(n=e)||(n=/_confirm$/.test(s)?s.substr(0,s.length-8):s+"_confirm"),r[n]===i))},date:function(t,e){var r=t.value;return void 0===e&&(e=!1),Promise.resolve(e&&"string"==typeof e?function(t){var e="^"+t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"$",r={MM:"(0[1-9]|1[012])",M:"([1-9]|1[012])",DD:"([012][0-9]|3[01])",D:"([012]?[0-9]|3[01])",YYYY:"\\d{4}",YY:"\\d{2}"};return new RegExp(Object.keys(r).reduce((function(t,e){return t.replace(e,r[e])}),e))}(e).test(r):!isNaN(Date.parse(r)))},email:function(t){var e=t.value;return Promise.resolve(/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(e))},endsWith:function(t){for(var e=t.value,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Promise.resolve("string"==typeof e&&r.length?void 0!==r.find((function(t){return e.endsWith(t)})):"string"==typeof e&&0===r.length)},in:function(t){for(var e=t.value,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Promise.resolve(void 0!==r.find((function(t){return"object"==typeof t?Ha(t,e):t===e})))},matches:function(t){for(var e=t.value,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Promise.resolve(!!r.find((function(t){return"string"==typeof t&&"/"===t.substr(0,1)&&"/"===t.substr(-1)&&(t=new RegExp(t.substr(1,t.length-2))),t instanceof RegExp?t.test(e):t===e})))},mime:function(t){for(var e=t.value,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Promise.resolve(function(){if(e instanceof b)for(var t=e.getFiles(),n=0;n<t.length;n++){var i=t[n].file;if(!r.includes(i.type))return!1}return!0}())},min:function(t,e,r){var n=t.value;return void 0===e&&(e=1),Promise.resolve(Array.isArray(n)?(e=isNaN(e)?e:Number(e),n.length>=e):!isNaN(n)&&"length"!==r||"value"===r?(n=isNaN(n)?n:Number(n))>=e:("string"==typeof n||"length"===r)&&(n=isNaN(n)?n:n.toString()).length>=e)},max:function(t,e,r){var n=t.value;return void 0===e&&(e=10),Promise.resolve(Array.isArray(n)?(e=isNaN(e)?e:Number(e),n.length<=e):!isNaN(n)&&"length"!==r||"value"===r?(n=isNaN(n)?n:Number(n))<=e:("string"==typeof n||"length"===r)&&(n=isNaN(n)?n:n.toString()).length<=e)},not:function(t){for(var e=t.value,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Promise.resolve(void 0===r.find((function(t){return"object"==typeof t?Ha(t,e):t===e})))},number:function(t){var e=t.value;return Promise.resolve(!isNaN(e))},required:function(t,e){var r=t.value;return void 0===e&&(e="pre"),Promise.resolve(Array.isArray(r)?!!r.length:r instanceof b?r.getFiles().length>0:"string"==typeof r?"trim"===e?!!r.trim():!!r:"object"!=typeof r||!!r&&!!Object.keys(r).length)},startsWith:function(t){for(var e=t.value,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Promise.resolve("string"==typeof e&&r.length?void 0!==r.find((function(t){return e.startsWith(t)})):"string"==typeof e&&0===r.length)},url:function(t){var e=t.value;return Promise.resolve(function(t){if("string"!=typeof t)return!1;var e=t.match(es);if(!e)return!1;var r=e[1];return!(!r||!rs.test(r)&&!g.test(r))}(e))},bail:function(){return Promise.resolve(!0)},optional:function(t){var e=t.value;return Promise.resolve(!Za(e))}},os="image/",as={csv:"text/csv",gif:os+"gif",jpg:os+"jpeg",jpeg:os+"jpeg",png:os+"png",pdf:"application/pdf",svg:os+"svg+xml"},ss=["outer","wrapper","label","element","input","help","errors","error","decorator","rangeValue","uploadArea","uploadAreaMask","files","file","fileName","fileAdd","fileAddInput","fileRemove","fileProgress","fileUploadError","fileImagePreview","fileImagePreviewImage","fileProgressInner","grouping","groupRepeatable","groupRepeatableRemove","groupAddMore","form","formErrors","formError"],us={hasErrors:function(t){return t.hasErrors},hasValue:function(t){return t.hasValue},isValid:function(t){return t.isValid}},ls=(is=[""].concat(Object.keys(us).map((function(t){return a(t)}))),ss.reduce((function(t,e){return t.concat(is.reduce((function(t,r){return t.push(""+e+r+"Class"),t}),[]))}),[]));function cs(t,e,r){switch(typeof e){case"string":return e;case"function":return e(r,Ga(t));case"object":if(Array.isArray(e))return Ga(t).concat(e);default:return t}}function hs(t){return ss.reduce((function(e,r){var n;return Object.assign(e,((n={})[r]=function(t,e){var r=t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()})),n="formulate"+(["form","file"].includes(r.substr(0,4))?"":"-input")+(["decorator","range-value"].includes(r)?"-element":"")+("outer"!==r?"-"+r:"");return"input"===r?[]:[n].concat(function(t,e,r){var n=[];switch(e){case"label":n.push(t+"--"+r.labelPosition);break;case"element":var i="group"===r.classification?"group":r.type;n.push(t+"--"+i),"group"===i&&n.push("formulate-input-group");break;case"help":n.push(t+"--"+r.helpPosition);break;case"form":r.name&&n.push(t+"--"+r.name)}return n}(n,t,e))}(r,t),n))}),{})}function ds(t,e,r,n){return new Promise((function(r,i){var o=(n.fauxUploaderDuration||1500)*(.5+Math.random()),s=performance.now(),a=function(){return setTimeout((function(){var n=performance.now()-s,i=Math.min(100,Math.round(n/o*100));if(e(i),i>=100)return r({url:"http://via.placeholder.com/350x150.png",name:t.name});a()}),20)};a()}))}function fs(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}var ps={inheritAttrs:!1,functional:!0,render:function(t,e){for(var r=e.props,n=e.data,i=e.parent,o=e.children,s=i,a=(r.name,r.forceWrap),l=r.context,u=fs(r,["name","forceWrap","context"]);s&&"FormulateInput"!==s.$options.name;)s=s.$parent;if(!s)return null;if(s.$scopedSlots&&s.$scopedSlots[r.name])return s.$scopedSlots[r.name](Object.assign({},l,u));if(Array.isArray(o)&&(o.length>1||a&&o.length>0)){var c=n.attrs,h=(c.name,c.context,fs(c,["name","context"]));return t("div",Object.assign({},n,{attrs:h}),o)}return Array.isArray(o)&&1===o.length?o[0]:null}};var ms={functional:!0,render:function(t,e){var r=e.props,n=e.listeners;return function t(e,r,n){return Array.isArray(r)?r.map((function(r,i){var o=function(t,e,r){if(void 0===e&&(e=0),void 0===r&&(r={}),t&&"object"==typeof t&&!Array.isArray(t)){var n=t.children;void 0===n&&(n=null);var i=t.component;void 0===i&&(i="FormulateInput");var o=t.depth;void 0===o&&(o=1);var s=t.key;void 0===s&&(s=null);var a=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}(t,["children","component","depth","key"]),l=a.class||{};delete a.class;var u={},c=Object.keys(a).reduce((function(t,e){var r;return/^@/.test(e)?Object.assign(t,((r={})[e.substr(1)]=a[e],r)):t}),{});
2Object.keys(c).forEach((function(t){delete a["@"+t],u[t]=function(t,e,r){return function(){for(var n,i,o=[],s=arguments.length;s--;)o[s]=arguments[s];return"function"==typeof e?e.call.apply(e,[this].concat(o)):"string"==typeof e&&Xa(r,e)?(n=r[e]).call.apply(n,[this].concat(o)):Xa(r,t)?(i=r[t]).call.apply(i,[this].concat(o)):void 0}}(t,c[t],r)}));var h="FormulateInput"===i?a.type||"text":i,d=a.name||h||"el";s||(s=a.id?a.id:"FormulateInput"!==i&&"string"==typeof n?h+"-"+function(t,e){void 0===e&&(e=0);for(var r=3735928559^e,n=1103547991^e,i=0,o=void 0;i<t.length;i++)o=t.charCodeAt(i),r=Math.imul(r^o,2654435761),n=Math.imul(n^o,1597334677);return r=Math.imul(r^r>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),4294967296*(2097151&(n=Math.imul(n^n>>>16,2246822507)^Math.imul(r^r>>>13,3266489909)))+(r>>>0)}(n):h+"-"+d+"-"+o+(a.name?"":"-"+e));var f=Array.isArray(n)?n.map((function(t){return Object.assign(t,{depth:o+1})})):n;return Object.assign({key:s,depth:o,attrs:a,component:i,class:l,on:u},f?{children:f}:{})}return null}(r,i,n);return e(o.component,{attrs:o.attrs,class:o.class,key:o.key,on:o.on},o.children?t(e,o.children,n):null)})):r}(t,r.schema,n)}};function gs(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}var vs=function(t){this.registry=new Map,this.errors={},this.ctx=t};function ys(t){return new vs(t).dataProps()}function bs(t){return{hasInitialValue:function(){return this.formulateValue&&"object"==typeof this.formulateValue||this.values&&"object"==typeof this.values||this.isGrouping&&"object"==typeof this.context.model[this.index]},isVmodeled:function(){return!!(this.$options.propsData.hasOwnProperty("formulateValue")&&this._events&&Array.isArray(this._events.input)&&this._events.input.length)},initialValues:function(){return Xa(this.$options.propsData,"formulateValue")&&"object"==typeof this.formulateValue?Object.assign({},this.formulateValue):Xa(this.$options.propsData,"values")&&"object"==typeof this.values?Object.assign({},this.values):this.isGrouping&&"object"==typeof this.context.model[this.index]?this.context.model[this.index]:{}},mergedGroupErrors:function(){var t=this,e=/^([^.\d+].*?)\.(\d+\..+)$/;return Object.keys(this.mergedFieldErrors).filter((function(t){return e.test(t)})).reduce((function(r,n){var i,o=n.match(e),s=o[1],a=o[2];return r[s]||(r[s]={}),Object.assign(r[s],((i={})[a]=t.mergedFieldErrors[n],i)),r}),{})}}}function _s(t){void 0===t&&(t=[]);var e={applyInitialValues:function(){this.hasInitialValue&&(this.proxy=Object.assign({},this.initialValues))},setFieldValue:function(t,e){var r;if(void 0===e){var n=this.proxy,i=(n[t],gs(n,[String(t)]));this.proxy=i}else Object.assign(this.proxy,((r={})[t]=e,r));this.$emit("input",Object.assign({},this.proxy))},valueDeps:function(t){var e=this;return Object.keys(this.proxy).reduce((function(r,n){return Object.defineProperty(r,n,{enumerable:!0,get:function(){var r=e.registry.get(n);return e.deps.set(t,e.deps.get(t)||new Set),r&&(e.deps.set(r,e.deps.get(r)||new Set),e.deps.get(r).add(t.name)),e.deps.get(t).add(n),e.proxy[n]}})}),Object.create(null))},validateDeps:function(t){var e=this;this.deps.has(t)&&this.deps.get(t).forEach((function(t){return e.registry.has(t)&&e.registry.get(t).performValidation()}))},hasValidationErrors:function(){return Promise.all(this.registry.reduce((function(t,e,r){return t.push(e.performValidation()&&e.getValidationErrors()),t}),[])).then((function(t){return t.some((function(t){return t.hasErrors}))}))},showErrors:function(){this.childrenShouldShowErrors=!0,this.registry.map((function(t){t.formShouldShowErrors=!0}))},hideErrors:function(){this.childrenShouldShowErrors=!1,this.registry.map((function(t){t.formShouldShowErrors=!1,t.behavioralErrorVisibility=!1}))},setValues:function(t){var e=this;Array.from(new Set(Object.keys(t||{}).concat(Object.keys(this.proxy)))).forEach((function(r){var n=e.registry.has(r)&&e.registry.get(r),i=t?t[r]:void 0;n&&!Ha(n.proxy,i,!0)&&(n.context.model=i),Ha(i,e.proxy[r],!0)||e.setFieldValue(r,i)}))},updateValidation:function(t){Xa(this.registry.errors,t.name)&&(this.registry.errors[t.name]=t.hasErrors),this.$emit("validation",t)},addErrorObserver:function(t){this.errorObservers.find((function(e){return t.callback===e.callback}))||(this.errorObservers.push(t),"form"===t.type?t.callback(this.mergedFormErrors):"group"===t.type&&X
2a(this.mergedGroupErrors,t.field)?t.callback(this.mergedGroupErrors[t.field]):Xa(this.mergedFieldErrors,t.field)&&t.callback(this.mergedFieldErrors[t.field]))},removeErrorObserver:function(t){this.errorObservers=this.errorObservers.filter((function(e){return e.callback!==t}))}};return Object.keys(e).reduce((function(r,n){var i;return t.includes(n)?r:Object.assign({},r,((i={})[n]=e[n],i))}),{})}function ws(t,e){void 0===e&&(e=[]);var r={formulateSetter:t.setFieldValue,formulateRegister:t.register,formulateDeregister:t.deregister,formulateFieldValidation:t.updateValidation,getFormValues:t.valueDeps,getGroupValues:t.valueDeps,validateDependents:t.validateDeps,observeErrors:t.addErrorObserver,removeErrorObserver:t.removeErrorObserver};return Object.keys(r).filter((function(t){return!e.includes(t)})).reduce((function(t,e){var n;return Object.assign(t,((n={})[e]=r[e],n))}),{})}vs.prototype.add=function(t,e){var r;return this.registry.set(t,e),this.errors=Object.assign({},this.errors,((r={})[t]=e.getErrorObject().hasErrors,r)),this},vs.prototype.remove=function(t){this.ctx.deps.delete(this.registry.get(t)),this.ctx.deps.forEach((function(e){return e.delete(t)}));var e=this.ctx.keepModelData;!e&&this.registry.has(t)&&"inherit"!==this.registry.get(t).keepModelData&&(e=this.registry.get(t).keepModelData),this.ctx.preventCleanup&&(e=!0),this.registry.delete(t);var r=this.errors,n=(r[t],gs(r,[String(t)]));if(this.errors=n,!e){var i=this.ctx.proxy,o=(i[t],gs(i,[String(t)]));this.ctx.uuid&&Ya(o,this.ctx.uuid),this.ctx.proxy=o,this.ctx.$emit("input",this.ctx.proxy)}return this},vs.prototype.has=function(t){return this.registry.has(t)},vs.prototype.get=function(t){return this.registry.get(t)},vs.prototype.map=function(t){var e={};return this.registry.forEach((function(r,n){var i;return Object.assign(e,((i={})[n]=t(r,n),i))})),e},vs.prototype.keys=function(){return Array.from(this.registry.keys())},vs.prototype.register=function(t,e){var r=this;if(Xa(e.$options.propsData,"ignored"))return!1;if(this.registry.has(t))return this.ctx.$nextTick((function(){return!r.registry.has(t)&&r.register(t,e)})),!1;this.add(t,e);var n=Xa(e.$options.propsData,"formulateValue"),i=Xa(e.$options.propsData,"value"),s=this.ctx.debounce||this.ctx.debounceDelay||this.ctx.context&&this.ctx.context.debounceDelay;s&&!Xa(e.$options.propsData,"debounce")&&(e.debounceDelay=s),n||!this.ctx.hasInitialValue||Za(this.ctx.initialValues[t])?!n&&!i||Ha(e.proxy,this.ctx.initialValues[t],!0)||this.ctx.setFieldValue(t,e.proxy):e.context.model=this.ctx.initialValues[t],this.childrenShouldShowErrors&&(e.formShouldShowErrors=!0)},vs.prototype.reduce=function(t,e){return this.registry.forEach((function(r,n){e=t(e,r,n)})),e},vs.prototype.dataProps=function(){var t=this;return{proxy:{},registry:this,register:this.register.bind(this),deregister:function(e){return t.remove(e)},childrenShouldShowErrors:!1,errorObservers:[],deps:new Map,preventCleanup:!1}};var Ts=function(t){this.form=t};function Ss(t,e,r,n,i,o,s,a,l,u){"boolean"!=typeof s&&(l=a,a=s,s=!1);var c,h="function"==typeof r?r.options:r;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,i&&(h.functional=!0)),n&&(h._scopeId=n),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=c):e&&(c=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return r}Ts.prototype.hasValidationErrors=function(){return this.form.hasValidationErrors()},Ts.prototype.values=function(){var t=this;return new Promise((function(e,r){var n=[],i=function t(e){if("object"!=typeof e)return e;var r=Array.isArray(e)?[]:{};for(var n in e)e[n]instanceof b||Ka(e[n])?r[n]=e[n]:r[n]=t(e[n]);return r}(t.form.proxy),o=function(e){"object"==typeof t.form.proxy[e]&&t.form.proxy[e]instanceof b&&n.push(t.form.proxy[e].upload().then((function(t){var r;return Object.assign(i,((r={})[e]=t,r))})))};for(var s in i)o(s);Promise.all(n).then((function(){return e(i)})).catch((function(t){return r(t)}))}
2))};var q={name:"FormulateForm",inheritAttrs:!1,provide:function(){return Object.assign({},ws(this,["getGroupValues"]),{observeContext:this.addContextObserver,removeContextObserver:this.removeContextObserver})},model:{prop:"formulateValue",event:"input"},props:{name:{type:[String,Boolean],default:!1},formulateValue:{type:Object,default:function(){return{}}},values:{type:[Object,Boolean],default:!1},errors:{type:[Object,Boolean],default:!1},formErrors:{type:Array,default:function(){return[]}},schema:{type:[Array,Boolean],default:!1},keepModelData:{type:[Boolean,String],default:!1},invalidMessage:{type:[Boolean,Function,String],default:!1},debounce:{type:[Boolean,Number],default:!1}},data:function(){return Object.assign({},ys(this),{formShouldShowErrors:!1,contextObservers:[],namedErrors:[],namedFieldErrors:{},isLoading:!1,hasFailedSubmit:!1})},computed:Object.assign({},bs(),{schemaListeners:function(){var t=this.$listeners;return t.submit,function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}(t,["submit"])},pseudoProps:function(){return Ja(this.$attrs,ls.filter((function(t){return/^form/.test(t)})))},attributes:function(){var t=this,e=Object.keys(this.$attrs).filter((function(e){return!Xa(t.pseudoProps,Wa(e))})).reduce((function(e,r){var n;return Object.assign({},e,((n={})[r]=t.$attrs[r],n))}),{});return"string"==typeof this.name&&Object.assign(e,{name:this.name}),e},hasErrors:function(){return Object.values(this.registry.errors).some((function(t){return t}))},isValid:function(){return!this.hasErrors},formContext:function(){return{errors:this.mergedFormErrors,pseudoProps:this.pseudoProps,hasErrors:this.hasErrors,value:this.proxy,hasValue:!Za(this.proxy),isValid:this.isValid,isLoading:this.isLoading,classes:this.classes}},classes:function(){return this.$formulate.classes(Object.assign({},this.$props,this.pseudoProps,{value:this.proxy,errors:this.mergedFormErrors,hasErrors:this.hasErrors,hasValue:!Za(this.proxy),isValid:this.isValid,isLoading:this.isLoading,type:"form",classification:"form",attrs:this.$attrs}))},invalidErrors:function(){if(this.hasFailedSubmit&&this.hasErrors)switch(typeof this.invalidMessage){case"string":return[this.invalidMessage];case"object":return Array.isArray(this.invalidMessage)?this.invalidMessage:[];case"function":var t=this.invalidMessage(this.failingFields);return Array.isArray(t)?t:[t]}return[]},mergedFormErrors:function(){return this.formErrors.concat(this.namedErrors).concat(this.invalidErrors)},mergedFieldErrors:function(){var t={};if(this.errors)for(var e in this.errors)t[e]=Ga(this.errors[e]);for(var r in this.namedFieldErrors)t[r]=Ga(this.namedFieldErrors[r]);return t},hasFormErrorObservers:function(){return!!this.errorObservers.filter((function(t){return"form"===t.type})).length},failingFields:function(){var t=this;return Object.keys(this.registry.errors).reduce((function(e,r){var n;return Object.assign({},e,t.registry.errors[r]?((n={})[r]=t.registry.get(r),n):{})}),{})}}),watch:Object.assign({},{mergedFieldErrors:{handler:function(t){this.errorObservers.filter((function(t){return"input"===t.type})).forEach((function(e){return e.callback(t[e.field]||[])}))},immediate:!0},mergedGroupErrors:{handler:function(t){this.errorObservers.filter((function(t){return"group"===t.type})).forEach((function(e){return e.callback(t[e.field]||{})}))},immediate:!0}},{formulateValue:{handler:function(t){this.isVmodeled&&t&&"object"==typeof t&&this.setValues(t)},deep:!0},mergedFormErrors:function(t){this.errorObservers.filter((function(t){return"form"===t.type})).forEach((function(e){return e.callback(t)}))}}),created:function(){this.$formulate.register(this),this.applyInitialValues(),this.$emit("created",this)},destroyed:function(){this.$formulate.deregister(this)},methods:Object.assign({},_s(),{applyErrors:function(t){var e=t.formErrors,r=t.inputErrors;this.namedErrors=e,this.namedFieldErrors=r},addContextObserver:function(t){this.contextObservers.find((function(e){return e===t}))||(this.contextObservers.push(t),t(this.formContext))},removeContextObserver:function(t){this.contextObservers.filter((function(e){return e!==t}))},registerErrorComponent:function(t){this.errorComponents.includes(t)||this.errorComponents.push(t)},formSubmitted:function(){var t=this;if(!this.isLoading){this.isLoading=!0,this.showErrors();var e=new Ts(this),r=this.$listeners["submit-raw"]||this.$listeners.submitRaw,n="function"==typeof r?r(e):Promise.resolve(e);return(n instanceof Promise?n:Promise.resolve(n)).then((function(t){var r=t instanceof Ts?t:e;return r.hasValidationErrors().then((function(t){return[r,t]}))}
2)).then((function(e){var r=e[0];return e[1]||"function"!=typeof t.$listeners.submit?t.onFailedValidation():r.values().then((function(e){t.hasFailedSubmit=!1;var r=t.$listeners.submit(e);return(r instanceof Promise?r:Promise.resolve()).then((function(){return e}))}))})).finally((function(){t.isLoading=!1}))}},onFailedValidation:function(){return this.hasFailedSubmit=!0,this.$emit("failed-validation",Object.assign({},this.failingFields)),this.$formulate.failedValidation(this)}})},Ms=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("form",t._b({class:t.classes.form,on:{submit:function(e){return e.preventDefault(),t.formSubmitted(e)}}},"form",t.attributes,!1),[t.schema?r("FormulateSchema",t._g({attrs:{schema:t.schema}},t.schemaListeners)):t._e(),t._v(" "),t.hasFormErrorObservers?t._e():r("FormulateErrors",{attrs:{context:t.formContext}}),t._v(" "),t._t("default",null,null,t.formContext)],2)};Ms._withStripped=!0;var xs=Ss({render:Ms,staticRenderFns:[]},void 0,q,void 0,!1,void 0,!1,void 0,void 0,void 0),ks={context:function(){return As.call(this,Object.assign({},{addLabel:this.logicalAddLabel,removeLabel:this.logicalRemoveLabel,attributes:this.elementAttributes,blurHandler:Cs.bind(this),classification:this.classification,component:this.component,debounceDelay:this.debounceDelay,disableErrors:this.disableErrors,errors:this.explicitErrors,formShouldShowErrors:this.formShouldShowErrors,getValidationErrors:this.getValidationErrors.bind(this),groupErrors:this.mergedGroupErrors,hasGivenName:this.hasGivenName,hasValue:this.hasValue,hasLabel:this.label&&"button"!==this.classification,hasValidationErrors:this.hasValidationErrors.bind(this),help:this.help,helpPosition:this.logicalHelpPosition,id:this.id||this.defaultId,ignored:Xa(this.$options.propsData,"ignored"),isValid:this.isValid,imageBehavior:this.imageBehavior,label:this.label,labelPosition:this.logicalLabelPosition,limit:this.limit===1/0?this.limit:parseInt(this.limit,10),name:this.nameOrFallback,minimum:parseInt(this.minimum,10),performValidation:this.performValidation.bind(this),pseudoProps:this.pseudoProps,preventWindowDrops:this.preventWindowDrops,removePosition:this.mergedRemovePosition,repeatable:this.repeatable,rootEmit:this.$emit.bind(this),rules:this.ruleDetails,setErrors:this.setErrors.bind(this),showValidationErrors:this.showValidationErrors,slot
2Components:this.slotComponents,slotProps:this.slotProps,type:this.type,uploadBehavior:this.uploadBehavior,uploadUrl:this.mergedUploadUrl,uploader:this.uploader||this.$formulate.getUploader(),validationErrors:this.validationErrors,value:this.value,visibleValidationErrors:this.visibleValidationErrors,isSubField:this.isSubField,classes:this.classes},this.typeContext))},nameOrFallback:function(){if(!0===this.name&&"button"!==this.classification){var t=this.id||this.elementAttributes.id.replace(/[^0-9]/g,"");return this.type+"_"+t}return!1!==this.name&&("button"!==this.classification||!0!==this.name)&&this.name},hasGivenName:function(){return"boolean"!=typeof this.name},typeContext:function(){var t=this;switch(this.classification){case"select":return{options:Es.call(this,this.options),optionGroups:!!this.optionGroups&&$a(this.optionGroups,(function(e,r){return Es.call(t,r)})),placeholder:this.$attrs.placeholder||!1};case"slider":return{showValue:!!this.showValue};default:return this.options?{options:Es.call(this,this.options)}:{}}},elementAttributes:function(){var t=Object.assign({},this.filteredAttributes);return this.id?t.id=this.id:t.id=this.defaultId,this.hasGivenName&&(t.name=this.name),this.help&&!Xa(t,"aria-describedby")&&(t["aria-describedby"]=t.id+"-help"),!this.classes.input||Array.isArray(this.classes.input)&&!this.classes.input.length||(t.class=this.classes.input),t},logicalLabelPosition:function(){return this.labelPosition?this.labelPosition:"box"===this.classification?"after":"before"},logicalHelpPosition:function(){return this.helpPosition?this.helpPosition:"group"===this.classification?"before":"after"},mergedRemovePosition:function(){return"group"===this.type&&(this.removePosition||"before")},mergedUploadUrl:function(){return this.uploadUrl||this.$formulate.getUploadUrl()},mergedGroupErrors:function(){var t=this,e=Object.keys(this.groupErrors).concat(Object.keys(this.localGroupErrors)),r=/^(\d+)\.(.*)$/;return Array.from(new Set(e)).filter((function(t){return r.test(t)})).reduce((function(e,n){var i,o=n.match(r),s=o[1],a=o[2];Xa(e,s)||(e[s]={});var u=Array.from(new Set(Ga(t.groupErrors[n]).concat(Ga(t.localGroupErrors[n]))));return e[s]=Object.assign(e[s],((i={})[a]=u,i)),e}),{})},hasValue:function(){var t=this,e=this.proxy;return"box"===this.classification&&this.isGrouped||"select"===this.classification&&Xa(this.filteredAttributes,"multiple")?Array.isArray(e)?e.some((function(e){return e===t.value})):this.value===e:!Za(e)},visibleValidationErrors:function(){return this.showValidationErrors&&this.validationErrors.length?this.validationErrors:[]},slotComponents:function(){var t=this.$formulate.slotComponent.bind(this.$formulate);return{addMore:t(this.type,"addMore"),buttonContent:t(this.type,"buttonContent"),errors:t(this.type,"errors"),file:t(this.type,"file"),help:t(this.type,"help"),label:t(this.type,"label"),prefix:t(this.type,"prefix"),remove:t(this.type,"remove"),repeatable:t(this.type,"repeatable"),suffix:t(this.type,"suffix"),uploadAreaMask:t(this.type,"uploadAreaMask")}},logicalAddLabel:function(){if("file"===this.classification)return!0===this.addLabel?"+ Add "+a(this.type):this.addLabel;if("boolean"==typeof this.addLabel){var t=this.label||this.name;return"+ "+("string"==typeof t?t+" ":"")+" Add"}return this.addLabel},logicalRemoveLabel:function(){return"boolean"==typeof this.removeLabel?"Remove":this.removeLabel},classes:function(){return this.$formulate.classes(Object.assign({},this.$props,this.pseudoProps,{attrs:this.filteredAttributes,classification:this.classification,hasErrors:this.hasVisibleErrors,hasValue:this.hasValue,helpPosition:this.logicalHelpPosition,isValid:this.isValid,labelPosition:this.logicalLabelPosition,type:this.t
2ype,value:this.proxy}))},showValidationErrors:function(){return!(!this.showErrors&&!this.formShouldShowErrors)||(!("file"!==this.classification||"live"!==this.uploadBehavior||!Is.call(this))||this.behavioralErrorVisibility)},slotProps:function(){var t=this.$formulate.slotProps.bind(this.$formulate);return{label:t(this.type,"label",this.typeProps),help:t(this.type,"help",this.typeProps),errors:t(this.type,"errors",this.typeProps),repeatable:t(this.type,"repeatable",this.typeProps),addMore:t(this.type,"addMore",this.typeProps),remove:t(this.type,"remove",this.typeProps),component:t(this.type,"component",this.typeProps)}},pseudoProps:function(){return Ja(this.localAttributes,ls)},isValid:function(){return!this.hasErrors},ruleDetails:function(){return this.parsedValidation.map((function(t){var e=t[1];return{ruleName:t[2],args:e}}))},isVmodeled:function(){return!!(this.$options.propsData.hasOwnProperty("formulateValue")&&this._events&&Array.isArray(this._events.input)&&this._events.input.length)},mergedValidationName:function(){var t=this,e=this.$formulate.options.validationNameStrategy||["validationName","name","label","type"];return Array.isArray(e)?this[e.find((function(e){return"string"==typeof t[e]}))]:"function"==typeof e?e.call(this,this):this.type},explicitErrors:function(){return Ga(this.errors).concat(this.localErrors).concat(Ga(this.error))},allErrors:function(){return this.explicitErrors.concat(Ga(this.validationErrors))},hasVisibleErrors:function(){return Array.isArray(this.validationErrors)&&this.validationErrors.length&&this.showValidationErrors||!!this.explicitErrors.length},hasErrors:function(){return!!this.allErrors.length},filteredAttributes:function(){var t=this,e=Object.keys(this.pseudoProps).concat(Object.keys(this.typeProps));return Object.keys(this.localAttributes).reduce((function(r,n){return e.includes(Wa(n))||(r[n]=t.localAttributes[n]),r}),{})},typeProps:function(){return Ja(this.localAttributes,this.$formulate.typeProps(this.type))},listeners:function(){var t=this.$listeners;return t.input,function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}(t,["input"])}};function Es(t){return t?(Array.isArray(t)?t:Object.keys(t).map((function(e){return{label:t[e],value:e}}))).map(Os.bind(this)):[]}function Os(t){return"number"==typeof t&&(t=String(t)),"string"==typeof t?{label:t,value:t,id:this.elementAttributes.id+"_"+t}:("number"==typeof t.value&&(t.value=String(t.value)),Object.assign({value:"",label:"",id:this.elementAttributes.id+"_"+(t.value||t.label)},t))}function Cs(){var t=this;"blur"!==this.errorBehavior&&"value"!==this.errorBehavior||(this.behavioralErrorVisibility=!0),this.$nextTick((function(){return t.$emit("blur-context",t.context)}))}function As(t){var e=this;return Object.defineProperty(t,"model",{get:Is.bind(this),set:function(t){if(!e.mntd||!e.debounceDelay)return Ps.call(e,t);e.dSet(Ps,[t],e.debounceDelay)},enumerable:!0})}function Is(){var t=this.isVmodeled?"formulateValue":"proxy";return"checkbox"===this.type&&!Array.isArray(this[t])&&this.options?[]:this[t]||0===this[t]?this[t]:""}function Ps(t){var e=!1;Ha(t,this.proxy,"group"===this.type)||(this.proxy=t,e=!0),!this.context.ignored&&this.context.name&&"function"==typeof this.formulateSetter&&this.formulateSetter(this.context.name,t),e&&this.$emit("input",t)}var Rs={name:"FormulateInput",inheritAttrs:!1,provide:function(){return{formulateRegisterRule:this.registerRule,formulateRemoveRule:this.removeRule}},inject:{formulateSetter:{default:void 0},formulateFieldValidation:{default:function(){return function(){return{}}}},formulateRegister:{default:void 0},formulateDeregister:{default:void 0},getFormValues:{default:function(){return function(){return{}}}},getGroupValues:{default:void 0},validateDependents:{default:function(){return function(){}}},observeErrors:{default:void 0},removeErrorObserver:{default:void 0},isSubField:{default:function(){return function(){return!1}}}},model:{prop:"formulateValue",event:"input"},props:{type:{type:String,default:"text"},name:{type:[String,Boolean],default:!0},formulateValue:{default:""},value:{default:!1},options:{type:[Object,Array,Boolean],default:!1},optionGroups:{type:[Object,Boolean],default:!1},id:{type:[String,Boolean,Number],default:!1},label:{type:[String,Boolean],default:!1},labelPosition:{type:[String,Boolean],default:!1},limit:{type:[String,Number],default:1/0,validator:function(t){return 1/0}},minimum:{type:[String,Number],default:0,validator:function(t){return parseInt(t,10)==t}},help:{type:[String,Boolean],default:!1},helpPosition:{type:[String,Boolean],default:!1},isGrouped:{type:Boolean,default:!1},errors:{type:[String,Array,Boolean],default:!1},removePosition:{type:[String,Boolean],default:!1},repeatable:{type:Boolean,default:!1},validation:{type:[String,Boolean,Array],default:!1},validationName:{type:[String,Boolean],default:!1},error:{type:[String,Boolean],default:!1},errorBehavior:{type:String,default:"blur",validator:function(t){return["blur","live","submit","value"].includes(t)}},showErrors:{type:Boolean,default:!1},groupErrors:{type:Object,default:function(){return{}},validator:function(t){var e=/^\d+\./;return!Object.keys(t).some((function(t){return!e.test(t)}))}},imageBehavior:{type:String,default:"preview"},uploadUrl:{type:[String,Boolean],default:!1},uploader:{type:[Function,Object,Boolean],default:!1},uploadBehavior:{type:String,default:"live"},preventWindowDrops:{type:Boolean,default:!0},showValue:{type:[String,Boolean],default:!1},validationMessages:{type:Object,default:function(){return{}}},validationRules:{type:Object,default:function(){return{}}},checked:{type:[String,Boolean],default:!1},disableErrors:{type:Boolean,default:!1},addLabel:{type:[Boolean,String],default:!0},removeLabel:{type:[Boolean,String],default:!1},keepModelData:{type:[Boolean,String],default:"inherit"},ignored:{type:[Boolean,String],default:!1},debounce:{type:[Boolean,Number],default:!1},preventDeregister:{type:Boolean,default:!1}},data:function(){return{defaultId:this.$formulate.nextId(this),localAttributes:{},localErrors:[],localGroupErrors:{},proxy:this.getInitialValue(),behavioralErrorVisibility:"live"===this.errorBehavior,formShouldShowErrors:!1,validationErrors:[],pendingValidation:Prom
2ise.resolve(),ruleRegistry:[],messageRegistry:{},touched:!1,debounceDelay:this.debounce,dSet:function(e,r,n){var i=this;t&&clearTimeout(t),t=setTimeout((function(){return e.call.apply(e,[i].concat(r))}),n)},mntd:!1};var t},computed:Object.assign({},ks,{classification:function(){var t=this.$formulate.classify(this.type);return"box"===t&&this.options?"group":t},component:function(){return"group"===this.classification?"FormulateInputGroup":this.$formulate.component(this.type)},parsedValidationRules:function(){var t=this,e={};return Object.keys(this.validationRules).forEach((function(r){e[Wa(r)]=t.validationRules[r]})),e},parsedValidation:function(){return u(this.validation,this.$formulate.rules(this.parsedValidationRules))},messages:function(){var t=this,e={};return Object.keys(this.validationMessages).forEach((function(r){e[Wa(r)]=t.validationMessages[r]})),Object.keys(this.messageRegistry).forEach((function(r){e[Wa(r)]=t.messageRegistry[r]})),e}}),watch:{$attrs:{handler:function(t){this.updateLocalAttributes(t)},deep:!0},proxy:{handler:function(t,e){this.performValidation(),this.isVmodeled||Ha(t,e,"group"===this.type)||(this.context.model=t),this.validateDependents(this),!this.touched&&t&&(this.touched=!0)},deep:!0},formulateValue:{handler:function(t,e){this.isVmodeled&&!Ha(t,e,"group"===this.type)&&(this.context.model=t)},deep:!0},showValidationErrors:{handler:function(t){this.$emit("error-visibility",t)},immediate:!0},validation:{handler:function(){this.performValidation()},deep:!0},touched:function(t){"value"===this.errorBehavior&&t&&(this.behavioralErrorVisibility=t)},debounce:function(t){this.debounceDelay=t}},created:function(){this.applyInitialValue(),this.formulateRegister&&"function"==typeof this.formulateRegister&&this.formulateRegister(this.nameOrFallback,this),this.applyDefaultValue(),this.disableErrors||"function"!=typeof this.observeErrors||(this.observeErrors({callback:this.setErrors,type:"input",field:this.nameOrFallback}),"group"===this.type&&this.observeErrors({callback:this.setGroupErrors,type:"group",field:this.nameOrFallback})),this.updateLocalAttributes(this.$attrs),this.performValidation(),this.hasValue&&(this.touched=!0)},mounted:function(){this.mntd=!0},beforeDestroy:function(){this.disableErrors||"function"!=typeof this.removeErrorObserver||(this.removeErrorObserver(this.setErrors),"group"===this.type&&this.removeErrorObserver(this.setGroupErrors)),"function"!=typeof this.formulateDeregister||this.preventDeregister||this.formulateDeregister(this.nameOrFallback)},methods:{getInitialValue:function(){var t=this.$formulate.classify(this.type);return"box"===(t="box"===t&&this.options?"group":t)&&this.checked?this.value||!0:Xa(this.$options.propsData,"value")&&"box"!==t?this.value:Xa(this.$options.propsData,"formulateValue")?this.formulateValue:"group"===t?Object.defineProperty("group"===this.type?[{}]:[],"__init",{value:!0}):""},applyInitialValue:function(){Ha(this.context.model,this.proxy)||"box"===this.classification&&!Xa(this.$options.propsData,"options")||(this.context.model=this.proxy,this.$emit("input",this.proxy))},applyDefaultValue:function(){"select"===this.type&&!this.context.placeholder&&Za(this.proxy)&&!this.isVmodeled&&!1===this.value&&this.context.options.length&&(Xa(this.$attrs,"multiple")?this.context.model=[]:this.context.model=this.context.options[0].value)},updateLocalAttributes:function(t){Ha(t,this.localAttributes)||(this.localAttributes=t)},performValidation:function(){var t=this,e=u(this.validation,this.$formulate.rules(this.parsedValidationRules));return e=this.ruleRegistry.length?this.ruleRegistry.concat(e):e,this.pendingValidation=this.runRules(e).then((function(e){return t.didValidate(e)})),this.pendingValidation},runRules:function(t){var e=this,r=function(t){var r=t[0],n=t[1],i=t[2],o=(t[3],r.apply(void 0,[{value:e.context.model,getFormValues:function(){for(var t,r=[],n=arguments.length;n--;)r[n]=arguments[n];return(t=e).getFormValues.apply(t,[e].concat(r))},getGroupValues:function(){for(var t,r=[],n=arguments.length;n--;)r[n]=arguments[n];return(t=e)["get"+(e.getGroupValues?"Group":"Form")+"Values"].apply(t,[e].concat(r))},name:e.context.name}].concat(n)));
2return(o=o instanceof Promise?o:Promise.resolve(o)).then((function(t){return!t&&e.getMessage(i,n)}))};return new Promise((function(e){var n=function(t,i){void 0===i&&(i=[]);var o=t.shift();Array.isArray(o)&&o.length?Promise.all(o.map(r)).then((function(t){return t.filter((function(t){return!!t}))})).then((function(r){return(r=Array.isArray(r)?r:[]).length&&o.bail||!t.length?e(i.concat(r).filter((function(t){return!Za(t)}))):n(t,i.concat(r))})):e([])};n(function(t){var e=[],r=t.findIndex((function(t){return"bail"===t[2].toLowerCase()})),n=t.findIndex((function(t){return"optional"===t[2].toLowerCase()}));if(n>=0){var i=t.splice(n,1);e.push(Object.defineProperty(i,"bail",{value:!0}))}if(r>=0){var o=t.splice(0,r+1).slice(0,-1);o.length&&e.push(o),t.map((function(t){return e.push(Object.defineProperty([t],"bail",{value:!0}))}))}else e.push(t);return e.reduce((function(t,e){var r=function(t,e){if(void 0===e&&(e=!1),t.length<2)return Object.defineProperty([t],"bail",{value:e});var n=[],i=t.findIndex((function(t){return"^"===t[3]}));if(i>=0){var o=t.splice(0,i);o.length&&n.push.apply(n,r(o,e)),n.push(Object.defineProperty([t.shift()],"bail",{value:!0})),t.length&&n.push.apply(n,r(t,e))}else n.push(t);return n};return t.concat(r(e))}),[])}(t))}))},didValidate:function(t){var e=!Ha(t,this.validationErrors);if(this.validationErrors=t,e){var r=this.getErrorObject();this.$emit("validation",r),this.formulateFieldValidation&&"function"==typeof this.formulateFieldValidation&&this.formulateFieldValidation(r)}},getMessage:function(t,e){var r=this;return this.getMessageFunc(t)({args:e,name:this.mergedValidationName,value:this.context.model,vm:this,formValues:this.getFormValues(this),getFormValues:function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=r).getFormValues.apply(t,[r].concat(e))},getGroupValues:function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=r)["get"+(r.getGroupValues?"Group":"Form")+"Values"].apply(t,[r].concat(e))}})},getMessageFunc:function(t){var e=this;if("optional"===(t=Wa(t)))return function(){return[]};if(this.messages&&void 0!==this.messages[t])switch(typeof this.messages[t]){case"function":return this.messages[t];case"string":case"boolean":return function(){return e.messages[t]}}return function(r){return e.$formulate.validationMessage(t,r,e)}},hasValidationErrors:function(){var t=this;return new Promise((function(e){t.$nextTick((function(){t.pendingValidation.then((function(){return e(!!t.validationErrors.length)}))}))}))},getValidationErrors:function(){var t=this;return new Promise((function(e){t.$nextTick((function(){return t.pendingValidation.then((function(){return e(t.getErrorObject())}))}))}))},getErrorObject:function(){return{name:this.context.nameOrFallback||this.context.name,errors:this.validationErrors.filter((function(t){return"string"==typeof t})),hasErrors:!!this.validationErrors.length}},setErrors:function(t){this.localErrors=Ga(t)},setGroupErrors:function(t){this.localGroupErrors=t},registerRule:function(t,e,r,n){void 0===n&&(n=null),this.ruleRegistry.some((function(t){return t[2]===r}))||(this.ruleRegistry.push([t,e,r]),null!==n&&(this.messageRegistry[r]=n))},removeRule:function(t){var e=this.ruleRegistry.findIndex((function(e){return e[2]===t}));e>=0&&(this.ruleRegistry.splice(e,1),delete this.messageRegistry[t])}}},Ds=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.outer,attrs:{"data-classification":t.classification,"data-has-errors":t.hasErrors,"data-is-showing-errors":t.hasVisibleErrors,"data-has-value":t.hasValue,"data-type":t.type}},[r("div",{class:t.context.classes.wrapper},["before"===t.context.labelPosition?t._t("label",[t.context.hasLabel?r(t.context.slotComponents.label,t._b({tag:"component",attrs:{context:t.context}},"component",t.context.slotProps.label,!1)):t._e()],null,t.context):t._e(),t._v(" "),"before"===t.context.helpPosition?t._t("help",[t.context.help?r(t.context.slotComponents.help,t._b({tag:"component",attrs:{context:t.context}},"component",t.context.slotProps.help,!1)):t._e()],null,t.context):t._e(),t._v(" "),t._t("element",[r(t.context.component,t._g(t._b({tag:"component",attrs:{context:t.context}},"component",t.context.slotProps.component,!1),t.listeners),[t._t("default",null,null,t.context)],2)],null,t.context),t._v(" "),"after"===t.context.labelPosition?t._t("label",[t.context.hasLabel?r(t.context.slotComponents.label,t._b({tag:"component",attrs:{context:t.context}},"component",t.context.slotProps.label,!1)):t._e()],null,t.context):t._e()],2),t._v(" "),"after"===t.context.helpPosition?t._t("help",[t.context.help?r(t.context.slotComponents.help,t._b({tag:"component",attrs:{context:t.context}},"component",t.context.slotProps.help,!1)):t._e()],null,t.context):t._e(),t._v(" "),t._t("errors",[t.context.disableErrors?t._e():r(t.context.slotComponents.errors,t._b({tag:"component",attrs:{type:"FormulateErrors"===t.context.slotComponents.errors&&"input",context:t.context}},"component",t.context.slotProps.errors,!1))],null,t.context)],2)};Ds._withStripped=!0;var rt=Ss({render:Ds,staticRenderFns:[]},void 0,Rs,void 0,!1,void 0,!1,void 0,void 0,void 0),Ls={inject:{observeErrors:{default:!1},removeErrorObserver:{default:!1},observeContext:{default:!1},removeContextObserver:{default:!1}},props:{context:{type:Object,default:function(){return{}}},type:{type:String,default:"form"}},data:function(){return{boundSetErrors:this.setErrors.bind(this),boundSetForm
2Context:this.setFormContext.bind(this),localErrors:[],formContext:{classes:{formErrors:"formulate-form-errors",formError:"formulate-form-error"}}}},computed:{visibleValidationErrors:function(){return Array.isArray(this.context.visibleValidationErrors)?this.context.visibleValidationErrors:[]},errors:function(){return Array.isArray(this.context.errors)?this.context.errors:[]},mergedErrors:function(){return this.errors.concat(this.localErrors)},visibleErrors:function(){return Array.from(new Set(this.mergedErrors.concat(this.visibleValidationErrors))).filter((function(t){return"string"==typeof t}))},outerClass:function(){return"input"===this.type&&this.context.classes?this.context.classes.errors:this.formContext.classes.formErrors},itemClass:function(){return"input"===this.type&&this.context.classes?this.context.classes.error:this.formContext.classes.formError},role:function(){return"form"===this.type?"alert":"status"},ariaLive:function(){return"form"===this.type?"assertive":"polite"},slotComponent:function(){return this.$formulate.slotComponent(null,"errorList")}},created:function(){"form"===this.type&&"function"==typeof this.observeErrors&&(Array.isArray(this.context.errors)||this.observeErrors({callback:this.boundSetErrors,type:"form"}),this.observeContext(this.boundSetFormContext))},destroyed:function(){"form"===this.type&&"function"==typeof this.removeErrorObserver&&(Array.isArray(this.context.errors)||this.removeErrorObserver(this.boundSetErrors),this.removeContextObserver(this.boundSetFormContext))},methods:{setErrors:function(t){this.localErrors=Ga(t)},setFormContext:function(t){this.formContext=t}}},Ns=function(){var t=this.$createElement;return(this._self._c||t)(this.slotComponent,{tag:"component",attrs:{"visible-errors":this.visibleErrors,"item-class":this.itemClass,"outer-class":this.outerClass,role:this.role,"aria-live":this.ariaLive,type:this.type}})};Ns._withStripped=!0;var js=Ss({render:Ns,staticRenderFns:[]},void 0,Ls,void 0,!1,void 0,!1,void 0,void 0,void 0),Bs={props:{context:{type:Object,required:!0}}},Fs=function(){var t=this.$createElement,e=this._self._c||t;return this.context.help?e("div",{class:this.context.classes.help,attrs:{id:this.context.id+"-help"},domProps:{textContent:this._s(this.context.help)}}):this._e()};Fs._withStripped=!0;var Us=Ss({render:Fs,staticRenderFns:[]},void 0,Bs,void 0,!1,void 0,!1,void 0,void 0,void 0),qs={props:{file:{type:Object,required:!0},imagePreview:{type:Boolean,default:!1},context:{type:Object,required:!0}}},zs=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.file},[t.imagePreview&&t.file.previewData?r("div",{class:t.context.classes.fileImagePreview},[r("img",{class:t.context.classes.fileImagePreviewImage,attrs:{src:t.file.previewData}})]):t._e(),t._v(" "),r("div",{class:t.context.classes.fileName,attrs:{title:t.file.name},domProps:{textContent:t._s(t.file.name)}}),t._v(" "),!1!==t.file.progress?r("div",{class:t.context.classes.fileProgress,attrs:{"data-just-finished":t.file.justFinished,"data-is-finished":!t.file.justFinished&&t.file.complete}},[r("div",{class:t.context.classes.fileProgressInner,style:{width:t.file.progress+"%"}})]):t._e(),t._v(" "),t.file.complete&&!t.file.justFinished||!1===t.file.progress?r("div",{class:t.context.classes.fileRemove,on:{click:t.file.removeFile}}):t._e()])};zs._withStripped=!0;var dt=Ss({render:zs,staticRenderFns:[]},void 0,qs,void 0,!1,void 0,!1,void 0,void 0,void 0),Vs={name:"FormulateGrouping",props:{context:{type:Object,required:!0}},provide:function(){return{isSubField:function(){return!0},registerProvider:this.registerProvider,deregisterProvider:this.deregisterProvider}},data:function(){return{providers:[],keys:[]}},inject:["formulateRegisterRule","formulateRemoveRule"],computed:{items:function(){var t=this;return Array.isArray(this.context.model)?this.context.repeatable||0!==this.context.model.length?this.context.model.length<this.context.minimum?new Array(this.context.minimum||1).fill("").map((function(e,r){return t.setId(t.context.model[r]||{},r)})):this.context.model.map((function(e,r){return t.setId(e,r)})):[this.setId({},0)]:new Array(this.context.minimum||1).fill("").map((function(e,r){return t.setId({},r)}))},formShouldShowErrors:function(){return this.context.formShouldShowErrors},groupErrors:function(){var t=this;return this.items.map((function(e,r){return Xa(t.context.groupErrors,r)?t.context.groupErrors[r]:{}}))}},watch:{providers:function(){this.formShouldShowErrors&&this.showErrors()},formShouldShowErrors:function(t){t&&this.showErrors()},items:{handler:function(t,e){Ha(t,e,!0)||(this.keys=t.map((function(t){return t.__id})))},immediate:!0}},created:function(){this.formulateRegisterRule(this.validateGroup.bind(this),[],"formulateGrouping",!0)},destroyed:function(){this.formulateRemoveRule("formulateGrouping")},methods:{validateGroup:function(){return Promise.all(this.providers.reduce((function(t,e){return e&&"function"==typeof e.hasValidationErrors&&t.push(e.hasValidationErrors()),t}),[])).then((function(t){return!t.some((function(t){return!!t}))}))}
2,showErrors:function(){this.providers.forEach((function(t){return t&&"function"==typeof t.showErrors&&t.showErrors()}))},setItem:function(t,e){var r=this;Array.isArray(this.context.model)&&this.context.model.length>=this.context.minimum&&!this.context.model.__init?this.context.model.splice(t,1,this.setId(e,t)):this.context.model=this.items.map((function(n,i){return i===t?r.setId(e,t):n}))},removeItem:function(t){var e=this;Array.isArray(this.context.model)&&this.context.model.length>this.context.minimum?(this.context.model=this.context.model.filter((function(e,r){return r!==t&&e})),this.context.rootEmit("repeatableRemoved",this.context.model)):!Array.isArray(this.context.model)&&this.items.length>this.context.minimum&&(this.context.model=new Array(this.items.length-1).fill("").map((function(t,r){return e.setId({},r)})),this.context.rootEmit("repeatableRemoved",this.context.model))},registerProvider:function(t){this.providers.some((function(e){return e===t}))||this.providers.push(t)},deregisterProvider:function(t){this.providers=this.providers.filter((function(e){return e!==t}))},setId:function(t,e){return t.__id?t:Ya(t,this.keys[e])}}},$s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("FormulateSlot",{class:t.context.classes.grouping,attrs:{name:"grouping",context:t.context,"force-wrap":t.context.repeatable}},t._l(t.items,(function(e,n){return r("FormulateRepeatableProvider",{key:e.__id,attrs:{index:n,context:t.context,uuid:e.__id,errors:t.groupErrors[n]},on:{remove:t.removeItem,input:function(e){return t.setItem(n,e)}}},[t._t("default")],2)})),1)};$s._withStripped=!0;var Hs=Ss({render:$s,staticRenderFns:[]},void 0,Vs,void 0,!1,void 0,!1,void 0,void 0,void 0),Ws={props:{context:{type:Object,required:!0}}},Gs=function(){var t=this.$createElement;return(this._self._c||t)("label",{class:this.context.classes.label,attrs:{id:this.context.id+"_label",for:this.context.id},domProps:{textContent:this._s(this.context.label)}})};Gs._withStripped=!0;var Qs=Ss({render:Gs,staticRenderFns:[]},void 0,Ws,void 0,!1,void 0,!1,void 0,void 0,void 0),Ks={props:{context:{type:Object,required:!0},addMore:{type:Function,required:!0}}},Xs=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.context.classes.groupAddMore},[e("FormulateInput",{attrs:{type:"button",label:this.context.addLabel,"data-minor":"","data-ghost":""},on:{click:this.addMore}})],1)};Xs._withStripped=!0;var Ys=Ss({render:Xs,staticRenderFns:[]},void 0,Ks,void 0,!1,void 0,!1,void 0,void 0,void 0),Zs={props:{context:{type:Object,required:!0}},computed:{type:function(){return this.context.type},attributes:function(){return this.context.attributes||{}},hasValue:function(){return this.context.hasValue}}},Js={name:"FormulateInputBox",mixins:[Zs],computed:{usesDecorator:function(){return this.$formulate.options.useInputDecorators}}},tu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":t.context.type}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),"radio"===t.type?r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:"radio"},domProps:{value:t.context.value,checked:t._q(t.context.model,t.context.value)},on:{blur:t.context.blurHandler,change:function(e){return t.$set(t.context,"model",t.context.value)}}},"input",t.attributes,!1),t.$listeners)):r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:"checkbox"},domProps:{value:t.context.value,checked:Array.isArray(t.context.model)?t._i(t.context.model,t.context.value)>-1:t.context.model},on:{blur:t.context.blurHandler,change:function(e){var r=t.context.model,n=e.target,i=!!n.
2checked;if(Array.isArray(r)){var o=t.context.value,s=t._i(r,o);n.checked?s<0&&t.$set(t.context,"model",r.concat([o])):s>-1&&t.$set(t.context,"model",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.context,"model",i)}}},"input",t.attributes,!1),t.$listeners)),t._v(" "),t.usesDecorator?r("label",{tag:"component",class:t.context.classes.decorator,attrs:{for:t.attributes.id}}):t._e(),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};tu._withStripped=!0;var eu=Ss({render:tu,staticRenderFns:[]},void 0,Js,void 0,!1,void 0,!1,void 0,void 0,void 0),ru={props:{visibleErrors:{type:Array,required:!0},itemClass:{type:[String,Array,Object,Boolean],default:!1},outerClass:{type:[String,Array,Object,Boolean],default:!1},role:{type:[String],default:"status"},ariaLive:{type:[String,Boolean],default:"polite"},type:{type:String,required:!0}}},iu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.visibleErrors.length?r("ul",{class:t.outerClass},t._l(t.visibleErrors,(function(e){return r("li",{key:e,class:t.itemClass,attrs:{role:t.role,"aria-live":t.ariaLive},domProps:{textContent:t._s(e)}})})),0):t._e()};iu._withStripped=!0;var nu=Ss({render:iu,staticRenderFns:[]},void 0,ru,void 0,!1,void 0,!1,void 0,void 0,void 0),ou={name:"FormulateInputText",mixins:[Zs]},au=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":t.context.type}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),"checkbox"===t.type?r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.context.model)?t._i(t.context.model,null)>-1:t.context.model},on:{blur:t.context.blurHandler,change:function(e){var r=t.context.model,n=e.target,i=!!n.
2checked;if(Array.isArray(r)){var o=t._i(r,null);n.checked?o<0&&t.$set(t.context,"model",r.concat([null])):o>-1&&t.$set(t.context,"model",r.slice(0,o).concat(r.slice(o+1)))}else t.$set(t.context,"model",i)}}},"input",t.attributes,!1),t.$listeners)):"radio"===t.type?r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:"radio"},domProps:{checked:t._q(t.context.model,null)},on:{blur:t.context.blurHandler,change:function(e){return t.$set(t.context,"model",null)}}},"input",t.attributes,!1),t.$listeners)):r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:t.type},domProps:{value:t.context.model},on:{blur:t.context.blurHandler,input:function(e){e.target.composing||t.$set(t.context,"model",e.target.value)}}},"input",t.attributes,!1),t.$listeners)),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};au._withStripped=!0;var su=Ss({render:au,staticRenderFns:[]},void 0,ou,void 0,!1,void 0,!1,void 0,void 0,void 0),uu={name:"FormulateFiles",props:{files:{type:b,required:!0},imagePreview:{type:Boolean,default:!1},context:{type:Object,required:!0}},computed:{fileUploads:function(){return this.files.files||[]},isMultiple:function(){return Xa(this.context.attributes,"multiple")}},watch:{files:function(){this.imagePreview&&this.files.loadPreviews()}},mounted:function(){this.imagePreview&&this.files.loadPreviews()},methods:{appendFiles:function(){var t=this.$refs.addFiles;t.files.length&&this.files.mergeFileList(t)}}},lu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.fileUploads.length?r("ul",{class:t.context.classes.files},[t._l(t.fileUploads,(function(e){return r("li",{key:e.uuid,attrs:{"data-has-error":!!e.error,"data-has-preview":!(!t.imagePreview||!e.previewData)}},[r("FormulateSlot",{attrs:{name:"file",context:t.context,file:e,"image-preview":t.imagePreview}},[r(t.context.slotComponents.file,{tag:"component",attrs:{context:t.context,file:e,"image-preview":t.imagePreview}})],1),t._v(" "),e.error?r("div",{class:t.context.classes.fileUploadError,domProps:{textContent:t._s(e.error)}}):t._e()],1)})),t._v(" "),t.isMultiple&&t.context.addLabel?r("div",{class:t.context.classes.fileAdd,attrs:{role:"button"}},[t._v("\n    "+t._s(t.context.addLabel)+"\n    "),r("input",{ref:"addFiles",class:t.context.classes.fileAddInput,attrs:{type:"file",multiple:""},on:{change:t.appendFiles}})]):t._e()],2):t._e()};lu._withStripped=!0;var cu={name:"FormulateInputFile",components:{FormulateFiles:Ss({render:lu,staticRenderFns:[]},void 0,uu,void 0,!1,void 0,!1,void 0,void 0,void 0)},mixins:[Zs],data:function(){return{isOver:!1}},computed:{hasFiles:function(){return!!(this.context.model instanceof b&&this.context.model.files.length)}},created:function(){Array.isArray(this.context.model)&&"string"==typeof this.context.model[0][this.$formulate.getFileUrlKey()]&&(this.context.model=this.$formulate.createUpload({files:this.context.model},this.context))},mounted:function(){window&&this.context.preventWindowDrops&&(window.addEventListener("dragover",this.preventDefault),window.addEventListener("drop",this.preventDefault))},destroyed:function(){window&&this.context.preventWindowDrops&&(window.removeEventListener("dragover",this.preventDefault),window.removeEventListener("drop",this.preventDefault))},methods:{preventDefault:function(t){"INPUT"!==t.target.tagName&&"file"!==t.target.getAttribute("type")&&(t=t||event).preventDefault()},handleFile:function(){var t=this;this.isOver=!1;var e=this.$refs.file;e.files.length&&(this.context.model=this.$formulate.createUpload(e,this.context),this.$nextTick((function(){return t.attemptImmediateUpload()})))},attemptImmediateUpload:function(){var t=this;"live"===this.context.uploadBehavior&&this.context.model instanceof b&&this.context.hasValidationErrors().then((function(e){e||t.context.model.upload()}))},handleDragOver:function(t){t.preventDefault(),this.isOver=!0},handleDragLeave:function(t){t.preventDefault(),this.isOver=!1}}},hu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":t.context.type,"data-has-files":t.hasFiles}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),r("div",{class:t.context.classes.uploadArea,attrs:{"data-has-files":t.hasFiles}},[r("input",t._g(t._b({ref:"file",attrs:{"data-is-drag-hover":t.isOver,type:"file"},on:{blur:t.context.blurHandler,change:t.handleFile,dragover:t.handleDragOver,dragleave:t.handleDragLeave}},"input",t.attributes,!1),t.$listeners)),t._v(" "),r("FormulateSlot",{attrs:{name:"uploadAreaMask",context:t.context,"has-files":t.hasFiles}},[r(t.context.slotComponents.uploadAreaMask,{directives:[{name:"show",rawName:"v-show",value:!t.hasFiles,expression:"!hasFiles"}],tag:"component",class:t.context.classes.uploadAreaMask,attrs:{"has-files":"div"!==t.context.slotComponents.uploadAreaMask&&t.hasFiles,"data-has-files":"div"===t.context.slotComponents.uploadAreaMask&&t.hasFiles}}
2)],1),t._v(" "),t.hasFiles?r("FormulateFiles",{attrs:{files:t.context.model,"image-preview":"image"===t.context.type&&"preview"===t.context.imageBehavior,context:t.context}}):t._e()],1),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};hu._withStripped=!0;var du=Ss({render:hu,staticRenderFns:[]},void 0,cu,void 0,!1,void 0,!1,void 0,void 0,void 0),fu={props:{context:{type:Object,required:!0},removeItem:{type:Function,required:!0},index:{type:Number,required:!0}}},pu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.groupRepeatable},["after"===t.context.removePosition?t._t("default"):t._e(),t._v(" "),r("FormulateSlot",{attrs:{name:"remove",context:t.context,index:t.index,"remove-item":t.removeItem}},[r(t.context.slotComponents.remove,t._b({tag:"component",attrs:{context:t.context,index:t.index,"remove-item":t.removeItem}},"component",t.context.slotProps.remove,!1))],1),t._v(" "),"before"===t.context.removePosition?t._t("default"):t._e()],2)};pu._withStripped=!0;var mu=Ss({render:pu,staticRenderFns:[]},void 0,fu,void 0,!1,void 0,!1,void 0,void 0,void 0);function gu(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}var vu={name:"FormulateInputGroup",props:{context:{type:Object,required:!0}},computed:{options:function(){return this.context.options||[]},subType:function(){return"group"===this.context.type?"grouping":"inputs"},optionsWithContext:function(){var t=this,e=this.context,r=e.attributes,n=(r.id,gu(r,["id"])),i=(e.blurHandler,e.classification,e.component,e.getValidationErrors,e.hasLabel,e.hasValidationErrors,e.isSubField,e.isValid,e.labelPosition,e.options,e.performValidation,e.setErrors,e.slotComponents,e.slotProps,e.validationErrors,e.visibleValidationErrors,e.classes,e.showValidationErrors,e.rootEmit,e.help,e.pseudoProps,e.rules,e.model,gu(e,["attributes","blurHandler","classification","component","getValidationErrors","hasLabel","hasValidationErrors","isSubField","isValid","labelPosition","options","performValidation","setErrors","slotComponents","slotProps","validationErrors","visibleValidationErrors","classes","showValidationErrors","rootEmit","help","pseudoProps","rules","model"]));return this.options.map((function(e){return t.groupItemContext(i,e,n)}))},totalItems:function(){return Array.isArray(this.context.model)&&this.context.model.length>this.context.minimum?this.context.model.length:this.context.minimum||1},canAddMore:function(){return this.context.repeatable&&this.totalItems<this.context.limit},labelledBy:function(){return this.context.label&&this.context.id+"_label"}},methods:{addItem:function(){if(Array.isArray(this.context.model))for(var t=this.context.minimum-this.context.model.length+1,e=Math.max(t,1),r=0;r<e;r++)this.context.model.push(Ya({}));else this.context.model=new Array(this.totalItems+1).fill("").map((function(){return Ya({})}));this.context.rootEmit("repeatableAdded",this.context.model)},groupItemContext:function(t,e,r){return Object.assign({},t,e,r,{isGrouped:!0},t.hasGivenName?{}:{name:!0})}}},yu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-is-repeatable":t.context.repeatable,role:"group","aria-labelledby":t.labelledBy}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),"grouping"!==t.subType?t._l(t.optionsWithContext,(function(e){return r("FormulateInput",t._b({key:e.id,staticClass:"formulate-input-group-item",attrs:{"disable-errors":!0,"prevent-deregister":!0},on:{blur:t.context.blurHandler},model:{value:t.context.model,callback:function(e){t.$set(t.context,"model",e)},expression:"context.model"}},"FormulateInput",e,!1))})):[r("FormulateGrouping",{attrs:{context:t.context}},[t._t("default")],2),t._v(" "),t.canAddMore?r("FormulateSlot",{attrs:{name:"addmore",context:t.context,"add-more":t.addItem}},[r(t.context.slotComponents.addMore,t._b({tag:"component",attrs:{context:t.context,"add-more":t.addItem},on:{add:t.addItem}}
2,"component",t.context.slotProps.addMore,!1))],1):t._e()],t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],2)};yu._withStripped=!0;var bu=Ss({render:yu,staticRenderFns:[]},void 0,vu,void 0,!1,void 0,!1,void 0,void 0,void 0),_u={name:"FormulateInputButton",mixins:[Zs]},wu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":t.context.type}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),r("button",t._g(t._b({attrs:{type:t.type}},"button",t.attributes,!1),t.$listeners),[t._t("default",[r(t.context.slotComponents.buttonContent,{tag:"component",attrs:{context:t.context}})],{context:t.context})],2),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};wu._withStripped=!0;var Tu=Ss({render:wu,staticRenderFns:[]},void 0,_u,void 0,!1,void 0,!1,void 0,void 0,void 0),Su={name:"FormulateInputSelect",mixins:[Zs],computed:{options:function(){return this.context.options||{}},optionGroups:function(){return this.context.optionGroups||!1},placeholderSelected:function(){return!(this.hasValue||!this.context.attributes||!this.context.attributes.placeholder)}}},Mu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":t.context.type,"data-multiple":t.attributes&&void 0!==t.attributes.multiple}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),r("select",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{"data-placeholder-selected":t.placeholderSelected},on:{blur:t.context.blurHandler,change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.context,"model",e.target.multiple?r:r[0])}}},"select",t.attributes,!1),t.$listeners),[t.context.placeholder?r("option",{attrs:{value:"",hidden:"hidden",disabled:""},domProps:{selected:!t.hasValue}},[t._v("\n      "+t._s(t.context.placeholder)+"\n    ")]):t._e(),t._v(" "),t.optionGroups?t._l(t.optionGroups,(function(e,n){return r("optgroup",{key:n,attrs:{label:n}},t._l(e,(function(e){return r("option",t._b({key:e.id,attrs:{disabled:!!e.disabled},domProps:{value:e.value,textContent:t._s(e.label)}},"option",e.attributes||e.attrs||{},!1))})),0)})):t._l(t.options,(function(e){return r("option",t._b({key:e.id,attrs:{disabled:!!e.disabled},domProps:{value:e.value,textContent:t._s(e.label)}},"option",e.attributes||e.attrs||{},!1))}))],2),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};Mu._withStripped=!0;var xu=Ss({render:Mu,staticRenderFns:[]},void 0,Su,void 0,!1,void 0,!1,void 0,void 0,void 0),ku={name:"FormulateInputSlider",mixins:[Zs]},Eu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":t.context.type}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),"checkbox"===t.type?r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.context.model)?t._i(t.context.model,null)>-1:t.context.model},on:{blur:t.context.blurHandler,change:function(e){var r=t.context.model,n=e.target,i=!!n.
2checked;if(Array.isArray(r)){var o=t._i(r,null);n.checked?o<0&&t.$set(t.context,"model",r.concat([null])):o>-1&&t.$set(t.context,"model",r.slice(0,o).concat(r.slice(o+1)))}else t.$set(t.context,"model",i)}}},"input",t.attributes,!1),t.$listeners)):"radio"===t.type?r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:"radio"},domProps:{checked:t._q(t.context.model,null)},on:{blur:t.context.blurHandler,change:function(e){return t.$set(t.context,"model",null)}}},"input",t.attributes,!1),t.$listeners)):r("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],attrs:{type:t.type},domProps:{value:t.context.model},on:{blur:t.context.blurHandler,input:function(e){e.target.composing||t.$set(t.context,"model",e.target.value)}}},"input",t.attributes,!1),t.$listeners)),t._v(" "),t.context.showValue?r("div",{class:t.context.classes.rangeValue,domProps:{textContent:t._s(t.context.model)}}):t._e(),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};Eu._withStripped=!0;var Ou=Ss({render:Eu,staticRenderFns:[]},void 0,ku,void 0,!1,void 0,!1,void 0,void 0,void 0),Cu={props:{context:{type:Object,required:!0}}},Au=function(){var t=this.$createElement;return(this._self._c||t)("span",{class:"formulate-input-element--"+this.context.type+"--label",domProps:{textContent:this._s(this.context.value||this.context.label||this.context.name||"Submit")}})};Au._withStripped=!0;var Iu=Ss({render:Au,staticRenderFns:[]},void 0,Cu,void 0,!1,void 0,!1,void 0,void 0,void 0),Pu={name:"FormulateInputTextArea",mixins:[Zs]},Ru=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:t.context.classes.element,attrs:{"data-type":"textarea"}},[r("FormulateSlot",{attrs:{name:"prefix",context:t.context}},[t.context.slotComponents.prefix?r(t.context.slotComponents.prefix,{tag:"component",attrs:{context:t.context}}):t._e()],1),t._v(" "),r("textarea",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.context.model,expression:"context.model"}],domProps:{value:t.context.model},on:{blur:t.context.blurHandler,input:function(e){e.target.composing||t.$set(t.context,"model",e.target.value)}}},"textarea",t.attributes,!1),t.$listeners)),t._v(" "),r("FormulateSlot",{attrs:{name:"suffix",context:t.context}},[t.context.slotComponents.suffix?r(t.context.slotComponents.suffix,{tag:"component",attrs:{context:t.context}}):t._e()],1)],1)};Ru._withStripped=!0;var Du=Ss({render:Ru,staticRenderFns:[]},void 0,Pu,void 0,!1,void 0,!1,void 0,void 0,void 0),Lu={provide:function(){var t=this;return Object.assign({},ws(this,["getFormValues"]),{formulateSetter:function(e,r){return t.setGroupValue(e,r)}})},inject:{registerProvider:"registerProvider",deregisterProvider:"deregisterProvider"},props:{index:{type:Number,required:!0},context:{type:Object,required:!0},uuid:{type:String,required:!0},errors:{type:Object,required:!0}},data:function(){return Object.assign({},ys(this),{isGrouping:!0})},computed:Object.assign({},bs(),{mergedFieldErrors:function(){return this.errors}}),watch:Object.assign({},{mergedFieldErrors:{handler:function(t){this.errorObservers.filter((function(t){return"input"===t.type})).forEach((function(e){return e.callback(t[e.field]||[])}))},immediate:!0},mergedGroupErrors:{handler:function(t){this.errorObservers.filter((function(t){return"group"===t.type})).forEach((function(e){return e.callback(t[e.field]||{})}))},immediate:!0}},{"context.model":{handler:function(t){Ha(t[this.index],this.proxy,!0)||this.setValues(t[this.index])},deep:!0}}),created:function(){this.applyInitialValues(),this.registerProvider(this)},beforeDestroy:function(){this.preventCleanup=!0,this.deregisterProvider(this)},methods:Object.assign({},_s(),{setGroupValue:function(t,e){Ha(this.proxy[t],e,!0)||this.setFieldValue(t,e)},removeItem:function(){this.$emit("remove",this.index)}})},Nu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("FormulateSlot",{attrs:{name:"repeatable",context:t.context,index:t.index,"remove-item":t.removeItem}},[r(t.context.slotComponents.repeatable,t._b({tag:"component",attrs:{context:t.context,index:t.index,"remove-item":t.removeItem}},"component",t.context.slotProps.repeatable,!1),[r("FormulateSlot",{attrs:{context:t.context,index:t.index,name:"default"}})],1)],1)};Nu._withStripped=!0;var ju=Ss({render:Nu,staticRenderFns:[]},void 0,Lu,void 0,!1,void 0,!1,void 0,void 0,void 0),Bu={props:{index:{type:Number,default:null},context:{type:Object,required:!0},removeItem:{type:Function,required:!0}}},Fu=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.context.repeatable?r("a",{class:t.context.classes.groupRepeatableRemove,attrs:{"data-disabled":t.context.model.length<=t.context.minimum,role:"button"},domProps:{textContent:t._s(t.context.removeLabel)},on:{click:function(e){return e.preventDefault(),t.removeItem(e)},keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.removeItem(e)}}}):t._e()};Fu._withStripped=!0;var Uu=Ss({render:Fu,staticRenderFns:[]},void 0,Bu,void 0,!1,void 0,!1,void 0,void 0,void 0),qu=function(){this.options={},this.defaults={components:{FormulateSlot:ps,FormulateForm:xs,FormulateFile:dt,FormulateHelp:Us,FormulateLabel:Qs,FormulateInput:rt,FormulateErrors:js,FormulateSchema:ms,FormulateAddMore:Ys,FormulateGrouping:Hs,FormulateInputBox:eu,FormulateInputText:su,FormulateInputFile:du,FormulateErrorList:nu,FormulateRepeatable:mu,FormulateInputGroup:bu,FormulateInputButton:Tu,FormulateInputSelect:xu,FormulateInputSlider:Ou,FormulateButtonContent:Iu,FormulateInputTextArea:Du,FormulateRepeatableRemove:Uu,FormulateRepeatableProvider:ju},slotComponents:{addMore:"FormulateAddMore",buttonContent:"FormulateButtonContent",errorList:"FormulateErrorList",errors:"FormulateErrors",file:"FormulateFile",help:"FormulateHelp",label:"FormulateLabel",prefix:!1,remove:"FormulateRepeatableRemove",repeatable:"FormulateRepeatable",suffix:!1,uploadAreaMask:"div"},slotProps:{},library:Va,rules:ns,mimes:as,locale:!1,uploader:ds,uploadUrl:!1,fileUrlKey:"url",uploadJustCompleteDuration:1e3,errorHandler:function(t){return t},plugins:[qa.a],locales:{},failedValidation:function(){return!1},idPrefix:"formulate-",baseClasses:function(t){return t},coreClasses:hs,classes:{},useInputDecorators:!0,validationNameStrategy:!1},this.registry=new Map,this.idRegistry={}};qu.prototype.install=function(t,e){var r=this;t.prototype.$formulate=this,this.options=this.defaults;var n=this.defaults.plugins;for(var i in e&&Array.isArray(e.plugins)&&e.plugins.length&&(n=n.concat(e.plugins)),n.forEac
2h((function(t){return"function"==typeof t?t(r):null})),this.extend(e||{}),this.options.components)t.component(i,this.options.components[i])},qu.prototype.nextId=function(t){var e=t.$route&&t.$route.path&&t.$route.path?t.$route.path.replace(/[/\\.\s]/g,"-"):"global";return Object.prototype.hasOwnProperty.call(this.idRegistry,e)||(this.idRegistry[e]=0),""+this.options.idPrefix+e+"-"+ ++this.idRegistry[e]},qu.prototype.extend=function(t){if("object"==typeof t)return this.options=this.merge(this.options,t),this;throw new Error("Formulate.extend expects an object, was "+typeof t)},qu.prototype.merge=function(t,e,r){void 0===r&&(r=!0);var i={};for(var n in t)e.hasOwnProperty(n)?Ua(e[n])&&Ua(t[n])?i[n]=this.merge(t[n],e[n],r):r&&Array.isArray(t[n])&&Array.isArray(e[n])?i[n]=t[n].concat(e[n]):i[n]=e[n]:i[n]=t[n];for(var s in e)i.hasOwnProperty(s)||(i[s]=e[s]);return i},qu.prototype.classify=function(t){return this.options.library.hasOwnProperty(t)?this.options.library[t].classification:"unknown"},qu.prototype.classes=function(t){var e=this,r=this.options.coreClasses(t),n=this.options.baseClasses(r,t);return Object.keys(n).reduce((function(r,i){var o,s=cs(n[i],e.options.classes[i],t);return s=function(t,e,r,n){return Object.keys(us).reduce((function(e,i){if(us[i](n)){var o=""+t+a(i),s=o+"Class";r[o]&&(e=cs(e,"string"==typeof r[o]?Ga(r[o]):r[o],n)),n[s]&&(e=cs(e,"string"==typeof n[s]?Ga(n[s]):n[o+"Class"],n))}return e}),e)}(i,s=cs(s,t[i+"Class"],t),e.options.classes,t),Object.assign(r,((o={})[i]=s,o))}),{})},qu.prototype.typeProps=function(t){var e=function(t){return Object.keys(t).reduce((function(e,r){return Array.isArray(t[r])?e.concat(t[r]):e}),[])},r=e(this.options.slotProps);return this.options.library[t]?r.concat(e(this.options.library[t].slotProps||{})):r},qu.prototype.slotProps=function(t,e,r){var n=Array.isArray(this.options.slotProps[e])?this.options.slotProps[e]:[],i=this.options.library[t];return i&&i.slotProps&&Array.isArray(i.slotProps[e])&&(n=n.concat(i.slotProps[e])),n.reduce((function(t,e){var n;return Object.assign(t,((n={})[e]=r[e],n))}),{})},qu.prototype.component=function(t){return!!this.options.library.hasOwnProperty(t)&&this.options.library[t].component},qu.prototype.slotComponent=function(t,e){var r=this.options.library[t];return r&&r.slotComponents&&r.slotComponents[e]?r.slotComponents[e]:this.options.slotComponents[e]},qu.prototype.rules=function(t){return void 0===t&&(t={}),Object.assign({},this.options.rules,t)},qu.prototype.i18n=function(t){if(t.$i18n)switch(typeof t.$i18n.locale){case"string":return t.$i18n.locale;case"function":return t.$i18n.locale()}return!1},qu.prototype.getLocale=function(t){var e=this;return this.selectedLocale||(this.selectedLocale=[this.options.locale,this.i18n(t),"en"].reduce((function(t,r){if(t)return t;if(r){var n=function(t){return t.split("-").reduce((function(t,e){return t.length&&t.unshift(t[0]+"-"+e),t.length?t:[e]}),[])}(r).find((function(t){return Xa(e.options.locales,t)}));n&&(t=n)}return t}),!1)),this.selectedLocale},qu.prototype.setLocale=function(t){Xa(this.options.locales,t)&&(this.options.locale=t,this.selectedLocale=t,this.registry.forEach((function(t,e){t.hasValidationErrors()})))},qu.prototype.validationMessage=function(t,e,r){var n=this.options.locales[this.getLocale(r)];return n.hasOwnProperty(t)?n[t](e):n.hasOwnProperty("default")?n.default(e):"Invalid field value"},qu.prototype.register=function(t){"FormulateForm"===t.$options.name&&t.name&&this.registry.set(t.name,t)},qu.prototype.deregister=function(t){"FormulateForm"===t.$options.name&&t.name&&this.registry.has(t.name)&&this.registry.delete(t.name)},qu.prototype.handle=function(t,e,r){void 0===r&&(r=!1);var n=r?t:this.options.errorHandler(t,e);return e&&this.registry.has(e)&&this.registry.get(e).applyErrors({formErrors:Ga(n.formErrors),inputErrors:n.inputErrors||{}}),n},qu.prototype.reset=function(t,e){void 0===e&&(e={}),this.resetValidation(t),this.setValues(t,e)},qu.prototype.submit=function(t){this.registry.get(t).formSubmitted()},qu.prototype.resetValidation=function(t){var e=this.registry.get(t);e.hideErrors(t),e.namedErrors=[],e.namedFieldErrors={}}
2,qu.prototype.setValues=function(t,e){e&&!Array.isArray(e)&&"object"==typeof e&&this.registry.get(t).setValues(Object.assign({},e))},qu.prototype.getUploader=function(){return this.options.uploader||!1},qu.prototype.getUploadUrl=function(){return this.options.uploadUrl||!1},qu.prototype.getFileUrlKey=function(){return this.options.fileUrlKey||"url"},qu.prototype.createUpload=function(t,e){return new b(t,e,this.options)},qu.prototype.failedValidation=function(t){return this.options.failedValidation(this)};var zu=new qu,Vu=r(465);c.default.use(zu,Vu.a);var $u=r(295),Hu=r.n($u);function Wu(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Gu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gu(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function Gu(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function Qu(t,e,r){return t.find((function(t){return r?t[e]===r:t[e]}))}var Ku=r(466),Xu=function(t){!function(t,e){if("function"!=typeof t)for(var r in e){var n=e[r];if(Array.isArray(n)){t[r]=t[r]||[];var o,l=Wu(n);try{for(l.s();!(o=l.n()).done;){var c=o.value;c.hid&&Qu(t[r],"hid",c.hid)||c.name&&Qu(t[r],"name",c.name)||t[r].push(c)}}catch(t){l.e(t)}finally{l.f()}}else if("object"===Object(En.a)(n))for(var h in t[r]=t[r]||{},n)t[r][h]=n[h];else void 0===t[r]&&(t[r]=n)}else console.warn("Cannot merge meta. Avoid using head as a function!")}(t.app.head,Ku)},Yu=function(t,e){return Zu.apply(this,arguments)};function Zu(){return(Zu=Object(o.a)(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n={"64x64":"/_nuxt/icons/icon_64x64.94bd3a.png","120x120":"/_nuxt/icons/icon_120x120.94bd3a.png","144x144":"/_nuxt/icons/icon_144x144.94bd3a.png","152x152":"/_nuxt/icons/icon_152x152.94bd3a.png","192x192":"/_nuxt/icons/icon_192x192.94bd3a.png","384x384":"/_nuxt/icons/icon_384x384.94bd3a.png","512x512":"/_nuxt/icons/icon_512x512.94bd3a.png",ipad_1536x2048:"/_nuxt/icons/splash_ipad_1536x2048.94bd3a.png",ipadpro9_1536x2048:"/_nuxt/icons/splash_ipadpro9_1536x2048.94bd3a.png",ipadpro10_1668x2224:"/_nuxt/icons/splash_ipadpro10_1668x2224.94bd3a.png",ipadpro12_2048x2732:"/_nuxt/icons/splash_ipadpro12_2048x2732.94bd3a.png",iphonese_640x1136:"/_nuxt/icons/splash_iphonese_640x1136.94bd3a.png",iphone6_50x1334:"/_nuxt/icons/splash_iphone6_50x1334.94bd3a.png",iphoneplus_1080x1920:"/_nuxt/icons/splash_iphoneplus_1080x1920.94bd3a.png",iphonex_1125x2436:"/_nuxt/icons/splash_iphonex_1125x2436.94bd3a.png",iphonexr_828x1792:"/_nuxt/icons/splash_iphonexr_828x1792.94bd3a.png",iphonexsmax_1242x2688:"/_nuxt/icons/splash_iphonexsmax_1242x2688.94bd3a.png"},r("icon",(function(t){return n[t+"x"+t]||""}));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var Ju=r(296),tl=r(297),el=r(301),rl=r(298),il=r(299),nl=r(300);function al(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function sl(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?al(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):al(Object(source)).forEac
2h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}c.default.component(m.a.name,m.a),c.default.component(y.a.name,sl(sl({},y.a),{},{render:function(t,e){return y.a._warned||(y.a._warned=!0,console.warn("<no-ssr> has been deprecated and will be removed in Nuxt 3, please use <client-only> instead")),y.a.render(t,e)}})),c.default.component(at.name,at),c.default.component("NChild",at),c.default.component(ht.name,ht),Object.defineProperty(c.default.prototype,"$nuxt",{get:function(){var t=this.$root?this.$root.$options.$nuxt:null;return t||"undefined"==typeof window?t:window.$nuxt},configurable:!0}),c.default.use(d.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var ll={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},cl=h.a.Store.prototype.registerModule;function hl(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Array.isArray(path)?!!path.reduce((function(t,path){return t&&t[path]}),this.state):path in this.state;return cl.call(this,path,t,sl({preserveState:r},e))}function fl(t){return pl.apply(this,arguments)}function pl(){return pl=Object(o.a)(regeneratorRuntime.mark((function t(e){var r,n,l,h,d,f,path,m,v=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return m=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));h[t="$"+t]=e,h.context[t]||(h.context[t]=e),n[t]=h[t];var r="__nuxt_"+t+"_installed__";c.default[r]||(c.default[r]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},r=v.length>1&&void 0!==v[1]?v[1]:{},n=St(e),t.next=5,ot(0,r);case 5:return l=t.sent,n.$router=l,n.registerModule=hl,h=sl({head:{htmlAttrs:{},meta:[{name:"charset",content:"utf-8"},{name:"author",content:"Quamm"},{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"stylesheet",href:"https://use.typekit.net/jig7zjp.css"},{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"apple-touch-icon",href:"/apple-icon-57x57.png",sizes:"57x57"},{rel:"apple-touch-icon",href:"/apple-icon-60x60.png",sizes:"60x60"},{rel:"apple-touch-icon",href:"/apple-icon-72x72.png",sizes:"72x72"},{rel:"apple-touch-icon",href:"/apple-icon-76x76.png",sizes:"76x76"},{rel:"apple-touch-icon",href:"/apple-icon-114x114.png",sizes:"114x114"},{rel:"apple-touch-icon",href:"/apple-icon-120x120.png",sizes:"120x120"},{rel:"apple-touch-icon",href:"/apple-icon-144x144.png",sizes:"144x144"},{rel:"apple-touch-icon",href:"/apple-icon-152x152.png",sizes:"152x152"},{rel:"apple-touch-icon",href:"/apple-icon-180x180.png",sizes:"180x180"},{rel:"icon",type:"image/png",href:"/android-icon-192x192.png",sizes:"192x192"},{rel:"icon",type:"image/png",href:"/favicon-32x32.png",sizes:"32x32"},{rel:"icon",type:"image/png",href:"/favicon-96x96.png",sizes:"96x96"},{rel:"icon",type:"image/png",href:"/favicon-16x16.png",sizes:"16x16"}],style:[],script:[{hid:"gtm-script",innerHTML:"if(!window._gtm_init){window._gtm_init=1;(function(w,n,d,m,e,p){w[d]=(w[d]==1||n[d]=='yes'||n[d]==1||n[m]==1||(w[e]&&w[e][p]&&w[e][p]()))?1:0})(window,navigator,'doNotTrack','msDoNotTrack','external','msTrackingProtectionEnabled');(function(w,d,s,l,x,y){w[x]={};w._gtm_inject=function(i){if(w.doNotTrack||w[x][i])return;w[x][i]=1;w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;
2j.src='https://www.googletagmanager.com/gtm.js?id='+i;f.parentNode.insertBefore(j,f);};w[y]('GTM-NJKTBCX7')})(window,document,'script','dataLayer','_gtm_ids','_gtm_inject')}"}],noscript:[{hid:"gtm-noscript",pbody:!0,innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NJKTBCX7&" height="0" width="0" style="display:none;visibility:hidden" title="gtm"></iframe>'}],__dangerouslyDisableSanitizersByTagID:{"gtm-script":["innerHTML"],"gtm-noscript":["innerHTML"]}},store:n,router:l,nuxt:{defaultTransition:ll,transitions:[ll],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},ll,{name:t}):Object.assign({},ll,t):ll})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,h.context._errored=Boolean(t),t=t?Object(T.p)(t):null;var r=h.nuxt;return this&&(r=this.nuxt||this.$options.nuxt),r.dateErr=Date.now(),r.err=t,e&&(e.nuxt.error=t),t}}},_t),n.app=h,d=e?e.next:function(t){return h.router.push(t)},e?f=l.resolve(e.url).route:(path=Object(T.g)(l.options.base,l.options.mode),f=l.resolve(path).route),t.next=14,Object(T.t)(h,{store:n,route:f,next:d,error:h.nuxt.error.bind(h),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,beforeSerializeFns:e?e.beforeSerializeFns:void 0,ssrContext:e});case 14:m("config",r),window.__NUXT__&&window.__NUXT__.state&&n.replaceState(window.__NUXT__.state),h.context.enablePreview=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.previewData=Object.assign({},t),m("preview",t)},t.next=20;break;case 20:t.next=23;break;case 23:if("function"!=typeof je){t.next=26;break}return t.next=26,je(h.context,m);case 26:if("function"!=typeof We){t.next=29;break}return t.next=29,We(h.context,m);case 29:t.next=32;break;case 32:if("function"!=typeof oi){t.next=35;break}return t.next=35,oi(h.context,m);case 35:if("function"!=typeof ui){t.next=38;break}return t.next=38,ui(h.context,m);case 38:if("function"!=typeof pi){t.next=41;break}return t.next=41,pi(h.context,m);case 41:if("function"!=typeof Mn){t.next=44;break}return t.next=44,Mn(h.context,m);case 44:if("function"!=typeof zn){t.next=47;break}return t.next=47,zn(h.context,m);case 47:t.next=50;break;case 50:if("function"!=typeof Po){t.next=53;break}return t.next=53,Po(h.context,m);case 53:if("function"!=typeof Ba){t.next=56;break}return t.next=56,Ba(h.context,m);case 56:t.next=59;break;case 59:if("function"!=typeof Hu.a){t.next=62;break}return t.next=62,Hu()(h.context,m);case 62:if("function"!=typeof Xu){t.next=65;break}return t.next=65,Xu(h.context,m);case 65:if("function"!=typeof Yu){t.next=68;break}return t.next=68,Yu(h.context,m);case 68:if("function"!=typeof Ju.a){t.next=71;break}return t.next=71,Object(Ju.a)(h.context,m);case 71:if("function"!=typeof tl.a){t.next=74;break}return t.next=74,Object(tl.a)(h.context,m);case 74:if("function"!=typeof el.default){t.next=77;break}return t.next=77,Object(el.default)(h.context,m);case 77:t.next=80;break;case 80:if("function"!=typeof rl.a){t.next=83;break}return t.next=83,Object(rl.a)(h.context,m);case 83:if("function"!=typeof il.a){t.next=86;break}return t.next=86,Object(il.a)(h.context,m);case 86:if("function"!=typeof nl.a){t.next=89;break}return t.next=89,Object(nl.a)(h.context,m);case 89:return h.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},t.next=92,new Promise((function(t,e){if(!l.resolve(h.context.route.fullPath).route.matched.length)return t();l.replace(h.context.route.fullPath,t,(function(r){if(!r._isRouter)return e(r);if(2!==r.type)return t();var n=l.afterEach(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(r,o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,Object(T.k)(r);case 3:h.context.route=e.sent,h.context.params=r.params||{},h.context.query=r.query||{},n(),t();case 8:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}())}))}));case 92:return t.abrupt("return",{store:n,app:h,router:l});case 93:case"end":return t.stop()}}),t)}))),pl.apply(this,arguments)}},,,,,,function(t,e,r){var n=r(23).Buffer,o=r(630).Transform,l=r(166).StringDecoder;function c(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(19)(c,o),c.prototype.update=function(data,t,e){"string"==typeof data&&(data=n.from(data,t));var r=this._update(data);return this.hashMode?this:(e&&(r=this._toString(r,e)),r)},c.prototype.setAutoPadding=function(){},c.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},c.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},c.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},c.prototype._transform=function(data,t,e){var r;try{this.hashMode?this._update(data):this.push(this._update(data))}catch(t){r=t}finally{e(r)}},c.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},c.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},c.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new l(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=c},,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return P})),r.d(e,"b",(function(){return B})),r.d(e,"c",(function(){return mt})),r.d(e,"d",(function(){return gt}));var n=r(142),o=r(0),l=r.n(o),c=r(225),h=r(453),d=function(t){return!!t&&"object"==typeof t},f=function t(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce((function(e,source){return"object"!=typeof source||Object.keys(source).forEach((function(r){Array.isArray(e[r])&&Array.isArray(source[r])?e[r]=e[r].concat(source[r]):d(e[r])&&d(source[r])?e[r]=t(e[r],source[r]):e[r]=source[r]})),e}),{})},m=function(t){return Object.keys(t).map((function(e){return t[e]}))},v=function(t){return t.reduce((function(t,e){return t.concat(e)}),[])},y=function(t){if(!t.length)return[];for(var e=[],i=0;i<t.length;i++)e.push(t[i]);return e},_=function(t,e){for(var i=0;i<t.length;i++)if(e(t[i]))return i;return-1}
vendor: 20,992 bytes, line 2
2,w="INVALID_NUMBER_OF_PERIOD",T="DASH_EMPTY_MANIFEST",S="DASH_INVALID_XML",M="NO_BASE_URL",x="SEGMENT_TIME_UNSPECIFIED",k="UNSUPPORTED_UTC_TIMING_SCHEME",E=function(t){var e=t.baseUrl,r=void 0===e?"":e,o=t.source,source=void 0===o?"":o,c=t.range,h=void 0===c?"":c,d=t.indexRange,f=void 0===d?"":d,m={uri:source,resolvedUri:Object(n.a)(r||"",source)};if(h||f){var v,y=(h||f).split("-"),_=l.a.BigInt?l.a.BigInt(y[0]):parseInt(y[0],10),w=l.a.BigInt?l.a.BigInt(y[1]):parseInt(y[1],10);_<Number.MAX_SAFE_INTEGER&&"bigint"==typeof _&&(_=Number(_)),w<Number.MAX_SAFE_INTEGER&&"bigint"==typeof w&&(w=Number(w)),"bigint"==typeof(v="bigint"==typeof w||"bigint"==typeof _?l.a.BigInt(w)-l.a.BigInt(_)+l.a.BigInt(1):w-_+1)&&v<Number.MAX_SAFE_INTEGER&&(v=Number(v)),m.byterange={length:v,offset:_}}return m},O=function(t){return t&&"number"!=typeof t&&(t=parseInt(t,10)),isNaN(t)?null:t},C={static:function(t){var e=t.duration,r=t.timescale,n=void 0===r?1:r,o=t.sourceDuration,l=t.periodDuration,c=O(t.endNumber),h=e/n;return"number"==typeof c?{start:0,end:c}:"number"==typeof l?{start:0,end:l/h}:{start:0,end:o/h}},dynamic:function(t){var e=t.NOW,r=t.clientOffset,n=t.availabilityStartTime,o=t.timescale,l=void 0===o?1:o,c=t.duration,h=t.periodStart,d=void 0===h?0:h,f=t.minimumUpdatePeriod,m=void 0===f?0:f,v=t.timeShiftBufferDepth,y=void 0===v?1/0:v,_=O(t.endNumber),w=(e+r)/1e3,T=n+d,S=w+m-T,M=Math.ceil(S*l/c),x=Math.floor((w-T-y)*l/c),k=Math.floor((w-T)*l/c);return{start:Math.max(0,x),end:"number"==typeof _?_:Math.min(M,k)}}},A=function(t){var e=t.type,r=t.duration,n=t.timescale,o=void 0===n?1:n,l=t.periodDuration,c=t.sourceDuration,h=C[e](t),d=function(t,e){for(var r=[],i=t;i<e;i++)r.push(i);return r}(h.start,h.end).map(function(t){return function(e){var r=t.duration,n=t.timescale,o=void 0===n?1:n,l=t.periodStart,c=t.startNumber;return{number:(void 0===c?1:c)+e,duration:r/o,timeline:l,time:e*r}}}(t));if("static"===e){var f=d.length-1,m="number"==typeof l?l:c;d[f].duration=m-r/o*f}return d},I=function(t){var e=t.baseUrl,r=t.initialization,n=void 0===r?{}:r,o=t.sourceDuration,l=t.indexRange,c=void 0===l?"":l,h=t.periodStart,d=t.presentationTime,f=t.number,m=void 0===f?0:f,v=t.duration;if(!e)throw new Error(M);var y=E({baseUrl:e,source:n.sourceURL,range:n.range}),_=E({baseUrl:e,source:e,indexRange:c});if(_.map=y,v){var w=A(t);w.length&&(_.duration=w[0].duration,_.timeline=w[0].timeline)}else o&&(_.duration=o,_.timeline=h);return _.presentationTime=d||h,_.number=m,[_]},P=function(t,e,r){var n,o=t.sidx.map?t.sidx.map:null,c=t.sidx.duration,h=t.timeline||0,d=t.sidx.byterange,f=d.offset+d.length,m=e.timescale,v=e.references.filter((function(t){return 1!==t.referenceType})),y=[],_=t.endList?"static":"dynamic",w=t.sidx.timeline,T=w,S=t.mediaSequence||0;n="bigint"==typeof e.firstOffset?l.a.BigInt(f)+e.firstOffset:f+e.firstOffset;for(var i=0;i<v.length;i++){var M=e.references[i],x=M.referencedSize,k=M.subsegmentDuration,E=void 0;E="bigint"==typeof n?n+l.a.BigInt(x)-l.a.BigInt(1):n+x-1;var O=I({baseUrl:r,timescale:m,timeline:h,periodStart:w,presentationTime:T,number:S,duration:k,sourceDuration:c,indexRange:n+"-"+E,type:_})[0];o&&(O.map=o),y.push(O),n+="bigint"==typeof n?l.a.BigInt(x):x,T+=k/m,S++}return t.segments=y,t},R=["AUDIO","SUBTITLES"],D=function(t){return(e=t,r=function(t){return t.timeline},m(e.reduce((function(t,e){return e.forEach((function(e){t[r(e)]=e})),t}),{}))).sort((function(a,b){return a.timeline>b.timeline?1:-1}));var e,r},L=function(t){var e,r,n=[];return e=t,r=function(t,e,r,label){n=n.concat(t.playlists||[])},R.forEach((function(t){for(var n in e.mediaGroups[t])for(var o in e.mediaGroups[t][n]){var l=e.mediaGroups[t][n][o];r(l,t,n,o)}})),n},N=function(t){var e=t.playlist,r=t.mediaSequence;e.mediaSequence=r,e.segments.forEach((function(t,r){t.number=e.mediaSequence+r}))},j=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(L(e)),o=r.playlists.concat(L(r));return r.timelineStarts=D([e.timelineStarts,r.timelineStarts]),function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach((function(t){t.discontinuitySequence=_(n,(function(e){return e.timeline===t.timeline}));var r=function(t,e){for(var i=0;i<t.length;i++)if(t[i].attributes.NAME===e)return t[i];return null}(e,t.attributes.NAME);if(r&&!t.sidx){var o=t.segments[0],l=_(r.segments,(function(t){return Math.abs(t.presentationTime-o.presentationTime)<.016666666666666666}));if(-1===l)return N({playlist:t,mediaSequence:r.mediaSequence+r.segments.length}),t.segments[0].discontinuity=!0,t.discontinuityStarts.unshift(0),void((!r.segments.length&&t.timeline>r.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[l].discontinuity&&!o.discontinuity&&(o.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),N({playlist:t,mediaSequence:r.segments[l].number})}}))}({oldPlaylists:n,newPlaylists:o,timelineStarts:r.timelineStarts}),r},B=function(t){return t&&t.uri+"-"+(e=t.byterange,r="bigint"==typeof e.offset||"bigint"==typeof e.length?l.a.BigInt(e.offset)+l.a.BigInt(e.length)-l.a.BigInt(1):e.offset+e.length-1,e.offset+"-"+r);var e,r},F=function(t){return m(t.reduce((function(t,e){var r=e.attributes.id+(e.attributes.lang||"");if(t[r]){var n;if(e.segments)e.segments[0]&&(e.segments[0].discontinuity=!0),(n=t[r].segments).push.apply(n,e.segments);e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)}else t[r]=e,t[r].attributes.timelineStarts=[];return t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t}),{})).map((function(t){var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce((function(a,t,i){return t[r]&&a.push(i),a}),[])),t}))},U=function(t,e){var r=B(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&P(t,n,t.sidx.resolvedUri),t},z=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var i in t)t[i]=U(t[i],e);return t},V=function(t){var e,r=t.attributes,n=t.segments,o=t.sidx,l=t.discontinuityStarts,c={attributes:(e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth},e["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:l,timelineStarts:r.timelineStarts,segments:n};return r.frameRate&&(c.attributes["FRAME-RATE"]=r.frameRate),r.contentProtection&&(c.contentProtection=r.contentProtection),o&&(c.sidx=o),c},$=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},H=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},W=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},G=function(t){return t?Object.keys(t).reduce((function(e,label){var r=t[label];return e.concat(r.playlists)}),[]):[]},Q=function(t){var e,r=t.dashPlaylists,n=t.locations,o=t.sidxMapping,l=void 0===o?{}:o,c=t.previousManifest;if(!r.length)return{};var h=r[0].attributes,d=h.sourceDuration,f=h.type,m=h.suggestedPresentationDelay,v=h.minimumUpdatePeriod,y=F(r.filter($)).map(V),w=F(r.filter(H)),T=F(r.filter(W)),S=r.map((function(t){return t.attributes.captionServices})).filter(Boolean),M={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(e={AUDIO:{},VIDEO:{}},e["CLOSED-CAPTIONS"]={},e.SUBTITLES={},e),uri:"",duration:d,playlists:z(y,l)};v>=0&&(M.minimumUpdatePeriod=1e3*v),n&&(M.locations=n),"dynamic"===f&&(M.suggestedPresentationDelay=m);var x,k,E=0===M.playlists.length,O=w.length?function(t,e,r){var n;void 0===e&&(e={}),void 0===r&&(r=!1);var o=t.reduce((function(a,t){var o=t.attributes.role&&t.attributes.role.value||"",l=t.attributes.lang||"",label=t.attributes.label||"main";if(l&&!t.attributes.label){var c=o?" ("+o+")":"";label=""+t.attributes.lang+c}a[label]||(a[label]={language:l,autoselect:!0,default:"main"===o,playlists:[],uri:""});var h=U(function(t,e){var r,n=t.attributes,o=t.segments,l=t.sidx,c=t.mediaSequence,h=t.discontinuitySequence,d=t.discontinuityStarts,f={attributes:(r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},r["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:h,discontinuityStarts:d,timelineStarts:n.timelineStarts,mediaSequence:c,segments:o};return n.contentProtection&&(f.contentProtection=n.contentProtection),l&&(f.sidx=l),e&&(f.attributes.AUDIO="audio",f.attributes.SUBTITLES="subs"),f}(t,r),e);return a[label].playlists.push(h),void 0===n&&"main"===o&&((n=t).default=!0),a}),{});return n||(o[Object.keys(o)[0]].default=!0),o}(w,l,E):null,C=T.length?function(t,e){return void 0===e&&(e={}),t.reduce((function(a,t){var label=t.attributes.lang||"text";return a[label]||(a[label]={language:label,default:!1,autoselect:!1,playlists:[],uri:""}),a[label].playlists.push(U(function(t){var e,r=t.attributes,n=t.segments,o=t.mediaSequence,l=t.discontinuityStarts,c=t.discontinuitySequence;void 0===n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var h=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(h.CODECS=r.codecs),{attributes:h,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:l,discontinuitySequence:c,mediaSequence:o,segments:n}}(t),e)),a}),{})}(T,l):null,A=y.concat(G(O),G(C)),I=A.map((function(t){return t.timelineStarts}));return M.timelineStarts=D(I),x=A,k=M.timelineStarts,x.forEach((function(t){t.mediaSequence=0,t.discontinuitySequence=_(k,(function(e){return e.timeline===t.timeline})),t.segments&&t.segments.forEach((function(t,e){t.number=e}))})),O&&(M.mediaGroups.AUDIO.audio=O),C&&(M.mediaGroups.SUBTITLES.subs=C),S.length&&(M.mediaGroups["CLOSED-CAPTIONS"].cc=S.reduce((function(t,e){return e?(e.forEach((function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])})),t):t}),{})),c?j({oldManifest:c,newManifest:M}):M},K=function(t,time,e){var r=t.NOW,n=t.clientOffset,o=t.availabilityStartTime,l=t.timescale,c=void 0===l?1:l,h=t.periodStart,d=void 0===h?0:h,f=t.minimumUpdatePeriod,m=(r+n)/1e3+(void 0===f?0:f)-(o+d);return Math.ceil((m*c-time)/e)},X=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,o=void 0===n?0:n,l=t.media,c=void 0===l?"":l,h=t.sourceDuration,d=t.timescale,f=void 0===d?1:d,m=t.startNumber,v=void 0===m?1:m,y=t.periodStart,_=[],time=-1,w=0;w<e.length;w++){var T=e[w],S=T.d,M=T.r||0,x=T.t||0;time<0&&(time=x),x&&x>time&&(time=x);var k=void 0;if(M<0){var E=w+1;k=E===e.length?"dynamic"===r&&o>0&&c.indexOf("$Number$")>0?K(t,time,S):(h*f-time)/S:(e[E].t-time)/S}else k=M+1;for(var O=v+_.length+k,C=v+_.length;C<O;)_.push({number:C,duration:S/f,time:time,timeline:y}),time+=S,C++}return _},Y=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,Z=function(t,e){return t.replace(Y,function(t){return function(e,r,n,o){if("$$"===e)return"$";if(void 0===t[r])return e;var l=""+t[r];return"RepresentationID"===r?l:(o=n?parseInt(o,10):1,l.length>=o?l:""+new Array(o-l.length+1).join("0")+l)}}(e))},J=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},o=t.initialization,l=void 0===o?{sourceURL:"",range:""}:o,c=E({baseUrl:t.baseUrl,source:Z(l.sourceURL,r),range:l.range}),h=function(t,e){return t.duration||e?t.duration?A(t):X(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]}(t,e);return h.map((function(e){r.Number=e.number,r.Time=e.time;var o=Z(t.media||"",r),l=t.timescale||1,h=t.presentationTimeOffset||0,d=t.periodStart+(e.time-h)/l;return{uri:o,timeline:e.timeline,duration:e.duration,resolvedUri:Object(n.a)(t.baseUrl||"",o),map:c,number:e.number,presentationTime:d}}))},tt=function(t,e){var r=t.duration,n=t.segmentUrls,o=void 0===n?[]:n,l=t.periodStart;if(!r&&!e||r&&e)throw new Error(x);var c,h=o.map((function(e){return function(t,e){var r=t.baseUrl,n=t.initialization,o=void 0===n?{}:n,l=E({baseUrl:r,source:o.sourceURL,range:o.range}),c=E({baseUrl:r,source:e.media,range:e.mediaRange});return c.map=l,c}(t,e)}));return r&&(c=A(t)),e&&(c=X(t,e)),c.map((function(e,r){if(h[r]){var n=h[r],o=t.timescale||1,c=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=l+(e.time-c)/o,n}})).filter((function(t){return t}))},et=function(t){var e,r,n=t.attributes,o=t.segmentInfo;o.template?(r=J,e=f(n,o.template)):o.base?(r=I,e=f(n,o.base)):o.list&&(r=tt,e=f(n,o.list));var l={attributes:n};if(!r)return l;var c=r(e,o.segmentTimeline);if(e.duration){var h=e,d=h.duration,m=h.timescale,v=void 0===m?1:m;e.duration=d/v}else c.length?e.duration=c.reduce((function(t,e){return Math.max(t,Math.ceil(e.duration))}),0):e.duration=0;return l.attributes=e,l.segments=c,o.base&&e.indexRange&&(l.sidx=c[0],l.segments=[]),l},it=function(element,t){return y(element.childNodes).filter((function(e){return e.tagName===t}))},nt=function(element){return element.textContent.trim()},ot=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],o=r[1],l=r[2],c=r[3],h=r[4],d=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(o||0)+86400*parseFloat(l||0)+3600*parseFloat(c||0)+60*parseFloat(h||0)+parseFloat(d||0)},at={mediaPresentationDuration:function(t){return ot(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return ot(t)},suggestedPresentationDelay:function(t){return ot(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return ot(t)},start:function(t){return ot(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},frameRate:function(t){return function(t){return parseFloat(t.split("/").reduce((function(t,e){return t/e})))}(t)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?ot(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},st=function(t){return t&&t.attributes?y(t.attributes).reduce((function(a,t){var e=at[t.name]||at.DEFAULT;return a[t.name]=e(t.value),a}),{}):{}},ut={"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"},lt=function(t,e){return e.length?v(t.map((function(t){return e.map((function(e){return Object(n.a)(t,nt(e))}))}))):t},ct=function(t){var e=it(t,"SegmentTemplate")[0],r=it(t,"SegmentList")[0],n=r&&it(r,"SegmentURL").map((function(s){return f({tag:"SegmentURL"},st(s))})),o=it(t,"SegmentBase")[0],l=r||e,c=l&&it(l,"SegmentTimeline")[0],h=r||o||e,d=h&&it(h,"Initialization")[0],template=e&&st(e);template&&d?template.initialization=d&&st(d):template&&template.initialization&&(template.initialization={sourceURL:template.initialization});var m={template:template,segmentTimeline:c&&it(c,"S").map((function(s){return st(s)})),list:r&&f(st(r),{segmentUrls:n,initialization:st(d)}),base:o&&f(st(o),{initialization:st(d)})};return Object.keys(m).forEach((function(t){m[t]||delete m[t]})),m},ht=function(t,e,r){return function(n){var o,l=st(n),h=lt(e,it(n,"BaseURL")),d=it(n,"Role")[0],m={role:st(d)},y=f(t,l,m),_=it(n,"Accessibility")[0],w="urn:scte:dash:cc:cea-608:2015"===(o=st(_)).schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(t){var e,r;if(r=t,/^CC\d=/.test(t)){var n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}})):"urn:scte:dash:cc:cea-708:2015"===o.schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],o=r[1],l=void 0===o?"":o;e.channel=n,e.language=t,l.split(",").forEach((function(t){var r=t.split(":"),n=r[0],o=r[1];"lang"===n?e.language=o:"er"===n?e.easyReader=Number(o):"war"===n?e.aspectRatio=Number(o):"3D"===n&&(e["3D"]=Number(o))}))}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e})):void 0;w&&(y=f(y,{captionServices:w}));var label=it(n,"Label")[0];if(label&&label.childNodes.length){var T=label.childNodes[0].nodeValue.trim();y=f(y,{label:T})}var S=it(n,"ContentProtection").reduce((function(t,e){var r=st(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=ut[r.schemeIdUri];if(n){t[n]={attributes:r};var o=it(e,"cenc:pssh")[0];if(o){var l=nt(o);t[n].pssh=l&&Object(c.a)(l)}}return t}),{});Object.keys(S).length&&(y=f(y,{contentProtection:S}));var M=ct(n),x=it(n,"Representation"),k=f(r,M);return v(x.map(function(t,e,r){return function(n){var o=it(n,"BaseURL"),l=lt(e,o),c=f(t,st(n)),h=ct(n);return l.map((function(t){return{segmentInfo:f(r,h),attributes:f(c,{baseUrl:t})}}))}}(y,h,k)))}},ft=function(t,e){return function(r,n){var o=lt(e,it(r.node,"BaseURL")),l=f(t,{periodStart:r.attributes.start});"number"==typeof r.attributes.duration&&(l.periodDuration=r.attributes.duration);var c=it(r.node,"AdaptationSet"),h=ct(r.node);return v(c.map(ht(l,o,h)))}},pt=function(t){if(""===t)throw new Error(T);var e,r,n=new h.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(t){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(S);return r},mt=function(t,e){void 0===e&&(e={});var r=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,o=void 0===n?"":n,l=r.NOW,c=void 0===l?Date.now():l,h=r.clientOffset,d=void 0===h?0:h,f=it(t,"Period");if(!f.length)throw new Error(w);var m=it(t,"Location"),y=st(t),_=lt([o],it(t,"BaseURL"));y.type=y.type||"static",y.sourceDuration=y.mediaPresentationDuration||0,y.NOW=c,y.clientOffset=d,m.length&&(y.locations=m.map(nt));var T=[];return f.forEach((function(t,e){var r=st(t),n=T[e-1];r.start=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"==typeof e.start?e.start:r&&"number"==typeof r.start&&"number"==typeof r.duration?r.start+r.duration:r||"static"!==n?null:0}({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:y.type}),T.push({node:t,attributes:r})})),{locations:y.locations,representationInfo:v(T.map(ft(y,_)))}}(pt(t),e),n=r.representationInfo.map(et);return Q({dashPlaylists:n,locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},gt=function(t){return function(t){var e=it(t,"UTCTiming")[0];if(!e)return null;var r=st(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.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":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw new Error(k)}return r}(pt(t))}},,,,,,function(t,e,r){"use strict";var n=r(211),o=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=v;var l=Object.create(r(167));l.inherits=r(19);var c=r(393),h=r(264);l.inherits(v,c);for(var d=o(h.prototype),f=0;f<d.length;f++){var m=d[f];v.prototype[m]||(v.prototype[m]=h.prototype[m])}function v(t){if(!(this instanceof v))return new v(t);c.call(this,t),h.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",y)}function y(){this.allowHalfOpen||this._writableState.ended||n.nextTick(_,this)}function _(t){t.end()}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),v.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return _t})),r.d(e,"b",(function(){return it}));
vendor: 5,246 bytes, line 2
2var n=function(t,b){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},n(t,b)};function o(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}var l=function(){return l=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},l.apply(this,arguments)};var c=r(4);function h(t){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:d(t)}]}}function d(t){if("number"==typeof t||"boolean"==typeof t||"string"==typeof t||null==t)return null;if(Array.isArray(t))return d(t[0]);var e=[];return Object.keys(t).forEach((function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:d(t[r])||void 0};e.push(n)})),{kind:"SelectionSet",selections:e}}var f,m={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},v=function(){function t(){}return t.prototype.transformDocument=function(t){return t},t.prototype.transformForLink=function(t){return t},t.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.read({query:t.query,variables:t.variables,optimistic:e})},t.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.read({query:Object(c.getFragmentQueryDocument)(t.fragment,t.fragmentName),variables:t.variables,rootId:t.id,optimistic:e})},t.prototype.writeQuery=function(t){this.write({dataId:"ROOT_QUERY",result:t.data,query:t.query,variables:t.variables})},t.prototype.writeFragment=function(t){this.write({dataId:t.id,result:t.data,variables:t.variables,query:Object(c.getFragmentQueryDocument)(t.fragment,t.fragmentName)})},t.prototype.writeData=function(t){var e,r,n=t.id,data=t.data;if(void 0!==n){var o=null;try{o=this.read({rootId:n,optimistic:!1,query:m})}catch(t){}var l=o&&o.__typename||"__ClientData",c=Object.assign({__typename:l},data);this.writeFragment({id:n,fragment:(e=c,r=l,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:d(e)}]}),data:c})}else this.writeQuery({query:h(data),data:data})},t}();f||(f={});var y=r(430),_=null,w={},T=1,S="@wry/context:Slot",M=Array,x=M[S]||function(){var t=function(){function t(){this.id=["slot",T++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return t.prototype.hasValue=function(){for(var t=_;t;t=t.parent)if(this.id in t.slots){var e=t.slots[this.id];if(e===w)break;return t!==_&&(_.slots[this.id]=e),!0}return _&&(_.slots[this.id]=w),!1},t.prototype.getValue=function(){if(this.hasValue())return _.slots[this.id]},t.prototype.withValue=function(t,e,r,n){var o,l=((o={__proto__:null})[this.id]=t,o),c=_;_={parent:c,slots:l};try{return e.apply(n,r)}finally{_=c}},t.bind=function(t){var e=_;return function(){var r=_;try{return _=e,t.apply(this,arguments)}finally{_=r}}},t.noContext=function(t,e,r){if(!_)return t.apply(r,e);var n=_;try{return _=null,t.apply(r,e)}finally{_=n}},t}();try{Object.defineProperty(M,S,{value:M[S]=t,enumerable:!1,writable:!1,configurable:!1})}finally{return t}}();x.bind,x.noContext;function k(){}var E=function(){function t(t,e){void 0===t&&(t=1/0),void 0===e&&(e=k),this.max=t,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}return t.prototype.has=function(t){return this.map.has(t)},t.prototype.get=function(t){var e=this.getEntry(t);return e&&e.value},t.prototype.getEntry=function(t){var e=this.map.get(t);if(e&&e!==this.newest){var r=e.older,n=e.newer;n&&(n.older=r),r&&(r.newer=n),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=n)}return e},t.prototype.set=function(t,e){var r=this.getEntry(t);return r?r.value=e:(r={key:t,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)},t.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},t.prototype.delete=function(t){var e=this.map.get(t);return!!e&&(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(t),this.dispose(e.value,t),!0)},t}(),O=new x,C=[],A=[],I=100;function P(t,e){if(!t)throw new Error(e||"assertion failure")}function R(t){switch(t.length){case 0:throw new Error("unknown value");case 1:return t[0];case 2:throw t[1]}}var D=function(){function t(e,r){this.fn=e,this.args=r,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++t.count}return t.prototype.recompute=function(){if(P(!this.recomputing,"already recomputing"),function(t){var e=O.getValue();if(e)return t.parents.add(e),e.childValues.has(t)||e.childValues.set(t,[]),N(t)?F(e,t):U(e,t),e}
2(this)||!V(this))return N(this)?function(t){var e=$(t);O.withValue(t,L,[t]),function(t){if("function"==typeof t.subscribe)try{W(t),t.unsubscribe=t.subscribe.apply(null,t.args)}catch(e){return t.setDirty(),!1}return!0}(t)&&function(t){if(t.dirty=!1,N(t))return;B(t)}(t);return e.forEach(V),R(t.value)}(this):R(this.value)},t.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,j(this),W(this))},t.prototype.dispose=function(){var t=this;$(this).forEach(V),W(this),this.parents.forEach((function(e){e.setDirty(),H(e,t)}))},t.count=0,t}();function L(t){t.recomputing=!0,t.value.length=0;try{t.value[0]=t.fn.apply(null,t.args)}catch(e){t.value[1]=e}t.recomputing=!1}function N(t){return t.dirty||!(!t.dirtyChildren||!t.dirtyChildren.size)}function j(t){t.parents.forEach((function(e){return F(e,t)}))}function B(t){t.parents.forEach((function(e){return U(e,t)}))}function F(t,e){if(P(t.childValues.has(e)),P(N(e)),t.dirtyChildren){if(t.dirtyChildren.has(e))return}else t.dirtyChildren=A.pop()||new Set;t.dirtyChildren.add(e),j(t)}function U(t,e){P(t.childValues.has(e)),P(!N(e));var a,b,r,n=t.childValues.get(e);0===n.length?t.childValues.set(e,e.value.slice(0)):(a=n,b=e.value,(r=a.length)>0&&r===b.length&&a[r-1]===b[r-1]||t.setDirty()),z(t,e),N(t)||B(t)}function z(t,e){var r=t.dirtyChildren;r&&(r.delete(e),0===r.size&&(A.length<I&&A.push(r),t.dirtyChildren=null))}function V(t){return 0===t.parents.size&&"function"==typeof t.reportOrphan&&!0===t.reportOrphan()}function $(t){var e=C;return t.childValues.size>0&&(e=[],t.childValues.forEach((function(r,n){H(t,n),e.push(n)}))),P(null===t.dirtyChildren),e}function H(t,e){e.parents.delete(t),t.childValues.delete(e),z(t,e)}function W(t){var e=t.unsubscribe;"function"==typeof e&&(t.unsubscribe=void 0,e())}var G=function(){function t(t){this.weakness=t}return t.prototype.lookup=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.lookupArray(t)},t.prototype.lookupArray=function(t){var e=this;return t.forEach((function(t){return e=e.getChildTrie(t)})),e.data||(e.data=Object.create(null))},t.prototype.getChildTrie=function(e){var map=this.weakness&&function(t){switch(typeof t){case"object":if(null===t)break;case"function":return!0}return!1}(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=map.get(e);return r||map.set(e,r=new t(this.weakness)),r},t}();var Q=new G("function"==typeof WeakMap);function K(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Q.lookupArray(t)}var X=new Set;function Y(t,e){void 0===e&&(e=Object.create(null));var r=new E(e.max||Math.pow(2,16),(function(t){return t.dispose()})),n=!!e.disposable,o=e.makeCacheKey||K;function l(){if(!n||O.hasValue()){var l=o.apply(null,arguments);if(void 0===l)return t.apply(null,arguments);var c=Array.prototype.slice.call(arguments),h=r.get(l);h?h.args=c:(h=new D(t,c),r.set(l,h),h.subscribe=e.subscribe,n&&(h.reportOrphan=function(){return r.delete(l)}));var d=h.recompute();return r.set(l,h),X.add(r),O.hasValue()||(X.forEach((function(t){return t.clean()})),X.clear()),n?void 0:d}}return l.dirty=function(){var t=o.apply(null,arguments),e=void 0!==t&&r.get(t);e&&e.setDirty()},l}var Z=r(11),J=!1;function tt(){var t=!J;return Object(c.isTest)()||(J=!0),t}var et=function(){function t(){}return t.prototype.ensureReady=function(){return Promise.resolve()},t.prototype.canBypassInit=function(){return!0},t.prototype.match=function(t,e,r){var n=r.store.get(t.id),o="ROOT_QUERY"===t.id;if(!n)return o;var l=n.__typename,c=void 0===l?o&&"Query":l;return c&&c===e||(tt(),"heuristic")},t}(),it=function(){function t(t){t&&t.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(t.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}return t.prototype.match=function(t,e,r){Object(Z.b)(this.isReady,1);var n=r.store.get(t.id),o="ROOT_QUERY"===t.id;if(!n)return o;var l=n.__typename,c=void 0===l?o&&"Query":l;if(Object(Z.b)(c,2),c===e)return!0;var h=this.possibleTypesMap[e];return!!(c&&h&&h.indexOf(c)>-1)},t.prototype.parseIntrospectionResult=function(t){var e={};
2return t.__schema.types.forEach((function(t){"UNION"!==t.kind&&"INTERFACE"!==t.kind||(e[t.name]=t.possibleTypes.map((function(t){return t.name})))})),e},t}(),nt=Object.prototype.hasOwnProperty,ot=function(){function t(data){var t=this;void 0===data&&(data=Object.create(null)),this.data=data,this.depend=Y((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(t){return t}})}return t.prototype.toObject=function(){return this.data},t.prototype.get=function(t){return this.depend(t),this.data[t]},t.prototype.set=function(t,e){e!==this.data[t]&&(this.data[t]=e,this.depend.dirty(t))},t.prototype.delete=function(t){nt.call(this.data,t)&&(delete this.data[t],this.depend.dirty(t))},t.prototype.clear=function(){this.replace(null)},t.prototype.replace=function(t){var e=this;t?(Object.keys(t).forEach((function(r){e.set(r,t[r])})),Object.keys(this.data).forEach((function(r){nt.call(t,r)||e.delete(r)}))):Object.keys(this.data).forEach((function(t){e.delete(t)}))},t}();function at(t){return new ot(t)}var st=function(){function t(t){var e=this,r=void 0===t?{}:t,n=r.cacheKeyRoot,o=void 0===n?new G(c.canUseWeakMap):n,l=r.freezeResults,h=void 0!==l&&l,d=this,f=d.executeStoreQuery,m=d.executeSelectionSet,v=d.executeSubSelectedArray;this.freezeResults=h,this.executeStoreQuery=Y((function(t){return f.call(e,t)}),{makeCacheKey:function(t){var e=t.query,r=t.rootValue,n=t.contextValue,l=t.variableValues,c=t.fragmentMatcher;if(n.store instanceof ot)return o.lookup(n.store,e,c,JSON.stringify(l),r.id)}}),this.executeSelectionSet=Y((function(t){return m.call(e,t)}),{makeCacheKey:function(t){var e=t.selectionSet,r=t.rootValue,n=t.execContext;if(n.contextValue.store instanceof ot)return o.lookup(n.contextValue.store,e,n.fragmentMatcher,JSON.stringify(n.variableValues),r.id)}}),this.executeSubSelectedArray=Y((function(t){return v.call(e,t)}),{makeCacheKey:function(t){var e=t.field,r=t.array,n=t.execContext;if(n.contextValue.store instanceof ot)return o.lookup(n.contextValue.store,e,r,JSON.stringify(n.variableValues))}})}return t.prototype.readQueryFromStore=function(t){return this.diffQueryAgainstStore(l(l({},t),{returnPartialData:!1})).result},t.prototype.diffQueryAgainstStore=function(t){var e=t.store,r=t.query,n=t.variables,o=t.previousResult,l=t.returnPartialData,h=void 0===l||l,d=t.rootId,f=void 0===d?"ROOT_QUERY":d,m=t.fragmentMatcherFunction,v=t.config,_=Object(c.getQueryDefinition)(r);n=Object(c.assign)({},Object(c.getDefaultValues)(_),n);var w={store:e,dataIdFromObject:v&&v.dataIdFromObject,cacheRedirects:v&&v.cacheRedirects||{}},T=this.executeStoreQuery({query:r,rootValue:{type:"id",id:f,generated:!0,typename:"Query"},contextValue:w,variableValues:n,fragmentMatcher:m}),S=T.missing&&T.missing.length>0;return S&&!h&&T.missing.forEach((function(t){if(!t.tolerable)throw new Z.a(8)})),o&&Object(y.a)(o,T.result)&&(T.result=o),{result:T.result,complete:!S}},t.prototype.executeStoreQuery=function(t){var e=t.query,r=t.rootValue,n=t.contextValue,o=t.variableValues,l=t.fragmentMatcher,h=void 0===l?lt:l,d=Object(c.getMainDefinition)(e),f=Object(c.getFragmentDefinitions)(e),m={query:e,fragmentMap:Object(c.createFragmentMap)(f),contextValue:n,variableValues:o,fragmentMatcher:h};return this.executeSelectionSet({selectionSet:d.selectionSet,rootValue:r,execContext:m})},t.prototype.executeSelectionSet=function(t){var e=this,r=t.selectionSet,n=t.rootValue,o=t.execContext,h=o.fragmentMap,d=o.contextValue,f=o.variableValues,m={result:null},v=[],object=d.store.get(n.id),y=object&&object.__typename||"ROOT_QUERY"===n.id&&"Query"||void 0;function _(t){var e;return t.missing&&(m.missing=m.missing||[],(e=m.missing).push.apply(e,t.missing)),t.result}return r.selections.forEach((function(t){var r;if(Object(c.shouldInclude)(t,f))if(Object(c.isField)(t)){var m=_(e.executeField(object,y,t,o));void 0!==m&&v.push(((r={})[Object(c.resultKeyNameFromField)(t)]=m,r))}else{var w=void 0;if(Object(c.isInlineFragment)(t))w=t;else if(!(w=h[t.name.value]))throw new Z.a(9);var T=w.typeCondition&&w.typeCondition.name.value,S=!T||o.fragmentMatcher(n,T,d);if(S){var M=e.executeSelectionSet({selectionSet:w.selectionSet,rootValue:n,execContext:o});"heuristic"===S&&M.missing&&(M=l(l({},M),{missing:M.missing.map((function(t){return l(l({},t),{tolerable:!0})}
2))})),v.push(_(M))}}})),m.result=Object(c.mergeDeepArray)(v),this.freezeResults,m},t.prototype.executeField=function(object,t,e,r){var n=r.variableValues,o=r.contextValue,l=function(object,t,e,r,n,o){o.resultKey;var l=o.directives,h=e;(r||l)&&(h=Object(c.getStoreKeyName)(h,r,l));var d=void 0;if(object&&void 0===(d=object[h])&&n.cacheRedirects&&"string"==typeof t){var f=n.cacheRedirects[t];if(f){var m=f[e];m&&(d=m(object,r,{getCacheKey:function(t){var e=n.dataIdFromObject(t);return e&&Object(c.toIdValue)({id:e,typename:t.__typename})}}))}}if(void 0===d)return{result:d,missing:[{object:object,fieldName:h,tolerable:!1}]};Object(c.isJsonValue)(d)&&(d=d.json);return{result:d}}(object,t,e.name.value,Object(c.argumentsObjectFromField)(e,n),o,{resultKey:Object(c.resultKeyNameFromField)(e),directives:Object(c.getDirectiveInfoFromField)(e,n)});return Array.isArray(l.result)?this.combineExecResults(l,this.executeSubSelectedArray({field:e,array:l.result,execContext:r})):e.selectionSet?null==l.result?l:this.combineExecResults(l,this.executeSelectionSet({selectionSet:e.selectionSet,rootValue:l.result,execContext:r})):(ut(e,l.result),this.freezeResults,l)},t.prototype.combineExecResults=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.forEach((function(e){e.missing&&(t=t||[]).push.apply(t,e.missing)})),{result:e.pop().result,missing:t}},t.prototype.executeSubSelectedArray=function(t){var e,r=this,n=t.field,o=t.array,l=t.execContext;function c(t){return t.missing&&(e=e||[]).push.apply(e,t.missing),t.result}return o=o.map((function(t){return null===t?null:Array.isArray(t)?c(r.executeSubSelectedArray({field:n,array:t,execContext:l})):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,rootValue:t,execContext:l})):(ut(n,t),t)})),this.freezeResults,{result:o,missing:e}},t}();function ut(t,e){if(!t.selectionSet&&Object(c.isIdValue)(e))throw new Z.a(10)}function lt(){return!0}var ct=function(){function t(data){void 0===data&&(data=Object.create(null)),this.data=data}return t.prototype.toObject=function(){return this.data},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){this.data[t]=e},t.prototype.delete=function(t){this.data[t]=void 0},t.prototype.clear=function(){this.data=Object.create(null)},t.prototype.replace=function(t){this.data=t||Object.create(null)},t}();var ht=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="WriteError",e}return o(e,t),e}(Error);var ft=function(){function t(){}return t.prototype.writeQueryToStore=function(t){var e=t.query,r=t.result,n=t.store,o=void 0===n?at():n,l=t.variables,c=t.dataIdFromObject,h=t.fragmentMatcherFunction;return this.writeResultToStore({dataId:"ROOT_QUERY",result:r,document:e,store:o,variables:l,dataIdFromObject:c,fragmentMatcherFunction:h})},t.prototype.writeResultToStore=function(t){var e=t.dataId,r=t.result,n=t.document,o=t.store,l=void 0===o?at():o,h=t.variables,d=t.dataIdFromObject,f=t.fragmentMatcherFunction,m=Object(c.getOperationDefinition)(n);try{return this.writeSelectionSetToStore({result:r,dataId:e,selectionSet:m.selectionSet,context:{store:l,processedData:{},variables:Object(c.assign)({},Object(c.getDefaultValues)(m),h),dataIdFromObject:d,fragmentMap:Object(c.createFragmentMap)(Object(c.getFragmentDefinitions)(n)),fragmentMatcherFunction:f}})}catch(t){throw function(t,e){var r=new ht("Error writing result to store for query:\n "+JSON.stringify(e));return r.message+="\n"+t.message,r.stack=t.stack,r}(t,n)}},t.prototype.writeSelectionSetToStore=function(t){var e=this,r=t.result,n=t.dataId,o=t.selectionSet,l=t.context,h=l.variables,d=l.store,f=l.fragmentMap;return o.selections.forEach((function(t){var o;if(Object(c.shouldInclude)(t,h))if(Object(c.isField)(t)){var d=Object(c.resultKeyNameFromField)(t),m=r[d];if(void 0!==m)e.writeFieldToStore({dataId:n,value:m,field:t,context:l});else{var v=!1,y=!1;t.directives&&t.directives.length&&(v=t.directives.some((function(t){return t.name&&"defer"===t.name.value})),y=t.directives.some((function(t){return t.name&&"client"===t.name.value}))),!v&&!y&&l.fragmentMatcherFunction}}else{var _=void 0;Object(c.isInlineFragment)(t)?_=t:(_=(f||{}
2)[t.name.value],Object(Z.b)(_,3));var w=!0;if(l.fragmentMatcherFunction&&_.typeCondition){var T=n||"self",S=Object(c.toIdValue)({id:T,typename:void 0}),M={store:new ct((o={},o[T]=r,o)),cacheRedirects:{}},x=l.fragmentMatcherFunction(S,_.typeCondition.name.value,M);Object(c.isProduction)(),w=!!x}w&&e.writeSelectionSetToStore({result:r,selectionSet:_.selectionSet,dataId:n,context:l})}})),d},t.prototype.writeFieldToStore=function(t){var e,r,n,o=t.field,h=t.value,d=t.dataId,f=t.context,m=f.variables,v=f.dataIdFromObject,_=f.store,w=Object(c.storeKeyNameFromField)(o,m);if(o.selectionSet&&null!==h)if(Array.isArray(h)){var T=d+"."+w;r=this.processArrayValue(h,T,o.selectionSet,f)}else{var S=d+"."+w,M=!0;if(pt(S)||(S="$"+S),v){var x=v(h);Object(Z.b)(!x||!pt(x),4),(x||"number"==typeof x&&0===x)&&(S=x,M=!1)}gt(S,o,f.processedData)||this.writeSelectionSetToStore({dataId:S,result:h,selectionSet:o.selectionSet,context:f});var k=h.__typename;r=Object(c.toIdValue)({id:S,typename:k},M);var E=(n=_.get(d))&&n[w];if(E!==r&&Object(c.isIdValue)(E)){var O=void 0!==E.typename,C=void 0!==k,A=O&&C&&E.typename!==k;Object(Z.b)(!M||E.generated||A,5),Object(Z.b)(!O||C,6),E.generated&&(A?M||_.delete(E.id):mt(E.id,r.id,_))}}else r=null!=h&&"object"==typeof h?{type:"json",json:h}:h;(n=_.get(d))&&Object(y.a)(r,n[w])||_.set(d,l(l({},n),((e={})[w]=r,e)))},t.prototype.processArrayValue=function(t,e,r,n){var o=this;return t.map((function(t,l){if(null===t)return null;var h=e+"."+l;if(Array.isArray(t))return o.processArrayValue(t,h,r,n);var d=!0;if(n.dataIdFromObject){var f=n.dataIdFromObject(t);f&&(h=f,d=!1)}return gt(h,r,n.processedData)||o.writeSelectionSetToStore({dataId:h,result:t,selectionSet:r,context:n}),Object(c.toIdValue)({id:h,typename:t.__typename},d)}))},t}();function pt(t){return"$"===t[0]}function mt(t,e,r){if(t===e)return!1;var n=r.get(t),o=r.get(e),h=!1;Object.keys(n).forEach((function(t){var e=n[t],l=o[t];Object(c.isIdValue)(e)&&pt(e.id)&&Object(c.isIdValue)(l)&&!Object(y.a)(e,l)&&mt(e.id,l.id,r)&&(h=!0)})),r.delete(t);var d=l(l({},n),o);return Object(y.a)(d,o)?h:(r.set(e,d),!0)}function gt(t,e,r){if(!r)return!1;if(r[t]){if(r[t].indexOf(e)>=0)return!0;r[t].push(e)}else r[t]=[e];return!1}var vt={fragmentMatcher:new et,dataIdFromObject:function(t){if(t.__typename){if(void 0!==t.id)return t.__typename+":"+t.id;if(void 0!==t._id)return t.__typename+":"+t._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var yt=Object.prototype.hasOwnProperty,bt=function(t){function e(e,r,n){var o=t.call(this,Object.create(null))||this;return o.optimisticId=e,o.parent=r,o.transaction=n,o}return o(e,t),e.prototype.toObject=function(){return l(l({},this.parent.toObject()),this.data)},e.prototype.get=function(t){return yt.call(this.data,t)?this.data[t]:this.parent.get(t)},e}(ct),_t=function(t){function e(e){void 0===e&&(e={});var r=t.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new G(c.canUseWeakMap),r.silenceBroadcast=!1,r.config=l(l({},vt),e),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=!!r.config.addTypename,r.data=r.config.resultCaching?new ot:new ct,r.optimisticData=r.data,r.storeWriter=new ft,r.storeReader=new st({cacheKeyRoot:r.cacheKeyRoot,freezeResults:e.freezeResults});var n=r,o=n.maybeBroadcastWatch;return r.maybeBroadcastWatch=Y((function(t){return o.call(r,t)}),{makeCacheKey:function(t){if(!t.optimistic&&!t.previousResult)return n.data instanceof ot?n.cacheKeyRoot.lookup(t.query,JSON.stringify(t.variables)):void 0}}),r}return o(e,t),e.prototype.restore=function(data){return data&&this.data.replace(data),this},e.prototype.extract=function(t){return void 0===t&&(t=!1),(t?this.optimisticData:this.data).toObject()},e.prototype.read=function(t){if("string"==typeof t.rootId&&void 0===this.data.get(t.rootId))return null;var e=this.config.fragmentMatcher,r=e&&e.match;return this.storeReader.readQueryFromStore({store:t.optimistic?this.optimisticData:this.data,query:this.transformDocument(t.query),variables:t.variables,rootId:t.rootId,fragmentMatcherFunction:r,previousResult:t.previousResult,config:this.config})||null},e.prototype.write=function(t){var e=this.config.fragmentMatcher,r=e&&e.match;this.storeWriter.writeResultToStore({dataId:t.dataId,result:t.result,variables:t.variables,document:this.transformDocument(t.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:r}),this.broadcastWatches()},e.prototype.diff=function(t){var e=this.config.fragmentMatcher,r=e&&e.match;return this.storeReader.diffQueryAgainstStore({store:t.optimistic?this.optimisticData:this.data,query:this.transformDocument(t.query),variables:t.variables,returnPartialData:t.returnPartialData,previousResult:t.previousResult,fragmentMatcherFunction:r,config:this.config})},e.prototype.watch=function(t){var e=this;
2return this.watches.add(t),function(){e.watches.delete(t)}},e.prototype.evict=function(t){throw new Z.a(7)},e.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},e.prototype.removeOptimistic=function(t){for(var e=[],r=0,n=this.optimisticData;n instanceof bt;)n.optimisticId===t?++r:e.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;e.length>0;){var o=e.pop();this.performTransaction(o.transaction,o.optimisticId)}this.broadcastWatches()}},e.prototype.performTransaction=function(t,e){var data=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof e&&(this.data=this.optimisticData=new bt(e,this.optimisticData,t));try{t(this)}finally{this.silenceBroadcast=r,this.data=data}this.broadcastWatches()},e.prototype.recordOptimisticTransaction=function(t,e){return this.performTransaction(t,e)},e.prototype.transformDocument=function(t){if(this.addTypename){var e=this.typenameDocumentCache.get(t);return e||(e=Object(c.addTypenameToDocument)(t),this.typenameDocumentCache.set(t,e),this.typenameDocumentCache.set(e,e)),e}return t},e.prototype.broadcastWatches=function(){var t=this;this.silenceBroadcast||this.watches.forEach((function(e){return t.maybeBroadcastWatch(e)}))},e.prototype.maybeBroadcastWatch=function(t){t.callback(this.diff({query:t.query,variables:t.variables,previousResult:t.previousResult&&t.previousResult(),optimistic:t.optimistic}))},e}(v)},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(2),o=Object(n.k)([73,68,51]),l=function t(e,r){return void 0===r&&(r=0),(e=Object(n.k)(e)).length-r<10||!Object(n.a)(e,o,{offset:r})?r:(r+=function(t,e){void 0===e&&(e=0);var r=(t=Object(n.k)(t))[e+5],o=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&r)>>4?o+20:o+10}(e,r),t(e,r))}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return Nt}));var n,o,l,c,h,d,f,m,v=r(3),y=r(17),_=(r(9),r(24),r(30),r(56),r(206),r(104),r(256),r(82),r(54),r(51),r(255),{}),w=180/Math.PI,T=Math.PI/180,S=Math.atan2,M=/([A-Z])/g,x=/(left|right|width|margin|padding|x)/i,k=/[\s,\(]\S/,E={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},O=function(t,data){return data.set(data.t,data.p,Math.round(1e4*(data.s+data.c*t))/1e4+data.u,data)},C=function(t,data){return data.set(data.t,data.p,1===t?data.e:Math.round(1e4*(data.s+data.c*t))/1e4+data.u,data)},A=function(t,data){return data.set(data.t,data.p,t?Math.round(1e4*(data.s+data.c*t))/1e4+data.u:data.b,data)},I=function(t,data){var e=data.s+data.c*t;data.set(data.t,data.p,~~(e+(e<0?-.5:.5))+data.u,data)},P=function(t,data){return data.set(data.t,data.p,t?data.e:data.b,data)},R=function(t,data){return data.set(data.t,data.p,1!==t?data.b:data.e,data)},D=function(t,e,r){return t.style[e]=r},L=function(t,e,r){return t.style.setProperty(e,r)},N=function(t,e,r){return t._gsap[e]=r},j=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},B=function(t,e,r,data,n){var o=t._gsap;o.scaleX=o.scaleY=r,o.renderTransform(n,o)},F=function(t,e,r,data,n){var o=t._gsap;o[e]=r,o.renderTransform(n,o)},U="transform",z=U+"Origin",V=function t(e,r){var n=this,o=this.target,style=o.style;if(e in _&&style){if(this.tfm=this.tfm||{},"transform"===e)return E.transform.split(",").forEach((function(p){return t.call(n,p,r)}));if(~(e=E[e]||e).indexOf(",")?e.split(",").forEach((function(a){return n.tfm[a]=ut(o,a)})):this.tfm[e]=o._gsap.x?o._gsap[e]:ut(o,e),this.props.indexOf(U)>=0)return;o._gsap.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(z,r,"")),e=U}(style||r)&&this.props.push(e,r,style[e])},$=function(style){style.translate&&(style.removeProperty("translate"),style.removeProperty("scale"),style.removeProperty("rotate"))},H=function(){var i,p,t=this.props,e=this.target,style=e.style,r=e._gsap;for(i=0;i<t.length;i+=3)t[i+1]?e[t[i]]=t[i+2]:t[i+2]?style[t[i]]=t[i+2]:style.removeProperty("--"===t[i].substr(0,2)?t[i]:t[i].replace(M,"-$1").toLowerCase());if(this.tfm){for(p in this.tfm)r[p]=this.tfm[p];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),(i=f())&&i.isStart||style[U]||($(style),r.uncache=1)}},W=function(t,e){var r={target:t,props:[],revert:H,save:V};return t._gsap||v.B.core.getCache(t),e&&e.split(",").forEach((function(p){return r.s
2ave(p)})),r},G=function(t,e){var r=o.createElementNS?o.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):o.createElement(t);return r.style?r:o.createElement(t)},Q=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(M,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,X(r)||r,1)||""},K="O,Moz,ms,Ms,Webkit".split(","),X=function(t,element,e){var s=(element||h).style,i=5;if(t in s&&!e)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(K[i]+t in s););return i<0?null:(3===i?"ms":i>=0?K[i]:"")+t},Y=function(){"undefined"!=typeof window&&window.document&&(n=window,o=n.document,l=o.documentElement,h=G("div")||{style:{}},G("div"),U=X(U),z=U+"Origin",h.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",m=!!X("perspective"),f=v.B.core.reverting,c=1)},Z=function t(e){var r,svg=G("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,c=this.style.cssText;if(l.appendChild(svg),svg.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),l.removeChild(svg),this.style.cssText=c,r},J=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},tt=function(t){var e;try{e=t.getBBox()}catch(r){e=Z.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Z||(e=Z.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+J(t,["x","cx","x1"])||0,y:+J(t,["y","cy","y1"])||0,width:0,height:0}},et=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!tt(t))},it=function(t,e){if(e){var style=t.style;e in _&&e!==z&&(e=U),style.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),style.removeProperty(e.replace(M,"-$1").toLowerCase())):style.removeAttribute(e)}},nt=function(t,e,r,n,o,l){var c=new v.d(t._pt,e,r,0,1,l?R:P);return t._pt=c,c.b=n,c.e=o,t._props.push(r),c},ot={deg:1,rad:1,turn:1},at={grid:1,flex:1},st=function t(e,r,n,l){var c,d,f,m,y=parseFloat(n)||0,w=(n+"").trim().substr((y+"").length)||"px",style=h.style,T=x.test(r),S="svg"===e.tagName.toLowerCase(),M=(S?"client":"offset")+(T?"Width":"Height"),k=100,E="px"===l,O="%"===l;return l===w||!y||ot[l]||ot[w]?y:("px"!==w&&!E&&(y=t(e,r,n,"px")),m=e.getCTM&&et(e),!O&&"%"!==w||!_[r]&&!~r.indexOf("adius")?(style[T?"width":"height"]=k+(E?w:l),d=~r.indexOf("adius")||"em"===l&&e.appendChild&&!S?e:e.parentNode,m&&(d=(e.ownerSVGElement||{}).parentNode),d&&d!==o&&d.appendChild||(d=o.body),(f=d._gsap)&&O&&f.width&&T&&f.time===v.z.time&&!f.uncache?Object(v.x)(y/f.width*k):((O||"%"===w)&&!at[Q(d,"display")]&&(style.position=Q(e,"position")),d===e&&(style.position="static"),d.appendChild(h),c=h[M],d.removeChild(h),style.position="absolute",T&&O&&((f=Object(v.k)(d)).time=v.z.time,f.width=d[M]),Object(v.x)(E?c*y/k:c&&y?k/c*y:0))):(c=m?e.getBBox()[T?"width":"height"]:e[M],Object(v.x)(O?y/c*k:y/100*c)))},ut=function(t,e,r,n){var o;return c||Y(),e in E&&"transform"!==e&&~(e=E[e]).indexOf(",")&&(e=e.split(",")[0]),_[e]&&"transform"!==e?(o=_t(t,n),o="transformOrigin"!==e?o[e]:o.svg?o.origin:wt(Q(t,z))+" "+o.zOrigin+"px"):(!(o=t.style[e])||"auto"===o||n||~(o+"").indexOf("calc("))&&(o=ft[e]&&ft[e](t,e,r)||Q(t,e)||Object(v.l)(t,e)||("opacity"===e?1:0)),r&&!~(o+"").trim().indexOf(" ")?st(t,e,o,r)+r:o},lt=function(t,e,r,n){if(!r||"none"===r){var p=X(e,t,1),s=p&&Q(t,p,1);s&&s!==r?(e=p,r=s):"borderColor"===e&&(r=Q(t,"borderTopColor"))}var a,o,l,c,h,d,f,m,y,_,w,T=new v.d(this._pt,t.style,e,0,1,v.v),S=0,M=0;if(T.b=r,T.e=n,r+="","auto"===(n+="")&&(t.style[e]=n,n=Q(t,e)||n,t.style[e]=r),a=[r,n],Object(v.h)(a),n=a[1],l=(r=a[0]).match(v.r)||[],(n.match(v.r)||[]).length){for(;o=v.r.exec(n);)f=o[0],y=n.substring(S,o.index),h?h=(h+1)%5:"rgba("!==y.substr(-5)&&"hsla("!==y.substr(-5)||(h=1),f!==(d=l[M++]||"")&&(c=parseFloat(d)||0,w=d.substr((c+"").length),"="===f.charAt(1)&&(f=Object(v.s)(c,f)+w),m=parseFloat(f),_=f.substr((m+"").length),S=v.r.lastIndex-_.length,_||(_=_||v.i.units[e]||w,S===n.length&&(n+=_,T.e+=_)),w!==_&&(c=st(t,e,d,_)||0),T._pt={_next:T._pt,p:y||1===M?y:",",s:c,c:m-c,m:h&&h<4||"zIndex"===e?Math.round:0});T.c=S<n.length?n.substring(S,n.length):""}
vendor: 10,184 bytes, line 2
2else T.r="display"===e&&"none"===n?R:P;return v.u.test(n)&&(T.e=0),this._pt=T,T},ct={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ht=function(t,data){if(data.tween&&data.tween._time===data.tween._dur){var e,r,i,n=data.t,style=n.style,o=data.u,l=n._gsap;if("all"===o||!0===o)style.cssText="",r=1;else for(i=(o=o.split(",")).length;--i>-1;)e=o[i],_[e]&&(r=1,e="transformOrigin"===e?z:U),it(n,e);r&&(it(n,U),l&&(l.svg&&n.removeAttribute("transform"),_t(n,1),l.uncache=1,$(style)))}},ft={clearProps:function(t,e,r,n,o){if("isFromStart"!==o.data){var l=t._pt=new v.d(t._pt,e,r,0,0,ht);return l.u=n,l.pr=-10,l.tween=o,t._props.push(r),1}}},pt=[1,0,0,1,0,0],mt={},gt=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},vt=function(t){var e=Q(t,U);return gt(e)?pt:e.substr(7).match(v.q).map(v.x)},yt=function(t,e){var r,n,o,c,h=t._gsap||Object(v.k)(t),style=t.style,d=vt(t);return h.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(d=[(o=t.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?pt:d:(d!==pt||t.offsetParent||t===l||h.svg||(o=style.display,style.display="block",(r=t.parentNode)&&t.offsetParent||(c=1,n=t.nextElementSibling,l.appendChild(t)),d=vt(t),o?style.display=o:it(t,"display"),c&&(n?r.insertBefore(t,n):r?r.appendChild(t):l.removeChild(t))),e&&d.length>6?[d[0],d[1],d[4],d[5],d[12],d[13]]:d)},bt=function(t,e,r,n,o,l){var c,h,d,f=t._gsap,m=o||yt(t,!0),v=f.xOrigin||0,y=f.yOrigin||0,_=f.xOffset||0,w=f.yOffset||0,a=m[0],b=m[1],T=m[2],S=m[3],M=m[4],x=m[5],k=e.split(" "),E=parseFloat(k[0])||0,O=parseFloat(k[1])||0;r?m!==pt&&(h=a*S-b*T)&&(d=E*(-b/h)+O*(a/h)-(a*x-b*M)/h,E=E*(S/h)+O*(-T/h)+(T*x-S*M)/h,O=d):(E=(c=tt(t)).x+(~k[0].indexOf("%")?E/100*c.width:E),O=c.y+(~(k[1]||k[0]).indexOf("%")?O/100*c.height:O)),n||!1!==n&&f.smooth?(M=E-v,x=O-y,f.xOffset=_+(M*a+x*T)-M,f.yOffset=w+(M*b+x*S)-x):f.xOffset=f.yOffset=0,f.xOrigin=E,f.yOrigin=O,f.smooth=!!n,f.origin=e,f.originIsAbsolute=!!r,t.style[z]="0px 0px",l&&(nt(l,f,"xOrigin",v,E),nt(l,f,"yOrigin",y,O),nt(l,f,"xOffset",_,f.xOffset),nt(l,f,"yOffset",w,f.yOffset)),t.setAttribute("data-svg-origin",E+" "+O)},_t=function(t,e){var r=t._gsap||new v.a(t);if("x"in r&&!e&&!r.uncache)return r;var n,o,l,c,h,d,f,y,_,M,x,k,E,O,C,A,I,a,b,P,R,D,L,N,j,B,F,V,$,H,W,G,style=t.style,K=r.scaleX<0,X="px",Y="deg",Z=getComputedStyle(t),J=Q(t,z)||"0";return n=o=l=d=f=y=_=M=x=0,c=h=1,r.svg=!(!t.getCTM||!et(t)),Z.translate&&("none"===Z.translate&&"none"===Z.scale&&"none"===Z.rotate||(style[U]=("none"!==Z.translate?"translate3d("+(Z.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Z.rotate?"rotate("+Z.rotate+") ":"")+("none"!==Z.scale?"scale("+Z.scale.split(" ").join(",")+") ":"")+("none"!==Z[U]?Z[U]:"")),style.scale=style.rotate=style.translate="none"),O=yt(t,r.svg),r.svg&&(r.uncache?(j=t.getBBox(),J=r.xOrigin-j.x+"px "+(r.yOrigin-j.y)+"px",N=""):N=!e&&t.getAttribute("data-svg-origin"),bt(t,N||J,!!N||r.originIsAbsolute,!1!==r.smooth,O)),k=r.xOrigin||0,E=r.yOrigin||0,O!==pt&&(a=O[0],b=O[1],P=O[2],R=O[3],n=D=O[4],o=L=O[5],6===O.length?(c=Math.sqrt(a*a+b*b),h=Math.sqrt(R*R+P*P),d=a||b?S(b,a)*w:0,(_=P||R?S(P,R)*w+d:0)&&(h*=Math.abs(Math.cos(_*T))),r.svg&&(n-=k-(k*a+E*P),o-=E-(k*b+E*R))):(G=O[6],H=O[7],F=O[8],V=O[9],$=O[10],W=O[11],n=O[12],o=O[13],l=O[14],f=(C=S(G,$))*w,C&&(N=D*(A=Math.cos(-C))+F*(I=Math.sin(-C)),j=L*A+V*I,B=G*A+$*I,F=D*-I+F*A,V=L*-I+V*A,$=G*-I+$*A,W=H*-I+W*A,D=N,L=j,G=B),y=(C=S(-P,$))*w,C&&(A=Math.cos(-C),W=R*(I=Math.sin(-C))+W*A,a=N=a*A-F*I,b=j=b*A-V*I,P=B=P*A-$*I),d=(C=S(b,a))*w,C&&(N=a*(A=Math.cos(C))+b*(I=Math.sin(C)),j=D*A+L*I,b=b*A-a*I,L=L*A-D*I,a=N,D=j),f&&Math.abs(f)+Math.abs(d)>359.9&&(f=d=0,y=180-y),c=Object(v.x)(Math.sqrt(a*a+b*b+P*P)),h=Object(v.x)(Math.sqrt(L*L+G*G)),C=S(D,L),_=Math.abs(C)>2e-4?C*w:0,x=W?1/(W<0?-W:W):0),r.svg&&(N=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!gt(Q(t,U)),N&&t.setAttribute("transform",N))),Math.abs(_)>90&&Math.abs(_)<270&&(K?(c*=-1,_+=d<=0?180:-180,d+=d<=0?180:-180):(h*=-1,_+=_<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+X,r.y=o-((r.yPercent=o&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-o)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+X,r.z=l+X,r.scaleX=Object(v.x)(c),r.scaleY=Object(v.x)(h),r.rotation=Object(v.x)(d)+Y,r.rotationX=Object(v.x)(f)+Y,r.rotationY=Object(v.x)(y)+Y,r.skewX=_+Y,r.skewY=M+Y,r.transformPerspective=x+X,(r.zOrigin=parseFloat(J.split(" ")[2])||0)&&(style[z]=wt(J)),r.xOffset=r.yOffset=0,r.force3D=v.i.force3D,r.renderTransform=r.svg?Ot:m?Et:St,r.uncache=0,r},wt=function(t){return(t=t.split(" "))[0]+" "+t[1]},Tt=function(t,e,r){var n=Object(v.A)(e);return Object(v.x)(parseFloat(e)+parseFloat(st(t,"x",r+"px",n)))+n},St=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Et(t,e)},Mt="0deg",xt="0px",kt=") ",Et=function(t,e){var r=e||this,n=r.xPercent,o=r.yPercent,l=r.x,c=r.y,h=r.z,d=r.rotation,f=r.rotationY,m=r.rotationX,v=r.skewX,y=r.skewY,_=r.scaleX,w=r.scaleY,S=r.transformPerspective,M=r.force3D,x=r.target,k=r.zOrigin,E="",O="auto"===M&&t&&1!==t||!0===M;if(k&&(m!==Mt||f!==Mt)){var C,A=parseFloat(f)*T,I=Math.sin(A),P=Math.cos(A);A=parseFloat(m)*T,C=Math.cos(A),l=Tt(x,l,I*C*-k),c=Tt(x,c,-Math.sin(A)*-k),h=Tt(x,h,P*C*-k+k)}S!==xt&&(E+="perspective("+S+kt),(n||o)&&(E+="translate("+n+"%, "+o+"%) "),(O||l!==xt||c!==xt||h!==xt)&&(E+=h!==xt||O?"translate3d("+l+", "+c+", "+h+") ":"translate("+l+", "+c+kt),d!==Mt&&(E+="rotate("+d+kt),f!==Mt&&(E+="rotateY("+f+kt),m!==Mt&&(E+="rotateX("+m+kt),v===Mt&&y===Mt||(E+="skew("+v+", "+y+kt),1===_&&1===w||(E+="scale("+_+", "+w+kt),x.style[U]=E||"translate(0, 0)"},Ot=function(t,e){var r,n,o,l,c,h=e||this,d=h.xPercent,f=h.yPercent,m=h.x,y=h.y,_=h.rotation,w=h.skewX,S=h.skewY,M=h.scaleX,x=h.scaleY,k=h.target,E=h.xOrigin,O=h.yOrigin,C=h.xOffset,A=h.yOffset,I=h.forceCSS,P=parseFloat(m),R=parseFloat(y);_=parseFloat(_),w=parseFloat(w),(S=parseFloat(S))&&(w+=S=parseFloat(S),_+=S),_||w?(_*=T,w*=T,r=Math.cos(_)*M,n=Math.sin(_)*M,o=Math.sin(_-w)*-x,l=Math.cos(_-w)*x,w&&(S*=T,c=Math.tan(w-S),o*=c=Math.sqrt(1+c*c),l*=c,S&&(c=Math.tan(S),r*=c=Math.sqrt(1+c*c),n*=c)),r=Object(v.x)(r),n=Object(v.x)(n),o=Object(v.x)(o),l=Object(v.x)(l)):(r=M,l=x,n=o=0),(P&&!~(m+"").indexOf("px")||R&&!~(y+"").indexOf("px"))&&(P=st(k,"x",m,"px"),R=st(k,"y",y,"px")),(E||O||C||A)&&(P=Object(v.x)(P+E-(E*r+O*o)+C),R=Object(v.x)(R+O-(E*n+O*l)+A)),(d||f)&&(c=k.getBBox(),P=Object(v.x)(P+d/100*c.width),R=Object(v.x)(R+f/100*c.height)),c="matrix("+r+","+n+","+o+","+l+","+P+","+R+")",k.setAttribute("transform",c),I&&(k.style[U]=c)},Ct=function(t,e,r,n,o){var l,c,h=360,d=Object(v.n)(o),f=parseFloat(o)*(d&&~o.indexOf("rad")?w:1)-n,m=n+f+"deg";return d&&("short"===(l=o.split("_")[1])&&(f%=h)!==f%180&&(f+=f<0?h:-360),"cw"===l&&f<0?f=(f+36e9)%h-~~(f/h)*h:"ccw"===l&&f>0&&(f=(f-36e9)%h-~~(f/h)*h)),t._pt=c=new v.d(t._pt,e,r,n,f,C),c.e=m,c.u="deg",t._props.push(r),c},At=function(t,source){for(var p in source)t[p]=source[p];return t},It=function(t,e,r){var n,p,o,l,c,h,d,f=At({},r._gsap),style=r.style;for(p in f.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),style[U]=e,n=_t(r,1),it(r,U),r.setAttribute("transform",o)):(o=getComputedStyle(r)[U],style[U]=e,n=_t(r,1),style[U]=o),_)(o=f[p])!==(l=n[p])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(p)<0&&(c=Object(v.A)(o)!==(d=Object(v.A)(l))?st(r,p,o,d):parseFloat(o),h=parseFloat(l),t._pt=new v.d(t._pt,n,p,c,h-c,O),t._pt.u=d||0,t._props.push(p));At(n,f)};Object(v.j)("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",b="Bottom",o="Left",l=(e<3?[r,n,b,o]:[r+o,r+n,b+n,b+o]).map((function(r){return e<2?t+r:"border"+r+t}));ft[e>1?"border"+t:t]=function(t,e,r,n,o){var a,c;if(arguments.length<4)return a=l.map((function(e){return ut(t,e,r)})),5===(c=a.join(" ")).split(a[0]).length?a[0]:c;a=(n+"").split(" "),c={},l.forEach((function(t,i){return c[t]=a[i]=a[i]||a[(i-1)/2|0]})),t.init(e,c,o)}}));var Pt,Rt,Dt,Lt={name:"css",register:Y,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,o){var l,h,d,f,m,w,p,T,S,M,x,C,P,R,D,L,N,j,B,F,V=this._props,style=t.style,$=r.vars.startAt;for(p in c||Y(),this.styles=this.styles||W(t),L=this.styles.props,this.tween=r,e)if("autoRound"!==p&&(h=e[p],!v.t[p]||!Object(v.f)(p,e,r,n,t,o)))if(m=Object(y.a)(h),w=ft[p],"function"===m&&(h=h.call(r,n,t,o),m=Object(y.a)(h)),"string"===m&&~h.indexOf("random(")&&(h=Object(v.w)(h)),w)w(this,t,p,h,r)&&(D=1);else if("--"===p.substr(0,2))l=(getComputedStyle(t).getPropertyValue(p)+"").trim(),h+="",v.g.lastIndex=0,v.g.test(l)||(T=Object(v.A)(l),S=Object(v.A)(h)),S?T!==S&&(l=st(t,p,l,S)+S):T&&(h+=T),this.add(style,"setProperty",l,h,n,o,0,0,p),V.push(p),L.push(p,0,style[p]);else if("undefined"!==m){if($&&p in $?(l="function"==typeof $[p]?$[p].call(r,n,t,o):$[p],Object(v.n)(l)&&~l.indexOf("random(")&&(l=Object(v.w)(l)),Object(v.A)(l+"")||(l+=v.i.units[p]||Object(v.A)(ut(t,p))||""),"="===(l+"").charAt(1)&&(l=ut(t,p))):l=ut(t,p),f=parseFloat(l),(M="string"===m&&"="===h.charAt(1)&&h.substr(0,2))&&(h=h.substr(2)),d=parseFloat(h),p in E&&("autoAlpha"===p&&(1===f&&"hidden"===ut(t,"visibility")&&d&&(f=0),L.push("visibility",0,style.visibility),nt(this,style,"visibility",f?"inherit":"hidden",d?"inherit":"hidden",!d)),"scale"!==p&&"transform"!==p&&~(p=E[p]).indexOf(",")&&(p=p.split(",")[0])),x=p in _)if(this.styles.save(p),C||((P=t._gsap).renderTransform&&!e.parseTransform||_t(t,e.parseTransform),R=!1!==e.smoothOrigin&&P.smooth,(C=this._pt=new v.d(this._pt,style,U,0,1,P.renderTransform,P,0,-1)).dep=1),"scale"===p)this._pt=new v.d(this._pt,P,"scaleY",P.scaleY,(M?Object(v.s)(P.scaleY,M+d):d)-P.scaleY||0,O),this._pt.u=0,V.push("scaleY",p),p+="X";else{if("transformOrigin"===p){L.push(z,0,style[z]),j=void 0,B=void 0,F=void 0,j=(N=h).split(" "),B=j[0],F=j[1]||"50%","top"!==B&&"bottom"!==B&&"left"!==F&&"right"!==F||(N=B,B=F,F=N),j[0]=ct[B]||B,j[1]=ct[F]||F,h=j.join(" "),P.svg?bt(t,h,0,R,0,this):((S=parseFloat(h.split(" ")[2])||0)!==P.zOrigin&&nt(this,P,"zOrigin",P.zOrigin,S),nt(this,style,p,wt(l),wt(h)));continue}if("svgOrigin"===p){bt(t,h,1,R,0,this);continue}
2if(p in mt){Ct(this,P,p,f,M?Object(v.s)(f,M+h):h);continue}if("smoothOrigin"===p){nt(this,P,"smooth",P.smooth,h);continue}if("force3D"===p){P[p]=h;continue}if("transform"===p){It(this,h,t);continue}}else p in style||(p=X(p)||p);if(x||(d||0===d)&&(f||0===f)&&!k.test(h)&&p in style)d||(d=0),(T=(l+"").substr((f+"").length))!==(S=Object(v.A)(h)||(p in v.i.units?v.i.units[p]:T))&&(f=st(t,p,l,S)),this._pt=new v.d(this._pt,x?P:style,p,f,(M?Object(v.s)(f,M+d):d)-f,x||"px"!==S&&"zIndex"!==p||!1===e.autoRound?O:I),this._pt.u=S||0,T!==S&&"%"!==S&&(this._pt.b=l,this._pt.r=A);else if(p in style)lt.call(this,t,p,l,M?M+h:h);else if(p in t)this.add(t,p,l||t[p],M?M+h:h,n,o);else if("parseTransform"!==p){Object(v.p)(p,h);continue}x||(p in style?L.push(p,0,style[p]):L.push(p,1,l||t[p])),V.push(p)}D&&Object(v.y)(this)},render:function(t,data){if(data.tween._time||!f())for(var e=data._pt;e;)e.r(t,e.d),e=e._next;else data.styles.revert()},get:ut,aliases:E,getSetter:function(t,e,r){var p=E[e];return p&&p.indexOf(",")<0&&(e=p),e in _&&e!==z&&(t._gsap.x||ut(t,"x"))?r&&d===r?"scale"===e?j:N:(d=r||{})&&("scale"===e?B:F):t.style&&!Object(v.o)(t.style[e])?D:~e.indexOf("-")?L:Object(v.m)(t,e)},core:{_removeProperty:it,_getMatrix:yt}};v.B.utils.checkPrefix=X,v.B.core.getStyleSaver=W,Pt="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",Rt="rotation,rotationX,rotationY,skewX,skewY",Dt=Object(v.j)(Pt+","+Rt+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){_[t]=1})),Object(v.j)(Rt,(function(t){v.i.units[t]="deg",mt[t]=1})),E[Dt[13]]=Pt+","+Rt,Object(v.j)("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");E[e[1]]=Dt[e[0]]})),Object(v.j)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){v.i.units[t]="px"})),v.B.registerPlugin(Lt);var Nt=v.B.registerPlugin(Lt)||v.B;Nt.core.Tween},,,,,,,,,,function(t,e,r){"use strict";(function(e,n){var o=65536,l=4294967295;var c=r(23).Buffer,h=e.crypto||e.msCrypto;h&&h.getRandomValues?t.exports=function(t,e){if(t>l)throw new RangeError("requested too many random bytes");var r=c.allocUnsafe(t);if(t>0)if(t>o)for(var d=0;d<t;d+=o)h.getRandomValues(r.slice(d,d+o));else h.getRandomValues(r);if("function"==typeof e)return n.nextTick((function(){e(null,r)}));return r}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(40),r(67))},function(t,e,r){"use strict";var n={};function o(code,t,e){e||(e=Error);var r=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(e);r.prototype.name=e.name,r.prototype.code=code,n[code]=r}function l(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(i){return String(i)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,o,c,h;if("string"==typeof e&&(o="not ",e.substr(!c||c<0?0:+c,o.length)===o)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))h="The ".concat(t," ").concat(n," ").concat(l(e,"type"));else{var d=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";h='The "'.concat(t,'" ').concat(d," ").concat(n," ").concat(l(e,"type"))}return h+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=f;var o=r(384),l=r(388);r(19)(f,o);for(var c=n(l.prototype),h=0;h<c.length;h++){var d=c[h];f.prototype[d]||(f.prototype[d]=l.prototype[d])}function f(t){if(!(this instanceof f))return new f(t);o.call(this,t),l.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",m)))}function m(){this._writableState.ended||e.nextTick(v,this)}function v(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(f.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(f.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(67))},function(t,e,r){var n=r(23).Buffer;function o(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}o.prototype.update=function(data,t){"string"==typeof data&&(t=t||"utf8",data=n.from(data,t));for(var e=this._block,r=this._blockSize,o=data.length,l=this._len,c=0;c<o;){for(var h=l%r,d=Math.min(o-c,r-h),i=0;i<d;i++)e[h+i]=data[c+i];c+=d,(l+=d)%r==0&&this._update(e)}return this._len+=o,this},o.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var l=this._hash();return t?l.toString(t):l},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o},,function(t,e,r){"use strict";var n=r(291),o=r.n(n),l=r(0),c=r.n(l),h="http://example.com";e.a=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=c.a.location&&c.a.location.href||"");var r="function"==typeof c.a.URL,n=/^\/\//.test(t),l=!c.a.location&&!/\/\//i.test(t);if(r?t=new c.a.URL(t,c.a.location||h):/\/\//i.test(t)||(t=o.a.buildAbsoluteURL(c.a.location&&c.a.location.href||"",t)),r){var d=new URL(e,t);return l?d.href.slice(18):n?d.href.slice(d.protocol.length):d.href}return o.a.buildAbsoluteURL(t,e)}},function(t,e,r){"use strict";var n={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var r=e.parent,n=e.slots,o=e.props,l=n(),c=l.default;void 0===c&&(c=[]);var h=l.placeholder;return r._isMounted?c:(r.$once("hook:mounted",(function(){r.$forceUpdate()})),o.placeholderTag&&(o.placeholder||h)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||h):c.length>0?c.map((function(){return t(!1)})):t(!1))}};t.exports=n},function(t,e,r){"use strict";r.d(e,"d",(function(){return gt})),r.d(e,"b",(function(){return yt})),r.d(e,"c",(function(){return _t})),r.d(e,"a",(function(){return wt}));var n=r(94),o=r(219),l=r(220);r(51),r(9),r(49),r(24),r(26),r(29),r(82),r(22),r(206);function c(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function h(t={},e={}){Object.keys(e).forEach((r=>{void 0===t[r]?t[r]=e[r]:c(e[r])&&c(t[r])&&Object.keys(e[r]).length>0&&h(t[r],e[r])}))}const d={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function f(){const t="undefined"!=typeof document?document:{};return h(t,d),t}const m={document:d,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){}
vendor: 5,289 bytes, line 2
2,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function v(){const t="undefined"!=typeof window?window:{};return h(t,m),t}class y extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get:()=>e,set(t){e.__proto__=t}})}(this))}}function _(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(..._(t)):e.push(t)})),e}function w(t,e){return Array.prototype.filter.call(t,e)}function T(t,e){const r=v(),n=f();let o=[];if(!e&&t instanceof y)return t;if(!t)return new y(o);if("string"==typeof t){const html=t.trim();if(html.indexOf("<")>=0&&html.indexOf(">")>=0){let t="div";0===html.indexOf("<li")&&(t="ul"),0===html.indexOf("<tr")&&(t="tbody"),0!==html.indexOf("<td")&&0!==html.indexOf("<th")||(t="tr"),0===html.indexOf("<tbody")&&(t="table"),0===html.indexOf("<option")&&(t="select");const e=n.createElement(t);e.innerHTML=html;for(let i=0;i<e.childNodes.length;i+=1)o.push(e.childNodes[i])}else o=function(t,e){if("string"!=typeof t)return[t];const a=[],r=e.querySelectorAll(t);for(let i=0;i<r.length;i+=1)a.push(r[i]);return a}(t.trim(),e||n)}else if(t.nodeType||t===r||t===n)o.push(t);else if(Array.isArray(t)){if(t instanceof y)return t;o=t}return new y(function(t){const e=[];for(let i=0;i<t.length;i+=1)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(o))}T.fn=y.prototype;const S="resize scroll".split(" ");function M(t){return function(...e){if(void 0===e[0]){for(let i=0;i<this.length;i+=1)S.indexOf(t)<0&&(t in this[i]?this[i][t]():T(this[i]).trigger(t));return this}return this.on(t,...e)}}M("click"),M("blur"),M("focus"),M("focusin"),M("focusout"),M("keyup"),M("keydown"),M("keypress"),M("submit"),M("change"),M("mousedown"),M("mousemove"),M("mouseup"),M("mouseenter"),M("mouseleave"),M("mouseout"),M("mouseover"),M("touchstart"),M("touchend"),M("touchmove"),M("resize"),M("scroll");var x={addClass:function(...t){const e=_(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this},removeClass:function(...t){const e=_(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this},hasClass:function(...t){const e=_(t.map((t=>t.split(" "))));return w(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0},toggleClass:function(...t){const e=_(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(t,e);else for(const e in t)this[i][e]=t[e],this[i].setAttribute(e,t[e]);return this},removeAttr:function(t){for(let i=0;i<this.length;i+=1)this[i].removeAttribute(t);return this},transform:function(t){for(let i=0;i<this.length;i+=1)this[i].style.transform=t;return this},transition:function(t){for(let i=0;i<this.length;i+=1)this[i].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this},on:function(...t){let[e,r,n,o]=t;function l(t){const e=t.target;if(!e)return;const o=t.target.dom7EventData||[];if(o.indexOf(t)<0&&o.unshift(t),T(e).is(r))n.apply(e,o);else{const t=T(e).parents();for(let e=0;e<t.length;e+=1)T(t[e]).is(r)&&n.apply(t[e],o)}}function c(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),n.apply(this,e)}"function"==typeof t[1]&&([e,n,o]=t,r=void 0),o||(o=!1);const h=e.split(" ");let d;for(let i=0;i<this.length;i+=1){const t=this[i];if(r)for(d=0;d<h.length;d+=1){const e=h[d];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:l}),t.addEventListener(e,l,o)}else for(d=0;d<h.length;d+=1){const e=h[d];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:c}),t.addEventListener(e,c,o)}}return this},off:function(...t){let[e,r,n,o]=t;"function"==typeof t[1]&&([e,n,o]=t,r=void 0),o||(o=!1);const l=e.split(" ");for(let i=0;i<l.length;i+=1){const t=l[i];for(let e=0;e<this.length;e+=1){const l=this[e];let c;if(!r&&l.dom7Listeners?c=l.dom7Listeners[t]:r&&l.dom7LiveListeners&&(c=l.dom7LiveListeners[t]),c&&c.length)for(let e=c.length-1;e>=0;e-=1){const r=c[e];n&&r.listener===n||n&&r.listener&&r.listener.dom7proxy&&r.listener.dom7proxy===n?(l.removeEventListener(t,r.proxyListener,o),c.splice(e,1)):n||(l.removeEventListener(t,r.proxyListener,o),c.splice(e,1))}}}return this},trigger:function(...t){const e=v(),r=t[0].split(" "),n=t[1];for(let i=0;i<r.length;i+=1){const o=r[i];for(let r=0;r<this.length;r+=1){const l=this[r];if(e.CustomEvent){const r=new e.CustomEvent(o,{detail:n,bubbles:!0,cancelable:!0});l.dom7EventData=t.filter(((data,t)=>t>0)),l.dispatchEvent(r),l.dom7EventData=[],delete l.dom7EventData}}}return this},transitionEnd:function(t){const e=this;return t&&e.on("transitionend",(function r(n){n.target===this&&(t.call(this,n),e.off("transitionend",r))})),this},outerWidth:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 4,586 bytes, line 2
2parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const t=v();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const t=v(),e=f(),r=this[0],n=r.getBoundingClientRect(),body=e.body,o=r.clientTop||body.clientTop||0,l=r.clientLeft||body.clientLeft||0,c=r===t?t.scrollY:r.scrollTop,h=r===t?t.scrollX:r.scrollLeft;return{top:n.top+c-o,left:n.left+h-l}}return null},css:function(t,e){const r=v();let i;if(1===arguments.length){if("string"!=typeof t){for(i=0;i<this.length;i+=1)for(const e in t)this[i].style[e]=t[e];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(i=0;i<this.length;i+=1)this[i].style[t]=e;return this}return this},each:function(t){return t?(this.forEach(((e,r)=>{t.apply(e,[e,r])})),this):this},html:function(html){if(void 0===html)return this[0]?this[0].innerHTML:null;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(t){const e=v(),r=f(),n=this[0];let o,i;if(!n||void 0===t)return!1;if("string"==typeof t){if(n.matches)return n.matches(t);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(t);if(n.msMatchesSelector)return n.msMatchesSelector(t);for(o=T(t),i=0;i<o.length;i+=1)if(o[i]===n)return!0;return!1}if(t===r)return n===r;if(t===e)return n===e;if(t.nodeType||t instanceof y){for(o=t.nodeType?[t]:t,i=0;i<o.length;i+=1)if(o[i]===n)return!0;return!1}return!1},index:function(){let i,t=this[0];if(t){for(i=0;null!==(t=t.previousSibling);)1===t.nodeType&&(i+=1);return i}},eq:function(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return T([]);if(t<0){const r=e+t;return T(r<0?[]:[this[r]])}return T([this[t]])},append:function(...t){let e;const r=f();for(let n=0;n<t.length;n+=1){e=t[n];for(let i=0;i<this.length;i+=1)if("string"==typeof e){const t=r.createElement("div");for(t.innerHTML=e;t.firstChild;)this[i].appendChild(t.firstChild)}else if(e instanceof y)for(let t=0;t<e.length;t+=1)this[i].appendChild(e[t]);else this[i].appendChild(e)}return this},prepend:function(t){const e=f();let i,r;for(i=0;i<this.length;i+=1)if("string"==typeof t){const n=e.createElement("div");for(n.innerHTML=t,r=n.childNodes.length-1;r>=0;r-=1)this[i].insertBefore(n.childNodes[r],this[i].childNodes[0])}else if(t instanceof y)for(r=0;r<t.length;r+=1)this[i].insertBefore(t[r],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&T(this[0].nextElementSibling).is(t)?T([this[0].nextElementSibling]):T([]):this[0].nextElementSibling?T([this[0].nextElementSibling]):T([]):T([])},nextAll:function(t){const e=[];let r=this[0];if(!r)return T([]);for(;r.nextElementSibling;){const n=r.nextElementSibling;t?T(n).is(t)&&e.push(n):e.push(n),r=n}return T(e)},prev:function(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&T(e.previousElementSibling).is(t)?T([e.previousElementSibling]):T([]):e.previousElementSibling?T([e.previousElementSibling]):T([])}return T([])},prevAll:function(t){const e=[];let r=this[0];if(!r)return T([]);for(;r.previousElementSibling;){const n=r.previousElementSibling;t?T(n).is(t)&&e.push(n):e.push(n),r=n}return T(e)},parent:function(t){const e=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(t?T(this[i].parentNode).is(t)&&e.push(this[i].parentNode):e.push(this[i].parentNode));return T(e)},parents:function(t){const e=[];for(let i=0;i<this.length;i+=1){let r=this[i].parentNode;for(;r;)t?T(r).is(t)&&e.push(r):e.push(r),r=r.parentNode}return T(e)},closest:function(t){let e=this;return void 0===t?T([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){const e=[];for(let i=0;i<this.length;i+=1){const r=this[i].querySelectorAll(t);for(let t=0;t<r.length;t+=1)e.push(r[t])}return T(e)},children:function(t){const e=[];for(let i=0;i<this.length;i+=1){const r=this[i].children;for(let n=0;n<r.length;n+=1)t&&!T(r[n]).is(t)||e.push(r[n])}return T(e)},filter:function(t){return T(w(this,t))},remove:function(){for(let i=0;i<this.length;i+=1)this[i].parentNode&&this[i].parentNode.removeChild(this[i]);return this}};
2Object.keys(x).forEach((function(t){Object.defineProperty(T.fn,t,{value:x[t],writable:!0})}));var k,E=T,O=r(16),C=r(17);r(71),r(54),r(30),r(56),r(44);function A(t){return setTimeout(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}function I(){return Date.now()}function P(t){var e,r,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",l=v(),c=function(t){var style,e=v();return e.getComputedStyle&&(style=e.getComputedStyle(t,null)),!style&&t.currentStyle&&(style=t.currentStyle),style||(style=t.style),style}(t);return l.WebKitCSSMatrix?((r=c.transform||c.webkitTransform).split(",").length>6&&(r=r.split(", ").map((function(a){return a.replace(",",".")})).join(", ")),n=new l.WebKitCSSMatrix("none"===r?"":r)):e=(n=c.MozTransform||c.OTransform||c.MsTransform||c.msTransform||c.transform||c.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===o&&(r=l.WebKitCSSMatrix?n.m41:16===e.length?parseFloat(e[12]):parseFloat(e[4])),"y"===o&&(r=l.WebKitCSSMatrix?n.m42:16===e.length?parseFloat(e[13]):parseFloat(e[5])),r||0}function R(t){return"object"===Object(C.a)(t)&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function D(){for(var t,e=Object(arguments.length<=0?void 0:arguments[0]),r=["__proto__","constructor","prototype"],i=1;i<arguments.length;i+=1){var n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n&&(t=n,!("undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType))))for(var o=Object.keys(Object(n)).filter((function(t){return r.indexOf(t)<0})),l=0,c=o.length;l<c;l+=1){var h=o[l],desc=Object.getOwnPropertyDescriptor(n,h);void 0!==desc&&desc.enumerable&&(R(e[h])&&R(n[h])?n[h].__swiper__?e[h]=n[h]:D(e[h],n[h]):!R(e[h])&&R(n[h])?(e[h]={},n[h].__swiper__?e[h]=n[h]:D(e[h],n[h])):e[h]=n[h])}}return e}function L(t,e,r){t.style.setProperty(e,r)}function N(t){var time,e=t.swiper,r=t.targetPosition,n=t.side,o=v(),l=-e.translate,c=null,h=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);var d=r>l?"next":"prev",f=function(t,e){return"next"===d&&t>=e||"prev"===d&&t<=e};!function animate(){time=(new Date).getTime(),null===c&&(c=time);var progress=Math.max(Math.min((time-c)/h,1),0),t=.5-Math.cos(progress*Math.PI)/2,d=l+t*(r-l);if(f(d,r)&&(d=r),e.wrapperEl.scrollTo(Object(O.a)({},n,d)),f(d,r))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((function(){e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo(Object(O.a)({},n,d))})),void o.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=o.requestAnimationFrame(animate)}()}function j(){return k||(k=function(){var t=v(),e=f();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:function(){var e=!1;try{var r=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,r)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),k}var B,F;r(104);function U(){return B||(B=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).userAgent,e=j(),r=v(),n=r.navigator.platform,o=t||r.navigator.userAgent,l={ios:!1,android:!1},c=r.screen.width,h=r.screen.height,d=o.match(/(Android);?[\s\/]+([\d.]+)?/),f=o.match(/(iPad).*OS\s([\d_]+)/),m=o.match(/(iPod)(.*OS\s([\d_]+))?/),y=!f&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),_="Win32"===n,w="MacIntel"===n;return!f&&w&&e.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(c,"x").concat(h))>=0&&((f=o.match(/(Version)\/([\d.]+)/))||(f=[0,1,"13_0_0"]),w=!1),d&&!_&&(l.os="android",l.android=!0),(f||y||m)&&(l.os="ios",l.ios=!0),l}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})),B}function z(){return F||(F=function(){var t,e=v();return{isSafari:(t=e.navigator.userAgent.toLowerCase(),t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWeb
2Kit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),F}r(105);var V={on:function(t,e,r){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;var o=r?"unshift":"push";return t.split(" ").forEach((function(t){n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][o](e)})),n},once:function(t,e,r){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var r=arguments.length,l=new Array(r),c=0;c<r;c++)l[c]=arguments[c];e.apply(n,l)}return o.__emitterProxy=e,n.on(t,o,r)},onAny:function(t,e){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;var n=e?"unshift":"push";return r.eventsAnyListeners.indexOf(t)<0&&r.eventsAnyListeners[n](t),r},offAny:function(t){var e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;var r=e.eventsAnyListeners.indexOf(t);return r>=0&&e.eventsAnyListeners.splice(r,1),e},off:function(t,e){var r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(t.split(" ").forEach((function(t){void 0===e?r.eventsListeners[t]=[]:r.eventsListeners[t]&&r.eventsListeners[t].forEach((function(n,o){(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&r.eventsListeners[t].splice(o,1)}))})),r):r},emit:function(){var t,data,e,r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsListeners)return r;for(var o=arguments.length,l=new Array(o),c=0;c<o;c++)l[c]=arguments[c];return"string"==typeof l[0]||Array.isArray(l[0])?(t=l[0],data=l.slice(1,l.length),e=r):(t=l[0].events,data=l[0].data,e=l[0].context||r),data.unshift(e),(Array.isArray(t)?t:t.split(" ")).forEach((function(t){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach((function(r){r.apply(e,[t].concat(Object(n.a)(data)))})),r.eventsListeners&&r.eventsListeners[t]&&r.eventsListeners[t].forEach((function(t){t.apply(e,data)}))})),r}};r(774),r(183);r(39);var $={updateSize:function(){var t,e,r=this,n=r.$el;t=void 0!==r.params.width&&null!==r.params.width?r.params.width:n[0].clientWidth,e=void 0!==r.params.height&&null!==r.params.height?r.params.height:n[0].clientHeight,0===t&&r.isHorizontal()||0===e&&r.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),e=e-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(e)&&(e=0),Object.assign(r,{width:t,height:e,size:r.isHorizontal()?t:e}))},updateSlides:function(){var t=this;function e(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function r(t,label){return parseFloat(t.getPropertyValue(e(label))||0)}var n=t.params,o=t.$wrapperEl,l=t.size,c=t.rtlTranslate,h=t.wrongRTL,d=t.virtual&&n.virtual.enabled,f=d?t.virtual.slides.length:t.slides.length,m=o.children(".".concat(t.params.slideClass)),v=d?t.virtual.slides.length:m.length,y=[],_=[],w=[],T=n.slidesOffsetBefore;"function"==typeof T&&(T=n.slidesOffsetBefore.call(t));var S=n.slidesOffsetAfter;"function"==typeof S&&(S=n.slidesOffsetAfter.call(t));var M=t.snapGrid.length,x=t.slidesGrid.length,k=n.spaceBetween,E=-T,C=0,A=0;if(void 0!==l){"string"==typeof k&&k.indexOf("%")>=0&&(k=parseFloat(k.replace("%",""))/100*l),t.virtualSize=-k,c?m.css({marginLeft:"",marginBottom:"",marginTop:""}):m.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(L(t.wrapperEl,"--swiper-centered-offset-before",""),L(t.wrapperEl,"--swiper-centered-offset-after",""));var I,P=n.grid&&n.grid.rows>1&&t.grid;P&&t.grid.initSlides(v);for(var R="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((function(t){return void 0!==n.breakpoints[t].slidesPerView})).length>0,i=0;i<v;i+=1){I=0;var D=m.eq(i);if(P&&t.grid.updateSlide(i,D,v,e),"none"!==D.css("display")){if("auto"===n.slidesPerView){R&&(m[i].style[e("width")]="");var N=getComputedStyle(D[0]),j=D[0].style.transform,B=D[0].style.webkitTransform;if(j&&(D[0].style.transform="none"),B&&(D[0].style.webkitTransform="none"),n.roun
2dLengths)I=t.isHorizontal()?D.outerWidth(!0):D.outerHeight(!0);else{var F=r(N,"width"),U=r(N,"padding-left"),z=r(N,"padding-right"),V=r(N,"margin-left"),$=r(N,"margin-right"),H=N.getPropertyValue("box-sizing");if(H&&"border-box"===H)I=F+V+$;else{var W=D[0],G=W.clientWidth;I=F+U+z+V+$+(W.offsetWidth-G)}}j&&(D[0].style.transform=j),B&&(D[0].style.webkitTransform=B),n.roundLengths&&(I=Math.floor(I))}else I=(l-(n.slidesPerView-1)*k)/n.slidesPerView,n.roundLengths&&(I=Math.floor(I)),m[i]&&(m[i].style[e("width")]="".concat(I,"px"));m[i]&&(m[i].swiperSlideSize=I),w.push(I),n.centeredSlides?(E=E+I/2+C/2+k,0===C&&0!==i&&(E=E-l/2-k),0===i&&(E=E-l/2-k),Math.abs(E)<.001&&(E=0),n.roundLengths&&(E=Math.floor(E)),A%n.slidesPerGroup==0&&y.push(E),_.push(E)):(n.roundLengths&&(E=Math.floor(E)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup==0&&y.push(E),_.push(E),E=E+I+k),t.virtualSize+=I+k,C=I,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+S,c&&h&&("slide"===n.effect||"coverflow"===n.effect)&&o.css({width:"".concat(t.virtualSize+n.spaceBetween,"px")}),n.setWrapperSize&&o.css(Object(O.a)({},e("width"),"".concat(t.virtualSize+n.spaceBetween,"px"))),P&&t.grid.updateWrapperSize(I,y,e),!n.centeredSlides){for(var Q=[],K=0;K<y.length;K+=1){var X=y[K];n.roundLengths&&(X=Math.floor(X)),y[K]<=t.virtualSize-l&&Q.push(X)}y=Q,Math.floor(t.virtualSize-l)-Math.floor(y[y.length-1])>1&&y.push(t.virtualSize-l)}if(0===y.length&&(y=[0]),0!==n.spaceBetween){var Y=t.isHorizontal()&&c?"marginLeft":e("marginRight");m.filter((function(t,e){return!n.cssMode||e!==m.length-1})).css(Object(O.a)({},Y,"".concat(k,"px")))}if(n.centeredSlides&&n.centeredSlidesBounds){var Z=0;w.forEach((function(t){Z+=t+(n.spaceBetween?n.spaceBetween:0)}));var J=(Z-=n.spaceBetween)-l;y=y.map((function(t){return t<0?-T:t>J?J+S:t}))}if(n.centerInsufficientSlides){var tt=0;if(w.forEach((function(t){tt+=t+(n.spaceBetween?n.spaceBetween:0)})),(tt-=n.spaceBetween)<l){var et=(l-tt)/2;y.forEach((function(t,e){y[e]=t-et})),_.forEach((function(t,e){_[e]=t+et}))}}if(Object.assign(t,{slides:m,snapGrid:y,slidesGrid:_,slidesSizesGrid:w}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){L(t.wrapperEl,"--swiper-centered-offset-before","".concat(-y[0],"px")),L(t.wrapperEl,"--swiper-centered-offset-after","".concat(t.size/2-w[w.length-1]/2,"px"));var it=-t.snapGrid[0],nt=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map((function(t){return t+it})),t.slidesGrid=t.slidesGrid.map((function(t){return t+nt}))}if(v!==f&&t.emit("slidesLengthChange"),y.length!==M&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),_.length!==x&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),!(d||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){var ot="".concat(n.containerModifierClass,"backface-hidden"),at=t.$el.hasClass(ot);v<=n.maxBackfaceHiddenSlides?at||t.$el.addClass(ot):at&&t.$el.removeClass(ot)}}},updateAutoHeight:function(t){var i,e=this,r=[],n=e.virtual&&e.params.virtual.enabled,o=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);var l=function(t){return n?e.slides.filter((function(e){return parseInt(e.getAttribute("data-swiper-slide-index"),10)===t}))[0]:e.slides.eq(t)[0]};if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||E([])).each((function(t){r.push(t)}));else for(i=0;i<Math.ceil(e.params.slidesPerView);i+=1){var c=e.activeIndex+i;if(c>e.slides.length&&!n)break;r.push(l(c))}else r.push(l(e.activeIndex));for(i=0;i<r.length;i+=1)if(void 0!==r[i]){var h=r[i].offsetHeight;o=h>o?h:o}(o||0===o)&&e.$wrapperEl.css("height","".concat(o,"px"))},updateSlidesOffset:function(){for(var t=this.slides,i=0;i<t.length;i+=1)t[i].swiperSlideOffset=this.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,e=this,r=e.params,n=e.slides,o=e.rtlTranslate,l=e.snapGrid;if(0!==n.length){void 0===n[0].swiperSlideOffset&&e.updateSlidesOffset();var c=-t;o&&(c=t),n.removeClass(r.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(var i=0;i<n.length;i+=1){var h=n[i],d=h.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(d-=n[0].swiperSlideOffset);var f=(c+(r.centeredSlides?e.minTranslate():0)-d)/(h.swiperSlideSize+r.spaceBetween),m=(c-l[0]+(r.centeredSlides?e.minTranslate():0)-d)/(h.swiperSlideSize+r.spaceBetween),v=-(c-d),y=v+e.slidesSizesGrid[i];(v>=0&&v<e.size-1||y>1&&y<=e.size||v<=0&&y>=e.size)&&(e.visibleSlides.push(h),e.visibleSlidesIndexes.push(i),n.eq(i).addClass(r.slideVisibleClass)),h.progress=o?-f:f,h.originalProgress=o?-m:m}e.visibleSlides=E(e.visibleSlides)}},updateProgress:function(t){var e=this;if(void 0===t){var r=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*r||0}var n=e.params,o=e.maxTranslate()-e.minTranslate(),progress=e.progress,l=e.isBeginning,c=e.isEnd,h=l,d=c;0===o?(progress=0,l=!0,c=!0):(l=(progress=(t-e.minTranslate())/o)<=0,c=progress>
2=1),Object.assign(e,{progress:progress,isBeginning:l,isEnd:c}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),l&&!h&&e.emit("reachBeginning toEdge"),c&&!d&&e.emit("reachEnd toEdge"),(h&&!l||d&&!c)&&e.emit("fromEdge"),e.emit("progress",progress)},updateSlidesClasses:function(){var t,e=this,r=e.slides,n=e.params,o=e.$wrapperEl,l=e.activeIndex,c=e.realIndex,h=e.virtual&&n.virtual.enabled;r.removeClass("".concat(n.slideActiveClass," ").concat(n.slideNextClass," ").concat(n.slidePrevClass," ").concat(n.slideDuplicateActiveClass," ").concat(n.slideDuplicateNextClass," ").concat(n.slideDuplicatePrevClass)),(t=h?e.$wrapperEl.find(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(l,'"]')):r.eq(l)).addClass(n.slideActiveClass),n.loop&&(t.hasClass(n.slideDuplicateClass)?o.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(c,'"]')).addClass(n.slideDuplicateActiveClass):o.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(c,'"]')).addClass(n.slideDuplicateActiveClass));var d=t.nextAll(".".concat(n.slideClass)).eq(0).addClass(n.slideNextClass);n.loop&&0===d.length&&(d=r.eq(0)).addClass(n.slideNextClass);var f=t.prevAll(".".concat(n.slideClass)).eq(0).addClass(n.slidePrevClass);n.loop&&0===f.length&&(f=r.eq(-1)).addClass(n.slidePrevClass),n.loop&&(d.hasClass(n.slideDuplicateClass)?o.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicateNextClass):o.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicateNextClass),f.hasClass(n.slideDuplicateClass)?o.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(f.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicatePrevClass):o.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(f.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(t){var e,r=this,n=r.rtlTranslate?r.translate:-r.translate,o=r.slidesGrid,l=r.snapGrid,c=r.params,h=r.activeIndex,d=r.realIndex,f=r.snapIndex,m=t;if(void 0===m){for(var i=0;i<o.length;i+=1)void 0!==o[i+1]?n>=o[i]&&n<o[i+1]-(o[i+1]-o[i])/2?m=i:n>=o[i]&&n<o[i+1]&&(m=i+1):n>=o[i]&&(m=i);c.normalizeSlideIndex&&(m<0||void 0===m)&&(m=0)}if(l.indexOf(n)>=0)e=l.indexOf(n);else{var v=Math.min(c.slidesPerGroupSkip,m);e=v+Math.floor((m-v)/c.slidesPerGroup)}if(e>=l.length&&(e=l.length-1),m!==h){var y=parseInt(r.slides.eq(m).attr("data-swiper-slide-index")||m,10);Object.assign(r,{snapIndex:e,realIndex:y,previousIndex:h,activeIndex:m}),r.emit("activeIndexChange"),r.emit("snapIndexChange"),d!==y&&r.emit("realIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&r.emit("slideChange")}else e!==f&&(r.snapIndex=e,r.emit("snapIndexChange"))},updateClickedSlide:function(t){var e,r=this,n=r.params,o=E(t).closest(".".concat(n.slideClass))[0],l=!1;if(o)for(var i=0;i<r.slides.length;i+=1)if(r.slides[i]===o){l=!0,e=i;break}if(!o||!l)return r.clickedSlide=void 0,void(r.clickedIndex=void 0);r.clickedSlide=o,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(E(o).attr("data-swiper-slide-index"),10):r.clickedIndex=e,n.slideToClickedSlide&&void 0!==r.clickedIndex&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}};var H={getTranslate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",e=this,r=e.params,n=e.rtlTranslate,o=e.translate,l=e.$wrapperEl;if(r.virtualTranslate)return n?-o:o;if(r.cssMode)return o;var c=P(l[0],t);return n&&(c=-c),c||0},setTranslate:function(t,e){var r=this,n=r.rtlTranslate,o=r.params,l=r.$wrapperEl,c=r.wrapperEl,progress=r.progress,h=0,d=0;r.isHorizontal()?h=n?-t:t:d=t,o.roundLengths&&(h=Math.floor(h),d=Math.floor(d)),o.cssMode?c[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-h:-d:o.virtualTranslate||l.transform("translate3d(".concat(h,"px, ").concat(d,"px, ").concat(0,"px)")),r.previousTranslate=r.translate,r.translate=r.isH
2orizontal()?h:d;var f=r.maxTranslate()-r.minTranslate();(0===f?0:(t-r.minTranslate())/f)!==progress&&r.updateProgress(t),r.emit("setTranslate",r.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4?arguments[4]:void 0,l=this,c=l.params,h=l.wrapperEl;if(l.animating&&c.preventInteractionOnTransition)return!1;var d,f=l.minTranslate(),m=l.maxTranslate();if(d=n&&t>f?f:n&&t<m?m:t,l.updateProgress(d),c.cssMode){var v=l.isHorizontal();if(0===e)h[v?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return N({swiper:l,targetPosition:-d,side:v?"left":"top"}),!0;h.scrollTo(Object(O.a)(Object(O.a)({},v?"left":"top",-d),"behavior","smooth"))}return!0}return 0===e?(l.setTransition(0),l.setTranslate(d),r&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),r&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(t){l&&!l.destroyed&&t.target===this&&(l.$wrapperEl[0].removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.$wrapperEl[0].removeEventListener("webkitTransitionEnd",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,r&&l.emit("transitionEnd"))}),l.$wrapperEl[0].addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.$wrapperEl[0].addEventListener("webkitTransitionEnd",l.onTranslateToWrapperTransitionEnd))),!0}};function W(t){var e=t.swiper,r=t.runCallbacks,n=t.direction,o=t.step,l=e.activeIndex,c=e.previousIndex,h=n;if(h||(h=l>c?"next":l<c?"prev":"reset"),e.emit("transition".concat(o)),r&&l!==c){if("reset"===h)return void e.emit("slideResetTransition".concat(o));e.emit("slideChangeTransition".concat(o)),"next"===h?e.emit("slideNextTransition".concat(o)):e.emit("slidePrevTransition".concat(o))}}var G={setTransition:function(t,e){var r=this;r.params.cssMode||r.$wrapperEl.transition(t),r.emit("setTransition",t,e)},transitionStart:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,r=this,n=r.params;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),W({swiper:r,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,r=this,n=r.params;r.animating=!1,n.cssMode||(r.setTransition(0),W({swiper:r,runCallbacks:t,direction:e,step:"End"}))}};var Q={slideTo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if("number"!=typeof t&&"string"!=typeof t)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(Object(C.a)(t),"] given."));if("string"==typeof t){var l=parseInt(t,10);if(!isFinite(l))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(t,"] given."));t=l}var c=this,h=t;h<0&&(h=0);var d=c.params,f=c.snapGrid,m=c.slidesGrid,v=c.previousIndex,y=c.activeIndex,_=c.rtlTranslate,w=c.wrapperEl,T=c.enabled;if(c.animating&&d.preventInteractionOnTransition||!T&&!n&&!o)return!1;var S=Math.min(c.params.slidesPerGroupSkip,h),M=S+Math.floor((h-S)/c.params.slidesPerGroup);M>=f.length&&(M=f.length-1);var x,k=-f[M];if(d.normalizeSlideIndex)for(var i=0;i<m.length;i+=1){var E=-Math.floor(100*k),A=Math.floor(100*m[i]),I=Math.floor(100*m[i+1]);void 0!==m[i+1]?E>=A&&E<I-(I-A)/2?h=i:E>=A&&E<I&&(h=i+1):E>=A&&(h=i)}if(c.initialized&&h!==y){if(!c.allowSlideNext&&k<c.translate&&k<c.minTranslate())return!1;if(!c.allowSlidePrev&&k>c.translate&&k>c.maxTranslate()&&(y||0)!==h)return!1}if(h!==(v||0)&&r&&c.emit("beforeSlideChangeStart"),c.updateProgress(k),x=h>y?"next":h<y?"prev":"reset",_&&-k===c.translate||!_&&k===c.translate)return c.updateActiveIndex(h),d.autoHeight&&c.updateAutoHeight(),c.updateSlidesClasses(),"slide"!==d.effect&&c.setTranslate(k),"reset"!==x&&(c.transitionStart(r,x),c.transitionEnd(r,x)),!1;if(d.cssMode){var P=c.isHorizontal(),R=_?k:-k;if(0===e){var D=c.virtual&&c.params.virtual.enabled;D&&(c.wrapperEl.style.scrollSnapType="none",c._immediateVirtual=!0),w[P?"scrollLeft":"scrollTop"]=R,D&&requestAnimationFrame((function(){c.wrapperEl.style.scrollSnapType="",c._swiperImmediateVirtual=!1}))}else{if(!c.support.smoothScroll)return N({swiper:c,targetPosition:R,side:P?"left":"top"}),!0;w.scrollTo(Object(O.a)(Object(O.a)({}
2,P?"left":"top",R),"behavior","smooth"))}return!0}return c.setTransition(e),c.setTranslate(k),c.updateActiveIndex(h),c.updateSlidesClasses(),c.emit("beforeTransitionStart",e,n),c.transitionStart(r,x),0===e?c.transitionEnd(r,x):c.animating||(c.animating=!0,c.onSlideToWrapperTransitionEnd||(c.onSlideToWrapperTransitionEnd=function(t){c&&!c.destroyed&&t.target===this&&(c.$wrapperEl[0].removeEventListener("transitionend",c.onSlideToWrapperTransitionEnd),c.$wrapperEl[0].removeEventListener("webkitTransitionEnd",c.onSlideToWrapperTransitionEnd),c.onSlideToWrapperTransitionEnd=null,delete c.onSlideToWrapperTransitionEnd,c.transitionEnd(r,x))}),c.$wrapperEl[0].addEventListener("transitionend",c.onSlideToWrapperTransitionEnd),c.$wrapperEl[0].addEventListener("webkitTransitionEnd",c.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3?arguments[3]:void 0;if("string"==typeof t){var o=parseInt(t,10);if(!isFinite(o))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(t,"] given."));t=o}var l=this,c=t;return l.params.loop&&(c+=l.loopedSlides),l.slideTo(c,e,r,n)},slideNext:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this,o=n.animating,l=n.enabled,c=n.params;if(!l)return n;var h=c.slidesPerGroup;"auto"===c.slidesPerView&&1===c.slidesPerGroup&&c.slidesPerGroupAuto&&(h=Math.max(n.slidesPerViewDynamic("current",!0),1));var d=n.activeIndex<c.slidesPerGroupSkip?1:h;if(c.loop){if(o&&c.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return c.rewind&&n.isEnd?n.slideTo(0,t,e,r):n.slideTo(n.activeIndex+d,t,e,r)},slidePrev:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this,o=n.params,l=n.animating,c=n.snapGrid,h=n.slidesGrid,d=n.rtlTranslate;if(!n.enabled)return n;if(o.loop){if(l&&o.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function f(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}var m,v=f(d?n.translate:-n.translate),y=c.map((function(t){return f(t)})),_=c[y.indexOf(v)-1];void 0===_&&o.cssMode&&(c.forEach((function(t,e){v>=t&&(m=e)}
2)),void 0!==m&&(_=c[m>0?m-1:m]));var w=0;if(void 0!==_&&((w=h.indexOf(_))<0&&(w=n.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(w=w-n.slidesPerViewDynamic("previous",!0)+1,w=Math.max(w,0))),o.rewind&&n.isBeginning){var T=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(T,t,e,r)}return n.slideTo(w,t,e,r)},slideReset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0;return this.slideTo(this.activeIndex,t,e,r)},slideToClosest:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=this,l=o.activeIndex,c=Math.min(o.params.slidesPerGroupSkip,l),h=c+Math.floor((l-c)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[h]){var f=o.snapGrid[h];d-f>(o.snapGrid[h+1]-f)*n&&(l+=o.params.slidesPerGroup)}else{var m=o.snapGrid[h-1];d-m<=(o.snapGrid[h]-m)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,r)},slideToClickedSlide:function(){var t,e=this,r=e.params,n=e.$wrapperEl,o="auto"===r.slidesPerView?e.slidesPerViewDynamic():r.slidesPerView,l=e.clickedIndex;if(r.loop){if(e.animating)return;t=parseInt(E(e.clickedSlide).attr("data-swiper-slide-index"),10),r.centeredSlides?l<e.loopedSlides-o/2||l>e.slides.length-e.loopedSlides+o/2?(e.loopFix(),l=n.children(".".concat(r.slideClass,'[data-swiper-slide-index="').concat(t,'"]:not(.').concat(r.slideDuplicateClass,")")).eq(0).index(),A((function(){e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-o?(e.loopFix(),l=n.children(".".concat(r.slideClass,'[data-swiper-slide-index="').concat(t,'"]:not(.').concat(r.slideDuplicateClass,")")).eq(0).index(),A((function(){e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}};var K={loopCreate:function(){var t=this,e=f(),r=t.params,n=t.$wrapperEl,o=n.children().length>0?E(n.children()[0].parentNode):n;o.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass)).remove();var l=o.children(".".concat(r.slideClass));if(r.loopFillGroupWithBlank){var c=r.slidesPerGroup-l.length%r.slidesPerGroup;if(c!==r.slidesPerGroup){for(var i=0;i<c;i+=1){var h=E(e.createElement("div")).addClass("".concat(r.slideClass," ").concat(r.slideBlankClass));o.append(h)}l=o.children(".".concat(r.slideClass))}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=l.length),t.loopedSlides=Math.ceil(parseFloat(r.loopedSlides||r.slidesPerView,10)),t.loopedSlides+=r.loopAdditionalSlides,t.loopedSlides>l.length&&t.params.loopedSlidesLimit&&(t.loopedSlides=l.length);var d=[],m=[];l.each((function(t,e){E(t).attr("data-swiper-slide-index",e)}));for(var v=0;v<t.loopedSlides;v+=1){var y=v-Math.floor(v/l.length)*l.length;m.push(l.eq(y)[0]),d.unshift(l.eq(l.length-y-1)[0])}for(var _=0;_<m.length;_+=1)o.append(E(m[_].cloneNode(!0)).addClass(r.slideDuplicateClass));for(var w=d.length-1;w>=0;w-=1)o.prepend(E(d[w].cloneNode(!0)).addClass(r.slideDuplicateClass))},loopFix:function(){var t=this;t.emit("beforeLoopFix");var e,r=t.activeIndex,n=t.slides,o=t.loopedSlides,l=t.allowSlidePrev,c=t.allowSlideNext,h=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var f=-h[r]-t.getTranslate();if(r<o)e=n.length-3*o+r,e+=o,t.slideTo(e,0,!1,!0)&&0!==f&&t.setTranslate((d?-t.translate:t.translate)-f);else if(r>=n.length-o){e=-n.length+r+o,e+=o,t.slideTo(e,0,!1,!0)&&0!==f&&t.setTranslate((d?-t.translate:t.translate)-f)}t.allowSlidePrev=l,t.allowSlideNext=c,t.emit("loopFix")},loopDestroy:function(){var t=this,e=t.$wrapperEl,r=t.params,n=t.slides;e.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,",.").concat(r.slideClass,".").concat(r.slideBlankClass)).remove(),n.removeAttr("data-swiper-slide-index")}};var X={setGrabCursor:function(t){var e=this;if(!(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)){var r="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;r.style.cursor="move",r.style.cursor=t?"grabbing":"grab"}},unsetGrabCursor:function(){var t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}};function Y(t){var e=this,r=f(),n=v(),data=e.touchEventsData,o=e.params,l=e.touches;if(e.enabled&&(!e.animating||!o.preventInteractionOnTransition)){!e.animating&&o.cssMode&&o.loop&&e.loopFix();var c=t;c.originalEvent&&(c=c.originalEvent);var h=E(c.target);if(("wrapper"!==o.touchEventsTarget||h.closest(e.wrapperEl).length)&&(data.isTouchEvent="touchstart"===c.type,(data.isTouchEvent||!("which"in c)||3!==c.which)&&!(!data.isTouchEvent&&"button"in c&&c.button>0||data.isTouched&&data.isMoved))){var d=!!o.noSwipingClass&&""!==o.noSwipingClass,m=t.composedPath?t.composedPath():t.path;d&&c.target&&c.target.shadowRoot&&m&&(h=E(m[0]));var y=o.noSwipingSelector?o.noSwipingSelector:".".concat(o.noSwipingClass),_=!(!c.target||!c.target.shadowRoot);if(o.noSwiping&&(_?function(t){return function e(r){if(!r||r===f()||r===v()
vendor: 4,693 bytes, line 2
2)return null;r.assignedSlot&&(r=r.assignedSlot);var n=r.closest(t);return n||r.getRootNode?n||e(r.getRootNode().host):null}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this)}(y,h[0]):h.closest(y)[0]))e.allowClick=!0;else if(!o.swipeHandler||h.closest(o.swipeHandler)[0]){l.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,l.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;var w=l.currentX,T=l.currentY,S=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,M=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(S&&(w<=M||w>=n.innerWidth-M)){if("prevent"!==S)return;t.preventDefault()}if(Object.assign(data,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=w,l.startY=T,data.touchStartTime=I(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(data.allowThresholdMove=!1),"touchstart"!==c.type){var x=!0;h.is(data.focusableElements)&&(x=!1,"SELECT"===h[0].nodeName&&(data.isTouched=!1)),r.activeElement&&E(r.activeElement).is(data.focusableElements)&&r.activeElement!==h[0]&&r.activeElement.blur();var k=x&&e.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!k||h[0].isContentEditable||c.preventDefault()}e.params.freeMode&&e.params.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",c)}}}}function Z(t){var e=f(),r=this,data=r.touchEventsData,n=r.params,o=r.touches,l=r.rtlTranslate;if(r.enabled){var c=t;if(c.originalEvent&&(c=c.originalEvent),data.isTouched){if(!data.isTouchEvent||"touchmove"===c.type){var h="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?h.pageX:c.pageX,m="touchmove"===c.type?h.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=d,void(o.startY=m);if(!r.allowTouchMove)return E(c.target).is(data.focusableElements)||(r.allowClick=!1),void(data.isTouched&&(Object.assign(o,{startX:d,startY:m,currentX:d,currentY:m}),data.touchStartTime=I()));if(data.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(r.isVertical()){if(m<o.startY&&r.translate<=r.maxTranslate()||m>o.startY&&r.translate>=r.minTranslate())return data.isTouched=!1,void(data.isMoved=!1)}else if(d<o.startX&&r.translate<=r.maxTranslate()||d>o.startX&&r.translate>=r.minTranslate())return;if(data.isTouchEvent&&e.activeElement&&c.target===e.activeElement&&E(c.target).is(data.focusableElements))return data.isMoved=!0,void(r.allowClick=!1);if(data.allowTouchCallbacks&&r.emit("touchMove",c),!(c.targetTouches&&c.targetTouches.length>1)){o.currentX=d,o.currentY=m;var v=o.currentX-o.startX,y=o.currentY-o.startY;if(!(r.params.threshold&&Math.sqrt(Math.pow(v,2)+Math.pow(y,2))<r.params.threshold)){var _;if(void 0===data.isScrolling)r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?data.isScrolling=!1:v*v+y*y>=25&&(_=180*Math.atan2(Math.abs(y),Math.abs(v))/Math.PI,data.isScrolling=r.isHorizontal()?_>n.touchAngle:90-_>n.touchAngle);if(data.isScrolling&&r.emit("touchMoveOpposite",c),void 0===data.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(data.startMoving=!0)),data.isScrolling)data.isTouched=!1;else if(data.startMoving){r.allowClick=!1,!n.cssMode&&c.cancelable&&c.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&c.stopPropagation(),data.isMoved||(n.loop&&!n.cssMode&&r.loopFix(),data.startTranslate=r.getTranslate(),r.setTransition(0),r.animating&&r.$wrapperEl.trigger("webkitTransitionEnd transitionend"),data.allowMomentumBounce=!1,!n.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",c)),r.emit("sliderMove",c),data.isMoved=!0;var w=r.isHorizontal()?v:y;o.diff=w,w*=n.touchRatio,l&&(w=-w),r.swipeDirection=w>0?"prev":"next",data.currentTranslate=w+data.startTranslate;var T=!0,S=n.resistanceRatio;if(n.touchReleaseOnEdges&&(S=0),w>0&&data.currentTranslate>r.minTranslate()?(T=!1,n.resistance&&(data.currentTranslate=r.minTranslate()-1+Math.pow(-r.minTranslate()+data.startTranslate+w,S))):w<0&&data.currentTranslate<r.maxTranslate()&&(T=!1,n.resistance&&(data.currentTranslate=r.maxTranslate()+1-Math.pow(r.maxTranslate()-data.startTranslate-w,S))),T&&(c.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&data.currentTranslate<data.startTranslate&&(data.currentTranslate=data.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&data.currentTranslate>data.startTranslate&&(data.currentTranslate=data.startTranslate),r.allowSlidePrev||r.allowSlideNext||(data.currentTranslate=data.startTranslate),n.threshold>0){if(!(Math.abs(w)>n.threshold||data.allowThresholdMove))return void(data.currentTranslate=data.startTranslate);
2if(!data.allowThresholdMove)return data.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,data.currentTranslate=data.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&r.freeMode||n.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),r.params.freeMode&&n.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(data.currentTranslate),r.setTranslate(data.currentTranslate))}}}}}else data.startMoving&&data.isScrolling&&r.emit("touchMoveOpposite",c)}}function J(t){var e=this,data=e.touchEventsData,r=e.params,n=e.touches,o=e.rtlTranslate,l=e.slidesGrid;if(e.enabled){var c=t;if(c.originalEvent&&(c=c.originalEvent),data.allowTouchCallbacks&&e.emit("touchEnd",c),data.allowTouchCallbacks=!1,!data.isTouched)return data.isMoved&&r.grabCursor&&e.setGrabCursor(!1),data.isMoved=!1,void(data.startMoving=!1);r.grabCursor&&data.isMoved&&data.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var h,d=I(),f=d-data.touchStartTime;if(e.allowClick){var m=c.path||c.composedPath&&c.composedPath();e.updateClickedSlide(m&&m[0]||c.target),e.emit("tap click",c),f<300&&d-data.lastClickTime<300&&e.emit("doubleTap doubleClick",c)}if(data.lastClickTime=I(),A((function(){e.destroyed||(e.allowClick=!0)})),!data.isTouched||!data.isMoved||!e.swipeDirection||0===n.diff||data.currentTranslate===data.startTranslate)return data.isTouched=!1,data.isMoved=!1,void(data.startMoving=!1);if(data.isTouched=!1,data.isMoved=!1,data.startMoving=!1,h=r.followFinger?o?e.translate:-e.translate:-data.currentTranslate,!r.cssMode)if(e.params.freeMode&&r.freeMode.enabled)e.freeMode.onTouchEnd({currentPos:h});else{for(var v=0,y=e.slidesSizesGrid[0],i=0;i<l.length;i+=i<r.slidesPerGroupSkip?1:r.slidesPerGroup){var _=i<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==l[i+_]?h>=l[i]&&h<l[i+_]&&(v=i,y=l[i+_]-l[i]):h>=l[i]&&(v=i,y=l[l.length-1]-l[l.length-2])}var w=null,T=null;r.rewind&&(e.isBeginning?T=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(w=0));var S=(h-l[v])/y,M=v<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(f>r.longSwipesMs){if(!r.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(S>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?w:v+M):e.slideTo(v)),"prev"===e.swipeDirection&&(S>1-r.longSwipesRatio?e.slideTo(v+M):null!==T&&S<0&&Math.abs(S)>r.longSwipesRatio?e.slideTo(T):e.slideTo(v))}else{if(!r.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(c.target===e.navigation.nextEl||c.target===e.navigation.prevEl)?c.target===e.navigation.nextEl?e.slideTo(v+M):e.slideTo(v):("next"===e.swipeDirection&&e.slideTo(null!==w?w:v+M),"prev"===e.swipeDirection&&e.slideTo(null!==T?T:v))}}}}function tt(){var t=this,e=t.params,r=t.el;if(!r||0!==r.offsetWidth){e.breakpoints&&t.setBreakpoint();var n=t.allowSlideNext,o=t.allowSlidePrev,l=t.snapGrid;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}}function et(t){var e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function it(){var t=this,e=t.wrapperEl,r=t.rtlTranslate;if(t.enabled){t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();var n=t.maxTranslate()-t.minTranslate();(0===n?0:(t.translate-t.minTranslate())/n)!==t.progress&&t.updateProgress(r?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}}var nt=!1;function ot(){}var at=function(t,e){var r=f(),n=t.params,o=t.touchEvents,l=t.el,c=t.
2wrapperEl,h=t.device,d=t.support,m=!!n.nested,v="on"===e?"addEventListener":"removeEventListener",y=e;if(d.touch){var _=!("touchstart"!==o.start||!d.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};l[v](o.start,t.onTouchStart,_),l[v](o.move,t.onTouchMove,d.passiveListener?{passive:!1,capture:m}:m),l[v](o.end,t.onTouchEnd,_),o.cancel&&l[v](o.cancel,t.onTouchEnd,_)}else l[v](o.start,t.onTouchStart,!1),r[v](o.move,t.onTouchMove,m),r[v](o.end,t.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&l[v]("click",t.onClick,!0),n.cssMode&&c[v]("scroll",t.onScroll),n.updateOnWindowResize?t[y](h.ios||h.android?"resize orientationchange observerUpdate":"resize observerUpdate",tt,!0):t[y]("observerUpdate",tt,!0)};var st={attachEvents:function(){var t=this,e=f(),r=t.params,n=t.support;t.onTouchStart=Y.bind(t),t.onTouchMove=Z.bind(t),t.onTouchEnd=J.bind(t),r.cssMode&&(t.onScroll=it.bind(t)),t.onClick=et.bind(t),n.touch&&!nt&&(e.addEventListener("touchstart",ot),nt=!0),at(t,"on")},detachEvents:function(){at(this,"off")}},ut=(r(283),function(t,e){return t.grid&&e.grid&&e.grid.rows>1});r(207);var lt={setBreakpoint:function(){var t=this,e=t.activeIndex,r=t.initialized,n=t.loopedSlides,o=void 0===n?0:n,l=t.params,c=t.$el,h=l.breakpoints;if(h&&(!h||0!==Object.keys(h).length)){var d=t.getBreakpoint(h,t.params.breakpointsBase,t.el);if(d&&t.currentBreakpoint!==d){var f=(d in h?h[d]:void 0)||t.originalParams,m=ut(t,l),v=ut(t,f),y=l.enabled;m&&!v?(c.removeClass("".concat(l.containerModifierClass,"grid ").concat(l.containerModifierClass,"grid-column")),t.emitContainerClasses()):!m&&v&&(c.addClass("".concat(l.containerModifierClass,"grid")),(f.grid.fill&&"column"===f.grid.fill||!f.grid.fill&&"column"===l.grid.fill)&&c.addClass("".concat(l.containerModifierClass,"grid-column")),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((function(e){var r=l[e]&&l[e].enabled,n=f[e]&&f[e].enabled;r&&!n&&t[e].disable(),!r&&n&&t[e].enable()}));var _=f.direction&&f.direction!==l.direction,w=l.loop&&(f.slidesPerView!==l.slidesPerView||_);_&&r&&t.changeDirection(),D(t.params,f);var T=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!T?t.disable():!y&&T&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",f),w&&r&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-o+t.loopedSlides,0,!1)),t.emit("breakpoint",f)}}},getBreakpoint:function(t){var base=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"window",e=arguments.length>2?arguments[2]:void 0;if(t&&("container"!==base||e)){var r=!1,n=v(),o="window"===base?n.innerHeight:e.clientHeight,l=Object.keys(t).map((function(t){if("string"==typeof t&&0===t.indexOf("@")){var e=parseFloat(t.substr(1));return{value:o*e,point:t}}return{value:t,point:t}}));
2l.sort((function(a,b){return parseInt(a.value,10)-parseInt(b.value,10)}));for(var i=0;i<l.length;i+=1){var c=l[i],h=c.point,d=c.value;"window"===base?n.matchMedia("(min-width: ".concat(d,"px)")).matches&&(r=h):d<=e.clientWidth&&(r=h)}return r||"max"}}};var ct={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,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,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",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,_emitClasses:!1};function ht(t,e){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.keys(r)[0],o=r[n];"object"===Object(C.a)(o)&&null!==o?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===t[n]&&(t[n]={auto:!0}),n in t&&"enabled"in o?(!0===t[n]&&(t[n]={enabled:!0}),"object"!==Object(C.a)(t[n])||"enabled"in t[n]||(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),D(e,r)):D(e,r)):D(e,r)}}var ft={eventsEmitter:V,update:$,translate:H,transition:G,slide:Q,loop:K,grabCursor:X,events:st,breakpoints:lt,checkOverflow:{checkOverflow:function(){var t=this,e=t.isLocked,r=t.params,n=r.slidesOffsetBefore;if(n){var o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+2*n;t.isLocked=t.size>l}else t.isLocked=1===t.snapGrid.length;!0===r.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===r.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var t,e,r,o=this,l=o.classNames,c=o.params,h=o.rtl,d=o.$el,f=o.device,m=o.support,v=(t=["initialized",c.direction,{"pointer-events":!m.touch},{"free-mode":o.params.freeMode&&c.freeMode.enabled},{autoheight:c.autoHeight},{rtl:h},{grid:c.grid&&c.grid.rows>1},{"grid-column":c.grid&&c.grid.rows>1&&"column"===c.grid.fill},{android:f.android},{ios:f.ios},{"css-mode":c.cssMode},{centered:c.cssMode&&c.centeredSlides},{"watch-progress":c.watchSlidesProgress}],e=c.containerModifierClass,r=[],t.forEach((function(t){"object"===Object(C.a)(t)?Object.keys(t).forEach((function(n){t[n]&&r.push(e+n)})):"string"==typeof t&&r.push(e+t)})),r);l.push.apply(l,Object(n.a)(v)),d.addClass(Object(n.a)(l).join(" ")),o.emitContainerClasses()},removeClasses:function(){var t=this,e=t.$el,r=t.classNames;e.removeClass(r.join(" ")),t.emitContainerClasses()}},images:{loadImage:function(t,e,r,n,o,l){var image,c=v();function h(){l&&l()}E(t).parent("picture")[0]||t.complete&&o?h():e?((image=new c.Image).onload=h,image.onerror=h,n&&(image.sizes=n),r&&(image.srcset=r),e&&(image.src=e)):h()},preloadImages:function(){var t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(
2),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(var i=0;i<t.imagesToLoad.length;i+=1){var r=t.imagesToLoad[i];t.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,e)}}}},pt={},mt=function(){function t(){var e,r;Object(o.a)(this,t);for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];if(1===c.length&&c[0].constructor&&"Object"===Object.prototype.toString.call(c[0]).slice(8,-1)?r=c[0]:(e=c[0],r=c[1]),r||(r={}),r=D({},r),e&&!r.el&&(r.el=e),r.el&&E(r.el).length>1){var d=[];return E(r.el).each((function(e){var n=D({},r,{el:e});d.push(new t(n))})),d}var f,m=this;(m.__swiper__=!0,m.support=j(),m.device=U({userAgent:r.userAgent}),m.browser=z(),m.eventsListeners={},m.eventsAnyListeners=[],m.modules=Object(n.a)(m.__modules__),r.modules&&Array.isArray(r.modules))&&(f=m.modules).push.apply(f,Object(n.a)(r.modules));var v={};m.modules.forEach((function(t){t({swiper:m,extendParams:ht(r,v),on:m.on.bind(m),once:m.once.bind(m),off:m.off.bind(m),emit:m.emit.bind(m)})}));var y,_,w=D({},ct,v);return m.params=D({},w,pt,r),m.originalParams=D({},m.params),m.passedParams=D({}
2,r),m.params&&m.params.on&&Object.keys(m.params.on).forEach((function(t){m.on(t,m.params.on[t])})),m.params&&m.params.onAny&&m.onAny(m.params.onAny),m.$=E,Object.assign(m,{enabled:m.params.enabled,el:e,classNames:[],slides:E(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===m.params.direction},isVertical:function(){return"vertical"===m.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:m.params.allowSlideNext,allowSlidePrev:m.params.allowSlidePrev,touchEvents:(y=["touchstart","touchmove","touchend","touchcancel"],_=["pointerdown","pointermove","pointerup"],m.touchEventsTouch={start:y[0],move:y[1],end:y[2],cancel:y[3]},m.touchEventsDesktop={start:_[0],move:_[1],end:_[2]},m.support.touch||!m.params.simulateTouch?m.touchEventsTouch:m.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,focusableElements:m.params.focusableElements,lastClickTime:I(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:m.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),m.emit("_swiper"),m.params.init&&m.init(),m}return Object(l.a)(t,[{key:"enable",value:function(){var t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}},{key:"disable",value:function(){var t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}},{key:"setProgress",value:function(progress,t){var e=this;progress=Math.min(Math.max(progress,0),1);var r=e.minTranslate(),n=(e.maxTranslate()-r)*progress+r;e.translateTo(n,void 0===t?0:t),e.updateActiveIndex(),e.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var t=this;if(t.params._emitClasses&&t.el){var e=t.el.className.split(" ").filter((function(e){return 0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)}));t.emit("_containerClasses",e.join(" "))}}},{key:"getSlideClasses",value:function(t){var e=this;return e.destroyed?"":t.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var t=this;if(t.params._emitClasses&&t.el){var e=[];t.slides.each((function(r){var n=t.getSlideClasses(r);e.push({slideEl:r,classNames:n}),t.emit("_slideClass",r,n)})),t.emit("_slideClasses",e)}}},{key:"slidesPerViewDynamic",value:function(){var view=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"current",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=this,r=e.params,n=e.slides,o=e.slidesGrid,l=e.slidesSizesGrid,c=e.size,h=e.activeIndex,d=1;if(r.centeredSlides){for(var f,m=n[h].swiperSlideSize,i=h+1;i<n.length;i+=1)n[i]&&!f&&(d+=1,(m+=n[i].swiperSlideSize)>c&&(f=!0));for(var v=h-1;v>=0;v-=1)n[v]&&!f&&(d+=1,(m+=n[v].swiperSlideSize)>c&&(f=!0))}else if("current"===view)for(var y=h+1;y<n.length;y+=1){(t?o[y]+l[y]-o[h]<c:o[y]-o[h]<c)&&(d+=1)}else for(var _=h-1;_>=0;_-=1){o[h]-o[_]<c&&(d+=1)}return d}},{key:"update",value:function(){var t=this;if(t&&!t.destroyed){var e=t.snapGrid,r=t.params;r.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode&&t.params.freeMode.enabled?(n(),t.params.autoHeight&&t.updateAutoHeight()):(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0))||n(),r.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function n(){var e=t.rtlTranslate?-1*t.translate:t.translate,r=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}}},{key:"changeDirection",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,n=r.params.direction;return t||(t="horizontal"===n?"vertical":"horizontal"),t===n||"horizontal"!==t&&"vertical"!==t||(r.$el.removeClass("".concat(r.params.containerModifierClass).concat(n)).addClass("".concat(r.params.containerModifierClass).concat(t)),r.emitContainerClasses(),r.params.direction=t,r.slides.each((function(e){"vertical"===t?e.style.width="":e.style.height=""}
2)),r.emit("changeDirection"),e&&r.update()),r}},{key:"changeLanguageDirection",value:function(t){var e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.$el.addClass("".concat(e.params.containerModifierClass,"rtl")),e.el.dir="rtl"):(e.$el.removeClass("".concat(e.params.containerModifierClass,"rtl")),e.el.dir="ltr"),e.update())}},{key:"mount",value:function(t){var e=this;if(e.mounted)return!0;var r=E(t||e.params.el);if(!(t=r[0]))return!1;t.swiper=e;var n=function(){return".".concat((e.params.wrapperClass||"").trim().split(" ").join("."))},o=function(){if(t&&t.shadowRoot&&t.shadowRoot.querySelector){var e=E(t.shadowRoot.querySelector(n()));return e.children=function(t){return r.children(t)},e}return r.children?r.children(n()):E(r).children(n())}();if(0===o.length&&e.params.createElements){var l=f().createElement("div");o=E(l),l.className=e.params.wrapperClass,r.append(l),r.children(".".concat(e.params.slideClass)).each((function(t){o.append(t)}))}return Object.assign(e,{$el:r,el:t,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===o.css("display")}),!0}},{key:"init",value:function(t){var e=this;return e.initialized||!1===e.mount(t)||(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.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit("init"),e.emit("afterInit")),e}},{key:"destroy",value:function(){var object,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,n=r.params,o=r.$el,l=r.$wrapperEl,c=r.slides;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),e&&(r.removeClasses(),o.removeAttr("style"),l.removeAttr("style"),c&&c.length&&c.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(t){r.off(t)})),!1!==t&&(r.$el[0].swiper=null,object=r,Object.keys(object).forEach((function(t){try{object[t]=null}catch(t){}try{delete object[t]}catch(t){}}))),r.destroyed=!0),null}}],[{key:"extendDefaults",value:function(t){D(pt,t)}},{key:"extendedDefaults",get:function(){return pt}},{key:"defaults",get:function(){return ct}},{key:"installModule",value:function(e){t.prototype.__modules__||(t.prototype.__modules__=[]);var r=t.prototype.__modules__;"function"==typeof e&&r.indexOf(e)<0&&r.push(e)}},{key:"use",value:function(e){return Array.isArray(e)?(e.forEach((function(e){return t.installModule(e)})),t):(t.installModule(e),t)}}]),t}();Object.keys(ft).forEach((function(t){Object.keys(ft[t]).forEach((function(e){mt.prototype[e]=ft[t][e]}))})),mt.use([function(t){var e=t.swiper,r=t.on,n=t.emit,o=v(),l=null,c=null,h=function(){e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},d=function(){e&&!e.destroyed&&e.initialized&&n("orientationchange")};r("init",(function(){e.params.resizeObserver&&void 0!==o.ResizeObserver?e&&!e.destroyed&&e.initialized&&(l=new ResizeObserver((function(t){c=o.requestAnimationFrame((function(){var r=e.width,n=e.height,o=r,l=n;t.forEach((function(t){var r=t.contentBoxSize,n=t.contentRect,c=t.target;c&&c!==e.el||(o=n?n.width:(r[0]||r).inlineSize,l=n?n.height:(r[0]||r).blockSize)})),o===r&&l===n||h()}))}))).observe(e.el):(o.addEventListener("resize",h),o.addEventListener("orientationchange",d))})),r("destroy",(function(){c&&o.cancelAnimationFrame(c),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null),o.removeEventListener("resize",h),o.removeEventListener("orientationchange",d)}))},function(t){var e=t.swiper,r=t.extendParams,n=t.on,o=t.emit,l=[],c=v(),h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new(c.MutationObserver||c.WebkitMutationObserver)((function(t){if(1!==t.length){var e=function(){o("observerUpdate",t[0])};c.requestAnimationFrame?c.requestAnimationFrame(e):c.setTimeout(e,0)}else o("observerUpdate",t[0])}));r.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),l.push(r)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(function(){if(e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)h(t[i]);h(e.$el[0],{childList:e.params.observeSlideChildren}),h(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(function(){l.forEach((function(t){t.disconnect()})),l.splice(0,l.length)}))}]);var gt=mt;r(775);function vt(t,e,r,n){var o=f();
2return t.params.createElements&&Object.keys(n).forEach((function(l){if(!r[l]&&!0===r.auto){var element=t.$el.children(".".concat(n[l]))[0];element||((element=o.createElement("div")).className=n[l],t.$el.append(element)),r[l]=element,e[l]=element}})),r}function yt(t){var e=t.swiper,r=t.extendParams,n=t.on,o=t.emit;function l(t){var r;return t&&(r=E(t),e.params.uniqueNavElements&&"string"==typeof t&&r.length>1&&1===e.$el.find(t).length&&(r=e.$el.find(t))),r}function c(t,r){var n=e.params.navigation;t&&t.length>0&&(t[r?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=r),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass))}function h(){if(!e.params.loop){var t=e.navigation,r=t.$nextEl;c(t.$prevEl,e.isBeginning&&!e.params.rewind),c(r,e.isEnd&&!e.params.rewind)}}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),o("navigationPrev"))}function f(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),o("navigationNext"))}function m(){var t=e.params.navigation;if(e.params.navigation=vt(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),t.nextEl||t.prevEl){var r=l(t.nextEl),n=l(t.prevEl);r&&r.length>0&&r.on("click",f),n&&n.length>0&&n.on("click",d),Object.assign(e.navigation,{$nextEl:r,nextEl:r&&r[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(r&&r.addClass(t.lockClass),n&&n.addClass(t.lockClass))}}function v(){var t=e.navigation,r=t.$nextEl,n=t.$prevEl;r&&r.length&&(r.off("click",f),r.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",d),n.removeClass(e.params.navigation.disabledClass))}r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(function(){!1===e.params.navigation.enabled?y():(m(),h())})),n("toEdge fromEdge lock unlock",(function(){h()})),n("destroy",(function(){v()})),n("enable disable",(function(){var t=e.navigation,r=t.$nextEl,n=t.$prevEl;r&&r[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",(function(t,r){var n=e.navigation,l=n.$nextEl,c=n.$prevEl,h=r.target;if(e.params.navigation.hideOnClick&&!E(h).is(c)&&!E(h).is(l)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===h||e.pagination.el.contains(h)))return;var d;l?d=l.hasClass(e.params.navigation.hiddenClass):c&&(d=c.hasClass(e.params.navigation.hiddenClass)),o(!0===d?"navigationShow":"navigationHide"),l&&l.toggleClass(e.params.navigation.hiddenClass),c&&c.toggleClass(e.params.navigation.hiddenClass)}}));var y=function(){e.$el.addClass(e.params.navigation.navigationDisabledClass),v()};Object.assign(e.navigation,{enable:function(){e.$el.removeClass(e.params.navigation.navigationDisabledClass),m(),h()},disable:y,update:h,init:m,destroy:v})}function bt(){return".".concat((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,"."))}function _t(t){var e,r=t.swiper,n=t.extendParams,o=t.on,l=t.emit,c="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(t){return t},formatFractionTotal:function(t){return t},bulletClass:"".concat(c,"-bullet"),bulletActiveClass:"".concat(c,"-bullet-active"),modifierClass:"".concat(c,"-"),currentClass:"".concat(c,"-current"),totalClass:"".concat(c,"-total"),hiddenClass:"".concat(c,"-hidden"),progressbarFillClass:"".concat(c,"-progressbar-fill"),progressbarOppositeClass:"".concat(c,"-progressbar-opposite"),clickableClass:"".concat(c,"-clickable"),lockClass:"".concat(c,"-lock"),horizontalClass:"".concat(c,"-horizontal"),verticalClass:"".concat(c,"-vertical"),paginationDisabledClass:"".concat(c,"-disabled")}}),r.pagination={el:null,$el:null,bullets:[]};var h=0;function d(){return!r.params.pagination.el||!r.pagination.el||!r.pagination.$el||0===r.pagination.$el.length}function f(t,e){var n=r.params.pagination.bulletActiveClass;t[e]().addClass("".concat(n,"-").concat(e))[e]().addClass("".concat(n,"-").concat(e,"-").concat(e))}function m(){var t=r.rtl,n=r.params.pagination;if(!d()){var o,c=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.slides.length,m=r.pagination.$el,v=r.params.loop?Math.
2ceil((c-2*r.loopedSlides)/r.params.slidesPerGroup):r.snapGrid.length;if(r.params.loop?((o=Math.ceil((r.activeIndex-r.loopedSlides)/r.params.slidesPerGroup))>c-1-2*r.loopedSlides&&(o-=c-2*r.loopedSlides),o>v-1&&(o-=v),o<0&&"bullets"!==r.params.paginationType&&(o=v+o)):o=void 0!==r.snapIndex?r.snapIndex:r.activeIndex||0,"bullets"===n.type&&r.pagination.bullets&&r.pagination.bullets.length>0){var y,_,w,T=r.pagination.bullets;if(n.dynamicBullets&&(e=T.eq(0)[r.isHorizontal()?"outerWidth":"outerHeight"](!0),m.css(r.isHorizontal()?"width":"height","".concat(e*(n.dynamicMainBullets+4),"px")),n.dynamicMainBullets>1&&void 0!==r.previousIndex&&((h+=o-(r.previousIndex-r.loopedSlides||0))>n.dynamicMainBullets-1?h=n.dynamicMainBullets-1:h<0&&(h=0)),y=Math.max(o-h,0),w=((_=y+(Math.min(T.length,n.dynamicMainBullets)-1))+y)/2),T.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((function(t){return"".concat(n.bulletActiveClass).concat(t)})).join(" ")),m.length>1)T.each((function(t){var e=E(t),r=e.index();r===o&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(r>=y&&r<=_&&e.addClass("".concat(n.bulletActiveClass,"-main")),r===y&&f(e,"prev"),r===_&&f(e,"next"))}));else{var S=T.eq(o),M=S.index();if(S.addClass(n.bulletActiveClass),n.dynamicBullets){for(var x=T.eq(y),k=T.eq(_),i=y;i<=_;i+=1)T.eq(i).addClass("".concat(n.bulletActiveClass,"-main"));if(r.params.loop)if(M>=T.length){for(var O=n.dynamicMainBullets;O>=0;O-=1)T.eq(T.length-O).addClass("".concat(n.bulletActiveClass,"-main"));T.eq(T.length-n.dynamicMainBullets-1).addClass("".concat(n.bulletActiveClass,"-prev"))}else f(x,"prev"),f(k,"next");else f(x,"prev"),f(k,"next")}}if(n.dynamicBullets){var C=Math.min(T.length,n.dynamicMainBullets+4),A=(e*C-e)/2-w*e,I=t?"right":"left";T.css(r.isHorizontal()?I:"top","".concat(A,"px"))}}if("fraction"===n.type&&(m.find(bt(n.currentClass)).text(n.formatFractionCurrent(o+1)),m.find(bt(n.totalClass)).text(n.formatFractionTotal(v))),"progressbar"===n.type){var P;P=n.progressbarOpposite?r.isHorizontal()?"vertical":"horizontal":r.isHorizontal()?"horizontal":"vertical";var R=(o+1)/v,D=1,L=1;"horizontal"===P?D=R:L=R,m.find(bt(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(D,") scaleY(").concat(L,")")).transition(r.params.speed)}"custom"===n.type&&n.renderCustom?(m.html(n.renderCustom(r,o+1,v)),l("paginationRender",m[0])):l("paginationUpdate",m[0]),r.params.watchOverflow&&r.enabled&&m[r.isLocked?"addClass":"removeClass"](n.lockClass)}}function v(){var t=r.params.pagination;if(!d()){var e=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.slides.length,n=r.pagination.$el,o="";if("bullets"===t.type){var c=r.params.loop?Math.ceil((e-2*r.loopedSlides)/r.params.slidesPerGroup):r.snapGrid.length;r.params.freeMode&&r.params.freeMode.enabled&&!r.params.loop&&c>e&&(c=e);for(var i=0;i<c;i+=1)t.renderBullet?o+=t.renderBullet.call(r,i,t.bulletClass):o+="<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");n.html(o),r.pagination.bullets=n.find(bt(t.bulletClass))}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(r,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span>')+" / "+'<span class="'.concat(t.totalClass,'"></span>'),n.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(r,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),n.html(o)),"custom"!==t.type&&l("paginationRender",r.pagination.$el[0])}}function y(){r.params.pagination=vt(r,r.originalParams.pagination,r.params.pagination,{el:"swiper-pagination"});var t=r.params.pagination;if(t.el){var e=E(t.el);0!==e.length&&(r.params.uniqueNavElements&&"string"==typeof t.el&&e.length>1&&(e=r.$el.find(t.el)).length>1&&(e=e.filter((function(t){return E(t).parents(".swiper")[0]===r.el}))),"bullets"===t.type&&t.clickable&&e.addClass(t.clickableClass),e.addClass(t.modifierClass+t.type),e.addClass(r.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),h=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.addClass(t.progressbarOppositeClass),t.clickable&&e.on("click",bt(t.bulletClass),(function(t){t.preventDefault();var e=E(this).index()*r.params.slidesPerGroup;r.params.loop&&(e+=r.loopedSlides),r.slideTo(e)})),Object.assign(r.pagination,{$el:e,el:e[0]}),r.enabled||e.addClass(t.lockClass))}}function _(){var t=r.params.pagination;if(!d()){var e=r.pagination.$el;e.removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),e.removeClass(r.isHorizontal()?t.horizontalClass:t.verticalClass),r.pagination.bullets&&r.pagination.bullets.removeClass&&r.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&e.off("click",bt(t.bulletClass))}}o("init",(function(){!1===r.params.pagination.enabled?w():(y(),v(),m())})),o("activeIndexChange",(function(){(r.params.loop||void 0===r.snap
2Index)&&m()})),o("snapIndexChange",(function(){r.params.loop||m()})),o("slidesLengthChange",(function(){r.params.loop&&(v(),m())})),o("snapGridLengthChange",(function(){r.params.loop||(v(),m())})),o("destroy",(function(){_()})),o("enable disable",(function(){var t=r.pagination.$el;t&&t[r.enabled?"removeClass":"addClass"](r.params.pagination.lockClass)})),o("lock unlock",(function(){m()})),o("click",(function(t,e){var n=e.target,o=r.pagination.$el;if(r.params.pagination.el&&r.params.pagination.hideOnClick&&o&&o.length>0&&!E(n).hasClass(r.params.pagination.bulletClass)){if(r.navigation&&(r.navigation.nextEl&&n===r.navigation.nextEl||r.navigation.prevEl&&n===r.navigation.prevEl))return;var c=o.hasClass(r.params.pagination.hiddenClass);l(!0===c?"paginationShow":"paginationHide"),o.toggleClass(r.params.pagination.hiddenClass)}}));var w=function(){r.$el.addClass(r.params.pagination.paginationDisabledClass),r.pagination.$el&&r.pagination.$el.addClass(r.params.pagination.paginationDisabledClass),_()};Object.assign(r.pagination,{enable:function(){r.$el.removeClass(r.params.pagination.paginationDisabledClass),r.pagination.$el&&r.pagination.$el.removeClass(r.params.pagination.paginationDisabledClass),y(),v(),m()},disable:w,render:v,update:m,init:y,destroy:_})}r(256);r(253),r(57),r(61);r(59),r(60),r(776),r(205),r(204);function wt(t){var e,r=t.swiper,n=t.extendParams,o=t.on,l=t.emit;function c(){if(!r.size)return r.autoplay.running=!1,void(r.autoplay.paused=!1);var t=r.slides.eq(r.activeIndex),n=r.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||r.params.autoplay.delay),clearTimeout(e),e=A((function(){var t;r.params.autoplay.reverseDirection?r.params.loop?(r.loopFix(),t=r.slidePrev(r.params.speed,!0,!0),l("autoplay")):r.isBeginning?r.params.autoplay.stopOnLastSlide?d():(t=r.slideTo(r.slides.length-1,r.params.speed,!0,!0),l("autoplay")):(t=r.slidePrev(r.params.speed,!0,!0),l("autoplay")):r.params.loop?(r.loopFix(),t=r.slideNext(r.params.speed,!0,!0),l("autoplay")):r.isEnd?r.params.autoplay.stopOnLastSlide?d():(t=r.slideTo(0,r.params.speed,!0,!0),l("autoplay")):(t=r.slideNext(r.params.speed,!0,!0),l("autoplay")),(r.params.cssMode&&r.autoplay.running||!1===t)&&c()}),n)}function h(){return void 0===e&&(!r.autoplay.running&&(r.autoplay.running=!0,l("autoplayStart"),c(),!0))}function d(){return!!r.autoplay.running&&(void 0!==e&&(e&&(clearTimeout(e),e=void 0),r.autoplay.running=!1,l("autoplayStop"),!0))}function m(t){r.autoplay.running&&(r.autoplay.paused||(e&&clearTimeout(e),r.autoplay.paused=!0,0!==t&&r.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(t){r.$wrapperEl[0].addEventListener(t,y)})):(r.autoplay.paused=!1,c())))}function v(){var t=f();"hidden"===t.visibilityState&&r.autoplay.running&&m(),"visible"===t.visibilityState&&r.autoplay.paused&&(c(),r.autoplay.paused=!1)}function y(t){r&&!r.destroyed&&r.$wrapperEl&&t.target===r.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(t){r.$wrapperEl[0].removeEventListener(t,y)})),r.autoplay.paused=!1,r.autoplay.running?c():d())}function _(){r.params.autoplay.disableOnInteraction?d():(l("autoplayPause"),m()),["transitionend","webkitTransitionEnd"].forEach((function(t){r.$wrapperEl[0].removeEventListener(t,y)}))}function w(){r.params.autoplay.disableOnInteraction||(r.autoplay.paused=!1,l("autoplayResume"),c())}r.autoplay={running:!1,paused:!1},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),o("init",(function(){r.params.autoplay.enabled&&(h(),f().addEventListener("visibilitychange",v),r.params.autoplay.pauseOnMouseEnter&&(r.$el.on("mouseenter",_),r.$el.on("mouseleave",w)))})),o("beforeTransitionStart",(function(t,e,n){r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?r.autoplay.pause(e):d())})),o("sliderFirstMove",(function(){r.autoplay.running&&(r.params.autoplay.disableOnInteraction?d():m())})),o("touchEnd",(function(){r.params.cssMode&&r.autoplay.paused&&!r.params.autoplay.disableOnInteraction&&c()})),o("destroy",(function(){r.$el.off("mouseenter",_),r.$el.off("mouseleave",w),r.autoplay.running&&d(),f().removeEventListener("visibilitychange",v)})),Object.assign(r.autoplay,{pause:m,run:c,start:h,stop:d})}},,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(19),o=r(258),l=r(260),c=r(261),h=r(106);function d(t){h.call(this,"digest"),this._hash=t}n(d,h),d.prototype._update=function(data){this._hash.update(data)},d.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new o:"rmd160"===t||"ripemd160"===t?new l:new d(c(t))}},function(t,e,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,l=o&&"function"==typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var c=Number.isNaN||function(t){return t!=t};function h(){h.init.call(this)}t.exports=h,t.exports.once=function(t,e){return new Promise((function(r,n){function o(r){t.removeListener(e,l),n(r)}function l(){"function"==typeof t.removeListener&&t.removeListener("error",o),r([].slice.call(arguments))}M(t,e,l,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&M(t,"error",e,r)}(t,o,{once:!0})}))},h.EventEmitter=h,h.prototype._events=void 0,h.prototype._eventsCount=0,h.prototype._maxListeners=void 0;var d=10;function f(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function m(t){return void 0===t._maxListeners?h.defaultMaxListeners:t._maxListeners}function v(t,e,r,n){var o,l,c,h;if(f(r),void 0===(l=t._events)?(l=t._events=Object.create(null),t._eventsCount=0):(void 0!==l.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),l=t._events),c=l[e]),void 0===c)c=l[e]=r,++t._eventsCount;else if("function"==typeof c?c=l[e]=n?[r,c]:[c,r]:n?c.unshift(r):c.push(r),(o=m(t))>0&&c.length>o&&!c.warned){c.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=t,d.type=e,d.count=c.length,h=d,console&&console.warn&&console.warn(h)}return t}function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=y.bind(n);return o.listener=r,n.wrapFn=o,o}function w(t,e,r){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(o):S(o,o.length)}function T(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function S(t,e){for(var r=new Array(e),i=0;i<e;++i)r[i]=t[i];return r}function M(t,e,r,n){if("function"==typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(l){n.once&&t.removeEventListener(e,o),r(l)}))}}Object.defineProperty(h,"defaultMaxListeners",{enumerable:!0,get:function(){return d}
vendor: 5,950 bytes, line 2
2,set:function(t){if("number"!=typeof t||t<0||c(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");d=t}}),h.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},h.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||c(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},h.prototype.getMaxListeners=function(){return m(this)},h.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var r="error"===t,n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var h=n[t];if(void 0===h)return!1;if("function"==typeof h)l(h,this,e);else{var d=h.length,f=S(h,d);for(i=0;i<d;++i)l(f[i],this,e)}return!0},h.prototype.addListener=function(t,e){return v(this,t,e,!1)},h.prototype.on=h.prototype.addListener,h.prototype.prependListener=function(t,e){return v(this,t,e,!0)},h.prototype.once=function(t,e){return f(e),this.on(t,_(this,t,e)),this},h.prototype.prependOnceListener=function(t,e){return f(e),this.prependListener(t,_(this,t,e)),this},h.prototype.removeListener=function(t,e){var r,n,o,i,l;if(f(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===e||r[i].listener===e){l=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,l||e)}return this},h.prototype.off=h.prototype.removeListener,h.prototype.removeAllListeners=function(t){var e,r,i;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var n,o=Object.keys(r);for(i=0;i<o.length;++i)"removeListener"!==(n=o[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;i>=0;i--)this.removeListener(t,e[i]);return this},h.prototype.listeners=function(t){return w(this,t,!0)},h.prototype.rawListeners=function(t){return w(this,t,!1)},h.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):T.call(t,e)},h.prototype.listenerCount=T,h.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){"use strict";var n=r(23).Buffer,o=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===o||!o(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=d,this.end=f,e=4;break;case"utf8":this.fillLast=h,e=4;break;case"base64":this.text=m,this.end=v,e=3;break;default:return this.write=y,void(this.end=_)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function c(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function h(t){var p=this.lastTotal-this.lastNeed,e=function(t,e,p){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==e?e:this.lastNeed<=t.length?(t.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,p,0,t.length),void(this.lastNeed-=t.length))}function d(t,i){if((t.length-i)%2==0){var e=t.toString("utf16le",i);if(e){var r=e.charCodeAt(e.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],e.slice(0,-1)}return e}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",i,t.length-1)}function f(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function m(t,i){var e=(t.length-i)%3;return 0===e?t.toString("base64",i):(this.lastNeed=3-e,this.lastTotal=3,1===e?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",i,t.length-e))}function v(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function y(t){return t.toString(this.encoding)}function _(t){return t&&t.length?this.write(t):""}e.StringDecoder=l,l.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?e?e+this.text(t,i):this.text(t,i):e||""},l.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}
vendor: 6,007 bytes, line 2
2,l.prototype.text=function(t,i){var e=function(t,e,i){var r=e.length-1;if(r<i)return 0;var n=c(e[r]);if(n>=0)return n>0&&(t.lastNeed=n-1),n;if(--r<i||-2===n)return 0;if(n=c(e[r]),n>=0)return n>0&&(t.lastNeed=n-2),n;if(--r<i||-2===n)return 0;if(n=c(e[r]),n>=0)return n>0&&(2===n?n=0:t.lastNeed=n-3),n;return 0}(this,t,i);if(!this.lastNeed)return t.toString("utf8",i);this.lastTotal=e;var r=t.length-(e-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",i,r)},l.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(62).Buffer.isBuffer},function(t,e,r){(function(e){t.exports=function(a,b){for(var t=Math.min(a.length,b.length),r=new e(t),i=0;i<t;++i)r[i]=a[i]^b[i];return r}}).call(this,r(62).Buffer)},function(t,e,r){"use strict";var n=r(91),o=r(83);function l(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=l,l.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},l.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},l.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},function(t,e,r){"use strict";const n=r(19),o=r(277).Reporter,l=r(275).Buffer;function c(base,t){o.call(this,t),l.isBuffer(base)?(this.base=base,this.offset=0,this.length=base.length):this.error("Input not Buffer")}function h(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return h.isEncoderBuffer(t)||(t=new h(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=l.byteLength(t);else{if(!l.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(c,o),e.DecoderBuffer=c,c.isDecoderBuffer=function(data){if(data instanceof c)return!0;return"object"==typeof data&&l.isBuffer(data.base)&&"DecoderBuffer"===data.constructor.name&&"number"==typeof data.offset&&"number"==typeof data.length&&"function"==typeof data.save&&"function"==typeof data.restore&&"function"==typeof data.isEmpty&&"function"==typeof data.readUInt8&&"function"==typeof data.skip&&"function"==typeof data.raw},c.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},c.prototype.restore=function(t){const e=new c(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,o.prototype.restore.call(this,t.reporter),e},c.prototype.isEmpty=function(){return this.offset===this.length},c.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},c.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");const r=new c(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},c.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=h,h.isEncoderBuffer=function(data){if(data instanceof h)return!0;return"object"==typeof data&&"EncoderBuffer"===data.constructor.name&&"number"==typeof data.length&&"function"==typeof data.join},h.prototype.join=function(t,e){return t||(t=l.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):l.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(176);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}
vendor: 8,488 bytes, line 2
2var l=10,c=2;function h(t){return d(t,[])}function d(t,e){switch(o(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":return null===t?"null":function(t,e){if(-1!==e.indexOf(t))return"[Circular]";var r=[].concat(e,[t]),o=function(object){var t=object[String(n.a)];if("function"==typeof t)return t;if("function"==typeof object.inspect)return object.inspect}(t);if(void 0!==o){var h=o.call(t);if(h!==t)return"string"==typeof h?h:d(h,r)}else if(Array.isArray(t))return function(t,e){if(0===t.length)return"[]";if(e.length>c)return"[Array]";for(var r=Math.min(l,t.length),n=t.length-r,o=[],i=0;i<r;++i)o.push(d(t[i],e));1===n?o.push("... 1 more item"):n>1&&o.push("... ".concat(n," more items"));return"["+o.join(", ")+"]"}(t,r);return function(object,t){var e=Object.keys(object);if(0===e.length)return"{}";if(t.length>c)return"["+function(object){var t=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof object.constructor){var e=object.constructor.name;if("string"==typeof e&&""!==e)return e}return t}(object)+"]";var r=e.map((function(e){return e+": "+d(object[e],t)}));return"{ "+r.join(", ")+" }"}(t,r)}(t,e);default:return String(t)}}},function(t,e,r){"use strict";r.r(e),r.d(e,"print",(function(){return l}));var n=r(70),o=r(224);function l(t){return Object(n.b)(t,{leave:c})}var c={Name:function(t){return t.value},Variable:function(t){return"$"+t.name},Document:function(t){return d(t.definitions,"\n\n")+"\n"},OperationDefinition:function(t){var e=t.operation,r=t.name,n=m("(",d(t.variableDefinitions,", "),")"),o=d(t.directives," "),l=t.selectionSet;return r||o||n||"query"!==e?d([e,d([r,n]),o,l]," "):l},VariableDefinition:function(t){var e=t.variable,r=t.type,n=t.defaultValue,o=t.directives;return e+": "+r+m(" = ",n)+m(" ",d(o," "))},SelectionSet:function(t){return f(t.selections)},Field:function(t){var e=t.alias,r=t.name,n=t.arguments,o=t.directives,l=t.selectionSet,c=m("",e,": ")+r,h=c+m("(",d(n,", "),")");return h.length>80&&(h=c+m("(\n",v(d(n,"\n")),"\n)")),d([h,d(o," "),l]," ")},Argument:function(t){return t.name+": "+t.value},FragmentSpread:function(t){return"..."+t.name+m(" ",d(t.directives," "))},InlineFragment:function(t){var e=t.typeCondition,r=t.directives,n=t.selectionSet;return d(["...",m("on ",e),d(r," "),n]," ")},FragmentDefinition:function(t){var e=t.name,r=t.typeCondition,n=t.variableDefinitions,o=t.directives,l=t.selectionSet;return"fragment ".concat(e).concat(m("(",d(n,", "),")")," ")+"on ".concat(r," ").concat(m("",d(o," ")," "))+l},IntValue:function(t){return t.value},FloatValue:function(t){return t.value},StringValue:function(t,e){var r=t.value;return t.block?Object(o.b)(r,"description"===e?"":"  "):JSON.stringify(r)},BooleanValue:function(t){return t.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(t){return t.value},ListValue:function(t){return"["+d(t.values,", ")+"]"},ObjectValue:function(t){return"{"+d(t.fields,", ")+"}"},ObjectField:function(t){return t.name+": "+t.value},Directive:function(t){return"@"+t.name+m("(",d(t.arguments,", "),")")},NamedType:function(t){return t.name},ListType:function(t){return"["+t.type+"]"},NonNullType:function(t){return t.type+"!"},SchemaDefinition:h((function(t){var e=t.directives,r=t.operationTypes;return d(["schema",d(e," "),f(r)]," ")})),OperationTypeDefinition:function(t){return t.operation+": "+t.type},ScalarTypeDefinition:h((function(t){return d(["scalar",t.name,d(t.directives," ")]," ")})),ObjectTypeDefinition:h((function(t){var e=t.name,r=t.interfaces,n=t.directives,o=t.fields;return d(["type",e,m("implements ",d(r," & ")),d(n," "),f(o)]," ")})),FieldDefinition:h((function(t){var e=t.name,r=t.arguments,n=t.type,o=t.directives;return e+(_(r)?m("(\n",v(d(r,"\n")),"\n)"):m("(",d(r,", "),")"))+": "+n+m(" ",d(o," "))})),InputValueDefinition:h((function(t){var e=t.name,r=t.type,n=t.defaultValue,o=t.directives;return d([e+": "+r,m("= ",n),d(o," ")]," ")})),InterfaceTypeDefinition:h((function(t){var e=t.name,r=t.interfaces,n=t.directives,o=t.fields;return d(["interface",e,m("implements ",d(r," & ")),d(n," "),f(o)]," ")})),UnionTypeDefinition:h((function(t){var e=t.name,r=t.directives,n=t.types;return d(["union",e,d(r," "),n&&0!==n.length?"= "+d(n," | "):""]," ")})),EnumTypeDefinition:h((function(t){var e=t.name,r=t.directives,n=t.values;return d(["enum",e,d(r," "),f(n)]," ")})),EnumValueDefinition:h((function(t){return d([t.name,d(t.directives," ")]," ")})),InputObjectTypeDefinition:h((function(t){var e=t.name,r=t.directives,n=t.fields;return d(["input",e,d(r," "),f(n)]," ")})),DirectiveDefinition:h((function(t){var e=t.name,r=t.arguments,n=t.repeatable,o=t.locations;return"directive @"+e+(_(r)?m("(\n",v(d(r,"\n")),"\n)"):m("(",d(r,", "),")"))+(n?" repeatable":"")+" on "+d(o," | ")})),SchemaExtension:function(t){var e=t.directives,r=t.operationTypes;return d(["extend schema",d(e," "),f(r)]," ")},ScalarTypeExtension:function(t){return d(["extend scalar",t.name,d(t.directives," ")]," ")},ObjectTypeExtension:function(t){var e=t.name,r=t.interfaces,n=t.directives,o=t.fields;return d(["extend type",e,m("implements ",d(r," & ")),d(n," "),f(o)]," ")},InterfaceTypeExtension:function(t){var e=t.name,r=t.interfaces,n=t.directives,o=t.fields;return d(["extend interface",e,m("implements ",d(r," & ")),d(n," "),f(o)]," ")},UnionTypeExtension:function(t){var e=t.name,r=t.directives,n=t.types;return d(["extend union",e,d(r," "),n&&0!==n.length?"= "+d(n," | "):""]," ")},EnumTypeExtension:function(t){var e=t.name,r=t.directives,n=t.values;return d(["extend enum",e,d(r," "),f(n)]," ")},InputObjectTypeExtension:function(t){var e=t.name,r=t.directives,n=t.fields;return d(["extend input",e,d(r," "),f(n)]," ")}};function h(t){return function(e){return d([e.description,t(e)],"\n")}}function d(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(e=null==t?void 0:t.filter((function(t){return t})).join(r))&&void 0!==e?e:""}function f(t){return m("{\n",v(d(t,"\n")),"\n}")}function m(t,e){return null!=e&&""!==e?t+e+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function v(t){return m("  ",t.replace(/\n/g,"\n  "))}function y(t){return-1!==t.indexOf("\n")}function _(t){return null!=t&&t.some(y)}},function(t,e,r){"use strict";var n={};n.redirect=r(518),n.redirect=n.redirect.default||n.redirect,e.a=n},,,function(t,e,r){"use strict";var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;e.a=n},function(t,e,r){"use strict";(function(t){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},n.apply(this,arguments)},o=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(o,l){function c(t){try{d(n.next(t))}catch(t){l(t)}}function h(t){try{d(n.throw(t))}catch(t){l(t)}}function d(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(c,h)}d((n=n.apply(t,e||[])).next())}))},l=this&&this.__generator||function(t,body){var e,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(c){return function(l){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,r&&(n=2&l[0]?r.return:l[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,l[1])).done)return n;switch(r=0,n&&(l=[2&l[0],n.value]),l[0]){case 0:case 1:n=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]<n[3])){o.label=l[1];break}if(6===l[0]&&o.label<n[1]){o.label=n[1],n=l;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(l);break}n[2]&&o.ops.pop(),o.trys.pop();continue}l=body.call(t,o)}catch(t){l=[6,t],r=0}finally{e=n=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}},c=this&&this.__spreadArrays||function(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e};
vendor: 4,292 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionClient=void 0;var h=void 0!==t?t:"undefined"!=typeof window?window:{},d=h.WebSocket||h.MozWebSocket,f=r(709),m=r(710),v=r(711),y=r(712),_=r(172),w=r(713),T=r(285),S=r(715),M=r(716),x=r(286),k=function(){function t(t,e,r,n){var o=e||{},l=o.connectionCallback,c=void 0===l?void 0:l,h=o.connectionParams,v=void 0===h?{}:h,y=o.minTimeout,_=void 0===y?M.MIN_WS_TIMEOUT:y,w=o.timeout,T=void 0===w?M.WS_TIMEOUT:w,x=o.reconnect,k=void 0!==x&&x,E=o.reconnectionAttempts,O=void 0===E?1/0:E,C=o.lazy,A=void 0!==C&&C,I=o.inactivityTimeout,P=void 0===I?0:I,R=o.wsOptionArguments,D=void 0===R?[]:R;if(this.wsImpl=r||d,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=n||S.GRAPHQL_WS,this.connectionCallback=c,this.url=t,this.operations={},this.nextOperationId=0,this.minWsTimeout=_,this.wsTimeout=T,this.unsentMessagesQueue=[],this.reconnect=k,this.reconnecting=!1,this.reconnectionAttempts=O,this.lazy=!!A,this.inactivityTimeout=P,this.closedByUser=!1,this.backoff=new f({jitter:.5}),this.eventEmitter=new m.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(v),this.wsOptionArguments=D,this.lazy||this.connect()}return Object.defineProperty(t.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,configurable:!0}),t.prototype.close=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=e,t&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,x.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,this.client=null,this.eventEmitter.emit("disconnected"),t||this.tryReconnect())},t.prototype.request=function(t){var e,r,n=this.getObserver.bind(this),o=this.executeOperation.bind(this),l=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(e={})[T.default]=function(){return this},e.subscribe=function(e,c,h){var d=n(e,c,h);return r=o(t,(function(t,e){null===t&&null===e?d.complete&&d.complete():t?d.error&&d.error(t[0]):d.next&&d.next(e)})),{unsubscribe:function(){r&&(l(r),r=null)}}},e},t.prototype.on=function(t,e,r){var n=this.eventEmitter.on(t,e,r);return function(){n.off(t,e,r)}},t.prototype.onConnected=function(t,e){return this.on("connected",t,e)},t.prototype.onConnecting=function(t,e){return this.on("connecting",t,e)},t.prototype.onDisconnected=function(t,e){return this.on("disconnected",t,e)},t.prototype.onReconnected=function(t,e){return this.on("reconnected",t,e)},t.prototype.onReconnecting=function(t,e){return this.on("reconnecting",t,e)},t.prototype.onError=function(t,e){return this.on("error",t,e)},t.prototype.unsubscribeAll=function(){var t=this;Object.keys(this.operations).forEach((function(e){t.unsubscribe(e)}))},t.prototype.applyMiddlewares=function(t){var e=this;return new Promise((function(r,n){var o,l,h;o=c(e.middlewares),l=e,(h=function(e){if(e)n(e);else if(o.length>0){var c=o.shift();c&&c.applyMiddleware.apply(l,[t,h])}else r(t)})()}))},t.prototype.use=function(t){var e=this;return t.map((function(t){if("function"!=typeof t.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(t)})),this},t.prototype.getConnectionParams=function(t){return function(){return new Promise((function(e,r){if("function"==typeof t)try{return e(t.call(null))}catch(t){return r(t)}e(t)}))}},t.prototype.executeOperation=function(t,e){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:t,handler:e},this.applyMiddlewares(t).then((function(t){r.checkOperationOptions(t,e),r.operations[n]&&(r.operations[n]={options:t,handler:e},r.sendMessage(n,x.default.GQL_START,t))})).catch((function(t){r.unsubscribe(n),e(r.formatErrors(t))})),n},t.prototype.getObserver=function(t,e,r){return"function"==typeof t?{next:function(e){return t(e)},error:function(t){return e&&e(t)}
2,complete:function(){return r&&r()}}:t},t.prototype.createMaxConnectTimeGenerator=function(){var t=this.minWsTimeout,e=this.wsTimeout;return new f({min:t,max:e,factor:1.2})},t.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},t.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},t.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},t.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},t.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(t.operations).length&&t.close()}),this.inactivityTimeout))},t.prototype.checkOperationOptions=function(t,e){var r=t.query,n=t.variables,o=t.operationName;
vendor: 3,111 bytes, line 2
2if(!r)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!v.default(r)&&!w.getOperationAST(r,o)||o&&!v.default(o)||n&&!y.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},t.prototype.buildMessage=function(t,e,r){return{id:t,type:e,payload:r&&r.query?n(n({},r),{query:"string"==typeof r.query?r.query:_.print(r.query)}):r}},t.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},t.prototype.sendMessage=function(t,e,r){this.sendMessageRaw(this.buildMessage(t,e,r))},t.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch(e){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(t)))}},t.prototype.generateOperationId=function(){return String(++this.nextOperationId)},t.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(e){t.unsentMessagesQueue.push(t.buildMessage(e,x.default.GQL_START,t.operations[e].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){t.connect()}),e)}},t.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach((function(e){t.sendMessageRaw(e)})),this.unsentMessagesQueue=[]},t.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},t.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},t.prototype.connect=function(){var t,e=this;this.client=new((t=this.wsImpl).bind.apply(t,c([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return o(e,void 0,void 0,(function(){var t,e;return l(this,(function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return t=r.sent(),this.sendMessage(void 0,x.default.GQL_CONNECTION_INIT,t),this.flushUnsentMessagesQueue(),[3,4];case 3:return e=r.sent(),this.sendMessage(void 0,x.default.GQL_CONNECTION_ERROR,e),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}
2))}))},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var data=t.data;e.processReceivedData(data)}},t.prototype.processReceivedData=function(t){var e,r;try{r=(e=JSON.parse(t)).id}catch(e){throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[x.default.GQL_DATA,x.default.GQL_COMPLETE,x.default.GQL_ERROR].indexOf(e.type)||this.operations[r])switch(e.type){case x.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case x.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",e.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case x.default.GQL_COMPLETE:var o=this.operations[r].handler;delete this.operations[r],o.call(this,null,null);break;case x.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(e.payload),null),delete this.operations[r];break;case x.default.GQL_DATA:var l=e.payload.errors?n(n({},e.payload),{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[r].handler(null,l);break;case x.default.GQL_CONNECTION_KEEP_ALIVE:var c=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,c&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},t.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,x.default.GQL_STOP,void 0))},t}();e.SubscriptionClient=k}).call(this,r(40))},function(t,e,r){"use strict";function n(t){return"string"==typeof t?t[0].toUpperCase()+t.substr(1):t}r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return h}));var o={accepted:function(t){return"Please accept the "+t.name+"."},after:function(t){var e=t.name,a=t.args;return Array.isArray(a)&&a.length?n(e)+" must be after "+a[0]+".":n(e)+" must be a later date."},alpha:function(t){return n(t.name)+" can only contain alphabetical characters."},alphanumeric:function(t){return n(t.name)+" can only contain letters and numbers."},before:function(t){var e=t.name,a=t.args;return Array.isArray(a)&&a.length?n(e)+" must be before "+a[0]+".":n(e)+" must be an earlier date."},between:function(t){var e=t.name,a=t.value,r=t.args,i=!(!Array.isArray(r)||!r[2])&&r[2];return!isNaN(a)&&"length"!==i||"value"===i?n(e)+" must be between "+r[0]+" and "+r[1]+".":n(e)+" must be between "+r[0]+" and "+r[1]+" characters long."},confirm:function(t){var e=t.name;return t.args,n(e)+" does not match."},date:function(t){var e=t.name,a=t.args;return Array.isArray(a)&&a.length?n(e)+" is not a valid date, please use the format "+a[0]:n(e)+" is not a valid date."},default:function(t){return t.name,"This field isn’t valid."},email:function(t){t.name;var e=t.value;return e?"“"+e+"” is not a valid email address.":"Please enter a valid email address."},endsWith:function(t){t.name;var e=t.value;return e?"“"+e+"” doesn’t end with a valid value.":"This field doesn’t end with a valid value."},in:function(t){var e=t.name,a=t.value;return"string"==typeof a&&a?"“"+n(a)+"” is not an allowed "+e+".":"This is not an allowed "+e+"."},matches:function(t){return n(t.name)+" is not an allowed value."},max:function(t){var e=t.name,a=t.value,r=t.args;if(Array.isArray(a))return"You may only select "+r[0]+" "+e+".";var i=!(!Array.isArray(r)||!r[1])&&r[1];return!isNaN(a)&&"length"!==i||"value"===i?n(e)+" must be less than or equal to "+r[0]+".":n(e)+" must be less than or equal to "+r[0]+" characters long."},mime:function(t){var e=t.name,a=t.args;return n(e)+" must be of the type: "+(a[0]||"No file formats allowed.")},min:function(t){var e=t.name,a=t.value,r=t.args;if(Array.isArray(a))return"You need at least "+r[0]+" "+e+".";var i=!(!Array.isArray(r)||!r[1])&&r[1];return!isNaN(a)&&"length"!==i||"value"===i?n(e)+" must be at least "+r[0]+".":n(e)+" must be at least "+r[0]+" characters long."},not:function(t){var e=t.name;return"“"+t.value+"” is not an allowed "+e+"."},number:function(t){return n(t.name)+" must be a number."},required:function(t){return n(t.name)+" is required."},startsWith:function(t){t.name;var e=t.value;return e?"“"+e+"” doesn’t start with a valid value.":"This field doesn’t start with a valid value."},url:function(t){return t.name,"Please include a valid url."}};function l(t){var e;t.extend({locales:(e={},e.en=o,e)})}var c={accepted:function(t){return"Per favore, accetta il campo "+t.name+"."},after:function(t){var e=t.name,a=t.args;return Array.isArray(a)&&a.length?n(e)+" deve essere una data successiva al "+a[0]+".":n(e)+" deve essere una data successiva a quella attuale."},alpha:function(t){return n(t.name)+" può contenere solo lettere."},alphanumeric:function(t){return n(t.name)+" può contenere solo lettere e numeri."},before:function(t){var e=t.name,a=t.args;return Array.isArray(a)&&a.length?n(e)+" deve essere una data precedente al "+a[0]+".":n(e)+" deve essere una data precedente a quella attuale."},between:function(t){var e=t.name,a=t.value,r=t.args,i=!(!Array.isArray(r)||!r[2])&&r[2];return!isNaN(a)&&"length"!==i||"value"===i?n(e)+" deve essere tra "+r[0]+" e "+r[1]+".":n(e)+" deve avere una lunghezza compresa tra "+r[0]+" e "+r[1]+" caratteri."},confirm:function(t){var e=t.name;return t.args,n(e)+" non corrisponde."},date:function(t){var e=t.name,a=t.args;return Array.isArray(a)&&a.length?n(e)+" non è una data valida. Per favore usa il formato "+a[0]:n(e)+" non è una data valida."},default:function(t){return t.name,"Questo campo non è valido."},email:function(t){t.name;var e=t.value;return e?"“"+e+"” non è un indirizzo email valido.":"Per favore, inserisci un indirizzo email valido."},endsWith:function(t){t.name;var e=t.value;return e?"“"+e+"” non termina con un valore valido.":"Questo campo non termina con un valore valido."},in:function(t){var e=t.name,a=t.value;return"string"==typeof a&&a?"“"+n(a)+"” non è un valore valido per il campo "+e+".":e+" invalido."},matches:function(t){return n(t.name)+" invalido."},max:function(t){var e=t.name,a=t.value,r=t.args;if(Array.isArray(a))return"Puoi selezionare al massimo "+r[0]+" "+e+".";var i=!(!Array.isArray(r)||!r[1])&&r[1];return!isNaN(a)&&"length"!==i||"value"===i?n(e)+" deve essere inferiore o uguale a "+r[0]+".":n(e)+" deve essere inferiore o uguale a "+r[0]+" caratteri."},mime:function(t){var e=t.name,a=t.args;return n(e)+" deve essere del tipo: "+(a[0]||"Nessun formato file autorizzato.")},min:function(t){var e=t.name,a=t.value,r=t.args;if(Array.isArray(a))return"Devi selezionare almeno "+r[0]+" "+e+".";var i=!(!Array.isArray(r)||!r[1])&&r[1];return!isNaN(a)&&"length"!==i||"value"===i?n(e)+" deve essere maggiore di "+r[0]+".":n(e)+" deve essere più lungo di "+r[0]+" caratteri."},not:function(t){var e=t.name;return"“"+t.value+"” non è un valore valido per il campo "+e+"."},number:function(t){return n(t.name)+" deve essere un numero."},required:function(t){return n(t.name)+" è un campo obbligatorio."},startsWith:function(t){t.name;var e=t.value;return e?"“"+e+"” non inizia con un valore valido.":"Questo campo non inizia con un valore valido."},url:function(t){return t.name,"Per favore inserisci un URL valido."}};function h(t){var e;t.extend({locales:(e={},e.it=c,e)})}},function(t,e){var r,n,o,l,c,h,d,f=9e4;r=function(t){return t*f},n=function(t,e){return t*e},o=function(t){return t/f},l=function(t,e){return t/e},c=function(t,e){return r(l(t,e))},h=function(t,e){return n(o(t),e)},d=function(t,e,r){return o(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:f,secondsToVideoTs:r,secondsToAudioTs:n,videoTsToSeconds:o,audioTsToSeconds:l,audioTsToVideoTs:c,videoTsToAudioTs:h,metadataTsToSeconds:d}},function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(137),e.createHash=e.Hash=r(164),e.createHmac=e.Hmac=r(397);var n=r(641),o=Object.keys(n),l=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);e.getHashes=function(){return l};var p=r(400);e.pbkdf2=p.pbkdf2,e.pbkdf2Sync=p.pbkdf2Sync;var c=r(643);e.Cipher=c.Cipher,e.createCipher=c.createCipher,e.Cipheriv=c.Cipheriv,e.createCipheriv=c.createCipheriv,e.Decipher=c.Decipher,e.createDecipher=c.createDecipher,e.Decipheriv=c.Decipheriv,e.createDecipheriv=c.createDecipheriv,e.getCiphers=c.getCiphers,e.listCiphers=c.listCiphers;var h=r(658);e.DiffieHellmanGroup=h.DiffieHellmanGroup,e.createDiffieHellmanGroup=h.createDiffieHellmanGroup,e.getDiffieHellman=h.getDiffieHellman,e.createDiffieHellman=h.createDiffieHellman,e.DiffieHellman=h.DiffieHellman;var d=r(665);e.createSign=d.createSign,e.Sign=d.Sign,e.createVerify=d.createVerify,e.Verify=d.Verify,e.createECDH=r(698);var f=r(701);e.publicEncrypt=f.publicEncrypt,e.privateEncrypt=f.privateEncrypt,e.publicDecrypt=f.publicDecrypt,e.privateDecrypt=f.privateDecrypt;var m=r(705);e.randomFill=m.randomFill,e.randomFillSync=m.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return I})),r.d(e,"b",(function(){return P}));
vendor: 4,649 bytes, line 2
2var n,o=r(2),l=(new Uint8Array([79,112,117,115,72,101,97,100]),function(path){return"string"==typeof path?Object(o.h)(path):path}),c=function(t){t=Object(o.k)(t);for(var e=[],i=0;t.length>i;){var r=t[i],l=0,c=0,h=t[++c];for(c++;128&h;)l=(127&h)<<7,h=t[c],c++;l+=127&h;for(var d=0;d<n.length;d++){var f=n[d],m=f.id,v=f.parser;if(r===m){e.push(v(t.subarray(c,c+l)));break}}i+=l+c}return e};n=[{id:3,parser:function(t){var desc={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&desc.flags&&(desc.dependsOnEsId=t[desc.size]<<8|t[desc.size+1],desc.size+=2),64&desc.flags){var e=t[desc.size];desc.url=Object(o.c)(t.subarray(desc.size+1,desc.size+1+e)),desc.size+=e}return 32&desc.flags&&(desc.ocrEsId=t[desc.size]<<8|t[desc.size+1],desc.size+=2),desc.descriptors=c(t.subarray(desc.size))||[],desc}},{id:4,parser:function(t){return{tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:c(t.subarray(13))}}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var h=function t(e,r,n){void 0===n&&(n=!1),r=function(t){return Array.isArray(t)?t.map((function(p){return l(p)})):[l(t)]}(r),e=Object(o.k)(e);var c=[];if(!r.length)return c;for(var i=0;i<e.length;){var h=(e[i]<<24|e[i+1]<<16|e[i+2]<<8|e[i+3])>>>0,d=e.subarray(i+4,i+8);if(0===h)break;var f=i+h;if(f>e.length){if(n)break;f=e.length}var data=e.subarray(i+8,f);Object(o.a)(d,r[0])&&(1===r.length?c.push(data):c.push.apply(c,t(data,r.slice(1),n))),i=f}return c},d={EBML:Object(o.k)([26,69,223,163]),DocType:Object(o.k)([66,130]),Segment:Object(o.k)([24,83,128,103]),SegmentInfo:Object(o.k)([21,73,169,102]),Tracks:Object(o.k)([22,84,174,107]),Track:Object(o.k)([174]),TrackNumber:Object(o.k)([215]),DefaultDuration:Object(o.k)([35,227,131]),TrackEntry:Object(o.k)([174]),TrackType:Object(o.k)([131]),FlagDefault:Object(o.k)([136]),CodecID:Object(o.k)([134]),CodecPrivate:Object(o.k)([99,162]),VideoTrack:Object(o.k)([224]),AudioTrack:Object(o.k)([225]),Cluster:Object(o.k)([31,67,182,117]),Timestamp:Object(o.k)([231]),TimestampScale:Object(o.k)([42,215,177]),BlockGroup:Object(o.k)([160]),BlockDuration:Object(o.k)([155]),Block:Object(o.k)([161]),SimpleBlock:Object(o.k)([163])},f=[128,64,32,16,8,4,2,1],m=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var l=function(t){for(var e=1,i=0;i<f.length&&!(t&f[i]);i++)e++;return e}(t[e]),c=t.subarray(e,e+l);return r&&((c=Array.prototype.slice.call(t,e,e+l))[0]^=f[l-1]),{length:l,value:Object(o.b)(c,{signed:n}),bytes:c}},v=function t(path){return"string"==typeof path?path.match(/.{1,2}/g).map((function(p){return t(p)})):"number"==typeof path?Object(o.f)(path):path},y=function t(e,r,n){if(n>=r.length)return r.length;var l=m(r,n,!1);if(Object(o.a)(e.bytes,l.bytes))return n;var c=m(r,n+l.length);return t(e,r,n+c.length+c.value+l.length)},_=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(p){return v(p)})):[v(t)]}(r),e=Object(o.k)(e);var n=[];if(!r.length)return n;for(var i=0;i<e.length;){var l=m(e,i,!1),c=m(e,i+l.length),h=i+l.length+c.length;127===c.value&&(c.value=y(l,e,h),c.value!==e.length&&(c.value-=h));var d=h+c.value>e.length?e.length:h+c.value,data=e.subarray(h,d);Object(o.a)(r[0],l.bytes)&&(1===r.length?n.push(data):n=n.concat(t(data,r.slice(1)))),i+=l.length+c.length+data.length}return n},w=r(125),T=Object(o.k)([0,0,0,1]),S=Object(o.k)([0,0,1]),M=Object(o.k)([0,0,3]),x=function(t){for(var e=[],i=1;i<t.length-2;)Object(o.a)(t.subarray(i,i+3),M)&&(e.push(i+2),i++),i++;if(0===e.length)return t;var r=t.length-e.length,n=new Uint8Array(r),l=0;for(i=0;i<r;l++,i++)l===e[0]&&(l++,e.shift()),n[i]=t[l];return n},k=function(t,e,r,n){void 0===n&&(n=1/0),t=Object(o.k)(t),r=[].concat(r);for(var l,i=0,c=0;i<t.length&&(c<n||l);){var h=void 0;if(Object(o.a)(t.subarray(i),T)?h=4:Object(o.a)(t.subarray(i),S)&&(h=3),h){if(c++,l)return x(t.subarray(l,i));var d=void 0;"h264"===e?d=31&t[i+h]:"h265"===e&&(d=t[i+h]>>1&63),-1!==r.indexOf(d)&&(l=i+h),i+=h+("h264"===e?1:2)}else i++}return t.subarray(0,0)},E={webm:Object(o.k)([119,101,98,109]),matroska:Object(o.k)([109,97,116,114,111,115,107,97]),flac:Object(o.k)([102,76,97,67]),ogg:Object(o.k)([79,103,103,83]),ac3:Object(o.k)([11,119]),riff:Object(o.k)([82,73,70,70]),avi:Object(o.k)([65,86,73]),wav:Object(o.k)([87,65,86,69]),"3gp":Object(o.k)([102,116,121,112,51,103]),mp4:Object(o.k)([102,116,121,112]),fmp4:Object(o.k)([115,116,121,112]),mov:Object(o.k)([102,116,121,112,113,116]),moov:Object(o.k)([109,111,111,118]),moof:Object(o.k)([109,111,111,102])}
2,O={aac:function(t){var e=Object(w.a)(t);return Object(o.a)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=Object(w.a)(t);return Object(o.a)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=_(t,[d.EBML,d.DocType])[0];return Object(o.a)(e,E.webm)},mkv:function(t){var e=_(t,[d.EBML,d.DocType])[0];return Object(o.a)(e,E.matroska)},mp4:function(t){return!O["3gp"](t)&&!O.mov(t)&&(!(!Object(o.a)(t,E.mp4,{offset:4})&&!Object(o.a)(t,E.fmp4,{offset:4}))||(!(!Object(o.a)(t,E.moof,{offset:4})&&!Object(o.a)(t,E.moov,{offset:4}))||void 0))},mov:function(t){return Object(o.a)(t,E.mov,{offset:4})},"3gp":function(t){return Object(o.a)(t,E["3gp"],{offset:4})},ac3:function(t){var e=Object(w.a)(t);return Object(o.a)(t,E.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var i=0;i+188<t.length&&i<188;){if(71===t[i]&&71===t[i+188])return!0;i+=1}return!1},flac:function(t){var e=Object(w.a)(t);return Object(o.a)(t,E.flac,{offset:e})},ogg:function(t){return Object(o.a)(t,E.ogg)},avi:function(t){return Object(o.a)(t,E.riff)&&Object(o.a)(t,E.avi,{offset:8})},wav:function(t){return Object(o.a)(t,E.riff)&&Object(o.a)(t,E.wav,{offset:8})},h264:function(t){return function(t,e,r){return k(t,"h264",e,r)}(t,7,3).length},h265:function(t){return function(t,e,r){return k(t,"h265",e,r)}(t,[32,33],3).length}},C=Object.keys(O).filter((function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t})).concat(["ts","h264","h265"]);C.forEach((function(t){var e=O[t];O[t]=function(t){return e(Object(o.k)(t))}}));var A=O,I=function(t){t=Object(o.k)(t);for(var i=0;i<C.length;i++){var e=C[i];if(A[e](t))return e}return""},P=function(t){return h(t,["moof"]).length>0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";function n(object,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(object):object}var o=n({HTML:"text/html",isHTML:function(t){return t===o.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),l=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===l.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});e.assign=function(t,source){if(null===t||"object"!=typeof t)throw new TypeError("target is not an object");for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e]);return t},e.find=function(t,e,r){if(void 0===r&&(r=Array.prototype),t&&"function"==typeof r.find)return r.find.call(t,e);for(var i=0;i<t.length;i++)if(Object.prototype.hasOwnProperty.call(t,i)){var n=t[i];if(e.call(void 0,n,i,t))return n}},e.freeze=n,e.MIME_TYPE=o,e.NAMESPACE=l},function(t,e,r){"use strict";(function(e){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var l,i,c=arguments.length;switch(c){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,o)}));default:for(l=new Array(c-1),i=0;i<l.length;)l[i++]=arguments[i];return e.nextTick((function(){t.apply(null,l)}))}}}:t.exports=e}).call(this,r(67))},function(t,e,r){var n=r(23).Buffer;function o(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function l(t){for(;0<t.length;t++)t[0]=0}function c(t,e,r,n,o){for(var l,c,h,d,f=r[0],m=r[1],v=r[2],y=r[3],_=t[0]^e[0],w=t[1]^e[1],T=t[2]^e[2],S=t[3]^e[3],M=4,x=1;x<o;x++)l=f[_>>>24]^m[w>>>16&255]^v[T>>>8&255]^y[255&S]^e[M++],c=f[w>>>24]^m[T>>>16&255]^v[S>>>8&255]^y[255&_]^e[M++],h=f[T>>>24]^m[S>>>16&255]^v[_>>>8&255]^y[255&w]^e[M++],d=f[S>>>24]^m[_>>>16&255]^v[w>>>8&255]^y[255&T]^e[M++],_=l,w=c,T=h,S=d;return l=(n[_>>>24]<<24|n[w>>>16&255]<<16|n[T>>>8&255]<<8|n[255&S])^e[M++],c=(n[w>>>24]<<24|n[T>>>16&255]<<16|n[S>>>8&255]<<8|n[255&_])^e[M++],h=(n[T>>>24]<<24|n[S>>>16&255]<<16|n[_>>>8&255]<<8|n[255&w])^e[M++],d=(n[S>>>24]<<24|n[_>>>16&255]<<16|n[w>>>8&255]<<8|n[255&T])^e[M++],[l>>>=0,c>>>=0,h>>>=0,d>>>=0]}var h=[0,1,2,4,8,16,32,64,128,27,54],d=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],o=[[],[],[],[]],l=[[],[],[],[]],c=0,h=0,i=0;i<256;++i){var d=h^h<<1^h<<2^h<<3^h<<4;d=d>>>8^255&d^99,r[c]=d,n[d]=c;
vendor: 9,258 bytes, line 2
2var f=t[c],m=t[f],v=t[m],y=257*t[d]^16843008*d;o[0][c]=y<<24|y>>>8,o[1][c]=y<<16|y>>>16,o[2][c]=y<<8|y>>>24,o[3][c]=y,y=16843009*v^65537*m^257*f^16843008*c,l[0][d]=y<<24|y>>>8,l[1][d]=y<<16|y>>>16,l[2][d]=y<<8|y>>>24,l[3][d]=y,0===c?c=h=1:(c=f^t[t[t[v^f]]],h^=t[t[h]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:l}}();function f(t){this._key=o(t),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),o=[],l=0;l<e;l++)o[l]=t[l];for(l=e;l<n;l++){var c=o[l-1];l%e==0?(c=c<<8|c>>>24,c=d.SBOX[c>>>24]<<24|d.SBOX[c>>>16&255]<<16|d.SBOX[c>>>8&255]<<8|d.SBOX[255&c],c^=h[l/e|0]<<24):e>6&&l%e==4&&(c=d.SBOX[c>>>24]<<24|d.SBOX[c>>>16&255]<<16|d.SBOX[c>>>8&255]<<8|d.SBOX[255&c]),o[l]=o[l-e]^c}for(var f=[],m=0;m<n;m++){var v=n-m,y=o[v-(m%4?0:4)];f[m]=m<4||v<=4?y:d.INV_SUB_MIX[0][d.SBOX[y>>>24]]^d.INV_SUB_MIX[1][d.SBOX[y>>>16&255]]^d.INV_SUB_MIX[2][d.SBOX[y>>>8&255]]^d.INV_SUB_MIX[3][d.SBOX[255&y]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=f},f.prototype.encryptBlockRaw=function(t){return c(t=o(t),this._keySchedule,d.SUB_MIX,d.SBOX,this._nRounds)},f.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},f.prototype.decryptBlock=function(t){var e=(t=o(t))[1];t[1]=t[3],t[3]=e;var r=c(t,this._invKeySchedule,d.INV_SUB_MIX,d.INV_SBOX,this._nRounds),l=n.allocUnsafe(16);return l.writeUInt32BE(r[0],0),l.writeUInt32BE(r[3],4),l.writeUInt32BE(r[2],8),l.writeUInt32BE(r[1],12),l},f.prototype.scrub=function(){l(this._keySchedule),l(this._invKeySchedule),l(this._key)},t.exports.AES=f},function(t,e,r){var n=r(23).Buffer,o=r(258);t.exports=function(t,e,r,l){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var c=r/8,h=n.alloc(c),d=n.alloc(l||0),f=n.alloc(0);c>0||l>0;){var m=new o;m.update(f),m.update(t),e&&m.update(e),f=m.digest();var v=0;if(c>0){var y=h.length-c;v=Math.min(c,f.length),f.copy(h,y,0,v),c-=v}if(v<f.length&&l>0){var _=d.length-l,w=Math.min(l,f.length-v);f.copy(d,_,v,v+w),l-=w}}return f.fill(0),{key:h,iv:d}}},function(t,e,r){"use strict";var n=r(99),o=r(84),l=o.getNAF,c=o.getJSF,h=o.assert;function d(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(p,t){h(p.precomputed);var e=p._getDoubles(),r=l(t,1,this._bitLength),n=(1<<e.step+1)-(e.step%2==0?2:1);n/=3;var o,c,d=[];for(o=0;o<r.length;o+=e.step){c=0;for(var f=o+e.step-1;f>=o;f--)c=(c<<1)+r[f];d.push(c)}for(var a=this.jpoint(null,null,null),b=this.jpoint(null,null,null),i=n;i>0;i--){for(o=0;o<d.length;o++)(c=d[o])===i?b=b.mixedAdd(e.points[o]):c===-i&&(b=b.mixedAdd(e.points[o].neg()));a=a.add(b)}return a.toP()},d.prototype._wnafMul=function(p,t){var e=4,r=p._getNAFPoints(e);e=r.wnd;for(var n=r.points,o=l(t,e,this._bitLength),c=this.jpoint(null,null,null),i=o.length-1;i>=0;i--){for(var d=0;i>=0&&0===o[i];i--)d++;if(i>=0&&d++,c=c.dblp(d),i<0)break;var f=o[i];h(0!==f),c="affine"===p.type?f>0?c.mixedAdd(n[f-1>>1]):c.mixedAdd(n[-f-1>>1].neg()):f>0?c.add(n[f-1>>1]):c.add(n[-f-1>>1].neg())}return"affine"===p.type?c.toP():c},d.prototype._wnafMulAdd=function(t,e,r,n,o){var i,h,p,d=this._wnafT1,f=this._wnafT2,m=this._wnafT3,v=0;for(i=0;i<n;i++){var y=(p=e[i])._getNAFPoints(t);d[i]=y.wnd,f[i]=y.points}for(i=n-1;i>=1;i-=2){var a=i-1,b=i;if(1===d[a]&&1===d[b]){var _=[e[a],null,null,e[b]];0===e[a].y.cmp(e[b].y)?(_[1]=e[a].add(e[b]),_[2]=e[a].toJ().mixedAdd(e[b].neg())):0===e[a].y.cmp(e[b].y.redNeg())?(_[1]=e[a].toJ().mixedAdd(e[b]),_[2]=e[a].add(e[b].neg())):(_[1]=e[a].toJ().mixedAdd(e[b]),_[2]=e[a].toJ().mixedAdd(e[b].neg()));var w=[-3,-1,-5,-7,0,7,5,1,3],T=c(r[a],r[b]);for(v=Math.max(T[0].length,v),m[a]=new Array(v),m[b]=new Array(v),h=0;h<v;h++){var S=0|T[0][h],M=0|T[1][h];m[a][h]=w[3*(S+1)+(M+1)],m[b][h]=0,f[a]=_}}else m[a]=l(r[a],d[a],this._bitLength),m[b]=l(r[b],d[b],this._bitLength),v=Math.max(m[a].length,v),v=Math.max(m[b].length,v)}var x=this.jpoint(null,null,null),k=this._wnafT4;for(i=v;i>=0;i--){for(var E=0;i>=0;){var O=!0;for(h=0;h<n;h++)k[h]=0|m[h][i],0!==k[h]&&(O=!1);if(!O)break;E++,i--}if(i>=0&&E++,x=x.dblp(E),i<0)break;for(h=0;h<n;h++){var C=k[h];0!==C&&(C>0?p=f[h][C-1>>1]:C<0&&(p=f[h][-C-1>>1].neg()),x="affine"===p.type?x.mixedAdd(p):x.add(p))}}for(i=0;i<n;i++)f[i]=null;return o?x:x.toP()},d.BasePoint=f,f.prototype.eq=function(){throw new Error("Not implemented")},f.prototype.validate=function(){return this.curve.validate(this)},d.prototype.decodePoint=function(t,e){t=o.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*r)return 6===t[0]?h(t[t.length-1]%2==0):7===t[0]&&h(t[t.length-1]%2==1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},f.prototype.encodeCompressed=function(t){return this.encode(t,!0)},f.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},f.prototype.encode=function(t,e){return o.encode(this._encode(e),t)},f.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},f.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},f.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},f.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(t){for(var e=this,i=0;i<t;i++)e=e.dbl();return e}},function(t,e,r){var n=r(687),o=r(695),l=r(696),c=r(266),h=r(400),d=r(23).Buffer;function f(t){var e;"object"!=typeof t||d.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=d.from(t));var r,f,m=l(t,e),v=m.tag,data=m.data;switch(v){case"CERTIFICATE":f=n.certificate.decode(data,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(f||(f=n.PublicKey.decode(data,"der")),r=f.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(f.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return f.subjectPrivateKey=f.subjectPublicKey,{type:"ec",data:f};case"1.2.840.10040.4.1":return f.algorithm.params.pub_key=n.DSAparam.decode(f.subjectPublicKey.data,"der"),{type:"dsa",data:f.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":data=function(data,t){var e=data.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=o[data.algorithm.decrypt.cipher.algo.join(".")],l=data.algorithm.decrypt.cipher.iv,f=data.subjectPrivateKey,m=parseInt(n.split("-")[1],10)/8,v=h.pbkdf2Sync(t,e,r,m,"sha1"),y=c.createDecipheriv(n,v,l),_=[];return _.push(y.update(f)),_.push(y.final()),d.concat(_)}(data=n.EncryptedPrivateKey.decode(data,"der"),e);case"PRIVATE KEY":switch(r=(f=n.PrivateKey.decode(data,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(f.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:f.algorithm.curve,privateKey:n.ECPrivateKey.decode(f.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return f.algorithm.params.priv_key=n.DSAparam.decode(f.subjectPrivateKey,"der"),{type:"dsa",params:f.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(data,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(data,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(data,"der")};case"EC PRIVATE KEY":return{curve:(data=n.ECPrivateKey.decode(data,"der")).parameters.value,privateKey:data.privateKey};default:throw new Error("unknown key type "+v)}}t.exports=f,f.signature=n.signature},,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"__extends",(function(){return o}
2)),r.d(e,"__assign",(function(){return l})),r.d(e,"__rest",(function(){return c})),r.d(e,"__decorate",(function(){return h})),r.d(e,"__param",(function(){return d})),r.d(e,"__esDecorate",(function(){return f})),r.d(e,"__runInitializers",(function(){return m})),r.d(e,"__propKey",(function(){return v})),r.d(e,"__setFunctionName",(function(){return y})),r.d(e,"__metadata",(function(){return _})),r.d(e,"__awaiter",(function(){return w})),r.d(e,"__generator",(function(){return T})),r.d(e,"__createBinding",(function(){return S})),r.d(e,"__exportStar",(function(){return M})),r.d(e,"__values",(function(){return x})),r.d(e,"__read",(function(){return k})),r.d(e,"__spread",(function(){return E})),r.d(e,"__spreadArrays",(function(){return O})),r.d(e,"__spreadArray",(function(){return C})),r.d(e,"__await",(function(){return A})),r.d(e,"__asyncGenerator",(function(){return I})),r.d(e,"__asyncDelegator",(function(){return P})),r.d(e,"__asyncValues",(function(){return R})),r.d(e,"__makeTemplateObject",(function(){return D})),r.d(e,"__importStar",(function(){return N})),r.d(e,"__importDefault",(function(){return j})),r.d(e,"__classPrivateFieldGet",(function(){return B})),r.d(e,"__classPrivateFieldSet",(function(){return F})),r.d(e,"__classPrivateFieldIn",(function(){return U}));
vendor: 7,509 bytes, line 2
2var n=function(t,b){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])},n(t,b)};function o(t,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}var l=function(){return l=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},l.apply(this,arguments)};function c(s,t){var e={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&t.indexOf(p)<0&&(e[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)t.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(e[p[i]]=s[p[i]])}return e}function h(t,e,r,desc){var n,o=arguments.length,l=o<3?e:null===desc?desc=Object.getOwnPropertyDescriptor(e,r):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,r,desc);else for(var i=t.length-1;i>=0;i--)(n=t[i])&&(l=(o<3?n(l):o>3?n(e,r,l):n(e,r))||l);return o>3&&l&&Object.defineProperty(e,r,l),l}function d(t,e){return function(r,n){e(r,n,t)}}function f(t,e,r,n,o,l){function c(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var h,d=n.kind,f="getter"===d?"get":"setter"===d?"set":"value",m=!e&&t?n.static?t:t.prototype:null,v=e||(m?Object.getOwnPropertyDescriptor(m,n.name):{}),y=!1,i=r.length-1;i>=0;i--){var _={};for(var p in n)_[p]="access"===p?{}:n[p];for(var p in n.access)_.access[p]=n.access[p];_.addInitializer=function(t){if(y)throw new TypeError("Cannot add initializers after decoration has completed");l.push(c(t||null))};var w=(0,r[i])("accessor"===d?{get:v.get,set:v.set}:v[f],_);if("accessor"===d){if(void 0===w)continue;if(null===w||"object"!=typeof w)throw new TypeError("Object expected");(h=c(w.get))&&(v.get=h),(h=c(w.set))&&(v.set=h),(h=c(w.init))&&o.push(h)}else(h=c(w))&&("field"===d?o.push(h):v[f]=h)}m&&Object.defineProperty(m,n.name,v),y=!0}function m(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function v(t){return"symbol"==typeof t?t:"".concat(t)}function y(t,e,r){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function _(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function w(t,e,r,n){return new(r||(r=Promise))((function(o,l){function c(t){try{d(n.next(t))}catch(t){l(t)}}function h(t){try{d(n.throw(t))}catch(t){l(t)}}function d(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(c,h)}d((n=n.apply(t,e||[])).next())}))}function T(t,body){var e,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(c){return function(l){if(e)throw new TypeError("Generator is already executing.");for(;g&&(g=0,l[0]&&(o=0)),o;)try{if(e=1,r&&(n=2&l[0]?r.return:l[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,l[1])).done)return n;switch(r=0,n&&(l=[2&l[0],n.value]),l[0]){case 0:case 1:n=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]<n[3])){o.label=l[1];break}if(6===l[0]&&o.label<n[1]){o.label=n[1],n=l;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(l);break}n[2]&&o.ops.pop(),o.trys.pop();continue}l=body.call(t,o)}catch(t){l=[6,t],r=0}finally{e=n=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}var S=Object.create?function(t,e,r,n){void 0===n&&(n=r);var desc=Object.getOwnPropertyDescriptor(e,r);desc&&!("get"in desc?!e.__esModule:desc.writable||desc.configurable)||(desc={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,desc)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]};function M(t,e){for(var p in t)"default"===p||Object.prototype.hasOwnProperty.call(e,p)||S(e,t,p)}function x(t){var s="function"==typeof Symbol&&Symbol.iterator,e=s&&t[s],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function k(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)l.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return l}function E(){for(var t=[],i=0;i<arguments.length;i++)t=t.concat(k(arguments[i]));return t}function O(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}function C(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function A(t){return this instanceof A?(this.v=t,this):new A(t)}function I(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,g=r.apply(t,e||[]),q=[];return i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i;function n(t){g[t]&&(i[t]=function(e){return new Promise((function(a,b){q.push([t,e,a,b])>1||o(t,e)}))})}function o(t,e){try{(r=g[t](e)).value instanceof A?Promise.resolve(r.value.v).then(l,c):h(q[0][2],r)}catch(t){h(q[0][3],t)}var r}function l(t){o("next",t)}function c(t){o("throw",t)}function h(t,e){t(e),q.shift(),q.length&&o(q[0][0],q[0][1])}}function P(t){var i,p;return i={},e("next"),e("throw",(function(t){throw t})),e("return"),i[Symbol.iterator]=function(){return this},i;function e(e,r){i[e]=t[e]?function(n){return(p=!p)?{value:A(t[e](n)),done:!1}:r?r(n):n}:r}}function R(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,e=t[Symbol.asyncIterator];return e?e.call(t):(t=x(t),i={},r("next"),r("throw"),r("return"),i[Symbol.asyncIterator]=function(){return this},i);function r(e){i[e]=t[e]&&function(r){return new Promise((function(n,o){(function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)})(n,o,(r=t[e](r)).done,r.value)}))}}}function D(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var L=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function N(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&S(e,t,r);return L(e,t),e}function j(t){return t&&t.__esModule?t:{default:t}}function B(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");
2return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}function F(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(t,r):o?o.value=r:e.set(t,r),r}function U(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}},function(t,e,r){"use strict";function n(t){var e=t.split(/\r\n|[\n\r]/g),r=function(t){for(var e,r=!0,n=!0,o=0,l=null,i=0;i<t.length;++i)switch(t.charCodeAt(i)){case 13:10===t.charCodeAt(i+1)&&++i;case 10:r=!1,n=!0,o=0;break;case 9:case 32:++o;break;default:n&&!r&&(null===l||o<l)&&(l=o),n=!1}return null!==(e=l)&&void 0!==e?e:0}(t);if(0!==r)for(var i=1;i<e.length;i++)e[i]=e[i].slice(r);for(var n=0;n<e.length&&o(e[n]);)++n;for(var l=e.length;l>n&&o(e[l-1]);)--l;return e.slice(n,l).join("\n")}function o(t){for(var i=0;i<t.length;++i)if(" "!==t[i]&&"\t"!==t[i])return!1;return!0}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===t.indexOf("\n"),o=" "===t[0]||"\t"===t[0],l='"'===t[t.length-1],c="\\"===t[t.length-1],h=!n||l||c||r,d="";return!h||n&&o||(d+="\n"+e),d+=e?t.replace(/\n/g,"\n"+e):t,h&&(d+="\n"),'"""'+d.replace(/"""/g,'\\"""')+'"""'}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return l}))},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return c}));var n=r(0),o=r.n(n),l=function(s){return o.a.atob?o.a.atob(s):t.from(s,"base64").toString("binary")};function c(t){for(var e=l(t),r=new Uint8Array(e.length),i=0;i<e.length;i++)r[i]=e.charCodeAt(i);return r}}).call(this,r(62).Buffer)},function(t,e){},,,,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a={check:(val={})=>{const date=(new Date).getTime();let copy=eval("("+JSON.stringify(val||{})+")");return Object.keys(copy||{}).forEach((t=>{try{const e=new Date(copy[t].___expireDate).getTime();delete copy[t].___expireDate,e<date&&delete copy[t]}catch(t){}})),copy},create:(val={})=>{const date=(new Date).getTime();let copy=eval("("+JSON.stringify(val||{})+")");return Object.keys(copy||{}).forEach((t=>{if("number"==typeof(copy[t]||{}).expire){const e=date+60*copy[t].expire*60*1e3;copy[t].___expireDate=new Date(e)}})),copy}}},function(t,e,r){"use strict";r(71),r(9),r(24),r(54),r(29),r(57),r(61),r(51),r(49),r(45),r(80),r(59),r(30),r(38),r(72),r(81),r(60);var n=r(7);function o(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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,c=!0,h=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){h=!0,o=t},f:function(){try{c||null==r.return||r.return()}finally{if(h)throw o}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}var c=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},h=window.cancelIdleCallback||function(t){clearTimeout(t)},d=window.IntersectionObserver&&new window.IntersectionObserver((function(t){t.forEach((function(t){var e=t.intersectionRatio,link=t.target;e<=0||!link.__prefetch||link.__prefetch()}))}));e.a={name:"NuxtLink",extends:n.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=c(this.observe,{timeout:2e3}))}
2,beforeDestroy:function(){h(this.handleId),this.__observed&&(d.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){d&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),d.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){var t=this.$router.resolve(this.to,this.$route,this.append);return t.resolved.matched.map((function(t){return t.components.default})).filter((function(e){return t.href||"function"==typeof e&&!e.options&&!e.__prefetched})).length},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){d.unobserve(this.$el);var t,e=o(this.getPrefetchComponents());try{for(e.s();!(t=e.n()).done;){var r=t.value,n=r();n instanceof Promise&&n.catch((function(){})),r.__prefetched=!0}}catch(t){e.e(t)}finally{e.f()}if(!this.$root.isPreview){var l=this.$router.resolve(this.to,this.$route,this.append).href;this.$nuxt&&this.$nuxt.fetchPayload(l,!0).catch((function(){}))}}}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(19),o=r(382),l=r(23).Buffer,c=new Array(16);function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function d(t,e){return t<<e|t>>>32-e}function f(a,b,t,e,r,n,s){return d(a+(b&t|~b&e)+r+n|0,s)+b|0}function m(a,b,t,e,r,n,s){return d(a+(b&e|t&~e)+r+n|0,s)+b|0}function v(a,b,t,e,r,n,s){return d(a+(b^t^e)+r+n|0,s)+b|0}function y(a,b,t,e,r,n,s){return d(a+(t^(b|~e))+r+n|0,s)+b|0}n(h,o),h.prototype._update=function(){for(var t=c,i=0;i<16;++i)t[i]=this._block.readInt32LE(4*i);var a=this._a,b=this._b,e=this._c,r=this._d;a=f(a,b,e,r,t[0],3614090360,7),r=f(r,a,b,e,t[1],3905402710,12),e=f(e,r,a,b,t[2],606105819,17),b=f(b,e,r,a,t[3],3250441966,22),a=f(a,b,e,r,t[4],4118548399,7),r=f(r,a,b,e,t[5],1200080426,12),e=f(e,r,a,b,t[6],2821735955,17),b=f(b,e,r,a,t[7],4249261313,22),a=f(a,b,e,r,t[8],1770035416,7),r=f(r,a,b,e,t[9],2336552879,12),e=f(e,r,a,b,t[10],4294925233,17),b=f(b,e,r,a,t[11],2304563134,22),a=f(a,b,e,r,t[12],1804603682,7),r=f(r,a,b,e,t[13],4254626195,12),e=f(e,r,a,b,t[14],2792965006,17),a=m(a,b=f(b,e,r,a,t[15],1236535329,22),e,r,t[1],4129170786,5),r=m(r,a,b,e,t[6],3225465664,9),e=m(e,r,a,b,t[11],643717713,14),b=m(b,e,r,a,t[0],3921069994,20),a=m(a,b,e,r,t[5],3593408605,5),r=m(r,a,b,e,t[10],38016083,9),e=m(e,r,a,b,t[15],3634488961,14),b=m(b,e,r,a,t[4],3889429448,20),a=m(a,b,e,r,t[9],568446438,5),r=m(r,a,b,e,t[14],3275163606,9),e=m(e,r,a,b,t[3],4107603335,14),b=m(b,e,r,a,t[8],1163531501,20),a=m(a,b,e,r,t[13],2850285829,5),r=m(r,a,b,e,t[2],4243563512,9),e=m(e,r,a,b,t[7],1735328473,14),a=v(a,b=m(b,e,r,a,t[12],2368359562,20),e,r,t[5],4294588738,4),r=v(r,a,b,e,t[8],2272392833,11),e=v(e,r,a,b,t[11],1839030562,16),b=v(b,e,r,a,t[14],4259657740,23),a=v(a,b,e,r,t[1],2763975236,4),r=v(r,a,b,e,t[4],1272893353,11),e=v(e,r,a,b,t[7],4139469664,16),b=v(b,e,r,a,t[10],3200236656,23),a=v(a,b,e,r,t[13],681279174,4),r=v(r,a,b,e,t[0],3936430074,11),e=v(e,r,a,b,t[3],3572445317,16),b=v(b,e,r,a,t[6],76029189,23),a=v(a,b,e,r,t[9],3654602809,4),r=v(r,a,b,e,t[12],3873151461,11),e=v(e,r,a,b,t[15],530742520,16),a=y(a,b=v(b,e,r,a,t[2],3299628645,23),e,r,t[0],4096336452,6),r=y(r,a,b,e,t[7],1126891415,10),e=y(e,r,a,b,t[14],2878612391,15),b=y(b,e,r,a,t[5],4237533241,21),a=y(a,b,e,r,t[12],1700485571,6),r=y(r,a,b,e,t[3],2399980690,10),e=y(e,r,a,b,t[10],4293915773,15),b=y(b,e,r,a,t[1],2240044497,21),a=y(a,b,e,r,t[8],1873313359,6),r=y(r,a,b,e,t[15],4264355552,10),e=y(e,r,a,b,t[6],2734768916,15),b=y(b,e,r,a,t[13],1309151649,21),a=y(a,b,e,r,t[4],4149444226,6),r=y(r,a,b,e,t[11],3174756917,10),e=y(e,r,a,b,t[2],718787259,15),b=y(b,e,r,a,t[9],3951481745,21),this._a=this._a+a|0,this._b=this._b+b|0,this._c=this._c+e|0,this._d=this._d+r|0},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=l.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t}
vendor: 8,834 bytes, line 2
2,t.exports=h},function(t,e,r){"use strict";var n=r(138).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function t(e,r,l){if("function"==typeof r)return t(e,null,r);r||(r={}),l=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.apply(this,n)}}}(l||o);var c=r.readable||!1!==r.readable&&e.readable,h=r.writable||!1!==r.writable&&e.writable,d=function(){e.writable||m()},f=e._writableState&&e._writableState.finished,m=function(){h=!1,f=!0,c||l.call(e)},v=e._readableState&&e._readableState.endEmitted,y=function(){c=!1,v=!0,h||l.call(e)},_=function(t){l.call(e,t)},w=function(){var t;return c&&!v?(e._readableState&&e._readableState.ended||(t=new n),l.call(e,t)):h&&!f?(e._writableState&&e._writableState.ended||(t=new n),l.call(e,t)):void 0},T=function(){e.req.on("finish",m)};return!function(t){return t.setHeader&&"function"==typeof t.abort}(e)?h&&!e._writableState&&(e.on("end",d),e.on("close",d)):(e.on("complete",m),e.on("abort",w),e.req?T():e.on("request",T)),e.on("end",y),e.on("finish",m),!1!==r.error&&e.on("error",_),e.on("close",w),function(){e.removeListener("complete",m),e.removeListener("abort",w),e.removeListener("request",T),e.req&&e.req.removeListener("finish",m),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",m),e.removeListener("end",y),e.removeListener("error",_),e.removeListener("close",w)}}},function(t,e,r){"use strict";var n=r(62).Buffer,o=r(19),l=r(382),c=new Array(16),h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],v=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function y(){l.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function _(t,e){return t<<e|t>>>32-e}function w(a,b,t,e,r,n,o,s){return _(a+(b^t^e)+n+o|0,s)+r|0}function T(a,b,t,e,r,n,o,s){return _(a+(b&t|~b&e)+n+o|0,s)+r|0}function S(a,b,t,e,r,n,o,s){return _(a+((b|~t)^e)+n+o|0,s)+r|0}function M(a,b,t,e,r,n,o,s){return _(a+(b&e|t&~e)+n+o|0,s)+r|0}function x(a,b,t,e,r,n,o,s){return _(a+(b^(t|~e))+n+o|0,s)+r|0}o(y,l),y.prototype._update=function(){for(var t=c,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,o=0|this._c,dl=0|this._d,l=0|this._e,y=0|this._a,br=0|this._b,k=0|this._c,E=0|this._d,O=0|this._e,i=0;i<80;i+=1){var C,tr;i<16?(C=w(r,n,o,dl,l,t[h[i]],v[0],f[i]),tr=x(y,br,k,E,O,t[d[i]],hr[0],m[i])):i<32?(C=T(r,n,o,dl,l,t[h[i]],v[1],f[i]),tr=M(y,br,k,E,O,t[d[i]],hr[1],m[i])):i<48?(C=S(r,n,o,dl,l,t[h[i]],v[2],f[i]),tr=S(y,br,k,E,O,t[d[i]],hr[2],m[i])):i<64?(C=M(r,n,o,dl,l,t[h[i]],v[3],f[i]),tr=T(y,br,k,E,O,t[d[i]],hr[3],m[i])):(C=x(r,n,o,dl,l,t[h[i]],v[4],f[i]),tr=w(y,br,k,E,O,t[d[i]],hr[4],m[i])),r=l,l=dl,dl=_(o,10),o=n,n=C,y=O,O=E,E=_(k,10),k=br,br=tr}var A=this._b+o+E|0;this._b=this._c+dl+O|0,this._c=this._d+l+y|0,this._d=this._e+r+br|0,this._e=this._a+n+k|0,this._a=A},y.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=y},function(t,e,r){(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=r(626),e.sha1=r(627),e.sha224=r(628),e.sha256=r(391),e.sha384=r(629),e.sha512=r(392)},function(t,e,r){(e=t.exports=r(393)).Stream=e,e.Readable=e,e.Writable=r(264),e.Duplex=r(120),e.Transform=r(396),e.PassThrough=r(635)},function(t,e,r){var n=r(62),o=n.Buffer;function l(t,e){for(var r in t)e[r]=t[r]}function c(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(l(n,e),e.Buffer=c),l(o,c),c.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},c.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},c.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";(function(e){var n=r(211);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=S;var l,c=n.nextTick;S.WritableState=T;var h=Object.create(r(167));h.inherits=r(19);var d={deprecate:r(389)},f=r(394),m=r(263).Buffer,v=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var y,_=r(395);function w(){}function T(t,e){l=l||r(120),t=t||{};var h=e instanceof l;this.objectMode=!!t.objectMode,h&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var d=t.highWaterMark,f=t.writableHighWaterMark,m=this.objectMode?16:16384;this.highWaterMark=d||0===d?d:h&&(f||0===f)?f:m,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var v=!1===t.decodeStrings;this.decodeStrings=!v,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,o=r.sync,l=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,o,l){--e.pendingcb,r?(n.nextTick(l,o),n.nextTick(C,t,e),t._writableState.errorEmitted=!0,t.emit("error",o)):(l(o),t._writableState.errorEmitted=!0,t.emit("error",o),C(t,e))}(t,r,o,e,l);else{var h=E(r);h||r.corked||r.bufferProcessing||!r.bufferedRequest||k(t,r),o?c(x,t,r,h,l):x(t,r,h,l)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function S(t){if(l=l||r(120),!(y.call(S,this)||this instanceof l))return new S(t);this._writableState=new T(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function M(t,e,r,n,o,l,c){e.writelen=n,e.writecb=c,e.writing=!0,e.sync=!0,r?t._writev(o,e.onwrite):t._write(o,l,e.onwrite),e.sync=!1}function x(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),C(t,e)}function k(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,l=new Array(n),c=e.corkedRequestsFree;c.entry=r;for(var h=0,d=!0;r;)l[h]=r,r.isBuf||(d=!1),r=r.next,h+=1;l.allBuffers=d,M(t,e,!0,e.length,l,"",c.finish),e.pendingcb++,e.lastBufferedRequest=null,c.next?(e.corkedRequestsFree=c.next,c.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,m=r.encoding,v=r.callback;if(M(t,e,!1,e.objectMode?1:f.length,f,m,v),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function E(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function O(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),C(t,e)}))}function C(t,e){var r=E(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,n.nextTick(O,t,e)):(e.prefinished=!0,t.emit("prefinish")))}
vendor: 5,450 bytes, line 2
2(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}h.inherits(S,f),T.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(T.prototype,"buffer",{get:d.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(object){return!!y.call(this,object)||this===S&&(object&&object._writableState instanceof T)}})):y=function(object){return object instanceof this},S.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},S.prototype.write=function(t,e,r){var o,l=this._writableState,c=!1,h=!l.objectMode&&(o=t,m.isBuffer(o)||o instanceof v);return h&&!m.isBuffer(t)&&(t=function(t){return m.from(t)}(t)),"function"==typeof e&&(r=e,e=null),h?e="buffer":e||(e=l.defaultEncoding),"function"!=typeof r&&(r=w),l.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),n.nextTick(e,r)}(this,r):(h||function(t,e,r,o){var l=!0,c=!1;return null===r?c=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c&&(t.emit("error",c),n.nextTick(o,c),l=!1),l}(this,l,t,r))&&(l.pendingcb++,c=function(t,e,r,n,o,l){if(!r){var c=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=m.from(e,r));return e}(e,n,o);n!==c&&(r=!0,o="buffer",n=c)}var h=e.objectMode?1:n.length;e.length+=h;var d=e.length<e.highWaterMark;d||(e.needDrain=!0);if(e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:l,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else M(t,e,!1,h,n,o,l);return d}(this,l,h,t,e,r)),c},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||k(this,t))},S.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},S.prototype._writev=null,S.prototype.end=function(t,e,r){var o=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||function(t,e,r){e.ending=!0,C(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r)},Object.defineProperty(S.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),S.prototype.destroy=_.destroy,S.prototype._undestroy=_.undestroy,S.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(40))},function(t,e,r){"use strict";var n=r(83);function o(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==t.padding}t.exports=o,o.prototype._init=function(){},o.prototype.update=function(data){return 0===data.length?[]:"decrypt"===this.type?this._updateDecrypt(data):this._updateEncrypt(data)},o.prototype._buffer=function(data,t){for(var e=Math.min(this.buffer.length-this.bufferOff,data.length-t),i=0;i<e;i++)this.buffer[this.bufferOff+i]=data[t+i];return this.bufferOff+=e,e},o.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(data){var t=0,e=0,r=(this.bufferOff+data.length)/this.blockSize|0,n=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(data,t),this.bufferOff===this.buffer.length&&(e+=this._flushBuffer(n,e)));for(var o=data.length-(data.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(data,t,n,e),e+=this.blockSize;for(;t<data.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=data[t];return n},o.prototype._updateDecrypt=function(data){for(var t=0,e=0,r=Math.ceil((this.bufferOff+data.length)/this.blockSize)-1,n=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(data,t),e+=this._flushBuffer(n,e);return t+=this._buffer(data,t),n},o.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},o.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},o.prototype._unpad=function(t){return t},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}}
vendor: 1,233 bytes, line 2
2,function(t,e,r){var n=r(648),o=r(656),l=r(409);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=o.createDecipher,e.createDecipheriv=e.Decipheriv=o.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(l)}},function(t,e,r){var n={ECB:r(649),CBC:r(650),CFB:r(651),CFB8:r(652),CFB1:r(653),OFB:r(654),CTR:r(407),GCM:r(407)},o=r(409);for(var l in o)o[l].module=n[o[l].mode];t.exports=o},function(t,e,r){var n;function o(t){this.rand=t}if(t.exports=function(t){return n||(n=new o(null)),n.generate(t)},t.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),i=0;i<e.length;i++)e[i]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var l=r(662);
vendor: 1,255 bytes, line 2
2if("function"!=typeof l.randomBytes)throw new Error("Not supported");o.prototype._rand=function(t){return l.randomBytes(t)}}catch(t){}},function(t,e,r){(function(e){var n=r(270),o=r(137);function l(t){var e,r=t.modulus.byteLength();do{e=new n(o(r))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function c(t,r){var o=function(t){var e=l(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(r),c=r.modulus.byteLength(),h=new n(t).mul(o.blinder).umod(r.modulus),d=h.toRed(n.mont(r.prime1)),f=h.toRed(n.mont(r.prime2)),m=r.coefficient,p=r.prime1,q=r.prime2,v=d.redPow(r.exponent1).fromRed(),y=f.redPow(r.exponent2).fromRed(),_=v.isub(y).imul(m).umod(p).imul(q);return y.iadd(_).imul(o.unblinder).umod(r.modulus).toArrayLike(e,"be",c)}c.getr=l,t.exports=c}).call(this,r(62).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base
vendor: 4,576 bytes, line 2
2=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(667).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,o){for(var l=0,b=0,c=Math.min(t.length,r),i=e;i<c;i++){var h=t.charCodeAt(i)-48;l*=o,b=h>=49?h-49+10:h>=17?h-17+10:h,n(h>=0&&b<o,"Invalid character"),l+=b}return l}function m(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this._strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this._strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this._strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype._move=function(t){m(t,this)},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{l.prototype[Symbol.for("nodejs.util.inspect.custom")]=v}catch(t){l.prototype.inspect=v}else l.prototype.inspect=v;function v(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var y=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],w=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 10,031 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);o=l>>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?y[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=_[base],d=w[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(d).toString(base);e=(f=f.idivn(d)).isZero()?m+e:y[h-m.length]+m+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16,2)},c&&(l.prototype.toBuffer=function(t,e){return this.toArrayLike(c,t,e)}),l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function T(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r._strip()}l.prototype.toArrayLike=function(t,e,r){this._strip();var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0");var c=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,l);return this["_toArrayLike"+("le"===e?"LE":"BE")](c,o),c},l.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var l=this.words[i]<<o|n;t[r++]=255&l,r<t.length&&(t[r++]=l>>8&255),r<t.length&&(t[r++]=l>>16&255),6===o?(r<t.length&&(t[r++]=l>>24&255),n=0,o=0):(n=l>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},l.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var l=this.words[i]<<o|n;t[r--]=255&l,r>=0&&(t[r--]=l>>8&255),r>=0&&(t[r--]=l>>16&255),6===o?(r>=0&&(t[r--]=l>>24&255),n=0,o=0):(n=l>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this._strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this._strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this._strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this._strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var S=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,907 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function M(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r._strip()}function x(t,e,r){return M(t,e,r)}function k(t,e){this.x=t,this.y=e}Math.imul||(S=T),l.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?S(this,t,e):r<63?T(this,t,e):r<1024?M(this,t,e):x(this,t,e)},k.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},k.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},k.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},k.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},k.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},k.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},k.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},k.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},k.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},k.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),x(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,l=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=l>>>26,this.words[i]=67108863&l}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=t.words[n]>>>o&1}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this._strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this._strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this._strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this._strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q._strip(),a._strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modrn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var p=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(p*r+(0|this.words[i]))%t;return e?-r:r},l.prototype.modn=function(t){return this.modrn(t)},l.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new R(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var E={k256:null,p224:null,p192:null,p25519:null};function O(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){O.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){O.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function I(){O.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P(){O.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function R(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function D(t){R.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},O.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},O.prototype.split=function(input,t){input.iushrn(this.n,0,t)},O.prototype.imulK=function(t){return t.imul(this.k)},o(C,O),C.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 9,645 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},C.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,O),o(I,O),o(P,O),P.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(E[t])return E[t];var e;if("k256"===t)e=new C;else if("p224"===t)e=new A;else if("p192"===t)e=new I;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new P}return E[t]=e,e},R.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},R.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},R.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(m(a,a.umod(this.m)._forceRed(this)),a)},R.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},R.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},R.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},R.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},R.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},R.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},R.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},R.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},R.prototype.isqr=function(a){return this.imul(a,a.clone())},R.prototype.sqr=function(a){return this.mul(a,a)},R.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},R.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},R.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},R.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},R.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new D(t)},o(D,R),D.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},D.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},D.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},D.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},D.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},function(t,e,r){"use strict";var n=e;n.version=r(668).version,n.utils=r(84),n.rand=r(268),n.curve=r(416),n.curves=r(272),n.ec=r(680),n.eddsa=r(684)},function(t,e,r){"use strict";var pre,n=e,o=r(273),l=r(416),c=r(84).assert;function h(t){"short"===t.type?this.curve=new l.short(t):"edwards"===t.type?this.curve=new l.edwards(t):this.curve=new l.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function d(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new h(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=h,d("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),d("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),d("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),d("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),d("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),d("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),d("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{pre=r(679)}catch(t){pre=void 0}d("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
vendor: 1,710 bytes, line 2
2,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",pre]})},function(t,e,r){var n=e;n.utils=r(91),n.common=r(169),n.sha=r(673),n.ripemd=r(677),n.hmac=r(678),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(t,e,r){"use strict";var n=r(91),o=r(169),l=r(417),c=r(83),h=n.sum32,d=n.sum32_4,f=n.sum32_5,m=l.ch32,v=l.maj32,y=l.s0_256,_=l.s1_256,w=l.g0_256,T=l.g1_256,S=o.BlockHash,M=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function x(){if(!(this instanceof x))return new x;S.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=M,this.W=new Array(64)}n.inherits(x,S),t.exports=x,x.blockSize=512,x.outSize=256,x.hmacStrength=192,x.padLength=64,x.prototype._update=function(t,e){for(var r=this.W,i=0;i<16;i++)r[i]=t[e+i];for(;i<r.length;
vendor: 5,668 bytes, line 2
2i++)r[i]=d(T(r[i-2]),r[i-7],w(r[i-15]),r[i-16]);var a=this.h[0],b=this.h[1],n=this.h[2],o=this.h[3],l=this.h[4],S=this.h[5],g=this.h[6],M=this.h[7];for(c(this.k.length===r.length),i=0;i<r.length;i++){var x=f(M,_(l),m(l,S,g),this.k[i],r[i]),k=h(y(a),v(a,b,n));M=g,g=S,S=l,l=h(o,x),o=n,n=b,b=a,a=h(x,k)}this.h[0]=h(this.h[0],a),this.h[1]=h(this.h[1],b),this.h[2]=h(this.h[2],n),this.h[3]=h(this.h[3],o),this.h[4]=h(this.h[4],l),this.h[5]=h(this.h[5],S),this.h[6]=h(this.h[6],g),this.h[7]=h(this.h[7],M)},x.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";(function(e){var n,o=r(62),l=o.Buffer,c={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(c[n]=o[n]);var h=c.Buffer={};for(n in l)l.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(h[n]=l[n]);if(c.Buffer.prototype=l.prototype,h.from&&h.from!==Uint8Array.from||(h.from=function(t,e,r){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return l(t,e,r)}),h.alloc||(h.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=l(t);return e&&0!==e.length?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!c.kStringMaxLength)try{c.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(t){}c.constants||(c.constants={MAX_LENGTH:c.kMaxLength},c.kStringMaxLength&&(c.constants.MAX_STRING_LENGTH=c.kStringMaxLength)),t.exports=c}).call(this,r(67))},function(t,e,r){"use strict";const n=r(277).Reporter,o=r(170).EncoderBuffer,l=r(170).DecoderBuffer,c=r(83),h=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(h);function f(t,e,r){const n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=f;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];f.prototype.clone=function(){const t=this._baseState,e={};m.forEach((function(r){e[r]=t[r]}));const r=new this.constructor(e.parent);return r._baseState=e,r},f.prototype._wrap=function(){const t=this._baseState;d.forEach((function(e){this[e]=function(){const r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},f.prototype._init=function(body){const t=this._baseState;c(null===t.parent),body.call(this),t.children=t.children.filter((function(t){return t._baseState.parent===this}),this),c.equal(t.children.length,1,"Root node can have only one child")},f.prototype._useArgs=function(t){const e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(c(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(c(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;const e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);const n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){f.prototype[t]=function(){const e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),h.forEach((function(t){f.prototype[t]=function(){const e=this._baseState,r=Array.prototype.slice.call(arguments);return c(null===e.tag),e.tag=t,this._useArgs(r),this}})),f.prototype.use=function(t){c(t);const e=this._baseState;return c(null===e.use),e.use=t,this},f.prototype.optional=function(){return this._baseState.optional=!0,this},f.prototype.def=function(t){const e=this._baseState;return c(null===e.default),e.default=t,e.optional=!0,this},f.prototype.explicit=function(t){const e=this._baseState;return c(null===e.explicit&&null===e.implicit),e.explicit=t,this},f.prototype.implicit=function(t){const e=this._baseState;return c(null===e.explicit&&null===e.implicit),e.implicit=t,this},f.prototype.obj=function(){const t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},f.prototype.key=function(t){const e=this._baseState;return c(null===e.key),e.key=t,this},f.prototype.any=function(){return this._baseState.any=!0,this},f.prototype.choice=function(t){const e=this._baseState;return c(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},f.prototype.contains=function(t){const e=this._baseState;return c(null===e.use),e.contains=t,this},f.prototype._decode=function(input,t){const e=this._baseState;if(null===e.parent)return input.wrapResult(e.children[0]._decode(input,t));let r,n=e.default,o=!0,c=null;
vendor: 8,181 bytes, line 2
2if(null!==e.key&&(c=input.enterKey(e.key)),e.optional){let r=null;if(null!==e.explicit?r=e.explicit:null!==e.implicit?r=e.implicit:null!==e.tag&&(r=e.tag),null!==r||e.any){if(o=this._peekTag(input,r,e.any),input.isError(o))return o}else{const r=input.save();try{null===e.choice?this._decodeGeneric(e.tag,input,t):this._decodeChoice(input,t),o=!0}catch(t){o=!1}input.restore(r)}}if(e.obj&&o&&(r=input.enterObject()),o){if(null!==e.explicit){const t=this._decodeTag(input,e.explicit);if(input.isError(t))return t;input=t}const r=input.offset;if(null===e.use&&null===e.choice){let t;e.any&&(t=input.save());const body=this._decodeTag(input,null!==e.implicit?e.implicit:e.tag,e.any);if(input.isError(body))return body;e.any?n=input.raw(t):input=body}if(t&&t.track&&null!==e.tag&&t.track(input.path(),r,input.length,"tagged"),t&&t.track&&null!==e.tag&&t.track(input.path(),input.offset,input.length,"content"),e.any||(n=null===e.choice?this._decodeGeneric(e.tag,input,t):this._decodeChoice(input,t)),input.isError(n))return n;if(e.any||null!==e.choice||null===e.children||e.children.forEach((function(e){e._decode(input,t)})),e.contains&&("octstr"===e.tag||"bitstr"===e.tag)){const data=new l(n);n=this._getUse(e.contains,input._reporterState.obj)._decode(data,t)}}return e.obj&&o&&(n=input.leaveObject(r)),null===e.key||null===n&&!0!==o?null!==c&&input.exitKey(c):input.leaveKey(c,e.key,n),n},f.prototype._decodeGeneric=function(t,input,e){const r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(input,t,r.args[0],e):/str$/.test(t)?this._decodeStr(input,t,e):"objid"===t&&r.args?this._decodeObjid(input,r.args[0],r.args[1],e):"objid"===t?this._decodeObjid(input,null,null,e):"gentime"===t||"utctime"===t?this._decodeTime(input,t,e):"null_"===t?this._decodeNull(input,e):"bool"===t?this._decodeBool(input,e):"objDesc"===t?this._decodeStr(input,t,e):"int"===t||"enum"===t?this._decodeInt(input,r.args&&r.args[0],e):null!==r.use?this._getUse(r.use,input._reporterState.obj)._decode(input,e):input.error("unknown tag: "+t)},f.prototype._getUse=function(t,e){const r=this._baseState;return r.useDecoder=this._use(t,e),c(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},f.prototype._decodeChoice=function(input,t){const e=this._baseState;let r=null,n=!1;return Object.keys(e.choice).some((function(o){const l=input.save(),c=e.choice[o];try{const e=c._decode(input,t);if(input.isError(e))return!1;r={type:o,value:e},n=!0}catch(t){return input.restore(l),!1}return!0}),this),n?r:input.error("Choice not matched")},f.prototype._createEncoderBuffer=function(data){return new o(data,this.reporter)},f.prototype._encode=function(data,t,e){const r=this._baseState;if(null!==r.default&&r.default===data)return;const n=this._encodeValue(data,t,e);return void 0===n||this._skipDefault(n,t,e)?void 0:n},f.prototype._encodeValue=function(data,t,e){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(data,t||new n);let o=null;if(this.reporter=t,r.optional&&void 0===data){if(null===r.default)return;data=r.default}let content=null,l=!1;if(r.any)o=this._createEncoderBuffer(data);else if(r.choice)o=this._encodeChoice(data,t);else if(r.contains)content=this._getUse(r.contains,e)._encode(data,t),l=!0;else if(r.children)content=r.children.map((function(e){if("null_"===e._baseState.tag)return e._encode(null,t,data);if(null===e._baseState.key)return t.error("Child should have a key");const r=t.enterKey(e._baseState.key);if("object"!=typeof data)return t.error("Child expected, but input is not object");const n=e._encode(data[e._baseState.key],t,data);return t.leaveKey(r),n}),this).filter((function(t){return t})),content=this._createEncoderBuffer(content);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(data))return t.error("seqof/setof, but data is not Array");const e=this.clone();e._baseState.implicit=null,content=this._createEncoderBuffer(data.map((function(e){const r=this._baseState;return this._getUse(r.args[0],data)._encode(e,t)}),e))}else null!==r.use?o=this._getUse(r.use,e)._encode(data,t):(content=this._encodePrimitive(r.tag,data),l=!0);if(!r.any&&null===r.choice){const e=null!==r.implicit?r.implicit:r.tag,n=null===r.implicit?"universal":"context";null===e?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(o=this._encodeComposite(e,l,n,content))}return null!==r.explicit&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o},f.prototype._encodeChoice=function(data,t){const e=this._baseState,r=e.choice[data.type];return r||c(!1,data.type+" not found in "+JSON.stringify(Object.keys(e.choice))),r._encode(data.value,t)},f.prototype._encodePrimitive=function(t,data){const e=this._baseState;if(/str$/.test(t))return this._encodeStr(data,t);if("objid"===t&&e.args)return this._encodeObjid(data,e.reverseArgs[0],e.args[1]);if("objid"===t)return this._encodeObjid(data,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(data,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(data,e.args&&e.reverseArgs[0]);if("bool"===t)return this._encodeBool(data);if("objDesc"===t)return this._encodeStr(data,t);throw new Error("Unsupported tag: "+t)},f.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},f.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,r){"use strict";const n=r(19);function o(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function l(path,t){this.path=path,this.rethrow(t)}e.Reporter=o,o.prototype.isError=function(t){return t instanceof l},o.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},o.prototype.restore=function(data){const t=this._reporterState;t.obj=data.obj,t.path=t.path.slice(0,data.pathLen)},o.prototype.enterKey=function(t){return this._reporterState.path.push(t)},o.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},o.prototype.leaveKey=function(t,e,r){const n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},o.prototype.leaveObject=function(t){const e=this._reporterState,r=e.obj;return e.obj=t,r},o.prototype.error=function(t){let e;const r=this._reporterState,n=t instanceof l;if(e=n?t:new l(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},o.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(l,Error),l.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,l),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},function(t,e,r){"use strict";function n(map){const t={};return Object.keys(map).forEach((function(e){(0|e)==e&&(e|=0);const r=map[e];t[r]=e})),t}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n(e.tag)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base
vendor: 4,199 bytes, line 2
2=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(703).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;o*=n,o+=c>=49?c-49+10:c>=17?c-17+10:c}return o}l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this.strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this.strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 9,561 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r.strip()}l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);e=0!==(o=l>>>24-r&16777215)||i!==this.length-1?m[6-c.length]+c+e:c+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=v[base],d=y[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var _=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?_+e:m[h-_.length]+_+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},l.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,h=new t(l),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<l;i++)h[i]=0}else{for(i=0;i<l-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[l-i-1]=b}return h},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,760 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function T(t,e,r){return(new S).mulp(t,e,r)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=_),l.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?_(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r.strip()}(this,t,e):T(this,t,e),r},S.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},S.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},S.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},S.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},S.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},S.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},S.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},S.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},S.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),T(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},l.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new A(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 4,688 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,x),o(O,x),o(C,x),C.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return M[t]=e,e},A.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},A.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},A.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},A.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},A.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},A.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},A.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},A.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},A.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},A.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},A.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},A.prototype.isqr=function(a){return this.imul(a,a.clone())},A.prototype.sqr=function(a){return this.mul(a,a)},A.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},A.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new I(t)},o(I,A),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},function(t,e,r){"use strict";
2t.exports=function(t){var e=t.uri,r=t.name,n=t.type;this.uri=e,this.name=r,this.type=n}},function(t,e,r){"use strict";var n=r(280);t.exports=function(t){return"undefined"!=typeof File&&t instanceof File||"undefined"!=typeof Blob&&t instanceof Blob||t instanceof n}},,,,function(t,e,r){"use strict";r.r(e),function(t,n){var o,l=r(458);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var c=Object(l.a)(o);e.default=c}.call(this,r(40),r(714)(t))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){throw new Error("Static Class")}return t.GQL_CONNECTION_INIT="connection_init",t.GQL_CONNECTION_ACK="connection_ack",t.GQL_CONNECTION_ERROR="connection_error",t.GQL_CONNECTION_KEEP_ALIVE="ka",t.GQL_CONNECTION_TERMINATE="connection_terminate",t.GQL_START="start",t.GQL_DATA="data",t.GQL_ERROR="error",t.GQL_COMPLETE="complete",t.GQL_STOP="stop",t.SUBSCRIPTION_START="subscription_start",t.SUBSCRIPTION_DATA="subscription_data",t.SUBSCRIPTION_SUCCESS="subscription_success",t.SUBSCRIPTION_FAIL="subscription_fail",t.SUBSCRIPTION_END="subscription_end",t.INIT="init",t.INIT_SUCCESS="init_success",t.INIT_FAIL="init_fail",t.KEEP_ALIVE="keepalive",t}();e.default=n},function(t,e,r){"use strict";var n={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var r=e.parent,n=e.slots,o=e.props,l=n(),c=l.default;void 0===c&&(c=[]);var h=l.placeholder;return r._isMounted?c:(r.$once("hook:mounted",(function(){r.$forceUpdate()})),o.placeholderTag&&(o.placeholder||h)?t(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||h):c.length>0?c.map((function(){return t(!1)})):t(!1))}};t.exports=n},,function(t,e,r){"use strict";var n=r(0),o=r(77),l=r(599);d.httpHandler=r(600);var c=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),o=t.slice(r+1).trim();void 0===e[n]?e[n]=o:Array.isArray(e[n])?e[n].push(o):e[n]=[e[n],o]})),e):e};function h(t,e,r){var n=t;return l(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=o({},e,{uri:t}),n.callback=r,n}function d(t,e,r){return f(e=h(t,e,r))}function f(t){if(void 0===t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,body){e||(e=!0,t.callback(r,n,body))};function n(){var body=void 0;if(body=m.response?m.response:m.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(m),S)try{body=JSON.parse(body)}catch(t){}return body}function o(t){return clearTimeout(v),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,M)}function l(){if(!f){var e;clearTimeout(v),e=t.useXDR&&void 0===m.status?200:1223===m.status?204:m.status;var o=M,l=null;return 0!==e?(o={body:n(),statusCode:e,method:_,headers:{},url:y,rawRequest:m},m.getAllResponseHeaders&&(o.headers=c(m.getAllResponseHeaders()))):l=new Error("Internal XMLHttpRequest Error"),r(l,o,o.body)}}var h,f,m=t.xhr||null;m||(m=t.cors||t.useXDR?new d.XDomainRequest:new d.XMLHttpRequest);var v,y=m.url=t.uri||t.url,_=m.method=t.method||"GET",body=t.body||t.data,w=m.headers=t.headers||{},T=!!t.sync,S=!1,M={body:void 0,headers:{},statusCode:0,method:_,url:y,rawRequest:m};if("json"in t&&!1!==t.json&&(S=!0,w.accept||w.Accept||(w.Accept="application/json"),"GET"!==_&&"HEAD"!==_&&(w["content-type"]||w["Content-Type"]||(w["Content-Type"]="application/json"),body=JSON.stringify(!0===t.json?body:t.json))),m.onreadystatechange=function(){4===m.readyState&&setTimeout(l,0)},m.onload=l,m.onerror=o,m.onprogress=function(){},m.onabort=function(){f=!0},m.ontimeout=o,m.open(_,y,!T,t.username,t.password),T||(m.withCredentials=!!t.withCredentials),!T&&t.timeout>0&&(v=setTimeout((function(){if(!f){f=!0,m.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",o(t)}}),t.timeout)),m.setRequestHeader)for(h in w)w.hasOwnProperty(h)&&m.setRequestHeader(h,w[h]);else if(t.headers&&!function(t){for(var i in t)if(t.hasOwnProperty(i))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(m.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(m),m.send(body||null),m}t.exports=d,t.exports.default=d,d.XMLHttpRequest=n.XMLHttpRequest||function(){},d.XDomainRequest="withCredentials"in new d.XMLHttpRequest?d.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var i=0;i<t.length;i++)e(t[i])}(["get","put","post","patch","head","delete"],(function(t){d["delete"===t?"del":t]=function(e,r,n){return(r=h(e,r,n)).method=t.toUpperCase(),f(r)}}
vendor: 1,032 bytes, line 2
2))},function(t,e,r){var n=r(0),o=t.exports={WebVTT:r(601),VTTCue:r(602),VTTRegion:r(603)};n.vttjs=o,n.WebVTT=o.WebVTT;var l=o.VTTCue,c=o.VTTRegion,h=n.VTTCue,d=n.VTTRegion;o.shim=function(){n.VTTCue=l,n.VTTRegion=c},o.restore=function(){n.VTTCue=h,n.VTTRegion=d},n.VTTCue||o.shim()},function(t,e,r){var n,o,l,c,h;n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,o=/^(?=([^\/?#]*))\1([^]*)$/,l=/(?:\/|^)\.(?=\/)/g,c=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,h={buildAbsoluteURL:function(t,e,r){if(r=r||{},t=t.trim(),!(e=e.trim())){if(!r.alwaysNormalize)return t;var n=h.parseURL(t);if(!n)throw new Error("Error trying to parse base URL.");return n.path=h.normalizePath(n.path),h.buildURLFromParts(n)}var l=h.parseURL(e);if(!l)throw new Error("Error trying to parse relative URL.");if(l.scheme)return r.alwaysNormalize?(l.path=h.normalizePath(l.path),h.buildURLFromParts(l)):e;var c=h.parseURL(t);if(!c)throw new Error("Error trying to parse base URL.");
2if(!c.netLoc&&c.path&&"/"!==c.path[0]){var d=o.exec(c.path);c.netLoc=d[1],c.path=d[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=h.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=r.alwaysNormalize?h.normalizePath(l.path):l.path),h.buildURLFromParts(f)},parseURL:function(t){var e=n.exec(t);return e?{scheme:e[1]||"",netLoc:e[2]||"",path:e[3]||"",params:e[4]||"",query:e[5]||"",fragment:e[6]||""}:null},normalizePath:function(path){for(path=path.split("").reverse().join("").replace(l,"");path.length!==(path=path.replace(c,"")).length;);return path.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}},t.exports=h},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,o=/^application\/dash\+xml/i,l=function(t){return n.test(t)?"hls":o.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},function(t,e,r){"use strict";(function(t){var n=r(35);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){d(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function _(t,p){return _=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t},_(t,p)}function w(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?w(t):e}(this,r)}}function S(t,e,r){return S="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var base=function(object,t){for(;!Object.prototype.hasOwnProperty.call(object,t)&&null!==(object=y(object)););return object}(t,e);if(base){var desc=Object.getOwnPropertyDescriptor(base,e);return desc.get?desc.get.call(r):desc.value}},S(t,e,r||t)}function M(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],r=!0,n=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(r=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);r=!0);}catch(t){n=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(n)throw o}}return e}(t,i)||k(t,i)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t){return function(t){if(Array.isArray(t))return E(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||k(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){if(t){if("string"==typeof t)return E(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(t,e):void 0}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;function O(t,e){return t(e={exports:{}},e.exports),e.exports}var C,A=O((function(t,e){!function(t){function e(t,e,r,n){var o,l=!1,c=0;function h(){o&&clearTimeout(o)}function d(){h(),l=!0}function f(){for(var d=arguments.length,f=new Array(d),m=0;m<d;m++)f[m]=arguments[m];var v=this,y=Date.now()-c;function _(){c=Date.now(),r.apply(v,f)}function w(){o=void 0}l||(n&&!o&&_(),h(),void 0===n&&y>t?_():!0!==e&&(o=setTimeout(n?w:_,void 0===n?t-y:t)))}return"boolean"!=typeof e&&(n=r,r=e,e=void 0),f.cancel=d,f}function r(t,r,n){return void 0===n?e(t,r,!1):e(t,n,!1!==r)}t.debounce=r,t.throttle=e,Object.defineProperty(t,"__esModule",{value:!0})}(e)}));(C=A)&&C.__esModule&&Object.prototype.hasOwnProperty.call(C,"default")&&C.default;var I=O((function(t,e){var r=e.Globals={};function n(t){return function(e,time){return t(time,e)}}e.throttle=n(A.throttle),e.debounce=n(A.debounce),e.getMergedDefinition=function(t){return r.Vue.util.mergeOptions({},t)},e.reapply=function(t,e){for(;"function"==typeof t;)t=t.call(e);return t},e.omit=function(t,e){return Object.entries(t).filter((function(t){var r=M(t,1)[0];return!e.includes(r)})).reduce((function(t,e){var r=M(e,2),n=r[0],o=r[1];return t[n]=o,t}),{})},e.addGqlError=function(t){t.graphQLErrors&&t.graphQLErrors.length&&(t.gqlError=t.graphQLErrors[0])},e.noop=function(){}})),P=I.Globals,R=I.throttle,D=I.debounce,L=(I.getMergedDefinition,I.reapply),N=I.omit,j=I.addGqlError,B=(I.noop,{query:"_skipAllQueries",subscription:"_skipAllSubscriptions"}),F=function(){function t(e,r,n){l(this,t),d(this,"type",null),d(this,"vueApolloSpecialKeys",[]),this.vm=e,this.key=r,this.initialOptions=n,this.options=Object.assign({},n),this._skip=!1,this._pollInterval=null,this._watchers=[],this._destroyed=!1,this.lastApolloOptions=null}return h(t,[{key:"autostart",value:function(){var t=this;"function"==typeof this.options.skip?this._skipWatcher=this.vm.$watch((function(){return t.options.skip.call(t.vm,t.vm,t.key)}),this.skipChanged.bind(this),{immediate:!0,deep:this.options.deep}):this.options.skip||this.allSkip?this._skip=!0:this.start(),"function"==typeof this.options.pollInterval&&(this._pollWatcher=this.vm.$watch(this.options.pollInterval.bind(this.vm),this.pollIntervalChanged.bind(this),{immediate:!0}))}},{key:"pollIntervalChanged",value:function(t,e){t!==e&&(this.pollInterval=t,null==t?this.stopPolling():this.startPolling(t))}},{key:"skipChanged",value:function(t,e){t!==e&&(this.skip=t)}},{key:"pollInterval",get:function(){return this._pollInterval},set:function(t){this._pollInterval=t}},{key:"skip",get:function(){return this._skip},set:function(t){t||this.allSkip?this.stop():this.start(),this._skip=t}},{key:"allSkip",get:function(){return this.vm.$apollo[B[this.type]]}},{key:"refresh",value:function(){this._skip||(this.stop(),this.start())}},{key:"start",value:function(){var t=this;this.starting=!0;for(var e=function(e,r){var n=r[e];if("function"==typeof t.initialOptions[n]){var o=t.initialOptions[n].bind(t.vm);t.options[n]=o();var l=function(e){t.options[n]=e,t.refresh()};t.vm.$isServer||(l=t.options.throttle?R(l,t.options.throttle):l,l=t.options.debounce?D(l,t.options.debounce):l),t._watchers.push(t.vm.$watch(o,l,{deep:t.options.deep}))}},r=0,n=["query","document","context"];r<n.length;r++)e(r,n);if("function"==typeof this.options.variables){var o=this.executeApollo.bind(this);this.vm.$isServer||(o=this.options.throttle?R(o,this.options.throttle):o,o=this.options.debounce?D(o,this.options.debounce):o),this._watchers.push(this.vm.$watch((function(){return"function"==typeof t.options.variables?t.options.variables.call(t.vm):t.options.variables}),o,{immediate:!0,deep:this.options.deep}))}else this.executeApollo(this.options.variables)}},{key:"stop",value:function(){for(var t=0,e=this._watchers;t<e.length;t++){(0,e[t])()}this.sub&&(this.sub.unsubscribe(),this.sub=null)}},{key:"generateApolloOptions",value:function(t){var e=N(this.options,this.vueApolloSpecialKeys);return e.variables=t,this.lastApolloOptions=e,e}},{key:"executeApollo",value:function(t){this.starting=!1}},{key:"nextResult",value:function(t){var e=t.error;e&&j(e)}},{key:"callHandlers",value:function(t){for(var e=!1,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(var l=0;l<t.length;l++){var c=t[l];if(c){e=!0;var h=c.apply(this.vm,n);if(void 0!==h&&!h)break}}return e}},{key:"errorHandler",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.callHandlers.apply(this,[[this.options.error,this.vm.$apollo.error,this.vm.$apollo.provider.errorHandler]].concat(e))}},{key:"catchError",value:function(t){if(j(t),!this.errorHandler(t,this.vm,this.key,this.type,this.lastApolloOptions))if(t.graphQLErrors&&0!==t.graphQLErrors.length){console.error("GraphQL execution errors for ".concat(this.t
vendor: 16,384 bytes, line 2
2ype," '").concat(this.key,"'"));for(var e=0,r=t.graphQLErrors;e<r.length;e++){var n=r[e];console.error(n)}}else if(t.networkError)console.error("Error sending the ".concat(this.type," '").concat(this.key,"'"),t.networkError);else{var o;if(console.error("[vue-apollo] An error has occurred for ".concat(this.type," '").concat(this.key,"'")),Array.isArray(t))(o=console).error.apply(o,x(t));else console.error(t)}}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.stop(),this._skipWatcher&&this._skipWatcher())}}]),t}(),U=["variables","watch","update","result","error","loadingKey","watchLoading","skip","throttle","debounce","subscribeToMore","prefetch","manual"],z=function(t){v(r,t);var e=T(r);function r(t,n,o){var c,h=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return l(this,r),t.$data.$apolloData&&!t.$data.$apolloData.queries[n]&&t.$set(t.$data.$apolloData.queries,n,{loading:!1}),d(w(c=e.call(this,t,n,o)),"type","query"),d(w(c),"vueApolloSpecialKeys",U),d(w(c),"_loading",!1),d(w(c),"_linkedSubscriptions",[]),t.$isServer&&(c.firstRun=new Promise((function(t,e){c._firstRunResolve=t,c._firstRunReject=e}))),c.vm.$isServer&&(c.options.fetchPolicy="network-only"),o.manual||(c.hasDataField=Object.prototype.hasOwnProperty.call(c.vm.$data,n),c.hasDataField?Object.defineProperty(c.vm.$data.$apolloData.data,n,{get:function(){return c.vm.$data[n]},enumerable:!0,configurable:!0}):Object.defineProperty(c.vm.$data,n,{get:function(){return c.vm.$data.$apolloData.data[n]},enumerable:!0,configurable:!0})),h&&c.autostart(),c}return h(r,[{key:"client",get:function(){return this.vm.$apollo.getClient(this.options)}},{key:"loading",get:function(){return this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]?this.vm.$data.$apolloData.queries[this.key].loading:this._loading},set:function(t){this._loading!==t&&(this._loading=t,this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]&&(this.vm.$data.$apolloData.queries[this.key].loading=t,this.vm.$data.$apolloData.loading+=t?1:-1))}},{key:"stop",value:function(){S(y(r.prototype),"stop",this).call(this),this.loadingDone(),this.observer&&(this.observer.stopPolling(),this.observer=null)}},{key:"generateApolloOptions",value:function(t){var e=S(y(r.prototype),"generateApolloOptions",this).call(this,t);return this.vm.$isServer&&delete e.pollInterval,e}},{key:"executeApollo",value:function(t){var e=JSON.stringify(t);if(this.sub){if(e===this.previousVariablesJson)return;this.sub.unsubscribe();for(var n=0,o=this._linkedSubscriptions;n<o.length;n++){o[n].stop()}}if(this.previousVariablesJson=e,this.observer=this.vm.$apollo.watchQuery(this.generateApolloOptions(t)),this.startQuerySubscription(),"no-cache"!==this.options.fetchPolicy||this.options.notifyOnNetworkStatusChange){var l=this.retrieveCurrentResult();(this.options.notifyOnNetworkStatusChange||this.observer.getCurrentResult&&!l.loading)&&this.nextResult(l)}S(y(r.prototype),"executeApollo",this).call(this,t);for(var c=0,h=this._linkedSubscriptions;c<h.length;c++){h[c].start()}}},{key:"startQuerySubscription",value:function(){this.sub&&!this.sub.closed||(this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)}))}},{key:"retrieveCurrentResult",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult();return(t||e.loading)&&(this.loading||this.applyLoadingModifier(1),this.loading=!0),e}},{key:"nextResult",value:function(t){S(y(r.prototype),"nextResult",this).call(this,t);var data=t.data,e=t.loading,n=t.error,o=t.errors,l=o&&o.length;if((n||l)&&this.firstRunReject(n),e||this.loadingDone(),l){var c=new Error("GraphQL error: ".concat(o.map((function(t){return t.message})).join(" | ")));Object.assign(c,{graphQLErrors:o,networkError:null}),S(y(r.prototype),"catchError",this).call(this,c)}if("none"!==this.observer.options.errorPolicy||!n&&!l){var h="function"==typeof this.options.result;null==data||(this.options.manual?h||console.error("".concat(this.key," query must have a 'result' hook in manual mode")):"function"==typeof this.options.update?this.setData(this.options.update.call(this.vm,data)):void 0===data[this.key]&&Object.keys(data).length?console.error("Missing ".concat(this.key," attribute on result"),data):this.setData(data[this.key])),h&&this.options.result.call(this.vm,t,this.key)}}},{key:"setData",value:function(t){this.vm.$set(this.hasDataField?this.vm.$data:this.vm.$data.$apolloData.data,this.key,t)}},{key:"catchError",value:function(t){S(y(r.prototype),"catchError",this).call(this,t),this.firstRunReject(t),this.loadingDone(t),this.nextResult(this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult()),this.resubscribeToQuery()}},{key:"resubscribeToQuery",value:function(){var t=this.observer.getLastError(),e=this.observer.getLastResult();this.observer.resetLastResults(),this.startQuerySubscription(),Object.assign(this.observer,{lastError:t,lastResult:e})}},{key:"loadingKey",get:function(){return this.options.loadingKey||this.vm.$apollo.loadingKey}},{key:"watchLoading",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.callHandlers.apply(this,[[this.options.watchLoading,this.vm.$apollo.watchLoading,this.vm.$apollo.provider.watchLoading]].concat(e,[this]))}},{key:"applyLoadingModifier",value:function(t){var e=this.loadingKey;e&&"number"==typeof this.vm[e]&&(this.vm[e]+=t),this.watchLoading(1===t,t)}},{key:"loadingDone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.loading&&this.applyLoadingModifier(-1),this.loading=!1,t||this.firstRunResolve()}},{key:"fetchMore",value:function(){var t,e=this;if(this.observer)return this.retrieveCurrentResult(!0),(t=this.observer).fetchMore.apply(t,arguments).then((function(t){return t.loading||e.loadingDone(),t}))}},{key:"subscribeToMore",value:function(){var t;if(this.observer)return{unsubscribe:(t=this.observer).subscribeToMore.apply(t,arguments)}}},{key:"refetch",value:function(t){var e=this;if(t&&(this.options.variables=t),this.observer){var r=this.observer.refetch(t).then((function(t){return t.loading||e.loadingDone(),t}));return this.retrieveCurrentResult(),r}}},{key:"setVariables",value:function(t,e){if(this.options.variables=t,this.observer){var r=this.observer.setVariables(t,e);return this.retrieveCurrentResult(),r}}},{key:"setOptions",value:function(t){if(Object.assign(this.options,t),this.observer){var e=this.observer.setOptions(t);return this.retrieveCurrentResult(),e}}},{key:"startPolling",value:function(){var t;if(this.observer)return(t=this.observer).startPolling.apply(t,arguments)}},{key:"stopPolling",value:function(){var t;if(this.observer)return(t=this.observer).stopPolling.apply(t,arguments)}},{key:"firstRunResolve",value:function(){this._firstRunResolve&&(this._firstRunResolve(),this._firstRunResolve=null)}},{key:"firstRunReject",value:function(t){this._firstRunReject&&(this._firstRunReject(t),this._firstRunReject=null)}},{key:"destroy",value:function(){S(y(r.prototype),"destroy",this).call(this),this.loading&&this.watchLoading(!1,-1),this.loading=!1}}]),r}(F),V=function(t){v(r,t);var e=T(r);function r(t,n,o){var c,h=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return l(this,r),d(w(c=e.call(this,t,n,o)),"type","subscription"),d(w(c),"vueApolloSpecialKeys",["variables","result","error","throttle","debounce","linkedQuery"]),h&&c.autostart(),c}return h(r,[{key:"generateApolloOptions",value:function(t){var e=S(y(r.prototype),"generateApolloOptions",this).call(this,t);return e.onError=this.catchError.bind(this),e}},{key:"executeApollo",value:function(t){var e=JSON.stringify(t);if(this.sub){if(e===this.previousVariablesJson)return;this.sub.unsubscribe()}this.previousVariablesJson=e;var n=this.generateApolloOptions(t);if("function"==typeof n.updateQuery&&(n.updateQuery=n.updateQuery.bind(this.vm)),this.options.linkedQuery){if("function"==typeof this.options.result){var o=this.options.result.bind(this.vm),l=n.updateQuery&&n.updateQuery.bind(this.vm);n.updateQuery=function(){return o.apply(void 0,arguments),l&&l.apply(void 0,arguments)}}this.sub=this.options.linkedQuery.subscribeToMore(n)}else this.observer=this.vm.$apollo.subscribe(n),this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)});S(y(r.prototype),"executeApollo",this).call(this,t)}},{key:"nextResult",value:function(data){S(y(r.prototype),"nextResult",this).call(this,data),"function"==typeof this.options.result&&this.options.result.call(this.vm,data,this.key)}},{key:"catchError",value:function(t){S(y(r.prototype),"catchError",this).call(this,t),this.skip||(this.stop(),this.start())}}]),r}(F),$=function(){function t(e){l(this,t),this._apolloSubscriptions=[],this._watchers=[],this.vm=e,this.queries={},this.subscriptions={},this.client=void 0,this.loadingKey=void 0,this.error=void 0}return h(t,[{key:"provider",get:function(){return this.vm.$apolloProvider}},{key:"getClient",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t||!t.client){if("object"===o(this.client))return this.client;if(this.client){if(this.provider.clients){var e=this.provider.clients[this.client];if(!e)throw new Error("[vue-apollo] Missing client '".concat(this.client,"' in 'apolloProvider'"));return e}throw new Error("[vue-apollo] Missing 'clients' options in 'apolloProvider'")}return this.provider.defaultClient}var r=this.provider.clients[t.client];if(!r)throw new Error("[vue-apollo] Missing client '".concat(t.client,"' in 'apolloProvider'"));return r}},{key:"query",value:function(t){return this.getClient(t).query(t)}},{key:"watchQuery",value:function(t){var e=this,r=this.getClient(t).watchQuery(t),n=r.subscribe.bind(r);return r.subscribe=function(t){var sub=n(t);return e._apolloSubscriptions.push(sub),sub},r}},{key:"mutate",value:function(t){return this.getClient(t).mutate(t)}},{key:"subscribe",value:function(t){var e=this;if(!this.vm.$isServer){var r=this.getClient(t).subscribe(t),n=r.subscribe.bind(r);return r.subscribe=function(t){var sub=n(t);return e._apolloSubscriptions.push(sub),sub},r}}},{key:"loading",get:function(){return 0!==this.vm.$data.$apolloData.loading}},{key:"data",get:function(){return this.vm.$data.$apolloData.data}},{key:"addSmartQuery",value:function(t,e){var r=this,n=L(e,this.vm);n.query||(n={query:n});var o,l=this.vm.$options.apollo,c=this.provider.defaultOptions;if(c&&c.$query&&(o=c.$query),l&&l.$query&&(o=m(m({},o||{}),l.$query)),o)for(var h in o)void 0===n[h]&&(n[h]=o[h]);var d=this.queries[t]=new z(this.vm,t,n,!1);if(this.vm.$isServer&&!1===n.prefetch||d.autostart(),!this.vm.$isServer){var f=n.subscribeToMore;f&&(Array.isArray(f)?f.forEach((function(sub,e){r.addSmartSubscription("".concat(t).concat(e),m(m({},sub),{},{linkedQuery:d}))})):this.addSmartSubscription(t,m(m({},f),{},{linkedQuery:d})))}return d}},{key:"addSmartSubscription",value:function(t,e){if(!this.vm.$isServer){e=L(e,this.vm);var r=this.subscriptions[t]=new V(this.vm,t,e,!1);return r.autostart(),e.linkedQuery&&e.linkedQuery._linkedSubscriptions.push(r),r}}},{key:"defineReactiveSetter",value:function(t,e,r){var n=this;this._watchers.push(this.vm.$watch(e,(function(e){n[t]=e}),{immediate:!0,deep:r}))}},{key:"skipAllQueries",set:function(t){for(var e in this._skipAllQueries=t,this.queries)this.queries[e].skip=t}},{key:"skipAllSubscriptions",set:function(t){for(var e in this._skipAllSubscriptions=t,this.subscriptions)this.subscriptions[e].skip=t}},{key:"skipAll",set:function(t){this.skipAllQueries=t,this.skipAllSubscriptions=t}},{key:"destroy",value:function(){for(var t=0,e=this._watchers;t<e.length;t++){(0,e[t])()}for(var r in this.queries)this.queries[r].destroy();for(var n in this.subscriptions)this.subscriptions[n].destroy();this._apolloSubscriptions.forEach((function(sub){sub.unsubscribe()}))}}]),t}(),H=function(){function t(e){if(l(this,t),!e)throw new Error("Options argument required");this.clients=e.clients||{},e.defaultClient&&(this.clients.defaultClient=this.defaultClient=e.defaultClient),this.defaultOptions=e.defaultOptions,this.watchLoading=e.watchLoading,this.errorHandler=e.errorHandler,this.prefetch=e.prefetch}return h(t,[{key:"provide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"$apolloProvider";return console.warn("<ApolloProvider>.provide() is deprecated. Use the 'apolloProvider' option instead with the provider object directly."),d({},t,this)}}]),t}();var W={name:"ApolloQuery",provide:function(){return{getDollarApollo:this.getDollarApollo,getApolloQuery:this.getApolloQuery}},props:{query:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},fetchPolicy:{type:String,default:void 0},pollInterval:{type:Number,default:void 0},notifyOnNetworkStatusChange:{type:Boolean,default:void 0},context:{type:Object,default:void 0},update:{type:Function,default:function(data){return data}},skip:{type:Boolean,default:!1},debounce:{type:Number,default:0},throttle:{type:Number,default:0},clientId:{type:String,default:void 0},deep:{type:Boolean,default:void 0},tag:{type:String,default:"div"},prefetch:{type:Boolean,default:!0},options:{type:Object,default:function(){return{}}}},data:function(){return{result:{data:null,loading:!1,networkStatus:7,error:null},times:0}},watch:{fetchPolicy:function(t){this.$apollo.queries.query.setOptions({fetchPolicy:t})},pollInterval:function(t){this.$apollo.queries.query.setOptions({pollInterval:t})},notifyOnNetworkStatusChange:function(t){this.$apollo.queries.query.setOptions({notifyOnNetworkStatusChange:t})},"$data.$apolloData.loading":function(t){this.$emit("loading",!!t)}},apollo:{$client:function(){return this.clientId},query:function(){return m(m({query:function(){return"function"==typeof this.query?this.query(n.a):this.query},variables:function(){return this.variables},fetchPolicy:this.fetchPolicy,pollInterval:this.pollInterval,debounce:this.debounce,throttle:this.throttle,notifyOnNetworkStatusChange:this.notifyOnNetworkStatusChange,context:function(){return this.context},skip:function(){return this.skip},deep:this.deep,prefetch:this.prefetch},this.options),{},{manual:!0,result:function(t){var e=t,r=e.errors,n=e.loading,o=e.networkStatus,l=t.error;t=Object.assign({},t),r&&r.length&&((l=new Error("Apollo errors occurred (".concat(r.length,")"))).graphQLErrors=r);var data={};n?Object.assign(data,this.$_previousData,t.data):l?Object.assign(data,this.$apollo.queries.query.observer.getLastResult()||{},t.data):(data=t.data,this.$_previousData=t.data);var c=function(data){return data&&Object.keys(data).length>0}(data);this.result={data:c?this.update(data):void 0,fullData:c?data:void 0,loading:n,error:l,networkStatus:o},this.times=++this.$_times,this.$emit("result",this.result)},error:function(t){this.result.loading=!1,this.result.error=t,this.$emit("error",t)}})}},created:function(){this.$_times=0},methods:{getDollarApollo:function(){return this.$apollo},getApolloQuery:function(){return this.$apollo.queries.query}},render:function(t){var e=this.$scopedSlots.default({result:this.result,times:this.times,query:this.$apollo.queries.query,isLoading:this.$apolloData.loading,gqlError:this.result&&this.result.error&&this.result.error.gqlError});return e=Array.isArray(e)?e.concat(this.$slots.default):[e].concat(this.$slots.default),this.tag?t(this.tag,e):e[0]}},G=0,Q={name:"ApolloSubscribeToMore",inject:["getDollarApollo","getApolloQuery"],props:{document:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},updateQuery:{type:Function,default:void 0}},watch:{document:"refresh",variables:"refresh"},created:function(){this.$_key="sub_component_".concat(G++)},mounted:function(){this.refresh()},beforeDestroy:function(){this.destroy()},methods:{destroy:function(){this.$_sub&&this.$_sub.destroy()},refresh:function(){this.destroy();var t=this.document;"function"==typeof t&&(t=t(n.a)),this.$_sub=this.getDollarApollo().addSmartSubscription(this.$_key,{document:t,variables:this.variables,updateQuery:this.updateQuery,linkedQuery:this.getApolloQuery()})}},render:function(t){return null}},K={props:{mutation:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},optimisticResponse:{type:Object,de
2fault:void 0},update:{type:Function,default:void 0},refetchQueries:{type:Function,default:void 0},clientId:{type:String,default:void 0},tag:{type:String,default:"div"},context:{type:Object,default:void 0}},data:function(){return{loading:!1,error:null}},watch:{loading:function(t){this.$emit("loading",t)}},methods:{mutate:function(t){var e=this;this.loading=!0,this.error=null;var r=this.mutation;return"function"==typeof r&&(r=r(n.a)),this.$apollo.mutate(m({mutation:r,client:this.clientId,variables:this.variables,optimisticResponse:this.optimisticResponse,update:this.update,refetchQueries:this.refetchQueries,context:this.context},t)).then((function(t){e.$emit("done",t),e.loading=!1})).catch((function(t){j(t),e.error=t,e.$emit("error",t),e.loading=!1}))}},render:function(t){var e=this.$scopedSlots.default({mutate:this.mutate,loading:this.loading,error:this.error,gqlError:this.error&&this.error.gqlError});return e=Array.isArray(e)?e.concat(this.$slots.default):[e].concat(this.$slots.default),this.tag?t(this.tag,e):e[0]}};function X(t,e){return void 0!==t&&Object.prototype.hasOwnProperty.call(t,e)}function Y(){var t=this.$options,e=t.apolloProvider;if(e)this.$apolloProvider="function"==typeof e?e():e;else if(t.parent&&t.parent.$apolloProvider)this.$apolloProvider=t.parent.$apolloProvider;else if(t.provide){var r="function"==typeof t.provide?t.provide.call(this):t.provide;r&&r.$apolloProvider&&(this.$apolloProvider=r.$apolloProvider)}}function Z(){var t=this;this.$_apolloInitData={};var e=this.$options.apollo;if(e){var r=function(r){"$"!==r.charAt(0)&&(e[r].manual||X(t.$options.props,r)||X(t.$options.computed,r)||X(t.$options.methods,r)||Object.defineProperty(t,r,{get:function(){return t.$data.$apolloData.data[r]},set:function(e){return t.$_apolloInitData[r]=e},enumerable:!0,configurable:!0}))};for(var n in e)r(n)}}function J(){var t=this,e=this.$apolloProvider;if(!this._apolloLaunched&&e){this._apolloLaunched=!0;var r=this.$options.apollo;if(r){for(var n in this.$_apolloPromises=[],r.$init||(r.$init=!0,e.defaultOptions&&(r=this.$options.apollo=Object.assign({},e.defaultOptions,r))),tt(this.$apollo,"skipAll",r.$skipAll,r.$deep),tt(this.$apollo,"skipAllQueries",r.$skipAllQueries,r.$deep),tt(this.$apollo,"skipAllSubscriptions",r.$skipAllSubscriptions,r.$deep),tt(this.$apollo,"client",r.$client,r.$deep),tt(this.$apollo,"loadingKey",r.$loadingKey,r.$deep),tt(this.$apollo,"error",r.$error,r.$deep),tt(this.$apollo,"watchLoading",r.$watchLoading,r.$deep),Object.defineProperty(this,"$apolloData",{get:function(){return t.$data.$apolloData},enumerable:!0,configurable:!0}),r)if("$"!==n.charAt(0)){var o=r[n],l=this.$apollo.addSmartQuery(n,o);this.$isServer&&(o=L(o,this),!1===e.prefetch||!1===o.prefetch||!1===r.$prefetch||l.skip||this.$_apolloPromises.push(l.firstRun))}if(r.subscribe&&P.Vue.util.warn("vue-apollo -> `subscribe` option is deprecated. Use the `$subscribe` option instead."),r.$subscribe)for(var c in r.$subscribe)this.$apollo.addSmartSubscription(c,r.$subscribe[c])}}}function tt(t,e,r,n){void 0!==r&&("function"==typeof r?t.defineReactiveSetter(e,r,n):t[e]=r)}function et(){this.$_apollo&&this.$_apollo.destroy()}function it(t,e){t.mixin(m(m(m({},"1"===e?{init:Y}:{}),"2"===e?{data:function(){return{$apolloData:{queries:{},loading:0,data:this.$_apolloInitData}}},beforeCreate:function(){Y.call(this),Z.call(this)},serverPrefetch:function(){var t=this;if(this.$_apolloPromises)return Promise.all(this.$_apolloPromises).then((function(){et.call(t)})).catch((function(e){return et.call(t),Promise.reject(e)}))}}:{}),{},{created:J,destroyed:et}))}var nt=["$subscribe"];H.install=function t(e,r){if(!t.installed){t.installed=!0,P.Vue=e;var n=e.version.substr(0,e.version.indexOf(".")),o=e.config.optionMergeStrategies.methods;e.config.optionMergeStrategies.apollo=function(t,e,r){if(!t)return e;if(!e)return t;for(var n=Object.assign({},N(t,nt),t.data),l=Object.assign({},N(e,nt),e.data),map={},i=0;i<nt.length;i++){var c=nt[i];map[c]=o(t[c],e[c])}return Object.assign(map,o(n,l))},Object.prototype.hasOwnProperty.call(e,"$apollo")||Object.defineProperty(e.prototype,"$apollo",{get:function(){return this.$_apollo||(this.$_apollo=new $(this)),this.$_apollo}}),it(e,n),"2"===n&&(e.component("ApolloQuery",W),e.component("ApolloQuery",W),e.component("ApolloSubscribeToMore",Q),e.component("ApolloSubscribeToMore",Q),e.component("ApolloMutation",K),e.component("ApolloMutation",K))}},H.version="3.1.0";var ot=null;"undefined"!=typeof window?ot=window.Vue:void 0!==t&&(ot=t.Vue),ot&&ot.use(H),e.a=H}).call(this,r(40))},,function(t,e,r){var n=r(770);function o(){return(o=n(regeneratorRuntime.mark((function t(){var e,n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!1 in navigator)){t.next=2;break}throw new Error("serviceWorker is not supported in current browser!");case 2:return t.next=4,r.e(77).then(r.bind(null,795));case 4:return e=t.sent,n=e.Workbox,o=new n("/sw.js",{scope:"/"}),t.next=9,o.register();case 9:return t.abrupt("return",o);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}r(55),r(9),r(59),r(60),window.$workbox=function(){return o.apply(this,arguments)}().catch((function(t){}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){var content=r(564);
vendor: 8,817 bytes, line 2
2content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(33).default)("379e1959",content,!0,{sourceMap:!1})},function(t,e,r){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},,,,,,,,,,,function(t,e,r){var n=r(210),o=n.find,l=n.NAMESPACE;function c(input){return""!==input}function h(t,element){return t.hasOwnProperty(element)||(t[element]=!0),t}function d(input){if(!input)return[];var t=function(input){return input?input.split(/[\t\n\f\r ]+/).filter(c):[]}(input);return Object.keys(t.reduce(h,{}))}function f(t,e){for(var p in t)Object.prototype.hasOwnProperty.call(t,p)&&(e[p]=t[p])}function m(t,e){var r=t.prototype;if(!(r instanceof e)){function n(){}n.prototype=e.prototype,f(r,n=new n),t.prototype=r=n}r.constructor!=t&&("function"!=typeof t&&console.error("unknown Class:"+t),r.constructor=t)}var v={},y=v.ELEMENT_NODE=1,_=v.ATTRIBUTE_NODE=2,w=v.TEXT_NODE=3,T=v.CDATA_SECTION_NODE=4,S=v.ENTITY_REFERENCE_NODE=5,M=v.ENTITY_NODE=6,x=v.PROCESSING_INSTRUCTION_NODE=7,k=v.COMMENT_NODE=8,E=v.DOCUMENT_NODE=9,O=v.DOCUMENT_TYPE_NODE=10,C=v.DOCUMENT_FRAGMENT_NODE=11,A=v.NOTATION_NODE=12,I={},P={},R=(I.INDEX_SIZE_ERR=(P[1]="Index size error",1),I.DOMSTRING_SIZE_ERR=(P[2]="DOMString size error",2),I.HIERARCHY_REQUEST_ERR=(P[3]="Hierarchy request error",3)),D=(I.WRONG_DOCUMENT_ERR=(P[4]="Wrong document",4),I.INVALID_CHARACTER_ERR=(P[5]="Invalid character",5),I.NO_DATA_ALLOWED_ERR=(P[6]="No data allowed",6),I.NO_MODIFICATION_ALLOWED_ERR=(P[7]="No modification allowed",7),I.NOT_FOUND_ERR=(P[8]="Not found",8)),L=(I.NOT_SUPPORTED_ERR=(P[9]="Not supported",9),I.INUSE_ATTRIBUTE_ERR=(P[10]="Attribute in use",10));I.INVALID_STATE_ERR=(P[11]="Invalid state",11),I.SYNTAX_ERR=(P[12]="Syntax error",12),I.INVALID_MODIFICATION_ERR=(P[13]="Invalid modification",13),I.NAMESPACE_ERR=(P[14]="Invalid namespace",14),I.INVALID_ACCESS_ERR=(P[15]="Invalid access",15);function N(code,t){if(t instanceof Error)var e=t;else e=this,Error.call(this,P[code]),this.message=P[code],Error.captureStackTrace&&Error.captureStackTrace(this,N);return e.code=code,t&&(this.message=this.message+": "+t),e}function j(){}function B(t,e){this._node=t,this._refresh=e,F(this)}function F(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var r=t._refresh(t._node);if(Ct(t,"length",r.length),!t.$$length||r.length<t.$$length)for(var i=r.length;i in t;i++)Object.prototype.hasOwnProperty.call(t,i)&&delete t[i];f(r,t),t._inc=e}}function U(){}function z(t,e){for(var i=t.length;i--;)if(t[i]===e)return i}function V(t,e,r,n){if(n?e[z(e,n)]=r:e[e.length++]=r,t){r.ownerElement=t;var o=t.ownerDocument;o&&(n&&X(o,t,n),function(t,e,r){t&&t._inc++;var n=r.namespaceURI;n===l.XMLNS&&(e._nsMap[r.prefix?r.localName:""]=r.value)}(o,t,r))}}function $(t,e,r){var i=z(e,r);if(!(i>=0))throw new N(D,new Error(t.tagName+"@"+r));for(var n=e.length-1;i<n;)e[i]=e[++i];if(e.length=n,t){var o=t.ownerDocument;o&&(X(o,t,r),r.ownerElement=null)}}function H(){}function W(){}function G(t){return("<"==t?"&lt;":">"==t&&"&gt;")||"&"==t&&"&amp;"||'"'==t&&"&quot;"||"&#"+t.charCodeAt()+";"}function Q(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(Q(t,e))return!0}while(t=t.nextSibling)}function K(){this.ownerDocument=this}function X(t,e,r,n){t&&t._inc++,r.namespaceURI===l.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function Y(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var o=e.firstChild,i=0;o;)n[i++]=o,o=o.nextSibling;n.length=i,delete n[n.length]}}}function Z(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,Y(t.ownerDocument,t),e}function J(t){return t&&t.nodeType===W.DOCUMENT_TYPE_NODE}function tt(t){return t&&t.nodeType===W.ELEMENT_NODE}function et(t){return t&&t.nodeType===W.TEXT_NODE}function it(t,e){var r=t.childNodes||[];if(o(r,tt)||J(e))return!1;var n=o(r,J);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function nt(t,e){var r=t.childNodes||[];if(o(r,(function(t){return tt(t)&&t!==e})))return!1;var n=o(r,J);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function ot(t,e,r){if(!function(t){return t&&(t.nodeType===W.DOCUMENT_NODE||t.nodeType===W.DOCUMENT_FRAGMENT_NODE||t.nodeType===W.ELEMENT_NODE)}(t))throw new N(R,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new N(D,"child not in parent");if(!function(t){return t&&(tt(t)||et(t)||J(t)||t.nodeType===W.DOCUMENT_FRAGMENT_NODE||t.nodeType===W.COMMENT_NODE||t.nodeType===W.PROCESSING_INSTRUCTION_NODE)}(e)||J(e)&&t.nodeType!==W.DOCUMENT_NODE)throw new N(R,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function at(t,e,r){var n=t.childNodes||[],l=e.childNodes||[];if(e.nodeType===W.DOCUMENT_FRAGMENT_NODE){var c=l.filter(tt);if(c.length>1||o(l,et))throw new N(R,"More than one element or text in fragment");if(1===c.length&&!it(t,r))throw new N(R,"Element in fragment can not be inserted before doctype")}if(tt(e)&&!it(t,r))throw new N(R,"Only one element can be added and only after doctype");if(J(e)){if(o(n,J))throw new N(R,"Only one doctype is allowed");var h=o(n,tt);if(r&&n.indexOf(h)<n.indexOf(r))throw new N(R,"Doctype can only be inserted before an element");if(!r&&h)throw new N(R,"Doctype can not be appended since element is present")}}function st(t,e,r){var n=t.childNodes||[],l=e.childNodes||[];if(e.nodeType===W.DOCUMENT_FRAGMENT_NODE){var c=l.filter(tt);if(c.length>1||o(l,et))throw new N(R,"More than one element or text in fragment");if(1===c.length&&!nt(t,r))throw new N(R,"Element in fragment can not be inserted before doctype")}if(tt(e)&&!nt(t,r))throw new N(R,"Only one element can be added and only after doctype");if(J(e)){if(o(n,(function(t){return J(t)&&t!==r})))throw new N(R,"Only one doctype is allowed");var h=o(n,tt);if(r&&n.indexOf(h)<n.indexOf(r))throw new N(R,"Doctype can only be inserted before an element")}}function ut(t,e,r,n){ot(t,e,r),t.nodeType===W.DOCUMENT_NODE&&(n||at)(t,e,r);var o=e.parentNode;if(o&&o.removeChild(e),e.nodeType===C){var l=e.firstChild;if(null==l)return e;var c=e.lastChild}else l=c=e;var pre=r?r.previousSibling:t.lastChild;l.previousSibling=pre,c.nextSibling=r,pre?pre.nextSibling=l:t.firstChild=l,null==r?t.lastChild=c:r.previousSibling=c;do{l.parentNode=t}while(l!==c&&(l=l.nextSibling));return Y(t.ownerDocument||t,t),e.nodeType==C&&(e.firstChild=e.lastChild=null),e}function lt(){this._nsMap={}}function ct(){}function ht(){}function ft(){}function pt(){}function mt(){}function gt(){}function vt(){}function yt(){}function bt(){}function _t(){}function wt(){}function Tt(){}function St(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,o=n.prefix,l=n.namespaceURI;if(l&&null==o&&null==(o=n.lookupPrefix(l)))var c=[{namespace:l,prefix:null}];return kt(this,r,t,e,c),r.join("")}function Mt(t,e,r){var n=t.prefix||"",o=t.namespaceURI;if(!o)return!1;if("xml"===n&&o===l.XML||o===l.XMLNS)return!1;for(var i=r.length;i--;){var c=r[i];if(c.prefix===n)return c.namespace!==o}return!0}function xt(t,e,r){t.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,G),'"')}function kt(t,e,r,n,o){if(o||(o=[]),n){if(!(t=n(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case y:var c=t.attributes,h=c.length,d=t.firstChild,f=t.tagName,m=f;if(!(r=l.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var v,M=0;M<c.length;M++)if("xmlns"===c.item(M).name){v=c.item(M).value;break}if(!v)for(var A=o.length-1;A>=0;A--){if(""===(I=o[A]).prefix&&I.namespace===t.namespaceURI){v=I.namespace;break}}if(v!==t.namespaceURI)for(A=o.length-1;A>=0;A--){var I;if((I=o[A]).namespace===t.namespaceURI){I.prefix&&(m=I.prefix+":"+f);break}}}e.push("<",m);for(var i=0;i<h;i++){"xmlns"==(P=c.item(i)).prefix?o.push({prefix:P.localName,namespace:P.value}):"xmlns"==P.nodeName&&o.push({prefix:"",namespace:P.value})}for(i=0;i<h;i++){var P,R,D;if(Mt(P=c.item(i),0,o))xt(e,(R=P.prefix||"")?"xmlns:"+R:"xmlns",D=P.namespaceURI),o.push({prefix:R,namespace:D});kt(P,e,r,n,o)}if(f===m&&Mt(t,0,o))xt(e,(R=t.prefix||"")?"xmlns:"+R:"xmlns",D=t.namespaceURI),o.push({prefix:R,namespace:D});if(d||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(f)){if(e.push(">"),r&&/^script$/i.test(f))for(;d;)d.data?e.push(d.data):kt(d,e,r,n,o.slice()),d=d.nextSibling;else for(;d;)kt(d,e,r,n,o.slice()),d=d.nextSibling;e.push("</",m,">")}else e.push("/>");return;case E:case C:for(d=t.firstChild;d;)kt(d,e,r,n,o.slice()),d=d.nextSibling;return;case _:return xt(e,t.name,t.value);case w:return e.push(t.data.replace(/[<&>]/g,G));
vendor: 4,250 bytes, line 2
2case T:return e.push("<![CDATA[",t.data,"]]>");case k:return e.push("\x3c!--",t.data,"--\x3e");case O:var L=t.publicId,N=t.systemId;if(e.push("<!DOCTYPE ",t.name),L)e.push(" PUBLIC ",L),N&&"."!=N&&e.push(" ",N),e.push(">");else if(N&&"."!=N)e.push(" SYSTEM ",N,">");else{var sub=t.internalSubset;sub&&e.push(" [",sub,"]"),e.push(">")}return;case x:return e.push("<?",t.target," ",t.data,"?>");case S:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function Et(t,e,r){var n;switch(e.nodeType){case y:(n=e.cloneNode(!1)).ownerDocument=t;case C:break;case _:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var o=e.firstChild;o;)n.appendChild(Et(t,o,r)),o=o.nextSibling;return n}function Ot(t,e,r){var n=new e.constructor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=e[o];"object"!=typeof l&&l!=n[o]&&(n[o]=l)}switch(e.childNodes&&(n.childNodes=new j),n.ownerDocument=t,n.nodeType){case y:var c=e.attributes,h=n.attributes=new U,d=c.length;h._ownerElement=n;for(var i=0;i<d;i++)n.setAttributeNode(Ot(t,c.item(i),!0));break;case _:r=!0}if(r)for(var f=e.firstChild;f;)n.appendChild(Ot(t,f,r)),f=f.nextSibling;return n}function Ct(object,t,e){object[t]=e}N.prototype=Error.prototype,f(I,N),j.prototype={length:0,item:function(t){return t>=0&&t<this.length?this[t]:null},toString:function(t,e){for(var r=[],i=0;i<this.length;i++)kt(this[i],r,t,e);return r.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}},B.prototype.item=function(i){return F(this),this[i]||null},m(B,j),U.prototype={length:0,item:j.prototype.item,getNamedItem:function(t){for(var i=this.length;i--;){var e=this[i];if(e.nodeName==t)return e}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new N(L);var r=this.getNamedItem(t.nodeName);return V(this._ownerElement,this,t,r),r},setNamedItemNS:function(t){var e,r=t.ownerElement;if(r&&r!=this._ownerElement)throw new N(L);return e=this.getNamedItemNS(t.namespaceURI,t.localName),V(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return $(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var r=this.getNamedItemNS(t,e);return $(this._ownerElement,this,r),r},getNamedItemNS:function(t,e){for(var i=this.length;i--;){var r=this[i];if(r.localName==e&&r.namespaceURI==t)return r}return null}},H.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,r){var n=new K;if(n.implementation=this,n.childNodes=new j,n.doctype=r||null,r&&n.appendChild(r),e){var o=n.createElementNS(t,e);n.appendChild(o)}return n},createDocumentType:function(t,e,r){var n=new gt;return n.name=t,n.nodeName=t,n.publicId=e||"",n.systemId=r||"",n}},W.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(t,e){return ut(this,t,e)},replaceChild:function(t,e){ut(this,t,e,st),e&&this.removeChild(e)},removeChild:function(t){return Z(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return Ot(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==w&&t.nodeType==w?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var map=e._nsMap;if(map)for(var r in map)if(Object.prototype.hasOwnProperty.call(map,r)&&map[r]===t)return r;e=e.nodeType==_?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var map=e._nsMap;if(map&&Object.prototype.hasOwnProperty.call(map,t))return map[t];e=e.nodeType==_?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},f(v,W),f(v,W.prototype),K.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.no
vendor: 6,383 bytes, line 2
2deType==C){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return ut(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===y&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),Z(this,t)},replaceChild:function(t,e){ut(this,t,e,st),t.ownerDocument=this,e&&this.removeChild(e),tt(t)&&(this.documentElement=t)},importNode:function(t,e){return Et(this,t,e)},getElementById:function(t){var e=null;return Q(this.documentElement,(function(r){if(r.nodeType==y&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=d(t);return new B(this,(function(base){var r=[];return e.length>0&&Q(base.documentElement,(function(n){if(n!==base&&n.nodeType===y){var o=n.getAttribute("class");if(o){var l=t===o;if(!l){var c=d(o);l=e.every((h=c,function(element){return h&&-1!==h.indexOf(element)}))}l&&r.push(n)}}var h})),r}))},createElement:function(t){var e=new lt;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new j,(e.attributes=new U)._ownerElement=e,e},createDocumentFragment:function(){var t=new _t;return t.ownerDocument=this,t.childNodes=new j,t},createTextNode:function(data){var t=new ft;return t.ownerDocument=this,t.appendData(data),t},createComment:function(data){var t=new pt;return t.ownerDocument=this,t.appendData(data),t},createCDATASection:function(data){var t=new mt;return t.ownerDocument=this,t.appendData(data),t},createProcessingInstruction:function(t,data){var e=new wt;return e.ownerDocument=this,e.tagName=e.nodeName=e.target=t,e.nodeValue=e.data=data,e},createAttribute:function(t){var e=new ct;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new bt;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new lt,n=e.split(":"),o=r.attributes=new U;return r.childNodes=new j,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,o._ownerElement=r,r},createAttributeNS:function(t,e){var r=new ct,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},m(K,W),lt.prototype={nodeType:y,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===C?this.insertBefore(t,null):function(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,Y(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new B(this,(function(base){var e=[];return Q(base,(function(r){r===base||r.nodeType!=y||"*"!==t&&r.tagName!=t||e.push(r)})),e}))},getElementsByTagNameNS:function(t,e){return new B(this,(function(base){var r=[];return Q(base,(function(n){n===base||n.nodeType!==y||"*"!==t&&n.namespaceURI!==t||"*"!==e&&n.localName!=e||r.push(n)})),r}))}},K.prototype.getElementsByTagName=lt.prototype.getElementsByTagName,K.prototype.getElementsByTagNameNS=lt.prototype.getElementsByTagNameNS,m(lt,W),ct.prototype.nodeType=_,m(ct,W),ht.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(text){text=this.data+text,this.nodeValue=this.data=text,this.length=text.length},insertData:function(t,text){this.replaceData(t,0,text)},appendChild:function(t){throw new Error(P[R])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,text){text=this.data.substring(0,t)+text+this.data.substring(t+e),this.nodeValue=this.data=text,this.length=text.length}},m(ht,W),ft.prototype={nodeName:"#text",nodeType:w,splitText:function(t){var text=this.data,e=text.substring(t);text=text.substring(0,t),this.data=this.nodeValue=text,this.length=text.length;var r=this.ownerDocument.createTextNode(e);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},m(ft,ht),pt.prototype={nodeName:"#comment",nodeType:k},m(pt,ht),mt.prototype={nodeName:"#cdata-section",nodeType:T},m(mt,ht),gt.prototype.nodeType=O,m(gt,W),vt.prototype.nodeType=A,m(vt,W),yt.prototype.nodeType=M,m(yt,W),bt.prototype.nodeType=S,m(bt,W),_t.prototype.nodeName="#document-fragment",_t.prototype.nodeType=C,m(_t,W),wt.prototype.nodeType=x,m(wt,W),Tt.prototype.serializeToString=function(t,e,r){return St.call(t,e,r)},W.prototype.toString=St;try{if(Object.defineProperty){function At(t){switch(t.nodeType){case y:case C:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(At(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(B.prototype,"length",{get:function(){return F(this),this.$$length}}),Object.defineProperty(W.prototype,"textContent",{get:function(){return At(this)},set:function(data){switch(this.nodeType){case y: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}}}),Ct=function(object,t,e){object["$$"+t]=e}}}catch(It){}e.DocumentType=gt,e.DOMException=N,e.DOMImplementation=H,e.Element=lt,e.Node=W,e.NodeList=j,e.XMLSerializer
vendor: 5,274 bytes, line 2
2=Tt},,,function(t,e,r){"use strict";var n=r(23).Buffer,o=r(383).Transform;function l(t){o.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(19)(l,o),l.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},l.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},l.prototype.update=function(data,t){if(function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError(e+" must be a string or a buffer")}(data,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(data)||(data=n.from(data,t));for(var e=this._block,r=0;this._blockOffset+data.length-r>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)e[i++]=data[r++];this._update(),this._blockOffset=0}for(;r<data.length;)e[this._blockOffset++]=data[r++];for(var o=0,l=8*data.length;l>0;++o)this._length[o]+=l,(l=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*l);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return e},l.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=l},function(t,e,r){(e=t.exports=r(384)).Stream=e,e.Readable=e,e.Writable=r(388),e.Duplex=r(139),e.Transform=r(390),e.PassThrough=r(624),e.finished=r(259),e.pipeline=r(625)},function(t,e,r){"use strict";(function(e,n){var o;t.exports=P,P.ReadableState=I;r(165).EventEmitter;var l=function(t,e){return t.listeners(e).length},c=r(385),h=r(62).Buffer,d=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var f,m=r(619);f=m&&m.debuglog?m.debuglog("stream"):function(){};var v,y,_,w=r(620),T=r(386),S=r(387).getHighWaterMark,M=r(138).codes,x=M.ERR_INVALID_ARG_TYPE,k=M.ERR_STREAM_PUSH_AFTER_EOF,E=M.ERR_METHOD_NOT_IMPLEMENTED,O=M.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(19)(P,c);var C=T.errorOrDestroy,A=["error","close","destroy","pause","resume"];function I(t,e,n){o=o||r(139),t=t||{},"boolean"!=typeof n&&(n=e instanceof o),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=S(this,t,"readableHighWaterMark",n),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(v||(v=r(166).StringDecoder),this.decoder=new v(t.encoding),this.encoding=t.encoding)}function P(t){if(o=o||r(139),!(this instanceof P))return new P(t);var e=this instanceof o;this._readableState=new I(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function R(t,e,r,n,o){f("readableAddChunk",e);var l,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(f("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,B(t)))}(t,c);else if(o||(l=function(t,e){var r;n=e,h.isBuffer(n)||n instanceof d||"string"==typeof e||void 0===e||t.objectMode||(r=new x("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(c,e)),l)C(t,l);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===h.prototype||(e=function(t){return h.from(t)}(e)),n)c.endEmitted?C(t,new O):D(t,c,e,!0);else if(c.ended)C(t,new k);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(e=c.decoder.write(e),c.objectMode||0!==e.length?D(t,c,e,!1):F(t,c)):D(t,c,e,!1)}else n||(c.reading=!1,F(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function D(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),F(t,e)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),P.prototype.destroy=T.destroy,P.prototype._undestroy=T.undestroy,P.prototype._destroy=function(t,e){e(t)},P.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=h.from(t,e),e=""),r=!0),R(this,t,e,!1,r)},P.prototype.unshift=function(t){return R(this,t,null,!0,!1)},P.prototype.isPaused=function(){return!1===this._readableState.flowing},P.prototype.setEncoding=function(t){v||(v=r(166).StringDecoder);var e=new v(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 4,260 bytes, line 2
2for(var p=this._readableState.buffer.head,content="";null!==p;)content+=e.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==content&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};var L=1073741824;function N(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=L?t=L:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;f("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(B,t))}function B(t){var e=t._readableState;f("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,H(t)}function F(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(U,t,e))}function U(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(f("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function z(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function V(t){f("readable nexttick read 0"),t.read(0)}function $(t,e){f("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),H(t),e.flowing&&!e.reading&&t.read(0)}function H(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function W(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function G(t){var e=t._readableState;f("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(Q,e,t))}function Q(t,e){if(f("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function K(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}P.prototype.read=function(t){f("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?G(this):j(this),null;if(0===(t=N(t,e))&&e.ended)return 0===e.length&&G(this),null;var n,o=e.needReadable;return f("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&f("length less than watermark",o=!0),e.ended||e.reading?f("reading or ended",o=!1):o&&(f("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=N(r,e))),null===(n=t>0?W(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&G(this)),null!==n&&this.emit("data",n),n},P.prototype._read=function(t){C(this,new E("_read()"))},P.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,e);var c=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?d:S;function h(e,n){f("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,f("cleanup"),t.removeListener("close",w),t.removeListener("finish",T),t.removeListener("drain",m),t.removeListener("error",_),t.removeListener("unpipe",h),r.removeListener("end",d),r.removeListener("end",S),r.removeListener("data",y),v=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||m())}function d(){f("onend"),t.end()}o.endEmitted?n.nextTick(c):r.once("end",c),t.on("unpipe",h);var m=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&l(t,"data")&&(e.flowing=!0,H(t))}}(r);t.on("drain",m);var v=!1;function y(e){f("ondata");
vendor: 13,605 bytes, line 2
2var n=t.write(e);f("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==K(o.pipes,t))&&!v&&(f("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function _(e){f("onerror",e),S(),t.removeListener("error",_),0===l(t,"error")&&C(t,e)}function w(){t.removeListener("finish",T),S()}function T(){f("onfinish"),t.removeListener("close",w),S()}function S(){f("unpipe"),r.unpipe(t)}return r.on("data",y),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",_),t.once("close",w),t.once("finish",T),t.emit("pipe",r),o.flowing||(f("pipe resume"),r.resume()),t},P.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var l=K(e.pipes,t);return-1===l||(e.pipes.splice(l,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},P.prototype.on=function(t,e){var r=c.prototype.on.call(this,t,e),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,f("on readable",o.length,o.reading),o.length?j(this):o.reading||n.nextTick(V,this))),r},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(t,e){var r=c.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(z,this),r},P.prototype.removeAllListeners=function(t){var e=c.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(z,this),e},P.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick($,t,e))}(this,t)),t.paused=!1,this},P.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},P.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(f("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<A.length;o++)t.on(A[o],this.emit.bind(this,A[o]));return this._read=function(e){f("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(P.prototype[Symbol.asyncIterator]=function(){return void 0===y&&(y=r(622)),y(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),P._fromList=W,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(P.from=function(t,e){return void 0===_&&(_=r(623)),_(P,t,e)})}).call(this,r(40),r(67))},function(t,e,r){t.exports=r(165).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){o(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,l){var c=this,h=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return h||d?(l?l(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(o,this,t)):e.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!l&&t?c._writableState?c._writableState.errorEmitted?e.nextTick(n,c):(c._writableState.errorEmitted=!0,e.nextTick(r,c,t)):e.nextTick(r,c,t):l?(e.nextTick(n,c),l(t)):e.nextTick(n,c)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(67))},function(t,e,r){"use strict";var n=r(138).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,o){var l=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,o,r);if(null!=l){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new n(o?r:"highWaterMark",l);return Math.floor(l)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var l;t.exports=P,P.WritableState=I;var c={deprecate:r(389)},h=r(385),d=r(62).Buffer,f=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var m,v=r(386),y=r(387).getHighWaterMark,_=r(138).codes,w=_.ERR_INVALID_ARG_TYPE,T=_.ERR_METHOD_NOT_IMPLEMENTED,S=_.ERR_MULTIPLE_CALLBACK,M=_.ERR_STREAM_CANNOT_PIPE,x=_.ERR_STREAM_DESTROYED,k=_.ERR_STREAM_NULL_VALUES,E=_.ERR_STREAM_WRITE_AFTER_END,O=_.ERR_UNKNOWN_ENCODING,C=v.errorOrDestroy;function A(){}function I(t,e,c){l=l||r(139),t=t||{},"boolean"!=typeof c&&(c=e instanceof l),this.objectMode=!!t.objectMode,c&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=y(this,t,"writableHighWaterMark",c),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===t.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,o=r.sync,l=r.writecb;if("function"!=typeof l)throw new S;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,o,l){--e.pendingcb,r?(n.nextTick(l,o),n.nextTick(B,t,e),t._writableState.errorEmitted=!0,C(t,o)):(l(o),t._writableState.errorEmitted=!0,C(t,o),B(t,e))}(t,r,o,e,l);else{var c=N(r)||t.destroyed;c||r.corked||r.bufferProcessing||!r.bufferedRequest||L(t,r),o?n.nextTick(D,t,r,c,l):D(t,r,c,l)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function P(t){var e=this instanceof(l=l||r(139));if(!e&&!m.call(P,this))return new P(t);this._writableState=new I(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),h.call(this)}function R(t,e,r,n,o,l,c){e.writelen=n,e.writecb=c,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new x("write")):r?t._writev(o,e.onwrite):t._write(o,l,e.onwrite),e.sync=!1}function D(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),B(t,e)}function L(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,l=new Array(n),c=e.corkedRequestsFree;c.entry=r;for(var h=0,d=!0;r;)l[h]=r,r.isBuf||(d=!1),r=r.next,h+=1;l.allBuffers=d,R(t,e,!0,e.length,l,"",c.finish),e.pendingcb++,e.lastBufferedRequest=null,c.next?(e.corkedRequestsFree=c.next,c.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,m=r.encoding,v=r.callback;if(R(t,e,!1,e.objectMode?1:f.length,f,m,v),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function N(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function j(t,e){t._final((function(r){e.pendingcb--,r&&C(t,r),e.prefinished=!0,t.emit("prefinish"),B(t,e)}))}function B(t,e){var r=N(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(j,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var o=t._readableState;(!o||o.autoDestroy&&o.endEmitted)&&t.destroy()}return r}r(19)(P,h),I.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(I.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(P,Symbol.hasInstance,{value:function(object){return!!m.call(this,object)||this===P&&(object&&object._writableState instanceof I)}})):m=function(object){return object instanceof this},P.prototype.pipe=function(){C(this,new M)},P.prototype.write=function(t,e,r){var o,l=this._writableState,c=!1,h=!l.objectMode&&(o=t,d.isBuffer(o)||o instanceof f);return h&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(r=e,e=null),h?e="buffer":e||(e=l.defaultEncoding),"function"!=typeof r&&(r=A),l.ending?function(t,e){var r=new E;C(t,r),n.nextTick(e,r)}(this,r):(h||function(t,e,r,o){var l;return null===r?l=new k:"string"==typeof r||e.objectMode||(l=new w("chunk",["string","Buffer"],r)),!l||(C(t,l),n.nextTick(o,l),!1)}(this,l,t,r))&&(l.pendingcb++,c=function(t,e,r,n,o,l){if(!r){var c=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,r));return e}(e,n,o);n!==c&&(r=!0,o="buffer",n=c)}var h=e.objectMode?1:n.length;e.length+=h;var f=e.length<e.highWaterMark;f||(e.needDrain=!0);if(e.writing||e.corked){var m=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:l,next:null},m?m.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else R(t,e,!1,h,n,o,l);return f}(this,l,h,t,e,r)),c},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||L(this,t))},P.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new O(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),P.prototype._write=function(t,e,r){r(new T("_write()"))},P.prototype._writev=null,P.prototype.end=function(t,e,r){var o=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||function(t,e,r){e.ending=!0,B(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),P.prototype.destroy=v.destroy,P.prototype._undestroy=v.undestroy,P.prototype._destroy=function(t,e){e(t)}}).call(this,r(40),r(67))},function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(40))},function(t,e,r){"use strict";t.exports=m;
vendor: 5,215 bytes, line 2
2var n=r(138).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,l=n.ERR_MULTIPLE_CALLBACK,c=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,h=n.ERR_TRANSFORM_WITH_LENGTH_0,d=r(139);function f(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(null===r)return this.emit("error",new l);e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function m(t){if(!(this instanceof m))return new m(t);d.call(this,t),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",v)}function v(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?y(this,null,null):this._flush((function(e,data){y(t,e,data)}))}function y(t,e,data){if(e)return t.emit("error",e);if(null!=data&&t.push(data),t._writableState.length)throw new h;if(t._transformState.transforming)throw new c;return t.push(null)}r(19)(m,d),m.prototype.push=function(t,e){return this._transformState.needTransform=!1,d.prototype.push.call(this,t,e)},m.prototype._transform=function(t,e,r){r(new o("_transform()"))},m.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},m.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},m.prototype._destroy=function(t,e){d.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){var n=r(19),o=r(140),l=r(23).Buffer,c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);function d(){this.init(),this._w=h,o.call(this,64,56)}function f(t,e,r){return r^t&(e^r)}function m(t,e,r){return t&e|r&(t|e)}function v(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function y(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function _(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(d,o),d.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},d.prototype._update=function(t){for(var e,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,l=0|this._e,h=0|this._f,g=0|this._g,d=0|this._h,i=0;i<16;++i)r[i]=t.readInt32BE(4*i);for(;i<64;++i)r[i]=0|(((e=r[i-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[i-7]+_(r[i-15])+r[i-16];for(var w=0;w<64;++w){var T=d+y(l)+f(l,h,g)+c[w]+r[w]|0,S=v(a)+m(a,b,n)|0;d=g,g=h,h=l,l=o+T|0,o=n,n=b,b=a,a=T+S|0}this._a=a+this._a|0,this._b=b+this._b|0,this._c=n+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0,this._f=h+this._f|0,this._g=g+this._g|0,this._h=d+this._h|0},d.prototype._hash=function(){var t=l.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=d},function(t,e,r){var n=r(19),o=r(140),l=r(23).Buffer,c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,
vendor: 8,319 bytes, line 2
21322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],h=new Array(160);function d(){this.init(),this._w=h,o.call(this,128,112)}function f(t,e,r){return r^t&(e^r)}function m(t,e,r){return t&e|r&(t|e)}function v(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function y(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function _(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function w(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function T(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function S(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function M(a,b){return a>>>0<b>>>0?1:0}n(d,o),d.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},d.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,l=0|this._dh,h=0|this._eh,d=0|this._fh,x=0|this._gh,k=0|this._hh,E=0|this._al,O=0|this._bl,C=0|this._cl,dl=0|this._dl,A=0|this._el,I=0|this._fl,P=0|this._gl,R=0|this._hl,i=0;i<32;i+=2)e[i]=t.readInt32BE(4*i),e[i+1]=t.readInt32BE(4*i+4);for(;i<160;i+=2){var D=e[i-30],L=e[i-30+1],N=_(D,L),j=w(L,D),B=T(D=e[i-4],L=e[i-4+1]),F=S(L,D),U=e[i-14],z=e[i-14+1],V=e[i-32],$=e[i-32+1],H=j+z|0,W=N+U+M(H,j)|0;W=(W=W+B+M(H=H+F|0,F)|0)+V+M(H=H+$|0,$)|0,e[i]=W,e[i+1]=H}for(var G=0;G<160;G+=2){W=e[G],H=e[G+1];var Q=m(r,n,o),K=m(E,O,C),X=v(r,E),Y=v(E,r),Z=y(h,A),J=y(A,h),tt=c[G],et=c[G+1],it=f(h,d,x),nt=f(A,I,P),ot=R+J|0,at=k+Z+M(ot,R)|0;at=(at=(at=at+it+M(ot=ot+nt|0,nt)|0)+tt+M(ot=ot+et|0,et)|0)+W+M(ot=ot+H|0,H)|0;var st=Y+K|0,ut=X+Q+M(st,Y)|0;k=x,R=P,x=d,P=I,d=h,I=A,h=l+at+M(A=dl+ot|0,dl)|0,l=o,dl=C,o=n,C=O,n=r,O=E,r=at+ut+M(E=ot+st|0,ot)|0}this._al=this._al+E|0,this._bl=this._bl+O|0,this._cl=this._cl+C|0,this._dl=this._dl+dl|0,this._el=this._el+A|0,this._fl=this._fl+I|0,this._gl=this._gl+P|0,this._hl=this._hl+R|0,this._ah=this._ah+r+M(this._al,E)|0,this._bh=this._bh+n+M(this._bl,O)|0,this._ch=this._ch+o+M(this._cl,C)|0,this._dh=this._dh+l+M(this._dl,dl)|0,this._eh=this._eh+h+M(this._el,A)|0,this._fh=this._fh+d+M(this._fl,I)|0,this._gh=this._gh+x+M(this._gl,P)|0,this._hh=this._hh+k+M(this._hl,R)|0},d.prototype._hash=function(){var t=l.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=d},function(t,e,r){"use strict";(function(e,n){var o=r(211);t.exports=k;var l,c=r(631);k.ReadableState=x;r(165).EventEmitter;var h=function(t,e){return t.listeners(e).length},d=r(394),f=r(263).Buffer,m=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var v=Object.create(r(167));v.inherits=r(19);var y=r(632),_=void 0;_=y&&y.debuglog?y.debuglog("stream"):function(){};var w,T=r(633),S=r(395);v.inherits(k,d);var M=["error","close","destroy","pause","resume"];function x(t,e){t=t||{};var n=e instanceof(l=l||r(120));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var o=t.highWaterMark,c=t.readableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(c||0===c)?c:h,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new T,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(w||(w=r(166).StringDecoder),this.decoder=new w(t.encoding),this.encoding=t.encoding)}function k(t){if(l=l||r(120),!(this instanceof k))return new k(t);this._readableState=new x(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),d.call(this)}function E(t,e,r,n,o){var l,c=t._readableState;null===e?(c.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,I(t)}(t,c)):(o||(l=function(t,e){var r;n=e,f.isBuffer(n)||n instanceof m||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(c,e)),l?t.emit("error",l):c.objectMode||e&&e.length>0?("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===f.prototype||(e=function(t){return f.from(t)}(e)),n?c.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):O(t,c,e,!0):c.ended?t.emit("error",new Error("stream.push() after EOF")):(c.reading=!1,c.decoder&&!r?(e=c.decoder.write(e),c.objectMode||0!==e.length?O(t,c,e,!1):R(t,c)):O(t,c,e,!1))):n||(c.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(c)}function O(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&I(t)),R(t,e)}Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=S.destroy,k.prototype._undestroy=S.undestroy,k.prototype._destroy=function(t,e){this.push(null),e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=f.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){return w||(w=r(166).StringDecoder),this._readableState.decoder=new w(t),this._readableState.encoding=t,this};var C=8388608;function A(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=C?t=C:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function I(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(_("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?o.nextTick(P,t):P(t))}function P(t){_("emit readable"),t.emit("readable"),j(t)}function R(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(D,t,e))}function D(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(_("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function L(t){_("readable nexttick read 0"),t.read(0)}function N(t,e){e.reading||(_("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),j(t),e.flowing&&!e.reading&&t.read(0)}function j(t){var e=t._readableState;for(_("flow",e.flowing);e.flowing&&null!==t.read(););}function B(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var p=e.head,r=1,n=p.data;t-=n.length;for(;p=p.next;){var o=p.data,l=t>o.length?o.length:t;if(l===o.length?n+=o:n+=o.slice(0,t),0===(t-=l)){l===o.length?(++r,p.next?e.head=p.next:e.head=e.tail
vendor: 4,632 bytes, line 2
2=null):(e.head=p,p.data=o.slice(l));break}++r}return e.length-=r,n}(t,e):function(t,e){var r=f.allocUnsafe(t),p=e.head,n=1;p.data.copy(r),t-=p.data.length;for(;p=p.next;){var o=p.data,l=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,l),0===(t-=l)){l===o.length?(++n,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(l));break}++n}return e.length-=n,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function F(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,o.nextTick(U,e,t))}function U(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function z(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}k.prototype.read=function(t){_("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return _("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):I(this),null;if(0===(t=A(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,o=e.needReadable;return _("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&_("length less than watermark",o=!0),e.ended||e.reading?_("reading or ended",o=!1):o&&(_("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=A(r,e))),null===(n=t>0?B(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},k.prototype.pipe=function(t,e){var r=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=t;break;case 1:l.pipes=[l.pipes,t];break;default:l.pipes.push(t)}l.pipesCount+=1,_("pipe count=%d opts=%j",l.pipesCount,e);var d=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?m:k;function f(e,n){_("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,_("cleanup"),t.removeListener("close",M),t.removeListener("finish",x),t.removeListener("drain",v),t.removeListener("error",S),t.removeListener("unpipe",f),r.removeListener("end",m),r.removeListener("end",k),r.removeListener("data",T),y=!0,!l.awaitDrain||t._writableState&&!t._writableState.needDrain||v())}function m(){_("onend"),t.end()}l.endEmitted?o.nextTick(d):r.once("end",d),t.on("unpipe",f);var v=function(t){return function(){var e=t._readableState;_("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&h(t,"data")&&(e.flowing=!0,j(t))}}(r);t.on("drain",v);var y=!1;var w=!1;function T(e){_("ondata"),w=!1,!1!==t.write(e)||w||((1===l.pipesCount&&l.pipes===t||l.pipesCount>1&&-1!==z(l.pipes,t))&&!y&&(_("false write response, pause",l.awaitDrain),l.awaitDrain++,w=!0),r.pause())}function S(e){_("onerror",e),k(),t.removeListener("error",S),0===h(t,"error")&&t.emit("error",e)}function M(){t.removeListener("finish",x),k()}function x(){_("onfinish"),t.removeListener("close",M),k()}function k(){_("unpipe"),r.unpipe(t)}return r.on("data",T),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?c(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",S),t.once("close",M),t.once("finish",x),t.emit("pipe",r),l.flowing||(_("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var l=z(e.pipes,t);return-1===l||(e.pipes.splice(l,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,e){var r=d.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&I(this):o.nextTick(L,this))}return r},k.prototype.addListener=k.prototype.on,k.prototype.resume=function(){var t=this._readableState;return t.flowing||(_("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(N,t,e))}(this,t)),this},k.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit
vendor: 13,161 bytes, line 2
2("pause")),this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(_("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(_("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<M.length;o++)t.on(M[o],this.emit.bind(this,M[o]));return this._read=function(e){_("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),k._fromList=B}).call(this,r(40),r(67))},function(t,e,r){t.exports=r(165).EventEmitter},function(t,e,r){"use strict";var n=r(211);function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,l=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return l||c?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,t)):n.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(o,r,t)):n.nextTick(o,r,t):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,r){"use strict";t.exports=c;var n=r(120),o=Object.create(r(167));function l(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function c(t){if(!(this instanceof c))return new c(t);n.call(this,t),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"==typeof this._flush?this._flush((function(e,data){d(t,e,data)})):d(this,null,null)}function d(t,e,data){if(e)return t.emit("error",e);if(null!=data&&t.push(data),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}o.inherits=r(19),o.inherits(c,n),c.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},c.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},c.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},c.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},c.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){"use strict";var n=r(19),o=r(640),l=r(106),c=r(23).Buffer,h=r(398),d=r(260),f=r(261),m=c.alloc(128);function v(t,e){l.call(this,"digest"),"string"==typeof e&&(e=c.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new d:f(t)).update(e).digest():e.length<r&&(e=c.concat([e,m],r));for(var n=this._ipad=c.allocUnsafe(r),o=this._opad=c.allocUnsafe(r),i=0;i<r;i++)n[i]=54^e[i],o[i]=92^e[i];this._hash="rmd160"===t?new d:f(t),this._hash.update(n)}n(v,l),v.prototype._update=function(data){this._hash.update(data)},v.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new d:f(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new v("rmd160",e):"md5"===t?new o(h,e):new v(t,e)}},function(t,e,r){var n=r(258);t.exports=function(t){return(new n).update(t).digest()}},function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(t,e,r){e.pbkdf2=r(642),e.pbkdf2Sync=r(403)},function(t,e){var r=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>r||e!=e)throw new TypeError("Bad key length")}},function(t,e,r){(function(e,r){var n;if(e.process&&e.process.browser)n="utf-8";else if(e.process&&e.process.version){n=parseInt(r.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,r(40),r(67))},function(t,e,r){var n=r(398),o=r(260),l=r(261),c=r(23).Buffer,h=r(401),d=r(402),f=r(404),m=c.alloc(128),v={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function y(t,e,r){var h=function(t){function e(data){return l(t).update(data).digest()}function r(data){return(new o).update(data).digest()}return"rmd160"===t||"ripemd160"===t?r:"md5"===t?n:e}(t),d="sha512"===t||"sha384"===t?128:64;e.length>d?e=h(e):e.length<d&&(e=c.concat([e,m],d));for(var f=c.allocUnsafe(d+v[t]),y=c.allocUnsafe(d+v[t]),i=0;i<d;i++)f[i]=54^e[i],y[i]=92^e[i];var _=c.allocUnsafe(d+r+4);f.copy(_,0,0,d),this.ipad1=_,this.ipad2=f,this.opad=y,this.alg=t,this.blocksize=d,this.hash=h,this.size=v[t]}y.prototype.run=function(data,t){return data.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,r,n,o){h(r,n);var l=new y(o=o||"sha1",t=f(t,d,"Password"),(e=f(e,d,"Salt")).length),m=c.allocUnsafe(n),_=c.allocUnsafe(e.length+4);e.copy(_,0,0,e.length);for(var w=0,T=v[o],S=Math.ceil(n/T),i=1;i<=S;i++){_.writeUInt32BE(i,e.length);for(var M=l.run(_,l.ipad1),x=M,k=1;k<r;k++){x=l.run(x,l.ipad2);for(var E=0;E<T;E++)M[E]^=x[E]}M.copy(m,w),w+=T}return m}},function(t,e,r){var n=r(23).Buffer;t.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"==typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(t,e,r){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var o=0,l=0,i=6;i>=0;i-=2){for(var c=0;c<=24;c+=8)o<<=1,o|=e>>>c+i&1;for(c=0;c<=24;c+=8)o<<=1,o|=t>>>c+i&1}for(i=6;i>=0;i-=2){for(c=1;c<=25;c+=8)l<<=1,l|=e>>>c+i&1;for(c=1;c<=25;c+=8)l<<=1,l|=t>>>c+i&1}r[n+0]=o>>>0,r[n+1]=l>>>0},e.rip=function(t,e,r,n){for(var o=0,l=0,i=0;i<4;i++)for(var c=24;c>=0;c-=8)o<<=1,o|=e>>>c+i&1,o<<=1,o|=t>>>c+i&1;for(i=4;i<8;i++)for(c=24;c>=0;c-=8)l<<=1,l|=e>>>c+i&1,l<<=1,l|=t>>>c+i&1;r[n+0]=o>>>0,r[n+1]=l>>>0},e.pc1=function(t,e,r,n){for(var o=0,l=0,i=7;i>=5;i--){for(var c=0;c<=24;c+=8)o<<=1,o|=e>>c+i&1;for(c=0;c<=24;c+=8)o<<=1,o|=t>>c+i&1}for(c=0;c<=24;c+=8)o<<=1,o|=e>>c+i&1;for(i=1;i<=3;i++){for(c=0;c<=24;c+=8)l<<=1,l|=e>>c+i&1;for(c=0;c<=24;c+=8)l<<=1,l|=t>>c+i&1}for(c=0;c<=24;c+=8)l<<=1,l|=t>>c+i&1;r[n+0]=o>>>0,r[n+1]=l>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,o){for(var l=0,c=0,h=n.length>>>1,i=0;i<h;i++)l<<=1,l|=t>>>n[i]&1;for(i=h;i<n.length;i++)c<<=1,c|=e>>>n[i]&1;r[o+0]=l>>>0,r[o+1]=c>>>0},e.expand=function(t,e,r){var n=0,o=0;n=(1&t)<<5|t>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=t>>>i&63;for(i=11;i>=3;i-=4)o|=t>>>i&63,o<<=6;o|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,i=0;i<4;i++){r<<=4,r|=o[64*i+(t>>>18-6*i&63)]}for(i=0;i<4;i++){r<<=4,r|=o[256+64*i+(e>>>18-6*i&63)]}return r>>>0};var l=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,i=0;i<l.length;i++)e<<=1,e|=t>>>l[i]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var o=[],i=0;i<e;i+=r)o.push(n.slice(i,i+r));return o.join(" ")}},function(t,e,r){"use strict";var n=r(83),o=r(19),l=r(405),c=r(265);function h(){this.tmp=new Array(2),this.keys=null}function d(t){c.call(this,t);var e=new h;this._desState=e,this.deriveKeys(e,t.key)}o(d,c),t.exports=d,d.create=function(t){return new d(t)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];d.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=l.readUInt32BE(e,0),o=l.readUInt32BE(e,4);l.pc1(r,o,t.tmp,0),r=t.tmp[0],o=t.tmp[1];for(var i=0;i<t.keys.length;i+=2){var c=f[i>>>1];r=l.r28shl(r,c),o=l.r28shl(o,c),l.pc2(r,o,t.keys,i)}},d.prototype._update=function(t,e,r,n){var o=this._desState,c=l.readUInt32BE(t,e),h=l.readUInt32BE(t,e+4);l.ip(c,h,o.tmp,0),c=o.tmp[0],h=o.tmp[1],"encrypt"===this.type?this._encrypt
vendor: 6,256 bytes, line 2
2(o,c,h,o.tmp,0):this._decrypt(o,c,h,o.tmp,0),c=o.tmp[0],h=o.tmp[1],l.writeUInt32BE(r,c,n),l.writeUInt32BE(r,h,n+4)},d.prototype._pad=function(t,e){if(!1===this.padding)return!1;for(var r=t.length-e,i=e;i<t.length;i++)t[i]=r;return!0},d.prototype._unpad=function(t){if(!1===this.padding)return t;for(var e=t[t.length-1],i=t.length-e;i<t.length;i++)n.equal(t[i],e);return t.slice(0,t.length-e)},d.prototype._encrypt=function(t,e,r,n,o){for(var c=e,h=r,i=0;i<t.keys.length;i+=2){var d=t.keys[i],f=t.keys[i+1];l.expand(h,t.tmp,0),d^=t.tmp[0],f^=t.tmp[1];var s=l.substitute(d,f),m=h;h=(c^l.permute(s))>>>0,c=m}l.rip(h,c,n,o)},d.prototype._decrypt=function(t,e,r,n,o){for(var c=r,h=e,i=t.keys.length-2;i>=0;i-=2){var d=t.keys[i],f=t.keys[i+1];l.expand(c,t.tmp,0),d^=t.tmp[0],f^=t.tmp[1];var s=l.substitute(d,f),m=c;c=(h^l.permute(s))>>>0,h=m}l.rip(c,h,n,o)}},function(t,e,r){var n=r(168),o=r(23).Buffer,l=r(408);function c(t){var e=t._cipher.encryptBlockRaw(t._prev);return l(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),l=t._cache.length;t._cache=o.concat([t._cache,o.allocUnsafe(16*r)]);for(var i=0;i<r;i++){var h=c(t),d=l+16*i;t._cache.writeUInt32BE(h[0],d+0),t._cache.writeUInt32BE(h[1],d+4),t._cache.writeUInt32BE(h[2],d+8),t._cache.writeUInt32BE(h[3],d+12)}var f=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,f)}},function(t,e){t.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(t,e,r){var n=r(212),o=r(23).Buffer,l=r(106),c=r(19),h=r(655),d=r(168),f=r(408);function m(t,e,r,c){l.call(this);var d=o.alloc(4,0);this._cipher=new n.AES(e);var m=this._cipher.encryptBlock(d);this._ghash=new h(m),r=function(t,e,r){if(12===e.length)return t._finID=o.concat([e,o.from([0,0,0,1])]),o.concat([e,o.from([0,0,0,2])]);var n=new h(r),l=e.length,c=l%16;n.update(e),c&&(c=16-c,n.update(o.alloc(c,0))),n.update(o.alloc(8,0));var d=8*l,m=o.alloc(8);m.writeUIntBE(d,0,8),n.update(m),t._finID=n.state;var v=o.from(t._finID);return f(v),v}(this,r,m),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=c,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}c(m,l),m.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=o.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},m.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=d(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(a,b){var t=0;a.length!==b.length&&t++;for(var e=Math.min(a.length,b.length),i=0;i<e;++i)t+=a[i]^b[i];return t}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},m.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},m.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},m.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=m},function(t,e,r){var n=r(212),o=r(23).Buffer,l=r(106);function c(t,e,r,c){l.call(this),this._cipher=new n.AES(e),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=c,this._mode=t}r(19)(c,l),c.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},t.exports=c},function(t,e,r){var n=r(137);t.exports=x,x.simpleSieve=S,x.fermatTest=M;var o=r(413),l=new o(24),c=new(r(414)),h=new o(1),d=new o(2),f=new o(5),m=(new o(16),new o(8),new o(10)),v=new o(3),y=(new o(7),new o(11)),_=new o(4),w=(new o(12),null);function T(){if(null!==w)return w;var t=[];t[0]=2;
vendor: 1,075 bytes, line 2
2for(var i=1,e=3;e<1048576;e+=2){for(var r=Math.ceil(Math.sqrt(e)),n=0;n<i&&t[n]<=r&&e%t[n]!=0;n++);i!==n&&t[n]<=r||(t[i++]=e)}return w=t,t}function S(p){for(var t=T(),i=0;i<t.length;i++)if(0===p.modn(t[i]))return 0===p.cmpn(t[i]);return!0}function M(p){var t=o.mont(p);return 0===d.toRed(t).redPow(p.subn(1)).fromRed().cmpn(1)}function x(t,e){if(t<16)return new o(2===e||5===e?[140,123]:[140,39]);var r,w;for(e=new o(e);;){for(r=new o(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(h),r.testn(1)||r.iadd(d),e.cmp(d)){if(!e.cmp(f))for(;r.mod(m).cmp(v);)r.iadd(_)}else for(;r.mod(l).cmp(y);)r.iadd(_);if(S(w=r.shrn(1))&&S(r)&&M(w)&&M(r)&&c.test(w)&&c.test(r))return r}}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base
vendor: 4,199 bytes, line 2
2=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(659).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;o*=n,o+=c>=49?c-49+10:c>=17?c-17+10:c}return o}l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this.strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this.strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 9,561 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r.strip()}l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);e=0!==(o=l>>>24-r&16777215)||i!==this.length-1?m[6-c.length]+c+e:c+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=v[base],d=y[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var _=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?_+e:m[h-_.length]+_+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},l.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,h=new t(l),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<l;i++)h[i]=0}else{for(i=0;i<l-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[l-i-1]=b}return h},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,760 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function T(t,e,r){return(new S).mulp(t,e,r)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=_),l.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?_(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r.strip()}(this,t,e):T(this,t,e),r},S.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},S.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},S.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},S.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},S.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},S.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},S.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},S.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},S.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),T(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},l.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new A(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 8,463 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,x),o(O,x),o(C,x),C.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return M[t]=e,e},A.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},A.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},A.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},A.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},A.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},A.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},A.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},A.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},A.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},A.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},A.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},A.prototype.isqr=function(a){return this.imul(a,a.clone())},A.prototype.sqr=function(a){return this.mul(a,a)},A.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},A.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new I(t)},o(I,A),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},function(t,e,r){var n=r(660),o=r(268);function l(t){this.rand=t||new o.Rand}t.exports=l,l.create=function(t){return new l(t)},l.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var a=new n(this.rand.generate(r))}while(a.cmp(t)>=0);return a},l.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},l.prototype.test=function(t,e,r){var o=t.bitLength(),l=n.mont(t),c=new n(1).toRed(l);e||(e=Math.max(1,o/48|0));for(var h=t.subn(1),s=0;!h.testn(s);s++);for(var d=t.shrn(s),f=h.toRed(l);e>0;e--){var a=this._randrange(new n(2),h);r&&r(a);var m=a.toRed(l).redPow(d);if(0!==m.cmp(c)&&0!==m.cmp(f)){for(var i=1;i<s;i++){if(0===(m=m.redSqr()).cmp(c))return!1;if(0===m.cmp(f))break}if(i===s)return!1}}return!0},l.prototype.getDivisor=function(t,e){var r=t.bitLength(),o=n.mont(t),l=new n(1).toRed(o);e||(e=Math.max(1,r/48|0));for(var c=t.subn(1),s=0;!c.testn(s);s++);for(var h=t.shrn(s),d=c.toRed(o);e>0;e--){var a=this._randrange(new n(2),c),g=t.gcd(a);if(0!==g.cmpn(1))return g;var f=a.toRed(o).redPow(h);if(0!==f.cmp(l)&&0!==f.cmp(d)){for(var i=1;i<s;i++){if(0===(f=f.redSqr()).cmp(l))return f.fromRed().subn(1).gcd(t);if(0===f.cmp(d))break}if(i===s)return(f=f.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},function(t,e,r){"use strict";var n=e;function o(t){return 1===t.length?"0"+t:t}function l(t){for(var e="",i=0;i<t.length;i++)e+=o(t[i].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!=typeof t){for(var i=0;i<t.length;i++)r[i]=0|t[i];return r}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t);for(i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(i=0;i<t.length;i++){var n=t.charCodeAt(i),o=n>>8,l=255&n;o?r.push(o,l):r.push(l)}return r},n.zero2=o,n.toHex=l,n.encode=function(t,e){return"hex"===e?l(t):t}},function(t,e,r){"use strict";var n=e;n.base=r(214),n.short=r(670),n.mont=r(671),n.edwards=r(672)},function(t,e,r){"use strict";var n=r(91).rotr32;function o(t,e,r){return t&e^~t&r}function l(t,e,r){return t&e^t&r^e&r}function c(t,e,r){return t^e^r}e.ft_1=function(s,t,e,r){return 0===s?o(t,e,r):1===s||3===s?c(t,e,r):2===s?l(t,e,r):void 0},e.ch32=o,e.maj32=l,e.p32=c,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(91),o=r(169),l=r(83),c=n.rotr64_hi,h=n.rotr64_lo,d=n.shr64_hi,f=n.shr64_lo,m=n.sum64,v=n.sum64_hi,y=n.sum64_lo,_=n.sum64_4_hi,w=n.sum64_4_lo,T=n.sum64_5_hi,S=n.sum64_5_lo,M=o.BlockHash,x=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,
vendor: 3,580 bytes, line 2
21322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function k(){if(!(this instanceof k))return new k;M.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=x,this.W=new Array(160)}function E(t,e,r,n,o){var l=t&r^~t&o;return l<0&&(l+=4294967296),l}function O(t,e,r,n,o,l){var c=e&n^~e&l;return c<0&&(c+=4294967296),c}function C(t,e,r,n,o){var l=t&r^t&o^r&o;return l<0&&(l+=4294967296),l}function A(t,e,r,n,o,l){var c=e&n^e&l^n&l;return c<0&&(c+=4294967296),c}function I(t,e){var r=c(t,e,28)^c(e,t,2)^c(e,t,7);return r<0&&(r+=4294967296),r}function P(t,e){var r=h(t,e,28)^h(e,t,2)^h(e,t,7);return r<0&&(r+=4294967296),r}function R(t,e){var r=c(t,e,14)^c(t,e,18)^c(e,t,9);return r<0&&(r+=4294967296),r}function D(t,e){var r=h(t,e,14)^h(t,e,18)^h(e,t,9);return r<0&&(r+=4294967296),r}function L(t,e){var r=c(t,e,1)^c(t,e,8)^d(t,e,7);return r<0&&(r+=4294967296),r}function N(t,e){var r=h(t,e,1)^h(t,e,8)^f(t,e,7);return r<0&&(r+=4294967296),r}function j(t,e){var r=c(t,e,19)^c(e,t,29)^d(t,e,6);return r<0&&(r+=4294967296),r}function B(t,e){var r=h(t,e,19)^h(e,t,29)^f(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(k,M),t.exports=k,k.blockSize=1024,k.outSize=512,k.hmacStrength=192,k.padLength=128,k.prototype._prepareBlock=function(t,e){for(var r=this.W,i=0;i<32;i++)r[i]=t[e+i];for(;i<r.length;i+=2){var n=j(r[i-4],r[i-3]),o=B(r[i-4],r[i-3]),l=r[i-14],c=r[i-13],h=L(r[i-30],r[i-29]),d=N(r[i-30],r[i-29]),f=r[i-32],m=r[i-31];r[i]=_(n,o,l,c,h,d,f,m),r[i+1]=w(n,o,l,c,h,d,f,m)}},k.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],o=this.h[1],c=this.h[2],h=this.h[3],d=this.h[4],f=this.h[5],_=this.h[6],dl=this.h[7],w=this.h[8],M=this.h[9],x=this.h[10],k=this.h[11],L=this.h[12],N=this.h[13],j=this.h[14],B=this.h[15];l(this.k.length===r.length);for(var i=0;i<r.length;i+=2){var F=j,U=B,z=R(w,M),V=D(w,M),$=E(w,M,x,k,L),H=O(w,M,x,k,L,N),W=this.k[i],G=this.k[i+1],Q=r[i],K=r[i+1],X=T(F,U,z,V,$,H,W,G,Q,K),Y=S(F,U,z,V,$,H,W,G,Q,K);F=I(n,o),U=P(n,o),z=C(n,o,c,h,d),V=A(n,o,c,h,d,f);var Z=v(F,U,z,V),J=y(F,U,z,V);j=L,B=N,L=x,N=k,x=w,k=M,w=v(_,dl,X,Y),M=y(dl,dl,X,Y),_=d,dl=f,d=c,f=h,c=n,h=o,n=v(X,Y,Z,J),o=y(X,Y,Z,J)}m(this.h,0,n,o),m(this.h,2,c,h),m(this.h,4,d,f),m(this.h,6,_,dl),m(this.h,8,w,M),m(this.h,10,x,k),m(this.h,12,L,N),m(this.h,14,j,B)},k.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";const n=e;n.bignum=r(420),n.define=r(689).define,n.base=r(692),n.constants=r(693),n.decoders=r(423),n.encoders=r(421)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base
vendor: 4,199 bytes, line 2
2=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(688).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;o*=n,o+=c>=49?c-49+10:c>=17?c-17+10:c}return o}l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this.strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this.strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 9,561 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r.strip()}l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);e=0!==(o=l>>>24-r&16777215)||i!==this.length-1?m[6-c.length]+c+e:c+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=v[base],d=y[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var _=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?_+e:m[h-_.length]+_+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},l.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,h=new t(l),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<l;i++)h[i]=0}else{for(i=0;i<l-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[l-i-1]=b}return h},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,760 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function T(t,e,r){return(new S).mulp(t,e,r)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=_),l.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?_(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r.strip()}(this,t,e):T(this,t,e),r},S.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},S.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},S.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},S.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},S.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},S.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},S.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},S.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},S.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),T(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},l.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new A(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 10,192 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,x),o(O,x),o(C,x),C.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return M[t]=e,e},A.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},A.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},A.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},A.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},A.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},A.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},A.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},A.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},A.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},A.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},A.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},A.prototype.isqr=function(a){return this.imul(a,a.clone())},A.prototype.sqr=function(a){return this.mul(a,a)},A.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},A.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new I(t)},o(I,A),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},function(t,e,r){"use strict";const n=e;n.der=r(422),n.pem=r(690)},function(t,e,r){"use strict";const n=r(19),o=r(275).Buffer,l=r(276),c=r(278);function h(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new d,this.tree._init(t.body)}function d(t){l.call(this,"der",t)}function f(t){return t<10?"0"+t:t}t.exports=h,h.prototype.encode=function(data,t){return this.tree._encode(data,t).join()},n(d,l),d.prototype._encodeComposite=function(t,e,r,content){const n=function(t,e,r,n){let o;"seqof"===t?t="seq":"setof"===t&&(t="set");if(c.tagByName.hasOwnProperty(t))o=c.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);o=t}if(o>=31)return n.error("Multi-octet tag encoding unsupported");e||(o|=32);return o|=c.tagClassByName[r||"universal"]<<6,o}(t,e,r,this.reporter);if(content.length<128){const header=o.alloc(2);return header[0]=n,header[1]=content.length,this._createEncoderBuffer([header,content])}let l=1;for(let i=content.length;i>=256;i>>=8)l++;const header=o.alloc(2+l);header[0]=n,header[1]=128|l;for(let i=1+l,t=content.length;t>0;i--,t>>=8)header[i]=255&t;return this._createEncoderBuffer([header,content])},d.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=o.alloc(2*t.length);for(let i=0;i<t.length;i++)e.writeUInt16BE(t.charCodeAt(i),2*i);return this._createEncoderBuffer(e)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},d.prototype._encodeObjid=function(t,e,r){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(let i=0;i<t.length;i++)t[i]|=0}else if(Array.isArray(t)){t=t.slice();for(let i=0;i<t.length;i++)t[i]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let n=0;for(let i=0;i<t.length;i++){let e=t[i];for(n++;e>=128;e>>=7)n++}const l=o.alloc(n);let c=l.length-1;for(let i=t.length-1;i>=0;i--){let e=t[i];for(l[c--]=127&e;(e>>=7)>0;)l[c--]=128|127&e}return this._createEncoderBuffer(l)},d.prototype._encodeTime=function(time,t){let e;const r=new Date(time);return"gentime"===t?e=[f(r.getUTCFullYear()),f(r.getUTCMonth()+1),f(r.getUTCDate()),f(r.getUTCHours()),f(r.getUTCMinutes()),f(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?e=[f(r.getUTCFullYear()%100),f(r.getUTCMonth()+1),f(r.getUTCDate()),f(r.getUTCHours()),f(r.getUTCMinutes()),f(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(e,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!o.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=o.from(e)}if(o.isBuffer(t)){let e=t.length;0===t.length&&e++;const r=o.alloc(e);return t.copy(r),0===t.length&&(r[0]=0),this._createEncoderBuffer(r)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let r=1;for(let i=t;i>=256;i>>=8)r++;const n=new Array(r);for(let i=n.length-1;i>=0;i--)n[i]=255&t,t>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(o.from(n))},d.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},d.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},d.prototype._skipDefault=function(t,e,r){const n=this._baseState;let i;if(null===n.default)return!1;const data=t.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,e,r).join()),data.length!==n.defaultBuffer.length)return!1;for(i=0;i<data.length;i++)if(data[i]!==n.defaultBuffer[i])return!1;return!0}},function(t,e,r){"use strict";const n=e;n.der=r(424),n.pem=r(691)},function(t,e,r){"use strict";const n=r(19),o=r(420),l=r(170).DecoderBuffer,c=r(276),h=r(278);function d(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new f,this.tree._init(t.body)}function f(t){c.call(this,"der",t)}function m(t,e){let r=t.readUInt8(e);if(t.isError(r))return r;const n=h.tagClass[r>>6],o=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=t.readUInt8(e),t.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:h.tag[r]}}function v(t,e,r){let n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;const o=127&n;if(o>4)return t.error("length octect is too long");n=0;for(let i=0;i<o;i++){n<<=8;const e=t.readUInt8(r);if(t.isError(e))return e;n|=e}return n}t.exports=d,d.prototype.decode=function(data,t){return l.isDecoderBuffer(data)||(data=new l(
2data,t)),this.tree._decode(data,t)},n(f,c),f.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;const n=t.save(),o=m(t,'Failed to peek tag: "'+e+'"');return t.isError(o)?o:(t.restore(n),o.tag===e||o.tagStr===e||o.tagStr+"of"===e||r)},f.prototype._decodeTag=function(t,e,r){const n=m(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;let o=v(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(o))return o;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==o)return t.skip(o,'Failed to match body of: "'+e+'"');const l=t.save(),c=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(c)?c:(o=t.offset-l.offset,t.restore(l),t.skip(o,'Failed to match body of: "'+e+'"'))},f.prototype._skipUntilEnd=function(t,e){for(;;){const r=m(t,e);if(t.isError(r))return r;const n=v(t,r.primitive,e);if(t.isError(n))return n;let o;if(o=r.primitive||null!==n?t.skip(n):this._skipUntilEnd(t,e),t.isError(o))return o;if("end"===r.tagStr)break}},f.prototype._decodeList=function(t,e,r,n){const o=[];for(;!t.isEmpty();){const e=this._peekTag(t,"end");if(t.isError(e))return e;const l=r.decode(t,"der",n);if(t.isError(l)&&e)break;o.push(l)}return o},f.prototype._decodeStr=function(t,e){if("bitstr"===e){const e=t.readUInt8();return t.isError(e)?e:{unused:e,data:t.raw()}}if("bmpstr"===e){const e=t.raw();if(e.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");let r="";for(let i=0;i<e.length/2;i++)r+=String.fromCharCode(e.readUInt16BE(2*i));return r}if("numstr"===e){const e=t.raw().toString("ascii");return this._isNumstr(e)?e:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){const e=t.raw().toString("ascii");return this._isPrintstr(e)?e:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},f.prototype._decodeObjid=function(t,e,r){let n;const o=[];let l=0,c=0;for(;!t.isEmpty();)c=t.readUInt8(),l<<=7,l|=127&c,0==(128&c)&&(o.push(l),l=0);128&c&&o.push(l);const h=o[0]/40|0,d=o[0]%40;if(n=r?o:[h,d].concat(o.slice(1)),e){let t=e[n.join(" ")];void 0===t&&(t=e[n.join(".")]),void 0!==t&&(n=t)}return n},f.prototype._decodeTime=function(t,e){const r=t.raw().toString();let n,o,l,c,h,d;if("gentime"===e)n=0|r.slice(0,4),o=0|r.slice(4,6),l=0|r.slice(6,8),c=0|r.slice(8,10),h=0|r.slice(10,12),d=0|r.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");n=0|r.slice(0,2),o=0|r.slice(2,4),l=0|r.slice(4,6),c=0|r.slice(6,8),h=0|r.slice(8,10),d=0|r.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,o-1,l,c,h,d,0)},f.prototype._decodeNull=function(){return null},f.prototype._decodeBool=function(t){const e=t.readUInt8();return t.isError(e)?e:0!==e},f.prototype._decodeInt=function(t,e){const r=t.raw();let n=new o(r);return e&&(n=e[n.toString(10)]||n),n},f.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(t,e,r){var n=r(164),o=r(23).Buffer;function l(t){var e=o.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var r,c=o.alloc(0),i=0;c.length<e;)r=l(i++),c=o.concat([c,n("sha1").update(t).update(r).digest()]);return c.slice(0,e)}},function(t,e){t.exports=function(a,b){for(var t=a.length,i=-1;++i<t;)a[i]^=b[i];return a}},function(t,e,r){var n=r(279),o=r(23).Buffer;t.exports=function(t,e){return o.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},function(t,e,r){"use strict";function n(t){let e;return document.cookie.split(";").some((r=>{const n=r.replace(/^\s+|\s+$/g,"").split("="),o=n[0]===t;return o&&(e=n),o})),unescape(e)}r.r(e),r.d(e,"setExpire",(function(){return h})),r.d(e,"local",(function(){return d})),r.d(e,"session",(function(){return f}));let o=24;function l(t,e){const r=o>0?(new Date).getTime()+60*o*60*1e3:(new Date).getTime()+864e5;return document.cookie=t+"="+escape(e)+"; expires="+new Date(r).toUTCString()+"; path=/"}let c={localStorage:{},sessionStorage:{}};const h=t=>{o=t},d={get:t=>{try{const e=n(t);return l(t,""),e.split(",")[1]}catch(t){return""}},set:(t,e)=>{c.localStorage[t]=e}},f={get:t=>{try{const e=n(t);return l(t,""),e.split(",")[1]}catch(t){return""}},set:(t,e)=>c.sessionStorage[t]=e};window.addEventListener("beforeunload",(function(t){Object.keys(c.localStorage).forEach((t=>{l(t,c.localStorage[t])})),Object.keys(c.sessionStorage).forEach((t=>{l(t,c.sessionStorage[t])}))}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=Object.prototype,o=n.toString,l=n.hasOwnProperty,c=new Map;function h(a,b){try{return d(a,b)}finally{c.clear()}}function d(a,b){if(a===b)return!0;var t=o.call(a);if(t!==o.call(b))return!1;switch(t){case"[object Array]":if(a.length!==b.length)return!1;case"[object Object]":if(f(a,b))return!0;var e=Object.keys(a),r=Object.keys(b),n=e.length;if(n!==r.length)return!1;for(var c=0;c<n;++c)if(!l.call(b,e[c]))return!1;for(c=0;c<n;++c){var h=e[c];if(!d(a[h],b[h]))return!1}return!0;case"[object Error]":return a.name===b.name&&a.message===b.message;case"[object Number]":if(a!=a)return b!=b;case"[object Boolean]":case"[object Date]":return+a==+b;case"[object RegExp]":case"[object String]":return a==""+b;case"[object Map]":case"[object Set]":if(a.size!==b.size)return!1;if(f(a,b))return!0;for(var m=a.entries(),v="[object Map]"===t;;){var y=m.next();if(y.done)break;var _=y.value,w=_[0],T=_[1];if(!b.has(w))return!1;if(v&&!d(T,b.get(w)))return!1}return!0}return!1}function f(a,b){var t=c.get(a);if(t){if(t.has(b))return!0}else c.set(a,t=new Set);return t.add(b),!1}},function(t,e,r){"use strict";var n=r(281);t.exports=function t(e,path,r){var o;void 0===path&&(path=""),void 0===r&&(r=n);var l=new Map;function c(t,e){var r=l.get(e);r?r.push.apply(r,t):l.set(e,t)}if(r(e))o=null,c([path],e);else{var h=path?path+".":"";if("undefined"!=typeof FileList&&e instanceof FileList)o=Array.prototype.map.call(e,(function(t,i){return c([""+h+i],t),null}));else if(Array.isArray(e))o=e.map((function(e,i){var n=t(e,""+h+i,r);
2return n.files.forEach(c),n.clone}));else if(e&&e.constructor===Object)for(var i in o={},e){var d=t(e[i],""+h+i,r);d.files.forEach(c),o[i]=d.clone}else o=e}return{clone:o,files:l}}},,,,,,,,,,,,,,function(t,e,r){"use strict";function n(t,e){return e=e||{},new Promise((function(r,n){var s=new XMLHttpRequest,o=[],u={},a=function t(){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:t,headers:{keys:function(){return o},entries:function(){return o.map((function(t){return[t,s.getResponseHeader(t)]}))},get:function(t){return s.getResponseHeader(t)},has:function(t){return null!=s.getResponseHeader(t)}}}};for(var i in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,(function(t,e){u[e]||o.push(u[e]=e)})),r(a())},s.onerror=n,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(i,e.headers[i]);s.send(e.body||null)}))}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function c(t,source,e){return t.concat(source).map((function(element){return l(element,e)}))}function h(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return Object.propertyIsEnumerable.call(t,symbol)})):[]}(t))}function d(object,t){try{return t in object}catch(t){return!1}}function f(t,source,e){var r={};return e.isMergeableObject(t)&&h(t).forEach((function(n){r[n]=l(t[n],e)})),h(source).forEach((function(n){(function(t,e){return d(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,n)||(d(t,n)&&e.isMergeableObject(source[n])?r[n]=function(t,e){if(!e.customMerge)return m;var r=e.customMerge(t);return"function"==typeof r?r:m}(n,e)(t[n],source[n],e):r[n]=l(source[n],e))})),r}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||c,e.isMergeableObject=e.isMergeableObject||n,e.cloneUnlessOtherwiseSpecified=l;var r=Array.isArray(source);return r===Array.isArray(t)?r?e.arrayMerge(t,source,e):f(t,source,e):l(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return m(t,r,e)}),{})};var v=m;t.exports=v},,,,function(t,e,r){"use strict";(function(t){for(var n,o=r(0),l=r.n(o),c=r(5),h=r.n(c),d=r(77),f=r.n(d),m=r(18),v=r.n(m),y=r(15),_=r.n(y),w=r(6),T=r.n(w),S=r(451),M=r.n(S),x=r(289),k=r.n(x),E=r(290),O=r.n(E),C=r(284),A=r.n(C),I=r(452),P=r.n(I),R=r(142),D=r(472),L=r(37),N=r(292),j=r(2),B=r(114),F=r(454),U=r.n(F),z=r(125),V=r(182),$=r(179),H=r(455),W=r.n(H),G="7.21.5",Q={},K=function(t,e){return Q[t]=Q[t]||[],e&&(Q[t]=Q[t].concat(e)),Q[t]},X=function(t,e){var r=K(t).indexOf(e);return!(r<=-1)&&(Q[t]=Q[t].slice(),Q[t].splice(r,1),!0)},Y={prefixed:!0},Z=[["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"]],J=Z[0],i=0;i<Z.length;i++)if(Z[i][1]in h.a){n=Z[i];break}if(n){for(var tt=0;tt<n.length;tt++)Y[J[tt]]=n[tt];Y.prefixed=n[0]!==J[0]}var et=[];var it=function t(e){var r,n="info",o=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];r("log",n,e)};return r=function(t,e){return function(r,n,o){var c=e.levels[n],h=new RegExp("^("+c+")$");if("log"!==r&&o.unshift(r.toUpperCase()+":"),o.unshift(t+":"),et){et.push([].concat(o));var d=et.length-1e3;et.splice(0,d>0?d:0)}if(l.a.console){var f=l.a.console[r];f||"debug"!==r||(f=l.a.console.info||l.a.console.log),f&&c&&h.test(r)&&f[Array.isArray(o)?"apply":"call"](l.a.
vendor: 55,429 bytes, line 2
2console,o)}}}(e,o),o.createLogger=function(r){return t(e+": "+r)},o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},o.level=function(t){if("string"==typeof t){if(!o.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');n=t}return n},(o.history=function(){return et?[].concat(et):[]}).filter=function(t){return(et||[]).filter((function(e){return new RegExp(".*"+t+".*").test(e[0])}))},o.history.clear=function(){et&&(et.length=0)},o.history.disable=function(){null!==et&&(et.length=0,et=null)},o.history.enable=function(){null===et&&(et=[])},o.error=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return r("error",n,e)},o.warn=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return r("warn",n,e)},o.debug=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return r("debug",n,e)},o}("VIDEOJS"),nt=it.createLogger,ot=Object.prototype.toString,at=function(object){return lt(object)?Object.keys(object):[]};function st(object,t){at(object).forEach((function(e){return t(object[e],e)}))}function ut(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return Object.assign?f.a.apply(void 0,[t].concat(r)):(r.forEach((function(source){source&&st(source,(function(e,r){t[r]=e}))})),t)}function lt(t){return!!t&&"object"==typeof t}function ct(t){return lt(t)&&"[object Object]"===ot.call(t)&&t.constructor===Object}function ht(t,e){if(!t||!e)return"";if("function"==typeof l.a.getComputedStyle){var r;try{r=l.a.getComputedStyle(t)}catch(t){return""}return r?r.getPropertyValue(e)||r[e]:""}return""}var ft,pt=l.a.navigator&&l.a.navigator.userAgent||"",mt=/AppleWebKit\/([\d.]+)/i.exec(pt),gt=mt?parseFloat(mt.pop()):null,vt=/iPod/i.test(pt),yt=(ft=pt.match(/OS (\d+)_/i))&&ft[1]?ft[1]:null,bt=/Android/i.test(pt),_t=function(){var t=pt.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),r=t[2]&&parseFloat(t[2]);return e&&r?parseFloat(t[1]+"."+t[2]):e||null}(),wt=bt&&_t<5&&gt<537,Tt=/Firefox/i.test(pt),St=/Edg/i.test(pt),Mt=!St&&(/Chrome/i.test(pt)||/CriOS/i.test(pt)),xt=function(){var t=pt.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),kt=function(){var t=/MSIE\s(\d+)\.\d/.exec(pt),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(pt)&&/rv:11.0/.test(pt)&&(e=11),e}(),Et=/Safari/i.test(pt)&&!Mt&&!bt&&!St,Ot=/Windows/i.test(pt),Ct=Boolean(jt()&&("ontouchstart"in l.a||l.a.navigator.maxTouchPoints||l.a.DocumentTouch&&l.a.document instanceof l.a.DocumentTouch)),At=/iPad/i.test(pt)||Et&&Ct&&!/iPhone/i.test(pt),It=/iPhone/i.test(pt)&&!At,Pt=It||At||vt,Rt=(Et||Pt)&&!Mt,Dt=Object.freeze({__proto__:null,IS_IPOD:vt,IOS_VERSION:yt,IS_ANDROID:bt,ANDROID_VERSION:_t,IS_NATIVE_ANDROID:wt,IS_FIREFOX:Tt,IS_EDGE:St,IS_CHROME:Mt,CHROME_VERSION:xt,IE_VERSION:kt,IS_SAFARI:Et,IS_WINDOWS:Ot,TOUCH_ENABLED:Ct,IS_IPAD:At,IS_IPHONE:It,IS_IOS:Pt,IS_ANY_SAFARI:Rt});function Lt(t){return"string"==typeof t&&Boolean(t.trim())}function Nt(t){if(t.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function jt(){return h.a===l.a.document}function Bt(t){return lt(t)&&1===t.nodeType}function Ft(){try{return l.a.parent!==l.a.self}catch(t){return!0}}function Ut(t){return function(e,r){if(!Lt(e))return h.a[t](null);Lt(r)&&(r=h.a.querySelector(r));var n=Bt(r)?r:h.a;return n[t]&&n[t](e)}}function qt(t,e,r,content){void 0===t&&(t="div"),void 0===e&&(e={}),void 0===r&&(r={});var n=h.a.createElement(t);return Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(it.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+t+" to "+r+"."),n.setAttribute(t,r)):"textContent"===t?zt(n,r):n[t]===r&&"tabIndex"!==t||(n[t]=r)})),Object.getOwnPropertyNames(r).forEach((function(t){n.setAttribute(t,r[t])})),content&&se(n,content),n}function zt(t,text){return void 0===t.textContent?t.innerText=text:t.textContent=text,t}function Vt(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function $t(element,t){return Nt(t),element.classList?element.classList.contains(t):(e=t,new RegExp("(^|\\s)"+e+"($|\\s)")).test(element.className);var e}function Ht(element,t){return element.classList?element.classList.add(t):$t(element,t)||(element.className=(element.className+" "+t).trim()),element}function Wt(element,t){return element?(element.classList?element.classList.remove(t):(Nt(t),element.className=element.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),element):(it.warn("removeClass was called with an element that doesn't exist"),null)}function Gt(element,t,e){var r=$t(element,t);if("function"==typeof e&&(e=e(element,t)),"boolean"!=typeof e&&(e=!r),e!==r)return e?Ht(element,t):Wt(element,t),element}function Qt(t,e){Object.getOwnPropertyNames(e).forEach((function(r){var n=e[r];null==n||!1===n?t.removeAttribute(r):t.setAttribute(r,!0===n?"":n)}))}function Kt(t){var e={},r=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var n=t.attributes,i=n.length-1;i>=0;i--){var o=n[i].name,l=n[i].value;"boolean"!=typeof t[o]&&-1===r.indexOf(","+o+",")||(l=null!==l),e[o]=l}return e}function Xt(t,e){return t.getAttribute(e)}function Yt(t,e,r){t.setAttribute(e,r)}function Zt(t,e){t.removeAttribute(e)}function Jt(){h.a.body.focus(),h.a.onselectstart=function(){return!1}}function te(){h.a.onselectstart=function(){return!0}}function ee(t){if(t&&t.getBoundingClientRect&&t.parentNode){var rect=t.getBoundingClientRect(),e={};return["bottom","height","left","right","top","width"].forEach((function(t){void 0!==rect[t]&&(e[t]=rect[t])})),e.height||(e.height=parseFloat(ht(t,"height"))),e.width||(e.width=parseFloat(ht(t,"width"))),e}}function re(t){if(!t||t&&!t.offsetParent)return{left:0,top:0,width:0,height:0};for(var e=t.offsetWidth,r=t.offsetHeight,n=0,o=0;t.offsetParent&&t!==h.a[Y.fullscreenElement];)n+=t.offsetLeft,o+=t.offsetTop,t=t.offsetParent;return{left:n,top:o,width:e,height:r}}function ie(t,e){var r={x:0,y:0};if(Pt)for(var n=t;n&&"html"!==n.nodeName.toLowerCase();){var o=ht(n,"transform");if(/^matrix/.test(o)){var l=o.slice(7,-1).split(/,\s/).map(Number);r.x+=l[4],r.y+=l[5]}else if(/^matrix3d/.test(o)){var c=o.slice(9,-1).split(/,\s/).map(Number);r.x+=c[12],r.y+=c[13]}n=n.parentNode}var h={},d=re(e.target),f=re(t),m=f.width,v=f.height,y=e.offsetY-(f.top-d.top),_=e.offsetX-(f.left-d.left);return e.changedTouches&&(_=e.changedTouches[0].pageX-f.left,y=e.changedTouches[0].pageY+f.top,Pt&&(_-=r.x,y-=r.y)),h.y=1-Math.max(0,Math.min(1,y/v)),h.x=Math.max(0,Math.min(1,_/m)),h}function ne(t){return lt(t)&&3===t.nodeType}function oe(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function ae(content){return"function"==typeof content&&(content=content()),(Array.isArray(content)?content:[content]).map((function(t){return"function"==typeof t&&(t=t()),Bt(t)||ne(t)?t:"string"==typeof t&&/\S/.test(t)?h.a.createTextNode(t):void 0})).filter((function(t){return t}))}function se(t,content){return ae(content).forEach((function(e){return t.appendChild(e)})),t}function ue(t,content){return se(oe(t),content)}function le(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||("mouseup"===t.type&&0===t.button&&0===t.buttons||0===t.button&&1===t.buttons))}var ce,he=Ut("querySelector"),de=Ut("querySelectorAll"),fe=Object.freeze({__proto__:null,isReal:jt,isEl:Bt,isInFrame:Ft,createEl:qt,textContent:zt,prependTo:Vt,hasClass:$t,addClass:Ht,removeClass:Wt,toggleClass:Gt,setAttributes:Qt,getAttributes:Kt,getAttribute:Xt,setAttribute:Yt,removeAttribute:Zt,blockTextSelection:Jt,unblockTextSelection:te,getBoundingClientRect:ee,findPosition:re,getPointerPosition:ie,isTextNode:ne,emptyEl:oe,normalizeContent:ae,appendContent:se,insertContent:ue,isSingleLeftClick:le,$:he,$$:de}),pe=!1,me=function(){if(!1!==ce.options.autoSetup){var t=Array.prototype.slice.call(h.a.getElementsByTagName("video")),e=Array.prototype.slice.call(h.a.getElementsByTagName("audio")),r=Array.prototype.slice.call(h.a.getElementsByTagName("video-js")),n=t.concat(e,r);if(n&&n.length>0)for(var i=0,o=n.length;i<o;i++){var l=n[i];if(!l||!l.getAttribute){ge(1);break}void 0===l.player&&null!==l.getAttribute("data-setup")&&ce(l)}else pe||ge(1)}};function ge(t,e){jt()&&(e&&(ce=e),l.a.setTimeout(me,t))}function ve(){pe=!0,l.a.removeEventListener("load",ve)}jt()&&("complete"===h.a.readyState?ve():l.a.addEventListener("load",ve));var ye,be=function(t){var style=h.a.createElement("style");return style.className=t,style},_e=function(t,content){t.styleSheet?t.styleSheet.cssText=content:t.textContent=content},we=3;function Te(){return we++}l.a.WeakMap||(ye=function(){function t(){this.vdata="vdata"+Math.floor(l.a.performance&&l.a.performance.now()||Date.now()),this.data={}}var e=t.prototype;return e.set=function(t,e){var r=t[this.vdata]||Te();return t[this.vdata]||(t[this.vdata]=r),this.data[r]=e,this},e.get=function(t){var e=t[this.vdata];if(e)return this.data[e];it("We have no data for this element",t)},e.has=function(t){return t[this.vdata]in this.data},e.delete=function(t){var e=t[this.vdata];e&&(delete this.data[e],delete t[this.vdata])},t}());var Se,Me=l.a.WeakMap?new WeakMap:new ye;function xe(t,e){if(Me.has(t)){var data=Me.get(t);0===data.handlers[e].length&&(delete data.handlers[e],t.removeEventListener?t.removeEventListener(e,data.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,data.dispatcher)),Object.getOwnPropertyNames(data.handlers).length<=0&&(delete data.handlers,delete data.dispatcher,delete data.disabled),0===Object.getOwnPropertyNames(data).length&&Me.delete(t)}}function ke(t,e,r,n){r.forEach((function(r){t(e,r,n)}))}function Ee(t){if(t.fixed_)return t;function e(){return!0}function r(){return!1}if(!t||!t.isPropagationStopped||!t.isImmediatePropagationStopped){var n=t||l.a.event;for(var o in t={},n)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&"path"!==o&&("returnValue"===o&&n.preventDefault||(t[o]=n[o]));if(t.target||(t.target=t.srcElement||h.a),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){n.preventDefault&&n.preventDefault(),t.returnValue=!1,n.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),t.cancelBubble=!0,n.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=r,t.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=r,null!==t.clientX&&void 0!==t.clientX){var c=h.a.documentElement,body=h.a.body;t.pageX=t.clientX+(c&&c.scrollLeft||body&&body.scrollLeft||0)-(c&&c.clientLeft||body&&body.clientLeft||0),t.pageY=t.clientY+(c&&c.scrollTop||body&&body.scrollTop||0)-(c&&c.clientTop||body&&body.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t.fixed_=!0,t}var Oe=function(){if("boolean"!=typeof Se){Se=!1;try{var t=Object.defineProperty({},"passive",{get:function(){Se=!0}});l.a.addEventListener("test",null,t),l.a.removeEventListener("test",null,t)}catch(t){}}return Se},Ce=["touchstart","touchmove"];function Ae(t,e,r){if(Array.isArray(e))return ke(Ae,t,e,r);Me.has(t)||Me.set(t,{});var data=Me.get(t);if(data.handlers||(data.handlers={}),data.handlers[e]||(data.handlers[e]=[]),r.guid||(r.guid=Te()),data.handlers[e].push(r),data.dispatcher||(data.disabled=!1,data.dispatcher=function(e,r){if(!data.disabled){e=Ee(e);var n=data.handlers[e.type];if(n)for(var o=n.slice(0),l=0,c=o.length;l<c&&!e.isImmediatePropagationStopped();l++)try{o[l].call(t,e,r)}catch(t){it.error(t)}}}),1===data.handlers[e].length)if(t.addEventListener){var n=!1;Oe()&&Ce.indexOf(e)>-1&&(n={passive:!0}),t.addEventListener(e,data.dispatcher,n)}else t.attachEvent&&t.attachEvent("on"+e,data.dispatcher)}function Ie(t,e,r){if(Me.has(t)){var data=Me.get(t);if(data.handlers){if(Array.isArray(e))return ke(Ie,t,e,r);var n=function(t,e){data.handlers[e]=[],xe(t,e)};if(void 0!==e){var o=data.handlers[e];if(o)if(r){if(r.guid)for(var l=0;l<o.length;l++)o[l].guid===r.guid&&o.splice(l--,1);xe(t,e)}else n(t,e)}else for(var c in data.handlers)Object.prototype.hasOwnProperty.call(data.handlers||{},c)&&n(t,c)}}}function Pe(t,e,r){var n=Me.has(t)?Me.get(t):{},o=t.parentNode||t.ownerDocument;if("string"==typeof e?e={type:e,target:t}:e.target||(e.target=t),e=Ee(e),n.dispatcher&&n.dispatcher.call(t,e,r),o&&!e.isPropagationStopped()&&!0===e.bubbles)Pe.call(null,o,e,r);else if(!o&&!e.defaultPrevented&&e.target&&e.target[e.type]){Me.has(e.target)||Me.set(e.target,{});var l=Me.get(e.target);e.target[e.type]&&(l.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),l.disabled=!1)}return!e.defaultPrevented}function Re(t,e,r){if(Array.isArray(e))return ke(Re,t,e,r);var n=function n(){Ie(t,e,n),r.apply(this,arguments)};n.guid=r.guid=r.guid||Te(),Ae(t,e,n)}function De(t,e,r){var n=function n(){Ie(t,e,n),r.apply(this,arguments)};n.guid=r.guid=r.guid||Te(),Ae(t,e,n)}var Le,Ne=Object.freeze({__proto__:null,fixEvent:Ee,on:Ae,off:Ie,trigger:Pe,one:Re,any:De}),je=30,Be=function(t,e,r){e.guid||(e.guid=Te());var n=e.bind(t);return n.guid=r?r+"_"+e.guid:e.guid,n},Fe=function(t,e){var r=l.a.performance.now();return function(){var n=l.a.performance.now();n-r>=e&&(t.apply(void 0,arguments),r=n)}},Ue=function(){};Ue.prototype.allowedEvents_={},Ue.prototype.on=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},Ae(this,t,e),this.addEventListener=r},Ue.prototype.addEventListener=Ue.prototype.on,Ue.prototype.off=function(t,e){Ie(this,t,e)},Ue.prototype.removeEventListener=Ue.prototype.off,Ue.prototype.one=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},Re(this,t,e),this.addEventListener=r},Ue.prototype.any=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},De(this,t,e),this.addEventListener=r},Ue.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=Ee(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),Pe(this,t)},Ue.prototype.dispatchEvent=Ue.prototype.trigger,Ue.prototype.queueTrigger=function(t){var e=this;Le||(Le=new Map);var r=t.type||t,map=Le.get(this);map||(map=new Map,Le.set(this,map));var n=map.get(r);map.delete(r),l.a.clearTimeout(n);var o=l.a.setTimeout((function(){map.delete(r),0===map.size&&(map=null,Le.delete(e)),e.trigger(t)}),0);map.set(r,o)};var qe=function(t){return"function"==typeof t.name?t.name():"string"==typeof t.name?t.name:t.name_?t.name_:t.constructor&&t.constructor.name?t.constructor.name:typeof t},ze=function(object){return object instanceof Ue||!!object.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"==typeof object[t]}))},Ve=function(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},$e=function(t,e,r){if(!t||!t.nodeName&&!ze(t))throw new Error("Invalid target for "+qe(e)+"#"+r+"; must be a DOM node or evented object.")},He=function(t,e,r){if(!Ve(t))throw new Error("Invalid event type for "+qe(e)+"#"+r+"; must be a non-empty string or array.")},We=function(t,e,r){if("function"!=typeof t)throw new Error("Invalid listener for "+qe(e)+"#"+r+"; must be a function.")},Ge=function(t,e,r){var n,o,l,c=e.length<3||e[0]===t||e[0]===t.eventBusEl_;return c?(n=t.eventBusEl_,e.length>=3&&e.shift(),o=e[0],l=e[1]):(n=e[0],o=e[1],l=e[2]),$e(n,t,r),He(o,t,r),We(l,t,r),{isTargetingSelf:c,target:n,type:o,listener:l=Be(t,l)}},Qe=function(t,e,r,n){$e(t,t,e),t.nodeName?Ne[e](t,r,n):t[e](r,n)},Ke={on:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Ge(this,r,"on"),l=o.isTargetingSelf,c=o.target,h=o.type,d=o.listener;if(Qe(c,"on",h,d),!l){var f=function(){return t.off(c,h,d)};f.guid=d.guid;var m=function(){return t.off("dispose",f)};m.guid=d.guid,Qe(this,"on","dispose",f),Qe(c,"on","dispose",m)}},one:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Ge(this,r,"one"),l=o.isTargetingSelf,c=o.target,h=o.type,d=o.listener;if(l)Qe(c,"one",h,d);else{var f=function e(){t.off(c,h,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];d.apply(null,n)};f.guid=d.guid,Qe(c,"one",h,f)}},any:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Ge(this,r,"any"),l=o.isTargetingSelf,c=o.target,h=o.type,d=o.listener;if(l)Qe(c,"any",h,d);else{var f=function e(){t.off(c,h,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];d.apply(null,n)};f.guid=d.guid,Qe(c,"any",h,f)}},off:function(t,e,r){if(!t||Ve(t))Ie(this.eventBusEl_,t,e);else{var n=t,o=e;$e(n,this,"off"),He(o,this,"off"),We(r,this,"off"),r=Be(this,r),this.off("dispose",r),n.nodeName?(Ie(n,o,r),Ie(n,"dispose",r)):ze(n)&&(n.off(o,r),n.off("dispose",r))}},trigger:function(t,e){$e(this.eventBusEl_,this,"trigger");var r=t&&"string"!=typeof t?t.type:t;if(!Ve(r)){var n="Invalid event type for "+qe(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!t)throw new Error(n);(this.log||it).error(n)}return Pe(this.eventBusEl_,t,e)}};function Xe(t,e){void 0===e&&(e={});var r=e.eventBusKey;if(r){if(!t[r].nodeName)throw new Error('The eventBusKey "'+r+'" does not refer to an element.');t.eventBusEl_=t[r]}else t.eventBusEl_=qt("span",{className:"vjs-event-bus"});return ut(t,Ke),t.eventedCallbacks&&t.eventedCallbacks.forEach((function(t){t()})),t.on("dispose",(function(){t.off(),[t,t.el_,t.eventBusEl_].forEach((function(t){t&&Me.has(t)&&Me.delete(t)})),l.a.setTimeout((function(){t.eventBusEl_=null}),0)})),t}var Ye={state:{},setState:function(t){var e,r=this;return"function"==typeof t&&(t=t()),st(t,(function(t,n){r.state[n]!==t&&((e=e||{})[n]={from:r.state[n],to:t}),r.state[n]=t})),e&&ze(this)&&this.trigger({changes:e,type:"statechanged"}),e}};function Ze(t,e){return ut(t,Ye),t.state=ut({},t.state,e),"function"==typeof t.handleStateChanged&&ze(t)&&t.on("statechanged",t.handleStateChanged),t}var Je=function(t){return"string"!=typeof t?t:t.replace(/./,(function(t){return t.toLowerCase()}))},er=function(t){return"string"!=typeof t?t:t.replace(/./,(function(t){return t.toUpperCase()}))};function rr(){for(var t={},e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.forEach((function(source){source&&st(source,(function(e,r){ct(e)?(ct(t[r])||(t[r]={}),t[r]=rr(t[r],e)):t[r]=e}))})),t}var ir=function(){function t(){this.map_={}}var e=t.prototype;return e.has=function(t){return t in this.map_},e.delete=function(t){var e=this.has(t);return delete this.map_[t],e},e.set=function(t,e){return this.map_[t]=e,this},e.forEach=function(t,e){for(var r in this.map_)t.call(e,this.map_[r],r,this)},t}(),nr=l.a.Map?l.a.Map:ir,or=function(){function t(){this.set_={}}var e=t.prototype;return e.has=function(t){return t in this.set_},e.delete=function(t){var e=this.has(t);return delete this.set_[t],e},e.add=function(t){return this.set_[t]=1,this},e.forEach=function(t,e){for(var r in this.set_)t.call(e,r,r,this)},t}(),ar=l.a.Set?l.a.Set:or,sr=function(){function t(t,e,r){var n=this;if(!t&&this.play?this.player_=t=this:this.player_=t,this.isDisposed_=!1,this.parentComponent_=null,this.options_=rr({},this.options_),e=this.options_=rr(this.options_,e),this.id_=e.id||e.el&&e.el.id,!this.id_){var o=t&&t.id&&t.id()||"no_player";this.id_=o+"_component_"+Te()}this.name_=e.name||null,e.el?this.el_=e.el:!1!==e.createEl&&(this.el_=this.createEl()),e.className&&this.el_&&e.className.split(" ").forEach((function(t){return n.addClass(t)})),!1!==e.evented&&(Xe(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Ze(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new ar,this.setIntervalIds_=new ar,this.rafIds_=new ar,this.namedRafs_=new nr,this.clearingTimersOnDispose_=!1,!1!==e.initChildren&&this.initChildren(),this.ready(r),!1!==e.reportTouchActivity&&this.enableTouchActivity()}var e=t.prototype;return e.dispose=function(t){if(void 0===t&&(t={}),!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&&(t.restoreEl?this.el_.parentNode.replaceChild(t.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},e.isDisposed=function(){return Boolean(this.isDisposed_)},e.player=function(){return this.player_},e.options=function(t){return t?(this.options_=rr(this.options_,t),this.options_):this.options_},e.el=function(){return this.el_},e.createEl=function(t,e,r){return qt(t,e,r)},e.localize=function(t,e,r){void 0===r&&(r=t);var code=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages(),o=n&&n[code],l=code&&code.split("-")[0],c=n&&n[l],h=r;return o&&o[t]?h=o[t]:c&&c[t]&&(h=c[t]),e&&(h=h.replace(/\{(\d+)\}/g,(function(t,r){var n=e[r-1],o=n;return void 0===n&&(o=t),o}))),h},e.handleLanguagechange=function(){},e.contentEl=function(){return this.contentEl_||this.el_},e.id=function(){return this.id_},e.name=function(){return this.name_},e.children=function(){return this.children_},e.getChildById=function(t){return this.childIndex_[t]},e.getChild=function(t){if(t)return this.childNameIndex_[t]},e.getDescendant=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e=e.reduce((function(t,e){return t.concat(e)}),[]);for(var n=this,i=0;i<e.length;i++)if(!(n=n.getChild(e[i]))||!n.getChild)return;return n},e.addChild=function(e,r,n){var component,o;if(void 0===r&&(r={}),void 0===n&&(n=this.children_.length),"string"==typeof e){o=er(e);var l=r.componentClass||o;r.name=o;var c=t.getComponent(l);if(!c)throw new Error("Component "+l+" does not exist");if("function"!=typeof c)return null;component=new c(this.player_||this,r)}else component=e;if(component.parentComponent_&&component.parentComponent_.removeChild(component),this.children_.splice(n,0,component),component.parentComponent_=this,"function"==typeof component.id&&(this.childIndex_[component.id()]=component),(o=o||component.name&&er(component.name()))&&(this.childNameIndex_[o]=component,this.childNameIndex_[Je(o)]=component),"function"==typeof component.el&&component.el()){var h=null;this.children_[n+1]&&(this.children_[n+1].el_?h=this.children_[n+1].el_:Bt(this.children_[n+1])&&(h=this.children_[n+1])),this.contentEl().insertBefore(component.el(),h)}return component},e.removeChild=function(component){if("string"==typeof component&&(component=this.getChild(component)),component&&this.children_){for(var t=!1,i=this.children_.length-1;i>=0;i--)if(this.children_[i]===component){t=!0,this.children_.splice(i,1);break}if(t){component.parentComponent_=null,this.childIndex_[component.id()]=null,this.childNameIndex_[er(component.name())]=null,this.childNameIndex_[Je(component.name())]=null;var e=component.el();e&&e.parentNode===this.contentEl()&&this.contentEl().removeChild(component.el())}}},e.initChildren=function(){var e=this,r=this.options_.children;if(r){var n,o=this.options_,l=t.getComponent("Tech");(n=Array.isArray(r)?r:Object.keys(r)).concat(Object.keys(this.options_).filter((function(t){return!n.some((function(e){return"string"==typeof e?t===e:t===e.name}))}))).map((function(t){var n,o;return"string"==typeof t?o=r[n=t]||e.options_[n]||{}:(n=t.name,o=t),{name:n,opts:o}})).filter((function(e){var r=t.getComponent(e.opts.componentClass||er(e.name));return r&&!l.isTech(r)})).forEach((function(t){var r=t.name,n=t.opts;if(void 0!==o[r]&&(n=o[r]),!1!==n){!0===n&&(n={}),n.playerOptions=e.options_.playerOptions;var l=e.addChild(r,n);l&&(e[r]=l)}}))}},e.buildCSSClass=function(){return""},e.ready=function(t,e){if(void 0===e&&(e=!1),t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},e.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach((function(t){t.call(this)}),this),this.trigger("ready")}),1)},e.$=function(t,e){return he(t,e||this.contentEl())},e.$$=function(t,e){return de(t,e||this.contentEl())},e.hasClass=function(t){return $t(this.el_,t)},e.addClass=function(t){Ht(this.el_,t)},e.removeClass=function(t){Wt(this.el_,t)},e.toggleClass=function(t,e){Gt(this.el_,t,e)},e.show=function(){this.removeClass("vjs-hidden")},e.hide=function(){this.addClass("vjs-hidden")},e.lockShowing=function(){this.addClass("vjs-lock-showing")},e.unlockShowing=function(){this.removeClass("vjs-lock-showing")},e.getAttribute=function(t){return Xt(this.el_,t)},e.setAttribute=function(t,e){Yt(this.el_,t,e)},e.removeAttribute=function(t){Zt(this.el_,t)},e.width=function(t,e){return this.dimension("width",t,e)},e.height=function(t,e){return this.dimension("height",t,e)},e.dimensions=function(t,e){this.width(t,!0),this.height(e)},e.dimension=function(t,e,r){if(void 0!==e)return null!==e&&e==e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(r||this.trigger("componentresize"));if(!this.el_)return 0;var n=this.el_.style[t],o=n.indexOf("px");return-1!==o?parseInt(n.slice(0,o),10):parseInt(this.el_["offset"+er(t)],10)},e.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if(e=ht(this.el_,t),0===(e=parseFloat(e))||isNaN(e)){var r="offset"+er(t);e=this.el_[r]}return e},e.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.currentWidth=function(){return this.currentDimension("width")},e.currentHeight=function(){return this.currentDimension("height")},e.focus=function(){this.el_.focus()},e.blur=function(){this.el_.blur()},e.handleKeyDown=function(t){this.player_&&(v.a.isEventKey(t,"Tab")||t.stopPropagation(),this.player_.handleKeyDown(t))},e.handleKeyPress=function(t){this.handleKeyDown(t)},e.emitTapEvents=function(){var t,e=0,r=null;this.on("touchstart",(function(n){1===n.touches.length&&(r={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=l.a.performance.now(),t=!0)})),this.on("touchmove",(function(e){if(e.touches.length>1)t=!1;else if(r){var n=e.touches[0].pageX-r.pageX,o=e.touches[0].pageY-r.pageY;Math.sqrt(n*n+o*o)>10&&(t=!1)}}));var n=function(){t=!1};this.on("touchleave",n),this.on("touchcancel",n),this.on("touchend",(function(n){(r=null,!0===t)&&(l.a.performance.now()-e<200&&(n.preventDefault(),this.trigger("tap")))}))},e.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t,e=Be(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){e(),this.clearInterval(t),t=this.setInterval(e,250)}));var r=function(r){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",r),this.on("touchcancel",r)}},e.setTimeout=function(t,e){var r,n=this;return t=Be(this,t),this.clearTimersOnDispose_(),r=l.a.setTimeout((function(){n.setTimeoutIds_.has(r)&&n.setTimeoutIds_.delete(r),t()}),e),this.setTimeoutIds_.add(r),r},e.clearTimeout=function(t){return this.setTimeoutIds_.has(t)&&(this.setTimeoutIds_.delete(t),l.a.clearTimeout(t)),t},e.setInterval=function(t,e){t=Be(this,t),this.clearTimersOnDispose_();var r=l.a.setInterval(t,e);return this.setIntervalIds_.add(r),r},e.clearInterval=function(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),l.a.clearInterval(t)),t},e.requestAnimationFrame=function(t){var e,r=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),t=Be(this,t),e=l.a.requestAnimationFrame((function(){r.rafIds_.has(e)&&r.rafIds_.delete(e),t()})),this.rafIds_.add(e),e):this.setTimeout(t,1e3/60)},e.requestNamedAnimationFrame=function(t,e){var r=this;if(!this.namedRafs_.has(t)){this.clearTimersOnDispose_(),e=Be(this,e);var n=this.requestAnimationFrame((function(){e(),r.namedRafs_.has(t)&&r.namedRafs_.delete(t)}));return this.namedRafs_.set(t,n),t}},e.cancelNamedAnimationFrame=function(t){this.namedRafs_.has(t)&&(this.cancelAnimationFrame(this.namedRafs_.get(t)),this.namedRafs_.delete(t))},e.cancelAnimationFrame=function(t){return this.supportsRaf_?(this.rafIds_.has(t)&&(this.rafIds_.delete(t),l.a.cancelAnimationFrame(t)),t):this.clearTimeout(t)},e.clearTimersOnDispose_=function(){var t=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(e){var r=e[0],n=e[1];t[r].forEach((function(e,r){return t[n](r)}))})),t.clearingTimersOnDispose_=!1})))},t.registerComponent=function(e,r){if("string"!=typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var n,o=t.getComponent("Tech"),l=o&&o.isTech(r),c=t===r||t.prototype.isPrototypeOf(r.prototype);if(l||!c)throw n=l?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+n+".");e=er(e),t.components_||(t.components_={});var h=t.getComponent("Player");if("Player"===e&&h&&h.players){var d=h.players,f=Object.keys(d);if(d&&f.length>0&&f.map((function(t){return d[t]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=r,t.components_[Je(e)]=r,r},t.getComponent=function(e){if(e&&t.components_)return t.components_[e]},t}();function ur(t,e,r,n){return function(t,e,r){if("number"!=typeof e||e<0||e>r)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+r+").")}(t,n,r.length-1),r[n][e]}function lr(t){var e;return e=void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:ur.bind(null,"start",0,t),end:ur.bind(null,"end",1,t)},l.a.Symbol&&l.a.Symbol.iterator&&(e[l.a.Symbol.iterator]=function(){return(t||[]).values()}),e}function cr(t,e){return Array.isArray(t)?lr(t):void 0===t||void 0===e?lr():lr([[t,e]])}function dr(t,e){var r,n,o=0;if(!e)return 0;t&&t.length||(t=cr(0,0));for(var i=0;i<t.length;i++)r=t.start(i),(n=t.end(i))>e&&(n=e),o+=n-r;return o/e}function fr(t){if(t instanceof fr)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:lt(t)&&("number"==typeof t.code&&(this.code=t.code),ut(this,t)),this.message||(this.message=fr.defaultMessages[this.code]||"")}sr.prototype.supportsRaf_="function"==typeof l.a.requestAnimationFrame&&"function"==typeof l.a.cancelAnimationFrame,sr.registerComponent("Component",sr),fr.prototype.code=0,fr.prototype.message="",fr.prototype.status=null,fr.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],fr.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 pr=0;pr<fr.errorTypes.length;pr++)fr[fr.errorTypes[pr]]=pr,fr.prototype[fr.errorTypes[pr]]=pr;function mr(t){return null!=t&&"function"==typeof t.then}function gr(t){mr(t)&&t.then(null,(function(t){}))}var vr=function(track){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(t,e,i){return track[e]&&(t[e]=track[e]),t}),{cues:track.cues&&Array.prototype.map.call(track.cues,(function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}}))})},yr=function(t){var e=t.$$("track"),r=Array.prototype.map.call(e,(function(t){return t.track}));return Array.prototype.map.call(e,(function(t){var e=vr(t.track);return t.src&&(e.src=t.src),e})).concat(Array.prototype.filter.call(t.textTracks(),(function(track){return-1===r.indexOf(track)})).map(vr))},_r=function(t,e){return t.forEach((function(track){var t=e.addRemoteTextTrack(track).track;!track.src&&track.cues&&track.cues.forEach((function(e){return t.addCue(e)}))})),e.textTracks()},wr="vjs-modal-dialog",Tr=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).handleKeyDown_=function(t){return n.handleKeyDown(t)},n.close_=function(t){return n.close(t)},n.opened_=n.hasBeenOpened_=n.hasBeenFilled_=!1,n.closeable(!n.options_.uncloseable),n.content(n.options_.content),n.contentEl_=qt("div",{className:wr+"-content"},{role:"document"}),n.descEl_=qt("p",{className:wr+"-description vjs-control-text",id:n.el().getAttribute("aria-describedby")}),zt(n.descEl_,n.description()),n.el_.appendChild(n.descEl_),n.el_.appendChild(n.contentEl_),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},r.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,t.prototype.dispose.call(this)},r.buildCSSClass=function(){return wr+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},r.label=function(){return this.localize(this.options_.label||"Modal Window")},r.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},r.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},r.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},r.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},r.closeable=function(t){if("boolean"==typeof t){var e=this.closeable_=!!t,r=this.getChild("closeButton");if(e&&!r){var n=this.contentEl_;this.contentEl_=this.el_,r=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=n,this.on(r,"close",this.close_)}!e&&r&&(this.off(r,"close",this.close_),this.removeChild(r),r.dispose())}return this.closeable_},r.fill=function(){this.fillWith(this.content())},r.fillWith=function(content){var t=this.contentEl(),e=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,e.removeChild(t),this.empty(),ue(t,content),this.trigger("modalfill"),r?e.insertBefore(t,r):e.appendChild(t);var n=this.getChild("closeButton");n&&e.appendChild(n.el_)},r.empty=function(){this.trigger("beforemodalempty"),oe(this.contentEl()),this.trigger("modalempty")},r.content=function(t){return void 0!==t&&(this.content_=t),this.content_},r.conditionalFocus_=function(){var t=h.a.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,(e.contains(t)||e===t)&&(this.previouslyActiveEl_=t,this.focus())},r.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},r.handleKeyDown=function(t){if(t.stopPropagation(),v.a.isEventKey(t,"Escape")&&this.closeable())return t.preventDefault(),void this.close();if(v.a.isEventKey(t,"Tab")){for(var e,r=this.focusableEls_(),n=this.el_.querySelector(":focus"),i=0;i<r.length;i++)if(n===r[i]){e=i;break}h.a.activeElement===this.el_&&(e=0),t.shiftKey&&0===e?(r[r.length-1].focus(),t.preventDefault()):t.shiftKey||e!==r.length-1||(r[0].focus(),t.preventDefault())}},r.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,(function(t){return(t instanceof l.a.HTMLAnchorElement||t instanceof l.a.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof l.a.HTMLInputElement||t instanceof l.a.HTMLSelectElement||t instanceof l.a.HTMLTextAreaElement||t instanceof l.a.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof l.a.HTMLIFrameElement||t instanceof l.a.HTMLObjectElement||t instanceof l.a.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")}))},e}(sr);Tr.prototype.options_={pauseOnOpen:!0,temporary:!0},sr.registerComponent("ModalDialog",Tr);var Sr=function(t){function e(e){var r;void 0===e&&(e=[]),(r=t.call(this)||this).tracks_=[],Object.defineProperty(_()(r),"length",{get:function(){return this.tracks_.length}});for(var i=0;i<e.length;i++)r.addTrack(e[i]);return r}T()(e,t);var r=e.prototype;return r.addTrack=function(track){var t=this,e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(track)&&(this.tracks_.push(track),this.trigger({track:track,type:"addtrack",target:this})),track.labelchange_=function(){t.trigger({track:track,type:"labelchange",target:t})},ze(track)&&track.addEventListener("labelchange",track.labelchange_)},r.removeTrack=function(t){for(var track,i=0,e=this.length;i<e;i++)if(this[i]===t){(track=this[i]).off&&track.off(),this.tracks_.splice(i,1);break}track&&this.trigger({track:track,type:"removetrack",target:this})},r.getTrackById=function(t){for(var e=null,i=0,r=this.length;i<r;i++){var track=this[i];if(track.id===t){e=track;break}}return e},e}(Ue);for(var Mr in Sr.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},Sr.prototype.allowedEvents_)Sr.prototype["on"+Mr]=null;var xr=function(t,track){for(var i=0;i<t.length;i++)Object.keys(t[i]).length&&track.id!==t[i].id&&(t[i].enabled=!1)},kr=function(t){function e(e){var r;void 0===e&&(e=[]);for(var i=e.length-1;i>=0;i--)if(e[i].enabled){xr(e,e[i]);break}return(r=t.call(this,e)||this).changing_=!1,r}T()(e,t);var r=e.prototype;return r.addTrack=function(track){var e=this;track.enabled&&xr(this,track),t.prototype.addTrack.call(this,track),track.addEventListener&&(track.enabledChange_=function(){e.changing_||(e.changing_=!0,xr(e,track),e.changing_=!1,e.trigger("change"))},track.addEventListener("enabledchange",track.enabledChange_))},r.removeTrack=function(e){t.prototype.removeTrack.call(this,e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)},e}(Sr),Er=function(t,track){for(var i=0;i<t.length;i++)Object.keys(t[i]).length&&track.id!==t[i].id&&(t[i].selected=!1)},Or=function(t){function e(e){var r;void 0===e&&(e=[]);for(var i=e.length-1;i>=0;i--)if(e[i].selected){Er(e,e[i]);break}return(r=t.call(this,e)||this).changing_=!1,Object.defineProperty(_()(r),"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),r}T()(e,t);var r=e.prototype;return r.addTrack=function(track){var e=this;track.selected&&Er(this,track),t.prototype.addTrack.call(this,track),track.addEventListener&&(track.selectedChange_=function(){e.changing_||(e.changing_=!0,Er(e,track),e.changing_=!1,e.trigger("change"))},track.addEventListener("selectedchange",track.selectedChange_))},r.removeTrack=function(e){t.prototype.removeTrack.call(this,e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener("selectedchange",e.selectedChange_),e.selectedChange_=null)},e}(Sr),Cr=function(t){function e(){return t.apply(this,arguments)||this}T()(e,t);var r=e.prototype;return r.addTrack=function(track){var e=this;t.prototype.addTrack.call(this,track),this.queueChange_||(this.queueChange_=function(){return e.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return e.trigger("selectedlanguagechange")}),track.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(track.kind)&&track.addEventListener("modechange",this.triggerSelectedlanguagechange_)},r.removeTrack=function(e){t.prototype.removeTrack.call(this,e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},e}(Sr),Ar=function(){function t(t){void 0===t&&(t=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var i=0,e=t.length;i<e;i++)this.addTrackElement_(t[i])}var e=t.prototype;return e.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},e.getTrackElementByTrack_=function(track){for(var t,i=0,e=this.trackElements_.length;i<e;i++)if(track===this.trackElements_[i].track){t=this.trackElements_[i];break}return t},e.removeTrackElement_=function(t){for(var i=0,e=this.trackElements_.length;i<e;i++)if(t===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}},t}(),Ir=function(){function t(e){t.prototype.setCues_.call(this,e),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var e=t.prototype;return e.setCues_=function(t){var e=this.length||0,i=0,r=t.length;this.cues_=t,this.length_=t.length;var n=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<r)for(i=e;i<r;i++)n.call(this,i)},e.getCueById=function(t){for(var e=null,i=0,r=this.length;i<r;i++){var n=this[i];if(n.id===t){e=n;break}}return e},t}(),Pr={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Rr={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Dr={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Lr={disabled:"disabled",hidden:"hidden",showing:"showing"},Nr=function(t){function e(e){var r;void 0===e&&(e={}),r=t.call(this)||this;var n={id:e.id||"vjs_track_"+Te(),kind:e.kind||"",language:e.language||""},label=e.label||"",o=function(t){Object.defineProperty(_()(r),t,{get:function(){return n[t]},set:function(){}})};for(var l in n)o(l);return Object.defineProperty(_()(r),"label",{get:function(){return label},set:function(t){t!==label&&(label=t,this.trigger("labelchange"))}}),r}return T()(e,t),e}(Ue),jr=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],a=h.a.createElement("a");a.href=t;for(var details={},i=0;i<e.length;i++)details[e[i]]=a[e[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},Br=function(t){if(!t.match(/^https?:\/\//)){var a=h.a.createElement("a");a.href=t,t=a.href}return t},Fr=function(path){if("string"==typeof path){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(path);if(t)return t.pop().toLowerCase()}return""},Ur=function(t,e){void 0===e&&(e=l.a.location);var r=jr(t);return(":"===r.protocol?e.protocol:r.protocol)+r.host!==e.protocol+e.host},qr=Object.freeze({__proto__:null,parseUrl:jr,getAbsoluteURL:Br,getFileExtension:Fr,isCrossOrigin:Ur}),zr=function(t,track){var e=new l.a.WebVTT.Parser(l.a,l.a.vttjs,l.a.WebVTT.StringDecoder()),r=[];e.oncue=function(t){track.addCue(t)},e.onparsingerror=function(t){r.push(t)},e.onflush=function(){track.trigger({type:"loadeddata",target:track})},e.parse(t),r.length>0&&(l.a.console&&l.a.console.groupCollapsed&&l.a.console.groupCollapsed("Text Track parsing errors for "+track.src),r.forEach((function(t){return it.error(t)})),l.a.console&&l.a.console.groupEnd&&l.a.console.groupEnd()),e.flush()},Vr=function(t,track){var e={uri:t},r=Ur(t);r&&(e.cors=r);var n="use-credentials"===track.tech_.crossOrigin();n&&(e.withCredentials=n),k()(e,Be(this,(function(t,e,r){if(t)return it.error(t,e);track.loaded_=!0,"function"!=typeof l.a.WebVTT?track.tech_&&track.tech_.any(["vttjsloaded","vttjserror"],(function(t){if("vttjserror"!==t.type)return zr(r,track);it.error("vttjs failed to load, stopping trying to process "+track.src)})):zr(r,track)})))},$r=function(t){function e(e){var r;if(void 0===e&&(e={}),!e.tech)throw new Error("A tech was not provided.");var n=rr(e,{kind:Dr[e.kind]||"subtitles",language:e.language||e.srclang||""}),o=Lr[n.mode]||"disabled",l=n.default;"metadata"!==n.kind&&"chapters"!==n.kind||(o="hidden"),(r=t.call(this,n)||this).tech_=n.tech,r.cues_=[],r.activeCues_=[],r.preload_=!1!==r.tech_.preloadTextTracks;var c=new Ir(r.cues_),h=new Ir(r.activeCues_),d=!1;r.timeupdateHandler=Be(_()(r),(function(t){void 0===t&&(t={}),this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,d&&(this.trigger("cuechange"),d=!1),"timeupdate"!==t.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==t.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));return r.tech_.one("dispose",(function(){r.stopTracking()})),"disabled"!==o&&r.startTracking(),Object.defineProperties(_()(r),{default:{get:function(){return l},set:function(){}},mode:{get:function(){return o},set:function(t){Lr[t]&&o!==t&&(o=t,this.preload_||"disabled"===o||0!==this.cues.length||Vr(this.src,this),this.stopTracking(),"disabled"!==o&&this.startTracking(),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 h;for(var t=this.tech_.currentTime(),e=[],i=0,r=this.cues.length;i<r;i++){var n=this.cues[i];(n.startTime<=t&&n.endTime>=t||n.startTime===n.endTime&&n.startTime<=t&&n.startTime+.5>=t)&&e.push(n)}if(d=!1,e.length!==this.activeCues_.length)d=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(d=!0);return this.activeCues_=e,h.setCues_(this.activeCues_),h},set:function(){}}}),n.src?(r.src=n.src,r.preload_||(r.loaded_=!0),(r.preload_||"subtitles"!==n.kind&&"captions"!==n.kind)&&Vr(r.src,_()(r))):r.loaded_=!0,r}T()(e,t);var r=e.prototype;return r.startTracking=function(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)},r.stopTracking=function(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)},r.addCue=function(t){var e=t;if(e.constructor&&"VTTCue"!==e.constructor.name){for(var r in e=new l.a.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)r in e||(e[r]=t[r]);e.id=t.id,e.originalCue_=t}for(var n=this.tech_.textTracks(),i=0;i<n.length;i++)n[i]!==this&&n[i].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},r.removeCue=function(t){for(var i=this.cues_.length;i--;){var e=this.cues_[i];if(e===t||e.originalCue_&&e.originalCue_===t){this.cues_.splice(i,1),this.cues.setCues_(this.cues_);break}}},e}(Nr);$r.prototype.allowedEvents_={cuechange:"cuechange"};var Hr=function(t){function e(e){var r;void 0===e&&(e={});var n=rr(e,{kind:Rr[e.kind]||""});r=t.call(this,n)||this;var o=!1;return Object.defineProperty(_()(r),"enabled",{get:function(){return o},set:function(t){"boolean"==typeof t&&t!==o&&(o=t,this.trigger("enabledchange"))}}),n.enabled&&(r.enabled=n.enabled),r.loaded_=!0,r}return T()(e,t),e}(Nr),Wr=function(t){function e(e){var r;void 0===e&&(e={});var n=rr(e,{kind:Pr[e.kind]||""});r=t.call(this,n)||this;var o=!1;return Object.defineProperty(_()(r),"selected",{get:function(){return o},set:function(t){"boolean"==typeof t&&t!==o&&(o=t,this.trigger("selectedchange"))}}),n.selected&&(r.selected=n.selected),r}return T()(e,t),e}(Nr),Gr=function(t){function e(e){var r,n;void 0===e&&(e={}),r=t.call(this)||this;var track=new $r(e);return r.kind=track.kind,r.src=track.src,r.srclang=track.language,r.label=track.label,r.default=track.default,Object.defineProperties(_()(r),{readyState:{get:function(){return n}},track:{get:function(){return track}}}),n=0,track.addEventListener("loadeddata",(function(){n=2,r.trigger({type:"load",target:_()(r)})})),r}return T()(e,t),e}(Ue);Gr.prototype.allowedEvents_={load:"load"},Gr.NONE=0,Gr.LOADING=1,Gr.LOADED=2,Gr.ERROR=3;var Qr={audio:{ListClass:kr,TrackClass:Hr,capitalName:"Audio"},video:{ListClass:Or,TrackClass:Wr,capitalName:"Video"},text:{ListClass:Cr,TrackClass:$r,capitalName:"Text"}};Object.keys(Qr).forEach((function(t){Qr[t].getterName=t+"Tracks",Qr[t].privateName=t+"Tracks_"}));var Kr={remoteText:{ListClass:Cr,TrackClass:$r,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Ar,TrackClass:Gr,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Xr=f()({},Qr,Kr);Kr.names=Object.keys(Kr),Qr.names=Object.keys(Qr),Xr.names=[].concat(Kr.names).concat(Qr.names);var Yr=function(t){function e(e,r){var n;return void 0===e&&(e={}),void 0===r&&(r=function(){}),e.reportTouchActivity=!1,(n=t.call(this,null,e,r)||this).onDurationChange_=function(t){return n.onDurationChange(t)},n.trackProgress_=function(t){return n.trackProgress(t)},n.trackCurrentTime_=function(t){return n.trackCurrentTime(t)},n.stopTrackingCurrentTime_=function(t){return n.stopTrackingCurrentTime(t)},n.disposeSourceHandler_=function(t){return n.disposeSourceHandler(t)},n.queuedHanders_=new Set,n.hasStarted_=!1,n.on("playing",(function(){this.hasStarted_=!0})),n.on("loadstart",(function(){this.hasStarted_=!1})),Xr.names.forEach((function(t){var r=Xr[t];e&&e[r.getterName]&&(n[r.privateName]=e[r.getterName])})),n.featuresProgressEvents||n.manualProgressOn(),n.featuresTimeupdateEvents||n.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(track){!1===e["native"+track+"Tracks"]&&(n["featuresNative"+track+"Tracks"]=!1)})),!1===e.nativeCaptions||!1===e.nativeTextTracks?n.featuresNativeTextTracks=!1:!0!==e.nativeCaptions&&!0!==e.nativeTextTracks||(n.featuresNativeTextTracks=!0),n.featuresNativeTextTracks||n.emulateTextTracks(),n.preloadTextTracks=!1!==e.preloadTextTracks,n.autoRemoteTextTracks_=new Xr.text.ListClass,n.initTrackListeners(),e.nativeControlsForTouch||n.emitTapEvents(),n.constructor&&(n.name_=n.constructor.name||"Unknown Tech"),n}T()(e,t);var r=e.prototype;return r.triggerSourceset=function(t){var e=this;this.isReady_||this.one("ready",(function(){return e.setTimeout((function(){return e.triggerSourceset(t)}),1)})),this.trigger({src:t,type:"sourceset"})},r.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},r.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},r.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Be(this,(function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()})),500)},r.onDurationChange=function(t){this.duration_=this.duration()},r.buffered=function(){return cr(0,0)},r.bufferedPercent=function(){return dr(this.buffered(),this.duration_)},r.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},r.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},r.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},r.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},r.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},r.dispose=function(){this.clearTracks(Qr.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},r.clearTracks=function(t){var e=this;(t=[].concat(t)).forEach((function(t){for(var r=e[t+"Tracks"]()||[],i=r.length;i--;){var track=r[i];"text"===t&&e.removeRemoteTextTrack(track),r.removeTrack(track)}}))},r.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],i=t.length;i--;){var track=t[i];this.removeRemoteTextTrack(track)}},r.reset=function(){},r.crossOrigin=function(){},r.setCrossOrigin=function(){},r.error=function(t){return void 0!==t&&(this.error_=new fr(t),this.trigger("error")),this.error_},r.played=function(){return this.hasStarted_?cr(0,0):cr()},r.play=function(){},r.setScrubbing=function(){},r.scrubbing=function(){},r.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},r.initTrackListeners=function(){var t=this;Qr.names.forEach((function(e){var r=Qr[e],n=function(){t.trigger(e+"trackchange")},o=t[r.getterName]();o.addEventListener("removetrack",n),o.addEventListener("addtrack",n),t.on("dispose",(function(){o.removeEventListener("removetrack",n),o.removeEventListener("addtrack",n)}))}))},r.addWebVttScript_=function(){var t=this;if(!l.a.WebVTT)if(h.a.body.contains(this.el())){if(!this.options_["vtt.js"]&&ct(O.a)&&Object.keys(O.a).length>0)return void this.trigger("vttjsloaded");var script=h.a.createElement("script");script.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",script.onload=function(){t.trigger("vttjsloaded")},script.onerror=function(){t.trigger("vttjserror")}
vendor: 6,912 bytes, line 2
2,this.on("dispose",(function(){script.onload=null,script.onerror=null})),l.a.WebVTT=!0,this.el().parentNode.appendChild(script)}else this.ready(this.addWebVttScript_)},r.emulateTextTracks=function(){var t=this,e=this.textTracks(),r=this.remoteTextTracks(),n=function(t){return e.addTrack(t.track)},o=function(t){return e.removeTrack(t.track)};r.on("addtrack",n),r.on("removetrack",o),this.addWebVttScript_();var l=function(){return t.trigger("texttrackchange")},c=function(){l();for(var i=0;i<e.length;i++){var track=e[i];track.removeEventListener("cuechange",l),"showing"===track.mode&&track.addEventListener("cuechange",l)}};c(),e.addEventListener("change",c),e.addEventListener("addtrack",c),e.addEventListener("removetrack",c),this.on("dispose",(function(){r.off("addtrack",n),r.off("removetrack",o),e.removeEventListener("change",c),e.removeEventListener("addtrack",c),e.removeEventListener("removetrack",c);for(var i=0;i<e.length;i++){e[i].removeEventListener("cuechange",l)}}))},r.addTextTrack=function(t,label,e){if(!t)throw new Error("TextTrack kind is required but was not provided");return function(t,e,label,r,n){void 0===n&&(n={});var o=t.textTracks();n.kind=e,label&&(n.label=label),r&&(n.language=r),n.tech=t;var track=new Xr.text.TrackClass(n);return o.addTrack(track),track}(this,t,label,e)},r.createRemoteTextTrack=function(t){var track=rr(t,{tech:this});return new Kr.remoteTextEl.TrackClass(track)},r.addRemoteTextTrack=function(t,e){var r=this;void 0===t&&(t={});var n=this.createRemoteTextTrack(t);return!0!==e&&!1!==e&&(it.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),e=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),!0!==e&&this.ready((function(){return r.autoRemoteTextTracks_.addTrack(n.track)})),n},r.removeRemoteTextTrack=function(track){var t=this.remoteTextTrackEls().getTrackElementByTrack_(track);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(track),this.autoRemoteTextTracks_.removeTrack(track)},r.getVideoPlaybackQuality=function(){return{}},r.requestPictureInPicture=function(){var t=this.options_.Promise||l.a.Promise;if(t)return t.reject()},r.disablePictureInPicture=function(){return!0},r.setDisablePictureInPicture=function(){},r.requestVideoFrameCallback=function(t){var e=this,r=Te();return!this.isReady_||this.paused()?(this.queuedHanders_.add(r),this.one("playing",(function(){e.queuedHanders_.has(r)&&(e.queuedHanders_.delete(r),t())}))):this.requestNamedAnimationFrame(r,t),r},r.cancelVideoFrameCallback=function(t){this.queuedHanders_.has(t)?this.queuedHanders_.delete(t):this.cancelNamedAnimationFrame(t)},r.setPoster=function(){},r.playsinline=function(){},r.setPlaysinline=function(){},r.overrideNativeAudioTracks=function(){},r.overrideNativeVideoTracks=function(){},r.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,r){return e.canPlayType(t.type)},e.isTech=function(component){return component.prototype instanceof e||component instanceof e||component===e},e.registerTech=function(t,r){if(e.techs_||(e.techs_={}),!e.isTech(r))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=er(t),e.techs_[t]=r,e.techs_[Je(t)]=r,"Tech"!==t&&e.defaultTechOrder_.push(t),r},e.getTech=function(t){if(t)return e.techs_&&e.techs_[t]?e.techs_[t]:(t=er(t),l.a&&l.a.videojs&&l.a.videojs[t]?(it.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),l.a.videojs[t]):void 0)},e}(sr);Xr.names.forEach((function(t){var e=Xr[t];Yr.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}})),Yr.prototype.featuresVolumeControl=!0,Yr.prototype.featuresMuteControl=!0,Yr.prototype.featuresFullscreenResize=!1,Yr.prototype.featuresPlaybackRate=!1,Yr.prototype.featuresProgressEvents=!1,Yr.prototype.featuresSourceset=!1,Yr.prototype.featuresTimeupdateEvents=!1,Yr.prototype.featuresNativeTextTracks=!1,Yr.prototype.featuresVideoFrameCallback=!1,Yr.withSourceHandlers=function(t){t.registerSourceHandler=function(e,r){var n=t.sourceHandlers;n||(n=t.sourceHandlers=[]),void 0===r&&(r=n.length),n.splice(r,0,e)},t.canPlayType=function(e){for(var r,n=t.sourceHandlers||[],i=0;i<n.length;i++)if(r=n[i].canPlayType(e))return r;return""},t.selectSourceHandler=function(source,e){for(var r=t.sourceHandlers||[],i=0;i<r.length;i++)if(r[i].canHandleSource(source,e))return r[i];return null},t.canPlaySource=function(e,r){var n=t.selectSourceHandler(e,r);return n?n.canHandleSource(e,r):""};["seekable","seeking","duration"].forEach((function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})}),t.prototype),t.prototype.setSource=function(source){var e=t.selectSourceHandler(source,this.options_);e||(t.nativeSourceHandler?e=t.nativeSourceHandler:it.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),e!==t.nativeSourceHandler&&(this.currentSource_=source),this.sourceHandler_=e.handleSource(source,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},sr.registerComponent("Tech",Yr),Yr.registerTech("Tech",Yr),Yr.defaultTechOrder_=[];var Zr={},Jr={},ti={};function ei(t,e,r){t.setTimeout((function(){return si(e,Zr[e.type],r,t)}),1)}function ri(t,e,r,n){void 0===n&&(n=null);var o="call"+er(r),l=t.reduce(ai(o),n),c=l===ti,h=c?null:e[r](l);return function(t,e,r,n){for(var i=t.length-1;i>=0;i--){var o=t[i];o[e]&&o[e](n,r)}}(t,r,h,c),h}var ii={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},ni={setCurrentTime:1,setMuted:1,setVolume:1},oi={play:1,pause:1};function ai(t){return function(e,r){return e===ti?ti:r[t]?r[t](e):e}}function si(t,e,r,n,o,l){void 0===t&&(t={}),void 0===e&&(e=[]),void 0===o&&(o=[]),void 0===l&&(l=!1);var c=e,h=c[0],d=c.slice(1);if("string"==typeof h)si(t,Zr[h],r,n,o,l);else if(h){var f=function(t,e){var r=Jr[t.id()],n=null;if(null==r)return n=e(t),Jr[t.id()]=[[e,n]],n;for(var i=0;i<r.length;i++){var o=r[i],l=o[0],c=o[1];l===e&&(n=c)}return null===n&&(n=e(t),r.push([e,n])),n}(n,h);if(!f.setSource)return o.push(f),si(t,d,r,n,o,l);f.setSource(ut({}
vendor: 9,918 bytes, line 2
2,t),(function(e,c){if(e)return si(t,d,r,n,o,l);o.push(f),si(c,t.type===c.type?d:Zr[c.type],r,n,o,l)}))}else d.length?si(t,d,r,n,o,l):l?r(t,o):si(t,Zr["*"],r,n,o,!0)}var ui={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",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},ci=function(t){void 0===t&&(t="");var e=Fr(t);return ui[e.toLowerCase()]||""},hi=function t(e){if(Array.isArray(e)){var r=[];e.forEach((function(e){e=t(e),Array.isArray(e)?r=r.concat(e):lt(e)&&r.push(e)})),e=r}else e="string"==typeof e&&e.trim()?[di({src:e})]:lt(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[di(e)]:[];return e};function di(t){if(!t.type){var e=ci(t.src);e&&(t.type=e)}return t}var fi=function(t){function e(e,r,n){var o,l=rr({createEl:!1},r);if(o=t.call(this,e,l,n)||this,r.playerOptions.sources&&0!==r.playerOptions.sources.length)e.src(r.playerOptions.sources);else for(var i=0,c=r.playerOptions.techOrder;i<c.length;i++){var h=er(c[i]),d=Yr.getTech(h);if(h||(d=sr.getComponent(h)),d&&d.isSupported()){e.loadTech_(h);break}}return o}return T()(e,t),e}(sr);sr.registerComponent("MediaLoader",fi);var pi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).options_.controlText&&n.controlText(n.options_.controlText),n.handleMouseOver_=function(t){return n.handleMouseOver(t)},n.handleMouseOut_=function(t){return n.handleMouseOut(t)},n.handleClick_=function(t){return n.handleClick(t)},n.handleKeyDown_=function(t){return n.handleKeyDown(t)},n.emitTapEvents(),n.enable(),n}T()(e,t);var r=e.prototype;return r.createEl=function(t,e,r){void 0===t&&(t="div"),void 0===e&&(e={}),void 0===r&&(r={}),e=ut({className:this.buildCSSClass(),tabIndex:0},e),"button"===t&&it.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=ut({role:"button"},r),this.tabIndex_=e.tabIndex;var n=qt(t,e,r);return n.appendChild(qt("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(n),n},r.dispose=function(){this.controlTextEl_=null,t.prototype.dispose.call(this)},r.createControlTextEl=function(t){return this.controlTextEl_=qt("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},r.controlText=function(text,t){if(void 0===t&&(t=this.el()),void 0===text)return this.controlText_||"Need Text";var e=this.localize(text);this.controlText_=text,zt(this.controlTextEl_,e),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",e)},r.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},r.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_))},r.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_)},r.handleLanguagechange=function(){this.controlText(this.controlText_)},r.handleClick=function(t){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},r.handleKeyDown=function(e){v.a.isEventKey(e,"Space")||v.a.isEventKey(e,"Enter")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):t.prototype.handleKeyDown.call(this,e)},e}(sr);sr.registerComponent("ClickableComponent",pi);var mi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).update(),n.update_=function(t){return n.update(t)},e.on("posterchange",n.update_),n}T()(e,t);var r=e.prototype;return r.dispose=function(){this.player().off("posterchange",this.update_),t.prototype.dispose.call(this)},r.createEl=function(){return qt("div",{className:"vjs-poster",tabIndex:-1})},r.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},r.setSrc=function(t){var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e},r.handleClick=function(t){if(this.player_.controls()){var e=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(kt||St)&&e||this.player_.tech(!0).focus(),this.player_.paused()?gr(this.player_.play()):this.player_.pause()}},e}(pi);sr.registerComponent("PosterImage",mi);var gi="#222",vi={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function yi(t,e){var r;if(4===t.length)r=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else{if(7!==t.length)throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");r=t.slice(1)}return"rgba("+parseInt(r.slice(0,2),16)+","+parseInt(r.slice(2,4),16)+","+parseInt(r.slice(4,6),16)+","+e+")"}function bi(t,style,e){try{t.style[style]=e}catch(t){return}}var _i=function(t){function e(e,r,n){var o;o=t.call(this,e,r,n)||this;var c=function(t){return o.updateDisplay(t)};return e.on("loadstart",(function(t){return o.toggleDisplay(t)})),e.on("texttrackchange",c),e.on("loadedmetadata",(function(t){return o.preselectTrack(t)})),e.ready(Be(_()(o),(function(){if(e.tech_&&e.tech_.featuresNativeTextTracks)this.hide();else{e.on("fullscreenchange",c),e.on("playerresize",c),l.a.addEventListener("orientationchange",c),e.on("dispose",(function(){return l.a.removeEventListener("orientationchange",c)}));for(var t=this.options_.playerOptions.tracks||[],i=0;i<t.length;i++)this.player_.addRemoteTextTrack(t[i],!0);this.preselectTrack()}}))),o}T()(e,t);var r=e.prototype;return r.preselectTrack=function(){for(var t,e,r,n={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 n?track.kind===l.kind?r=track:r||(r=track):l&&!l.enabled?(r=null,t=null,e=null):track.default&&("descriptions"!==track.kind||t?track.kind in n&&!e&&(e=track):t=track)}r?r.mode="showing":e?e.mode="showing":t&&(t.mode="showing")},r.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},r.clearDisplay=function(){"function"==typeof l.a.WebVTT&&l.a.WebVTT.processCues(l.a,[],this.el_)},r.updateDisplay=function(){var t=this.player_.textTracks(),e=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),e){for(var r=[],n=0;n<t.length;++n){var track=t[n];"showing"===track.mode&&r.push(track)}this.updateForTrack(r)}else{for(var o=null,l=null,i=t.length;i--;){var c=t[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))}},r.updateDisplayState=function(track){for(var t=this.player_.textTrackSettings.getValues(),e=track.activeCues,i=e.length;i--;){var r=e[i];if(r){var n=r.displayState;if(t.color&&(n.firstChild.style.color=t.color),t.textOpacity&&bi(n.firstChild,"color",yi(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(n.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&bi(n.firstChild,"backgroundColor",yi(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?bi(n,"backgroundColor",yi(t.windowColor,t.windowOpacity)):n.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?n.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px "+gi:"raised"===t.edgeStyle?n.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px "+gi:"depressed"===t.edgeStyle?n.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px "+gi:"uniform"===t.edgeStyle&&(n.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px "+gi)),t.fontPercent&&1!==t.fontPercent){var o=l.a.parseFloat(n.style.fontSize);n.style.fontSize=o*t.fontPercent+"px",n.style.height="auto",n.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?n.firstChild.style.fontVariant="small-caps":n.firstChild.style.fontFamily=vi[t.fontFamily])}}},r.updateForTrack=function(t){if(Array.isArray(t)||(t=[t]),"function"==typeof l.a.WebVTT&&!t.every((function(track){return!track.activeCues}))){for(var e=[],i=0;i<t.length;++i)for(var track=t[i],r=0;r<track.activeCues.length;++r)e.push(track.activeCues[r]);l.a.WebVTT.processCues(l.a,e,this.el_);for(var n=0;n<t.length;++n){for(var o=t[n],c=0;c<o.activeCues.length;++c){var h=o.activeCues[c].displayState;Ht(h,"vjs-text-track-cue"),Ht(h,"vjs-text-track-cue-"+(o.language?o.language:n)),o.language&&Yt(h,"lang",o.language)}this.player_.textTrackSettings&&this.updateDisplayState(o)}}},e}(sr);sr.registerComponent("TextTrackDisplay",_i);var wi=function(t){function e(){return t.apply(this,arguments)||this}return T()(e,t),e.prototype.createEl=function(){var e=this.player_.isAudio(),r=this.localize(e?"Audio Player":"
2Video Player"),n=qt("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[r])}),o=t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return o.appendChild(n),o},e}(sr);sr.registerComponent("LoadingSpinner",wi);var Ti=function(t){function e(){return t.apply(this,arguments)||this}T()(e,t);var r=e.prototype;return r.createEl=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r={});var n=qt("button",e=ut({className:this.buildCSSClass()},e),r=ut({type:"button"},r));return n.appendChild(qt("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(n),n},r.addChild=function(t,e){void 0===e&&(e={});var r=this.constructor.name;return it.warn("Adding an actionable (user controllable) child to a Button ("+r+") is not supported; use a ClickableComponent instead."),sr.prototype.addChild.call(this,t,e)},r.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute("disabled")},r.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},r.handleKeyDown=function(e){v.a.isEventKey(e,"Space")||v.a.isEventKey(e,"Enter")?e.stopPropagation():t.prototype.handleKeyDown.call(this,e)},e}(pi);sr.registerComponent("Button",Ti);var Si=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).mouseused_=!1,n.on("mousedown",(function(t){return n.handleMouseDown(t)})),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-big-play-button"},r.handleClick=function(t){var e=this.player_.play();if(this.mouseused_&&t.clientX&&t.clientY){var r=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return gr(e),void(!this.player_.tech(!0)||(kt||St)&&r||this.player_.tech(!0).focus())}var n=this.player_.getChild("controlBar"),o=n&&n.getChild("playToggle");if(o){var l=function(){return o.focus()};mr(e)?e.then(l,(function(){})):this.setTimeout(l,1)}else this.player_.tech(!0).focus()},r.handleKeyDown=function(e){this.mouseused_=!1,t.prototype.handleKeyDown.call(this,e)},r.handleMouseDown=function(t){this.mouseused_=!0},e}(Ti);Si.prototype.controlText_="Play Video",sr.registerComponent("BigPlayButton",Si);var Mi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).controlText(r&&r.controlText||n.localize("Close")),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},r.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},r.handleKeyDown=function(e){v.a.isEventKey(e,"Esc")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):t.prototype.handleKeyDown.call(this,e)},e}(Ti);sr.registerComponent("CloseButton",Mi);var xi=function(t){function e(e,r){var n;return void 0===r&&(r={}),n=t.call(this,e,r)||this,r.replay=void 0===r.replay||r.replay,n.on(e,"play",(function(t){return n.handlePlay(t)})),n.on(e,"pause",(function(t){return n.handlePause(t)})),r.replay&&n.on(e,"ended",(function(t){return n.handleEnded(t)})),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},r.handleClick=function(t){this.player_.paused()?gr(this.player_.play()):this.player_.pause()},r.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},r.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},r.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},r.handleEnded=function(t){var e=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(t){return e.handleSeeked(t)}))},e}(Ti);xi.prototype.controlText_="Play",sr.registerComponent("PlayToggle",xi);var ki=function(t,e){t=t<0?0:t;
vendor: 19,723 bytes, line 2
2var s=Math.floor(t%60),r=Math.floor(t/60%60),n=Math.floor(t/3600),o=Math.floor(e/60%60),l=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(n=r=s="-"),(n=n>0||l>0?n+":":"")+(r=((n||o>=10)&&r<10?"0"+r:r)+":")+(s=s<10?"0"+s:s)},Ei=ki;function Oi(t,e){return void 0===e&&(e=t),Ei(t,e)}var Ci=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).on(e,["timeupdate","ended"],(function(t){return n.updateContent(t)})),n.updateTextNode_(),n}T()(e,t);var r=e.prototype;return r.createEl=function(){var e=this.buildCSSClass(),r=t.prototype.createEl.call(this,"div",{className:e+" vjs-time-control vjs-control"}),span=qt("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return r.appendChild(span),this.contentEl_=qt("span",{className:e+"-display"},{"aria-live":"off",role:"presentation"}),r.appendChild(this.contentEl_),r},r.dispose=function(){this.contentEl_=null,this.textNode_=null,t.prototype.dispose.call(this)},r.updateTextNode_=function(time){var t=this;void 0===time&&(time=0),time=Oi(time),this.formattedTime_!==time&&(this.formattedTime_=time,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,it.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=h.a.createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}})))},r.updateContent=function(t){},e}(sr);Ci.prototype.labelText_="Time",Ci.prototype.controlText_="Time",sr.registerComponent("TimeDisplay",Ci);var Ai=function(t){function e(){return t.apply(this,arguments)||this}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-current-time"},r.updateContent=function(t){var time;time=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(time)},e}(Ci);Ai.prototype.labelText_="Current Time",Ai.prototype.controlText_="Current Time",sr.registerComponent("CurrentTimeDisplay",Ai);var Ii=function(t){function e(e,r){var n,o=function(t){return n.updateContent(t)};return(n=t.call(this,e,r)||this).on(e,"durationchange",o),n.on(e,"loadstart",o),n.on(e,"loadedmetadata",o),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-duration"},r.updateContent=function(t){var e=this.player_.duration();this.updateTextNode_(e)},e}(Ci);Ii.prototype.labelText_="Duration",Ii.prototype.controlText_="Duration",sr.registerComponent("DurationDisplay",Ii);var Pi=function(t){function e(){return t.apply(this,arguments)||this}return T()(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),div=t.prototype.createEl.call(this,"div"),span=t.prototype.createEl.call(this,"span",{textContent:"/"});return div.appendChild(span),e.appendChild(div),e},e}(sr);sr.registerComponent("TimeDivider",Pi);var Ri=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).on(e,"durationchange",(function(t){return n.updateContent(t)})),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-remaining-time"},r.createEl=function(){var e=t.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&e.insertBefore(qt("span",{},{"aria-hidden":!0},"-"),this.contentEl_),e},r.updateContent=function(t){var time;"number"==typeof this.player_.duration()&&(time=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(time))},e}(Ci);Ri.prototype.labelText_="Remaining Time",Ri.prototype.controlText_="Remaining Time",sr.registerComponent("RemainingTimeDisplay",Ri);var Di=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).updateShowing(),n.on(n.player(),"durationchange",(function(t){return n.updateShowing(t)})),n}T()(e,t);var r=e.prototype;return r.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=qt("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(qt("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(h.a.createTextNode(this.localize("LIVE"))),e.appendChild(this.contentEl_),e},r.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},r.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(sr);sr.registerComponent("LiveDisplay",Di);var Li=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).updateLiveEdgeStatus(),n.player_.liveTracker&&(n.updateLiveEdgeStatusHandler_=function(t){return n.updateLiveEdgeStatus(t)},n.on(n.player_.liveTracker,"liveedgechange",n.updateLiveEdgeStatusHandler_)),n}T()(e,t);var r=e.prototype;return r.createEl=function(){var e=t.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=qt("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),e.appendChild(this.textEl_),e},r.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"))},r.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},r.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,t.prototype.dispose.call(this)},e}(Ti);Li.prototype.controlText_="Seek to live, currently playing live",sr.registerComponent("SeekToLive",Li);var Ni=function(t,e,r){return t=Number(t),Math.min(r,Math.max(e,isNaN(t)?e:t))},ji=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).handleMouseDown_=function(t){return n.handleMouseDown(t)},n.handleMouseUp_=function(t){return n.handleMouseUp(t)},n.handleKeyDown_=function(t){return n.handleKeyDown(t)},n.handleClick_=function(t){return n.handleClick(t)},n.handleMouseMove_=function(t){return n.handleMouseMove(t)},n.update_=function(t){return n.update(t)},n.bar=n.getChild(n.options_.barName),n.vertical(!!n.options_.vertical),n.enable(),n}T()(e,t);var r=e.prototype;return r.enabled=function(){return this.enabled_},r.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)},r.disable=function(){if(this.enabled()){var t=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(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},r.createEl=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),r.className=r.className+" vjs-slider",r=ut({tabIndex:0},r),n=ut({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),t.prototype.createEl.call(this,e,r,n)},r.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||Mt||t.preventDefault(),Jt(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove_),this.on(e,"mouseup",this.handleMouseUp_),this.on(e,"touchmove",this.handleMouseMove_),this.on(e,"touchend",this.handleMouseUp_),this.handleMouseMove(t,!0)},r.handleMouseMove=function(t){},r.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;te(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.update()},r.update=function(){var t=this;if(this.el_&&this.bar){var progress=this.getProgress();return progress===this.progress_||(this.progress_=progress,this.requestNamedAnimationFrame("Slider#update",(function(){var e=t.vertical()?"height":"width";t.bar.el().style[e]=(100*progress).toFixed(2)+"%"}))),progress}},r.getProgress=function(){return Number(Ni(this.getPercent(),0,1).toFixed(4))},r.calculateDistance=function(t){var e=ie(this.el_,t);return this.vertical()?e.y:e.x},r.handleKeyDown=function(e){v.a.isEventKey(e,"Left")||v.a.isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepBack()):v.a.isEventKey(e,"Right")||v.a.isEventKey(e,"Up")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):t.prototype.handleKeyDown.call(this,e)},r.handleClick=function(t){t.stopPropagation(),t.preventDefault()},r.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},e}(sr);sr.registerComponent("Slider",ji);var Bi=function(time,t){return Ni(time/t*100,0,100).toFixed(2)+"%"},Fi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).partEls_=[],n.on(e,"progress",(function(t){return n.update(t)})),n}T()(e,t);var r=e.prototype;return r.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),r=qt("span",{className:"vjs-control-text"}),n=qt("span",{textContent:this.localize("Loaded")}),o=h.a.createTextNode(": ");return this.percentageEl_=qt("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),e.appendChild(r),r.appendChild(n),r.appendChild(o),r.appendChild(this.percentageEl_),e},r.dispose=function(){this.partEls_=null,this.percentageEl_=null,t.prototype.dispose.call(this)},r.update=function(t){var e=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var t=e.player_.liveTracker,r=e.player_.buffered(),n=t&&t.isLive()?t.seekableEnd():e.player_.duration(),o=e.player_.bufferedEnd(),l=e.partEls_,c=Bi(o,n);e.percent_!==c&&(e.el_.style.width=c,zt(e.percentageEl_,c),e.percent_=c);for(var i=0;i<r.length;i++){var h=r.start(i),d=r.end(i),f=l[i];f||(f=e.el_.appendChild(qt()),l[i]=f),f.dataset.start===h&&f.dataset.end===d||(f.dataset.start=h,f.dataset.end=d,f.style.left=Bi(h,o),f.style.width=Bi(d-h,o))}for(var m=l.length;m>r.length;m--)e.el_.removeChild(l[m-1]);l.length=r.length}))},e}(sr);sr.registerComponent("LoadProgressBar",Fi);var Ui=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).update=Fe(Be(_()(n),n.update),je),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},r.update=function(t,e,content){var r=re(this.el_),n=ee(this.player_.el()),o=t.width*e;if(n&&r){var l=t.left-n.left+o,c=t.width-o+(n.right-t.right),h=r.width/2;l<h?h+=h-l:c<h&&(h=c),h<0?h=0:h>r.width&&(h=r.width),h=Math.round(h),this.el_.style.right="-"+h+"px",this.write(content)}},r.write=function(content){zt(this.el_,content)},r.updateTime=function(t,e,time,r){var n=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var content,o=n.player_.duration();if(n.player_.liveTracker&&n.player_.liveTracker.isLive()){var l=n.player_.liveTracker.liveWindow(),c=l-e*l;content=(c<1?"":"-")+Oi(c,l)}else content=Oi(time,o);n.update(t,e,content),r&&r()}))},e}(sr);sr.registerComponent("TimeTooltip",Ui);var qi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).update=Fe(Be(_()(n),n.update),je),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},r.update=function(t,e){var r=this.getChild("timeTooltip");if(r){var time=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();r.updateTime(t,e,time)}},e}(sr);qi.prototype.options_={children:[]},Pt||bt||qi.prototype.options_.children.push("timeTooltip"),sr.registerComponent("PlayProgressBar",qi);var zi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).update=Fe(Be(_()(n),n.update),je),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},r.update=function(t,e){var r=this,time=e*this.player_.duration();this.getChild("timeTooltip").updateTime(t,e,time,(function(){r.el_.style.left=t.width*e+"px"}))},e}(sr);zi.prototype.options_={children:["timeTooltip"]},sr.registerComponent("MouseTimeDisplay",zi);var Vi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).setEventHandlers_(),n}T()(e,t);var r=e.prototype;return r.setEventHandlers_=function(){var t=this;this.update_=Be(this,this.update),this.update=Fe(this.update_,je),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(e){return t.enableInterval_(e)},this.disableIntervalHandler_=function(e){return t.disableInterval_(e)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in h.a&&"visibilityState"in h.a&&this.on(h.a,"visibilitychange",this.toggleVisibility_)},r.toggleVisibility_=function(t){"hidden"===h.a.visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(t)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},r.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,je))},r.disableInterval_=function(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&t&&"ended"!==t.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},r.update=function(e){var r=this;if("hidden"!==h.a.visibilityState){var n=t.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var t=r.player_.ended()?r.player_.duration():r.getCurrentTime_(),e=r.player_.liveTracker,o=r.player_.duration();e&&e.isLive()&&(o=r.player_.liveTracker.liveCurrentTime()),r.percent_!==n&&(r.el_.setAttribute("aria-valuenow",(100*n).toFixed(2)),r.percent_=n),r.currentTime_===t&&r.duration_===o||(r.el_.setAttribute("aria-valuetext",r.localize("progress bar timing: currentTime={1} duration={2}",[Oi(t,o),Oi(o,o)],"{1} of {2}")),r.currentTime_=t,r.duration_=o),r.bar&&r.bar.update(ee(r.el()),r.getProgress())})),n}},r.userSeek_=function(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)},r.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},r.getPercent=function(){var t,e=this.getCurrentTime_(),r=this.player_.liveTracker;return r&&r.isLive()?(t=(e-r.seekableStart())/r.liveWindow(),r.atLiveEdge()&&(t=1)):t=e/this.player_.duration(),t},r.handleMouseDown=function(e){le(e)&&(e.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),t.prototype.handleMouseDown.call(this,e))},r.handleMouseMove=function(t,e){if(void 0===e&&(e=!1),le(t)){var r;e||this.player_.scrubbing()||this.player_.scrubbing(!0);var n=this.calculateDistance(t),o=this.player_.liveTracker;if(o&&o.isLive()){if(n>=.99)return void o.seekToLiveEdge();var l=o.seekableStart(),c=o.liveCurrentTime();if((r=l+n*o.liveWindow())>=c&&(r=c),r<=l&&(r=l+.1),r===1/0)return}else(r=n*this.player_.duration())===this.player_.duration()&&(r-=.1);this.userSeek_(r)}},r.enable=function(){t.prototype.enable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.show()},r.disable=function(){t.prototype.disable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.hide()},r.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?gr(this.player_.play()):this.update_()},r.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},r.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},r.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},r.handleKeyDown=function(e){var r=this.player_.liveTracker;if(v.a.isEventKey(e,"Space")||v.a.isEventKey(e,"Enter"))e.preventDefault(),e.stopPropagation(),this.handleAction(e);else if(v.a.isEventKey(e,"Home"))e.preventDefault(),e.stopPropagation(),this.userSeek_(0);else if(v.a.isEventKey(e,"End"))e.preventDefault(),e.stopPropagation(),r&&r.isLive()?this.userSeek_(r.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(v()(e))){e.preventDefault(),e.stopPropagation();var n=10*(v.a.codes[v()(e)]-v.a.codes[0])/100;r&&r.isLive()?this.userSeek_(r.seekableStart()+r.liveWindow()*n):this.userSeek_(this.player_.duration()*n)}else v.a.isEventKey(e,"PgDn")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):v.a.isEventKey(e,"PgUp")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):t.prototype.handleKeyDown.call(this,e)},r.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 h.a&&"visibilityState"in h.a&&this.off(h.a,"visibilitychange",this.toggleVisibility_),t.prototype.dispose.call(this)},e}(ji);Vi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Pt||bt||Vi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),sr.registerComponent("SeekBar",Vi);var $i=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).handleMouseMove=Fe(Be(_()(n),n.handleMouseMove),je),n.throttledHandleMouseSeek=Fe(Be(_()(n),n.handleMouseSeek),je),n.handleMouseUpHandler_=function(t){return n.handleMouseUp(t)},n.handleMouseDownHandler_=function(t){return n.handleMouseDown(t)},n.enable(),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},r.handleMouseMove=function(t){var e=this.getChild("seekBar");if(e){var r=e.getChild("playProgressBar"),n=e.getChild("mouseTimeDisplay");if(r||n){var o=e.el(),l=re(o),c=ie(o,t).x;c=Ni(c,0,1),n&&n.update(l,c),r&&r.update(l,e.getProgress())}}},r.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},r.enabled=function(){return this.enabled_}
vendor: 4,641 bytes, line 2
2,r.disable=function(){if(this.children().forEach((function(t){return t.disable&&t.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 t=this.getChild("seekBar");this.player_.scrubbing(!1),t.videoWasPlaying&&gr(this.player_.play())}},r.enable=function(){this.children().forEach((function(t){return t.enable&&t.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},r.removeListenersAddedOnMousedownAndTouchstart=function(){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},r.handleMouseDown=function(t){var e=this.el_.ownerDocument,r=this.getChild("seekBar");r&&r.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUpHandler_),this.on(e,"touchend",this.handleMouseUpHandler_)},r.handleMouseUp=function(t){var e=this.getChild("seekBar");e&&e.handleMouseUp(t),this.removeListenersAddedOnMousedownAndTouchstart()},e}(sr);$i.prototype.options_={children:["seekBar"]},sr.registerComponent("ProgressControl",$i);var Hi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).on(e,["enterpictureinpicture","leavepictureinpicture"],(function(t){return n.handlePictureInPictureChange(t)})),n.on(e,["disablepictureinpicturechanged","loadedmetadata"],(function(t){return n.handlePictureInPictureEnabledChange(t)})),n.on(e,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(function(){"audio"===e.currentType().substring(0,5)||e.audioPosterMode()||e.audioOnlyMode()?(e.isInPictureInPicture()&&e.exitPictureInPicture(),n.hide()):n.show()})),n.disable(),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-picture-in-picture-control "+t.prototype.buildCSSClass.call(this)},r.handlePictureInPictureEnabledChange=function(){h.a.pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},r.handlePictureInPictureChange=function(t){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},r.handleClick=function(t){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},e}(Ti);Hi.prototype.controlText_="Picture-in-Picture",sr.registerComponent("PictureInPictureToggle",Hi);var Wi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).on(e,"fullscreenchange",(function(t){return n.handleFullscreenChange(t)})),!1===h.a[e.fsApi_.fullscreenEnabled]&&n.disable(),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},r.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},r.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(Ti);Wi.prototype.controlText_="Fullscreen",sr.registerComponent("FullscreenToggle",Wi);var Gi=function(t){function e(){return t.apply(this,arguments)||this}return T()(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return e.appendChild(t.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),e},e}(sr);sr.registerComponent("VolumeLevel",Gi);var Qi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).update=Fe(Be(_()(n),n.update),je),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},r.update=function(t,e,r,content){if(!r){var n=ee(this.el_),o=ee(this.player_.el()),l=t.width*e;if(!o||!n)return;var c=t.left-o.left+l,h=t.width-l+(o.right-t.right),d=n.width/2;c<d?d+=d-c:h<d&&(d=h),d<0?d=0:d>n.width&&(d=n.width),this.el_.style.right="-"+d+"px"}this.write(content+"%")},r.write=function(content){zt(this.el_,content)},r.updateVolume=function(t,e,r,n,o){var l=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){l.update(t,e,r,n.toFixed(0)),o&&o()}))},e}(sr);
vendor: 19,469 bytes, line 2
2sr.registerComponent("VolumeLevelTooltip",Qi);var Ki=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).update=Fe(Be(_()(n),n.update),je),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},r.update=function(t,e,r){var n=this,o=100*e;this.getChild("volumeLevelTooltip").updateVolume(t,e,r,o,(function(){r?n.el_.style.bottom=t.height*e+"px":n.el_.style.left=t.width*e+"px"}))},e}(sr);Ki.prototype.options_={children:["volumeLevelTooltip"]},sr.registerComponent("MouseVolumeLevelDisplay",Ki);var Xi=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).on("slideractive",(function(t){return n.updateLastVolume_(t)})),n.on(e,"volumechange",(function(t){return n.updateARIAAttributes(t)})),e.ready((function(){return n.updateARIAAttributes()})),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},r.handleMouseDown=function(e){le(e)&&t.prototype.handleMouseDown.call(this,e)},r.handleMouseMove=function(t){var e=this.getChild("mouseVolumeLevelDisplay");if(e){var r=this.el(),n=ee(r),o=this.vertical(),l=ie(r,t);l=o?l.y:l.x,l=Ni(l,0,1),e.update(n,l,o)}le(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},r.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},r.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},r.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},r.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},r.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},r.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},r.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",(function(){0===t.player_.volume()&&t.player_.lastVolume_(e)}))},e}(ji);Xi.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Pt||bt||Xi.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),Xi.prototype.playerEvent="volumechange",sr.registerComponent("VolumeBar",Xi);var Yi=function(t){function e(e,r){var n;return void 0===r&&(r={}),r.vertical=r.vertical||!1,(void 0===r.volumeBar||ct(r.volumeBar))&&(r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=r.vertical),n=t.call(this,e,r)||this,function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",(function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")}))}(_()(n),e),n.throttledHandleMouseMove=Fe(Be(_()(n),n.handleMouseMove),je),n.handleMouseUpHandler_=function(t){return n.handleMouseUp(t)},n.on("mousedown",(function(t){return n.handleMouseDown(t)})),n.on("touchstart",(function(t){return n.handleMouseDown(t)})),n.on("mousemove",(function(t){return n.handleMouseMove(t)})),n.on(n.volumeBar,["focus","slideractive"],(function(){n.volumeBar.addClass("vjs-slider-active"),n.addClass("vjs-slider-active"),n.trigger("slideractive")})),n.on(n.volumeBar,["blur","sliderinactive"],(function(){n.volumeBar.removeClass("vjs-slider-active"),n.removeClass("vjs-slider-active"),n.trigger("sliderinactive")})),n}T()(e,t);var r=e.prototype;return r.createEl=function(){var e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+e})},r.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUpHandler_),this.on(e,"touchend",this.handleMouseUpHandler_)},r.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},r.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(sr);Yi.prototype.options_={children:["volumeBar"]},sr.registerComponent("VolumeControl",Yi);var Zi=function(t){function e(e,r){var n;return n=t.call(this,e,r)||this,function(t,e){e.tech_&&!e.tech_.featuresMuteControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",(function(){e.tech_.featuresMuteControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")}))}(_()(n),e),n.on(e,["loadstart","volumechange"],(function(t){return n.update(t)})),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},r.handleClick=function(t){var e=this.player_.volume(),r=this.player_.lastVolume_();if(0===e){var n=r<.1?.1:r;this.player_.volume(n),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},r.update=function(t){this.updateIcon_(),this.updateControlText_()},r.updateIcon_=function(){var t=this.player_.volume(),e=3;Pt&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var i=0;i<4;i++)Wt(this.el_,"vjs-vol-"+i);Ht(this.el_,"vjs-vol-"+e)},r.updateControlText_=function(){var text=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==text&&this.controlText(text)},e}(Ti);Zi.prototype.controlText_="Mute",sr.registerComponent("MuteToggle",Zi);var Ji=function(t){function e(e,r){var n;return void 0===r&&(r={}),void 0!==r.inline?r.inline=r.inline:r.inline=!0,(void 0===r.volumeControl||ct(r.volumeControl))&&(r.volumeControl=r.volumeControl||{},r.volumeControl.vertical=!r.inline),(n=t.call(this,e,r)||this).handleKeyPressHandler_=function(t){return n.handleKeyPress(t)},n.on(e,["loadstart"],(function(t){return n.volumePanelState_(t)})),n.on(n.muteToggle,"keyup",(function(t){return n.handleKeyPress(t)})),n.on(n.volumeControl,"keyup",(function(t){return n.handleVolumeControlKeyUp(t)})),n.on("keydown",(function(t){return n.handleKeyPress(t)})),n.on("mouseover",(function(t){return n.handleMouseOver(t)})),n.on("mouseout",(function(t){return n.handleMouseOut(t)})),n.on(n.volumeControl,["slideractive"],n.sliderActive_),n.on(n.volumeControl,["sliderinactive"],n.sliderInactive_),n}T()(e,t);var r=e.prototype;return r.sliderActive_=function(){this.addClass("vjs-slider-active")},r.sliderInactive_=function(){this.removeClass("vjs-slider-active")},r.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")},r.createEl=function(){var e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+e})},r.dispose=function(){this.handleMouseOut(),t.prototype.dispose.call(this)},r.handleVolumeControlKeyUp=function(t){v.a.isEventKey(t,"Esc")&&this.muteToggle.focus()},r.handleMouseOver=function(t){this.addClass("vjs-hover"),Ae(h.a,"keyup",this.handleKeyPressHandler_)},r.handleMouseOut=function(t){this.removeClass("vjs-hover"),Ie(h.a,"keyup",this.handleKeyPressHandler_)},r.handleKeyPress=function(t){v.a.isEventKey(t,"Esc")&&this.handleMouseOut()},e}(sr);Ji.prototype.options_={children:["muteToggle","volumeControl"]},sr.registerComponent("VolumePanel",Ji);var tn=function(t){function e(e,r){var n;return n=t.call(this,e,r)||this,r&&(n.menuButton_=r.menuButton),n.focusedChild_=-1,n.on("keydown",(function(t){return n.handleKeyDown(t)})),n.boundHandleBlur_=function(t){return n.handleBlur(t)},n.boundHandleTapClick_=function(t){return n.handleTapClick(t)},n}T()(e,t);var r=e.prototype;return r.addEventListenerForItem=function(component){component instanceof sr&&(this.on(component,"blur",this.boundHandleBlur_),this.on(component,["tap","click"],this.boundHandleTapClick_))},r.removeEventListenerForItem=function(component){component instanceof sr&&(this.off(component,"blur",this.boundHandleBlur_),this.off(component,["tap","click"],this.boundHandleTapClick_))},r.removeChild=function(component){"string"==typeof component&&(component=this.getChild(component)),this.removeEventListenerForItem(component),t.prototype.removeChild.call(this,component)},r.addItem=function(component){var t=this.addChild(component);t&&this.addEventListenerForItem(t)},r.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=qt(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var r=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return r.appendChild(this.contentEl_),Ae(r,"click",(function(t){t.preventDefault(),t.stopImmediatePropagation()})),r},r.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,t.prototype.dispose.call(this)},r.handleBlur=function(t){var e=t.relatedTarget||h.a.activeElement;if(!this.children().some((function(element){return element.el()===e}))){var r=this.menuButton_;r&&r.buttonPressed_&&e!==r.el().firstChild&&r.unpressButton()}},r.handleTapClick=function(t){if(this.menuButton_){this.menuButton_.unpressButton();var e=this.children();if(!Array.isArray(e))return;var r=e.filter((function(component){return component.el()===t.target}))[0];if(!r)return;"CaptionSettingsMenuItem"!==r.name()&&this.menuButton_.focus()}},r.handleKeyDown=function(t){v.a.isEventKey(t,"Left")||v.a.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(v.a.isEventKey(t,"Right")||v.a.isEventKey(t,"Up"))&&(t.preventDefault(),t.stopPropagation(),this.stepBack())},r.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},r.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},r.focus=function(t){void 0===t&&(t=0);var e=this.children().slice();e.length&&e[0].hasClass("vjs-menu-title")&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(sr);sr.registerComponent("Menu",tn);var en=function(t){function e(e,r){var n;void 0===r&&(r={}),(n=t.call(this,e,r)||this).menuButton_=new Ti(e,r),n.menuButton_.controlText(n.controlText_),n.menuButton_.el_.setAttribute("aria-haspopup","true");var o=Ti.prototype.buildCSSClass();n.menuButton_.el_.className=n.buildCSSClass()+" "+o,n.menuButton_.removeClass("vjs-control"),n.addChild(n.menuButton_),n.update(),n.enabled_=!0;var l=function(t){return n.handleClick(t)};return n.handleMenuKeyUp_=function(t){return n.handleMenuKeyUp(t)},n.on(n.menuButton_,"tap",l),n.on(n.menuButton_,"click",l),n.on(n.menuButton_,"keydown",(function(t){return n.handleKeyDown(t)})),n.on(n.menuButton_,"mouseenter",(function(){n.addClass("vjs-hover"),n.menu.show(),Ae(h.a,"keyup",n.handleMenuKeyUp_)})),n.on("mouseleave",(function(t){return n.handleMouseLeave(t)})),n.on("keydown",(function(t){return n.handleSubmenuKeyDown(t)})),n}T()(e,t);var r=e.prototype;return r.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.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},r.createMenu=function(){var menu=new tn(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=qt("li",{className:"vjs-menu-title",textContent:er(this.options_.title),tabIndex:-1}),e=new sr(this.player_,{el:t});menu.addItem(e)}if(this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)menu.addItem(this.items[i]);return menu},r.createItems=function(){},r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},r.buildWrapperCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+Ti.prototype.buildCSSClass()+" "+t.prototype.buildCSSClass.call(this)},r.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},r.controlText=function(text,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(text,t)},r.dispose=function(){this.handleMouseLeave(),t.prototype.dispose.call(this)},r.handleClick=function(t){this.buttonPressed_?this.unpressButton():this.pressButton()},r.handleMouseLeave=function(t){this.removeClass("vjs-hover"),Ie(h.a,"keyup",this.handleMenuKeyUp_)},r.focus=function(){this.menuButton_.focus()},r.blur=function(){this.menuButton_.blur()},r.handleKeyDown=function(t){v.a.isEventKey(t,"Esc")||v.a.isEventKey(t,"Tab")?(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(t,"Tab")||(t.preventDefault(),this.menuButton_.focus())):(v.a.isEventKey(t,"Up")||v.a.isEventKey(t,"Down"))&&(this.buttonPressed_||(t.preventDefault(),this.pressButton()))},r.handleMenuKeyUp=function(t){(v.a.isEventKey(t,"Esc")||v.a.isEventKey(t,"Tab"))&&this.removeClass("vjs-hover")},r.handleSubmenuKeyPress=function(t){this.handleSubmenuKeyDown(t)},r.handleSubmenuKeyDown=function(t){(v.a.isEventKey(t,"Esc")||v.a.isEventKey(t,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(t,"Tab")||(t.preventDefault(),this.menuButton_.focus()))},r.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Pt&&Ft())return;this.menu.focus()}},r.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},r.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},r.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(sr);sr.registerComponent("MenuButton",en);var rn=function(t){function e(e,r){var n,o=r.tracks;if((n=t.call(this,e,r)||this).items.length<=1&&n.hide(),!o)return _()(n);var l=Be(_()(n),n.update);return o.addEventListener("removetrack",l),o.addEventListener("addtrack",l),o.addEventListener("labelchange",l),n.player_.on("ready",l),n.player_.on("dispose",(function(){o.removeEventListener("removetrack",l),o.removeEventListener("addtrack",l),o.removeEventListener("labelchange",l)})),n}return T()(e,t),e}(en);sr.registerComponent("TrackButton",rn);var nn=["Tab","Esc","Up","Down","Right","Left"],on=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).selectable=r.selectable,n.isSelected_=r.selected||!1,n.multiSelectable=r.multiSelectable,n.selected(n.isSelected_),n.selectable?n.multiSelectable?n.el_.setAttribute("role","menuitemcheckbox"):n.el_.setAttribute("role","menuitemradio"):n.el_.setAttribute("role","menuitem"),n}T()(e,t);var r=e.prototype;return r.createEl=function(e,r,n){this.nonIconControl=!0;var o=t.prototype.createEl.call(this,"li",ut({className:"vjs-menu-item",tabIndex:-1},r),n);return o.replaceChild(qt("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),o.querySelector(".vjs-icon-placeholder")),o},r.handleKeyDown=function(e){nn.some((function(t){return v.a.isEventKey(e,t)}))||t.prototype.handleKeyDown.call(this,e)},r.handleClick=function(t){this.selected(!0)},r.selected=function(t){this.selectable&&(t?(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))},e}(pi);sr.registerComponent("MenuItem",on);var an=function(t){function e(e,r){var n,track=r.track,o=e.textTracks();r.label=track.label||track.language||"Unknown",r.selected="showing"===track.mode,(n=t.call(this,e,r)||this).track=track,n.kinds=(r.kinds||[r.kind||n.track.kind]).filter(Boolean);var c,d=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];n.handleTracksChange.apply(_()(n),e)},f=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];n.handleSelectedLanguageChange.apply(_()(n),e)};(e.on(["loadstart","texttrackchange"],d),o.addEventListener("change",d),o.addEventListener("selectedlanguagechange",f),n.on("dispose",(function(){e.off(["loadstart","texttrackchange"],d),o.removeEventListener("change",d),o.removeEventListener("selectedlanguagechange",f)})),void 0===o.onchange)&&n.on(["tap","click"],(function(){if("object"!=typeof l.a.Event)try{c=new l.a.Event("change")}catch(t){}c||(c=h.a.createEvent("Event")).initEvent("change",!0,!0),o.dispatchEvent(c)}));return n.handleTracksChange(),n}T()(e,t);var r=e.prototype;return r.handleClick=function(e){var r=this.track,n=this.player_.textTracks();if(t.prototype.handleClick.call(this,e),n)for(var i=0;i<n.length;i++){var track=n[i];-1!==this.kinds.indexOf(track.kind)&&(track===r?"showing"!==track.mode&&(track.mode="showing"):"disabled"!==track.mode&&(track.mode="disabled"))}},r.handleTracksChange=function(t){var e="showing"===this.track.mode;e!==this.isSelected_&&this.selected(e)},r.handleSelectedLanguageChange=function(t){if("showing"===this.track.mode){var e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},r.dispose=function(){this.track=null,t.prototype.dispose.call(this)},e}(on);sr.registerComponent("TextTrackMenuItem",an);var sn=function(t){function e(e,r){return r.track={player:e,kind:r.kind,kinds:r.kinds,default:!1,mode:"disabled"},r.kinds||(r.kinds=[r.kind]),r.label?r.track.label=r.label:r.track.label=r.kinds.join(" and ")+" off",r.selectable=!0,r.multiSelectable=!1,t.call(this,e,r)||this}T()(e,t);var r=e.prototype;return r.handleTracksChange=function(t){for(var e=this.player().textTracks(),r=!0,i=0,n=e.length;i<n;i++){var track=e[i];if(this.options_.kinds.indexOf(track.kind)>-1&&"showing"===track.mode){r=!1;break}}r!==this.isSelected_&&this.selected(r)},r.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),r=!0,i=0,n=e.length;i<n;i++){var track=e[i];if(["captions","descriptions","subtitles"].indexOf(track.kind)>-1&&"showing"===track.mode){r=!1;break}}r&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(an);sr.registerComponent("OffTextTrackMenuItem",sn);var un=function(t){function e(e,r){return void 0===r&&(r={}),r.tracks=e.textTracks(),t.call(this,e,r)||this}return T()(e,t),e.prototype.createItems=function(t,e){var label;void 0===t&&(t=[]),void 0===e&&(e=an),this.label_&&(label=this.label_+" off"),t.push(new sn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:label})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var track=r[i];if(this.kinds_.indexOf(track.kind)>-1){var n=new e(this.player_,{track:track,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});
vendor: 1,835 bytes, line 2
2n.addClass("vjs-"+track.kind+"-menu-item"),t.push(n)}}return t},e}(rn);sr.registerComponent("TextTrackButton",un);var ln=function(t){function e(e,r){var n,track=r.track,o=r.cue,l=e.currentTime();return r.selectable=!0,r.multiSelectable=!1,r.label=o.text,r.selected=o.startTime<=l&&l<o.endTime,(n=t.call(this,e,r)||this).track=track,n.cue=o,n}return T()(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime)},e}(on);sr.registerComponent("ChaptersTrackMenuItem",ln);var cn=function(t){function e(e,r,n){var o;return(o=t.call(this,e,r,n)||this).selectCurrentItem_=function(){o.items.forEach((function(t){t.selected(o.track_.activeCues[0]===t.cue)}))},o}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildWrapperCSSClass.call(this)},r.update=function(e){if(!e||!e.track||"chapters"===e.track.kind){var track=this.findChaptersTrack();track!==this.track_?(this.setTrack(track),t.prototype.update.call(this)):(!this.items||track&&track.cues&&track.cues.length!==this.items.length)&&t.prototype.update.call(this)}},r.setTrack=function(track){if(this.track_!==track){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=track,this.track_){this.track_.mode="hidden";var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}
vendor: 12,439 bytes, line 2
2,r.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],i=t.length-1;i>=0;i--){var track=t[i];if(track.kind===this.kind_)return track}},r.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(er(this.kind_))},r.createMenu=function(){return this.options_.title=this.getMenuCaption(),t.prototype.createMenu.call(this)},r.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var i=0,r=e.length;i<r;i++){var n=e[i],o=new ln(this.player_,{track:this.track_,cue:n});t.push(o)}return t},e}(un);cn.prototype.kind_="chapters",cn.prototype.controlText_="Chapters",sr.registerComponent("ChaptersButton",cn);var hn=function(t){function e(e,r,n){var o;o=t.call(this,e,r,n)||this;var l=e.textTracks(),c=Be(_()(o),o.handleTracksChange);return l.addEventListener("change",c),o.on("dispose",(function(){l.removeEventListener("change",c)})),o}T()(e,t);var r=e.prototype;return r.handleTracksChange=function(t){for(var e=this.player().textTracks(),r=!1,i=0,n=e.length;i<n;i++){var track=e[i];if(track.kind!==this.kind_&&"showing"===track.mode){r=!0;break}}r?this.disable():this.enable()},r.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(un);hn.prototype.kind_="descriptions",hn.prototype.controlText_="Descriptions",sr.registerComponent("DescriptionsButton",hn);var dn=function(t){function e(e,r,n){return t.call(this,e,r,n)||this}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(un);dn.prototype.kind_="subtitles",dn.prototype.controlText_="Subtitles",sr.registerComponent("SubtitlesButton",dn);var fn=function(t){function e(e,r){var n;return r.track={player:e,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1,r.name="CaptionSettingsMenuItem",(n=t.call(this,e,r)||this).addClass("vjs-texttrack-settings"),n.controlText(", opens "+r.kind+" settings dialog"),n}return T()(e,t),e.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(an);sr.registerComponent("CaptionSettingsMenuItem",fn);var pn=function(t){function e(e,r,n){return t.call(this,e,r,n)||this}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-captions-button "+t.prototype.buildWrapperCSSClass.call(this)},r.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new fn(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),t.prototype.createItems.call(this,e)},e}(un);pn.prototype.kind_="captions",pn.prototype.controlText_="Captions",sr.registerComponent("CaptionsButton",pn);var mn=function(t){function e(){return t.apply(this,arguments)||this}return T()(e,t),e.prototype.createEl=function(e,r,n){var o=t.prototype.createEl.call(this,e,r,n),l=o.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(l.appendChild(qt("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),l.appendChild(qt("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),o},e}(an);sr.registerComponent("SubsCapsMenuItem",mn);var gn=function(t){function e(e,r){var n;return void 0===r&&(r={}),(n=t.call(this,e,r)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(n.player_.language_)>-1&&(n.label_="captions"),n.menuButton_.controlText(er(n.label_)),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildWrapperCSSClass.call(this)},r.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new fn(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=t.prototype.createItems.call(this,e,mn)},e}(un);gn.prototype.kinds_=["captions","subtitles"],gn.prototype.controlText_="Subtitles",sr.registerComponent("SubsCapsButton",gn);var vn=function(t){function e(e,r){var n,track=r.track,o=e.audioTracks();r.label=track.label||track.language||"Unknown",r.selected=track.enabled,(n=t.call(this,e,r)||this).track=track,n.addClass("vjs-"+track.kind+"-menu-item");var l=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];n.handleTracksChange.apply(_()(n),e)};return o.addEventListener("change",l),n.on("dispose",(function(){o.removeEventListener("change",l)})),n}T()(e,t);var r=e.prototype;return r.createEl=function(e,r,n){var o=t.prototype.createEl.call(this,e,r,n),l=o.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(l.appendChild(qt("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),l.appendChild(qt("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),o},r.handleClick=function(e){if(t.prototype.handleClick.call(this,e),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var r=this.player_.audioTracks(),i=0;i<r.length;i++){var track=r[i];track!==this.track&&(track.enabled=track===this.track)}},r.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(on);sr.registerComponent("AudioTrackMenuItem",vn);var yn=function(t){function e(e,r){return void 0===r&&(r={}),r.tracks=e.audioTracks(),t.call(this,e,r)||this}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-audio-button "+t.prototype.buildWrapperCSSClass.call(this)},r.createItems=function(t){void 0===t&&(t=[]),this.hideThreshold_=1;for(var e=this.player_.audioTracks(),i=0;i<e.length;i++){var track=e[i];t.push(new vn(this.player_,{track:track,selectable:!0,multiSelectable:!1}))}return t},e}(rn);yn.prototype.controlText_="Audio Track",sr.registerComponent("AudioTrackButton",yn);var bn=function(t){function e(e,r){var n,label=r.rate,o=parseFloat(label,10);return r.label=label,r.selected=o===e.playbackRate(),r.selectable=!0,r.multiSelectable=!1,(n=t.call(this,e,r)||this).label=label,n.rate=o,n.on(e,"ratechange",(function(t){return n.update(t)})),n}T()(e,t);var r=e.prototype;return r.handleClick=function(e){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},r.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}(on);bn.prototype.contentElType="button",sr.registerComponent("PlaybackRateMenuItem",bn);var _n=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).menuButton_.el_.setAttribute("aria-describedby",n.labelElId_),n.updateVisibility(),n.updateLabel(),n.on(e,"loadstart",(function(t){return n.updateVisibility(t)})),n.on(e,"ratechange",(function(t){return n.updateLabel(t)})),n.on(e,"playbackrateschange",(function(t){return n.handlePlaybackRateschange(t)})),n}T()(e,t);var r=e.prototype;return r.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=qt("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),e.appendChild(this.labelEl_),e},r.dispose=function(){this.labelEl_=null,t.prototype.dispose.call(this)},r.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},r.buildWrapperCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildWrapperCSSClass.call(this)},r.createItems=function(){for(var t=this.playbackRates(),e=[],i=t.length-1;i>=0;i--)e.push(new bn(this.player(),{rate:t[i]+"x"}));return e},r.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},r.handleClick=function(t){var e=this.player().playbackRate(),r=this.playbackRates(),n=(r.indexOf(e)+1)%r.length;this.player().playbackRate(r[n])},r.handlePlaybackRateschange=function(t){this.update()},r.playbackRates=function(){var t=this.player();return t.playbackRates&&t.playbackRates()||[]},r.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},r.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},r.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},e}(en);_n.prototype.controlText_="Playback Rate",sr.registerComponent("PlaybackRateMenuButton",_n);var wn=function(t){function e(){return t.apply(this,arguments)||this}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},r.createEl=function(e,r,n){return void 0===e&&(e="div"),void 0===r&&(r={}),void 0===n&&(n={}),r.className||(r.className=this.buildCSSClass()),t.prototype.createEl.call(this,e,r,n)},e}(sr);sr.registerComponent("Spacer",wn);var Tn=function(t){function e(){return t.apply(this,arguments)||this}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},r.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},e}(wn);sr.registerComponent("CustomControlSpacer",Tn);var Sn=function(t){function e(){return t.apply(this,arguments)||this}return T()(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},e}(sr);Sn.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in h.a&&Sn.prototype.options_.children.splice(Sn.prototype.options_.children.length-1,0,"pictureInPictureToggle"),sr.registerComponent("ControlBar",Sn);var Mn=function(t){function e(e,r){var n;return(n=t.call(this,e,r)||this).on(e,"error",(function(t){return n.open(t)})),n}T()(e,t);var r=e.prototype;return r.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},r.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(Tr);Mn.prototype.options_=f()({},Tr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),sr.registerComponent("ErrorDisplay",Mn);var xn="vjs-text-track-settings",kn=["#000","Black"],En=["#00F","Blue"],On=["#0FF","Cyan"],Cn=["#0F0","Green"],An=["#F0F","Magenta"],In=["#F00","Red"],Pn=["#FFF","White"],Rn=["#FF0","Yellow"],Dn=["1","Opaque"],Ln=["0.5","Semi-Transparent"],Nn=["0","Transparent"],jn={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[kn,Pn,In,Cn,En,Rn,An,On]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[Dn,Ln,Nn]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Pn,kn,In,Cn,En,Rn,An,On]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity >
2 select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[Dn,Ln]},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:[Nn,Ln,Dn]}};function Bn(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}jn.windowColor.options=jn.backgroundColor.options;var Fn=function(t){function e(e,r){var n;return r.temporary=!1,(n=t.call(this,e,r)||this).updateDisplay=n.updateDisplay.bind(_()(n)),n.fill(),n.hasBeenOpened_=n.hasBeenFilled_=!0,n.endDialog=qt("p",{className:"vjs-control-text",textContent:n.localize("End of dialog window.")}),n.el().appendChild(n.endDialog),n.setDefaults(),void 0===r.persistTextTrackSettings&&(n.options_.persistTextTrackSettings=n.options_.playerOptions.persistTextTrackSettings),n.on(n.$(".vjs-done-button"),"click",(function(){n.saveSettings(),n.close()})),n.on(n.$(".vjs-default-button"),"click",(function(){n.setDefaults(),n.updateDisplay()})),st(jn,(function(t){n.on(n.$(t.selector),"change",n.updateDisplay)})),n.options_.persistTextTrackSettings&&n.restoreSettings(),n}T()(e,t);var r=e.prototype;return r.dispose=function(){this.endDialog=null,t.prototype.dispose.call(this)},r.createElSelect_=function(t,e,r){var n=this;void 0===e&&(e=""),void 0===r&&(r="label");var o=jn[t],l=o.id.replace("%s",this.id_),c=[e,l].join(" ").trim();return["<"+r+' id="'+l+'" class="'+("label"===r?"vjs-label":"")+'">',this.localize(o.label),"</"+r+">",'<select aria-labelledby="'+c+'">'].concat(o.options.map((function(t){var e=l+"-"+t[1].replace(/\W+/g,"");return['<option id="'+e+'" value="'+t[0]+'" ','aria-labelledby="'+c+" "+e+'">',n.localize(t[1]),"</option>"].join("")}))).concat("</select>").join("")},r.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},r.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},r.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},r.createElColors_=function(){return qt("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},r.createElFont_=function(){return qt("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("")})},r.createElControls_=function(){var t=this.localize("restore all settings to the default values");return qt("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},r.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},r.label=function(){return this.localize("Caption Settings Dialog")},r.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},r.buildCSSClass=function(){return t.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},r.getValues=function(){var object,t,e,r=this;return t=function(t,e,n){var o,l,c=(o=r.$(e.selector),l=e.parser,Bn(o.options[o.options.selectedIndex].value,l));return void 0!==c&&(t[n]=c),t},void 0===(e={})&&(e=0),at(object=jn).reduce((function(e,r){return t(e,object[r],r)}),e)},r.setValues=function(t){var e=this;st(jn,(function(r,n){!function(t,e,r){if(e)for(var i=0;i<t.options.length;i++)if(Bn(t.options[i].value,r)===e){t.selectedIndex=i;break}}(e.$(r.selector),t[n],r.parser)}))},r.setDefaults=function(){var t=this;st(jn,(function(e){var r=e.hasOwnProperty("default")?e.default:0;t.$(e.selector).selectedIndex=r}))},r.restoreSettings=function(){var t;try{t=JSON.parse(l.a.localStorage.getItem(xn))}catch(t){it.warn(t)}t&&this.setValues(t)},r.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?l.a.localStorage.setItem(xn,JSON.stringify(t)):l.a.localStorage.removeItem(xn)}catch(t){it.warn(t)}}},r.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},r.conditionalBlur_=function(){this.previouslyActiveEl_=null;var t=this.player_.controlBar,e=t&&t.subsCapsButton,r=t&&t.captionsButton;e?e.focus():r&&r.focus()},e}(Tr);sr.registerComponent("TextTrackSettings",Fn);var Un=function(t){function e(e,r){var n,o=r.ResizeObserver||l.a.ResizeObserver;null===r.ResizeObserver&&(o=!1);var c=rr({createEl:!o,reportTouchActivity:!1},r);return(n=t.call(this,e,c)||this).ResizeObserver=r.ResizeObserver||l.a.ResizeObserver,n.loadListener_=null,n.resizeObserver_=null,n.debouncedHandler_=function(t,e,r,n){var o;void 0===n&&(n=l.a);var c=function(){var l=this,c=arguments,h=function(){o=null,h=null,r||t.apply(l,c)};!o&&r&&t.apply(l,c),n.clearTimeout(o),o=n.setTimeout(h,e)};return c.cancel=function(){n.clearTimeout(o),o=null},c}((function(){n.resizeHandler()}),100,!1,_()(n)),o?(n.resizeObserver_=new n.ResizeObserver(n.debouncedHandler_),n.resizeObserver_.observe(e.el(
vendor: 35,711 bytes, line 2
2))):(n.loadListener_=function(){if(n.el_&&n.el_.contentWindow){var t=n.debouncedHandler_,e=n.unloadListener_=function(){Ie(this,"resize",t),Ie(this,"unload",e),e=null};Ae(n.el_.contentWindow,"unload",e),Ae(n.el_.contentWindow,"resize",t)}},n.one("load",n.loadListener_)),n}T()(e,t);var r=e.prototype;return r.createEl=function(){return t.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})},r.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},r.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,t.prototype.dispose.call(this)},e}(sr);sr.registerComponent("ResizeManager",Un);var qn={trackingThreshold:20,liveTolerance:15},zn=function(t){function e(e,r){var n,o=rr(qn,r,{createEl:!1});return(n=t.call(this,e,o)||this).handleVisibilityChange_=function(t){return n.handleVisibilityChange(t)},n.trackLiveHandler_=function(){return n.trackLive_()},n.handlePlay_=function(t){return n.handlePlay(t)},n.handleFirstTimeupdate_=function(t){return n.handleFirstTimeupdate(t)},n.handleSeeked_=function(t){return n.handleSeeked(t)},n.seekToLiveEdge_=function(t){return n.seekToLiveEdge(t)},n.reset_(),n.on(n.player_,"durationchange",(function(t){return n.handleDurationchange(t)})),n.on(n.player_,"canplay",(function(){return n.toggleTracking()})),kt&&"hidden"in h.a&&"visibilityState"in h.a&&n.on(h.a,"visibilitychange",n.handleVisibilityChange_),n}T()(e,t);var r=e.prototype;return r.handleVisibilityChange=function(){this.player_.duration()===1/0&&(h.a.hidden?this.stopTracking():this.startTracking())},r.trackLive_=function(){var t=this.player_.seekable();if(t&&t.length){var e=Number(l.a.performance.now().toFixed(4)),r=-1===this.lastTime_?0:(e-this.lastTime_)/1e3;this.lastTime_=e,this.pastSeekEnd_=this.pastSeekEnd()+r;var n=this.liveCurrentTime(),o=this.player_.currentTime(),c=this.player_.paused()||this.seekedBehindLive_||Math.abs(n-o)>this.options_.liveTolerance;this.timeupdateSeen_&&n!==1/0||(c=!1),c!==this.behindLiveEdge_&&(this.behindLiveEdge_=c,this.trigger("liveedgechange"))}},r.handleDurationchange=function(){this.toggleTracking()},r.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())},r.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,je),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_)))},r.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},r.handleSeeked=function(){var t=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&t>2,this.nextSeekedFromUser_=!1,this.trackLive_()},r.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},r.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_)},r.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},r.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},r.seekableEnd=function(){for(var t=this.player_.seekable(),e=[],i=t?t.length:0;i--;)e.push(t.end(i));return e.length?e.sort()[e.length-1]:1/0},r.seekableStart=function(){for(var t=this.player_.seekable(),e=[],i=t?t.length:0;i--;)e.push(t.start(i));return e.length?e.sort()[0]:0},r.liveWindow=function(){var t=this.liveCurrentTime();return t===1/0?0:t-this.seekableStart()},r.isLive=function(){return this.isTracking()},r.atLiveEdge=function(){return!this.behindLiveEdge()},r.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},r.pastSeekEnd=function(){var t=this.seekableEnd();return-1!==this.lastSeekEnd_&&t!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=t,this.pastSeekEnd_},r.behindLiveEdge=function(){return this.behindLiveEdge_},r.isTracking=function(){return"number"==typeof this.trackingInterval_},r.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},r.dispose=function(){this.off(h.a,"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),t.prototype.dispose.call(this)},e}(sr);sr.registerComponent("LiveTracker",zn);var Vn,$n=function(t){var e=t.el();if(e.hasAttribute("src"))return t.triggerSourceset(e.src),!0;var r=t.$$("source"),n=[],o="";if(!r.length)return!1;for(var i=0;i<r.length;i++){var l=r[i].src;l&&-1===n.indexOf(l)&&n.push(l)}return!!n.length&&(1===n.length&&(o=n[0]),t.triggerSourceset(o),!0)},Hn=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(t){var e=h.a.createElement(this.nodeName.toLowerCase());e.innerHTML=t;for(var r=h.a.createDocumentFragment();e.childNodes.length;)r.appendChild(e.childNodes[0]);return this.innerText="",l.a.Element.prototype.appendChild.call(this,r),this.innerHTML}}),Wn=function(t,e){for(var r={},i=0;i<t.length&&!((r=Object.getOwnPropertyDescriptor(t[i],e))&&r.set&&r.get);i++);return r.enumerable=!0,r.configurable=!0,r},Gn=function(t){var e=t.el();if(!e.resetSourceWatch_){var r={},n=function(t){return Wn([t.el(),l.a.HTMLMediaElement.prototype,l.a.Element.prototype,Hn],"innerHTML")}(t),o=function(r){return function(){for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];var c=r.apply(e,o);return $n(t),c}};["append","appendChild","insertAdjacentHTML"].forEach((function(t){e[t]&&(r[t]=e[t],e[t]=o(r[t]))})),Object.defineProperty(e,"innerHTML",rr(n,{set:o(n.set)})),e.resetSourceWatch_=function(){e.resetSourceWatch_=null,Object.keys(r).forEach((function(t){e[t]=r[t]})),Object.defineProperty(e,"innerHTML",n)},t.one("sourceset",e.resetSourceWatch_)}},Qn=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?Br(l.a.Element.prototype.getAttribute.call(this,"src")):""},set:function(t){return l.a.Element.prototype.setAttribute.call(this,"src",t),t}}),Kn=function(t){if(t.featuresSourceset){var e=t.el();if(!e.resetSourceset_){var r=function(t){return Wn([t.el(),l.a.HTMLMediaElement.prototype,Qn],"src")}(t),n=e.setAttribute,o=e.load;Object.defineProperty(e,"src",rr(r,{set:function(n){var o=r.set.call(e,n);return t.triggerSourceset(e.src),o}})),e.setAttribute=function(r,o){var l=n.call(e,r,o);return/src/i.test(r)&&t.triggerSourceset(e.src),l},e.load=function(){var r=o.call(e);return $n(t)||(t.triggerSourceset(""),Gn(t)),r},e.currentSrc?t.triggerSourceset(e.currentSrc):$n(t)||Gn(t),e.resetSourceset_=function(){e.resetSourceset_=null,e.load=o,e.setAttribute=n,Object.defineProperty(e,"src",r),e.resetSourceWatch_&&e.resetSourceWatch_()}}}},Xn=function(t,e,r,n){void 0===n&&(n=!0);var o=function(r){return Object.defineProperty(t,e,{value:r,enumerable:!0,writable:!0})},l={configurable:!0,enumerable:!0,get:function(){var t=r();return o(t),t}};return n&&(l.set=o),Object.defineProperty(t,e,l)},Yn=function(t){function e(e,r){var n;n=t.call(this,e,r)||this;var source=e.source,o=!1;if(n.featuresVideoFrameCallback=n.featuresVideoFrameCallback&&"VIDEO"===n.el_.tagName,source&&(n.el_.currentSrc!==source.src||e.tag&&3===e.tag.initNetworkState_)?n.setSource(source):n.handleLateInit_(n.el_),e.enableSourceset&&n.setupSourcesetHandling_(),n.isScrubbing_=!1,n.el_.hasChildNodes()){for(var l=n.el_.childNodes,c=l.length,h=[];c--;){var d=l[c];"track"===d.nodeName.toLowerCase()&&(n.featuresNativeTextTracks?(n.remoteTextTrackEls().addTrackElement_(d),n.remoteTextTracks().addTrack(d.track),n.textTracks().addTrack(d.track),o||n.el_.hasAttribute("crossorigin")||!Ur(d.src)||(o=!0)):h.push(d))}for(var i=0;i<h.length;i++)n.el_.removeChild(h[i])}return n.proxyNativeTracks_(),n.featuresNativeTextTracks&&o&&it.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),n.restoreMetadataTracksInIOSNativePlayer_(),(Ct||It||wt)&&!0===e.nativeControlsForTouch&&n.setControls(!0),n.proxyWebkitFullscreen_(),n.triggerReady(),n}T()(e,t);var r=e.prototype;return r.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),e.disposeMediaElement(this.el_),this.options_=null,t.prototype.dispose.call(this)},r.setupSourcesetHandling_=function(){Kn(this)},r.restoreMetadataTracksInIOSNativePlayer_=function(){var t,e=this.textTracks(),r=function(){t=[];for(var i=0;i<e.length;i++){var track=e[i];"metadata"===track.kind&&t.push({track:track,storedMode:track.mode})}};r(),e.addEventListener("change",r),this.on("dispose",(function(){return e.removeEventListener("change",r)}));var n=function r(){for(var i=0;i<t.length;i++){var n=t[i];"disabled"===n.track.mode&&n.track.mode!==n.storedMode&&(n.track.mode=n.storedMode)}e.removeEventListener("change",r)};this.on("webkitbeginfullscreen",(function(){e.removeEventListener("change",r),e.removeEventListener("change",n),e.addEventListener("change",n)})),this.on("webkitendfullscreen",(function(){e.removeEventListener("change",r),e.addEventListener("change",r),e.removeEventListener("change",n)}))},r.overrideNative_=function(t,e){var r=this;if(e===this["featuresNative"+t+"Tracks"]){var n=t.toLowerCase();this[n+"TracksListeners_"]&&Object.keys(this[n+"TracksListeners_"]).forEach((function(t){r.el()[n+"Tracks"].removeEventListener(t,r[n+"TracksListeners_"][t])})),this["featuresNative"+t+"Tracks"]=!e,this[n+"TracksListeners_"]=null,this.proxyNativeTracksForType_(n)}},r.overrideNativeAudioTracks=function(t){this.overrideNative_("Audio",t)},r.overrideNativeVideoTracks=function(t){this.overrideNative_("Video",t)},r.proxyNativeTracksForType_=function(t){var e=this,r=Qr[t],n=this.el()[r.getterName],o=this[r.getterName]();if(this["featuresNative"+r.capitalName+"Tracks"]&&n&&n.addEventListener){var l={change:function(r){var n={type:"change",target:o,currentTarget:o,srcElement:o};o.trigger(n),"text"===t&&e[Kr.remoteText.getterName]().trigger(n)},addtrack:function(t){o.addTrack(t.track)},removetrack:function(t){o.removeTrack(t.track)}},c=function(){for(var t=[],i=0;i<o.length;i++){for(var e=!1,r=0;r<n.length;r++)if(n[r]===o[i]){e=!0;break}e||t.push(o[i])}for(;t.length;)o.removeTrack(t.shift())};this[r.getterName+"Listeners_"]=l,Object.keys(l).forEach((function(t){var r=l[t];n.addEventListener(t,r),e.on("dispose",(function(e){return n.removeEventListener(t,r)}))})),this.on("loadstart",c),this.on("dispose",(function(t){return e.off("loadstart",c)}))}},r.proxyNativeTracks_=function(){var t=this;Qr.names.forEach((function(e){t.proxyNativeTracksForType_(e)}))},r.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var r=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(r,t),e.disposeMediaElement(t),t=r}else{t=h.a.createElement("video");var n=rr({},this.options_.tag&&Kt(this.options_.tag));Ct&&!0===this.options_.nativeControlsForTouch||delete n.controls,Qt(t,ut(n,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}void 0!==this.options_.preload&&Yt(t,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(t.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?Yt(t,l,l):Zt(t,l),t[l]=c)}return t},r.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,r=function(){e=!0};this.on("loadstart",r);var n=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",n),void this.ready((function(){this.off("loadstart",r),this.off("loadedmetadata",n),e||this.trigger("loadstart")}))}var o=["loadstart"];o.push("loadedmetadata"),t.readyState>=2&&o.push("loadeddata"),t.readyState>=3&&o.push("canplay"),t.readyState>=4&&o.push("canplaythrough"),this.ready((function(){o.forEach((function(t){this.trigger(t)}),this)}))}},r.setScrubbing=function(t){this.isScrubbing_=t},r.scrubbing=function(){return this.isScrubbing_},r.setCurrentTime=function(t){try{this.isScrubbing_&&this.el_.fastSeek&&Rt?this.el_.fastSeek(t):this.el_.currentTime=t}catch(t){it(t,"Video is not ready. (Video.js)")}},r.duration=function(){var t=this;if(this.el_.duration===1/0&&bt&&Mt&&0===this.el_.currentTime){return this.on("timeupdate",(function e(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))})),NaN}return this.el_.duration||NaN},r.width=function(){return this.el_.offsetWidth},r.height=function(){return this.el_.offsetHeight},r.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},r=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",r),this.on("dispose",(function(){t.off("webkitbeginfullscreen",r),t.off("webkitendfullscreen",e)}))}},r.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=l.a.navigator&&l.a.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},r.enterFullScreen=function(){var video=this.el_;if(video.paused&&video.networkState<=video.HAVE_METADATA)gr(this.el_.play()),this.setTimeout((function(){video.pause();try{video.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}}),0);else try{video.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},r.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},r.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},r.requestVideoFrameCallback=function(e){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(e):t.prototype.requestVideoFrameCallback.call(this,e)},r.cancelVideoFrameCallback=function(e){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(e):t.prototype.cancelVideoFrameCallback.call(this,e)},r.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},r.reset=function(){e.resetMediaElement(this.el_)},r.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},r.setControls=function(t){this.el_.controls=!!t},r.addTextTrack=function(e,label,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,label,r):t.prototype.addTextTrack.call(this,e,label,r)},r.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.createRemoteTextTrack.call(this,e);var r=h.a.createElement("track");return e.kind&&(r.kind=e.kind),e.label&&(r.label=e.label),(e.language||e.srclang)&&(r.srclang=e.language||e.srclang),e.default&&(r.default=e.default),e.id&&(r.id=e.id),e.src&&(r.src=e.src),r},r.addRemoteTextTrack=function(e,r){var n=t.prototype.addRemoteTextTrack.call(this,e,r);return this.featuresNativeTextTracks&&this.el().appendChild(n),n},r.removeRemoteTextTrack=function(track){if(t.prototype.removeRemoteTextTrack.call(this,track),this.featuresNativeTextTracks)for(var e=this.$$("track"),i=e.length;i--;)track!==e[i]&&track!==e[i].track||this.el().removeChild(e[i])},r.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),l.a.performance&&"function"==typeof l.a.performance.now?t.creationTime=l.a.performance.now():l.a.performance&&l.a.performance.timing&&"number"==typeof l.a.performance.timing.navigationStart&&(t.creationTime=l.a.Date.now()-l.a.performance.timing.navigationStart),t},e}(Yr);Xn(Yn,"TEST_VID",(function(){if(jt()){var video=h.a.createElement("video"),track=h.a.createElement("track");return track.kind="captions",track.srclang="en",track.label="English",video.appendChild(track),video}})),Yn.isSupported=function(){try{Yn.TEST_VID.volume=.5}catch(t){return!1}return!(!Yn.TEST_VID||!Yn.TEST_VID.canPlayType)},Yn.canPlayType=function(t){return Yn.TEST_VID.canPlayType(t)},Yn.canPlaySource=function(t,e){return Yn.canPlayType(t.type)},Yn.canControlVolume=function(){try{var t=Yn.TEST_VID.volume;Yn.TEST_VID.volume=t/2+.1;var e=t!==Yn.TEST_VID.volume;return e&&Pt?(l.a.setTimeout((function(){Yn&&Yn.prototype&&(Yn.prototype.featuresVolumeControl=t!==Yn.TEST_VID.volume)})),!1):e}catch(t){return!1}},Yn.canMuteVolume=function(){try{var t=Yn.TEST_VID.muted;return Yn.TEST_VID.muted=!t,Yn.TEST_VID.muted?Yt(Yn.TEST_VID,"muted","muted"):Zt(Yn.TEST_VID,"muted"),t!==Yn.TEST_VID.muted}catch(t){return!1}},Yn.canControlPlaybackRate=function(){if(bt&&Mt&&xt<58)return!1;try{var t=Yn.TEST_VID.playbackRate;return Yn.TEST_VID.playbackRate=t/2+.1,t!==Yn.TEST_VID.playbackRate}catch(t){return!1}},Yn.canOverrideAttributes=function(){try{var t=function(){};Object.defineProperty(h.a.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(h.a.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(h.a.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(h.a.createElement("audio"),"innerHTML",{get:t,set:t})}catch(t){return!1}return!0},Yn.supportsNativeTextTracks=function(){return Rt||Pt&&Mt},Yn.supportsNativeVideoTracks=function(){return!(!Yn.TEST_VID||!Yn.TEST_VID.videoTracks)},Yn.supportsNativeAudioTracks=function(){return!(!Yn.TEST_VID||!Yn.TEST_VID.audioTracks)},Yn.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(t){var e=t[0],r=t[1];Xn(Yn.prototype,e,(function(){return Yn[r]()}),!0)})),Yn.prototype.featuresVolumeControl=Yn.canControlVolume(),Yn.prototype.movingMediaElementInDOM=!Pt,Yn.prototype.featuresFullscreenResize=!0,Yn.prototype.featuresProgressEvents=!0,Yn.prototype.featuresTimeupdateEvents=!0,Yn.prototype.featuresVideoFrameCallback=!(!Yn.TEST_VID||!Yn.TEST_VID.requestVideoFrameCallback),Yn.patchCanPlayType=function(){_t>=4&&!Tt&&!Mt&&(Vn=Yn.TEST_VID&&Yn.TEST_VID.constructor.prototype.canPlayType,Yn.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(t)?"maybe":Vn.call(this,t)})},Yn.unpatchCanPlayType=function(){var t=Yn.TEST_VID.constructor.prototype.canPlayType;return Vn&&(Yn.TEST_VID.constructor.prototype.canPlayType=Vn),t},Yn.patchCanPlayType(),Yn.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},Yn.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),i=e.length;i--;)t.removeChild(e[i]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(t){Yn.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(t){Yn.prototype["set"+er(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(t){Yn.prototype[t]=function(){return this.el_[t]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(t){Yn.prototype["set"+er(t)]=function(e){this.el_[t]=e}})),["pause","load","play"].forEach((function(t){Yn.prototype[t]=function(){return this.el_[t]()}})),Yr.withSourceHandlers(Yn),Yn.nativeSourceHandler={},Yn.nativeSourceHandler.canPlayType=function(t){try{return Yn.TEST_VID.canPlayType(t)}catch(t){return""}},Yn.nativeSourceHandler.canHandleSource=function(source,t){if(source.type)return Yn.nativeSourceHandler.canPlayType(source.type);if(source.src){var e=Fr(source.src);return Yn.nativeSourceHandler.canPlayType("video/"+e)}return""},Yn.nativeSourceHandler.handleSource=function(source,t,e){t.setSrc(source.src)},Yn.nativeSourceHandler.dispose=function(){},Yn.registerSourceHandler(Yn.nativeSourceHandler),Yr.registerTech("Html5",Yn);var Zn=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Jn={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},to=["tiny","xsmall","small","medium","large","xlarge","huge"],eo={};to.forEach((function(t){var e="x"===t.charAt(0)?"x-"+t.substring(1):t;eo[t]="vjs-layout-"+e}));var ro={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},io=function(t){function e(r,n,o){var l;if(r.id=r.id||n.id||"vjs_video_"+Te(),(n=ut(e.getTagSettings(r),n)).initChildren=!1,n.createEl=!1,n.evented=!1,n.reportTouchActivity=!1,!n.language)if("function"==typeof r.closest){var c=r.closest("[lang]");c&&c.getAttribute&&(n.language=c.getAttribute("lang"))}else for(var element=r;element&&1===element.nodeType;){if(Kt(element).hasOwnProperty("lang")){n.language=element.getAttribute("lang");break}element=element.parentNode}if((l=t.call(this,null,n,o)||this).boundDocumentFullscreenChange_=function(t){return l.documentFullscreenChange_(t)},l.boundFullWindowOnEscKey_=function(t){return l.fullWindowOnEscKey(t)},l.boundUpdateStyleEl_=function(t){return l.updateStyleEl_(t)},l.boundApplyInitTime_=function(t){return l.applyInitTime_(t)},l.boundUpdateCurrentBreakpoint_=function(t){return l.updateCurrentBreakpoint_(t)},l.boundHandleTechClick_=function(t){return l.handleTechClick_(t)},l.boundHandleTechDoubleClick_=function(t){return l.handleTechDoubleClick_(t)},l.boundHandleTechTouchStart_=function(t){return l.handleTechTouchStart_(t)},l.boundHandleTechTouchMove_=function(t){return l.handleTechTouchMove_(t)},l.boundHandleTechTouchEnd_=function(t){return l.handleTechTouchEnd_(t)},l.boundHandleTechTap_=function(t){return l.handleTechTap_(t)},l.isFullscreen_=!1,l.log=nt(l.id_),l.fsApi_=Y,l.isPosterFromTech_=!1,l.queuedCallbacks_=[],l.isReady_=!1,l.hasStarted_=!1,l.userActive_=!1,l.debugEnabled_=!1,l.audioOnlyMode_=!1,l.audioPosterMode_=!1,l.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!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=r,l.tagAttributes=r&&Kt(r),l.language(l.options_.language),n.languages){var d={};Object.getOwnPropertyNames(n.languages).forEach((function(t){d[t.toLowerCase()]=n.languages[t]})),l.languages_=d}else l.languages_=e.prototype.options_.languages;l.resetCache_(),l.poster_=n.poster||"",l.controls_=!!n.controls,r.controls=!1,r.removeAttribute("controls"),l.changingSrc_=!1,l.playCallbacks_=[],l.playTerminatedQueue_=[],r.hasAttribute("autoplay")?l.autoplay(!0):l.autoplay(l.options_.autoplay),n.plugins&&Object.keys(n.plugins).forEach((function(t){if("function"!=typeof l[t])throw new Error('plugin "'+t+'" does not exist')})),l.scrubbing_=!1,l.el_=l.createEl(),Xe(_()(l),{eventBusKey:"el_"}),l.fsApi_.requestFullscreen&&(Ae(h.a,l.fsApi_.fullscreenchange,l.boundDocumentFullscreenChange_),l.on(l.fsApi_.fullscreenchange,l.boundDocumentFullscreenChange_)),l.fluid_&&l.on(["playerreset","resize"],l.boundUpdateStyleEl_);var f=rr(l.options_);n.plugins&&Object.keys(n.plugins).forEach((function(t){l[t](n.plugins[t])})),n.debug&&l.debug(!0),l.options_.playerOptions=f,l.middleware_=[],l.playbackRates(n.playbackRates),l.initChildren(),l.isAudio("audio"===r.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"),Ct&&l.addClass("vjs-touch-enabled"),Pt||l.addClass("vjs-workinghover"),e.players[l.id_]=_()(l);var m=G.split(".")[0];return l.addClass("vjs-v"+m),l.userActive(!0),l.reportUserActivity(),l.one("play",(function(t){return l.listenForUserActivity_(t)})),l.on("stageclick",(function(t){return l.handleStageClick_(t)})),l.on("keydown",(function(t){return l.handleKeyDown(t)})),l.on("languagechange",(function(t){return l.handleLanguagechange(t)})),l.breakpoints(l.options_.breakpoints),l.responsive(l.options_.responsive),l.on("ready",(function(){l.audioPosterMode(l.options_.audioPosterMode),l.audioOnlyMode(l.options_.audioOnlyMode)})),l}T()(e,t);var r=e.prototype;return r.dispose=function(){var r=this;this.trigger("dispose"),this.off("dispose"),Ie(h.a,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Ie(h.a,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Jr[this.id()]=null,Xr.names.forEach((function(t){var e=Xr[t],n=r[e.getterName]();n&&n.off&&n.off()})),t.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},r.createEl=function(){var e,r=this.tag,n=this.playerElIngest_=r.parentNode&&r.parentNode.hasAttribute&&r.parentNode.hasAttribute("data-vjs-player"),o="video-js"===this.tag.tagName.toLowerCase();n?e=this.el_=r.parentNode:o||(e=this.el_=t.prototype.createEl.call(this,"div"));var c=Kt(r);if(o){for(e=this.el_=r,r=this.tag=h.a.createElement("video");e.children.length;)r.appendChild(e.firstChild);$t(e,"video-js")||Ht(e,"video-js"),e.appendChild(r),n=this.playerElIngest_=e,Object.keys(e).forEach((function(t){try{r[t]=e[t]}catch(t){}}))}if(r.setAttribute("tabindex","-1"),c.tabindex="-1",(kt||Mt&&Ot)&&(r.setAttribute("role","application"),c.role="application"),r.removeAttribute("width"),r.removeAttribute("height"),"width"in c&&delete c.width,"height"in c&&delete c.height,Object.getOwnPropertyNames(c).forEach((function(t){o&&"class"===t||e.setAttribute(t,c[t]),o&&r.setAttribute(t,c[t])})),r.playerId=r.id,r.id+="_html5_api",r.className="vjs-tech",r.player=e.player=this,this.addClass("vjs-paused"),!0!==l.a.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=be("vjs-styles-dimensions");var d=he(".vjs-styles-defaults"),head=he("head");head.insertBefore(this.styleEl_,d?d.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=r.getElementsByTagName("a"),i=0;i<f.length;i++){var m=f.item(i);Ht(m,"vjs-hidden"),m.setAttribute("hidden","hidden")}return r.initNetworkState_=r.networkState,r.parentNode&&!n&&r.parentNode.insertBefore(e,r),Vt(r,e),this.children_.unshift(r),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=e,e},r.crossOrigin=function(t){if(!t)return this.techGet_("crossOrigin");"anonymous"===t||"use-credentials"===t?this.techCall_("setCrossOrigin",t):it.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+t+'"')},r.width=function(t){return this.dimension("width",t)},r.height=function(t){return this.dimension("height",t)},r.dimension=function(t,e){var r=t+"_";if(void 0===e)return this[r]||0;if(""===e||"auto"===e)return this[r]=void 0,void this.updateStyleEl_();var n=parseFloat(e);isNaN(n)?it.error('Improper value "'+e+'" supplied for for '+t):(this[r]=n,this.updateStyleEl_())},r.fluid=function(t){var e,r,n=this;if(void 0===t)return!!this.fluid_;this.fluid_=!!t,ze(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),r=function(){n.on(["playerreset","resize"],n.boundUpdateStyleEl_)},ze(e=this)?r():(e.eventedCallbacks||(e.eventedCallbacks=[]),e.eventedCallbacks.push(r))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},r.fill=function(t){if(void 0===t)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},r.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},r.updateStyleEl_=function(){if(!0!==l.a.VIDEOJS_NO_DYNAMIC_STYLE){var t,e,r,n=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=n[1]/n[0];t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*o,r=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(r),_e(this.styleEl_,"\n      ."+r+" {\n        width: "+t+"px;\n        height: "+e+"px;\n      }\n\n      ."+r+".vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: "+100*o+"%;\n      }\n    ")}else{var c="number"==typeof this.width_?this.width_:this.options_.width,h="number"==typeof this.height_?this.height_:this.options_.height,d=this.tech_&&this.tech_.el();d&&(c>=0&&(d.width=c),h>=0&&(d.height=h))}},r.loadTech_=function(t,source){var e=this;this.tech_&&this.unloadTech_();var r=er(t),n=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==r&&this.tag&&(Yr.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,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()+"_"+n+"_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};Xr.names.forEach((function(t){var r=Xr[t];l[r.getterName]=e[r.privateName]})),ut(l,this.options_[r]),ut(l,this.options_[n]),ut(l,this.options_[t.toLowerCase()]),this.tag&&(l.tag=this.tag),source&&source.src===this.cache_.src&&this.cache_.currentTime>0&&(l.startTime=this.cache_.currentTime);var c=Yr.getTech(t);if(!c)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new c(l),this.tech_.ready(Be(this,this.handleTechReady_),!0),_r(this.textTracksJson_||[],this.tech_),Zn.forEach((function(t){e.on(e.tech_,t,(function(r){return e["handleTech"+er(t)+"_"](r)}))})),Object.keys(Jn).forEach((function(t){e.on(e.tech_,t,(function(r){0===e.tech_.playbackRate()&&e.tech_.seeking()?e.queuedCallbacks_.push({callback:e["handleTech"+Jn[t]+"_"].bind(e),event:r}):e["handleTech"+Jn[t]+"_"](r)}))})),this.on(this.tech_,"loadstart",(function(t){return e.handleTechLoadStart_(t)})),this.on(this.tech_,"sourceset",(function(t){return e.handleTechSourceset_(t)})),this.on(this.tech_,"waiting",(function(t){return e.handleTechWaiting_(t)})),this.on(this.tech_,"ended",(function(t){return e.handleTechEnded_(t)})),this.on(this.tech_,"seeking",(function(t){return e.handleTechSeeking_(t)})),this.on(this.tech_,"play",(function(t){return e.handleTechPlay_(t)})),this.on(this.tech_,"firstplay",(function(t){return e.handleTechFirstPlay_(t)})),this.on(this.tech_,"pause",(function(t){return e.handleTechPause_(t)})),this.on(this.tech_,"durationchange",(function(t){return e.handleTechDurationChange_(t)})),this.on(this.tech_,"fullscreenchange",(function(t,data){return e.handleTechFullscreenChange_(t,data)})),this.on(this.tech_,"fullscreenerror",(function(t,r){return e.handleTechFullscreenError_(t,r)})),this.on(this.tech_,"enterpictureinpicture",(function(t){return e.handleTechEnterPictureInPicture_(t)})),this.on(this.tech_,"leavepictureinpicture",(function(t){return e.handleTechLeavePictureInPicture_(t)})),this.on(this.tech_,"error",(function(t){return e.handleTechError_(t)})),this.on(this.tech_,"posterchange",(function(t){return e.handleTechPosterChange_(t)})),this.on(this.tech_,"textdata",(function(t){return e.handleTechTextData_(t)})),this.on(this.tech_,"ratechange",(function(t){return e.handleTechRateChange_(t)})),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"===r&&this.tag||Vt(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},r.unloadTech_=function(){var t=this;Xr.names.forEach((function(e){var r=Xr[e];t[r.privateName]=t[r.getterName]()})),this.textTracksJson_=yr(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},r.tech=function(t){return void 0===t&&it.warn("Using the tech directly can be dangerous. I hope you know 
2what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},r.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_)},r.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_)},r.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},r.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())},r.manualAutoplay_=function(t){var e=this;if(this.tech_&&"string"==typeof t){var r,n=function(){var t=e.muted();e.muted(!0);var r=function(){e.muted(t)};e.playTerminatedQueue_.push(r);var n=e.play();if(mr(n))return n.catch((function(t){throw r(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(t||""))}))};if("any"!==t||this.muted()?r="muted"!==t||this.muted()?this.play():n():mr(r=this.play())&&(r=r.catch(n)),mr(r))return r.then((function(){e.trigger({type:"autoplay-success",autoplay:t})})).catch((function(){e.trigger({type:"autoplay-failure",autoplay:t})}))}},r.updateSourceCaches_=function(t){void 0===t&&(t="");var e=t,r="";"string"!=typeof e&&(e=t.src,r=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],e&&!r&&(r=function(t,e){if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var r=t.cache_.sources.filter((function(s){return s.src===e}));if(r.length)return r[0].type;for(var n=t.$$("source"),i=0;i<n.length;i++){var s=n[i];if(s.type&&s.src&&s.src===e)return s.type}return ci(e)}(this,e)),this.cache_.source=rr({},t,{src:e,type:r});for(var n=this.cache_.sources.filter((function(s){return s.src&&s.src===e})),o=[],l=this.$$("source"),c=[],i=0;i<l.length;i++){var h=Kt(l[i]);o.push(h),h.src&&h.src===e&&c.push(h.src)}c.length&&!n.length?this.cache_.sources=o:n.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=e},r.handleTechSourceset_=function(t){var e=this;if(!this.changingSrc_){var r=function(t){return e.updateSourceCaches_(t)},n=this.currentSource().src,o=t.src;n&&!/^blob:/.test(n)&&/^blob:/.test(o)&&(!this.lastSource_||this.lastSource_.tech!==o&&this.lastSource_.player!==n)&&(r=function(){}),r(o),t.src||this.tech_.any(["sourceset","loadstart"],(function(t){if("sourceset"!==t.type){var r=e.techGet("currentSrc");e.lastSource_.tech=r,e.updateSourceCaches_(r)}}))}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})},r.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},r.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},r.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(t){return t.callback(t.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},r.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting");var e=this.currentTime();this.on("timeupdate",(function r(){e!==t.currentTime()&&(t.removeClass("vjs-waiting"),t.off("timeupdate",r))}))},r.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},r.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},r.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},r.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},r.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},r.handleTechFirstPlay_=function(){this.options_.starttime&&(it.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")},r.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},r.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")},r.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},r.handleTechClick_=function(t){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,t):this.paused()?gr(this.play()):this.pause()))},r.handleTechDoubleClick_=function(t){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(e){return e.contains(t.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,t):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},r.handleTechTap_=function(){this.userActive(!this.userActive())},r.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},r.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},r.handleTechTouchEnd_=function(t){t.cancelable&&t.preventDefault()},r.handleStageClick_=function(){this.reportUserActivity()},r.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},r.documentFullscreenChange_=function(t){var e=t.target.player;if(!e||e===this){var r=this.el(),n=h.a[this.fsApi_.fullscreenElement]===r;!n&&r.matches?n=r.matches(":"+this.fsApi_.fullscreen):!n&&r.msMatchesSelector&&(n=r.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(n)}},r.handleTechFullscreenChange_=function(t,data){var e=this;data&&(data.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){e.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(data.isFullscreen))},r.handleTechFullscreenError_=function(t,e){this.trigger("fullscreenerror",e)},r.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},r.handleTechEnterPictureInPicture_=function(t){this.isInPictureInPicture(!0)},r.handleTechLeavePictureInPicture_=function(t){this.isInPictureInPicture(!1)},r.handleTechError_=function(){var t=this.tech_.error();this.error(t)},r.handleTechTextData_=function(){var data=null;arguments.length>1&&(data=arguments[1]),this.trigger("textdata",data)},r.getCache=function(){return this.cache_},r.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}},r.techCall_=function(t,e){this.ready((function(){if(t in ni)return function(t,e,r,n){return e[r](t.reduce(ai(r),n))}(this.middleware_,this.tech_,t,e);if(t in oi)return ri(this.middleware_,this.tech_,t,e);try{this.tech_&&this.tech_[t](e)}catch(t){throw it(t),t}}),!0)},r.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in ii)return function(t,e,r){return t.reduceRight(ai(r),e[r]())}(this.middleware_,this.tech_,t);if(t in oi)return ri(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw it("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw it("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw it(e),e}}},r.play=function(){var t=this,e=this.options_.Promise||l.a.Promise;return e?new e((function(e){t.play_(e)})):this.play_()},r.play_=function(t){var e=this;void 0===t&&(t=gr),this.playCallbacks_.push(t);var r=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc())),n=Boolean(Rt||Pt);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!r)return this.waitToPlay_=function(t){e.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(!r&&n&&this.load());var o=this.techGet_("play");n&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),null===o?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(o)},r.runPlayTerminatedQueue_=function(){var t=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],t.forEach((function(q){q()}))},r.runPlayCallbacks_=function(t){var e=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],e.forEach((function(e){e(t)}))},r.pause=function(){this.techCall_("pause")},r.paused=function(){return!1!==this.techGet_("paused")},r.played=function(){return this.techGet_("played")||cr(0,0)},r.scrubbing=function(t){if(void 0===t)return this.scrubbing_;this.scrubbing_=!!t,this.techCall_("setScrubbing",this.scrubbing_),t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},r.currentTime=function(t){return void 0!==t?(t<0&&(t=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",t),void(this.cache_.initTime=0)):(this.cache_.initTime=t,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},r.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},r.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(t=parseFloat(t))<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(t)||this.trigger("durationchange"))},r.remainingTime=function(){return this.duration()-this.currentTime()},r.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},r.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=cr(0,0)),t},r.bufferedPercent=function(){return dr(this.buffered(),this.duration())},r.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),r=t.end(t.length-1);return r>e&&(r=e),r},r.volume=function(t){var e;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(e>0&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},r.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},r.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},r.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},r.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},r.isFullscreen=function(t){if(void 0!==t){var e=this.isFullscreen_;return this.isFullscreen_=Boolean(t),this.isFullscreen_!==e&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},r.requestFullscreen=function(t){var e=this.options_.Promise||l.a.Promise;if(e){var r=this;return new e((function(e,n){function o(){r.off("fullscreenerror",c),r.off("fullscreenchange",l)}function l(){o(),e()}function c(t,e){o(),n(e)}r.one("fullscreenchange",l),r.one("fullscreenerror",c);var h=r.requestFullscreenHelper_(t);h&&(h.then(o,o),h.then(e,n))}))}return this.requestFullscreenHelper_()},r.requestFullscreenHelper_=function(t){var e,r=this;if(this.fsApi_.prefixed||(e=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==t&&(e=t)),this.fsApi_.requestFullscreen){var n=this.el_[this.fsApi_.requestFullscreen](e);return n&&n.then((function(){return r.isFullscreen(!0)}),(function(){return r.isFullscreen(!1)})),n}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},r.exitFullscreen=function(){var t=this.options_.Promise||l.a.Promise;if(t){var e=this;return new t((function(t,r){function n(){e.off("fullscreenerror",l),e.off("fullscreenchange",o)}function o(){n(),t()}function l(t,e){n(),r(e)}e.one("fullscreenchange",o),e.one("fullscreenerror",l);var c=e.exitFullscreenHelper_();c&&(c.then(n,n),c.then(t,r))}))}return this.exitFullscreenHelper_()},r.exitFullscreenHelper_=function(){var t=this;if(this.fsApi_.requestFullscreen){var e=h.a[this.fsApi_.exitFullscreen]();return e&&gr(e.then((function(){return t.isFullscreen(!1)}))),e}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},r.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=h.a.documentElement.style.overflow,Ae(h.a,"keydown",this.boundFullWindowOnEscKey_),h.a.documentElement.style.overflow="hidden",Ht(h.a.body,"vjs-full-window"),this.trigger("enterFullWindow")},r.fullWindowOnEscKey=function(t){v.a.isEventKey(t,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},r.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,Ie(h.a,"keydown",this.boundFullWindowOnEscKey_),h.a.documentElement.style.overflow=this.docOrigOverflow,Wt(h.a.body,"vjs-full-window"),this.trigger("exitFullWindow")},r.disablePictureInPicture=function(t){if(void 0===t)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",t),this.options_.disablePictureInPicture=t,this.trigger("disablepictureinpicturechanged")},r.isInPictureInPicture=function(t){return void 0!==t?(this.isInPictureInPicture_=!!t,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},r.requestPictureInPicture=function(){if("pictureInPictureEnabled"in h.a&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},r.exitPictureInPicture=function(){if("pictureInPictureEnabled"in h.a)return h.a.exitPictureInPicture()},r.handleKeyDown=function(t){var e=this.options_.userActions;if(e&&e.hotkeys){(function(t){var e=t.tagName.toLowerCase();if(t.isContentEditable)return!0;
vendor: 6,128 bytes, line 2
2if("input"===e)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(t.type);return-1!==["textarea"].indexOf(e)})(this.el_.ownerDocument.activeElement)||("function"==typeof e.hotkeys?e.hotkeys.call(this,t):this.handleHotkeys(t))}},r.handleHotkeys=function(t){var e=this.options_.userActions?this.options_.userActions.hotkeys:{},r=e.fullscreenKey,n=void 0===r?function(t){return v.a.isEventKey(t,"f")}:r,o=e.muteKey,l=void 0===o?function(t){return v.a.isEventKey(t,"m")}:o,c=e.playPauseKey,d=void 0===c?function(t){return v.a.isEventKey(t,"k")||v.a.isEventKey(t,"Space")}:c;if(n.call(this,t)){t.preventDefault(),t.stopPropagation();var f=sr.getComponent("FullscreenToggle");!1!==h.a[this.fsApi_.fullscreenEnabled]&&f.prototype.handleClick.call(this,t)}else if(l.call(this,t)){t.preventDefault(),t.stopPropagation(),sr.getComponent("MuteToggle").prototype.handleClick.call(this,t)}else if(d.call(this,t)){t.preventDefault(),t.stopPropagation(),sr.getComponent("PlayToggle").prototype.handleClick.call(this,t)}},r.canPlayType=function(t){for(var e,i=0,r=this.options_.techOrder;i<r.length;i++){var n=r[i],o=Yr.getTech(n);if(o||(o=sr.getComponent(n)),o){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else it.error('The "'+n+'" tech is undefined. Skipped browser support check for that tech.')}return""},r.selectSource=function(t){var e,r=this,n=this.options_.techOrder.map((function(t){return[t,Yr.getTech(t)]})).filter((function(t){var e=t[0],r=t[1];return r?r.isSupported():(it.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),o=function(t,e,r){var n;return t.some((function(t){return e.some((function(e){if(n=r(t,e))return!0}))})),n},l=function(t,source){var e=t[0];if(t[1].canPlaySource(source,r.options_[e.toLowerCase()]))return{source:source,tech:e}};return(this.options_.sourceOrder?o(t,n,(e=l,function(a,b){return e(b,a)})):o(n,t,l))||!1},r.handleSrc_=function(source,t){var e=this;if(void 0===source)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var r=hi(source);if(r.length){if(this.changingSrc_=!0,t||(this.cache_.sources=r),this.updateSourceCaches_(r[0]),ei(this,r[0],(function(n,o){var l,c;if(e.middleware_=o,t||(e.cache_.sources=r),e.updateSourceCaches_(n),e.src_(n))return r.length>1?e.handleSrc_(r.slice(1)):(e.changingSrc_=!1,e.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void e.triggerReady());l=o,c=e.tech_,l.forEach((function(t){return t.setTech&&t.setTech(c)}))})),this.options_.retryOnError&&r.length>1){var n=function(){e.error(null),e.handleSrc_(r.slice(1),!0)},o=function(){e.off("error",n)};this.one("error",n),this.one("playing",o),this.resetRetryOnError_=function(){e.off("error",n),e.off("playing",o)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)},r.src=function(source){return this.handleSrc_(source,!1)},r.src_=function(source){var t,e,r=this,n=this.selectSource([source]);return!n||(t=n.tech,e=this.techName_,er(t)!==er(e)?(this.changingSrc_=!0,this.loadTech_(n.tech,n.source),this.tech_.ready((function(){r.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))},r.load=function(){this.techCall_("load")},r.reset=function(){var t=this,e=this.options_.Promise||l.a.Promise;this.paused()||!e?this.doReset_():gr(this.play().then((function(){return t.doReset_()})))},r.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),ze(this)&&this.trigger("playerreset")},r.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},r.resetProgressBar_=function(){this.currentTime(0);var t=this.controlBar||{},e=t.durationDisplay,r=t.remainingTimeDisplay;e&&e.updateContent(),r&&r.updateContent()},r.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},r.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},r.currentSources=function(){var source=this.currentSource(),t=[];return 0!==Object.keys(source).length&&t.push(source),this.cache_.sources||t},r.currentSource=function(){return this.cache_.source||{}},r.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},r.currentType=function(){return this.currentSource()&&this.currentSource().type||""},r.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},r.autoplay=function(t){if(void 0===t)return this.options_.autoplay||!1;var e;"string"==typeof t&&/(any|play|muted)/.test(t)||!0===t&&this.options_.normalizeAutoplay?(this.options_.autoplay=t,this.manualAutoplay_("string"==typeof t?t:"play"),e=!1):this.options_.autoplay=!!t,e=void 0===e?this.options_.autoplay:e,this.tech_&&this.techCall_("setAutoplay",e)},r.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},r.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},r.poster=function(t){if(void 0===t)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},r.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},r.controls=function(t){if(void 0===t)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControl
vendor: 7,337 bytes, line 2
2sListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},r.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},r.error=function(t){var e=this;if(void 0===t)return this.error_||null;if(K("beforeerror").forEach((function(r){var n=r(e,t);lt(n)&&!Array.isArray(n)||"string"==typeof n||"number"==typeof n||null===n?t=n:e.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&t&&4===t.code){var r=function(){this.error(t)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],r),void this.one("loadstart",(function(){this.off(["click","touchstart"],r)}))}if(null===t)return this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new fr(t),this.addClass("vjs-error"),it.error("(CODE:"+this.error_.code+" "+fr.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),K("error").forEach((function(t){return t(e,e.error_)}))},r.reportUserActivity=function(t){this.userActivity_=!0},r.userActive=function(t){if(void 0===t)return this.userActive_;if((t=!!t)!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(t){t.stopPropagation(),t.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},r.listenForUserActivity_=function(){var t,e,r,n=Be(this,this.reportUserActivity),o=function(e){n(),this.clearInterval(t)};this.on("mousedown",(function(){n(),this.clearInterval(t),t=this.setInterval(n,250)})),this.on("mousemove",(function(t){t.screenX===e&&t.screenY===r||(e=t.screenX,r=t.screenY,n())})),this.on("mouseup",o),this.on("mouseleave",o);var l,c=this.getChild("controlBar");!c||Pt||bt||(c.on("mouseenter",(function(t){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),c.on("mouseleave",(function(t){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",n),this.on("keyup",n),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(l);var t=this.options_.inactivityTimeout;t<=0||(l=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),t))}}),250)},r.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},r.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},r.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},r.enableAudioOnlyUI_=function(){var t=this;this.addClass("vjs-audio-only-mode");var e=this.children(),r=this.getChild("ControlBar"),n=r&&r.currentHeight();e.forEach((function(e){e!==r&&e.el_&&!e.hasClass("vjs-hidden")&&(e.hide(),t.audioOnlyCache_.hiddenChildren.push(e))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(n),this.trigger("audioonlymodechange")},r.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((function(t){return t.show()})),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},r.audioOnlyMode=function(t){var e=this;if("boolean"!=typeof t||t===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=t;var r=this.options_.Promise||l.a.Promise;if(r){if(t){var n=[];return this.isInPictureInPicture()&&n.push(this.exitPictureInPicture()),this.isFullscreen()&&n.push(this.exitFullscreen()),this.audioPosterMode()&&n.push(this.audioPosterMode(!1)),r.all(n).then((function(){return e.enableAudioOnlyUI_()}))}return r.resolve().then((function(){return e.disableAudioOnlyUI_()}))}t?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},r.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},r.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},r.audioPosterMode=function(t){var e=this;if("boolean"!=typeof t||t===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=t;var r=this.options_.Promise||l.a.Promise;return r?t?this.audioOnlyMode()?this.audioOnlyMode(!1).then((function(){e.enablePosterModeUI_()})):r.resolve().then((function(){e.enablePosterModeUI_()})):r.resolve().then((function(){e.disablePosterModeUI_()})):t?(this.audioOnlyMode()&&this.audioOnlyMode(!1),void this.enablePosterModeUI_()):void this.disablePosterModeUI_()},r.addTextTrack=function(t,label,e){if(this.tech_)return this.tech_.addTextTrack(t,label,e)},r.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},r.removeRemoteTextTrack=function(t){void 0===t&&(t={});var track=t.track;if(track||(track=t),this.tech_)return this.tech_.removeRemoteTextTrack(track)},r.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},r.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},r.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},r.language=function(code){if(void 0===code)return this.language_;this.language_!==String(code).toLowerCase()&&(this.language_=String(code).toLowerCase(),ze(this)&&this.trigger("languagechange"))},r.languages=function(){return rr(e.prototype.options_.languages,this.languages_)},r.toJSON=function(){var t=rr(this.options_),e=t.tracks;t.tracks=[];for(var i=0;i<e.length;i++){var track=e[i];(track=rr(track)).player=void 0,t.tracks[i]=track}return t},r.createModal=function(content,t){var e=this;(t=t||{}).content=content||"";var r=new Tr(this,t);return this.addChild(r),r.on("dispose",(function(){e.removeChild(r)})),r.open(),r},r.updateCurrentBreakpoint_=function(){if(this.responsive())for(var t=this.currentBreakpoint(),e=this.currentWidth(),i=0;i<to.length;i++){var r=to[i];if(e<=this.breakpoints_[r]){if(t===r)return;t&&this.removeClass(eo[t]),this.addClass(eo[r]),this.breakpoint_=r;break}}},r.removeCurrentBreakpoint_=function(){var t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)},r.breakpoints=function(t){return void 0===t||(this.breakpoint_="",this.breakpoints_=ut({},ro,t),this.updateCurrentBreakpoint_()),ut(this.breakpoints_)},r.responsive=function(t){return void 0===t?this.responsive_:(t=
vendor: 48,445 bytes, line 2
2Boolean(t))!==this.responsive_?(this.responsive_=t,t?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t):void 0},r.currentBreakpoint=function(){return this.breakpoint_},r.currentBreakpointClass=function(){return eo[this.breakpoint_]||""},r.loadMedia=function(t,e){var r=this;if(t&&"object"==typeof t){this.reset(),this.cache_.media=rr(t);var n=this.cache_.media,o=n.artwork,l=n.poster,c=n.src,h=n.textTracks;!o&&l&&(this.cache_.media.artwork=[{src:l,type:ci(l)}]),c&&this.src(c),l&&this.poster(l),Array.isArray(h)&&h.forEach((function(t){return r.addRemoteTextTrack(t,!1)})),this.ready(e)}},r.getMedia=function(){if(!this.cache_.media){var t=this.poster(),e={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(t){return{kind:t.kind,label:t.label,language:t.language,src:t.src}}))};return t&&(e.poster=t,e.artwork=[{src:e.poster,type:ci(e.poster)}]),e}return rr(this.cache_.media)},e.getTagSettings=function(t){var e={sources:[],tracks:[]},r=Kt(t),n=r["data-setup"];if($t(t,"vjs-fill")&&(r.fill=!0),$t(t,"vjs-fluid")&&(r.fluid=!0),null!==n){var o=M()(n||"{}"),l=o[0],data=o[1];l&&it.error(l),ut(r,data)}if(ut(e,r),t.hasChildNodes())for(var c=t.childNodes,i=0,h=c.length;i<h;i++){var d=c[i],f=d.nodeName.toLowerCase();"source"===f?e.sources.push(Kt(d)):"track"===f&&e.tracks.push(Kt(d))}return e},r.flexNotSupported_=function(){var t=h.a.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},r.debug=function(t){if(void 0===t)return this.debugEnabled_;t?(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)},r.playbackRates=function(t){if(void 0===t)return this.cache_.playbackRates;Array.isArray(t)&&t.every((function(t){return"number"==typeof t}))&&(this.cache_.playbackRates=t,this.trigger("playbackrateschange"))},e}(sr);Xr.names.forEach((function(t){var e=Xr[t];io.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}})),io.prototype.crossorigin=io.prototype.crossOrigin,io.players={};var no=l.a.navigator;io.prototype.options_={techOrder:Yr.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:no&&(no.languages&&no.languages[0]||no.userLanguage||no.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(t){io.prototype[t]=function(){return this.techGet_(t)}})),Zn.forEach((function(t){io.prototype["handleTech"+er(t)+"_"]=function(){return this.trigger(t)}})),sr.registerComponent("Player",io);var oo="plugin",ao="activePlugins_",so={},uo=function(t){return so.hasOwnProperty(t)},lo=function(t){return uo(t)?so[t]:void 0},co=function(t,e){t[ao]=t[ao]||{},t[ao][e]=!0},ho=function(t,e,r){var n=(r?"before":"")+"pluginsetup";t.trigger(n,e),t.trigger(n+":"+e.name,e)},fo=function(t,e){return e.prototype.name=t,function(){ho(this,{name:t,plugin:e,instance:null},!0);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var l=A()(e,[this].concat(n));return this[t]=function(){return l},ho(this,l.getEventHash()),l}},po=function(){function t(e){if(this.constructor===t)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),Xe(this),delete this.trigger,Ze(this,this.constructor.defaultState),co(e,this.name),this.dispose=this.dispose.bind(this),e.on("dispose",this.dispose)}var e=t.prototype;return e.version=function(){return this.constructor.VERSION},e.getEventHash=function(t){return void 0===t&&(t={}),t.name=this.name,t.plugin=this.constructor,t.instance=this,t},e.trigger=function(t,e){return void 0===e&&(e={}),Pe(this.eventBusEl_,t,this.getEventHash(e))},e.handleStateChanged=function(t){},e.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[ao][t]=!1,this.player=this.state=null,e[t]=fo(t,so[t])},t.isBasic=function(e){var p="string"==typeof e?lo(e):e;return"function"==typeof p&&!t.prototype.isPrototypeOf(p.prototype)},t.registerPlugin=function(e,r){if("string"!=typeof e)throw new Error('Illegal plugin name, "'+e+'", must be a string, was '+typeof e+".");if(uo(e))it.warn('A plugin named "'+e+'" already exists. You may want to avoid re-registering plugins!');else if(io.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing player method!');if("function"!=typeof r)throw new Error('Illegal plugin for "'+e+'", must be a function, was '+typeof r+".");return so[e]=r,e!==oo&&(t.isBasic(r)?io.prototype[e]=function(t,e){var r=function(){ho(this,{name:t,plugin:e,instance:null},!0);var r=e.apply(this,arguments);return co(this,t),ho(this,{name:t,plugin:e,instance:r}),r};return Object.keys(e).forEach((function(t){r[t]=e[t]})),r}(e,r):io.prototype[e]=fo(e,r)),r},t.deregisterPlugin=function(t){if(t===oo)throw new Error("Cannot de-register base plugin.");uo(t)&&(delete so[t],delete io.prototype[t])},t.getPlugins=function(t){var e;return void 0===t&&(t=Object.keys(so)),t.forEach((function(t){var r=lo(t);r&&((e=e||{})[t]=r)})),e},t.getPluginVersion=function(t){var e=lo(t);return e&&e.VERSION||""},t}();po.getPlugin=lo,po.BASE_PLUGIN_NAME=oo,po.registerPlugin(oo,po),io.prototype.usingPlugin=function(t){return!!this[ao]&&!0===this[ao][t]},io.prototype.hasPlugin=function(t){return!!uo(t)};var mo=!1,go=function(t){return 0===t.indexOf("#")?t.slice(1):t};function vo(t,e,r){var n=vo.getPlayer(t);if(n)return e&&it.warn('Player "'+t+'" is already initialised. Options will not be applied.'),r&&n.ready(r),n;var o="string"==typeof t?he("#"+go(t)):t;if(!Bt(o))throw new TypeError("The element or ID supplied is not valid. (videojs)");o.ownerDocument.defaultView&&o.ownerDocument.body.contains(o)||it.warn("The element supplied is not included in the DOM"),!0===(e=e||{}).restoreEl&&(e.restoreEl=(o.parentNode&&o.parentNode.hasAttribute("data-vjs-player")?o.parentNode:o).cloneNode(!0)),K("beforesetup").forEach((function(t){var r=t(o,rr(e));lt(r)&&!Array.isArray(r)?e=rr(e,r):it.error("please return an object in beforesetup hooks")}));var l=sr.getComponent("Player");return n=new l(o,e,r),K("setup").forEach((function(t){return t(n)})),n}if(vo.hooks_=Q,vo.hooks=K,vo.hook=function(t,e){K(t,e)},vo.hookOnce=function(t,e){K(t,[].concat(e).map((function(e){return function r(){return X(t,r),e.apply(void 0,arguments)}})))},vo.removeHook=X,!0!==l.a.VIDEOJS_NO_DYNAMIC_STYLE&&jt()){var style=he(".vjs-styles-defaults");if(!style){style=be("vjs-styles-defaults");var head=he("head");head&&head.insertBefore(style,head.firstChild),_e(style,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}ge(1,vo),vo.VERSION=G,vo.options=io.prototype.options_,vo.getPlayers=function(){return io.players},vo.getPlayer=function(t){var e,r=io.players;if("string"==typeof t){var n=go(t),o=r[n];if(o)return o;e=he("#"+n)}else e=t;if(Bt(e)){var l=e,c=l.player,h=l.playerId;if(c||r[h])return c||r[h]}},vo.getAllPlayers=function(){return Object.keys(io.players).map((function(t){return io.players[t]})).filter(Boolean)},vo.players=io.players,vo.getComponent=sr.getComponent,vo.registerComponent=function(t,e){Yr.isTech(e)&&it.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),sr.registerComponent.call(sr,t,e)},vo.getTech=Yr.getTech,vo.registerTech=Yr.registerTech,vo.use=function(t,e){Zr[t]=Zr[t]||[],Zr[t].push(e)},Object.defineProperty(vo,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(vo.middleware,"TERMINATOR",{value:ti,writeable:!1,enumerable:!0}),vo.browser=Dt,vo.TOUCH_ENABLED=Ct,vo.extend=function(t,e){void 0===e&&(e={}),mo||(it.warn("videojs.extend is deprecated as of Video.js 7.22.0 and will be removed in Video.js 8.0.0"),mo=!0);var r=function(){t.apply(this,arguments)},n={};for(var o in"object"==typeof e?(e.constructor!==Object.prototype.constructor&&(r=e.constructor),n=e):"function"==typeof e&&(r=e),P()(r,t),t&&(r.super_=t),n)n.hasOwnProperty(o)&&(r.prototype[o]=n[o]);return r},vo.mergeOptions=rr,vo.bind=Be,vo.registerPlugin=po.registerPlugin,vo.deregisterPlugin=po.deregisterPlugin,vo.plugin=function(t,e){return it.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),po.registerPlugin(t,e)},vo.getPlugins=po.getPlugins,vo.getPlugin=po.getPlugin,vo.getPluginVersion=po.getPluginVersion,vo.addLanguage=function(code,data){var t;return code=(""+code).toLowerCase(),vo.options.languages=rr(vo.options.languages,((t={})[code]=data,t)),vo.options.languages[code]},vo.log=it,vo.createLogger=nt,vo.createTimeRange=vo.createTimeRanges=cr,vo.formatTime=Oi,vo.setFormatTime=function(t){Ei=t},vo.resetFormatTime=function(){Ei=ki},vo.parseUrl=jr,vo.isCrossOrigin=Ur,vo.EventTarget=Ue,vo.on=Ae,vo.one=Re,vo.off=Ie,vo.trigger=Pe,vo.xhr=k.a,vo.TextTrack=$r,vo.AudioTrack=Hr,vo.VideoTrack=Wr,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(t){vo[t]=function(){return it.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),fe[t].apply(null,arguments)}})),vo.computedStyle=ht,vo.dom=fe,vo.url=qr,vo.defineLazyProperty=Xn,vo.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var yo=R.a,bo=function(t,e,r){return t&&r&&r.responseURL&&e!==r.responseURL?r.responseURL:e},_o=function(source){return vo.log.debug?vo.log.debug.bind(vo,"VHS:",source+" >"):function(){}},wo=1/30,To=.1,So=function(t,e){var i,r=[];if(t&&t.length)for(i=0;i<t.length;i++)e(t.start(i),t.end(i))&&r.push([t.start(i),t.end(i)]);return vo.createTimeRanges(r)},Mo=function(t,time){return So(t,(function(t,e){return t-To<=time&&e+To>=time}))},xo=function(t,time){return So(t,(function(t){return t-wo>=time}))},ko=function(t){var e=[];if(!t||!t.length)return"";for(var i=0;i<t.length;i++)e.push(t.start(i)+" => "+t.end(i));return e.join(", ")},Eo=function(t){for(var e=[],i=0;i<t.length;i++)e.push({start:t.start(i),end:t.end(i)});return e},Oo=function(a){if(a&&a.length&&a.end)return a.end(a.length-1)},Co=function(t,e){var time=0;if(!t||!t.length)return time;for(var i=0;i<t.length;i++){var r=t.start(i),n=t.end(i);e>n||(time+=e>r&&e<=n?n-e:n-r)}return time},Ao=vo.createTimeRange,Io=function(t,e){if(!e.preload)return e.duration;var r=0;return(e.parts||[]).forEach((function(p){r+=p.duration})),(e.preloadHints||[]).forEach((function(p){"PART"===p.type&&(r+=t.partTargetDuration)})),r},Po=function(t){return(t.segments||[]).reduce((function(t,e,r){return e.parts?e.parts.forEach((function(n,o){t.push({duration:n.duration,segmentIndex:r,partIndex:o,part:n,segment:e})})):t.push({duration:e.duration,segmentIndex:r,partIndex:null,segment:e,part:null}),t}),[])},Ro=function(t){var e=t.segments&&t.segments.length&&t.segments[t.segments.length-1];return e&&e.parts||[]},Do=function(t){var e=t.preloadSegment;if(e){var r=e.parts,n=(e.preloadHints||[]).reduce((function(t,e){return t+("PART"===e.type?1:0)}),0);return n+=r&&r.length?r.length:0}},Lo=function(t,e){if(e.endList)return 0;if(t&&t.suggestedPresentationDelay)return t.suggestedPresentationDelay;var r=Ro(e).length>0;return r&&e.serverControl&&e.serverControl.partHoldBack?e.serverControl.partHoldBack:r&&e.partTargetDuration?3*e.partTargetDuration:e.serverControl&&e.serverControl.holdBack?e.serverControl.holdBack:e.targetDuration?3*e.targetDuration:0},No=function(t,e,r){if(void 0===e&&(e=t.mediaSequence+t.segments.length),e<t.mediaSequence)return 0;var n=function(t,e){var r=0,i=e-t.mediaSequence,n=t.segments[i];if(n){if(void 0!==n.start)return{result:n.start,precise:!0};if(void 0!==n.end)return{result:n.end-n.duration,precise:!0}}for(;i--;){if(void 0!==(n=t.segments[i]).end)return{result:r+n.end,precise:!0};if(r+=Io(t,n),void 0!==n.start)return{result:r+n.start,precise:!0}}return{result:r,precise:!1}}(t,e);if(n.precise)return n.result;var o=function(t,e){for(var r,n=0,i=e-t.mediaSequence;i<t.segments.length;i++){if(void 0!==(r=t.segments[i]).start)return{result:r.start-n,precise:!0};if(n+=Io(t,r),void 0!==r.end)return{result:r.end-n,precise:!0}}return{result:-1,precise:!1}}(t,e);return o.precise?o.result:n.result+r},jo=function(t,e,r){if(!t)return 0;if("number"!=typeof r&&(r=0),void 0===e){if(t.totalDuration)return t.totalDuration;if(!t.endList)return l.a.Infinity}return No(t,e,r)},Bo=function(t){var e=t.defaultDuration,r=t.durationList,n=t.startIndex,o=t.endIndex,l=0;if(n>o){var c=[o,n];n=c[0],o=c[1]}if(n<0){for(var i=n;i<Math.min(0,o);i++)l+=e;n=0}for(var h=n;h<o;h++)l+=r[h].duration;return l},Fo=function(t,e,r,n){if(!t||!t.segments)return null;if(t.endList)return jo(t);if(null===e)return null;e=e||0;var o=No(t,t.mediaSequence+t.segments.length,e);return r&&(o-=n="number"==typeof n?n:Lo(null,t)),Math.max(0,o)},Uo=function(t){return t.excludeUntil&&t.excludeUntil>Date.now()},qo=function(t){return t.excludeUntil&&t.excludeUntil===1/0},zo=function(t){var e=Uo(t);return!t.disabled&&!e},Vo=function(t,e){return e.attributes&&e.attributes[t]},$o=function(t,e){if(1===t.playlists.length)return!0;var r=e.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===t.playlists.filter((function(t){return!!zo(t)&&(t.attributes.BANDWIDTH||0)<r})).length},Ho=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))))},Wo=function(t,e){var r=t&&t.mediaGroups&&t.mediaGroups.AUDIO||{},n=!1;for(var o in r){for(var label in r[o])if(n=e(r[o][label]))break;if(n)break}return!!n},Go=function(t){if(!t||!t.playlists||!t.playlists.length)return Wo(t,(function(t){return t.playlists&&t.playlists.length||t.uri}));for(var e=function(i){var e=t.playlists[i],r=e.attributes&&e.attributes.CODECS;return r&&r.split(",").every((function(t){return Object(L.f)(t)}))||Wo(t,(function(t){return Ho(e,t)}))?"continue":{v:!1}},i=0;i<t.playlists.length;i++){var r=e(i);if("continue"!==r&&"object"==typeof r)return r.v}return!0},Qo={liveEdgeDelay:Lo,duration:jo,seekable:function(t,e,r){var n=e||0,o=Fo(t,e,!0,r);return null===o?Ao():Ao(n,o)},getMediaInfoForTime:function(t){for(var e=t.playlist,r=t.currentTime,n=t.startingSegmentIndex,o=t.startingPartIndex,l=t.startTime,c=t.experimentalExactManifestTimings,time=r-l,h=Po(e),d=0,i=0;i<h.length;i++){var f=h[i];if(n===f.segmentIndex&&("number"!=typeof o||"number"!=typeof f.partIndex||o===f.partIndex)){d=i;break}}if(time<0){if(d>0)for(var m=d-1;m>=0;m--){var v=h[m];if(time+=v.duration,c){if(time<0)continue}else if(time+wo<=0)continue;return{partIndex:v.partIndex,segmentIndex:v.segmentIndex,startTime:l-Bo({defaultDuration:e.targetDuration,durationList:h,startIndex:d,endIndex:m})}}return{partIndex:h[0]&&h[0].partIndex||null,segmentIndex:h[0]&&h[0].segmentIndex||0,startTime:r}}if(d<0){for(var y=d;y<0;y++)if((time-=e.targetDuration)<0)return{partIndex:h[0]&&h[0].partIndex||null,segmentIndex:h[0]&&h[0].segmentIndex||0,startTime:r};d=0}for(var _=d;_<h.length;_++){var w=h[_];if(time-=w.duration,c){if(time>0)continue}else if(time-wo>=0)continue;return{partIndex:w.partIndex,segmentIndex:w.segmentIndex,startTime:l+Bo({defaultDuration:e.targetDuration,durationList:h,startIndex:d,endIndex:_})}}return{segmentIndex:h[h.length-1].segmentIndex,partIndex:h[h.length-1].partIndex,startTime:r}},isEnabled:zo,isDisabled:function(t){return t.disabled},isBlacklisted:Uo,isIncompatible:qo,playlistEnd:Fo,isAes:function(t){for(var i=0;i<t.segments.length;i++)if(t.segments[i].key)return!0;return!1},hasAttribute:Vo,estimateSegmentRequestTime:function(t,e,r,n){return void 0===n&&(n=0),Vo("BANDWIDTH",r)?(t*r.attributes.BANDWIDTH-8*n)/e:NaN},isLowestEnabledRendition:$o,isAudioOnly:Go,playlistMatch:Ho,segmentDurationWithParts:Io},Ko=vo.log,Xo=function(t,e){return t+"-"+e},Yo=function(t,e,label){return"placeholder-uri-"+t+"-"+e+"-"+label},Zo=function(t,e){t.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(r){if(t.mediaGroups[r])for(var n in t.mediaGroups[r])for(var o in t.mediaGroups[r][n]){var l=t.mediaGroups[r][n][o];e(l,r,n,o)}}))},Jo=function(t){var e=t.playlist,r=t.uri,n=t.id;e.id=n,e.playlistErrors_=0,r&&(e.uri=r),e.attributes=e.attributes||{}},ta=function(t,e,r){void 0===r&&(r=Yo),t.uri=e;for(var i=0;i<t.playlists.length;i++)if(!t.playlists[i].uri){var n="placeholder-uri-"+i;t.playlists[i].uri=n}var o=Go(t);Zo(t,(function(e,n,l,c){if(!e.playlists||!e.playlists.length){if(o&&"AUDIO"===n&&!e.uri)for(var h=0;h<t.playlists.length;h++){var p=t.playlists[h];if(p.attributes&&p.attributes.AUDIO&&p.attributes.AUDIO===l)return}e.playlists=[f()({},e)]}e.playlists.forEach((function(p,i){var e=r(n,l,c,p),o=Xo(i,e);p.uri?p.resolvedUri=p.resolvedUri||yo(t.uri,p.uri):(p.uri=0===i?e:o,p.resolvedUri=p.uri),p.id=p.id||o,p.attributes=p.attributes||{},t.playlists[p.id]=p,t.playlists[p.uri]=p}))})),function(t){for(var i=t.playlists.length;i--;){var e=t.playlists[i];Jo({playlist:e,id:Xo(i,e.uri)}),e.resolvedUri=yo(t.uri,e.uri),t.playlists[e.id]=e,t.playlists[e.uri]=e,e.attributes.BANDWIDTH||Ko.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(t),function(t){Zo(t,(function(e){e.uri&&(e.resolvedUri=yo(t.uri,e.uri))}))}(t)},ea=vo.mergeOptions,ra=vo.EventTarget,ia=function(a,b){if(!a)return b;var t=ea(a,b);if(a.preloadHints&&!b.preloadHints&&delete t.preloadHints,a.parts&&!b.parts)delete t.parts;else if(a.parts&&b.parts)for(var i=0;i<b.parts.length;i++)a.parts&&a.parts[i]&&(t.parts[i]=ea(a.parts[i],b.parts[i]));return!a.skipped&&b.skipped&&(t.skipped=!1),a.preload&&!b.preload&&(t.preload=!1),t},na=function(t,e){!t.resolvedUri&&t.uri&&(t.resolvedUri=yo(e,t.uri)),t.key&&!t.key.resolvedUri&&(t.key.resolvedUri=yo(e,t.key.uri)),t.map&&!t.map.resolvedUri&&(t.map.resolvedUri=yo(e,t.map.uri)),t.map&&t.map.key&&!t.map.key.resolvedUri&&(t.map.key.resolvedUri=yo(e,t.map.key.uri)),t.parts&&t.parts.length&&t.parts.forEach((function(p){p.resolvedUri||(p.resolvedUri=yo(e,p.uri))})),t.preloadHints&&t.preloadHints.length&&t.preloadHints.forEach((function(p){p.resolvedUri||(p.resolvedUri=yo(e,p.uri))}))},oa=function(t){var e=t.segments||[],r=t.preloadSegment;if(r&&r.parts&&r.parts.length){if(r.preloadHints)for(var i=0;i<r.preloadHints.length;i++)if("MAP"===r.preloadHints[i].type)return e;r.duration=t.targetDuration,r.preload=!0,e.push(r)}return e},aa=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},sa=function(t,e,r){void 0===r&&(r=aa);var n=ea(t,{}),o=n.playlists[e.id];if(!o)return null;if(r(o,e))return null;e.segments=oa(e);var l=ea(o,e);if(l.preloadSegment&&!e.preloadSegment&&delete l.preloadSegment,o.segments){if(e.skip){e.segments=e.segments||[];for(var i=0;i<e.skip.skippedSegments;i++)e.segments.unshift({skipped:!0})}l.segments=function(t,e,r){var n=t.slice(),o=e.slice();r=r||0;for(var l,c=[],h=0;h<o.length;h++){var d=n[h+r],f=o[h];d?(l=d.map||l,c.push(ia(d,f))):(l&&!f.map&&(f.map=l),c.push(f))}return c}(o.segments,e.segments,e.mediaSequence-o.mediaSequence)}l.segments.forEach((function(t){na(t,l.resolvedUri)}));for(var c=0;c<n.playlists.length;c++)n.playlists[c].id===e.id&&(n.playlists[c]=l);return n.playlists[e.id]=l,n.playlists[e.uri]=l,Zo(t,(function(t,r,n,o){if(t.playlists)for(var c=0;c<t.playlists.length;c++)e.id===t.playlists[c].id&&(t.playlists[c]=l)})),n},ua=function(t,e){var r=t.segments||[],n=r[r.length-1],o=n&&n.parts&&n.parts[n.parts.length-1],l=o&&o.duration||n&&n.duration;return e&&l?1e3*l:500*(t.partTargetDuration||t.targetDuration||10)},la=function(t){function e(e,r,n){var o;if(void 0===n&&(n={}),o=t.call(this)||this,!e)throw new Error("A non-empty playlist URL or object is required");o.logger_=_o("PlaylistLoader");var l=n,c=l.withCredentials,h=void 0!==c&&c,d=l.handleManifestRedirects,f=void 0!==d&&d;o.src=e,o.vhs_=r,o.withCredentials=h,o.handleManifestRedirects=f;var m=r.options_;return o.customTagParsers=m&&m.customTagParsers||[],o.customTagMappers=m&&m.customTagMappers||[],o.experimentalLLHLS=m&&m.experimentalLLHLS||!1,vo.browser.IE_VERSION&&(o.experimentalLLHLS=!1),o.state="HAVE_NOTHING",o.handleMediaupdatetimeout_=o.handleMediaupdatetimeout_.bind(_()(o)),o.on("mediaupdatetimeout",o.handleMediaupdatetimeout_),o}T()(e,t);var r=e.prototype;return r.handleMediaupdatetimeout_=function(){var t=this;if("HAVE_METADATA"===this.state){var e=this.media(),r=yo(this.master.uri,e.uri);this.experimentalLLHLS&&(r=function(t,e){if(e.endList||!e.serverControl)return t;var r={};if(e.serverControl.canBlockReload){var n=e.preloadSegment,o=e.mediaSequence+e.segments.length;if(n){var c=n.parts||[],h=Do(e)-1;h>-1&&h!==c.length-1&&(r._HLS_part=h),(h>-1||c.length)&&o--}r._HLS_msn=o}if(e.serverControl&&e.serverControl.canSkipUntil&&(r._HLS_skip=e.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(r).length){var d=new l.a.URL(t);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(t){r.hasOwnProperty(t)&&d.searchParams.set(t,r[t])})),t=d.toString()}return t}(r,e)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:r,withCredentials:this.withCredentials},(function(e,r){if(t.request)return e?t.playlistRequestError(t.request,t.media(),"HAVE_METADATA"):void t.haveMetadata({playlistString:t.request.responseText,url:t.media().uri,id:t.media().id})}))}},r.playlistRequestError=function(t,e,r){var n=e.uri,o=e.id;this.request=null,r&&(this.state=r),this.error={playlist:this.master.playlists[o],status:t.status,message:"HLS playlist request error at URL: "+n+".",responseText:t.responseText,code:t.status>=500?4:2},this.trigger("error")},r.parseManifest_=function(t){var e=this,r=t.url;return function(t){var e=t.onwarn,r=t.oninfo,n=t.manifestString,o=t.customTagParsers,l=void 0===o?[]:o,c=t.customTagMappers,h=void 0===c?[]:c,d=t.experimentalLLHLS,f=new D.a;e&&f.on("warn",e),r&&f.on("info",r),l.forEach((function(t){return f.addParser(t)})),h.forEach((function(t){return f.addTagMapper(t)})),f.push(n),f.end();var m=f.manifest;if(d||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(t){m.hasOwnProperty(t)&&delete m[t]})),m.segments&&m.segments.forEach((function(t){["parts","preloadHints"].forEach((function(e){t.hasOwnProperty(e)&&delete t[e]}))}))),!m.targetDuration){var v=10;m.segments&&m.segments.length&&(v=m.segments.reduce((function(t,s){return Math.max(t,s.duration)}),0)),e&&e("manifest has no targetDuration defaulting to "+v),m.targetDuration=v}var y=Ro(m);if(y.length&&!m.partTargetDuration){var _=y.reduce((function(t,p){return Math.max(t,p.duration)}),0);e&&(e("manifest has no partTargetDuration defaulting to "+_),Ko.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(t){var n=t.message;return e.logger_("m3u8-parser warn for "+r+": "+n)},oninfo:function(t){var n=t.message;return e.logger_("m3u8-parser info for "+r+": "+n)},manifestString:t.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},r.haveMetadata=function(t){var e=t.playlistString,r=t.playlistObject,n=t.url,o=t.id;this.request=null,this.state="HAVE_METADATA";var l=r||this.parseManifest_({url:n,manifestString:e});l.lastRequest=Date.now(),Jo({playlist:l,uri:n,id:o});var c=sa(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_(ua(this.media(),!!c)),this.trigger("loadedplaylist")},r.dispose=function(){this.trigger("dispose"),this.stopRequest(),l.a.clearTimeout(this.mediaUpdateTimeout),l.a.clearTimeout(this.finalRenditionTimeout),this.off()},r.stopRequest=function(){if(this.request){var t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}},r.media=function(t,e){var r=this;if(!t)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof t){if(!this.master.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.master.playlists[t]}if(l.a.clearTimeout(this.finalRenditionTimeout),e){var n=(t.partTargetDuration||t.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=l.a.setTimeout(this.media.bind(this,t,!1),n)}else{var o=this.state,c=!this.media_||t.id!==this.media_.id,h=this.master.playlists[t.id];if(h&&h.endList||t.endList&&t.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=t,void(c&&(this.trigger("mediachanging"),"HAVE_MASTER"===o?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(ua(t,!0)),c){if(this.state="SWITCHING_MEDIA",this.request){if(t.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=t,this.request=this.vhs_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials},(function(e,n){if(r.request){if(t.lastRequest=Date.now(),t.resolvedUri=bo(r.handleManifestRedirects,t.resolvedUri,n),e)return r.playlistRequestError(r.request,t,o);r.haveMetadata({playlistString:n.responseText,url:t.uri,id:t.id}),"HAVE_MASTER"===o?r.trigger("loadedmetadata"):r.trigger("mediachange")}}))}}},r.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")},r.load=function(t){var e=this;this.mediaUpdateTimeout&&(l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var r=this.media();if(t){var n=r?(r.partTargetDuration||r.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=l.a.setTimeout((function(){e.mediaUpdateTimeout=null,e.load()}),n)}else this.started?r&&!r.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},r.updateMediaUpdateTimeout_=function(t){var e=this;this.mediaUpdateTimeout&&(l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=l.a.setTimeout((function(){e.mediaUpdateTimeout=null,e.trigger("mediaupdatetimeout"),e.updateMediaUpdateTimeout_(t)}),t))},r.start=function(){var t=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(){t.setupInitialPlaylist(t.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(e,r){if(t.request){if(t.request=null,e)return t.error={status:r.status,message:"HLS playlist request error at URL: "+t.src+".",responseText:r.responseText,code:2},"HAVE_NOTHING"===t.state&&(t.started=!1),t.trigger("error");t.src=bo(t.handleManifestRedirects,t.src,r);var n=t.parseManifest_({manifestString:r.responseText,url:t.src});t.setupInitialPlaylist(n)}}))},r.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},r.setupInitialPlaylist=function(t){if(this.state="HAVE_MASTER",t.playlists)return this.master=t,ta(this.master,this.srcUri()),t.playlists.forEach((function(t){t.segments=oa(t),t.segments.forEach((function(e){na(e,t.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var e=this.srcUri()||l.a.location.href;this.master=function(t,e){var r=Xo(0,e),n={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:l.a.location.href,resolvedUri:l.a.location.href,playlists:[{uri:e,id:r,resolvedUri:e,attributes:{}}]};return n.playlists[r]=n.playlists[0],n.playlists[e]=n.playlists[0],n}(0,e),this.haveMetadata({playlistObject:t,url:e,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},e}(ra),ca=vo.xhr,ha=vo.mergeOptions,da=function(t,e,r,n){var o="arraybuffer"===t.responseType?t.response:t.responseText;!e&&o&&(t.responseTime=Date.now(),t.roundTripTime=t.responseTime-t.requestTime,t.bytesReceived=o.byteLength||o.length,t.bandwidth||(t.bandwidth=Math.floor(t.bytesReceived/t.roundTripTime*8*1e3))),r.headers&&(t.responseHeaders=r.headers),e&&"ETIMEDOUT"===e.code&&(t.timedout=!0),e||t.aborted||200===r.statusCode||206===r.statusCode||0===r.statusCode||(e=new Error("XHR Failed with a response of: "+(t&&(o||t.responseText)))),n(e,t)},fa=function(){var t=function t(e,r){e=ha({timeout:45e3},e);var n=t.beforeRequest||vo.Vhs.xhr.beforeRequest;if(n&&"function"==typeof n){var o=n(e);o&&(e=o)}var l=(!0===vo.Vhs.xhr.original?ca:vo.Vhs.xhr)(e,(function(t,e){return da(l,t,e,r)})),c=l.abort;return l.abort=function(){return l.aborted=!0,c.apply(l,arguments)},l.uri=e.uri,l.requestTime=Date.now(),l};return t.original=!0,t},pa=function(t){var e,r={};return t.byterange&&(r.Range="bytes="+(e=t.byterange).offset+"-"+("bigint"==typeof e.offset||"bigint"==typeof e.length?l.a.BigInt(e.offset)+l.a.BigInt(e.length)-l.a.BigInt(1):e.offset+e.length-1)),r},ma=function(t,i){return t.start(i)+"-"+t.end(i)},ga=function(t,i){var e=t.toString(16);return"00".substring(0,2-e.length)+e+(i%2?" ":"")},va=function(t){return t>=32&&t<126?String.fromCharCode(t):"."},ya=function(t){var e={};return Object.keys(t).forEach((function(r){var n=t[r];Object(j.e)(n)?e[r]={bytes:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength}:e[r]=n})),e},ba=function(t){var e=t.byterange||{length:1/0,offset:0};return[e.length,e.offset,t.resolvedUri].join(",")},_a=function(t){return t.resolvedUri},wa=function(data){for(var t=Array.prototype.slice.call(data),e=16,r="",n=0;n<t.length/e;n++)r+=t.slice(n*e,n*e+e).map(ga).join("")+" "+t.slice(n*e,n*e+e).map(va).join("")+"\n";return r},Ta=Object.freeze({__proto__:null,createTransferableMessage:ya,initSegmentId:ba,segmentKeyId:_a,hexDump:wa,tagDump:function(t){var e=t.bytes;return wa(e)},textRanges:function(t){var i,e="";for(i=0;i<t.length;i++)e+=ma(t,i)+" ";return e}}),Sa=function(t){var e=t.playlist,r=t.time,time=void 0===r?void 0:r,n=t.callback;if(!n)throw new Error("getProgramTime: callback must be provided");if(!e||void 0===time)return n({message:"getProgramTime: playlist and time must be provided"});var o=function(time,t){if(!t||!t.segments||0===t.segments.length)return null;for(var e,r=0,i=0;i<t.segments.length&&!(time<=(r=(e=t.segments[i]).videoTimingInfo?e.videoTimingInfo.transmuxedPresentationEnd:r+e.duration));i++);var n=t.segments[t.segments.length-1];if(n.videoTimingInfo&&n.videoTimingInfo.transmuxedPresentationEnd<time)return null;if(time>r){if(time>r+.25*n.duration)return null;e=n}return{segment:e,estimatedStart:e.videoTimingInfo?e.videoTimingInfo.transmuxedPresentationStart:r-e.duration,type:e.videoTimingInfo?"accurate":"estimate"}}(time,e);if(!o)return n({message:"valid programTime was not found"});if("estimate"===o.type)return n({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:o.estimatedStart});var l={mediaSeconds:time},c=function(t,e){if(!e.dateTimeObject)return null;var r=e.videoTimingInfo.transmuxerPrependedSeconds,n=t-(e.videoTimingInfo.transmuxedPresentationStart+r);return new Date(e.dateTimeObject.getTime()+1e3*n)}(time,o.segment);return c&&(l.programDateTime=c.toISOString()),n(null,l)},Ma=function t(e){var r=e.programTime,n=e.playlist,o=e.retryCount,l=void 0===o?2:o,c=e.seekTo,h=e.pauseAfterSeek,d=void 0===h||h,f=e.tech,m=e.callback;if(!m)throw new Error("seekToProgramTime: callback must be provided");if(void 0===r||!n||!c)return m({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!n.endList&&!f.hasStarted_)return m({message:"player must be playing a live stream to start buffering"});if(!function(t){if(!t.segments||0===t.segments.length)return!1;for(var i=0;i<t.segments.length;i++)if(!t.segments[i].dateTimeObject)return!1;return!0}(n))return m({message:"programDateTime tags must be provided in the manifest "+n.resolvedUri});var v=function(t,e){var r;try{r=new Date(t)}catch(t){return null}if(!e||!e.segments||0===e.segments.length)return null;var n=e.segments[0];if(r<n.dateTimeObject)return null;for(var i=0;i<e.segments.length-1&&(n=e.segments[i],!(r<e.segments[i+1].dateTimeObject));i++);var o,l=e.segments[e.segments.length-1],c=l.dateTimeObject,h=l.videoTimingInfo?(o=l.videoTimingInfo).transmuxedPresentationEnd-o.transmuxedPresentationStart-o.transmuxerPrependedSeconds:l.duration+.25*l.duration;return r>new Date(c.getTime()+1e3*h)?null:(r>c&&(n=l),{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:Qo.duration(e,e.mediaSequence+e.segments.indexOf(n)),type:n.videoTimingInfo?"accurate":"estimate"})}(r,n);if(!v)return m({message:r+" was not found in the stream"});var y=v.segment,_=function(t,e){var r,n;try{r=new Date(t),n=new Date(e)}catch(t){}var o=r.getTime();return(n.getTime()-o)/1e3}(y.dateTimeObject,r);if("estimate"===v.type)return 0===l?m({message:r+" is not buffered yet. Try again"}):(c(v.estimatedStart+_),void f.one("seeked",(function(){t({programTime:r,playlist:n,retryCount:l-1,seekTo:c,pauseAfterSeek:d,tech:f,callback:m})})));var w=y.start+_;f.one("seeked",(function(){return m(null,f.currentTime())})),d&&f.pause(),c(w)},xa=function(t,e){if(4===t.readyState)return e()},ka=vo.EventTarget,Ea=vo.mergeOptions,Oa=function(a,b){if(!aa(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 t=a.segments[i],e=b.segments[i];if(t.uri!==e.uri)return!1;if(t.byterange||e.byterange){var r=t.byterange,n=e.byterange;if(r&&!n||!r&&n)return!1;if(r.offset!==n.offset||r.length!==n.length)return!1}}return!0},Ca=function(t,e,label,r){return"placeholder-uri-"+t+"-"+e+"-"+(r.attributes.NAME||label)},Aa=function(t,e,r){for(var n=!0,o=Ea(t,{duration:e.duration,minimumUpdatePeriod:e.minimumUpdatePeriod,timelineStarts:e.timelineStarts}),i=0;i<e.playlists.length;i++){var l=e.playlists[i];if(l.sidx){var c=Object(B.b)(l.sidx);r&&r[c]&&r[c].sidx&&Object(B.a)(l,r[c].sidx,l.sidx.resolvedUri)}var h=sa(o,l,Oa);h&&(o=h,n=!1)}return Zo(e,(function(t,e,r,label){if(t.playlists&&t.playlists.length){var l=t.playlists[0].id,c=sa(o,t.playlists[0],Oa);c&&(label in(o=c).mediaGroups[e][r]||(o.mediaGroups[e][r][label]=t),o.mediaGroups[e][r][label].playlists[0]=o.playlists[l],n=!1)}})),function(t,e){Zo(t,(function(r,n,o,label){label in e.mediaGroups[n][o]||delete t.mediaGroups[n][o][label]}))}(o,e),e.minimumUpdatePeriod!==t.minimumUpdatePeriod&&(n=!1),n?null:o},Ia=function(t,e){var a,b,r={};for(var n in t){var o=t[n].sidx;if(o){var l=Object(B.b)(o);if(!e[l])break;var c=e[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&&(r[l]=e[l])}}return r},Pa=function(t){function e(e,r,n,o){var l;void 0===n&&(n={}),(l=t.call(this)||this).masterPlaylistLoader_=o||_()(l),o||(l.isMaster_=!0);var c=n,h=c.withCredentials,d=void 0!==h&&h,f=c.handleManifestRedirects,m=void 0!==f&&f;if(l.vhs_=r,l.withCredentials=d,l.handleManifestRedirects=m,!e)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_=_o("DashPlaylistLoader"),l.isMaster_?(l.masterPlaylistLoader_.srcUrl=e,l.masterPlaylistLoader_.sidxMapping_={}):l.childPlaylist_=e,l}T()(e,t);var r=e.prototype;return r.requestErrored_=function(t,e,r){return!this.request||(this.request=null,t?(this.error="object"!=typeof t||t instanceof Error?{status:e.status,message:"DASH request error at URL: "+e.uri,response:e.response,code:2}:t,r&&(this.state=r),this.trigger("error"),!0):void 0)},r.addSidxSegments_=function(t,e,r){var n=this,o=t.sidx&&Object(B.b)(t.sidx);if(t.sidx&&o&&!this.masterPlaylistLoader_.sidxMapping_[o]){var c=bo(this.handleManifestRedirects,t.sidx.resolvedUri),h=function(l,c){if(!n.requestErrored_(l,c,e)){var h,d=n.masterPlaylistLoader_.sidxMapping_;try{h=U()(Object(j.k)(c.response).subarray(8))}catch(t){return void n.requestErrored_(t,c,e)}return d[o]={sidxInfo:t.sidx,sidx:h},Object(B.a)(t,h,t.sidx.resolvedUri),r(!0)}};this.request=function(t,e,r){var n,o=[],l=!1,c=function(t,e,n,o){return e.abort(),l=!0,r(t,e,n,o)},h=function(t,e){if(!l){if(t)return c(t,e,"",o);var r=e.responseText.substring(o&&o.byteLength||0,e.responseText.length);if(o=Object(j.d)(o,Object(j.h)(r,!0)),n=n||Object(z.a)(o),o.length<10||n&&o.length<n+2)return xa(e,(function(){return c(t,e,"",o)}));var h=Object(V.a)(o);return"ts"===h&&o.length<188||!h&&o.length<376?xa(e,(function(){return c(t,e,"",o)})):c(null,e,h,o)}},d={uri:t,beforeSend:function(t){t.overrideMimeType("text/plain; charset=x-user-defined"),t.addEventListener("progress",(function(e){return e.total,e.loaded,da(t,null,{statusCode:t.status},h)}))}},f=e(d,(function(t,e){return da(f,t,e,h)}));return f}(c,this.vhs_.xhr,(function(e,r,o,l){if(e)return h(e,r);if(!o||"mp4"!==o)return h({status:r.status,message:"Unsupported "+(o||"unknown")+" container type for sidx segment at URL: "+c,response:"",playlist:t,internal:!0,blacklistDuration:1/0,code:2},r);var d=t.sidx.byterange,f=d.offset,m=d.length;if(l.length>=m+f)return h(e,{response:l.subarray(f,f+m),status:r.status,uri:r.uri});n.request=n.vhs_.xhr({uri:c,responseType:"arraybuffer",headers:pa({byterange:t.sidx.byterange})},h)}))}else this.mediaRequest_=l.a.setTimeout((function(){return r(!1)}),0)},r.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()},r.hasPendingRequest=function(){return this.request||this.mediaRequest_},r.stopRequest=function(){if(this.request){var t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}},r.media=function(t){var e=this;if(!t)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var r=this.state;if("string"==typeof t){if(!this.masterPlaylistLoader_.master.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.masterPlaylistLoader_.master.playlists[t]}var n=!this.media_||t.id!==this.media_.id;if(n&&this.loadedPlaylists_[t.id]&&this.loadedPlaylists_[t.id].endList)return this.state="HAVE_METADATA",this.media_=t,void(n&&(this.trigger("mediachanging"),this.trigger("mediachange")));n&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(t,r,(function(n){e.haveMetadata({startingState:r,playlist:t})})))},r.haveMetadata=function(t){var e=t.startingState,r=t.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[r.id]=r,this.mediaRequest_=null,this.refreshMedia_(r.id),"HAVE_MASTER"===e?this.trigger("loadedmetadata"):this.trigger("mediachange")},r.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)},r.load=function(t){var e=this;l.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var r=this.media();if(t){var n=r?r.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=l.a.setTimeout((function(){return e.load()}),n)}else this.started?r&&!r.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},r.start=function(){var t=this;this.started=!0,this.isMaster_?this.requestMaster_((function(e,r){t.haveMaster_(),t.hasPendingRequest()||t.media_||t.media(t.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=l.a.setTimeout((function(){return t.haveMaster_()}),0)},r.requestMaster_=function(t){var e=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(r,n){if(!e.requestErrored_(r,n)){var o=n.responseText!==e.masterPlaylistLoader_.masterXml_;return e.masterPlaylistLoader_.masterXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?e.masterLoaded_=Date.parse(n.responseHeaders.date):e.masterLoaded_=Date.now(),e.masterPlaylistLoader_.srcUrl=bo(e.handleManifestRedirects,e.masterPlaylistLoader_.srcUrl,n),o?(e.handleMaster_(),void e.syncClientServerClock_((function(){return t(n,o)}))):t(n,o)}"HAVE_NOTHING"===e.state&&(e.started=!1)}))},r.syncClientServerClock_=function(t){var e=this,r=Object(B.d)(this.masterPlaylistLoader_.masterXml_);return null===r?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),t()):"DIRECT"===r.method?(this.masterPlaylistLoader_.clientOffset_=r.value-Date.now(),t()):void(this.request=this.vhs_.xhr({uri:yo(this.masterPlaylistLoader_.srcUrl,r.value),method:r.method,withCredentials:this.withCredentials},(function(n,o){if(e.request){if(n)return e.masterPlaylistLoader_.clientOffset_=e.masterLoaded_-Date.now(),t();var l;l="HEAD"===r.method?o.responseHeaders&&o.responseHeaders.date?Date.parse(o.responseHeaders.date):e.masterLoaded_:Date.parse(o.responseText),e.masterPlaylistLoader_.clientOffset_=l-Date.now(),t()}})))},r.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},r.handleMaster_=function(){this.mediaRequest_=null;var t,e,r,n,o,l,c,h=this.masterPlaylistLoader_.master,d=(t={masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:h},e=t.masterXml,r=t.srcUrl,n=t.clientOffset,o=t.sidxMapping,l=t.previousManifest,c=Object(B.c)(e,{manifestUri:r,clientOffset:n,sidxMapping:o,previousManifest:l}),ta(c,r,Ca),c);h&&(d=Aa(h,d,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=d||h;var f=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return f&&f!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=f),(!h||d&&d.minimumUpdatePeriod!==h.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(d)},r.updateMinimumUpdatePeriodTimeout_=function(){var t=this.masterPlaylistLoader_;t.createMupOnMedia_&&(t.off("loadedmetadata",t.createMupOnMedia_),t.createMupOnMedia_=null),t.minimumUpdatePeriodTimeout_&&(l.a.clearTimeout(t.minimumUpdatePeriodTimeout_),t.minimumUpdatePeriodTimeout_=null);var e=t.master&&t.master.minimumUpdatePeriod;0===e&&(t.media()?e=1e3*t.media().targetDuration:(t.createMupOnMedia_=t.updateMinimumUpdatePeriodTimeout_,t.one("loadedmetadata",t.createMupOnMedia_))),"number"!=typeof e||e<=0?e<0&&this.logger_("found invalid minimumUpdatePeriod of "+e+", not setting a timeout"):this.createMUPTimeout_(e)},r.createMUPTimeout_=function(t){var e=this.masterPlaylistLoader_;e.minimumUpdatePeriodTimeout_=l.a.setTimeout((function(){e.minimumUpdatePeriodTimeout_=null,e.trigger("minimumUpdatePeriod"),e.createMUPTimeout_(t)}),t)},r.refreshXml_=function(){var t=this;this.requestMaster_((function(e,r){var n,o,l;r&&(t.media_&&(t.media_=t.masterPlaylistLoader_.master.playlists[t.media_.id]),t.masterPlaylistLoader_.sidxMapping_=(n=t.masterPlaylistLoader_.master,o=t.masterPlaylistLoader_.sidxMapping_,l=Ia(n.playlists,o),Zo(n,(function(t,e,r,n){if(t.playlists&&t.playlists.length){var c=t.playlists;l=Ea(l,Ia(c,o))}})),l),t.addSidxSegments_(t.media(),t.state,(function(e){t.refreshMedia_(t.media().id)})))}))},r.refreshMedia_=function(t){var e=this;if(!t)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var r=this.masterPlaylistLoader_.master.playlists,n=!this.media_||this.media_!==r[t];if(n?this.media_=r[t]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function t(){e.media().endList||(e.mediaUpdateTimeout=l.a.setTimeout((function(){e.trigger("mediaupdatetimeout"),t()}),ua(e.media(),Boolean(n))))}()}this.trigger("loadedplaylist")},e}(ka),Ra={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},Da=function(t){return t.on=t.addEventListener,t.off=t.removeEventListener,t},La=function(code){return function(){var t=function(t){try{return URL.createObjectURL(new Blob([t],{type:"application/javascript"}))}catch(r){var e=new BlobBuilder;return e.append(t),URL.createObjectURL(e.getBlob())}}(code),e=Da(new Worker(t));e.objURL=t;var r=e.terminate;return e.on=e.addEventListener,e.off=e.removeEventListener,e.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},e}},Na=function(code){return"var browserWorkerPolyFill = "+Da.toString()+";\nbrowserWorkerPolyFill(self);\n"+code},ja=function(t){return t.toString().replace(/^function.+?{/,"").slice(0,-1)},Ba=Na(ja((function(){var e=function(){this.init=function(){var t={};this.on=function(e,r){t[e]||(t[e]=[]),t[e]=t[e].concat(r)},this.off=function(e,r){var n;return!!t[e]&&(n=t[e].indexOf(r),t[e]=t[e].slice(),t[e].splice(n,1),n>-1)},this.trigger=function(e){var r,i,n,o;if(r=t[e])if(2===arguments.length)for(n=r.length,i=0;i<n;++i)r[i].call(this,arguments[1]);else{for(o=[],i=arguments.length,i=1;i<arguments.length;++i)o.push(arguments[i]);for(n=r.length,i=0;i<n;++i)r[i].apply(this,o)}},this.dispose=function(){t={}}}};e.prototype.pipe=function(t){return this.on("data",(function(data){t.push(data)})),this.on("done",(function(e){t.flush(e)})),this.on("partialdone",(function(e){t.partialFlush(e)})),this.on("endedtimeline",(function(e){t.endTimeline(e)})),this.on("reset",(function(e){t.reset(e)})),t},e.prototype.push=function(data){this.trigger("data",data)},e.prototype.flush=function(t){this.trigger("done",t)},e.prototype.partialFlush=function(t){this.trigger("partialdone",t)},e.prototype.endTimeline=function(t){this.trigger("endedtimeline",t)},e.prototype.reset=function(t){this.trigger("reset",t)};var r,n,o,l,c,h,d,f,m,v,y,_,w,T,S,M,x,k,E,O,C,A,I,P,R,D,L,N,j,B,F,U,z,V,$,H,W,G,Q,K,X=e,Y=Math.pow(2,32),Z={getUint64:function(t){var e,r=new DataView(t.buffer,t.byteOffset,t.byteLength);return r.getBigUint64?(e=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?
vendor: 7,751 bytes, line 2
2Number(e):e:r.getUint32(0)*Y+r.getUint32(4)},MAX_UINT32:Y},J=Z.MAX_UINT32;!function(){var i;if(A={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 A)A.hasOwnProperty(i)&&(A[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)]),R=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),P=new Uint8Array([0,0,0,1]),D=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]),L=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:D,audio:L},F=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]),U=new Uint8Array([0,0,0,0,0,0,0,0]),z=U,V=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),$=U,j=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),r=function(t){var i,e,r=[],n=0;for(i=1;i<arguments.length;i++)r.push(arguments[i]);for(i=r.length;i--;)n+=r[i].byteLength;for(e=new Uint8Array(n+8),new DataView(e.buffer,e.byteOffset,e.byteLength).setUint32(0,e.byteLength),e.set(t,4),i=0,n=8;i<r.length;i++)e.set(r[i],n),n+=r[i].byteLength;return e},n=function(){return r(A.dinf,r(A.dref,F))},o=function(track){return r(A.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(t){return r(A.hdlr,N[t])},T=function(track){var t=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&&(t[12]=track.samplerate>>>24&255,t[13]=track.samplerate>>>16&255,t[14]=track.samplerate>>>8&255,t[15]=255&track.samplerate),r(A.mdhd,t)},w=function(track){return r(A.mdia,T(track),S(track.type),h(track))},c=function(t){return r(A.mfhd,new Uint8Array([0,0,0,0,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))},h=function(track){return r(A.minf,"video"===track.type?r(A.vmhd,j):r(A.smhd,B),n(),x(track))},d=function(t,e){for(var n=[],i=e.length;i--;)n[i]=E(e[i]);return r.apply(null,[A.moof,c(t)].concat(n))},f=function(t){for(var i=t.length,e=[];i--;)e[i]=y(t[i]);return r.apply(null,[A.moov,v(4294967295)].concat(e).concat(m(t)))},m=function(t){for(var i=t.length,e=[];i--;)e[i]=O(t[i]);return r.apply(null,[A.mvex].concat(e))},v=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t,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 r(A.mvhd,e)},M=function(track){var t,i,e=track.samples||[],n=new Uint8Array(4+e.length);for(i=0;i<e.length;i++)t=e[i].flags,n[i+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return r(A.sdtp,n)},x=function(track){return r(A.stbl,k(track),r(A.stts,$),r(A.stsc,z),r(A.stsz,V),r(A.stco,U))},k=function(track){return r(A.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===track.type?H(track):W(track))},H=function(track){var i,t,e=track.sps||[],n=track.pps||[],o=[],l=[];for(i=0;i<e.length;i++)o.push((65280&e[i].byteLength)>>>8),o.push(255&e[i].byteLength),o=o.concat(Array.prototype.slice.call(e[i]));for(i=0;i<n.length;i++)l.push((65280&n[i].byteLength)>>>8),l.push(255&n[i].byteLength),l=l.concat(Array.prototype.slice.call(n[i]));if(t=[A.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]),r(A.avcC,new Uint8Array([1,track.profileIdc,track.profileCompatibility,track.levelIdc,255].concat([e.length],o,[n.length],l))),r(A.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],track.sarRatio){var c=track.sarRatio[0],h=track.sarRatio[1];t.push(r(A.pasp,new Uint8Array([(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c,(4278190080&h)>>24,(16711680&h)>>16,(65280&h)>>8,255&h])))}return r.apply(null,t)},W=function(track){return r(A.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 t=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 r(A.tkhd,t)},E=function(track){var t,e,n,o,l,c;return t=r(A.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/J),c=Math.floor(track.baseMediaDecodeTime%J),e=r(A.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?(n=C(track,92),r(A.traf,t,e,n)):(o=M(track),n=C(track,o.length+92),r(A.traf,t,e,n,o))},y=function(track){return track.duration=track.duration||4294967295,r(A.trak,_(track),w(track))},O=function(track){var t=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&&(t[t.length-1]=0),r(A.trex,t)},K=function(t,e){var r=0,n=0,o=0,l=0;return t.length&&(void 0!==t[0].duration&&(r=1),void 0!==t[0].size&&(n=2),void 0!==t[0].flags&&(o=4),void 0!==t[0].compositionTimeOffset&&(l=8)),[0,0,r|n|o|l,1,(4278190080&t.length)>>>24,(16711680&t.length)>>>16,(65280&t.length)>>>8,255&t.length,(4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e]},Q=function(track,t){var e,n,header,o,l,i;for(t+=20+16*(o=track.samples||[]).length,header=K(o,t),(n=new Uint8Array(header.length+16*o.length)).set(header),e=header.length,i=0;i<o.length;i++)l=o[i],n[e++]=(4278190080&l.duration)>>>24,n[e++]=(16711680&l.duration)>>>16,n[e++]=(65280&l.duration)>>>8,n[e++]=255&l.duration,n[e++]=(4278190080&l.size)>>>24,n[e++]=(16711680&l.size)>>>16,n[e++]=(65280&l.size)>>>8,n[e++]=255&l.size,n[e++]=l.flags.isLeading<<2|l.flags.dependsOn,n[e++]=l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample,n[e++]=61440&l.flags.degradationPriority,n[e++]=15&l.flags.degradationPriority,n[e++]=(4278190080&l.compositionTimeOffset)>>>24,n[e++]=(16711680&l.compositionTimeOffset)>>>16,n[e++]=(65280&l.compositionTimeOffset)>>>8,n[e++]=255&l.compositionTimeOffset;return r(A.trun,n)},G=function(track,t){var e,n,header,o,l,i;for(t+=20+8*(o=track.samples||[]).length,header=K(o,t),(e=new Uint8Array(header.length+8*o.length)).set(header),n=header.length,i=0;i<o.length;i++)l=o[i],e[n++]=(4278190080&l.duration)>>>24,e[n++]=(16711680&l.duration)>>>16,e[n++]=(65280&l.duration)>>>8,e[n++]=255&l.duration,e[n++]=(4278190080&l.size)>>>24,e[n++]=(16711680&l.size)>>>16,e[n++]=(65280&l.size)>>>8,e[n++]=255&l.size;return r(A.trun,e)}
vendor: 6,748 bytes, line 2
2,C=function(track,t){return"audio"===track.type?G(track,t):Q(track,t)};l=function(){return r(A.ftyp,I,P,I,R)};var tt,et,it,nt,ot,at,st,ut,lt=function(data){return r(A.mdat,data)},ct=d,ht=function(t){var e,r=l(),n=f(t);return(e=new Uint8Array(r.byteLength+n.byteLength)).set(r),e.set(n,r.byteLength),e},ft=function(t,e){var r={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return r.dataOffset=e,r.compositionTimeOffset=t.pts-t.dts,r.duration=t.duration,r.size=4*t.length,r.size+=t.byteLength,t.keyFrame&&(r.flags.dependsOn=2,r.flags.isNonSyncSample=0),r},pt=function(t){var i,e,r=[],n=[];for(n.byteLength=0,n.nalCount=0,n.duration=0,r.byteLength=0,i=0;i<t.length;i++)"access_unit_delimiter_rbsp"===(e=t[i]).nalUnitType?(r.length&&(r.duration=e.dts-r.dts,n.byteLength+=r.byteLength,n.nalCount+=r.length,n.duration+=r.duration,n.push(r)),(r=[e]).byteLength=e.data.byteLength,r.pts=e.pts,r.dts=e.dts):("slice_layer_without_partitioning_rbsp_idr"===e.nalUnitType&&(r.keyFrame=!0),r.duration=e.dts-r.dts,r.byteLength+=e.data.byteLength,r.push(e));return n.length&&(!r.duration||r.duration<=0)&&(r.duration=n[n.length-1].duration),n.byteLength+=r.byteLength,n.nalCount+=r.length,n.duration+=r.duration,n.push(r),n},mt=function(t){var i,e,r=[],n=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=t[0].pts,r.dts=t[0].dts,n.byteLength=0,n.nalCount=0,n.duration=0,n.pts=t[0].pts,n.dts=t[0].dts,i=0;i<t.length;i++)(e=t[i]).keyFrame?(r.length&&(n.push(r),n.byteLength+=r.byteLength,n.nalCount+=r.nalCount,n.duration+=r.duration),(r=[e]).nalCount=e.length,r.byteLength=e.byteLength,r.pts=e.pts,r.dts=e.dts,r.duration=e.duration):(r.duration+=e.duration,r.nalCount+=e.length,r.byteLength+=e.byteLength,r.push(e));return n.length&&r.duration<=0&&(r.duration=n[n.length-1].duration),n.byteLength+=r.byteLength,n.nalCount+=r.nalCount,n.duration+=r.duration,n.push(r),n},gt=function(t){var e;return!t[0][0].keyFrame&&t.length>1&&(e=t.shift(),t.byteLength-=e.byteLength,t.nalCount-=e.nalCount,t[0][0].dts=e.dts,t[0][0].pts=e.pts,t[0][0].duration+=e.duration),t},vt=function(t,e){var r,i,n,o,l,c=e||0,h=[];for(r=0;r<t.length;r++)for(o=t[r],i=0;i<o.length;i++)l=o[i],c+=(n=ft(l,c)).size,h.push(n);return h},yt=function(t){var e,i,r,n,o,l,c=0,h=t.byteLength,d=t.nalCount,data=new Uint8Array(h+4*d),view=new DataView(data.buffer);for(e=0;e<t.length;e++)for(n=t[e],i=0;i<n.length;i++)for(o=n[i],r=0;r<o.length;r++)l=o[r],view.setUint32(c,l.data.byteLength),c+=4,data.set(l.data,c),c+=l.data.byteLength;return data},bt=[33,16,5,32,164,27],_t=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],wt=function(t){for(var a=[];t--;)a.push(0);return a},Tt=function(){if(!tt){var t={96e3:[bt,[227,64],wt(154),[56]],88200:[bt,[231],wt(170),[56]],64e3:[bt,[248,192],wt(240),[56]],48e3:[bt,[255,192],wt(268),[55,148,128],wt(54),[112]],44100:[bt,[255,192],wt(268),[55,163,128],wt(84),[112]],32e3:[bt,[255,192],wt(268),[55,234],wt(226),[112]],24e3:[bt,[255,192],wt(268),[55,255,128],wt(268),[111,112],wt(126),[224]],16e3:[bt,[255,192],wt(268),[55,255,128],wt(268),[111,255],wt(269),[223,108],wt(195),[1,192]],12e3:[_t,wt(268),[3,127,248],wt(268),[6,255,240],wt(268),[13,255,224],wt(268),[27,253,128],wt(259),[56]],11025:[_t,wt(268),[3,127,248],wt(268),[6,255,240],wt(268),[13,255,224],wt(268),[27,255,192],wt(268),[55,175,128],wt(108),[112]],8e3:[_t,wt(268),[3,121,16],wt(47),[7]]};e=t,tt=Object.keys(e).reduce((function(t,r){return t[r]=new Uint8Array(e[r].reduce((function(t,e){return t.concat(e)}),[])),t}),{})}var e;return tt},St=9e4;at=function(t,e){return et(ot(t,e))},st=function(t,e){return it(nt(t),e)},ut=function(t,e,r){return nt(r?t:t-e)};var Mt=St,xt=et=function(t){return t*St},kt=(it=function(t,e){return t*e},nt=function(t){return t/St}),Et=(ot=function(t,e){return t/e},at),Ot=st,Ct=ut,At=function(track,t,e,r){var n,o,l,i,c,h=0,d=0,f=0;if(t.length&&(n=Et(track.baseMediaDecodeTime,track.samplerate),o=Math.ceil(Mt/(track.samplerate/1024)),e&&r&&(h=n-Math.max(e,r),f=(d=Math.floor(h/o))*o),!(d<1||f>Mt/2))){for((l=Tt()[track.samplerate])||(l=t[0].data),i=0;i<d;i++)c=t[0],t.splice(0,0,{data:l,dts:c.dts-o,pts:c.pts-o});return track.baseMediaDecodeTime-=Math.floor(Ot(f,track.samplerate)),f}},It=function(t,track,e){return track.minSegmentDts>=e?t:(track.minSegmentDts=1/0,t.filter((function(t){return t.dts>=e&&(track.minSegmentDts=Math.min(track.minSegmentDts,t.dts),track.minSegmentPts=track.minSegmentDts,!0)})))},Pt=function(t){var i,e,r=[];for(i=0;i<t.length;i++)e=t[i],r.push({size:e.data.byteLength,duration:1024});return r},Rt=function(t){var i,e,r=0,data=new Uint8Array(function(t){var i,e=0;for(i=0;i<t.length;i++)e+=t[i].data.byteLength;return e}(t));for(i=0;i<t.length;i++)e=t[i],data.set(e.data,r),r+=e.data.byteLength;return data},Dt=Mt,Lt=function(track){delete track.minSegmentDts,delete track.maxSegmentDts,delete track.minSegmentPts,delete track.maxSegmentPts},Nt=function(track,t){var e,r=track.minSegmentDts;return t||(r-=track.timelineStartInfo.dts),e=track.timelineStartInfo.baseMediaDecodeTime,e+=r,e=Math.max(0,e),"audio"===track.type&&(e*=track.samplerate/Dt,e=Math.floor(e)),e},jt=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))},Bt=function(t){for(var i=0,e={payloadType:-1,payloadSize:0},r=0,n=0;i<t.byteLength&&128!==t[i];){for(;255===t[i];)r+=255,i++;for(r+=t[i++];255===t[i];)n+=255,i++;if(n+=t[i++],!e.payload&&4===r){if("GA94"===String.fromCharCode(t[i+3],t[i+4],t[i+5],t[i+6])){e.payloadType=r,e.payloadSize=n,e.payload=t.subarray(i,i+n);break}e.payload=void 0}i+=n,r=0,n=0}return e},Ft=function(t){return 181!==t.payload[0]||49!=(t.payload[1]<<8|t.payload[2])||"GA94"!==String.fromCharCode(t.payload[3],t.payload[4],t.payload[5],t.payload[6])||3!==t.payload[7]?null:t.payload.subarray(8,t.payload.length-1)},Ut=function(t,e){var i,r,n,data,o=[];if(!(64&e[0]))return o;for(r=31&e[0],i=0;i<r;i++)data={type:3&e[(n=3*i)+2],pts:t},4&e[n+2]&&(data.ccData=e[n+3]<<8|e[n+4],o.push(data));return o},qt=function(data){for(var t,e,r=data.byteLength,n=[],i=1;i<r-2;)0===data[i]&&0===data[i+1]&&3===data[i+2]?(n.push(i+2),i+=2):i++;
vendor: 4,668 bytes, line 2
2if(0===n.length)return data;t=r-n.length,e=new Uint8Array(t);var o=0;for(i=0;i<t;o++,i++)o===n[0]&&(o++,n.shift()),e[i]=data[o];return e},zt=4,Vt=function t(e){e=e||{},t.prototype.init.call(this),this.parse708captions_="boolean"!=typeof e.parse708captions||e.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Jt(0,0),new Jt(0,1),new Jt(1,0),new Jt(1,1)],this.parse708captions_&&(this.cc708Stream_=new Qt({captionServices:e.captionServices})),this.reset(),this.ccStreams_.forEach((function(t){t.on("data",this.trigger.bind(this,"data")),t.on("partialdone",this.trigger.bind(this,"partialdone")),t.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")))};(Vt.prototype=new X).push=function(t){var e,r,n;if("sei_rbsp"===t.nalUnitType&&(e=Bt(t.escapedRBSP)).payload&&e.payloadType===zt&&(r=Ft(e)))if(t.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(t.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));n=Ut(t.pts,r),this.captionPackets_=this.captionPackets_.concat(n),this.latestDts_!==t.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=t.dts}},Vt.prototype.flushCCStreams=function(t){this.ccStreams_.forEach((function(e){return"flush"===t?e.flush():e.partialFlush()}),this)},Vt.prototype.flushStream=function(t){this.captionPackets_.length?(this.captionPackets_.forEach((function(t,e){t.presortIndex=e})),this.captionPackets_.sort((function(a,b){return a.pts===b.pts?a.presortIndex-b.presortIndex:a.pts-b.pts})),this.captionPackets_.forEach((function(t){t.type<2?this.dispatchCea608Packet(t):this.dispatchCea708Packet(t)}),this),this.captionPackets_.length=0,this.flushCCStreams(t)):this.flushCCStreams(t)},Vt.prototype.flush=function(){return this.flushStream("flush")},Vt.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Vt.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(t){t.reset()}))},Vt.prototype.dispatchCea608Packet=function(t){this.setsTextOrXDSActive(t)?this.activeCea608Channel_[t.type]=null:this.setsChannel1Active(t)?this.activeCea608Channel_[t.type]=0:this.setsChannel2Active(t)&&(this.activeCea608Channel_[t.type]=1),null!==this.activeCea608Channel_[t.type]&&this.ccStreams_[(t.type<<1)+this.activeCea608Channel_[t.type]].push(t)},Vt.prototype.setsChannel1Active=function(t){return 4096==(30720&t.ccData)},Vt.prototype.setsChannel2Active=function(t){return 6144==(30720&t.ccData)},Vt.prototype.setsTextOrXDSActive=function(t){return 256==(28928&t.ccData)||4138==(30974&t.ccData)||6186==(30974&t.ccData)},Vt.prototype.dispatchCea708Packet=function(t){this.parse708captions_&&this.cc708Stream_.push(t)};var $t={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},Ht=function(b){return 32<=b&&b<=127||160<=b&&b<=255},Wt=function(t){this.windowNum=t,this.reset()};Wt.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},Wt.prototype.getText=function(){return this.rows.join("\n")},Wt.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},Wt.prototype.newLine=function(t){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(t),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Wt.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},Wt.prototype.addText=function(text){this.rows[this.rowIdx]+=text},Wt.prototype.backspace=function(){if(!this.isEmpty()){var t=this.rows[this.rowIdx];this.rows[this.rowIdx]=t.substr(0,t.length-1)}};var Gt=function(t,e,r){this.serviceNum=t,this.text="",this.currentWindow=new Wt(-1),this.windows=[],this.stream=r,"string"==typeof e&&this.createTextDecoder(e)};Gt.prototype.init=function(t,e){this.startPts=t;
vendor: 10,838 bytes, line 2
2for(var r=0;r<8;r++)this.windows[r]=new Wt(r),"function"==typeof e&&(this.windows[r].beforeRowOverflow=e)},Gt.prototype.setCurrentWindow=function(t){this.currentWindow=this.windows[t]},Gt.prototype.createTextDecoder=function(t){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(t)}catch(e){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+t+" encoding. "+e})}};var Qt=function t(e){e=e||{},t.prototype.init.call(this);var r,n=this,o=e.captionServices||{},l={};Object.keys(o).forEach((function(t){r=o[t],/^SERVICE/.test(t)&&(l[t]=r.encoding)})),this.serviceEncodings=l,this.current708Packet=null,this.services={},this.push=function(t){3===t.type?(n.new708Packet(),n.add708Bytes(t)):(null===n.current708Packet&&n.new708Packet(),n.add708Bytes(t))}};Qt.prototype=new X,Qt.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Qt.prototype.add708Bytes=function(t){var data=t.ccData,e=data>>>8,r=255&data;this.current708Packet.ptsVals.push(t.pts),this.current708Packet.data.push(e),this.current708Packet.data.push(r)},Qt.prototype.push708Packet=function(){var t=this.current708Packet,e=t.data,r=null,n=null,i=0,b=e[i++];for(t.seq=b>>6,t.sizeCode=63&b;i<e.length;i++)n=31&(b=e[i++]),7===(r=b>>5)&&n>0&&(r=b=e[i++]),this.pushServiceBlock(r,i,n),n>0&&(i+=n-1)},Qt.prototype.pushServiceBlock=function(t,e,r){var b,i=e,n=this.current708Packet.data,o=this.services[t];for(o||(o=this.initService(t,i));i<e+r&&i<n.length;i++)b=n[i],Ht(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++},Qt.prototype.extendedCommands=function(i,t){var b=this.current708Packet.data[++i];return Ht(b)&&(i=this.handleText(i,t,{isExtended:!0})),i},Qt.prototype.getPts=function(t){return this.current708Packet.ptsVals[Math.floor(t/2)]},Qt.prototype.initService=function(t,i){var e,r,n=this;return(e="SERVICE"+t)in this.serviceEncodings&&(r=this.serviceEncodings[e]),this.services[t]=new Gt(t,r,n),this.services[t].init(this.getPts(i),(function(e){n.flushDisplayed(e,n.services[t])})),this.services[t]},Qt.prototype.handleText=function(i,t,e){var r,n,code,o,l=e&&e.isExtended,c=e&&e.isMultiByte,h=this.current708Packet.data,d=l?4096:0,f=h[i],m=h[i+1],v=t.currentWindow;return t.textDecoder_&&!l?(c?(n=[f,m],i++):n=[f],r=t.textDecoder_.decode(new Uint8Array(n))):(o=$t[code=d|f]||code,r=4096&code&&code===o?"":String.fromCharCode(o)),v.pendingNewLine&&!v.isEmpty()&&v.newLine(this.getPts(i)),v.pendingNewLine=!1,v.addText(r),i},Qt.prototype.multiByteCharacter=function(i,t){var e=this.current708Packet.data,r=e[i+1],n=e[i+2];return Ht(r)&&Ht(n)&&(i=this.handleText(++i,t,{isMultiByte:!0})),i},Qt.prototype.setCurrentWindow=function(i,t){var e=7&this.current708Packet.data[i];return t.setCurrentWindow(e),i},Qt.prototype.defineWindow=function(i,t){var e=this.current708Packet.data,b=e[i],r=7&b;t.setCurrentWindow(r);var n=t.currentWindow;return b=e[++i],n.visible=(32&b)>>5,n.rowLock=(16&b)>>4,n.columnLock=(8&b)>>3,n.priority=7&b,b=e[++i],n.relativePositioning=(128&b)>>7,n.anchorVertical=127&b,b=e[++i],n.anchorHorizontal=b,b=e[++i],n.anchorPoint=(240&b)>>4,n.rowCount=15&b,b=e[++i],n.columnCount=63&b,b=e[++i],n.windowStyle=(56&b)>>3,n.penStyle=7&b,n.virtualRowCount=n.rowCount+1,i},Qt.prototype.setWindowAttributes=function(i,t){var e=this.current708Packet.data,b=e[i],r=t.currentWindow.winAttr;return b=e[++i],r.fillOpacity=(192&b)>>6,r.fillRed=(48&b)>>4,r.fillGreen=(12&b)>>2,r.fillBlue=3&b,b=e[++i],r.borderType=(192&b)>>6,r.borderRed=(48&b)>>4,r.borderGreen=(12&b)>>2,r.borderBlue=3&b,b=e[++i],r.borderType+=(128&b)>>5,r.wordWrap=(64&b)>>6,r.printDirection=(48&b)>>4,r.scrollDirection=(12&b)>>2,r.justify=3&b,b=e[++i],r.effectSpeed=(240&b)>>4,r.effectDirection=(12&b)>>2,r.displayEffect=3&b,i},Qt.prototype.flushDisplayed=function(t,e){for(var r=[],n=0;n<8;n++)e.windows[n].visible&&!e.windows[n].isEmpty()&&r.push(e.windows[n].getText());e.endPts=t,e.text=r.join("\n\n"),this.pushCaption(e),e.startPts=t},Qt.prototype.pushCaption=function(t){""!==t.text&&(this.trigger("data",{startPts:t.startPts,endPts:t.endPts,text:t.text,stream:"cc708_"+t.serviceNum}),t.text="",t.startPts=t.endPts)},Qt.prototype.displayWindows=function(i,t){var b=this.current708Packet.data[++i],e=this.getPts(i);this.flushDisplayed(e,t);for(var r=0;r<8;r++)b&1<<r&&(t.windows[r].visible=1);return i},Qt.prototype.hideWindows=function(i,t){var b=this.current708Packet.data[++i],e=this.getPts(i);this.flushDisplayed(e,t);for(var r=0;r<8;r++)b&1<<r&&(t.windows[r].visible=0);return i},Qt.prototype.toggleWindows=function(i,t){var b=this.current708Packet.data[++i],e=this.getPts(i);this.flushDisplayed(e,t);for(var r=0;r<8;r++)b&1<<r&&(t.windows[r].visible^=1);return i},Qt.prototype.clearWindows=function(i,t){var b=this.current708Packet.data[++i],e=this.getPts(i);this.flushDisplayed(e,t);for(var r=0;r<8;r++)b&1<<r&&t.windows[r].clearText();return i},Qt.prototype.deleteWindows=function(i,t){var b=this.current708Packet.data[++i],e=this.getPts(i);this.flushDisplayed(e,t);for(var r=0;r<8;r++)b&1<<r&&t.windows[r].reset();return i},Qt.prototype.setPenAttributes=function(i,t){var e=this.current708Packet.data,b=e[i],r=t.currentWindow.penAttr;return b=e[++i],r.textTag=(240&b)>>4,r.offset=(12&b)>>2,r.penSize=3&b,b=e[++i],r.italics=(128&b)>>7,r.underline=(64&b)>>6,r.edgeType=(56&b)>>3,r.fontStyle=7&b,i},Qt.prototype.setPenColor=function(i,t){var e=this.current708Packet.data,b=e[i],r=t.currentWindow.penColor;return b=e[++i],r.fgOpacity=(192&b)>>6,r.fgRed=(48&b)>>4,r.fgGreen=(12&b)>>2,r.fgBlue=3&b,b=e[++i],r.bgOpacity=(192&b)>>6,r.bgRed=(48&b)>>4,r.bgGreen=(12&b)>>2,r.bgBlue=3&b,b=e[++i],r.edgeRed=(48&b)>>4,r.edgeGreen=(12&b)>>2,r.edgeBlue=3&b,i},Qt.prototype.setPenLocation=function(i,t){var e=this.current708Packet.data,b=e[i],r=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,b=e[++i],r.row=15&b,b=e[++i],r.column=63&b,i},Qt.prototype.reset=function(i,t){var e=this.getPts(i);return this.flushDisplayed(e,t),this.initService(t.serviceNum,i)};var Kt={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},Xt=function(code){return null===code?"":(code=Kt[code]||code,String.fromCharCode(code))},Yt=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Zt=function(){for(var t=[],i=15;i--;)t.push("");return t},Jt=function t(e,r){t.prototype.init.call(this),this.field_=e||0,this.dataChannel_=r||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(t){var data,e,r,n,text;if((data=32639&t.ccData)!==this.lastControlCode_){if(4096==(61440&data)?this.lastControlCode_=data:data!==this.PADDING_&&(this.lastControlCode_=null),r=data>>>8,n=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(t.pts),this.flushDisplayed(t.pts),e=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=e,this.startPts_=t.pts;else if(data===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(t.pts);else if(data===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(t.pts);else if(data===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(t.pts);else if(data===this.CARRIAGE_RETURN_)this.clearFormatting(t.pts),this.flushDisplayed(t.pts),this.shiftRowsUp_(),this.startPts_=t.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(t.pts),this.displayed_=Zt();else if(data===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Zt();else if(data===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(t.pts),this.displayed_=Zt()),this.mode_="paintOn",this.startPts_=t.pts;else if(this.isSpecialCharacter(r,n))text=Xt((r=(3&r)<<8)|n),this[this.mode_](t.pts,text),this.column_++;else if(this.isExtCharacter(r,n))"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=Xt((r=(3&r)<<8)|n),this[this.mode_](t.pts,text),this.column_++;else if(this.isMidRowCode(r,n))this.clearFormatting(t.pts),this[this.mode_](t.pts," "),this.column_++,14==(14&n)&&this.addFormatting(t.pts,["i"]),1==(1&n)&&this.addFormatting(t.pts,["u"]);else if(this.isOffsetControlCode(r,n))this.column_+=3&n;else if(this.isPAC(r,n)){var o=Yt.indexOf(7968&data);"rollUp"===this.mode_&&(o-this.rollUpRows_+1<0&&(o=this.rollUpRows_-1),this.setRollUp(t.pts,o)),o!==this.row_&&(this.clearFormatting(t.pts),this.row_=o),1&n&&-1===this.formatting_.indexOf("u")&&this.addFormatting(t.pts,["u"]),16==(16&data)&&(this.column_=4*((14&data)>>1)),this.isColorPAC(n)&&14==(14&n)&&this.addFormatting(t.pts,["i"])}else this.isNormalChar(r)&&(0===n&&(n=null),text=Xt(r),text+=Xt(n),this[this.mode_](t.pts,text),this.column_+=text.length)}else this.lastControlCode_=null}};Jt.prototype=new X,Jt.prototype.flushDisplayed=function(t){var content=this.displayed_.map((function(t,e){try{return t.trim()}catch(t){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+e+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");content.length&&this.trigger("data",{startPts:this.startPts_,endPts:t,text:content,stream
vendor: 6,870 bytes, line 2
2:this.name_})},Jt.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Zt(),this.nonDisplayed_=Zt(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Jt.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_},Jt.prototype.isSpecialCharacter=function(t,e){return t===this.EXT_&&e>=48&&e<=63},Jt.prototype.isExtCharacter=function(t,e){return(t===this.EXT_+1||t===this.EXT_+2)&&e>=32&&e<=63},Jt.prototype.isMidRowCode=function(t,e){return t===this.EXT_&&e>=32&&e<=47},Jt.prototype.isOffsetControlCode=function(t,e){return t===this.OFFSET_&&e>=33&&e<=35},Jt.prototype.isPAC=function(t,e){return t>=this.BASE_&&t<this.BASE_+8&&e>=64&&e<=127},Jt.prototype.isColorPAC=function(t){return t>=64&&t<=79||t>=96&&t<=127},Jt.prototype.isNormalChar=function(t){return t>=32&&t<=127},Jt.prototype.setRollUp=function(t,e){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(t),this.nonDisplayed_=Zt(),this.displayed_=Zt()),void 0!==e&&e!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[e-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]="";void 0===e&&(e=this.row_),this.topRow_=e-this.rollUpRows_+1},Jt.prototype.addFormatting=function(t,e){this.formatting_=this.formatting_.concat(e);var text=e.reduce((function(text,t){return text+"<"+t+">"}),"");this[this.mode_](t,text)},Jt.prototype.clearFormatting=function(t){if(this.formatting_.length){var text=this.formatting_.reverse().reduce((function(text,t){return text+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](t,text)}},Jt.prototype.popOn=function(t,text){var e=this.nonDisplayed_[this.row_];e+=text,this.nonDisplayed_[this.row_]=e},Jt.prototype.rollUp=function(t,text){var e=this.displayed_[this.row_];e+=text,this.displayed_[this.row_]=e},Jt.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_]=""},Jt.prototype.paintOn=function(t,text){var e=this.displayed_[this.row_];e+=text,this.displayed_[this.row_]=e};var te={CaptionStream:Vt,Cea608Stream:Jt,Cea708Stream:Qt},ee={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},re="shared",ie=function(t,e){var r=1;for(t>e&&(r=-1);Math.abs(e-t)>4294967296;)t+=8589934592*r;return t},ne=function t(e){var r,n;t.prototype.init.call(this),this.type_=e||re,this.push=function(data){this.type_!==re&&data.type!==this.type_||(void 0===n&&(n=data.dts),data.dts=ie(data.dts,n),data.pts=ie(data.pts,n),r=data.dts,this.trigger("data",data))},this.flush=function(){n=r,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){n=void 0,r=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};ne.prototype=new X;var oe,ae=ne,se=ie,ue=function(t,e,r){var i,n="";for(i=e;i<r;i++)n+="%"+("00"+t[i].toString(16)).slice(-2);return n},le=function(t,e,r){return decodeURIComponent(ue(t,e,r))},ce=function(data){return data[0]<<21|data[1]<<14|data[2]<<7|data[3]},he={TXXX:function(t){var i;if(3===t.data[0]){for(i=1;i<t.data.length;i++)if(0===t.data[i]){t.description=le(t.data,1,i),t.value=le(t.data,i+1,t.data.length).replace(/\0*$/,"");break}t.data=t.value}},WXXX:function(t){var i;if(3===t.data[0])for(i=1;i<t.data.length;i++)if(0===t.data[i]){t.description=le(t.data,1,i),t.url=le(t.data,i+1,t.data.length);break}},PRIV:function(t){var i,e;for(i=0;i<t.data.length;i++)if(0===t.data[i]){t.owner=(e=t.data,unescape(ue(e,0,i)));break}t.privateData=t.data.subarray(i+1),t.data=t.privateData}};oe=function(t){var i,e={descriptor:t&&t.descriptor},r=0,n=[],o=0;if(oe.prototype.init.call(this),this.dispatchType=ee.METADATA_STREAM_TYPE.toString(16),e.descriptor)for(i=0;i<e.descriptor.length;i++)this.dispatchType+=("00"+e.descriptor[i].toString(16)).slice(-2);this.push=function(t){var e,l,c,h,i;if("timed-metadata"===t.type)if(t.dataAlignmentIndicator&&(o=0,n.length=0),0===n.length&&(t.data.length<10||t.data[0]!=="I".charCodeAt(0)||t.data[1]!=="D".charCodeAt(0)||t.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(n.push(t),o+=t.data.byteLength,1===n.length&&(r=ce(t.data.subarray(6,10)),r+=10),!(o<r)){for(e={data:new Uint8Array(r),frames:[],pts:n[0].pts,dts:n[0].dts},i=0;i<r;)e.data.set(n[0].data.subarray(0,r-i),i),i+=n[0].data.byteLength,o-=n[0].data.byteLength,n.shift();l=10,64&e.data[5]&&(l+=4,l+=ce(e.data.subarray(10,14)),r-=ce(e.data.subarray(16,20)));do{if((c=ce(e.data.subarray(l+4,l+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((h={id:String.fromCharCode(e.data[l],e.data[l+1],e.data[l+2],e.data[l+3]),data:e.data.subarray(l+10,l+c+10)}).key=h.id,he[h.id]&&(he[h.id](h),"com.apple.streaming.transportStreamTimestamp"===h.owner)){var d=h.data,f=(1&d[3])<<30|d[4]<<22|d[5]<<14|d[6]<<6|d[7]>>>2;f*=4,f+=3&d[7],h.timeStamp=f,void 0===e.pts&&void 0===e.dts&&(e.pts=h.timeStamp,e.dts=h.timeStamp),this.trigger("timestamp",h)}e.frames.push(h),l+=10,l+=c}while(l<r);this.trigger("data",e)}}},oe.prototype=new X;var de,fe,pe,me=oe,ge=ae,ve=188;(de=function(){var t=new Uint8Array(ve),e=0;de.prototype.init.call(this),this.push=function(r){var n,o=0,l=ve;for(e?((n=new Uint8Array(r.byteLength+e)).set(t.subarray(0,e)),n.set(r,e),e=0):n=r;l<n.byteLength;)71!==n[o]||71!==n[l]?(o++,l++):(this.trigger("data",n.subarray(o,l)),o+=ve,l+=ve);o<n.byteLength&&(t.set(n.subarray(o),0),e=n.byteLength-o)},this.flush=function(){e===ve&&71===t[0]&&(this.trigger("data",t),e=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){e=0,this.trigger("reset")}}).prototype=new X,fe=function(){var t,e,r,n;fe.prototype.init.call(this),n=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,t=function(t,n){var o=0;n.payloadUnitStartIndicator&&(o+=t[o]+1),"pat"===n.type?e(t.subarray(o),n):r(t.subarray(o),n)},e=function(t,e){e.section_number=t[7],e.last_section_number=t[8],n.pmtPid=(31&t[10])<<8|t[11],e.pmtPid=n.pmtPid},r=function(t,e){var r,o;
vendor: 6,301 bytes, line 2
2if(1&t[5]){for(n.programMapTable={video:null,audio:null,"timed-metadata":{}},r=3+((15&t[1])<<8|t[2])-4,o=12+((15&t[10])<<8|t[11]);o<r;){var l=t[o],c=(31&t[o+1])<<8|t[o+2];l===ee.H264_STREAM_TYPE&&null===n.programMapTable.video?n.programMapTable.video=c:l===ee.ADTS_STREAM_TYPE&&null===n.programMapTable.audio?n.programMapTable.audio=c:l===ee.METADATA_STREAM_TYPE&&(n.programMapTable["timed-metadata"][c]=l),o+=5+((15&t[o+3])<<8|t[o+4])}e.programMapTable=n.programMapTable}},this.push=function(e){var r={},n=4;if(r.payloadUnitStartIndicator=!!(64&e[1]),r.pid=31&e[1],r.pid<<=8,r.pid|=e[2],(48&e[3])>>>4>1&&(n+=e[n]+1),0===r.pid)r.type="pat",t(e.subarray(n),r),this.trigger("data",r);else if(r.pid===this.pmtPid)for(r.type="pmt",t(e.subarray(n),r),this.trigger("data",r);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([e,n,r]):this.processPes_(e,n,r)},this.processPes_=function(t,e,r){r.pid===this.programMapTable.video?r.streamType=ee.H264_STREAM_TYPE:r.pid===this.programMapTable.audio?r.streamType=ee.ADTS_STREAM_TYPE:r.streamType=this.programMapTable["timed-metadata"][r.pid],r.type="pes",r.data=t.subarray(e),this.trigger("data",r)}},fe.prototype=new X,fe.STREAM_TYPES={h264:27,adts:15},pe=function(){var t,e=this,r=!1,video={data:[],size:0},audio={data:[],size:0},n={data:[],size:0},o=function(t,r,n){var o,l,c=new Uint8Array(t.size),h={type:r},i=0,d=0;if(t.data.length&&!(t.size<9)){for(h.trackId=t.data[0].pid,i=0;i<t.data.length;i++)l=t.data[i],c.set(l.data,d),d+=l.data.byteLength;var f,m,v,y;m=h,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"===r||h.packetLength<=t.size,(n||o)&&(t.size=0,t.data.length=0),o&&e.trigger("data",h)}};pe.prototype.init.call(this),this.push=function(data){({pat:function(){},pes:function(){var t,e;switch(data.streamType){case ee.H264_STREAM_TYPE:t=video,e="video";break;case ee.ADTS_STREAM_TYPE:t=audio,e="audio";break;case ee.METADATA_STREAM_TYPE:t=n,e="timed-metadata";break;default:return}data.payloadUnitStartIndicator&&o(t,e,!0),t.data.push(data),t.size+=data.data.byteLength},pmt:function(){var n={type:"metadata",tracks:[]};null!==(t=data.programMapTable).video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.video,codec:"avc",type:"video"}),null!==t.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.audio,codec:"adts",type:"audio"}),r=!0,e.trigger("data",n)}})[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(n,"timed-metadata")},this.flush=function(){if(!r&&t){var n={type:"metadata",tracks:[]};null!==t.video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.video,codec:"avc",type:"video"}),null!==t.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.audio,codec:"adts",type:"audio"}),e.trigger("data",n)}r=!1,this.flushStreams_(),this.trigger("done")}},pe.prototype=new X;var ye={PAT_PID:0,MP2T_PACKET_LENGTH:ve,TransportPacketStream:de,TransportParseStream:fe,ElementaryStream:pe,TimestampRolloverStream:ge,CaptionStream:te.CaptionStream,Cea608Stream:te.Cea608Stream,Cea708Stream:te.Cea708Stream,MetadataStream:me};for(var be in ee)ee.hasOwnProperty(be)&&(ye[be]=ee[be]);var _e,we=ye,Te=Mt,Se=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];_e=function(t){var e,r=0;_e.prototype.init.call(this),this.skipWarn_=function(t,e){this.trigger("log",{level:"warn",message:"adts skiping bytes "+t+" to "+e+" in frame "+r+" outside syncword"})},this.push=function(n){var o,l,c,h,d,i=0;if(t||(r=0),"audio"===n.type){var f;for(e&&e.length?(c=e,(e=new Uint8Array(c.byteLength+n.data.byteLength)).set(c),e.set(n.data,c.byteLength)):e=n.data;i+7<e.length;)if(255===e[i]&&240==(246&e[i+1])){if("number"==typeof f&&(this.skipWarn_(f,i),f=null),l=2*(1&~e[i+1]),o=(3&e[i+3])<<11|e[i+4]<<3|(224&e[i+5])>>5,d=(h=1024*(1+(3&e[i+6])))*Te/Se[(60&e[i+2])>>>2],e.byteLength-i<o)break;this.trigger("data",{pts:n.pts+r*d,dts:n.dts+r*d,sampleCount:h,audioobjecttype:1+(e[i+2]>>>6&3),channelcount:(1&e[i+2])<<2|(192&e[i+3])>>>6,samplerate:Se[(60&e[i+2])>>>2],samplingfrequencyindex:(60&e[i+2])>>>2,samplesize:16,data:e.subarray(i+7+l,i+o)}),r++,i+=o}else"number"!=typeof f&&(f=i),i++;"number"==typeof f&&(this.skipWarn_(f,i),f=null),e=e.subarray(i)}},this.flush=function(){r=0,this.trigger("done")},this.reset=function(){e=void 0,this.trigger("reset")},this.endTimeline=function(){e=void 0,this.trigger("endedtimeline")}},_e.prototype=new X;var Me,xe,ke,Ee=_e,Oe=function(t){var e=t.byteLength,r=0,n=0;this.length=function(){return 8*e},this.bitsAvailable=function(){return 8*e+n},this.loadWord=function(){var o=t.byteLength-e,l=new Uint8Array(4),c=Math.min(4,e);if(0===c)throw new Error("no bytes available");l.set(t.subarray(o,o+c)),r=new DataView(l.buffer).getUint32(0),n=8*c,e-=c},this.skipBits=function(t){var o;n>t?(r<<=t,n-=t):(t-=n,t-=8*(o=Math.floor(t/8)),e-=o,this.loadWord(),r<<=t,n-=t)},this.readBits=function(t){var o=Math.min(n,t),l=r>>>32-o;return(n-=o)>0?r<<=o:e>0&&this.loadWord(),(o=t-o)>0?l<<o|this.readBits(o):l},this.skipLeadingZeros=function(){var t;for(t=0;t<n;++t)if(0!=(r&2147483648>>>t))return r<<=t,n-=t,t;return this.loadWord(),t+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var t=this.skipLeadingZeros();return this.readBits(t+1)-1},this.readExpGolomb=function(){var t=this.readUnsignedExpGolomb();return 1&t?1+t>>>1:-1*(t>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};xe=function(){var i,t,e=0;xe.prototype.init.call(this),this.push=function(data){var r;
vendor: 6,855 bytes, line 2
2t?((r=new Uint8Array(t.byteLength+data.data.byteLength)).set(t),r.set(data.data,t.byteLength),t=r):t=data.data;for(var n=t.byteLength;e<n-3;e++)if(1===t[e+2]){i=e+5;break}for(;i<n;)switch(t[i]){case 0:if(0!==t[i-1]){i+=2;break}if(0!==t[i-2]){i++;break}e+3!==i-2&&this.trigger("data",t.subarray(e+3,i-2));do{i++}while(1!==t[i]&&i<n);e=i-2,i+=3;break;case 1:if(0!==t[i-1]||0!==t[i-2]){i+=3;break}this.trigger("data",t.subarray(e+3,i-2)),e=i-2,i+=3;break;default:i+=3}t=t.subarray(e),i-=e,e=0},this.reset=function(){t=null,e=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(e+3)),t=null,e=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},xe.prototype=new X,ke={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},Me=function(){var t,e,r,n,o,l,c,h=new xe;Me.prototype.init.call(this),t=this,this.push=function(t){"video"===t.type&&(e=t.trackId,r=t.pts,n=t.dts,h.push(t))},h.on("data",(function(data){var c={trackId:e,pts:r,dts:n,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"}t.trigger("data",c)})),h.on("done",(function(){t.trigger("done")})),h.on("partialdone",(function(){t.trigger("partialdone")})),h.on("reset",(function(){t.trigger("reset")})),h.on("endedtimeline",(function(){t.trigger("endedtimeline")})),this.flush=function(){h.flush()},this.partialFlush=function(){h.partialFlush()},this.reset=function(){h.reset()},this.endTimeline=function(){h.endTimeline()},c=function(t,e){var r,n=8,o=8;for(r=0;r<t;r++)0!==o&&(o=(n+e.readExpGolomb()+256)%256),n=0===o?n:o},o=function(data){for(var t,e,r=data.byteLength,n=[],i=1;i<r-2;)0===data[i]&&0===data[i+1]&&3===data[i+2]?(n.push(i+2),i+=2):i++;if(0===n.length)return data;t=r-n.length,e=new Uint8Array(t);var o=0;for(i=0;i<t;o++,i++)o===n[0]&&(o++,n.shift()),e[i]=data[o];return e},l=function(data){var t,e,r,n,o,l,h,d,f,m,v,i,y=0,_=0,w=0,T=0,S=[1,1];if(e=(t=new Oe(data)).readUnsignedByte(),n=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),ke[e]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(v=3!==o?8:12,i=0;i<v;i++)t.readBoolean()&&c(i<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(l=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===l)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),h=t.readUnsignedExpGolomb(),i=0;i<h;i++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),d=t.readUnsignedExpGolomb(),f=t.readUnsignedExpGolomb(),0===(m=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(y=t.readUnsignedExpGolomb(),_=t.readUnsignedExpGolomb(),w=t.readUnsignedExpGolomb(),T=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.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=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}S&&(S[0],S[1])}return{profileIdc:e,levelIdc:r,profileCompatibility:n,width:16*(d+1)-2*y-2*_,height:(2-m)*(f+1)*16-2*w-2*T,sarRatio:S}}},Me.prototype=new X;var Ce,Ae={H264Stream:Me,NalByteStream:xe},Ie=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],Pe=function(header,t){var e=header[t+6]<<21|header[t+7]<<14|header[t+8]<<7|header[t+9];return e=e>=0?e:0,(16&header[t+5])>>4?e+20:e+10},Re=function t(data,e){return data.length-e<10||data[e]!=="I".charCodeAt(0)||data[e+1]!=="D".charCodeAt(0)||data[e+2]!=="3".charCodeAt(0)?e:t(data,e+=Pe(data,e))},De=function(data){return data[0]<<21|data[1]<<14|data[2]<<7|data[3]},Le={isLikelyAacData:function(data){var t=Re(data,0);return data.length>=t+2&&255==(255&data[t])&&240==(240&data[t+1])&&16==(22&data[t+1])},parseId3TagSize:Pe,parseAdtsSize:function(header,t){var e=(224&header[t+5])>>5,r=header[t+4]<<3;return 6144&header[t+3]|r|e},parseType:function(header,t){return header[t]==="I".charCodeAt(0)&&header[t+1]==="D".charCodeAt(0)&&header[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&header[t]&&240==(240&header[t+1])?"audio":null},parseSampleRate:function(t){for(var i=0;i+5<t.length;){if(255===t[i]&&240==(246&t[i+1]))return Ie[(60&t[i+2])>>>2];i++}return null},parseAacTimestamp:function(t){var e,r,n;e=10,64&t[5]&&(e+=4,e+=De(t.subarray(10,14)));do{if((r=De(t.subarray(e+4,e+8)))<1)return null;if("PRIV"===String.fromCharCode(t[e],t[e+1],t[e+2],t[e+3])){n=t.subarray(e+10,e+r+10);for(var i=0;i<n.byteLength;i++)if(0===n[i]){var o=unescape(function(t,e,r){var i,n="";for(i=e;i<r;i++)n+="%"+("00"+t[i].toString(16)).slice(-2);return n}(n,0,i));if("com.apple.streaming.transportStreamTimestamp"===o){var l=n.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}}e+=10,e+=r}while(e<t.byteLength);return null}};(Ce=function(){var t=new Uint8Array,e=0;Ce.prototype.init.call(this),this.setTimestamp=function(t){e=t},this.push=function(r){var n,o,l,c,h=0,d=0;for(t.length?(c=t.length,(t=new Uint8Array(r.byteLength+c)).set(t.subarray(0,c)),t.set(r,c)):t=r;t.length-d>=3;)if(t[d]!=="I".charCodeAt(0)||t[d+1]!=="D".charCodeAt(0)||t[d+2]!=="3".charCodeAt(0))if(255!=(255&t[d])||240!=(240&t[d+1]))d++;else{if(t.length-d<7)break;if(d+(h=Le.parseAdtsSize(t,d))>t.length)break;l={type:"audio",data:t.subarray(d,d+h),pts:e,dts:e},this.trigger("data",l),d+=h}else{if(t.length-d<10)break;if(d+(h=Le.parseId3TagSize(t,d))>t.length)break;o={type:"timed-metadata",data:t.subarray(d,d+h)},this.trigger("data",o),d+=h}n=t.length-d,t=n>0?t.subarray(d):new Uint8Array},this.reset=function(){t=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){t=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new X;var Ne,je,Be,Fe,Ue=Ce,qe=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],ze=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Ve=Ae.H264Stream,$e=Le.isLikelyAacData,He=Mt,We=function(t,e){e.stream=t,this.trigger("log",e)},Ge=function(t,e){for(var r=Object.keys(e),i=0;i<r.length;i++){var n=r[i];"headOfPipeline"!==n&&e[n].on&&e[n].on("log",We.bind(t,n))}},Qe=function(a,b){var i;if(a.length!==b.length)return!1;for(i=0;i<a.length;
vendor: 13,564 bytes, line 2
2i++)if(a[i]!==b[i])return!1;return!0},Ke=function(t,e,r,n,o,l){return{start:{dts:t,pts:t+(r-e)},end:{dts:t+(n-e),pts:t+(o-r)},prependedContentDuration:l,baseMediaDecodeTime:t}};je=function(track,t){var e,r=[],n=0,o=0,l=1/0;e=(t=t||{}).firstSequenceNumber||0,je.prototype.init.call(this),this.push=function(data){jt(track,data),track&&qe.forEach((function(t){track[t]=data[t]})),r.push(data)},this.setEarliestDts=function(t){n=t},this.setVideoBaseMediaDecodeTime=function(t){l=t},this.setAudioAppendStart=function(t){o=t},this.flush=function(){var c,h,d,f,m,v,y;0!==r.length?(c=It(r,track,n),track.baseMediaDecodeTime=Nt(track,t.keepOriginalTimestamps),y=At(track,c,o,l),track.samples=Pt(c),d=lt(Rt(c)),r=[],h=ct(e,[track]),f=new Uint8Array(h.byteLength+d.byteLength),e++,f.set(h),f.set(d,h.byteLength),Lt(track),m=Math.ceil(1024*He/track.samplerate),c.length&&(v=c.length*m,this.trigger("segmentTimingInfo",Ke(Et(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(){Lt(track),r=[],this.trigger("reset")}},je.prototype=new X,Ne=function(track,t){var e,r,n,o=[],l=[];e=(t=t||{}).firstSequenceNumber||0,Ne.prototype.init.call(this),delete track.minPTS,this.gopCache_=[],this.push=function(t){jt(track,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,track.sps=[t.data],ze.forEach((function(t){track[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||n||(n=t.data,track.pps=[t.data]),o.push(t)},this.flush=function(){for(var r,n,c,h,d,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(r=pt(o),(c=mt(r))[0][0].keyFrame||((n=this.getGopForFusion_(o[0],track))?(y=n.duration,c.unshift(n),c.byteLength+=n.byteLength,c.nalCount+=n.nalCount,c.pts=n.pts,c.dts=n.dts,c.duration+=n.duration):c=gt(c)),l.length){var _;if(!(_=t.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");Lt(track),c=_}jt(track,c),track.samples=vt(c),d=lt(yt(c)),track.baseMediaDecodeTime=Nt(track,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",c.map((function(t){return{pts:t.pts,dts:t.dts,byteLength:t.byteLength}}))),m=c[0],v=c[c.length-1],this.trigger("segmentTimingInfo",Ke(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),h=ct(e,[track]),f=new Uint8Array(h.byteLength+d.byteLength),e++,f.set(h),f.set(d,h.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(){Lt(track),r=void 0,n=void 0},this.getGopForFusion_=function(t){var e,r,n,o,i,l=1/0;for(i=0;i<this.gopCache_.length;i++)n=(o=this.gopCache_[i]).gop,track.pps&&Qe(track.pps[0],o.pps[0])&&track.sps&&Qe(track.sps[0],o.sps[0])&&(n.dts<track.timelineStartInfo.dts||(e=t.dts-n.dts-n.duration)>=-1e4&&e<=45e3&&(!r||l>e)&&(r=o,l=e));return r?r.gop:null},this.alignGopsAtStart_=function(t){var e,r,n,o,c,h,d,f;for(c=t.byteLength,h=t.nalCount,d=t.duration,e=r=0;e<l.length&&r<t.length&&(n=l[e],o=t[r],n.pts!==o.pts);)o.pts>n.pts?e++:(r++,c-=o.byteLength,h-=o.nalCount,d-=o.duration);return 0===r?t:r===t.length?null:((f=t.slice(r)).byteLength=c,f.duration=d,f.nalCount=h,f.pts=f[0].pts,f.dts=f[0].dts,f)},this.alignGopsAtEnd_=function(t){var e,r,n,o,c,h,d;for(e=l.length-1,r=t.length-1,c=null,h=!1;e>=0&&r>=0;){if(n=l[e],o=t[r],n.pts===o.pts){h=!0;break}n.pts>o.pts?e--:(e===l.length-1&&(c=r),r--)}if(!h&&null===c)return null;if(0===(d=h?r:c))return t;var f=t.slice(d),m=f.reduce((function(t,e){return t.byteLength+=e.byteLength,t.duration+=e.duration,t.nalCount+=e.nalCount,t}),{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(t){l=t}},Ne.prototype=new X,Fe=function(t,e){this.numberOfTracks=0,this.metadataStream=e,void 0!==(t=t||{}).remux?this.remuxTracks=!!t.remux:this.remuxTracks=!0,"boolean"==typeof t.keepOriginalTimestamps?this.keepOriginalTimestamps=t.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Fe.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))))}},Fe.prototype=new X,Fe.prototype.flush=function(t){var caption,e,r,i,n=0,o={captions:[],captionStreams:{},metadata:[],info:{}},l=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==t&&"AudioSegmentStream"!==t)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,ze.forEach((function(t){o.info[t]=this.videoTrack[t]}),this)):this.audioTrack&&(l=this.audioTrack.timelineStartInfo.pts,qe.forEach((function(t){o.info[t]=this.audioTrack[t]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?o.type=this.pendingTracks[0].type:o.type="combined",this.emittedTracks+=this.pendingTracks.length,r=ht(this.pendingTracks),o.initSegment=new Uint8Array(r.byteLength),o.initSegment.set(r),o.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)o.data.set(this.pendingBoxes[i],n),n+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(caption=this.pendingCaptions[i]).startTime=Ct(caption.startPts,l,this.keepOriginalTimestamps),caption.endTime=Ct(caption.endPts,l,this.keepOriginalTimestamps),o.captionStreams[caption.stream]=!0,o.captions.push(caption);for(i=0;i<this.pendingMetadata.length;i++)(e=this.pendingMetadata[i]).cueTime=Ct(e.pts,l,this.keepOriginalTimestamps),o.metadata.push(e);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++)e=o.metadata[i],this.trigger("id3Frame",e)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Fe.prototype.setRemux=function(t){this.remuxTracks=t},Be=function(t){var e,r,n=this,o=!0;Be.prototype.init.call(this),t=t||{},this.baseMediaDecodeTime=t.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="aac",o.metadataStream=new we.MetadataStream,o.aacStream=new Ue,o.audioTimestampRolloverStream=new we.TimestampRolloverStream("audio"),o.timedMetadataTimestampRolloverStream=new we.TimestampRolloverStream("timed-metadata"),o.adtsStream=new Ee,o.coalesceStream=new Fe(t,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(t){o.aacStream.setTimestamp(t.timeStamp)})),o.aacStream.on("data",(function(data){"timed-metadata"!==data.type&&"audio"!==data.type||o.audioSegmentStream||(r=r||{timelineStartInfo:{baseMediaDecodeTime:n.baseMediaDecodeTime},codec:"adts",type:"audio"},o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new je(r,t),o.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream),n.trigger("trackinfo",{hasAudio:!!r,hasVideo:!!e}))})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Ge(this,o)},this.setupTsPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="ts",o.metadataStream=new we.MetadataStream,o.packetStream=new we.TransportPacketStream,o.parseStream=new we.TransportParseStream,o.elementaryStream=new we.ElementaryStream,o.timestampRolloverStream=new we.TimestampRolloverStream,o.adtsStream=new Ee,o.h264Stream=new Ve,o.captionStream=new we.CaptionStream(t),o.coalesceStream=new Fe(t,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--;)e||"video"!==data.tracks[i].type?r||"audio"!==data.tracks[i].type||((r=data.tracks[i]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime):(e=data.tracks[i]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime;e&&!o.videoSegmentStream&&(o.coalesceStream.numberOfTracks++,o.videoSegmentStream=new Ne(e,t),o.videoSegmentStream.on("log",n.getLogTrigger_("videoSegmentStream")),o.videoSegmentStream.on("timelineStartInfo",(function(e){r&&!t.keepOriginalTimestamps&&(r.timelineStartInfo=e,o.audioSegmentStream.setEarliestDts(e.dts-n.baseMediaDecodeTime))})),o.videoSegmentStream.on("processedGopsInfo",n.trigger.bind(n,"gopInfo")),o.videoSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"videoSegmentTimingInfo")),o.videoSegmentStream.on("baseMediaDecodeTime",(function(t){r&&o.audioSegmentStream.setVideoBaseMediaDecodeTime(t)})),o.videoSegmentStream.on("timingInfo",n.trigger.bind(n,"videoTimingInfo")),o.h264Stream.pipe(o.videoSegmentStream).pipe(o.coalesceStream)),r&&!o.audioSegmentStream&&(o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new je(r,t),o.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),o.audioSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"audioSegmentTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream)),n.trigger("trackinfo",{hasAudio:!!r,hasVideo:!!e})}})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("id3Frame",(function(t){t.dispatchType=o.metadataStream.dispatchType,n.trigger("id3Frame",t)})),o.coalesceStream.on("caption",this.trigger.bind(this,"caption")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Ge(this,o)},this.setBaseMediaDecodeTime=function(n){var o=this.transmuxPipeline_;t.keepOriginalTimestamps||(this.baseMediaDecodeTime=n),r&&(r.timelineStartInfo.dts=void 0,r.timelineStartInfo.pts=void 0,Lt(r),o.audioTimestampRolloverStream&&o.audioTimestampRolloverStream.discontinuity()),e&&(o.videoSegmentStream&&(o.videoSegmentStream.gopCache_=[]),e.timelineStartInfo.dts=void 0,e.timelineStartInfo.pts=void 0,Lt(e),o.captionStream.reset()),o.timestampRolloverStream&&o.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(t){r&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(t)},this.setRemux=function(e){var r=this.transmuxPipeline_;t.remux=e,r&&r.coalesceStream&&r.coalesceStream.setRemux(e)},this.alignGopsWith=function(t){e&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(t)},this.getLogTrigger_=function(t){var e=this;return function(r){r.stream=t,e.trigger("log",r)}},this.push=function(data){if(o){var t=$e(data);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===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()}},Be.prototype=new X;var Xe,Ye,Ze,Je={Transmuxer:Be,VideoSegmentStream:Ne,AudioSegmentStream:je,AUDIO_PROPERTIES:qe,VIDEO_PROPERTIES:ze,generateSegmentTimingInfo:Ke},er=function(t){return t>>>0},rr=function(t){var e="";return e+=String.fromCharCode(t[0]),e+=String.fromCharCode(t[1]),e+=String.fromCharCode(t[2]),e+=String.fromCharCode(t[3])},ir=er,nr=function t(data,path){var i,e,r,n,o,l=[];
vendor: 4,235 bytes, line 2
2if(!path.length)return null;for(i=0;i<data.byteLength;)e=ir(data[i]<<24|data[i+1]<<16|data[i+2]<<8|data[i+3]),r=rr(data.subarray(i+4,i+8)),n=e>1?i+e:data.byteLength,r===path[0]&&(1===path.length?l.push(data.subarray(i+8,n)):(o=t(data.subarray(i+8,n),path.slice(1))).length&&(l=l.concat(o))),i=n;return l},or=er,ar=Z.getUint64,sr=function(data){var t={version:data[0],flags:new Uint8Array(data.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=ar(data.subarray(4)):t.baseMediaDecodeTime=or(data[4]<<24|data[5]<<16|data[6]<<8|data[7]),t},ur=function(t){return{isLeading:(12&t[0])>>>2,dependsOn:3&t[0],isDependedOn:(192&t[1])>>>6,hasRedundancy:(48&t[1])>>>4,paddingValue:(14&t[1])>>>1,isNonSyncSample:1&t[1],degradationPriority:t[2]<<8|t[3]}},lr=function(data){var t,e={version:data[0],flags:new Uint8Array(data.subarray(1,4)),samples:[]},view=new DataView(data.buffer,data.byteOffset,data.byteLength),r=1&e.flags[2],n=4&e.flags[2],o=1&e.flags[1],l=2&e.flags[1],c=4&e.flags[1],h=8&e.flags[1],d=view.getUint32(4),f=8;for(r&&(e.dataOffset=view.getInt32(f),f+=4),n&&d&&(t={flags:ur(data.subarray(f,f+4))},f+=4,o&&(t.duration=view.getUint32(f),f+=4),l&&(t.size=view.getUint32(f),f+=4),h&&(1===e.version?t.compositionTimeOffset=view.getInt32(f):t.compositionTimeOffset=view.getUint32(f),f+=4),e.samples.push(t),d--);d--;)t={},o&&(t.duration=view.getUint32(f),f+=4),l&&(t.size=view.getUint32(f),f+=4),c&&(t.flags=ur(data.subarray(f,f+4)),f+=4),h&&(1===e.version?t.compositionTimeOffset=view.getInt32(f):t.compositionTimeOffset=view.getUint32(f),f+=4),e.samples.push(t);return e},cr=function(data){var i,view=new DataView(data.buffer,data.byteOffset,data.byteLength),t={version:data[0],flags:new Uint8Array(data.subarray(1,4)),trackId:view.getUint32(4)},e=1&t.flags[2],r=2&t.flags[2],n=8&t.flags[2],o=16&t.flags[2],l=32&t.flags[2],c=65536&t.flags[0],h=131072&t.flags[0];return i=8,e&&(i+=4,t.baseDataOffset=view.getUint32(12),i+=4),r&&(t.sampleDescriptionIndex=view.getUint32(i),i+=4),n&&(t.defaultSampleDuration=view.getUint32(i),i+=4),o&&(t.defaultSampleSize=view.getUint32(i),i+=4),l&&(t.defaultSampleFlags=view.getUint32(i)),c&&(t.durationIsEmpty=!0),!e&&h&&(t.baseDataOffsetIsMoof=!0),t},dr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},fr="undefined"!=typeof window?window:void 0!==dr?dr:"undefined"!=typeof self?self:{},pr=qt,mr=te.CaptionStream,gr=function(t,e){for(var r=t,i=0;i<e.length;i++){var n=e[i];if(r<n.size)return n;r-=n.size}return null},vr=function(t,e){var r=nr(t,["moof","traf"]),n=nr(t,["mdat"]),o={},l=[];return n.forEach((function(t,e){var n=r[e];l.push({mdat:t,traf:n})})),l.forEach((function(t){var r,n,l=t.mdat,c=t.traf,h=nr(c,["tfhd"]),d=cr(h[0]),f=d.trackId,m=nr(c,["tfdt"]),v=m.length>0?sr(m[0]).baseMediaDecodeTime:0,y=nr(c,["trun"]);e===f&&y.length>0&&(r=function(t,e,r){var n=e,o=r.defaultSampleDuration||0,l=r.defaultSampleSize||0,c=r.trackId,h=[];return t.forEach((function(t){var e=lr(t).samples;e.forEach((function(t){void 0===t.duration&&(t.duration=o),void 0===t.size&&(t.size=l),t.trackId=c,t.dts=n,void 0===t.compositionTimeOffset&&(t.compositionTimeOffset=0),"bigint"==typeof n?(t.pts=n+fr.BigInt(t.compositionTimeOffset),n+=fr.BigInt(t.duration)):(t.pts=n+t.compositionTimeOffset,n+=t.duration)})),h=h.concat(e)})),h}(y,v,d),n=function(t,e,r){var n,i,o,l,c=new DataView(t.buffer,t.byteOffset,t.byteLength),h={logs:[],seiNals:[]};for(i=0;i+4<t.length;i+=o)if(o=c.getUint32(i),i+=4,!(o<=0))switch(31&t[i]){case 6:var data=t.subarray(i+1,i+1+o),d=gr(i,e);if(n={nalUnitType:"sei_rbsp",size:o,data:data,escapedRBSP:pr(data),trackId:r},d)n.pts=d.pts,n.dts=d.dts,l=d;else{if(!l){h.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+r+". See mux.js#223."});break}n.pts=l.pts,n.dts=l.dts}h.seiNals.push(n)}return h}(l,r,f),o[f]||(o[f]={seiNals:[],logs:[]}),o[f].seiNals=o[f].seiNals.concat(n.seiNals),o[f].logs=o[f].logs.concat(n.logs))})),o},yr=function(){var t,e,r,n,o,l,c=!1;this.isInitialized=function(){return c},this.init=function(e){t=new mr,c=!0,l=!!e&&e.isPartial,t.on("data",(function(t){t.startTime=t.startPts/n,t.endTime=t.endPts/n,o.captions.push(t),o.captionStream
vendor: 9,725 bytes, line 2
2s[t.stream]=!0})),t.on("log",(function(t){o.logs.push(t)}))},this.isNewInit=function(t,e){return!(t&&0===t.length||e&&"object"==typeof e&&0===Object.keys(e).length)&&(r!==t[0]||n!==e[r])},this.parse=function(t,l,c){var h;if(!this.isInitialized())return null;if(!l||!c)return null;if(this.isNewInit(l,c))r=l[0],n=c[r];else if(null===r||!n)return e.push(t),null;for(;e.length>0;){var d=e.shift();this.parse(d,l,c)}return h=function(t,e,r){if(null===e)return null;var n=vr(t,e)[e]||{};return{seiNals:n.seiNals,logs:n.logs,timescale:r}}(t,r,n),h&&h.logs&&(o.logs=o.logs.concat(h.logs)),null!==h&&h.seiNals?(this.pushNals(h.seiNals),this.flushStream(),o):o.logs.length?{logs:o.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(e){if(!this.isInitialized()||!e||0===e.length)return null;e.forEach((function(e){t.push(e)}))},this.flushStream=function(){if(!this.isInitialized())return null;l?t.partialFlush():t.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={},o.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;t.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){e=[],r=null,n=null,o?this.clearParsedCaptions():o={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},_r=er,wr=function(t){return("00"+t.toString(16)).slice(-2)},Tr=Z.getUint64;Xe=function(t,e){var r=nr(e,["moof","traf"]).reduce((function(e,r){var n,o,l=nr(r,["tfhd"])[0],c=_r(l[4]<<24|l[5]<<16|l[6]<<8|l[7]),h=t[c]||9e4,d=nr(r,["tfdt"])[0],f=new DataView(d.buffer,d.byteOffset,d.byteLength);return"bigint"==typeof(n=1===d[0]?Tr(d.subarray(4,12)):f.getUint32(4))?o=n/fr.BigInt(h):"number"!=typeof n||isNaN(n)||(o=n/h),o<Number.MAX_SAFE_INTEGER&&(o=Number(o)),o<e&&(e=o),e}),1/0);return"bigint"==typeof r||isFinite(r)?r:0},Ze=function(t){var e=0===t[0]?12:20;return _r(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])},Ye=function(t){var e=nr(t,["moov","trak"]),r=[];return e.forEach((function(t){var view,e,track={},n=nr(t,["tkhd"])[0];n&&(e=(view=new DataView(n.buffer,n.byteOffset,n.byteLength)).getUint8(0),track.id=0===e?view.getUint32(12):view.getUint32(20));var o=nr(t,["mdia","hdlr"])[0];if(o){var l=rr(o.subarray(8,12));track.type="vide"===l?"video":"soun"===l?"audio":l}var c=nr(t,["mdia","minf","stbl","stsd"])[0];if(c){var h=c.subarray(8);track.codec=rr(h.subarray(4,8));var d,f=nr(h,[track.codec])[0];f&&(/^[asm]vc[1-9]$/i.test(track.codec)?(d=f.subarray(78),"avcC"===rr(d.subarray(4,8))&&d.length>11?(track.codec+=".",track.codec+=wr(d[9]),track.codec+=wr(d[10]),track.codec+=wr(d[11])):track.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(track.codec)?(d=f.subarray(28),"esds"===rr(d.subarray(4,8))&&d.length>20&&0!==d[19]?(track.codec+="."+wr(d[19]),track.codec+="."+wr(d[20]>>>2&63).replace(/^0/,"")):track.codec="mp4a.40.2"):track.codec=track.codec.toLowerCase())}var m=nr(t,["mdia","mdhd"])[0];m&&(track.timescale=Ze(m)),r.push(track)})),r};var Sr=Xe,Mr=Ye,xr=function(t){var e=31&t[1];return e<<=8,e|=t[2]},kr=function(t){return!!(64&t[1])},Er=function(t){var e=0;return(48&t[3])>>>4>1&&(e+=t[4]+1),e},Or=function(t){switch(t){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}},Cr={parseType:function(t,e){var r=xr(t);return 0===r?"pat":r===e?"pmt":e?"pes":null},parsePat:function(t){var e=kr(t),r=4+Er(t);return e&&(r+=t[r]+1),(31&t[r+10])<<8|t[r+11]},parsePmt:function(t){var e={},r=kr(t),n=4+Er(t);if(r&&(n+=t[n]+1),1&t[n+5]){var o;o=3+((15&t[n+1])<<8|t[n+2])-4;for(var l=12+((15&t[n+10])<<8|t[n+11]);l<o;){var i=n+l;e[(31&t[i+1])<<8|t[i+2]]=t[i],l+=5+((15&t[i+3])<<8|t[i+4])}return e}},parsePayloadUnitStartIndicator:kr,parsePesType:function(t,e){switch(e[xr(t)]){case ee.H264_STREAM_TYPE:return"video";case ee.ADTS_STREAM_TYPE:return"audio";case ee.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(t){if(!kr(t))return null;var e=4+Er(t);if(e>=t.byteLength)return null;var r,n=null;return 192&(r=t[e+7])&&((n={}).pts=(14&t[e+9])<<27|(255&t[e+10])<<20|(254&t[e+11])<<12|(255&t[e+12])<<5|(254&t[e+13])>>>3,n.pts*=4,n.pts+=(6&t[e+13])>>>1,n.dts=n.pts,64&r&&(n.dts=(14&t[e+14])<<27|(255&t[e+15])<<20|(254&t[e+16])<<12|(255&t[e+17])<<5|(254&t[e+18])>>>3,n.dts*=4,n.dts+=(6&t[e+18])>>>1)),n},videoPacketContainsKeyFrame:function(t){for(var e=4+Er(t),r=t.subarray(e),n=0,o=0,l=!1;o<r.byteLength-3;o++)if(1===r[o+2]){n=o+5;break}for(;n<r.byteLength;)switch(r[n]){case 0:if(0!==r[n-1]){n+=2;break}if(0!==r[n-2]){n++;break}o+3!==n-2&&"slice_layer_without_partitioning_rbsp_idr"===Or(31&r[o+3])&&(l=!0);do{n++}while(1!==r[n]&&n<r.length);o=n-2,n+=3;break;case 1:if(0!==r[n-1]||0!==r[n-2]){n+=3;break}"slice_layer_without_partitioning_rbsp_idr"===Or(31&r[o+3])&&(l=!0),o=n-2,n+=3;break;default:n+=3}return r=r.subarray(o),n-=o,o=0,r&&r.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===Or(31&r[o+3])&&(l=!0),l}},Ar=se,Ir={};Ir.ts=Cr,Ir.aac=Le;var Pr=Mt,Rr=188,Dr=71,Lr=function(t,e,r){for(var n,o,l,c,h=0,d=Rr,f=!1;d<=t.byteLength;)if(t[h]!==Dr||t[d]!==Dr&&d!==t.byteLength)h++,d++;else{if(n=t.subarray(h,d),"pes"===Ir.ts.parseType(n,e.pid))o=Ir.ts.parsePesType(n,e.table),l=Ir.ts.parsePayloadUnitStartIndicator(n),"audio"===o&&l&&(c=Ir.ts.parsePesTime(n))&&(c.type="audio",r.audio.push(c),f=!0);if(f)break;h+=Rr,d+=Rr}for(h=(d=t.byteLength)-Rr,f=!1;h>=0;)if(t[h]!==Dr||t[d]!==Dr&&d!==t.byteLength)h--,d--;else{if(n=t.subarray(h,d),"pes"===Ir.ts.parseType(n,e.pid))o=Ir.ts.parsePesType(n,e.table),l=Ir.ts.parsePayloadUnitStartIndicator(n),"audio"===o&&l&&(c=Ir.ts.parsePesTime(n))&&(c.type="audio",r.audio.push(c),f=!0);if(f)break;h-=Rr,d-=Rr}},Nr=function(t,e,r){for(var n,o,l,c,h,i,d,f=0,m=Rr,v=!1,y={data:[],size:0};m<t.byteLength;)if(t[f]!==Dr||t[m]!==Dr)f++,m++;else{if(n=t.subarray(f,m),"pes"===Ir.ts.parseType(n,e.pid))if(o=Ir.ts.parsePesType(n,e.table),l=Ir.ts.parsePayloadUnitStartIndicator(n),"video"===o&&(l&&!v&&(c=Ir.ts.parsePesTime(n))&&(c.type="video",r.video.push(c),v=!0),!r.firstKeyFrame)){if(l&&0!==y.size){for(h=new Uint8Array(y.size),i=0;y.data.length;)d=y.data.shift(),h.set(d,i),i+=d.byteLength;if(Ir.ts.videoPacketContainsKeyFrame(h)){var _=Ir.ts.parsePesTime(h);_?(r.firstKeyFrame=_,r.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(n),y.size+=n.byteLength}if(v&&r.firstKeyFrame)break;f+=Rr,m+=Rr}for(f=(m=t.byteLength)-Rr,v=!1;f>=0;)if(t[f]!==Dr||t[m]!==Dr)f--,m--;else{if(n=t.subarray(f,m),"pes"===Ir.ts.parseType(n,e.pid))o=Ir.ts.parsePesType(n,e.table),l=Ir.ts.parsePayloadUnitStartIndicator(n),"video"===o&&l&&(c=Ir.ts.parsePesTime(n))&&(c.type="video",r.video.push(c),v=!0);if(v)break;f-=Rr,m-=Rr}},jr=function(t){var e={pid:null,table:null},r={};for(var n in function(t,e){for(var r,n=0,o=Rr;o<t.byteLength;)if(t[n]!==Dr||t[o]!==Dr)n++,o++;else{switch(r=t.subarray(n,o),Ir.ts.parseType(r,e.pid)){case"pat":e.pid=Ir.ts.parsePat(r);break;case"pmt":var table=Ir.ts.parsePmt(r);e.table=e.table||{},Object.keys(table).forEach((function(t){e.table[t]=table[t]}))}n+=Rr,o+=Rr}}(t,e),e.table){if(e.table.hasOwnProperty(n))switch(e.table[n]){case ee.H264_STREAM_TYPE:r.video=[],Nr(t,e,r),0===r.video.length&&delete r.video;break;case ee.ADTS_STREAM_TYPE:r.audio=[],Lr(t,e,r),0===r.audio.length&&delete r.audio}}return r},Br=function(t,e){var r;return r=Ir.aac.isLikelyAacData(t)?function(t){for(var e,r=!1,n=0,o=null,l=null,c=0,h=0;t.length-h>=3;){switch(Ir.aac.parseType(t,h)){case"timed-metadata":if(t.length-h<10){r=!0;break}if((c=Ir.aac.parseId3TagSize(t,h))>t.length){r=!0;break}null===l&&(e=t.subarray(h,h+c),l=Ir.aac.parseAacTimestamp(e)),h+=c;break;case"audio":if(t.length-h<7){r=!0;break}if((c=Ir.aac.parseAdtsSize(t,h))>t.length){r=!0;break}null===o&&(e=t.subarray(h,h+c),o=Ir.aac.parseSampleRate(e)),n++,h+=c;break;default:h++}if(r)return null}if(null===o||null===l)return null;var d=Pr/o;return{audio:[{type:"audio",dts:l,pts:l},{type:"audio",dts:l+1024*n*d,pts:l+1024*n*d}]}}(t):jr(t),r&&(r.audio||r.video)?(function(t,e){if(t.audio&&t.audio.length){var r=e;(void 0===r||isNaN(r))&&(r=t.audio[0].dts),t.audio.forEach((function(t){t.dts=Ar(t.dts,r),t.pts=Ar(t.pts,r),t.dtsTime=t.dts/Pr,t.ptsTime=t.pts/Pr}))}if(t.video&&t.video.length){var n=e;if((void 0===n||isNaN(n))&&(n=t.video[0].dts),t.video.forEach((function(t){t.dts=Ar(t.dts,n),t.pts=Ar(t.pts,n),t.dtsTime=t.dts/Pr,t.ptsTime=t.pts/Pr})),t.firstKeyFrame){var o=t.firstKeyFrame;o.dts=Ar(o.dts,n),o.pts=Ar(o.pts,n),o.dtsTime=o.dts/Pr,o.ptsTime=o.pts/Pr}}}(r,e),r):null},Fr=function(){function t(t,e){this.options=e||{},this.self=t,this.init()}var e=t.prototype;return e.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Je.Transmuxer(this.options),function(t,e){e.on("data",(function(e){var r=e.initSegment;e.initSegment={data:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength};var n=e.data;e.data=n.buffer,t.postMessage({action:"data",segment:e,byteOffset:n.byteOffset,byteLength:n.byteLength},[e.data])})),e.on("done",(function(data){t.postMessage({action:"done"})})),e.on("gopInfo",(function(e){t.postMessage({action:"gopInfo",gopInfo:e})})),e.on("videoSegmentTimingInfo",(function(e){var r={start:{decode:kt(e.start.dts),presentation:kt(e.start.pts)},end:{decode:kt(e.end.dts),presentation:kt(e.end.pts)},baseMediaDecodeTime:kt(e.baseMediaDecodeTime)};
vendor: 59,912 bytes, line 2
2e.prependedContentDuration&&(r.prependedContentDuration=kt(e.prependedContentDuration)),t.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:r})})),e.on("audioSegmentTimingInfo",(function(e){var r={start:{decode:kt(e.start.dts),presentation:kt(e.start.pts)},end:{decode:kt(e.end.dts),presentation:kt(e.end.pts)},baseMediaDecodeTime:kt(e.baseMediaDecodeTime)};e.prependedContentDuration&&(r.prependedContentDuration=kt(e.prependedContentDuration)),t.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:r})})),e.on("id3Frame",(function(e){t.postMessage({action:"id3Frame",id3Frame:e})})),e.on("caption",(function(caption){t.postMessage({action:"caption",caption:caption})})),e.on("trackinfo",(function(e){t.postMessage({action:"trackinfo",trackInfo:e})})),e.on("audioTimingInfo",(function(e){t.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:kt(e.start),end:kt(e.end)}})})),e.on("videoTimingInfo",(function(e){t.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:kt(e.start),end:kt(e.end)}})})),e.on("log",(function(e){t.postMessage({action:"log",log:e})}))}(this.self,this.transmuxer)},e.pushMp4Captions=function(data){this.captionParser||(this.captionParser=new yr,this.captionParser.init());var t=new Uint8Array(data.data,data.byteOffset,data.byteLength),e=this.captionParser.parse(t,data.trackIds,data.timescales);this.self.postMessage({action:"mp4Captions",captions:e&&e.captions||[],logs:e&&e.logs||[],data:t.buffer},[t.buffer])},e.probeMp4StartTime=function(t){var e=t.timescales,data=t.data,r=Sr(e,data);this.self.postMessage({action:"probeMp4StartTime",startTime:r,data:data},[data.buffer])},e.probeMp4Tracks=function(t){var data=t.data,e=Mr(data);this.self.postMessage({action:"probeMp4Tracks",tracks:e,data:data},[data.buffer])},e.probeTs=function(t){var data=t.data,e=t.baseStartTime,r="number"!=typeof e||isNaN(e)?void 0:e*Mt,n=Br(data,r),o=null;n&&((o={hasVideo:n.video&&2===n.video.length||!1,hasAudio:n.audio&&2===n.audio.length||!1}).hasVideo&&(o.videoStart=n.video[0].ptsTime),o.hasAudio&&(o.audioStart=n.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:o,data:data},[data.buffer])},e.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},e.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},e.push=function(data){var t=new Uint8Array(data.data,data.byteOffset,data.byteLength);this.transmuxer.push(t)},e.reset=function(){this.transmuxer.reset()},e.setTimestampOffset=function(data){var t=data.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(xt(t)))},e.setAudioAppendStart=function(data){this.transmuxer.setAudioAppendStart(Math.ceil(xt(data.appendStart)))},e.setRemux=function(data){this.transmuxer.setRemux(data.remux)},e.flush=function(data){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},e.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},e.alignGopsWith=function(data){this.transmuxer.alignGopsWith(data.gopsToAlignWith.slice())},t}();self.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new Fr(self,t.data.options):(this.messageHandlers||(this.messageHandlers=new Fr(self)),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}))),Fa=La(Ba),Ua=function(t){var e=t.transmuxer,r=t.bytes,n=t.audioAppendStart,o=t.gopsToAlignWith,l=t.remux,c=t.onData,h=t.onTrackInfo,d=t.onAudioTimingInfo,f=t.onVideoTimingInfo,m=t.onVideoSegmentTimingInfo,v=t.onAudioSegmentTimingInfo,y=t.onId3,_=t.onCaptions,w=t.onDone,T=t.onEndedTimeline,S=t.onTransmuxerLog,M=t.isEndOfTimeline,x={buffer:[]},k=M;if(e.onmessage=function(r){e.currentTransmux===t&&("data"===r.data.action&&function(t,e,r){var n=t.data.segment,o=n.type,l=n.initSegment,c=n.captions,h=n.captionStreams,d=n.metadata,f=n.videoFrameDtsTime,m=n.videoFramePtsTime;e.buffer.push({captions:c,captionStreams:h,metadata:d});var v=t.data.segment.boxes||{data:t.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),r(y)}(r,x,c),"trackinfo"===r.data.action&&h(r.data.trackInfo),"gopInfo"===r.data.action&&function(t,e){e.gopInfo=t.data.gopInfo}(r,x),"audioTimingInfo"===r.data.action&&d(r.data.audioTimingInfo),"videoTimingInfo"===r.data.action&&f(r.data.videoTimingInfo),"videoSegmentTimingInfo"===r.data.action&&m(r.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===r.data.action&&v(r.data.audioSegmentTimingInfo),"id3Frame"===r.data.action&&y([r.data.id3Frame],r.data.id3Frame.dispatchType),"caption"===r.data.action&&_(r.data.caption),"endedtimeline"===r.data.action&&(k=!1,T()),"log"===r.data.action&&S(r.data.log),"transmuxed"===r.data.type&&(k||(e.onmessage=null,function(t){var e=t.transmuxedData,r=t.callback;e.buffer=[],r(e)}({transmuxedData:x,callback:w}),qa(e))))},n&&e.postMessage({action:"setAudioAppendStart",appendStart:n}),Array.isArray(o)&&e.postMessage({action:"alignGopsWith",gopsToAlignWith:o}),void 0!==l&&e.postMessage({action:"setRemux",remux:l}),r.byteLength){var E=r instanceof ArrayBuffer?r:r.buffer,O=r instanceof ArrayBuffer?0:r.byteOffset;e.postMessage({action:"push",data:E,byteOffset:O,byteLength:r.byteLength},[E])}M&&e.postMessage({action:"endTimeline"}),e.postMessage({action:"flush"})},qa=function(t){t.currentTransmux=null,t.transmuxQueue.length&&(t.currentTransmux=t.transmuxQueue.shift(),"function"==typeof t.currentTransmux?t.currentTransmux():Ua(t.currentTransmux))},za=function(t,e){t.postMessage({action:e}),qa(t)},Va=function(t,e){if(!e.currentTransmux)return e.currentTransmux=t,void za(e,t);e.transmuxQueue.push(za.bind(null,e,t))},$a=function(t){if(!t.transmuxer.currentTransmux)return t.transmuxer.currentTransmux=t,void Ua(t);t.transmuxer.transmuxQueue.push(t)},Ha=function(t){Va("reset",t)},Wa=function(t){var e=new Fa;e.currentTransmux=null,e.transmuxQueue=[];var r=e.terminate;return e.terminate=function(){return e.currentTransmux=null,e.transmuxQueue.length=0,r.call(e)},e.postMessage({action:"init",options:t}),e},Ga=function(t){var e=t.transmuxer,r=t.endAction||t.action,n=t.callback,o=f()({},t,{endAction:null,transmuxer:null,callback:null});if(e.addEventListener("message",(function o(l){l.data.action===r&&(e.removeEventListener("message",o),l.data.data&&(l.data.data=new Uint8Array(l.data.data,t.byteOffset||0,t.byteLength||l.data.data.byteLength),t.data&&(t.data=l.data.data)),n(l.data))})),t.data){var l=t.data instanceof ArrayBuffer;o.byteOffset=l?0:t.data.byteOffset,o.byteLength=t.data.byteLength;var c=[l?t.data:t.data.buffer];e.postMessage(o,c)}else e.postMessage(o)},Qa=2,Ka=-101,Xa=-102,Ya=function(t){t.forEach((function(t){t.abort()}))},Za=function(t,e){return e.timedout?{status:e.status,message:"HLS request timed-out at URL: "+e.uri,code:Ka,xhr:e}:e.aborted?{status:e.status,message:"HLS request aborted at URL: "+e.uri,code:Xa,xhr:e}:t?{status:e.status,message:"HLS request errored at URL: "+e.uri,code:Qa,xhr:e}:"arraybuffer"===e.responseType&&0===e.response.byteLength?{status:e.status,message:"Empty HLS response at URL: "+e.uri,code:Qa,xhr:e}:null},Ja=function(t,e,r){return function(n,o){var l=o.response,c=Za(n,o);if(c)return r(c,t);if(16!==l.byteLength)return r({status:o.status,message:"Invalid HLS key at URL: "+o.uri,code:Qa,xhr:o},t);for(var view=new DataView(l),h=new Uint32Array([view.getUint32(0),view.getUint32(4),view.getUint32(8),view.getUint32(12)]),i=0;i<e.length;i++)e[i].bytes=h;return r(null,t)}},ts=function(t,e){var r=Object(V.a)(t.map.bytes);if("mp4"!==r){var n=t.map.resolvedUri||t.map.uri;return e({internal:!0,message:"Found unsupported "+(r||"unknown")+" container for initialization segment at URL: "+n,code:Qa})}Ga({action:"probeMp4Tracks",data:t.map.bytes,transmuxer:t.transmuxer,callback:function(r){var n=r.tracks,data=r.data;return t.map.bytes=data,n.forEach((function(track){t.map.tracks=t.map.tracks||{},t.map.tracks[track.type]||(t.map.tracks[track.type]=track,"number"==typeof track.id&&track.timescale&&(t.map.timescales=t.map.timescales||{},t.map.timescales[track.id]=track.timescale))})),e(null)}})},es=function(t){var e=t.segment,r=t.finishProcessingFn,n=t.responseType;return function(t,o){var l=Za(t,o);if(l)return r(l,e);var c="arraybuffer"!==n&&o.responseText?function(t){for(var view=new Uint8Array(new ArrayBuffer(t.length)),i=0;i<t.length;i++)view[i]=t.charCodeAt(i);return view.buffer}(o.responseText.substring(e.lastReachedChar||0)):o.response;return e.stats=function(t){return{bandwidth:t.bandwidth,bytesReceived:t.bytesReceived||0,roundTripTime:t.roundTripTime||0}}(o),e.key?e.encryptedBytes=new Uint8Array(c):e.bytes=new Uint8Array(c),r(null,e)}},rs=function(t){var e=t.segment,r=t.bytes,n=t.trackInfoFn,o=t.timingInfoFn,l=t.videoSegmentTimingInfoFn,c=t.audioSegmentTimingInfoFn,h=t.id3Fn,d=t.captionsFn,f=t.isEndOfTimeline,m=t.endedTimelineFn,v=t.dataFn,y=t.doneFn,_=t.onTransmuxerLog,w=e.map&&e.map.tracks||{},T=Boolean(w.audio&&w.video),S=o.bind(null,e,"audio","start"),M=o.bind(null,e,"audio","end"),x=o.bind(null,e,"video","start"),k=o.bind(null,e,"video","end");Ga({action:"probeTs",transmuxer:e.transmuxer,data:r,baseStartTime:e.baseStartTime,callback:function(data){e.bytes=r=data.data;var t=data.result;t&&(n(e,{hasAudio:t.hasAudio,hasVideo:t.hasVideo,isMuxed:T}),n=null,t.hasAudio&&!T&&S(t.audioStart),t.hasVideo&&x(t.videoStart),S=null,x=null),$a({bytes:r,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,remux:T,onData:function(t){t.type="combined"===t.type?"video":t.type,v(e,t)},onTrackInfo:function(t){n&&(T&&(t.isMuxed=!0),n(e,t))},onAudioTimingInfo:function(t){S&&void 0!==t.start&&(S(t.start),S=null),M&&void 0!==t.end&&M(t.end)},onVideoTimingInfo:function(t){x&&void 0!==t.start&&(x(t.start),x=null),k&&void 0!==t.end&&k(t.end)},onVideoSegmentTimingInfo:function(t){l(t)},onAudioSegmentTimingInfo:function(t){c(t)},onId3:function(t,r){h(e,t,r)},onCaptions:function(t){d(e,[t])},isEndOfTimeline:f,onEndedTimeline:function(){m()},onTransmuxerLog:_,onDone:function(t){y&&(t.type="combined"===t.type?"video":t.type,y(null,e,t))}})}})},is=function(t){var e=t.segment,r=t.bytes,n=t.trackInfoFn,o=t.timingInfoFn,l=t.videoSegmentTimingInfoFn,c=t.audioSegmentTimingInfoFn,h=t.id3Fn,d=t.captionsFn,f=t.isEndOfTimeline,m=t.endedTimelineFn,v=t.dataFn,y=t.doneFn,_=t.onTransmuxerLog,w=new Uint8Array(r);if(Object(V.b)(w)){e.isFmp4=!0;var T=e.map.tracks,S={isFmp4:!0,hasVideo:!!T.video,hasAudio:!!T.audio};T.audio&&T.audio.codec&&"enca"!==T.audio.codec&&(S.audioCodec=T.audio.codec),T.video&&T.video.codec&&"encv"!==T.video.codec&&(S.videoCodec=T.video.codec),T.video&&T.audio&&(S.isMuxed=!0),n(e,S);var M=function(t){v(e,{data:w,type:S.hasAudio&&!S.isMuxed?"audio":"video"}),t&&t.length&&d(e,t),y(null,e,{})};Ga({action:"probeMp4StartTime",timescales:e.map.timescales,data:w,transmuxer:e.transmuxer,callback:function(t){var data=t.data,n=t.startTime;r=data.buffer,e.bytes=w=data,S.hasAudio&&!S.isMuxed&&o(e,"audio","start",n),S.hasVideo&&o(e,"video","start",n),T.video&&data.byteLength&&e.transmuxer?Ga({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:e.transmuxer,data:w,timescales:e.map.timescales,trackIds:[T.video.id],callback:function(t){r=t.data.buffer,e.bytes=w=t.data,t.logs.forEach((function(t){_(vo.mergeOptions(t,{stream:"mp4CaptionParser"}))})),M(t.captions)}}):M()}})}else if(e.transmuxer){if(void 0===e.container&&(e.container=Object(V.a)(w)),"ts"!==e.container&&"aac"!==e.container)return n(e,{hasAudio:!1,hasVideo:!1}),void y(null,e,{});rs({segment:e,bytes:r,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:h,captionsFn:d,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_})}else y(null,e,{})},ns=function(t,e){var r,n=t.id,o=t.key,l=t.encryptedBytes,c=t.decryptionWorker;c.addEventListener("message",(function t(r){if(r.data.source===n){c.removeEventListener("message",t);var o=r.data.decrypted;e(new Uint8Array(o.bytes,o.byteOffset,o.byteLength))}})),r=o.bytes.slice?o.bytes.slice():new Uint32Array(Array.prototype.slice.call(o.bytes)),c.postMessage(ya({source:n,encrypted:l,key:r,iv:o.iv}),[l.buffer,r.buffer])},os=function(t){var e=t.activeXhrs,r=t.decryptionWorker,n=t.trackInfoFn,o=t.timingInfoFn,l=t.videoSegmentTimingInfoFn,c=t.audioSegmentTimingInfoFn,h=t.id3Fn,d=t.captionsFn,f=t.isEndOfTimeline,m=t.endedTimelineFn,v=t.dataFn,y=t.doneFn,_=t.onTransmuxerLog,w=0,T=!1;return function(t,S){if(!T){if(t)return T=!0,Ya(e),y(t,S);if((w+=1)===e.length){var M=function(){if(S.encryptedBytes)return function(t){var e=t.decryptionWorker,r=t.segment,n=t.trackInfoFn,o=t.timingInfoFn,l=t.videoSegmentTimingInfoFn,c=t.audioSegmentTimingInfoFn,h=t.id3Fn,d=t.captionsFn,f=t.isEndOfTimeline,m=t.endedTimelineFn,v=t.dataFn,y=t.doneFn,_=t.onTransmuxerLog;ns({id:r.requestId,key:r.key,encryptedBytes:r.encryptedBytes,decryptionWorker:e},(function(t){r.bytes=t,is({segment:r,bytes:r.bytes,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:h,captionsFn:d,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_})}))}({decryptionWorker:r,segment:S,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:h,captionsFn:d,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_});is({segment:S,bytes:S.bytes,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:h,captionsFn:d,isEndOfTimeline:f,endedTimelineFn:m,dataFn:v,doneFn:y,onTransmuxerLog:_})};if(S.endOfAllRequests=Date.now(),S.map&&S.map.encryptedBytes&&!S.map.bytes)return ns({decryptionWorker:r,id:S.requestId+"-init",encryptedBytes:S.map.encryptedBytes,key:S.map.key},(function(t){S.map.bytes=t,ts(S,(function(t){if(t)return Ya(e),y(t,S);M()}))}));M()}}}},as=function(t){var e=t.segment,r=t.progressFn;return t.trackInfoFn,t.timingInfoFn,t.videoSegmentTimingInfoFn,t.audioSegmentTimingInfoFn,t.id3Fn,t.captionsFn,t.isEndOfTimeline,t.endedTimelineFn,t.dataFn,function(t){if(!t.target.aborted)return e.stats=vo.mergeOptions(e.stats,function(t){var e=t.target,r={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-e.requestTime||0};return r.bytesReceived=t.loaded,r.bandwidth=Math.floor(r.bytesReceived/r.roundTripTime*8*1e3),r}(t)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),r(t,e)}},ss=function(t){var e=t.xhr,r=t.xhrOptions,n=t.decryptionWorker,o=t.segment,l=t.abortFn,c=t.progressFn,h=t.trackInfoFn,d=t.timingInfoFn,f=t.videoSegmentTimingInfoFn,m=t.audioSegmentTimingInfoFn,v=t.id3Fn,y=t.captionsFn,_=t.isEndOfTimeline,w=t.endedTimelineFn,T=t.dataFn,S=t.doneFn,M=t.onTransmuxerLog,x=[],k=os({activeXhrs:x,decryptionWorker:n,trackInfoFn:h,timingInfoFn:d,videoSegmentTimingInfoFn:f,audioSegmentTimingInfoFn:m,id3Fn:v,captionsFn:y,isEndOfTimeline:_,endedTimelineFn:w,dataFn:T,doneFn:S,onTransmuxerLog:M});if(o.key&&!o.key.bytes){var E=[o.key];o.map&&!o.map.bytes&&o.map.key&&o.map.key.resolvedUri===o.key.resolvedUri&&E.push(o.map.key);var O=e(vo.mergeOptions(r,{uri:o.key.resolvedUri,responseType:"arraybuffer"}),Ja(o,E,k));x.push(O)}if(o.map&&!o.map.bytes){if(o.map.key&&(!o.key||o.key.resolvedUri!==o.map.key.resolvedUri)){var C=e(vo.mergeOptions(r,{uri:o.map.key.resolvedUri,responseType:"arraybuffer"}),Ja(o,[o.map.key],k));x.push(C)}var A=vo.mergeOptions(r,{uri:o.map.resolvedUri,responseType:"arraybuffer",headers:pa(o.map)}),I=function(t){var e=t.segment,r=t.finishProcessingFn;return function(t,n){var o=Za(t,n);if(o)return r(o,e);var l=new Uint8Array(n.response);if(e.map.key)return e.map.encryptedBytes=l,r(null,e);e.map.bytes=l,ts(e,(function(t){if(t)return t.xhr=n,t.status=n.status,r(t,e);r(null,e)}))}}({segment:o,finishProcessingFn:k}),P=e(A,I);x.push(P)}var R=vo.mergeOptions(r,{uri:o.part&&o.part.resolvedUri||o.resolvedUri,responseType:"arraybuffer",headers:pa(o)}),D=e(R,es({segment:o,finishProcessingFn:k,responseType:R.responseType}));D.addEventListener("progress",as({segment:o,progressFn:c,trackInfoFn:h,timingInfoFn:d,videoSegmentTimingInfoFn:f,audioSegmentTimingInfoFn:m,id3Fn:v,captionsFn:y,isEndOfTimeline:_,endedTimelineFn:w,dataFn:T})),x.push(D);var L={};return x.forEach((function(t){t.addEventListener("loadend",function(t){var e=t.loadendState,r=t.abortFn;return function(t){t.target.aborted&&r&&!e.calledAbortFn&&(r(),e.calledAbortFn=!0)}}({loadendState:L,abortFn:l}))})),function(){return Ya(x)}},us=_o("CodecUtils"),ls=function(t,e){var r=e.attributes||{};return t&&t.mediaGroups&&t.mediaGroups.AUDIO&&r.AUDIO&&t.mediaGroups.AUDIO[r.AUDIO]},cs=function(t){var e={};return t.forEach((function(t){var r=t.mediaType,n=t.type,details=t.details;e[r]=e[r]||[],e[r].push(Object(L.i)(""+n+details))})),Object.keys(e).forEach((function(t){if(e[t].length>1)return us("multiple "+t+" codecs found as attributes: "+e[t].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(e[t]=null);e[t]=e[t][0]})),e},hs=function(t){var e=0;return t.audio&&e++,t.video&&e++,e},ds=function(t,e){var r=e.attributes||{},n=cs(function(t){var e=t.attributes||{};if(e.CODECS)return Object(L.h)(e.CODECS)}(e)||[]);if(ls(t,e)&&!n.audio&&!function(t,e){if(!ls(t,e))return!0;var r=e.attributes||{},n=t.mediaGroups.AUDIO[r.AUDIO];for(var o in n)if(!n[o].uri&&!n[o].playlists)return!0;return!1}(t,e)){var o=cs(Object(L.d)(t,r.AUDIO)||[]);o.audio&&(n.audio=o.audio)}return n},fs=_o("PlaylistSelector"),ps=function(t){if(t&&t.playlist){var e=t.playlist;return JSON.stringify({id:e.id,bandwidth:t.bandwidth,width:t.width,height:t.height,codecs:e.attributes&&e.attributes.CODECS||""})}},ms=function(t,e){if(!t)return"";var r=l.a.getComputedStyle(t);return r?r[e]:""},gs=function(t,e){var r=t.slice();t.sort((function(t,n){var o=e(t,n);return 0===o?r.indexOf(t)-r.indexOf(n):o}))},vs=function(t,e){var r,n;return t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),r=r||l.a.Number.MAX_VALUE,e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),r-(n=n||l.a.Number.MAX_VALUE)},ys=function(t,e,r,n,o,c){if(t){var h={bandwidth:e,width:r,height:n,limitRenditionByPlayerDimensions:o},d=t.playlists;Qo.isAudioOnly(t)&&(d=c.getAudioTrackPlaylists_(),h.audioOnly=!0);var f=d.map((function(t){var e=t.attributes&&t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width,r=t.attributes&&t.attributes.RESOLUTION&&t.attributes.RESOLUTION.height;return{bandwidth:t.attributes&&t.attributes.BANDWIDTH||l.a.Number.MAX_VALUE,width:e,height:r,playlist:t}}));gs(f,(function(t,e){return t.bandwidth-e.bandwidth}));var m=(f=f.filter((function(t){return!Qo.isIncompatible(t.playlist)}))).filter((function(t){return Qo.isEnabled(t.playlist)}));m.length||(m=f.filter((function(t){return!Qo.isDisabled(t.playlist)})));var v=m.filter((function(t){return t.bandwidth*Ra.BANDWIDTH_VARIANCE<e})),y=v[v.length-1],_=v.filter((function(t){return t.bandwidth===y.bandwidth}))[0];if(!1===o){var w=_||m[0]||f[0];if(w&&w.playlist){var T="sortedPlaylistReps";return _&&(T="bandwidthBestRep"),m[0]&&(T="enabledPlaylistReps"),fs("choosing "+ps(w)+" using "+T+" with options",h),w.playlist}return fs("could not choose a playlist with options",h),null}var S=v.filter((function(t){return t.width&&t.height}));gs(S,(function(t,e){return t.width-e.width}));var M=S.filter((function(t){return t.width===r&&t.height===n}));y=M[M.length-1];var x,k,E,O,C=M.filter((function(t){return t.bandwidth===y.bandwidth}))[0];if(C||(k=(x=S.filter((function(t){return t.width>r||t.height>n}))).filter((function(t){return t.width===x[0].width&&t.height===x[0].height})),y=k[k.length-1],E=k.filter((function(t){return t.bandwidth===y.bandwidth}))[0]),c.experimentalLeastPixelDiffSelector){var A=S.map((function(t){return t.pixelDiff=Math.abs(t.width-r)+Math.abs(t.height-n),t}));gs(A,(function(t,e){return t.pixelDiff===e.pixelDiff?e.bandwidth-t.bandwidth:t.pixelDiff-e.pixelDiff})),O=A[0]}var I=O||E||C||_||m[0]||f[0];if(I&&I.playlist){var P="sortedPlaylistReps";return O?P="leastPixelDiffRep":E?P="resolutionPlusOneRep":C?P="resolutionBestRep":_?P="bandwidthBestRep":m[0]&&(P="enabledPlaylistReps"),fs("choosing "+ps(I)+" using "+P+" with options",h),I.playlist}return fs("could not choose a playlist with options",h),null}},bs=function(){var t=this.useDevicePixelRatio&&l.a.devicePixelRatio||1;return ys(this.playlists.master,this.systemBandwidth,parseInt(ms(this.tech_.el(),"width"),10)*t,parseInt(ms(this.tech_.el(),"height"),10)*t,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},_s=function(t){var e=t.inbandTextTracks,r=t.metadataArray,n=t.timestampOffset,o=t.videoDuration;if(r){var c=l.a.WebKitDataCue||l.a.VTTCue,h=e.metadataTrack_;if(h&&(r.forEach((function(t){var time=t.cueTime+n;!("number"!=typeof time||l.a.isNaN(time)||time<0)&&time<1/0&&t.frames.forEach((function(t){var e=new c(time,time,t.value||t.url||t.data||"");e.frame=t,e.value=t,function(t){Object.defineProperties(t.frame,{id:{get:function(){return vo.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),t.value.key}},value:{get:function(){return vo.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),t.value.data}},privateData:{get:function(){return vo.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),t.value.data}}})}(e),h.addCue(e)}))})),h.cues&&h.cues.length)){for(var d=h.cues,f=[],i=0;i<d.length;i++)d[i]&&f.push(d[i]);var m=f.reduce((function(t,e){var r=t[e.startTime]||[];return r.push(e),t[e.startTime]=r,t}),{}),v=Object.keys(m).sort((function(a,b){return Number(a)-Number(b)}));v.forEach((function(t,e){var r=m[t],n=Number(v[e+1])||o;r.forEach((function(t){t.endTime=n}))}))}}},ws=function(t,e,track){var i,r;if(track&&track.cues)for(i=track.cues.length;i--;)(r=track.cues[i]).startTime>=t&&r.endTime<=e&&track.removeCue(r)},Ts=function(t){return"number"==typeof t&&isFinite(t)},Ss=1/60,Ms=function(t){var e=t.startOfSegment,r=t.duration,n=t.segment,o=t.part,l=t.playlist,c=l.mediaSequence,h=l.id,d=l.segments,f=void 0===d?[]:d,m=t.mediaIndex,v=t.partIndex,y=t.timeline,_=f.length-1,w="mediaIndex/partIndex increment";t.getMediaInfoForTime?w="getMediaInfoForTime ("+t.getMediaInfoForTime+")":t.isSyncRequest&&(w="getSyncSegmentCandidate (isSyncRequest)"),t.independent&&(w+=" with independent "+t.independent);var T="number"==typeof v,S=t.segment.uri?"segment":"pre-segment",M=T?Do({preloadSegment:n})-1:0;return S+" ["+(c+m)+"/"+(c+_)+"]"+(T?" part ["+v+"/"+M+"]":"")+" segment start/end ["+n.start+" => "+n.end+"]"+(T?" part start/end ["+o.start+" => "+o.end+"]":"")+" startOfSegment ["+e+"] duration ["+r+"] timeline ["+y+"] selected by ["+w+"] playlist ["+h+"]"},xs=function(t){return t+"TimingInfo"},ks=function(t){var e=t.timelineChangeController,r=t.currentTimeline,n=t.segmentTimeline,o=t.loaderType,l=t.audioDisabled;if(r===n)return!1;if("audio"===o){var c=e.lastTimelineChange({type:"main"});return!c||c.to!==n}if("main"===o&&l){var h=e.pendingTimelineChange({type:"audio"});return!h||h.to!==n}return!1},Es=function(t){var e=t.segmentDuration,r=t.maxDuration;return!!e&&Math.round(e)>r+wo},Os=function(t,e){if("hls"!==e)return null;var r,n,o=(r={audioTimingInfo:t.audioTimingInfo,videoTimingInfo:t.videoTimingInfo},n=0,["video","audio"].forEach((function(t){var e=r[t+"TimingInfo"];if(e){var o,c=e.start,h=e.end;"bigint"==typeof c||"bigint"==typeof h?o=l.a.BigInt(h)-l.a.BigInt(c):"number"==typeof c&&"number"==typeof h&&(o=h-c),void 0!==o&&o>n&&(n=o)}})),"bigint"==typeof n&&n<Number.MAX_SAFE_INTEGER&&(n=Number(n)),n);if(!o)return null;var c=t.playlist.targetDuration,h=Es({segmentDuration:o,maxDuration:2*c}),d=Es({segmentDuration:o,maxDuration:c}),f="Segment with index "+t.mediaIndex+" from playlist "+t.playlist.id+" has a duration of "+o+" when the reported duration is "+t.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 h||d?{severity:h?"warn":"info",message:f}:null},Cs=function(t){function e(e,r){var n;if(n=t.call(this)||this,!e)throw new TypeError("Initialization settings are required");if("function"!=typeof e.currentTime)throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");return n.bandwidth=e.bandwidth,n.throughput={rate:0,count:0},n.roundTrip=NaN,n.resetStats_(),n.mediaIndex=null,n.partIndex=null,n.hasPlayed_=e.hasPlayed,n.currentTime_=e.currentTime,n.seekable_=e.seekable,n.seeking_=e.seeking,n.duration_=e.duration,n.mediaSource_=e.mediaSource,n.vhs_=e.vhs,n.loaderType_=e.loaderType,n.currentMediaInfo_=void 0,n.startingMediaInfo_=void 0,n.segmentMetadataTrack_=e.segmentMetadataTrack,n.goalBufferLength_=e.goalBufferLength,n.sourceType_=e.sourceType,n.sourceUpdater_=e.sourceUpdater,n.inbandTextTracks_=e.inbandTextTracks,n.state_="INIT",n.timelineChangeController_=e.timelineChangeController,n.shouldSaveSegmentTimingInfo_=!0,n.parse708captions_=e.parse708captions,n.useDtsForTimestampOffset_=e.useDtsForTimestampOffset,n.captionServices_=e.captionServices,n.experimentalExactManifestTimings=e.experimentalExactManifestTimings,n.checkBufferTimeout_=null,n.error_=void 0,n.currentTimeline_=-1,n.pendingSegment_=null,n.xhrOptions_=null,n.pendingSegments_=[],n.audioDisabled_=!1,n.isPendingTimestampOffset_=!1,n.gopBuffer_=[],n.timeMapping_=0,n.safeAppend_=vo.browser.IE_VERSION>=11,n.appendInitSegment_={audio:!0,video:!0},n.playlistOfLastInitSegment_={audio:null,video:null},n.callQueue_=[],n.loadQueue_=[],n.metadataQueue_={id3:[],caption:[]},n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=null,n.activeInitSegmentId_=null,n.initSegments_={},n.cacheEncryptionKeys_=e.cacheEncryptionKeys,n.keyCache_={},n.decrypter_=e.decrypter,n.syncController_=e.syncController,n.syncPoint_={segmentIndex:0,time:0},n.transmuxer_=n.createTransmuxer_(),n.triggerSyncInfoUpdate_=function(){return n.trigger("syncinfoupdate")},n.syncController_.on("syncinfoupdate",n.triggerSyncInfoUpdate_),n.mediaSource_.addEventListener("sourceopen",(function(){n.isEndOfStream_()||(n.ended_=!1)})),n.fetchAtBuffer_=!1,n.logger_=_o("SegmentLoader["+n.loaderType_+"]"),Object.defineProperty(_()(n),"state",{get:function(){return this.state_},set:function(t){t!==this.state_&&(this.logger_(this.state_+" -> "+t),this.state_=t,this.trigger("statechange"))}}),n.sourceUpdater_.on("ready",(function(){n.hasEnoughInfoToAppend_()&&n.processCallQueue_()})),"main"===n.loaderType_&&n.timelineChangeController_.on("pendingtimelinechange",(function(){n.hasEnoughInfoToAppend_()&&n.processCallQueue_()})),"audio"===n.loaderType_&&n.timelineChangeController_.on("timelinechange",(function(){n.hasEnoughInfoToLoad_()&&n.processLoadQueue_(),n.hasEnoughInfoToAppend_()&&n.processCallQueue_()})),n}T()(e,t);var r=e.prototype;return r.createTransmuxer_=function(){return Wa({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},r.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},r.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()},r.setAudio=function(t){this.audioDisabled_=!t,t?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},r.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},r.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},r.checkForAbort_=function(t){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==t:(this.state="READY",!0)},r.error=function(t){return void 0!==t&&(this.logger_("error occurred:",t),this.error_=t),this.pendingSegment_=null,this.error_},r.endOfStream=function(){this.ended_=!0,this.transmuxer_&&Ha(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},r.buffered_=function(){var t=this.getMediaInfo_();if(!this.sourceUpdater_||!t)return vo.createTimeRanges();if("main"===this.loaderType_){var e=t.hasAudio,r=t.hasVideo,n=t.isMuxed;if(r&&e&&!this.audioDisabled_&&!n)return this.sourceUpdater_.buffered();if(r)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},r.initSegmentForMap=function(map,t){if(void 0===t&&(t=!1),!map)return null;var e=ba(map),r=this.initSegments_[e];return t&&!r&&map.bytes&&(this.initSegments_[e]=r={resolvedUri:map.resolvedUri,byterange:map.byterange,bytes:map.bytes,tracks:map.tracks,timescales:map.timescales}),r||map},r.segmentKey=function(t,e){if(void 0===e&&(e=!1),!t)return null;var r=_a(t),n=this.keyCache_[r];this.cacheEncryptionKeys_&&e&&!n&&t.bytes&&(this.keyCache_[r]=n={resolvedUri:t.resolvedUri,bytes:t.bytes});var o={resolvedUri:(n||t).resolvedUri};return n&&(o.bytes=n.bytes),o},r.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},r.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"))},r.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},r.playlist=function(t,e){if(void 0===e&&(e={}),t){var r=this.playlist_,n=this.pendingSegment_;this.playlist_=t,this.xhrOptions_=e,"INIT"===this.state&&(t.syncInfo={mediaSequence:t.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(t));var o=null;if(r&&(r.id?o=r.id:r.uri&&(o=r.uri)),this.logger_("playlist update ["+o+" => "+(t.id||t.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!r||r.uri!==t.uri)return null!==this.mediaIndex&&(t.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var l=t.mediaSequence-r.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 h=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=h}}n&&(n.mediaIndex-=l,n.mediaIndex<0?(n.mediaIndex=null,n.partIndex=null):(n.mediaIndex>=0&&(n.segment=t.segments[n.mediaIndex]),n.partIndex>=0&&n.segment.parts&&(n.part=n.segment.parts[n.partIndex]))),this.syncController_.saveExpiredSegmentInfo(r,t)}},r.pause=function(){this.checkBufferTimeout_&&(l.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},r.paused=function(){return null===this.checkBufferTimeout_},r.resetEverything=function(t){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,t),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},r.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},r.resyncLoader=function(){this.transmuxer_&&Ha(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"})},r.remove=function(t,e,r,n){if(void 0===r&&(r=function(){}),void 0===n&&(n=!1),e===1/0&&(e=this.duration_()),e<=t)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var o=1,l=function(){0===--o&&r()};for(var track in!n&&this.audioDisabled_||(o++,this.sourceUpdater_.removeAudio(t,e,l)),(n||"main"===this.loaderType_)&&(this.gopBuffer_=function(t,e,r,n){for(var o=Math.ceil((e-n)*$.ONE_SECOND_IN_TS),l=Math.ceil((r-n)*$.ONE_SECOND_IN_TS),c=t.slice(),i=t.length;i--&&!(t[i].pts<=l););if(-1===i)return c;for(var h=i+1;h--&&!(t[h].pts<=o););return h=Math.max(h,0),c.splice(h,i-h+1),c}(this.gopBuffer_,t,e,this.timeMapping_),o++,this.sourceUpdater_.removeVideo(t,e,l)),this.inbandTextTracks_)ws(t,e,this.inbandTextTracks_[track]);ws(t,e,this.segmentMetadataTrack_),l()}else this.logger_("skipping remove because no source updater or starting media info")},r.monitorBuffer_=function(){this.checkBufferTimeout_&&l.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=l.a.setTimeout(this.monitorBufferTick_.bind(this),1)},r.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&l.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=l.a.setTimeout(this.monitorBufferTick_.bind(this),500)},r.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var t=this.chooseNextRequest_();t&&("number"==typeof t.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline})),this.loadSegment_(t))}},r.isEndOfStream_=function(t,e,r){if(void 0===t&&(t=this.mediaIndex),void 0===e&&(e=this.playlist_),void 0===r&&(r=this.partIndex),!e||!this.mediaSource_)return!1;var n="number"==typeof t&&e.segments[t],o=t+1===e.segments.length,l=!n||!n.parts||r+1===n.parts.length;return e.endList&&"open"===this.mediaSource_.readyState&&o&&l},r.chooseNextRequest_=function(){var t=this.buffered_(),e=Oo(t)||0,r=Co(t,this.currentTime_()),n=!this.hasPlayed_()&&r>=1,o=r>=this.goalBufferLength_(),l=this.playlist_.segments;if(!l.length||n||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(t,e,r){e=e||[];for(var n=[],time=0,i=0;i<e.length;i++){var o=e[i];if(t===o.timeline&&(n.push(i),(time+=o.duration)>r))return i}return 0===n.length?0:n[n.length-1]}(this.currentTimeline_,l,e);else if(null!==this.mediaIndex){var h=l[this.mediaIndex],d="number"==typeof this.partIndex?this.partIndex:-1;c.startOfSegment=h.end?h.end:e,h.parts&&h.parts[d+1]?(c.mediaIndex=this.mediaIndex,c.partIndex=d+1):c.mediaIndex=this.mediaIndex+1}else{var f=Qo.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?e: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 "+e:"currentTime "+this.currentTime_(),c.mediaIndex=m,c.startOfSegment=v,c.partIndex=y}var _=l[c.mediaIndex],w=_&&"number"==typeof c.partIndex&&_.parts&&_.parts[c.partIndex];if(!_||"number"==typeof c.partIndex&&!w)return null;if("number"!=typeof c.partIndex&&_.parts&&(c.partIndex=0,w=_.parts[0]),!r&&w&&!w.independent)if(0===c.partIndex){var T=l[c.mediaIndex-1],S=T.parts&&T.parts.length&&T.parts[T.parts.length-1];S&&S.independent&&(c.mediaIndex-=1,c.partIndex=T.parts.length-1,c.independent="previous segment")}else _.parts[c.partIndex-1].independent&&(c.partIndex-=1,c.independent="previous part");var M=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return c.mediaIndex>=l.length-1&&M&&!this.seeking_()?null:this.generateSegmentInfo_(c)},r.generateSegmentInfo_=function(t){var e=t.independent,r=t.playlist,n=t.mediaIndex,o=t.startOfSegment,l=t.isSyncRequest,c=t.partIndex,h=t.forceTimestampOffset,d=t.getMediaInfoForTime,f=r.segments[n],m="number"==typeof c&&f.parts[c],v={requestId:"segment-loader-"+Math.random(),uri:m&&m.resolvedUri||f.resolvedUri,mediaIndex:n,partIndex:m?c:null,isSyncRequest:l,startOfSegment:o,playlist:r,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:d,independent:e},y=void 0!==h?h:this.isPendingTimestampOffset_;v.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:f.timeline,currentTimeline:this.currentTimeline_,startOfSegment:o,buffered:this.buffered_(),overrideCheck:y});var _=Oo(this.sourceUpdater_.audioBuffered());return"number"==typeof _&&(v.audioAppendStart=_-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(v.gopsToAlignWith=function(t,e,r){if(null==e||!t.length)return[];var i,n=Math.ceil((e-r+3)*$.ONE_SECOND_IN_TS);for(i=0;i<t.length&&!(t[i].pts>n);i++);return t.slice(i)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),v},r.timestampOffsetForSegment_=function(t){return r=(e=t).segmentTimeline,n=e.currentTimeline,o=e.startOfSegment,l=e.buffered,e.overrideCheck||r!==n?r<n?o:l.length?l.end(l.length-1):o:null;var e,r,n,o,l},r.earlyAbortWhenNeeded_=function(t){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)){var e=this.currentTime_(),r=t.bandwidth,n=this.pendingSegment_.duration,o=Qo.estimateSegmentRequestTime(n,r,this.playlist_,t.bytesReceived),l=function(t,e,r){return void 0===r&&(r=1),((t.length?t.end(t.length-1):0)-e)/r}(this.buffered_(),e,this.vhs_.tech_.playbackRate())-1;if(!(o<=l)){var c=function(t){var e=t.master,r=t.currentTime,n=t.bandwidth,o=t.duration,l=t.segmentDuration,c=t.timeUntilRebuffer,h=t.currentTimeline,d=t.syncController,f=e.playlists.filter((function(t){return!Qo.isIncompatible(t)})),m=f.filter(Qo.isEnabled);m.length||(m=f.filter((function(t){return!Qo.isDisabled(t)})));var v=m.filter(Qo.hasAttribute.bind(null,"BANDWIDTH")).map((function(t){var e=d.getSyncPoint(t,o,h,r)?1:2;return{playlist:t,rebufferingImpact:Qo.estimateSegmentRequestTime(l,n,t)*e-c}})),y=v.filter((function(t){return t.rebufferingImpact<=0}));return gs(y,(function(a,b){return vs(b.playlist,a.playlist)})),y.length?y[0]:(gs(v,(function(a,b){return a.rebufferingImpact-b.rebufferingImpact})),v[0]||null)}({master:this.vhs_.playlists.master,currentTime:e,bandwidth:r,duration:this.duration_(),segmentDuration:n,timeUntilRebuffer:l,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(c){var h=o-l-c.rebufferingImpact,d=.5;l<=wo&&(d=1),!c.playlist||c.playlist.uri===this.playlist_.uri||h<d||(this.bandwidth=c.playlist.attributes.BANDWIDTH*Ra.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},r.handleAbort_=function(t){this.logger_("Aborting "+Ms(t)),this.mediaRequestsAborted+=1},r.handleProgress_=function(t,e){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.trigger("progress")},r.handleTrackInfo_=function(t,e){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.checkForIllegalMediaSwitch(e)||(e=e||{},function(a,b){if(!a&&!b||!a&&b||a&&!b)return!1;if(a===b)return!0;var t=Object.keys(a).sort(),e=Object.keys(b).sort();if(t.length!==e.length)return!1;for(var i=0;i<t.length;i++){var r=t[i];if(r!==e[i])return!1;if(a[r]!==b[r])return!1}return!0}(this.currentMediaInfo_,e)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=e,this.currentMediaInfo_=e,this.logger_("trackinfo update",e),this.trigger("trackinfo")),this.checkForAbort_(t.requestId)||(this.pendingSegment_.trackInfo=e,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},r.handleTimingInfo_=function(t,e,r,time){if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)){var n=this.pendingSegment_,o=xs(e);n[o]=n[o]||{},n[o][r]=time,this.logger_("timinginfo: "+e+" - "+r+" - "+time),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},r.handleCaptions_=function(t,e){var r=this;if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId))if(0!==e.length)if(this.pendingSegment_.hasAppendedData_){var n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),o={};e.forEach((function(caption){o[caption.stream]=o[caption.stream]||{startTime:1/0,captions:[],endTime:0};var t=o[caption.stream];t.startTime=Math.min(t.startTime,caption.startTime+n),t.endTime=Math.max(t.endTime,caption.endTime+n),t.captions.push(caption)})),Object.keys(o).forEach((function(t){var e=o[t],c=e.startTime,h=e.endTime,d=e.captions,f=r.inbandTextTracks_;r.logger_("adding cues from "+c+" -> "+h+" for "+t),function(t,e,r){if(!t[r]){e.trigger({type:"usage",name:"vhs-608"}),e.trigger({type:"usage",name:"hls-608"});var n=r;/^cc708_/.test(r)&&(n="SERVICE"+r.split("_")[1]);var track=e.textTracks().getTrackById(n);if(track)t[r]=track;else{var label=r,o=r,l=!1,c=(e.options_.vhs&&e.options_.vhs.captionServices||{})[n];c&&(label=c.label,o=c.language,l=c.default),t[r]=e.addRemoteTextTrack({kind:"captions",id:n,default:l,label:label,language:o},!1).track}}}(f,r.vhs_.tech_,t),ws(c,h,f[t]),function(t){var e=t.inbandTextTracks,r=t.captionArray,n=t.timestampOffset;if(r){var o=l.a.WebKitDataCue||l.a.VTTCue;r.forEach((function(caption){var track=caption.stream;e[track].addCue(new o(caption.startTime+n,caption.endTime+n,caption.text))}))}}({captionArray:d,inbandTextTracks:f,timestampOffset:n})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,t,e));else this.logger_("SegmentLoader received no captions from a caption event")},r.handleId3_=function(t,e,r){if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId))if(this.pendingSegment_.hasAppendedData_){var n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(t,e,r){t.metadataTrack_||(t.metadataTrack_=r.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,t.metadataTrack_.inBandMetadataTrackDispatchType=e)}(this.inbandTextTracks_,r,this.vhs_.tech_),_s({inbandTextTracks:this.inbandTextTracks_,metadataArray:e,timestampOffset:n,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,t,e,r))},r.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(t){return t()})),this.metadataQueue_.caption.forEach((function(t){return t()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},r.processCallQueue_=function(){var t=this.callQueue_;this.callQueue_=[],t.forEach((function(t){return t()}))},r.processLoadQueue_=function(){var t=this.loadQueue_;this.loadQueue_=[],t.forEach((function(t){return t()}))},r.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var t=this.pendingSegment_;return!!t&&(!this.getCurrentMediaInfo_()||!ks({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},r.getCurrentMediaInfo_=function(t){return void 0===t&&(t=this.pendingSegment_),t&&t.trackInfo||this.currentMediaInfo_},r.getMediaInfo_=function(t){return void 0===t&&(t=this.pendingSegment_),this.getCurrentMediaInfo_(t)||this.startingMediaInfo_},r.getPendingSegmentPlaylist=function(){return this.pendingSegment_?this.pendingSegment_.playlist:null},r.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var t=this.pendingSegment_,e=this.getCurrentMediaInfo_();if(!t||!e)return!1;var r=e.hasAudio,n=e.hasVideo,o=e.isMuxed;return!(n&&!t.videoTimingInfo)&&(!(r&&!this.audioDisabled_&&!o&&!t.audioTimingInfo)&&!ks({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},r.handleData_=function(t,e){if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var r=this.pendingSegment_;if(this.setTimeMapping_(r.timeline),this.updateMediaSecondsLoaded_(r.part||r.segment),"closed"!==this.mediaSource_.readyState){if(t.map&&(t.map=this.initSegmentForMap(t.map,!0),r.segment.map=t.map),t.key&&this.segmentKey(t.key,!0),r.isFmp4=t.isFmp4,r.timingInfo=r.timingInfo||{},r.isFmp4)this.trigger("fmp4"),r.timingInfo.start=r[xs(e.type)].start;else{var n,o=this.getCurrentMediaInfo_(),l="main"===this.loaderType_&&o&&o.hasVideo;l&&(n=r.videoTimingInfo.start),r.timingInfo.start=this.trueSegmentStart_({currentStart:r.timingInfo.start,playlist:r.playlist,mediaIndex:r.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:l,firstVideoFrameTimeForData:n,videoTimingInfo:r.videoTimingInfo,audioTimingInfo:r.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(r,e.type),this.updateSourceBufferTimestampOffset_(r),r.isSyncRequest){this.updateTimingInfoEnd_(r),this.syncController_.saveSegmentTimingInfo({segmentInfo:r,shouldSaveTimelineMapping:"main"===this.loaderType_});var c=this.chooseNextRequest_();if(c.mediaIndex!==r.mediaIndex||c.partIndex!==r.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}r.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(r,e)}}else this.callQueue_.push(this.handleData_.bind(this,t,e))},r.updateAppendInitSegmentStatus=function(t,e){"main"!==this.loaderType_||"number"!=typeof t.timestampOffset||t.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[e]!==t.playlist&&(this.appendInitSegment_[e]=!0)},r.getInitSegmentAndUpdateState_=function(t){var e=t.type,r=t.initSegment,map=t.map,n=t.playlist;if(map){var o=ba(map);if(this.activeInitSegmentId_===o)return null;r=this.initSegmentForMap(map,!0).bytes,this.activeInitSegmentId_=o}return r&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=n,this.appendInitSegment_[e]=!1,this.activeInitSegmentId_=null,r):null},r.handleQuotaExceededError_=function(t,e){var r=this,n=t.segmentInfo,o=t.type,c=t.bytes,h=this.sourceUpdater_.audioBuffered(),d=this.sourceUpdater_.videoBuffered();h.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Eo(h).join(", ")),d.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Eo(d).join(", "));var f=h.length?h.start(0):0,m=h.length?h.end(h.length-1):0,v=d.length?d.start(0):0,y=d.length?d.end(d.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: "+Eo(h).join(", ")+", video buffer: "+Eo(d).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:n,type:o,bytes:c}));var _=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+_),this.remove(0,_,(function(){r.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),r.waitingOnRemove_=!1,r.quotaExceededErrorRetryTimeout_=l.a.setTimeout((function(){r.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),r.quotaExceededErrorRetryTimeout_=null,r.processCallQueue_()}),1e3)}),!0)},r.handleAppendError_=function(t,e){var r=t.segmentInfo,n=t.type,o=t.bytes;e&&(22!==e.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",e),this.error(n+" append of "+o.length+"b failed for segment #"+r.mediaIndex+" in playlist "+r.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:r,type:n,bytes:o}))},r.appendToSourceBuffer_=function(t){var e,r,n,o=t.segmentInfo,l=t.type,c=t.initSegment,data=t.data,h=t.bytes;if(!h){var d=[data],f=data.byteLength;c&&(d.unshift(c),f+=c.byteLength),n=0,(e={bytes:f,segments:d}).bytes&&(r=new Uint8Array(e.bytes),e.segments.forEach((function(t){r.set(t,n),n+=t.byteLength}))),h=r}this.sourceUpdater_.appendBuffer({segmentInfo:o,type:l,bytes:h},this.handleAppendError_.bind(this,{segmentInfo:o,type:l,bytes:h}))},r.handleSegmentTimingInfo_=function(t,e,r){if(this.pendingSegment_&&e===this.pendingSegment_.requestId){var n=this.pendingSegment_.segment,o=t+"TimingInfo";n[o]||(n[o]={}),n[o].transmuxerPrependedSeconds=r.prependedContentDuration||0,n[o].transmuxedPresentationStart=r.start.presentation,n[o].transmuxedDecodeStart=r.start.decode,n[o].transmuxedPresentationEnd=r.end.presentation,n[o].transmuxedDecodeEnd=r.end.decode,n[o].baseMediaDecodeTime=r.baseMediaDecodeTime}},r.appendData_=function(t,e){var r=e.type,data=e.data;if(data&&data.byteLength&&("audio"!==r||!this.audioDisabled_)){var n=this.getInitSegmentAndUpdateState_({type:r,initSegment:e.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null});this.appendToSourceBuffer_({segmentInfo:t,type:r,initSegment:n,data:data})}},r.loadSegment_=function(t){var e=this;this.state="WAITING",this.pendingSegment_=t,this.trimBackBuffer_(t),"number"==typeof t.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(t):this.loadQueue_.push((function(){var r=f()({},t,{forceTimestampOffset:!0});f()(t,e.generateSegmentInfo_(r)),e.isPendingTimestampOffset_=!1,e.updateTransmuxerAndRequestSegment_(t)}))},r.updateTransmuxerAndRequestSegment_=function(t){var e=this;this.shouldUpdateTransmuxerTimestampOffset_(t.timestampOffset)&&(this.gopBuffer_.length=0,t.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t.timestampOffset}));var r=this.createSimplifiedSegmentObj_(t),n=this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex),o=null!==this.mediaIndex,l=t.timeline!==this.currentTimeline_&&t.timeline>0,c=n||o&&l;this.logger_("Requesting "+Ms(t)),r.map&&!r.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),t.abortRequests=ss({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:r,abortFn:this.handleAbort_.bind(this,t),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",t.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",t.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:c,endedTimelineFn:function(){e.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(r){var n=r.message,o=r.level,l=r.stream;e.logger_(Ms(t)+" logged from transmuxer stream "+l+" as a "+o+": "+n)}})},r.trimBackBuffer_=function(t){var e=function(t,e,r){var n=e-Ra.BACK_BUFFER_LENGTH;t.length&&(n=Math.max(n,t.start(0)));var o=e-r;return Math.min(o,n)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);e>0&&this.remove(0,e)},r.createSimplifiedSegmentObj_=function(t){var e=t.segment,r=t.part,n={resolvedUri:r?r.resolvedUri:e.resolvedUri,byterange:r?r.byterange:e.byterange,requestId:t.requestId,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,part:t.part},o=t.playlist.segments[t.mediaIndex-1];if(o&&o.timeline===e.timeline&&(o.videoTimingInfo?n.baseStartTime=o.videoTimingInfo.transmuxedDecodeEnd:o.audioTimingInfo&&(n.baseStartTime=o.audioTimingInfo.transmuxedDecodeEnd)),e.key){var l=e.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]);n.key=this.segmentKey(e.key),n.key.iv=l}return e.map&&(n.map=this.initSegmentForMap(e.map)),n},r.saveTransferStats_=function(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)},r.saveBandwidthRelatedStats_=function(t,e){this.pendingSegment_.byteLength=e.bytesReceived,t<Ss?this.logger_("Ignoring segment's bandwidth because its duration of "+t+" is less than the min to record "+Ss):(this.bandwidth=e.bandwidth,this.roundTrip=e.roundTripTime)},r.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")},r.segmentRequestFinished_=function(t,e,r){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,t,e,r));else if(this.saveTransferStats_(e.stats),this.pendingSegment_&&e.requestId===this.pendingSegment_.requestId){if(t){if(this.pendingSegment_=null,this.state="READY",t.code===Xa)return;return this.pause(),t.code===Ka?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(t),void this.trigger("error"))}var n=this.pendingSegment_;this.saveBandwidthRelatedStats_(n.duration,e.stats),n.endOfAllRequests=e.endOfAllRequests,r.gopInfo&&(this.gopBuffer_=function(t,e,r){if(!e.length)return t;if(r)return e.slice();for(var n=e[0].pts,i=0;i<t.length&&!(t[i].pts>=n);i++);return t.slice(0,i).concat(e)}(this.gopBuffer_,r.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(n)}},r.setTimeMapping_=function(t){var e=this.syncController_.mappingForTimeline(t);null!==e&&(this.timeMapping_=e)},r.updateMediaSecondsLoaded_=function(t){"number"==typeof t.start&&"number"==typeof t.end?this.mediaSecondsLoaded+=t.end-t.start:this.mediaSecondsLoaded+=t.duration},r.shouldUpdateTransmuxerTimestampOffset_=function(t){return null!==t&&("main"===this.loaderType_&&t!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&t!==this.sourceUpdater_.audioTimestampOffset())},r.trueSegmentStart_=function(t){var e=t.currentStart,r=t.playlist,n=t.mediaIndex,o=t.firstVideoFrameTimeForData,l=t.currentVideoTimestampOffset,c=t.useVideoTimingInfo,h=t.videoTimingInfo,d=t.audioTimingInfo;if(void 0!==e)return e;if(!c)return d.start;var f=r.segments[n-1];return 0!==n&&f&&void 0!==f.start&&f.end===o+l?h.start:o},r.waitForAppendsToComplete_=function(t){var e=this.getCurrentMediaInfo_(t);if(!e)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var r=e.hasAudio,n=e.hasVideo,o=e.isMuxed,l="main"===this.loaderType_&&n,c=!this.audioDisabled_&&r&&!o;if(t.waitingOnAppends=0,!t.hasAppendedData_)return t.timingInfo||"number"!=typeof t.timestampOffset||(this.isPendingTimestampOffset_=!0),t.timingInfo={start:0},t.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(t),this.processMetadataQueue_()),void this.checkAppendsDone_(t);l&&t.waitingOnAppends++,c&&t.waitingOnAppends++,l&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),c&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,t))},r.checkAppendsDone_=function(t){this.checkForAbort_(t.requestId)||(t.waitingOnAppends--,0===t.waitingOnAppends&&this.handleAppendsDone_())},r.checkForIllegalMediaSwitch=function(t){var e=function(t,e,r){return"main"===t&&e&&r?r.hasAudio||r.hasVideo?e.hasVideo&&!r.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.":!e.hasVideo&&r.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_(),t);return!!e&&(this.error({message:e,blacklistDuration:1/0}),this.trigger("error"),!0)},r.updateSourceBufferTimestampOffset_=function(t){if(null!==t.timestampOffset&&"number"==typeof t.timingInfo.start&&!t.changedTimestampOffset&&"main"===this.loaderType_){var e=!1;t.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t.segment.videoTimingInfo,audioTimingInfo:t.segment.audioTimingInfo,timingInfo:t.timingInfo}),t.changedTimestampOffset=!0,t.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(t.timestampOffset),e=!0),t.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(t.timestampOffset),e=!0),e&&this.trigger("timestampoffset")}},r.getSegmentStartTimeForTimestampOffsetCalculation_=function(t){var e=t.videoTimingInfo,r=t.audioTimingInfo,n=t.timingInfo;return this.useDtsForTimestampOffset_?e&&"number"==typeof e.transmuxedDecodeStart?e.transmuxedDecodeStart:r&&"number"==typeof r.transmuxedDecodeStart?r.transmuxedDecodeStart:n.start:n.start},r.updateTimingInfoEnd_=function(t){t.timingInfo=t.timingInfo||{};var e=this.getMediaInfo_(),r="main"===this.loaderType_&&e&&e.hasVideo&&t.videoTimingInfo?t.videoTimingInfo:t.audioTimingInfo;r&&(t.timingInfo.end="number"==typeof r.end?r.end:r.start+t.duration)},r.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var t=this.pendingSegment_;this.updateTimingInfoEnd_(t),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:"main"===this.loaderType_});var e=Os(t,this.sourceType_);if(e&&("warn"===e.severity?vo.log.warn(e.message):this.logger_(e.message)),this.recordThroughput_(t),this.pendingSegment_=null,this.state="READY",!t.isSyncRequest||(this.trigger("syncinfoupdate"),t.hasAppendedData_)){this.logger_("Appended "+Ms(t)),this.addSegmentMetadataCue_(t),this.fetchAtBuffer_=!0,this.currentTimeline_!==t.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:t.timeline})),this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate");var r=t.segment,n=t.part,o=r.end&&this.currentTime_()-r.end>3*t.playlist.targetDuration,l=n&&n.end&&this.currentTime_()-n.end>3*t.playlist.partTargetDuration;if(o||l)return this.logger_("bad "+(o?"segment":"part")+" "+Ms(t)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=t.mediaIndex,this.partIndex=t.partIndex,this.isEndOfStream_
vendor: 2,388 bytes, line 2
2(t.mediaIndex,t.playlist,t.partIndex)&&this.endOfStream(),this.trigger("appended"),t.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+Ms(t))},r.recordThroughput_=function(t){if(t.duration<Ss)this.logger_("Ignoring segment's throughput because its duration of "+t.duration+" is less than the min to record "+Ss);else{var e=this.throughput.rate,r=Date.now()-t.endOfAllRequests+1,n=Math.floor(t.byteLength/r*8*1e3);this.throughput.rate+=(n-e)/++this.throughput.count}},r.addSegmentMetadataCue_=function(t){if(this.segmentMetadataTrack_){var e=t.segment,r=e.start,n=e.end;if(Ts(r)&&Ts(n)){ws(r,n,this.segmentMetadataTrack_);var o=l.a.WebKitDataCue||l.a.VTTCue,c={custom:e.custom,dateTimeObject:e.dateTimeObject,dateTimeString:e.dateTimeString,bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.id,start:r,end:n},h=new o(r,n,JSON.stringify(c));h.value=c,this.segmentMetadataTrack_.addCue(h)}}},e}(vo.EventTarget);function As(){}var Is,Ps=function(t){return"string"!=typeof t?t:t.replace(/./,(function(t){return t.toUpperCase()}))},Rs=["video","audio"],Ds=function(t,e){var r=e[t+"Buffer"];return r&&r.updating||e.queuePending[t]},Ls=function t(e,r){if(0!==r.queue.length){var n=0,o=r.queue[n];if("mediaSource"!==o.type){if("mediaSource"!==e&&r.ready()&&"closed"!==r.mediaSource.readyState&&!Ds(e,r)){if(o.type!==e){if(n=function(t,e){for(var i=0;i<e.length;i++){var r=e[i];if("mediaSource"===r.type)return null;if(r.type===t)return i}return null}(e,r.queue),null===n)return;o=r.queue[n]}return r.queue.splice(n,1),r.queuePending[e]=o,o.action(e,r),o.doneFn?void 0:(r.queuePending[e]=null,void t(e,r))}}else r.updating()||"closed"===r.mediaSource.readyState||(r.queue.shift(),o.action(r),o.doneFn&&o.doneFn(),t("audio",r),t("video",r))}},Ns=function(t,e){var r=e[t+"Buffer"],n=Ps(t);r&&(r.removeEventListener("updateend",e["on"+n+"UpdateEnd_"]),r.removeEventListener("error",e["on"+n+"Error_"]),e.codecs[t]=null,e[t+"Buffer"]=null)},js=function(t,e){return t&&e&&-1!==Array.prototype.indexOf.call(t.sourceBuffers,e)},Bs=function(t,e,r){return function(n,o){var l=o[n+"Buffer"];if(js(o.mediaSource,l)){o.logger_("Appending segment "+e.mediaIndex+"'s "+t.length+" b
2ytes to "+n+"Buffer");try{l.appendBuffer(t)}catch(t){o.logger_("Error with code "+t.code+" "+(22===t.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+e.mediaIndex+" to "+n+"Buffer"),o.queuePending[n]=null,r(t)}}}},Fs=function(t,e){return function(r,n){var o=n[r+"Buffer"];if(js(n.mediaSource,o)){n.logger_("Removing "+t+" to "+e+" from "+r+"Buffer");try{o.remove(t,e)}catch(o){n.logger_("Remove "+t+" to "+e+" from "+r+"Buffer failed")}}}},Us=function(t){return function(e,r){var n=r[e+"Buffer"];js(r.mediaSource,n)&&(r.logger_("Setting "+e+"timestampOffset to "+t),n.timestampOffset=t)}},qs=function(t){return function(e,r){t()}},zs=function(t){return function(e){if("open"===e.mediaSource.readyState){e.logger_("Calling mediaSource endOfStream("+(t||"")+")");try{e.mediaSource.endOfStream(t)}catch(t){vo.log.warn("Failed to call media source endOfStream",t)}}}},Vs=function(t){return function(e){e.logger_("Setting mediaSource duration to "+t);try{e.mediaSource.duration=t}catch(t){vo.log.warn("Failed to set media source duration",t)}}},$s=function(){return function(t,e){if("open"===e.mediaSource.readyState){var r=e[t+"Buffer"];if(js(e.mediaSource,r)){e.logger_("calling abort on "+t+"Buffer");try{r.abort()}catch(e){vo.log.warn("Failed to abort on "+t+"Buffer",e)}}}}},Hs=function(t,e){return function(r){var n=Ps(t),o=Object(L.e)(e);r.logger_("Adding "+t+"Buffer with codec "+e+" to mediaSource");var l=r.mediaSource.addSourceBuffer(o);l.addEventListener("updateend",r["on"+n+"UpdateEnd_"]),l.addEventListener("error",r["on"+n+"Error_"]),r.codecs[t]=e,r[t+"Buffer"]=l}},Ws=function(t){return function(e){var r=e[t+"Buffer"];if(Ns(t,e),js(e.mediaSource,r)){e.logger_("Removing "+t+"Buffer with codec "+e.codecs[t]+" from mediaSource");try{e.mediaSource.removeSourceBuffer(r)}catch(e){vo.log.warn("Failed to removeSourceBuffer "+t+"Buffer",e)}}}},Gs=function(t){return function(e,r){var n=r[e+"Buffer"],o=Object(L.e)(t);js(r.mediaSource,n)&&r.codecs[e]!==t&&(r.logger_("changing "+e+"Buffer codec from "+r.codecs[e]+" to "+t),n.changeType(o),r.codecs[e]=t)}},Qs=function(t){var e=t.type,r=t.sourceUpdater,n=t.action,o=t.doneFn,l=t.name;r.queue.push({type:e,action:n,doneFn:o,name:l}),Ls(e,r)},Ks=function(t,e){return function(r){if(e.queuePending[t]){var n=e.queuePending[t].doneFn;e.queuePending[t]=null,n&&n(e[t+"Error_"])}Ls(t,e)}},Xs=function(t){function e(e){var r;return(r=t.call(this)||this).mediaSource=e,r.sourceopenListener_=function(){return Ls("mediaSource",_()(r))},r.mediaSource.addEventListener("sourceopen",r.sourceopenListener_),r.logger_=_o("SourceUpdater"),r.audioTimestampOffset_=0,r.videoTimestampOffset_=0,r.queue=[],r.queuePending={audio:null,video:null},r.delayedAudioAppendQueue_=[],r.videoAppendQueued_=!1,r.codecs={},r.onVideoUpdateEnd_=Ks("video",_()(r)),r.onAudioUpdateEnd_=Ks("audio",_()(r)),r.onVideoError_=function(t){r.videoError_=t},r.onAudioError_=function(t){r.audioError_=t},r.createdSourceBuffers_=!1,r.initializedEme_=!1,r.triggeredReady_=!1,r}T()(e,t);var r=e.prototype;return r.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},r.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},r.hasInitializedAnyEme=function(){return this.initializedEme_},r.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},r.createSourceBuffers=function(t){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(t),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}
vendor: 18,519 bytes, line 2
2,r.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},r.addSourceBuffer=function(t,e){Qs({type:"mediaSource",sourceUpdater:this,action:Hs(t,e),name:"addSourceBuffer"})},r.abort=function(t){Qs({type:t,sourceUpdater:this,action:$s(t),name:"abort"})},r.removeSourceBuffer=function(t){this.canRemoveSourceBuffer()?Qs({type:"mediaSource",sourceUpdater:this,action:Ws(t),name:"removeSourceBuffer"}):vo.log.error("removeSourceBuffer is not supported!")},r.canRemoveSourceBuffer=function(){return!vo.browser.IE_VERSION&&!vo.browser.IS_FIREFOX&&l.a.MediaSource&&l.a.MediaSource.prototype&&"function"==typeof l.a.MediaSource.prototype.removeSourceBuffer},e.canChangeType=function(){return l.a.SourceBuffer&&l.a.SourceBuffer.prototype&&"function"==typeof l.a.SourceBuffer.prototype.changeType},r.canChangeType=function(){return this.constructor.canChangeType()},r.changeType=function(t,e){this.canChangeType()?Qs({type:t,sourceUpdater:this,action:Gs(e),name:"changeType"}):vo.log.error("changeType is not supported!")},r.addOrChangeSourceBuffers=function(t){var e=this;if(!t||"object"!=typeof t||0===Object.keys(t).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(t).forEach((function(r){var n=t[r];if(!e.hasCreatedSourceBuffers())return e.addSourceBuffer(r,n);e.canChangeType()&&e.changeType(r,n)}))},r.appendBuffer=function(t,e){var r=this,n=t.segmentInfo,o=t.type,l=t.bytes;if(this.processedAppend_=!0,"audio"===o&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([t,e]),void this.logger_("delayed audio append of "+l.length+" until video append");if(Qs({type:o,sourceUpdater:this,action:Bs(l,n||{mediaIndex:-1},e),doneFn:e,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(t){r.appendBuffer.apply(r,t)}))}},r.audioBuffered=function(){return js(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:vo.createTimeRange()},r.videoBuffered=function(){return js(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:vo.createTimeRange()},r.buffered=function(){var video=js(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,audio=js(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return audio&&!video?this.audioBuffered():video&&!audio?this.videoBuffered():function(t,e){var r=null,n=null,o=0,l=[],c=[];if(!(t&&t.length&&e&&e.length))return vo.createTimeRange();for(var h=t.length;h--;)l.push({time:t.start(h),type:"start"}),l.push({time:t.end(h),type:"end"});for(h=e.length;h--;)l.push({time:e.start(h),type:"start"}),l.push({time:e.end(h),type:"end"});for(l.sort((function(a,b){return a.time-b.time})),h=0;h<l.length;h++)"start"===l[h].type?2==++o&&(r=l[h].time):"end"===l[h].type&&1==--o&&(n=l[h].time),null!==r&&null!==n&&(c.push([r,n]),r=null,n=null);return vo.createTimeRanges(c)}(this.audioBuffered(),this.videoBuffered())},r.setDuration=function(t,e){void 0===e&&(e=As),Qs({type:"mediaSource",sourceUpdater:this,action:Vs(t),name:"duration",doneFn:e})},r.endOfStream=function(t,e){void 0===t&&(t=null),void 0===e&&(e=As),"string"!=typeof t&&(t=void 0),Qs({type:"mediaSource",sourceUpdater:this,action:zs(t),name:"endOfStream",doneFn:e})},r.removeAudio=function(t,e,r){void 0===r&&(r=As),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?Qs({type:"audio",sourceUpdater:this,action:Fs(t,e),doneFn:r,name:"remove"}):r()},r.removeVideo=function(t,e,r){void 0===r&&(r=As),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?Qs({type:"video",sourceUpdater:this,action:Fs(t,e),doneFn:r,name:"remove"}):r()},r.updating=function(){return!(!Ds("audio",this)&&!Ds("video",this))},r.audioTimestampOffset=function(t){return void 0!==t&&this.audioBuffer&&this.audioTimestampOffset_!==t&&(Qs({type:"audio",sourceUpdater:this,action:Us(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_},r.videoTimestampOffset=function(t){return void 0!==t&&this.videoBuffer&&this.videoTimestampOffset!==t&&(Qs({type:"video",sourceUpdater:this,action:Us(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_},r.audioQueueCallback=function(t){this.audioBuffer&&Qs({type:"audio",sourceUpdater:this,action:qs(t),name:"callback"})},r.videoQueueCallback=function(t){this.videoBuffer&&Qs({type:"video",sourceUpdater:this,action:qs(t),name:"callback"})},r.dispose=function(){var t=this;this.trigger("dispose"),Rs.forEach((function(e){t.abort(e),t.canRemoveSourceBuffer()?t.removeSourceBuffer(e):t[e+"QueueCallback"]((function(){return Ns(e,t)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},e}(vo.EventTarget),Ys=function(t){return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))},Zs=new Uint8Array("\n\n".split("").map((function(t){return t.charCodeAt(0)}))),Js=function(t){function e(){return t.call(this,"Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")||this}return T()(e,t),e}(W()(Error)),tu=function(t){function e(e,r){var n;return void 0===r&&(r={}),(n=t.call(this,e,r)||this).mediaSource_=null,n.subtitlesTrack_=null,n.loaderType_="subtitle",n.featuresNativeTextTracks_=e.featuresNativeTextTracks,n.loadVttJs=e.loadVttJs,n.shouldSaveSegmentTimingInfo_=!1,n}T()(e,t);var r=e.prototype;return r.createTransmuxer_=function(){return null},r.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return vo.createTimeRanges();var t=this.subtitlesTrack_.cues,e=t[0].startTime,r=t[t.length-1].startTime;return vo.createTimeRanges([[e,r]])},r.initSegmentForMap=function(map,t){if(void 0===t&&(t=!1),!map)return null;var e=ba(map),r=this.initSegments_[e];if(t&&!r&&map.bytes){var n=Zs.byteLength+map.bytes.byteLength,o=new Uint8Array(n);o.set(map.bytes),o.set(Zs,map.bytes.byteLength),this.initSegments_[e]=r={resolvedUri:map.resolvedUri,byterange:map.byterange,bytes:o}}return r||map},r.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},r.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},r.track=function(t){return void 0===t||(this.subtitlesTrack_=t,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},r.remove=function(t,e){ws(t,e,this.subtitlesTrack_)},r.fillBuffer_=function(){var t=this,e=this.chooseNextRequest_();if(e){if(null===this.syncController_.timestampOffsetForTimeline(e.timeline)){return this.syncController_.one("timestampoffset",(function(){t.state="READY",t.paused()||t.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(e)}},r.timestampOffsetForSegment_=function(){return null},r.chooseNextRequest_=function(){return this.skipEmptySegments_(t.prototype.chooseNextRequest_.call(this))},r.skipEmptySegments_=function(t){for(;t&&t.segment.empty;){if(t.mediaIndex+1>=t.playlist.segments.length){t=null;break}t=this.generateSegmentInfo_({playlist:t.playlist,mediaIndex:t.mediaIndex+1,startOfSegment:t.startOfSegment+t.duration,isSyncRequest:t.isSyncRequest})}return t},r.stopForError=function(t){this.error(t),this.state="READY",this.pause(),this.trigger("error")},r.segmentRequestFinished_=function(t,e,r){var n=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(e.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(t)return t.code===Ka&&this.handleTimeout_(),t.code===Xa?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(t);var o=this.pendingSegment_;this.saveBandwidthRelatedStats_(o.duration,e.stats),e.key&&this.segmentKey(e.key,!0),this.state="APPENDING",this.trigger("appending");var c=o.segment;if(c.map&&(c.map.bytes=e.map.bytes),o.bytes=e.bytes,"function"!=typeof l.a.WebVTT&&"function"==typeof this.loadVttJs)return this.state="WAITING_ON_VTTJS",void this.loadVttJs().then((function(){return n.segmentRequestFinished_(t,e,r)}),(function(){return n.stopForError({message:"Error loading vtt.js"})}));c.requested=!0;try{this.parseVTTCues_(o)}catch(t){return void this.stopForError({message:t.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(t){n.subtitlesTrack_.addCue(n.featuresNativeTextTracks_?new l.a.VTTCue(t.startTime,t.endTime,t.text):t)})),function(track){var t=track.cues;if(t)for(var i=0;i<t.length;i++){for(var e=[],r=0,n=0;n<t.length;n++)t[i].startTime===t[n].startTime&&t[i].endTime===t[n].endTime&&t[i].text===t[n].text&&++r>1&&e.push(t[n]);e.length&&e.forEach((function(t){return track.removeCue(t)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},r.handleData_=function(){},r.updateTimingInfoEnd_=function(){},r.parseVTTCues_=function(t){var e,r=!1;if("function"!=typeof l.a.WebVTT)throw new Js;"function"==typeof l.a.TextDecoder?e=new l.a.TextDecoder("utf8"):(e=l.a.WebVTT.StringDecoder(),r=!0);var n=new l.a.WebVTT.Parser(l.a,l.a.vttjs,e);if(t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},n.oncue=t.cues.push.bind(t.cues),n.ontimestampmap=function(map){t.timestampmap=map},n.onparsingerror=function(t){vo.log.warn("Error encountered when parsing cues: "+t.message)},t.segment.map){var o=t.segment.map.bytes;r&&(o=Ys(o)),n.parse(o)}var c=t.bytes;r&&(c=Ys(c)),n.parse(c),n.flush()},r.updateTimeMapping_=function(t,e,r){var n=t.segment;if(e)if(t.cues.length){var o=t.timestampmap,l=o.MPEGTS/$.ONE_SECOND_IN_TS-o.LOCAL+e.mapping;if(t.cues.forEach((function(t){t.startTime+=l,t.endTime+=l})),!r.syncInfo){var c=t.cues[0].startTime,h=t.cues[t.cues.length-1].startTime;r.syncInfo={mediaSequence:r.mediaSequence+t.mediaIndex,time:Math.min(c,h-n.duration)}}}else n.empty=!0},e}(Cs),eu=function(track,t){for(var e=track.cues,i=0;i<e.length;i++){var r=e[i];if(t>=r.adStartTime&&t<=r.adEndTime)return r}return null},ru=[{name:"VOD",run:function(t,e,r,n,o){if(r!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(t,e,r,n,o){if(!Object.keys(t.timelineToDatetimeMappings).length)return null;var l=null,c=null,h=Po(e);o=o||0;for(var i=0;i<h.length;i++){var d=h[e.endList||0===o?i:h.length-(i+1)],f=d.segment,m=t.timelineToDatetimeMappings[f.timeline];if(m&&f.dateTimeObject){var v=f.dateTimeObject.getTime()/1e3+m;if(f.parts&&"number"==typeof d.partIndex)for(var y=0;y<d.partIndex;y++)v+=f.parts[y].duration;var _=Math.abs(o-v);if(null!==c&&(0===_||c<_))break;c=_,l={time:v,segmentIndex:d.segmentIndex,partIndex:d.partIndex}}}return l}},{name:"Segment",run:function(t,e,r,n,o){var l=null,c=null;o=o||0;for(var h=Po(e),i=0;i<h.length;i++){var d=h[e.endList||0===o?i:h.length-(i+1)],f=d.segment,m=d.part&&d.part.start||f&&f.start;if(f.timeline===n&&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:d.segmentIndex,partIndex:d.partIndex})}}return l}},{name:"Discontinuity",run:function(t,e,r,n,o){var l=null;if(o=o||0,e.discontinuityStarts&&e.discontinuityStarts.length)for(var c=null,i=0;i<e.discontinuityStarts.length;i++){var h=e.discontinuityStarts[i],d=e.discontinuitySequence+i+1,f=t.discontinuities[d];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:h,partIndex:null})}}return l}},{name:"Playlist",run:function(t,e,r,n,o){return e.syncInfo?{time:e.syncInfo.time,segmentIndex:e.syncInfo.mediaSequence-e.mediaSequence,partIndex:null}:null}}],iu=function(t){function e(e){var r;return(r=t.call(this)||this).timelines=[],r.discontinuities=[],r.timelineToDatetimeMappings={},r.logger_=_o("SyncController"),r}T()(e,t);var r=e.prototype;return r.getSyncPoint=function(t,e,r,n){var o=this.runStrategies_(t,e,r,n);return o.length?this.selectSyncPoint_(o,{key:"time",value:n}):null},r.getExpiredTime=function(t,e){if(!t||!t.segments)return null;var r=this.runStrategies_(t,e,t.discontinuitySequence,0);if(!r.length)return null;var n=this.selectSyncPoint_(r,{key:"segmentIndex",value:0});return n.segmentIndex>0&&(n.time*=-1),Math.abs(n.time+Bo({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:n.segmentIndex,endIndex:0}))},r.runStrategies_=function(t,e,r,n){for(var o=[],i=0;i<ru.length;i++){var l=ru[i],c=l.run(this,t,e,r,n);c&&(c.strategy=l.name,o.push({strategy:l.name,syncPoint:c}))}return o},r.selectSyncPoint_=function(t,e){for(var r=t[0].syncPoint,n=Math.abs(t[0].syncPoint[e.key]-e.value),o=t[0].strategy,i=1;i<t.length;i++){var l=Math.abs(t[i].syncPoint[e.key]-e.value);l<n&&(n=l,r=t[i].syncPoint,o=t[i].strategy)}return this.logger_("syncPoint for ["+e.key+": "+e.value+"] chosen with strategy ["+o+"]: [time:"+r.time+", segmentIndex:"+r.segmentIndex+("number"==typeof r.partIndex?",partIndex:"+r.partIndex:"")+"]"),r},r.saveExpiredSegmentInfo=function(t,e){var r=e.mediaSequence-t.mediaSequence;if(r>86400)vo.log.warn("Not saving expired segment info. Media sequence gap "+r+" is too large.");else for(var i=r-1;i>=0;i--){var n=t.segments[i];if(n&&void 0!==n.start){e.syncInfo={mediaSequence:t.mediaSequence+i,time:n.start},this.logger_("playlist refresh sync: [time:"+e.syncInfo.time+", mediaSequence: "+e.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},r.setDateTimeMappingForStart=function(t){if(this.timelineToDatetimeMappings={},t.segments&&t.segments.length&&t.segments[0].dateTimeObject){var e=t.segments[0],r=e.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[e.timeline]=-r}},r.saveSegmentTimingInfo=function(t){var e=t.segmentInfo,r=t.shouldSaveTimelineMapping,n=this.calculateSegmentTimeMapping_(e,e.timingInfo,r),o=e.segment;n&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:o.start}));var l=o.dateTimeObject;o.discontinuity&&r&&l&&(this.timelineToDatetimeMappings[o.timeline]=-l.getTime()/1e3)},r.timestampOffsetForTimeline=function(t){return void 0===this.timelines[t]?null:this.timelines[t].time},r.mappingForTimeline=function(t){return void 0===this.timelines[t]?null:this.timelines[t].mapping},r.calculateSegmentTimeMapping_=function(t,e,r){var n,o,l=t.segment,c=t.part,h=this.timelines[t.timeline];if("number"==typeof t.timestampOffset)h={time:t.startOfSegment,mapping:t.startOfSegment-e.start},r&&(this.timelines[t.timeline]=h,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+t.timeline+": [time: "+h.time+"] [mapping: "+h.mapping+"]")),n=t.startOfSegment,o=e.end+h.mapping;else{if(!h)return!1;n=e.start+h.mapping,o=e.end+h.mapping}return c&&(c.start=n,c.end=o),(!l.start||n<l.start)&&(l.start=n),l.end=o,!0},r.saveDiscontinuitySyncInfo_=function(t){var e=t.playlist,r=t.segment;if(r.discontinuity)this.discontinuities[r.timeline]={time:r.start,accuracy:0};else if(e.discontinuityStarts&&e.discontinuityStarts.length)for(var i=0;i<e.discontinuityStarts.length;i++){var n=e.discontinuityStarts[i],o=e.discontinuitySequence+i+1,l=n-t.mediaIndex,c=Math.abs(l);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>c){var time=void 0;time=l<0?r.start-Bo({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:t.mediaIndex,endIndex:n}):r.end+Bo({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:t.mediaIndex+1,endIndex:n}),this.discontinuities[o]={time:time,accuracy:c}}}},r.dispose=function(){this.trigger("dispose"),this.off()},e}(vo.EventTarget),nu=function(t){function e(){var e;return(e=t.call(this)||this).pendingTimelineChanges_={},e.lastTimelineChanges_={},e}T()(e,t);var r=e.prototype;return r.clearPendingTimelineChange=function(t){this.pendingTimelineChanges_[t]=null,this.trigger("pendingtimelinechange")},r.pendingTimelineChange=function(t){var e=t.type,r=t.from,n=t.to;return"number"==typeof r&&"number"==typeof n&&(this.pendingTimelineChanges_[e]={type:e,from:r,to:n},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]},r.lastTimelineChange=function(t){var e=t.type,r=t.from,n=t.to;return"number"==typeof r&&"number"==typeof n&&(this.lastTimelineChanges_[e]={type:e,from:r,to:n},delete this.pendingTimelineChanges_[e],this.trigger("timelinechange")),this.lastTimelineChanges_[e]},r.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},e}(vo.EventTarget),ou=Na(ja((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function r(t,e,r){return t(r={path:e,exports:{},require:function(path,base){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==base&&r.path)}},r.exports),r.exports}var n=r((function(t){function e(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0})),o=r((function(t){function e(r,p){return t.exports=e=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t},t.exports.default=t.exports,t.exports.__esModule=!0,e(r,p)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),l=r((function(t){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0})),c=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,i=0;i<r;++i)e[i].call(this,arguments[1]);
vendor: 8,379 bytes, line 2
2else for(var n=Array.prototype.slice.call(arguments,1),o=e.length,l=0;l<o;++l)e[l].apply(this,n)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",(function(data){t.push(data)}))},t}();var h,d=null,f=function(){function t(t){var i,e,r;d||(d=function(){var i,t,e,r,n,s,o,l,c=[[[],[],[],[],[]],[[],[],[],[],[]]],h=c[0],d=c[1],f=h[4],m=d[4],v=[],th=[];for(i=0;i<256;i++)th[(v[i]=i<<1^283*(i>>7))^i]=i;for(t=e=0;!f[t];t^=r||1,e=th[e]||1)for(s=(s=e^e<<1^e<<2^e<<3^e<<4)>>8^255&s^99,f[t]=s,m[s]=t,l=16843009*v[n=v[r=v[t]]]^65537*n^257*r^16843008*t,o=257*v[s]^16843008*s,i=0;i<4;i++)h[i][t]=o=o<<24^o>>>8,d[i][s]=l=l<<24^l>>>8;for(i=0;i<5;i++)h[i]=h[i].slice(0),d[i]=d[i].slice(0);return c}()),this._tables=[[d[0][0].slice(),d[0][1].slice(),d[0][2].slice(),d[0][3].slice(),d[0][4].slice()],[d[1][0].slice(),d[1][1].slice(),d[1][2].slice(),d[1][3].slice(),d[1][4].slice()]];var n=this._tables[0][4],o=this._tables[1],l=t.length,c=1;if(4!==l&&6!==l&&8!==l)throw new Error("Invalid aes key size");var h=t.slice(0),f=[];for(this._key=[h,f],i=l;i<4*l+28;i++)r=h[i-1],(i%l==0||8===l&&i%l==4)&&(r=n[r>>>24]<<24^n[r>>16&255]<<16^n[r>>8&255]<<8^n[255&r],i%l==0&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),h[i]=h[i-l]^r;for(e=0;i;e++,i--)r=h[3&e?i:i-4],f[e]=i<=4||e<4?r:o[0][n[r>>>24]]^o[1][n[r>>16&255]]^o[2][n[r>>8&255]]^o[3][n[255&r]]}return t.prototype.decrypt=function(t,e,r,n,o,l){var c,h,d,i,f=this._key[1],a=t^f[0],b=n^f[1],m=r^f[2],v=e^f[3],y=f.length/4-2,_=4,table=this._tables[1],w=table[0],T=table[1],S=table[2],M=table[3],x=table[4];for(i=0;i<y;i++)c=w[a>>>24]^T[b>>16&255]^S[m>>8&255]^M[255&v]^f[_],h=w[b>>>24]^T[m>>16&255]^S[v>>8&255]^M[255&a]^f[_+1],d=w[m>>>24]^T[v>>16&255]^S[a>>8&255]^M[255&b]^f[_+2],v=w[v>>>24]^T[a>>16&255]^S[b>>8&255]^M[255&m]^f[_+3],_+=4,a=c,b=h,m=d;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},t}(),m=function(t){function e(){var e;return(e=t.call(this,c)||this).jobs=[],e.delay=1,e.timeout_=null,e}l(e,t);var r=e.prototype;return r.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},r.push=function(t){this.jobs.push(t),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},e}(c),v=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},y=function(){function t(e,r,n,o){var l=t.STEP,c=new Int32Array(e.buffer),h=new Uint8Array(e.byteLength),i=0;for(this.asyncStream_=new m,this.asyncStream_.push(this.decryptChunk_(c.subarray(i,i+l),r,n,h)),i=l;i<c.length;i+=l)n=new Uint32Array([v(c[i-4]),v(c[i-3]),v(c[i-2]),v(c[i-1])]),this.asyncStream_.push(this.decryptChunk_(c.subarray(i,i+l),r,n,h));this.asyncStream_.push((function(){var t;o(null,(t=h).subarray(0,t.byteLength-t[t.byteLength-1]))}))}return t.prototype.decryptChunk_=function(t,e,r,n){return function(){var o=function(t,e,r){var n,o,l,c,h,d,m,y,_,w=new Int32Array(t.buffer,t.byteOffset,t.byteLength>>2),T=new f(Array.prototype.slice.call(e)),S=new Uint8Array(t.byteLength),M=new Int32Array(S.buffer);for(n=r[0],o=r[1],l=r[2],c=r[3],_=0;_<w.length;_+=4)h=v(w[_]),d=v(w[_+1]),m=v(w[_+2]),y=v(w[_+3]),T.decrypt(h,d,m,y,M,_),M[_]=v(M[_]^n),M[_+1]=v(M[_+1]^o),M[_+2]=v(M[_+2]^l),M[_+3]=v(M[_+3]^c),n=h,o=d,l=m,c=y;return S}(t,e,r);n.set(o,t.byteOffset)}},n(t,null,[{key:"STEP",get:function(){return 32e3}}]),t}();h="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var _=h.BigInt||Number;_("0x1"),_("0x100"),_("0x10000"),_("0x1000000"),_("0x100000000"),_("0x10000000000"),_("0x1000000000000"),_("0x100000000000000"),_("0x10000000000000000");var w=function(t){var e={};return Object.keys(t).forEach((function(r){var n,o=t[r];n=o,("function"===ArrayBuffer.isView?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer)?e[r]={bytes:o.buffer,byteOffset:o.byteOffset,byteLength:o.byteLength}:e[r]=o})),e};self.onmessage=function(t){var data=t.data,e=new Uint8Array(data.encrypted.bytes,data.encrypted.byteOffset,data.encrypted.byteLength),r=new Uint32Array(data.key.bytes,data.key.byteOffset,data.key.byteLength/4),n=new Uint32Array(data.iv.bytes,data.iv.byteOffset,data.iv.byteLength/4);new y(e,r,n,(function(t,e){self.postMessage(w({source:data.source,decrypted:e}),[e.buffer])}))}}))),au=La(ou),su=function(t){var e=t.default?"main":"alternative";return t.characteristics&&t.characteristics.indexOf("public.accessibility.describes-video")>=0&&(e="main-desc"),e},uu=function(t,e){t.abort(),t.pause(),e&&e.activePlaylistLoader&&(e.activePlaylistLoader.pause(),e.activePlaylistLoader=null)},lu=function(t,e){e.activePlaylistLoader=t,t.load()},cu={AUDIO:function(t,e){return function(){var r=e.segmentLoaders[t],n=e.mediaTypes[t],o=e.blacklistCurrentPlaylist;uu(r,n);var l=n.activeTrack(),c=n.activeGroup(),h=(c.filter((function(t){return t.default}))[0]||c[0]).id,d=n.tracks[h];if(l!==d){for(var f in vo.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),n.tracks)n.tracks[f].enabled=n.tracks[f]===d;n.onTrackChanged()}else o({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(t,e){return function(){var r=e.segmentLoaders[t],n=e.mediaTypes[t];vo.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),uu(r,n);var track=n.activeTrack();track&&(track.mode="disabled"),n.onTrackChanged()}}},hu={AUDIO:function(t,e,r){if(e){var n=r.tech,o=r.requestOptions,l=r.segmentLoaders[t];e.on("loadedmetadata",(function(){var t=e.media();l.playlist(t,o),(!n.paused()||t.endList&&"none"!==n.preload())&&l.load()})),e.on("loadedplaylist",(function(){l.playlist(e.media(),o),n.paused()||l.load()})),e.on("error",cu[t](t,r))}},SUBTITLES:function(t,e,r){var n=r.tech,o=r.requestOptions,l=r.segmentLoaders[t],c=r.mediaTypes[t];e.on("loadedmetadata",(function(){var t=e.media();l.playlist(t,o),l.track(c.activeTrack()),(!n.paused()||t.endList&&"none"!==n.preload())&&l.load()})),e.on("loadedplaylist",(function(){l.playlist(e.media(),o),n.paused()||l.load()})),e.on("error",cu[t](t,r))}},du={AUDIO:function(t,e){var r=e.vhs,n=e.sourceType,o=e.segmentLoaders[t],l=e.requestOptions,c=e.master.mediaGroups,h=e.mediaTypes[t],d=h.groups,f=h.tracks,m=h.logger_,v=e.masterPlaylistLoader,y=Go(v.master);for(var _ in c[t]&&0!==Object.keys(c[t]).length||(c[t]={main:{default:{default:!0}}},y&&(c[t].main.default.playlists=v.master.playlists)),c[t])for(var w in d[_]||(d[_]=[]),c[t][_]){var T=c[t][_][w],S=void 0;if(y?(m("AUDIO group '"+_+"' label '"+w+"' is a master playlist"),T.isMasterPlaylist=!0,S=null):S="vhs-json"===n&&T.playlists?new la(T.playlists[0],r,l):T.resolvedUri?new la(T.resolvedUri,r,l):T.playlists&&"dash"===n?new Pa(T.playlists[0],r,l,v):null,T=vo.mergeOptions({id:w,playlistLoader:S},T),hu[t](t,T.playlistLoader,e),d[_].push(T),void 0===f[w]){var track=new vo.AudioTrack({id:w,kind:su(T),enabled:!1,language:T.language,default:T.default,label:w});f[w]=track}}o.on("error",cu[t](t,e))},SUBTITLES:function(t,e){var r=e.tech,n=e.vhs,o=e.sourceType,l=e.segmentLoaders[t],c=e.requestOptions,h=e.master.mediaGroups,d=e.mediaTypes[t],f=d.groups,m=d.tracks,v=e.masterPlaylistLoader;for(var y in h[t])for(var _ in f[y]||(f[y]=[]),h[t][y])if(!h[t][y][_].forced){var w=h[t][y][_],T=void 0;if("hls"===o)T=new la(w.resolvedUri,n,c);else if("dash"===o){if(!w.playlists.filter((function(p){return p.excludeUntil!==1/0})).length)return;T=new Pa(w.playlists[0],n,c,v)}else"vhs-json"===o&&(T=new la(w.playlists?w.playlists[0]:w.resolvedUri,n,c));if(w=vo.mergeOptions({id:_,playlistLoader:T},w),hu[t](t,w.playlistLoader,e),f[y].push(w),void 0===m[_]){var track=r.addRemoteTextTrack({id:_,kind:"subtitles",default:w.default&&w.autoselect,language:w.language,label:_},!1).track;m[_]=track}}l.on("error",cu[t](t,e))},"CLOSED-CAPTIONS":function(t,e){var r=e.tech,n=e.master.mediaGroups,o=e.mediaTypes[t],l=o.groups,c=o.tracks;for(var h in n[t])for(var d in l[h]||(l[h]=[]),n[t][h]){var f=n[t][h][d];if(/^(?:CC|SERVICE)/.test(f.instreamId)){var m=r.options_.vhs&&r.options_.vhs.captionServices||{},v={label:d,language:f.language,instreamId:f.instreamId,default:f.default&&f.autoselect};if(m[v.instreamId]&&(v=vo.mergeOptions(v,m[v.instreamId])),void 0===v.default&&delete v.default,l[h].push(vo.mergeOptions({id:d},f)),void 0===c[d]){var track=r.addRemoteTextTrack({id:v.instreamId,
vendor: 16,186 bytes, line 2
2kind:"captions",default:v.default,language:v.language,label:v.label},!1).track;c[d]=track}}}}},fu=function t(e,r){for(var i=0;i<e.length;i++){if(Ho(r,e[i]))return!0;if(e[i].playlists&&t(e[i].playlists,r))return!0}return!1},pu={AUDIO:function(t,e){return function(){var r=e.mediaTypes[t].tracks;for(var n in r)if(r[n].enabled)return r[n];return null}},SUBTITLES:function(t,e){return function(){var r=e.mediaTypes[t].tracks;for(var n in r)if("showing"===r[n].mode||"hidden"===r[n].mode)return r[n];return null}}},mu=function(t){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(e){du[e](e,t)}));var e=t.mediaTypes,r=t.masterPlaylistLoader,n=t.tech,o=t.vhs,l=t.segmentLoaders,c=l.AUDIO,h=l.main;["AUDIO","SUBTITLES"].forEach((function(r){e[r].activeGroup=function(t,e){return function(track){var r=e.masterPlaylistLoader,n=e.mediaTypes[t].groups,o=r.media();if(!o)return null;var l=null;o.attributes[t]&&(l=n[o.attributes[t]]);var c=Object.keys(n);if(!l)if("AUDIO"===t&&c.length>1&&Go(e.master))for(var i=0;i<c.length;i++){var h=n[c[i]];if(fu(h,o)){l=h;break}}else n.main?l=n.main:1===c.length&&(l=n[c[0]]);return void 0===track?l:null!==track&&l&&l.filter((function(t){return t.id===track.id}))[0]||null}}(r,t),e[r].activeTrack=pu[r](r,t),e[r].onGroupChanged=function(t,e){return function(){var r=e.segmentLoaders,n=r[t],o=r.main,l=e.mediaTypes[t],c=l.activeTrack(),h=l.getActiveGroup(),d=l.activePlaylistLoader,f=l.lastGroup_;h&&f&&h.id===f.id||(l.lastGroup_=h,l.lastTrack_=c,uu(n,l),h&&!h.isMasterPlaylist&&(h.playlistLoader?(n.resyncLoader(),lu(h.playlistLoader,l)):d&&o.resetEverything()))}}(r,t),e[r].onGroupChanging=function(t,e){return function(){var r=e.segmentLoaders[t];e.mediaTypes[t].lastGroup_=null,r.abort(),r.pause()}}(r,t),e[r].onTrackChanged=function(t,e){return function(){var r=e.masterPlaylistLoader,n=e.segmentLoaders,o=n[t],l=n.main,c=e.mediaTypes[t],h=c.activeTrack(),d=c.getActiveGroup(),f=c.activePlaylistLoader,m=c.lastTrack_;if((!m||!h||m.id!==h.id)&&(c.lastGroup_=d,c.lastTrack_=h,uu(o,c),d)){if(d.isMasterPlaylist){if(!h||!m||h.id===m.id)return;var v=e.vhs.masterPlaylistController_,y=v.selectPlaylist();if(v.media()===y)return;return c.logger_("track change. Switching master audio from "+m.id+" to "+h.id),r.pause(),l.resetEverything(),void v.fastQualityChange_(y)}if("AUDIO"===t){if(!d.playlistLoader)return l.setAudio(!0),void l.resetEverything();o.setAudio(!0),l.setAudio(!1)}f!==d.playlistLoader?(o.track&&o.track(h),o.resetEverything(),lu(d.playlistLoader,c)):lu(d.playlistLoader,c)}}}(r,t),e[r].getActiveGroup=function(t,e){var r=e.mediaTypes;return function(){var e=r[t].activeTrack();return e?r[t].activeGroup(e):null}}(r,t)}));var d=e.AUDIO.activeGroup();if(d){var f=(d.filter((function(t){return t.default}))[0]||d[0]).id;e.AUDIO.tracks[f].enabled=!0,e.AUDIO.onGroupChanged(),e.AUDIO.onTrackChanged(),e.AUDIO.getActiveGroup().playlistLoader?(h.setAudio(!1),c.setAudio(!0)):h.setAudio(!0)}r.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(t){return e[t].onGroupChanged()}))})),r.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(t){return e[t].onGroupChanging()}))}));var m=function(){e.AUDIO.onTrackChanged(),n.trigger({type:"usage",name:"vhs-audio-change"}),n.trigger({type:"usage",name:"hls-audio-change"})};for(var v in n.audioTracks().addEventListener("change",m),n.remoteTextTracks().addEventListener("change",e.SUBTITLES.onTrackChanged),o.on("dispose",(function(){n.audioTracks().removeEventListener("change",m),n.remoteTextTracks().removeEventListener("change",e.SUBTITLES.onTrackChanged)})),n.clearTracks("audio"),e.AUDIO.tracks)n.audioTracks().addTrack(e.AUDIO.tracks[v])},gu=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],vu=function(t){return this.audioSegmentLoader_[t]+this.mainSegmentLoader_[t]},yu=function(t){function e(e){var r;r=t.call(this)||this;var n=e.src,o=e.handleManifestRedirects,c=e.withCredentials,h=e.tech,d=e.bandwidth,f=e.externVhs,m=e.useCueTags,v=e.blacklistDuration,y=e.enableLowInitialPlaylist,w=e.sourceType,T=e.cacheEncryptionKeys,S=e.experimentalBufferBasedABR,M=e.experimentalLeastPixelDiffSelector,x=e.captionServices;if(!n)throw new Error("A non-empty playlist URL or JSON manifest string is required");var k,E=e.maxPlaylistRetries;null==E&&(E=1/0),Is=f,r.experimentalBufferBasedABR=Boolean(S),r.experimentalLeastPixelDiffSelector=Boolean(M),r.withCredentials=c,r.tech_=h,r.vhs_=h.vhs,r.sourceType_=w,r.useCueTags_=m,r.blacklistDuration=v,r.maxPlaylistRetries=E,r.enableLowInitialPlaylist=y,r.useCueTags_&&(r.cueTagsTrack_=r.tech_.addTextTrack("metadata","ad-cues"),r.cueTagsTrack_.inBandMetadataTrackDispatchType=""),r.requestOptions_={withCredentials:c,handleManifestRedirects:o,maxPlaylistRetries:E,timeout:null},r.on("error",r.pauseLoading),r.mediaTypes_=(k={},["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){k[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:As,activeTrack:As,getActiveGroup:As,onGroupChanged:As,onTrackChanged:As,lastTrack_:null,logger_:_o("MediaGroups["+t+"]")}})),k),r.mediaSource=new l.a.MediaSource,r.handleDurationChange_=r.handleDurationChange_.bind(_()(r)),r.handleSourceOpen_=r.handleSourceOpen_.bind(_()(r)),r.handleSourceEnded_=r.handleSourceEnded_.bind(_()(r)),r.mediaSource.addEventListener("durationchange",r.handleDurationChange_),r.mediaSource.addEventListener("sourceopen",r.handleSourceOpen_),r.mediaSource.addEventListener("sourceended",r.handleSourceEnded_),r.seekable_=vo.createTimeRanges(),r.hasPlayed_=!1,r.syncController_=new iu(e),r.segmentMetadataTrack_=h.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,r.decrypter_=new au,r.sourceUpdater_=new Xs(r.mediaSource),r.inbandTextTracks_={},r.timelineChangeController_=new nu;var O={vhs:r.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:x,mediaSource:r.mediaSource,currentTime:r.tech_.currentTime.bind(r.tech_),seekable:function(){return r.seekable()},seeking:function(){return r.tech_.seeking()},duration:function(){return r.duration()},hasPlayed:function(){return r.hasPlayed_},goalBufferLength:function(){return r.goalBufferLength()},bandwidth:d,syncController:r.syncController_,decrypter:r.decrypter_,sourceType:r.sourceType_,inbandTextTracks:r.inbandTextTracks_,cacheEncryptionKeys:T,sourceUpdater:r.sourceUpdater_,timelineChangeController:r.timelineChangeController_,experimentalExactManifestTimings:e.experimentalExactManifestTimings};r.masterPlaylistLoader_="dash"===r.sourceType_?new Pa(n,r.vhs_,r.requestOptions_):new la(n,r.vhs_,r.requestOptions_),r.setupMasterPlaylistLoaderListeners_(),r.mainSegmentLoader_=new Cs(vo.mergeOptions(O,{segmentMetadataTrack:r.segmentMetadataTrack_,loaderType:"main"}),e),r.audioSegmentLoader_=new Cs(vo.mergeOptions(O,{loaderType:"audio"}),e),r.subtitleSegmentLoader_=new tu(vo.mergeOptions(O,{loaderType:"vtt",featuresNativeTextTracks:r.tech_.featuresNativeTextTracks,loadVttJs:function(){return new Promise((function(t,e){function r(){h.off("vttjserror",n),t()}function n(){h.off("vttjsloaded",r),e()}h.one("vttjsloaded",r),h.one("vttjserror",n),h.addWebVttScript_()}))}}),e),r.setupSegmentLoaderListeners_(),r.experimentalBufferBasedABR&&(r.masterPlaylistLoader_.one("loadedplaylist",(function(){return r.startABRTimer_()})),r.tech_.on("pause",(function(){return r.stopABRTimer_()})),r.tech_.on("play",(function(){return r.startABRTimer_()}))),gu.forEach((function(t){r[t+"_"]=vu.bind(_()(r),t)})),r.logger_=_o("MPC"),r.triggeredFmp4Usage=!1,"none"===r.tech_.preload()?(r.loadOnPlay_=function(){r.loadOnPlay_=null,r.masterPlaylistLoader_.load()},r.tech_.one("play",r.loadOnPlay_)):r.masterPlaylistLoader_.load(),r.timeToLoadedData__=-1,r.mainAppendsToLoadedData__=-1,r.audioAppendsToLoadedData__=-1;var C="none"===r.tech_.preload()?"play":"loadstart";return r.tech_.one(C,(function(){var t=Date.now();r.tech_.one("loadeddata",(function(){r.timeToLoadedData__=Date.now()-t,r.mainAppendsToLoadedData__=r.mainSegmentLoader_.mediaAppends,r.audioAppendsToLoadedData__=r.audioSegmentLoader_.mediaAppends}))})),r}T()(e,t);var r=e.prototype;return r.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},r.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},r.appendsToLoadedData_=function(){var main=this.mainAppendsToLoadedData_(),audio=this.audioAppendsToLoadedData_();return-1===main||-1===audio?-1:main+audio},r.timeToLoadedData_=function(){return this.timeToLoadedData__},r.checkABR_=function(t){void 0===t&&(t="abr");var e=this.selectPlaylist();e&&this.shouldSwitchToMedia_(e)&&this.switchMedia_(e,t)},r.switchMedia_=function(t,e,r){var n=this.media(),o=n&&(n.id||n.uri),l=t.id||t.uri;o&&o!==l&&(this.logger_("switch media "+o+" -> "+l+" from "+e),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+e})),this.masterPlaylistLoader_.media(t,r)},r.startABRTimer_=function(){var t=this;this.stopABRTimer_(),this.abrTimer_=l.a.setInterval((function(){return t.checkABR_()}),250)},r.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(l.a.clearInterval(this.abrTimer_),this.abrTimer_=null)},r.getAudioTrackPlaylists_=function(){var t=this.master(),e=t&&t.playlists||[];if(!t||!t.mediaGroups||!t.mediaGroups.AUDIO)return e;var track,r=t.mediaGroups.AUDIO,n=Object.keys(r);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)track=this.mediaTypes_.AUDIO.activeTrack();else{var o=r.main||n.length&&r[n[0]];for(var label in o)if(o[label].default){track={label:label};break}}if(!track)return e;var l=[];for(var c in r)if(r[c][track.label]){var h=r[c][track.label];if(h.playlists&&h.playlists.length)l.push.apply(l,h.playlists);else if(h.uri)l.push(h);else if(t.playlists.length)for(var i=0;i<t.playlists.length;i++){var d=t.playlists[i];d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===c&&l.push(d)}}return l.length?l:e},r.setupMasterPlaylistLoaderListeners_=function(){var t=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var e=t.masterPlaylistLoader_.media(),r=1.5*e.targetDuration*1e3;$o(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.media())?t.requestOptions_.timeout=0:t.requestOptions_.timeout=r,e.endList&&"none"!==t.tech_.preload()&&(t.mainSegmentLoader_.playlist(e,t.requestOptions_),t.mainSegmentLoader_.load()),mu({sourceType:t.sourceType_,segmentLoaders:{AUDIO:t.audioSegmentLoader_,SUBTITLES:t.subtitleSegmentLoader_,main:t.mainSegmentLoader_},tech:t.tech_,requestOptions:t.requestOptions_,masterPlaylistLoader:t.masterPlaylistLoader_,vhs:t.vhs_,master:t.master(),mediaTypes:t.mediaTypes_,blacklistCurrentPlaylist:t.blacklistCurrentPlaylist.bind(t)}),t.triggerPresenceUsage_(t.master(),e),t.setupFirstPlay(),!t.mediaTypes_.AUDIO.activePlaylistLoader||t.mediaTypes_.AUDIO.activePlaylistLoader.media()?t.trigger("selectedinitialmedia"):t.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){t.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){t.loadOnPlay_&&t.tech_.off("play",t.loadOnPlay_);var e=t.masterPlaylistLoader_.media();if(!e){var r;if(t.excludeUnsupportedVariants_(),t.enableLowInitialPlaylist&&(r=t.selectInitialPlaylist()),r||(r=t.selectPlaylist()),!r||!t.shouldSwitchToMedia_(r))return;if(t.initialMedia_=r,t.switchMedia_(t.initialMedia_,"initial"),!("vhs-json"===t.sourceType_&&t.initialMedia_.segments))return;e=t.initialMedia_}t.handleUpdatedMediaPlaylist(e)})),this.masterPlaylistLoader_.on("error",(function(){t.blacklistCurrentPlaylist(t.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){t.mainSegmentLoader_.abort(),t.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var e=t.masterPlaylistLoader_.media(),r=1.5*e.targetDuration*1e3;$o(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.media())?t.requestOptions_.timeout=0:t.requestOptions_.timeout=r,t.masterPlaylistLoader_.load(),t.mainSegmentLoader_.playlist(e,t.requestOptions_),t.mainSegmentLoader_.load(),t.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var e=t.masterPlaylistLoader_.media();"playlist-unchanged"!==e.lastExcludeReason_&&(t.stuckAtPlaylistEnd_(e)&&(t.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),t.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){t.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),t.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){t.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),t.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},r.handleUpdatedMediaPlaylist=function(t){this.useCueTags_&&this.updateAdCues_(t),this.mainSegmentLoader_.playlist(t,this.requestOptions_),this.updateDuration(!t.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},r.triggerPresenceUsage_=function(t,e){var r=t.mediaGroups||{},n=!0,o=Object.keys(r.AUDIO);for(var l in r.AUDIO)for(var label in r.AUDIO[l]){r.AUDIO[l][label].uri||(n=!1)}n&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(r.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),Is.Playlist.isAes(e)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),o.length&&Object.keys(r.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"}))},r.shouldSwitchToMedia_=function(t){var e=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,r=this.tech_.currentTime(),n=this.bufferLowWaterLine(),o=this.bufferHighWaterLine();return function(t){var e=t.currentPlaylist,r=t.buffered,n=t.currentTime,o=t.nextPlaylist,l=t.bufferLowWaterLine,c=t.bufferHighWaterLine,h=t.duration,d=t.experimentalBufferBasedABR,f=t.log;if(!o)return vo.log.warn("We received no playlist to switch to. Please check your stream."),!1;var m="allowing switch "+(e&&e.id||"null")+" -> "+o.id;if(!e)return f(m+" as current playlist is not set"),!0;if(o.id===e.id)return!1;var v=Boolean(Mo(r,n).length);if(!e.endList)return v||"number"!=typeof e.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=Co(r,n),_=d?Ra.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Ra.MAX_BUFFER_LOW_WATER_LINE;if(h<_)return f(m+" as duration < max low water line ("+h+" < "+_+")"),!0;var w=o.attributes.BANDWIDTH,T=e.attributes.BANDWIDTH;if(w<T&&(!d||y<c)){var S=m+" as next bandwidth < current bandwidth ("+w+" < "+T+")";return d&&(S+=" and forwardBuffer < bufferHighWaterLine ("+y+" < "+c+")"),f(S),!0}if((!d||w>T)&&y>=l){var M=m+" as forwardBuffer >= bufferLowWaterLine ("+y+" >= "+l+")";return d&&(M+=" and next bandwidth > current bandwidth ("+w+" > "+T+")"),f(M),!0}return f("not "+m+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:r,currentPlaylist:e,nextPlaylist:t,bufferLowWaterLine:n,bufferHighWaterLine:o,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},r.setupSegmentLoaderListeners_=function(){var t=this;this.mainSegmentLoader_.on("bandwidthupdate",(function(){t.checkABR_("bandwidthupdate"),t.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(function(){t.experimentalBufferBasedABR&&t.mainSegmentLoader_.load()})),this.experimentalBufferBasedABR||this.mainSegmentLoader_.on("progress",(function(){t.trigger("progress")})),this.mainSegmentLoader_.on("error",(function(){t.blacklistCurrentPlaylist(t.mainSegmentLoader_.error())}
vendor: 4,586 bytes, line 2
2)),this.mainSegmentLoader_.on("appenderror",(function(){t.error=t.mainSegmentLoader_.error_,t.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){t.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){t.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),t.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){t.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){t.error=t.audioSegmentLoader_.error_,t.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){t.logger_("main segment loader ended"),t.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(e){t.experimentalBufferBasedABR||(t.delegateLoaders_("all",["abort"]),t.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var e=function(){if(!t.sourceUpdater_.hasCreatedSourceBuffers())return t.tryToCreateSourceBuffers_();var e=t.getCodecsOrExclude_();e&&t.sourceUpdater_.addOrChangeSourceBuffers(e)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",(function(){t.triggeredFmp4Usage||(t.tech_.trigger({type:"usage",name:"vhs-fmp4"}),t.tech_.trigger({type:"usage",name:"hls-fmp4"}),t.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){t.triggeredFmp4Usage||(t.tech_.trigger({type:"usage",name:"vhs-fmp4"}),t.tech_.trigger({type:"usage",name:"hls-fmp4"}),t.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){t.logger_("audioSegmentLoader ended"),t.onEndOfStream()}))},r.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},r.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},r.smoothQualityChange_=function(t){void 0===t&&(t=this.selectPlaylist()),this.fastQualityChange_(t)},r.fastQualityChange_=function(t){var e=this;void 0===t&&(t=this.selectPlaylist()),t!==this.masterPlaylistLoader_.media()?(this.switchMedia_(t,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){vo.browser.IE_VERSION||vo.browser.IS_EDGE?e.tech_.setCurrentTime(e.tech_.currentTime()+.04):e.tech_.setCurrentTime(e.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},r.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var t=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0)?this.tech_.setCurrentTime(t.end(t.length-1)):void 0}},r.setupFirstPlay=function(){var t=this,e=this.masterPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList){var r=this.seekable();if(!r.length)return!1;if(vo.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){t.trigger("firstplay"),t.tech_.setCurrentTime(r.end(0)),t.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(r.end(0))}return this.hasPlayed_=!0,this.load(),!0},r.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var t=this.tech_.play();void 0!==t&&"function"==typeof t.then&&t.then(null,(function(t){}))}this.trigger("sourceopen")},r.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var t=this.inbandTextTracks_.metadataTrack_.cues;if(t&&t.length){var e=this.duration();t[t.length-1].endTime=isNaN(e)||Math.abs(e)===1/0?Number.MAX_VALUE:e}}},r.handleDurationChange_=function(){this.tech_.trigger("durationchange")},r.onEndOfStream=function(){var t=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var e=this.mainSegmentLoader_.getCurrentMediaInfo_();t=!e||e.hasVideo?t&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}t&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},r.stuckAtPlaylistEnd_=function(t){if(!this.seekable().length)return!1;var e=this.syncController_.getExpiredTime(t,this.duration());if(null===e)return!1;var r=Is.Playlist.playlistEnd(t,e),n=this.tech_.currentTime(),o=this.tech_.buffered();if(!o.length)return r-n<=To;var l=o.end(o.length-1);return l-n<=To&&r-l<=To},r.blacklistCurrentPlaylist=function(t,e){void 0===t&&(t={});var r=t.playlist||this.masterPlaylistLoader_.media();
vendor: 14,694 bytes, line 2
2if(e=e||t.blacklistDuration||this.blacklistDuration,!r)return this.error=t,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));r.playlistErrors_++;var n,o=this.masterPlaylistLoader_.master.playlists,l=o.filter(zo),c=1===l.length&&l[0]===r;if(1===o.length&&e!==1/0)return vo.log.warn("Problem encountered with playlist "+r.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(c);if(c){var h=!1;o.forEach((function(t){if(t!==r){var e=t.excludeUntil;void 0!==e&&e!==1/0&&(h=!0,delete t.excludeUntil)}})),h&&(vo.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}n=r.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*e,r.excludeUntil=n,t.reason&&(r.lastExcludeReason_=t.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var d=this.selectPlaylist();if(!d)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var f=t.internal?this.logger_:vo.log.warn,m=t.message?" "+t.message:"";f((t.internal?"Internal problem":"Problem")+" encountered with playlist "+r.id+"."+m+" Switching to playlist "+d.id+"."),d.attributes.AUDIO!==r.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),d.attributes.SUBTITLES!==r.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var v=d.targetDuration/2*1e3||5e3,y="number"==typeof d.lastRequest&&Date.now()-d.lastRequest<=v;return this.switchMedia_(d,"exclude",c||y)},r.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},r.delegateLoaders_=function(filter,t){var e=this,r=[],n="all"===filter;(n||"main"===filter)&&r.push(this.masterPlaylistLoader_);var o=[];(n||"audio"===filter)&&o.push("AUDIO"),(n||"subtitle"===filter)&&(o.push("CLOSED-CAPTIONS"),o.push("SUBTITLES")),o.forEach((function(t){var n=e.mediaTypes_[t]&&e.mediaTypes_[t].activePlaylistLoader;n&&r.push(n)})),["main","audio","subtitle"].forEach((function(t){var n=e[t+"SegmentLoader_"];!n||filter!==t&&"all"!==filter||r.push(n)})),r.forEach((function(e){return t.forEach((function(t){"function"==typeof e[t]&&e[t]()}))}))},r.setCurrentTime=function(t){var e=Mo(this.tech_.buffered(),t);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?e&&e.length?t:(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},r.duration=function(){if(!this.masterPlaylistLoader_)return 0;var t=this.masterPlaylistLoader_.media();return t?t.endList?this.mediaSource?this.mediaSource.duration:Is.Playlist.duration(t):1/0:0},r.seekable=function(){return this.seekable_},r.onSyncInfoUpdate_=function(){var t;if(this.masterPlaylistLoader_){var e=this.masterPlaylistLoader_.media();if(e){var r=this.syncController_.getExpiredTime(e,this.duration());if(null!==r){var n=this.masterPlaylistLoader_.master,o=Is.Playlist.seekable(e,r,Is.Playlist.liveEdgeDelay(n,e));if(0!==o.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(e=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(r=this.syncController_.getExpiredTime(e,this.duration())))return;if(0===(t=Is.Playlist.seekable(e,r,Is.Playlist.liveEdgeDelay(n,e))).length)return}var l,c;this.seekable_&&this.seekable_.length&&(l=this.seekable_.end(0),c=this.seekable_.start(0)),t?t.start(0)>o.end(0)||o.start(0)>t.end(0)?this.seekable_=o:this.seekable_=vo.createTimeRanges([[t.start(0)>o.start(0)?t.start(0):o.start(0),t.end(0)<o.end(0)?t.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 ["+ko(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},r.updateDuration=function(t){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,t),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(t){var e=this.seekable();if(!e.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<e.end(e.length-1))&&this.sourceUpdater_.setDuration(e.end(e.length-1))}else{var r=this.tech_.buffered(),n=Is.Playlist.duration(this.masterPlaylistLoader_.media());r.length>0&&(n=Math.max(n,r.end(r.length-1))),this.mediaSource.duration!==n&&this.sourceUpdater_.setDuration(n)}},r.dispose=function(){var t=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(e){var r=t.mediaTypes_[e].groups;for(var n in r)r[n].forEach((function(t){t.playlistLoader&&t.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()},r.master=function(){return this.masterPlaylistLoader_.master},r.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},r.areMediaTypesKnown_=function(){var t=!!this.mediaTypes_.AUDIO.activePlaylistLoader,e=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),r=!t||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!e||!r)},r.getCodecsOrExclude_=function(){var t=this,e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},r=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;var n=ds(this.master(),r),o={},l=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(o.video=n.video||e.main.videoCodec||L.b),e.main.isMuxed&&(o.video+=","+(n.audio||e.main.audioCodec||L.a)),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||l)&&(o.audio=n.audio||e.main.audioCodec||e.audio.audioCodec||L.a,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),o.audio||o.video){var c,h={};if(["video","audio"].forEach((function(t){if(o.hasOwnProperty(t)&&(n=e[t].isFmp4,l=o[t],!(n?Object(L.c)(l):Object(L.g)(l)))){var r=e[t].isFmp4?"browser":"muxer";h[r]=h[r]||[],h[r].push(o[t]),"audio"===t&&(c=r)}var n,l})),l&&c&&r.attributes.AUDIO){var d=r.attributes.AUDIO;this.master().playlists.forEach((function(t){(t.attributes&&t.attributes.AUDIO)===d&&t!==r&&(t.excludeUntil=1/0)})),this.logger_("excluding audio group "+d+" as "+c+' does not support codec(s): "'+o.audio+'"')}if(!Object.keys(h).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var f=[];if(["video","audio"].forEach((function(e){var r=(Object(L.h)(t.sourceUpdater_.codecs[e]||"")[0]||{}).type,n=(Object(L.h)(o[e]||"")[0]||{}).type;r&&n&&r.toLowerCase()!==n.toLowerCase()&&f.push('"'+t.sourceUpdater_.codecs[e]+'" -> "'+o[e]+'"')})),f.length)return void this.blacklistCurrentPlaylist({playlist:r,message:"Codec switching not supported: "+f.join(", ")+".",blacklistDuration:1/0,internal:!0})}return o}var m=Object.keys(h).reduce((function(t,e){return t&&(t+=", "),t+=e+' does not support codec(s): "'+h[e].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:r,internal:!0,message:m,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:r,message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},r.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var t=this.getCodecsOrExclude_();if(t){this.sourceUpdater_.createSourceBuffers(t);var e=[t.video,t.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(e)}}},r.excludeUnsupportedVariants_=function(){var t=this,e=this.master().playlists,r=[];Object.keys(e).forEach((function(n){var o=e[n];if(-1===r.indexOf(o.id)){r.push(o.id);var l=ds(t.master,o),c=[];!l.audio||Object(L.g)(l.audio)||Object(L.c)(l.audio)||c.push("audio codec "+l.audio),!l.video||Object(L.g)(l.video)||Object(L.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,t.logger_("excluding "+o.id+" for unsupported: "+c.join(", ")))}}))},r.excludeIncompatibleVariants_=function(t){var e=this,r=[],n=this.master().playlists,o=cs(Object(L.h)(t)),l=hs(o),c=o.video&&Object(L.h)(o.video)[0]||null,h=o.audio&&Object(L.h)(o.audio)[0]||null;Object.keys(n).forEach((function(t){var o=n[t];if(-1===r.indexOf(o.id)&&o.excludeUntil!==1/0){r.push(o.id);var d=[],f=ds(e.masterPlaylistLoader_.master,o),m=hs(f);if(f.audio||f.video){if(m!==l&&d.push('codec count "'+m+'" !== "'+l+'"'),!e.sourceUpdater_.canChangeType()){var v=f.video&&Object(L.h)(f.video)[0]||null,y=f.audio&&Object(L.h)(f.audio)[0]||null;v&&c&&v.type.toLowerCase()!==c.type.toLowerCase()&&d.push('video codec "'+v.type+'" !== "'+c.type+'"'),y&&h&&y.type.toLowerCase()!==h.type.toLowerCase()&&d.push('audio codec "'+y.type+'" !== "'+h.type+'"')}d.length&&(o.excludeUntil=1/0,e.logger_("blacklisting "+o.id+": "+d.join(" && ")))}}}))},r.updateAdCues_=function(t){var e=0,r=this.seekable();r.length&&(e=r.start(0)),function(t,track,e){if(void 0===e&&(e=0),t.segments)for(var r,n=e,i=0;i<t.segments.length;i++){var o=t.segments[i];if(r||(r=eu(track,n+o.duration/2)),r){if("cueIn"in o){r.endTime=n,r.adEndTime=n,n+=o.duration,r=null;continue}if(n<r.endTime){n+=o.duration;continue}r.endTime+=o.duration}else if("cueOut"in o&&((r=new l.a.VTTCue(n,n+o.duration,o.cueOut)).adStartTime=n,r.adEndTime=n+parseFloat(o.cueOut),track.addCue(r)),"cueOutCont"in o){var c=o.cueOutCont.split("/").map(parseFloat),h=c[0],d=c[1];(r=new l.a.VTTCue(n,n+o.duration,"")).adStartTime=n-h,r.adEndTime=r.adStartTime+d,track.addCue(r)}n+=o.duration}}(t,this.cueTagsTrack_,e)},r.goalBufferLength=function(){var t=this.tech_.currentTime(),e=Ra.GOAL_BUFFER_LENGTH,r=Ra.GOAL_BUFFER_LENGTH_RATE,n=Math.max(e,Ra.MAX_GOAL_BUFFER_LENGTH);return Math.min(e+t*r,n)},r.bufferLowWaterLine=function(){var t=this.tech_.currentTime(),e=Ra.BUFFER_LOW_WATER_LINE,r=Ra.BUFFER_LOW_WATER_LINE_RATE,n=Math.max(e,Ra.MAX_BUFFER_LOW_WATER_LINE),o=Math.max(e,Ra.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(e+t*r,this.experimentalBufferBasedABR?o:n)},r.bufferHighWaterLine=function(){return Ra.BUFFER_HIGH_WATER_LINE},e}(vo.EventTarget),bu=function(t,e,r){var n,o,l,c=t.masterPlaylistController_,h=c[(t.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(c);if(e.attributes){var d=e.attributes.RESOLUTION;this.width=d&&d.width,this.height=d&&d.height,this.bandwidth=e.attributes.BANDWIDTH,this.frameRate=e.attributes["FRAME-RATE"]}this.codecs=ds(c.master(),e),this.playlist=e,this.id=r,this.enabled=(n=t.playlists,o=e.id,l=h,function(t){var e=n.master.playlists[o],r=qo(e),c=zo(e);return void 0===t?c:(t?delete e.disabled:e.disabled=!0,t===c||r||(l(),t?n.trigger("renditionenabled"):n.trigger("renditiondisabled")),t)})},_u=["seeking","seeked","pause","playing","error"],wu=function(){function t(t){var e=this;this.masterPlaylistController_=t.masterPlaylistController,this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=t.liveRangeSafeTimeDelta,this.media=t.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=_o("PlaybackWatcher"),this.logger_("initialize");var r=function(){return e.monitorCurrentTime_()},n=function(){return e.monitorCurrentTime_()},o=function(){return e.techWaiting_()},c=function(){return e.cancelTimer_()},h=this.masterPlaylistController_,d=["main","subtitle","audio"],f={};d.forEach((function(t){f[t]={reset:function(){return e.resetSegmentDownloads_(t)},updateend:function(){return e.checkSegmentDownloads_(t)}},h[t+"SegmentLoader_"].on("appendsdone",f[t].updateend),h[t+"SegmentLoader_"].on("playlistupdate",f[t].reset),e.tech_.on(["seeked","seeking"],f[t].reset)}));var m=function(t){["main","audio"].forEach((function(r){h[r+"SegmentLoader_"][t]("appended",e.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){e.fixesBadSeeks_()&&(e.consecutiveUpdates=0,e.lastRecordedTime=e.tech_.currentTime(),m("off"))},this.clearSeekingAppendCheck_=function(){return m("off")},this.watchForBadSeeking_=function(){e.clearSeekingAppendCheck_(),m("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",o),this.tech_.on(_u,c),this.tech_.on("canplay",n),this.tech_.one("play",r),this.dispose=function(){e.clearSeekingAppendCheck_(),e.logger_("dispose"),e.tech_.off("waiting",o),e.tech_.off(_u,c),e.tech_.off("canplay",n),e.tech_.off("play",r),e.tech_.off("seeking",e.watchForBadSeeking_),e.tech_.off("seeked",e.clearSeekingAppendCheck_),d.forEach((function(t){h[t+"SegmentLoader_"].off("appendsdone",f[t].updateend),h[t+"SegmentLoader_"].off("playlistupdate",f[t].reset),e.tech_.off(["seeked","seeking"],f[t].reset)})),e.checkCurrentTimeTimeout_&&l.a.clearTimeout(e.checkCurrentTimeTimeout_),e.cancelTimer_()}}var e=t.prototype;return e.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&l.a.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=l.a.setTimeout(this.monitorCurrentTime_.bind(this),250)},e.resetSegmentDownloads_=function(t){var e=this.masterPlaylistController_[t+"SegmentLoader_"];this[t+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+t+" loader"),this[t+"StalledDownloads_"]=0,this[t+"Buffered_"]=e.buffered_()},e.checkSegmentDownloads_=function(t){var e=this.masterPlaylistController_,r=e[t+"SegmentLoader_"],n=r.buffered_(),o=function(a,b){if(a===b)return!1;if(!a&&b||!b&&a)return!0;
vendor: 4,086 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[t+"Buffered_"],n);this[t+"Buffered_"]=n,o?this.resetSegmentDownloads_(t):(this[t+"StalledDownloads_"]++,this.logger_("found #"+this[t+"StalledDownloads_"]+" "+t+" appends that did not increase buffer (possible stalled download)",{playlistId:r.playlist_&&r.playlist_.id,buffered:Eo(n)}),this[t+"StalledDownloads_"]<10||(this.logger_(t+" loader stalled download exclusion"),this.resetSegmentDownloads_(t),this.tech_.trigger({type:"usage",name:"vhs-"+t+"-download-exclusion"}),"subtitle"!==t&&e.blacklistCurrentPlaylist({message:"Excessive "+t+" segment downloading detected."},1/0)))},e.checkCurrentTime_=function(){if(!this.tech_.paused()&&!this.tech_.seeking()){var t=this.tech_.currentTime(),e=this.tech_.buffered();if(this.lastRecordedTime===t&&(!e.length||t+To>=e.end(e.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&t===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):t===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=t)}},e.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},e.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var t,e=this.seekable(),r=this.tech_.currentTime();this.afterSeekableWindow_(e,r,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(t=e.end(e.length-1));if(this.beforeSeekableWindow_(e,r)){var n=e.start(0);t=n+(n===e.end(0)?0:To)}if(void 0!==t)return this.logger_("Trying to seek outside of seekable at time "+r+" with seekable range "+ko(e)+". Seeking to "+t+"."),this.tech_.setCurrentTime(t),!0;for(var o=this.masterPlaylistController_.sourceUpdater_,l=this.tech_.buffered(),c=o.audioBuffer?o.audioBuffered():null,h=o.videoBuffer?o.videoBuffered():null,d=this.media(),f=d.partTargetDuration?d.partTargetDuration:2*(d.targetDuration-wo),m=[c,h],i=0;i<m.length;i++){if(m[i])if(Co(m[i],r)<f)return!1}var v=xo(l,r);return 0!==v.length&&(t=v.start(0)+To,this.logger_("Buffered region starts ("+v.start(0)+")  just beyond seek point ("+r+"). Seeking to "+t+"."),this.tech_.setCurrentTime(t),!0)},e.waiting_=function(){if(!this.techWaiting_()){var t=this.tech_.currentTime(),e=this.tech_.buffered(),r=Mo(e,t);return r.length&&t+3<=r.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(t),this.logger_("Stopped at "+t+" while inside a buffered region ["+r.start(0)+" -> "+r.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}},e.techWaiting_=function(){var t=this.seekable(),e=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(t,e)){var r=t.end(t.length-1);return this.logger_("Fell out of live window at time "+e+". Seeking to live point (seekable end) "+r),this.cancelTimer_(),this.tech_.setCurrentTime(r),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var n=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,o=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:n.audioBuffered(),videoBuffered:n.videoBuffered(),currentTime:e}))return this.cancelTimer_(),this.tech_.setCurrentTime(e),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var l=xo(o,e);if(l.length>0){var c=l.start(0)-e;return this.logger_("Stopped at "+e+", setting timer for "+c+", seeking to "+l.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*c,e),!0}return!1},e.afterSeekableWindow_=function(t,e,r,n){if(void 0===n&&(n=!1),!t.length)return!1;var o=t.end(t.length-1)+To;return!r.endList&&n&&(o=t.end(t.length-1)+3*r.targetDuration),e>o},e.beforeSeekableWindow_=function(t,e){return!!(t.length&&t.start(0)>0&&e<t.start(0)-this.liveRangeSafeTimeDelta)}
vendor: 4,188 bytes, line 2
2,e.videoUnderflow_=function(t){var e=t.videoBuffered,r=t.audioBuffered,n=t.currentTime;if(e){var o;if(e.length&&r.length){var l=Mo(e,n-3),c=Mo(e,n),h=Mo(r,n);h.length&&!c.length&&l.length&&(o={start:l.end(0),end:h.end(0)})}else{xo(e,n).length||(o=this.gapFromVideoUnderflow_(e,n))}return!!o&&(this.logger_("Encountered a gap in video from "+o.start+" to "+o.end+". Seeking to current time "+n),!0)}},e.skipTheGap_=function(t){var e=this.tech_.buffered(),r=this.tech_.currentTime(),n=xo(e,r);this.cancelTimer_(),0!==n.length&&r===t&&(this.logger_("skipTheGap_:","currentTime:",r,"scheduled currentTime:",t,"nextRange start:",n.start(0)),this.tech_.setCurrentTime(n.start(0)+wo),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},e.gapFromVideoUnderflow_=function(t,e){for(var r=function(t){if(t.length<2)return vo.createTimeRanges();for(var e=[],i=1;i<t.length;i++){var r=t.end(i-1),n=t.start(i);e.push([r,n])}return vo.createTimeRanges(e)}(t),i=0;i<r.length;i++){var n=r.start(i),o=r.end(i);if(e-n<4&&e-n>2)return{start:n,end:o}}return null},t}(),Tu={errorInterval:30,getSource:function(t){return t(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},Su=function t(e,r){var n=0,o=0,l=vo.mergeOptions(Tu,r);e.ready((function(){e.trigger({type:"usage",name:"vhs-error-reload-initialized"}),e.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var c=function(){o&&e.currentTime(o)},h=function(t){null!=t&&(o=e.duration()!==1/0&&e.currentTime()||0,e.one("loadedmetadata",c),e.src(t),e.trigger({type:"usage",name:"vhs-error-reload"}),e.trigger({type:"usage",name:"hls-error-reload"}),e.play())},d=function(){return Date.now()-n<1e3*l.errorInterval?(e.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void e.trigger({type:"usage",name:"hls-error-reload-canceled"})):l.getSource&&"function"==typeof l.getSource?(n=Date.now(),l.getSource.call(e,h)):void vo.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},f=function t(){e.off("loadedmetadata",c),e.off("error",d),e.off("dispose",t)};e.on("error",d),e.on("dispose",f),e.reloadSourceOnError=function(r){f(),t(e,r)}},Mu="2.16.2",xu={PlaylistLoader:la,Playlist:Qo,utils:Ta,STANDARD_PLAYLIST_SELECTOR:bs,INITIAL_PLAYLIST_SELECTOR:function(){var t=this,e=this.playlists.master.playlists.filter(Qo.isEnabled);return gs(e,(function(a,b){return vs(a,b)})),e.filter((function(e){return!!ds(t.playlists.master,e).video}))[0]||null},lastBandwidthSelector:bs,movingAverageBandwidthSelector:function(t){var e=-1,r=-1;if(t<0||t>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var n=this.useDevicePixelRatio&&l.a.devicePixelRatio||1;return e<0&&(e=this.systemBandwidth,r=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==r&&(e=t*this.systemBandwidth+(1-t)*e,r=this.systemBandwidth),ys(this.playlists.master,e,parseInt(ms(this.tech_.el(),"width"),10)*n,parseInt(ms(this.tech_.el(),"height"),10)*n,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:vs,comparePlaylistResolution:function(t,e){var r,n;return t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),r=r||l.a.Number.MAX_VALUE,e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),r===(n=n||l.a.Number.MAX_VALUE)&&t.attributes.BANDWIDTH&&e.attributes.BANDWIDTH?t.attributes.BANDWIDTH-e.attributes.BANDWIDTH:r-n},xhr:fa()};Object.keys(Ra).forEach((function(t){Object.defineProperty(xu,t,{get:function(){return vo.log.warn("using Vhs."+t+" is UNSAFE be sure you know what you are doing"),Ra[t]},set:function(e){vo.log.warn("using Vhs."+t+" is UNSAFE be sure you know what you are doing"),"number"!=typeof e||e<0?vo.log.warn("value of Vhs."+t+" must be greater than or equal to 0"):Ra[t]=e}})}));var ku="videojs-vhs",Eu=function(t,e){for(var r=e.media(),n=-1,i=0;i<t.length;i++)if(t[i].id===r.id){n=i;break}t.selectedIndex_=n,t.trigger({selectedIndex:n,type:"change"})};xu.canPlaySource=function(){return vo.log.warn("HLS is no longer a tech. Please remove it from your player'
2s techOrder.")};var Ou=function(t){var e=t.player,r=t.sourceKeySystems,n=t.audioMedia,o=t.mainPlaylists;if(!e.eme.initializeMediaKeys)return Promise.resolve();var l=function(t,e){return t.reduce((function(t,r){if(!r.contentProtection)return t;var n=e.reduce((function(t,e){var n=r.contentProtection[e];return n&&n.pssh&&(t[e]={pssh:n.pssh}),t}),{});return Object.keys(n).length&&t.push(n),t}),[])}(n?o.concat([n]):o,Object.keys(r)),c=[],h=[];return l.forEach((function(t){h.push(new Promise((function(t,r){e.tech_.one("keysessioncreated",t)}))),c.push(new Promise((function(r,n){e.eme.initializeMediaKeys({keySystems:t},(function(t){t?n(t):r()}))})))})),Promise.race([Promise.all(c),Promise.race(h)])},Cu=function(t){var e=t.player,r=function(t,e,r){if(!t)return t;var n={};e&&e.attributes&&e.attributes.CODECS&&(n=cs(Object(L.h)(e.attributes.CODECS))),r&&r.attributes&&r.attributes.CODECS&&(n.audio=r.attributes.CODECS);var o=Object(L.e)(n.video),l=Object(L.e)(n.audio),c={};for(var h in t)c[h]={},l&&(c[h].audioContentType=l),o&&(c[h].videoContentType=o),e.contentProtection&&e.contentProtection[h]&&e.contentProtection[h].pssh&&(c[h].pssh=e.contentProtection[h].pssh),"string"==typeof t[h]&&(c[h].url=t[h]);return vo.mergeOptions(t,c)}(t.sourceKeySystems,t.media,t.audioMedia);return!!r&&(e.currentSource().keySystems=r,!(r&&!e.eme)||(vo.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},Au=function(){if(!l.a.localStorage)return null;var t=l.a.localStorage.getItem(ku);if(!t)return null;try{return JSON.parse(t)}catch(t){return null}};xu.supportsNativeHls=function(){if(!h.a||!h.a.createElement)return!1;var video=h.a.createElement("video");if(!vo.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(t){return/maybe|probably/i.test(video.canPlayType(t))}))}(),xu.supportsNativeDash=!!(h.a&&h.a.createElement&&vo.getTech("Html5").isSupported())&&/maybe|probably/i.test(h.a.createElement("video").canPlayType("application/dash+xml")),xu.supportsTypeNatively=function(t){return"hls"===t?xu.supportsNativeHls:"dash"===t&&xu.supportsNativeDash},xu.isSupported=function(){return vo.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Iu=function(t){function e(source,e,r){var n;if(n=t.call(this,e,vo.mergeOptions(r.hls,r.vhs))||this,r.hls&&Object.keys(r.hls).length&&vo.log.warn("Using hls options is deprecated. Please rename `hls` to `vhs` in your options object."),"number"==typeof r.initialBandwidth&&(n.options_.bandwidth=r.initialBandwidth),n.logger_=_o("VhsHandler"),e.options_&&e.options_.playerId){var o=vo(e.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return vo.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),e.trigger({type:"usage",name:"hls-player-access"}),_()(n)},configurable:!0}),o.hasOwnProperty("vhs")||Object.defineProperty(o,"vhs",{get:function(){return vo.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),e.trigger({type:"usage",name:"vhs-player-access"}),_()(n)},configurable:!0}),o.hasOwnProperty("dash")||Object.defineProperty(o,"dash",{get:function(){return vo.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),_()(n)},configurable:!0}),n.player_=o}if(n.tech_=e,n.source_=source,n.stats={},n.ignoreNextSeekingEvent_=!1,n.setOptions_(),n.options_.overrideNative&&e.overrideNativeAudioTracks&&e.overrideNativeVideoTracks)e.overrideNativeAudioTracks(!0),e.overrideNativeVideoTracks(!0);else if(n.options_.overrideNative&&(e.featuresNativeVideoTracks||e.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return n.on(h.a,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(t){var e=h.a.fullscreenElement||h.a.webkitFullscreenElement||h.a.mozFullScreenElement||h.a.msFullscreenElement;e&&e.contains(n.tech_.el())?n.masterPlaylistController_.fastQualityChange_():n.masterPlaylistController_.checkABR_()})),n.on(n.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),n.on(n.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),n.on(n.tech_,"play",n.play),n}T()(e,t);var r=e.prototype;return r.setOptions_=function(){var t=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_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!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 e=Au();e&&e.bandwidth&&(this.options_.bandwidth=e.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),e&&e.throughput&&(this.options_.throughput=e.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=Ra.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Ra.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","useDtsForTimestampOffset","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(option){void 0!==t.source_[option]&&(t.options_[option]=t.source_[option])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},r.src=function(t,e){var r=this;if(t){var n;this.setOptions_(),this.options_.src=0===(n=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(n.substring(n.indexOf(",")+1)):n,this.options_.tech=this.tech_,this.options_.externVhs=xu,this.options_.sourceType=Object(N.a)(e),this.options_.seekTo=function(time){r.tech_.setCurrentTime(time)},this.options_.smoothQualityChange&&vo.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new yu(this.options_);var o=vo.mergeOptions({liveRangeSafeTimeDelta:To},this.options_,{seekable:function(){return r.seekable()},media:function(){return r.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new wu(o),this.masterPlaylistController_.on("error",(function(){var t=vo.players[r.tech_.options_.playerId],e=r.masterPlaylistController_.error;"object"!=typeof e||e.code?"string"==typeof e&&(e={message:e,code:3}):e.code=3,t.error(e)}));var c=this.options_.experimentalBufferBasedABR?xu.movingAverageBandwidthSelector(.55):xu.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):c.bind(this),this.masterPlaylistController_.selectInitialPlaylist=xu.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(t){this.masterPlaylistController_.selectPlaylist=t.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(t){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=t,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var t=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,e=l.a.navigator.connection||l.a.navigator.mozConnection||l.a.navigator.webkitConnection,r=1e7;if(this.options_.useNetworkInformationApi&&e){var n=1e3*e.downlink*1e3;t=n>=r&&t>=r?Math.max(t,n):n}return t},set:function(t){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=t,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var t,e=1/(this.bandwidth||1);return t=this.throughput>0?1/this.throughput:0,Math.floor(1/(e+t))},set:function(){vo.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 r.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return r.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return r.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return r.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return r.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return r.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return r.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return r.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return r.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return r.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return r.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return r.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return r.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return Eo(r.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return r.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return r.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return r.tech_.name_},enumerable:!0},duration:{get:function(){return r.tech_.duration()},enumerable:!0},master:{get:function(){return r.playlists.master},enumerable:!0},playerDimensions:{get:function(){return r.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return Eo(r.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return r.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){r.options_.useBandwidthFromLocalStorage&&function(t){if(!l.a.localStorage)return!1;var e=Au();e=e?vo.mergeOptions(e,t):t;try{l.a.localStorage.setItem(ku,JSON.stringify(e))}catch(t){return!1}}({bandwidth:r.bandwidth,throughput:Math.round(r.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t;(t=r).representations=function(){var e=t.masterPlaylistController_.master(),r=Go(e)?t.masterPlaylistController_.getAudioTrackPlaylists_():e.playlists;
vendor: 1,671 bytes, line 2
2return r?r.filter((function(t){return!qo(t)})).map((function(e,i){return new bu(t,e,e.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){r.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_))}},r.createKeySessions_=function(){var t=this,e=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),Ou({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){t.logger_("created EME key session"),t.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(e){t.logger_("error while creating EME key session",e),t.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},r.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},r.setupEme_=function(){var t=this,e=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,r=Cu({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});this.player_.tech_.on("keystatuschange",(function(e){if("output-restricted"===e.status){var r=t.masterPlaylistController_.master();if(r&&r.playlists){var n,o=[];
2if(r.playlists.forEach((function(t){t&&t.attributes&&t.attributes.RESOLUTION&&t.attributes.RESOLUTION.height>=720&&(!t.excludeUntil||t.excludeUntil<1/0)&&(t.excludeUntil=1/0,o.push(t))})),o.length)(n=vo.log).warn.apply(n,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(o)),t.masterPlaylistController_.fastQualityChange_()}}})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==vo.browser.IE_VERSION&&r?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},r.setupQualityLevels_=function(){var t=this,e=vo.players[this.tech_.options_.playerId];e&&e.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=e.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e,r;e=t.qualityLevels_,(r=t).representations().forEach((function(t){e.addQualityLevel(t)})),Eu(e,r.playlists)})),this.playlists.on("mediachange",(function(){Eu(t.qualityLevels_,t.playlists)})))},e.version=function(){return{"@videojs/http-streaming":Mu,"mux.js":"6.0.1","mpd-parser":"0.22.1","m3u8-parser":"4.8.0","aes-decrypter":"3.1.3"}},r.version=function(){return this.constructor.version()},r.canChangeType=function(){return Xs.canChangeType()},r.play=function(){this.masterPlaylistController_.play()},r.setCurrentTime=function(t){this.masterPlaylistController_.setCurrentTime(t)},r.duration=function(){return this.masterPlaylistController_.duration()},r.seekable=function(){return this.masterPlaylistController_.seekable()},r.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_),t.prototype.dispose.call(this)},r.convertToProgramTime=function(time,t){return Sa({playlist:this.masterPlaylistController_.media(),time:time,callback:t})},r.seekToProgramTime=function(t,e,r,n){return void 0===r&&(r=!0),void 0===n&&(n=2),Ma({programTime:t,playlist:this.masterPlaylistController_.media(),retryCount:n,pauseAfterSeek:r,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:e})},e}(vo.getComponent("Component")),Pu={name:"videojs-http-streaming",VERSION:Mu,canHandleSource:function(t,e){void 0===e&&(e={});var r=vo.mergeOptions(vo.options,e);return Pu.canPlayType(t.type,r)},handleSource:function(source,t,e){void 0===e&&(e={});var r=vo.mergeOptions(vo.options,e);return t.vhs=new Iu(source,t,r),vo.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return vo.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=fa(),t.vhs.src(source.src,source.type),t.vhs},canPlayType:function(t,e){var r=Object(N.a)(t);if(!r)return"";var n=Pu.getOverrideNative(e);return!xu.supportsTypeNatively(r)||n?"maybe":""},getOverrideNative:function(t){void 0===t&&(t={});var e=t,r=e.vhs,n=void 0===r?{}:r,o=e.hls,l=void 0===o?{}:o,c=!(vo.browser.IS_ANY_SAFARI||vo.browser.IS_IOS),h=n.overrideNative,d=void 0===h?c:h,f=l.overrideNative;return void 0!==f&&f||d}};(Object(L.c)("avc1.4d400d,mp4a.40.2")&&vo.getTech("Html5").registerSourceHandler(Pu,0),vo.VhsHandler=Iu,Object.defineProperty(vo,"HlsHandler",{get:function(){return vo.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),Iu},configurable:!0}),vo.VhsSourceHandler=Pu,Object.defineProperty(vo,"HlsSourceHandler",{get:function(){return vo.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),Pu},configurable:!0}),vo.Vhs=xu,Object.defineProperty(vo,"Hls",{get:function(){return vo.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),xu},configurable:!0}),vo.use||(vo.registerComponent("Hls",xu),vo.registerComponent("
2Vhs",xu)),vo.options.vhs=vo.options.vhs||{},vo.options.hls=vo.options.hls||{},vo.getPlugin&&vo.getPlugin("reloadSourceOnError"))||(vo.registerPlugin||vo.plugin)("reloadSourceOnError",(function(t){Su(this,t)}));e.a=vo}).call(this,r(40))},function(t,e){t.exports=function(t,e){var r,n=null;try{r=JSON.parse(t,e)}catch(t){n=t}return[n,r]}},,function(t,e,r){var n=r(379);e.DOMImplementation=n.DOMImplementation,e.XMLSerializer=n.XMLSerializer,e.DOMParser=r(608).DOMParser},function(t,e,r){var n=r(611).getUint64;t.exports=function(data){var view=new DataView(data.buffer,data.byteOffset,data.byteLength),t={version:data[0],flags:new Uint8Array(data.subarray(1,4)),references:[],referenceId:view.getUint32(4),timescale:view.getUint32(8)},i=12;0===t.version?(t.earliestPresentationTime=view.getUint32(i),t.firstOffset=view.getUint32(i+4),i+=8):(t.earliestPresentationTime=n(data.subarray(i)),t.firstOffset=n(data.subarray(i+8)),i+=16),i+=2;var e=view.getUint16(i);for(i+=2;e>0;i+=12,e--)t.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 t}},,function(t,e,r){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){"use strict";i.r(e),i.d(e,"ShareNetwork",(function(){return o}));var r={baidu:"http://cang.baidu.com/do/add?iu=@u&it=@t",buffer:"https://bufferapp.com/add?text=@t&url=@u",email:"mailto:?subject=@t&body=@u%0D%0A@d",evernote:"https://www.evernote.com/clip.action?url=@u&title=@t",facebook:"https://www.facebook.com/sharer/sharer.php?u=@u&title=@t&description=@d&quote=@q&hashtag=@h",flipboard:"https://share.flipboard.com/bookmarklet/popout?v=2&url=@u&title=@t",hackernews:"https://news.ycombinator.com/submitlink?u=@u&t=@t",instapaper:"http://www.instapaper.com/edit?url=@u&title=@t&description=@d",line:"http://line.me/R/msg/text/?@t%0D%0A@u%0D%0A@d",linkedin:"https://www.linkedin.com/sharing/share-offsite/?url=@u",messenger:"fb-messenger://share/?link=@u",odnoklassniki:"https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=@u&st.comments=@t",pinterest:"https://pinterest.com/pin/create/button/?url=@u&media=@m&description=@t",pocket:"https://getpocket.com/save?url=@u&title=@t",quora:"https://www.quora.com/share?url=@u&title=@t",reddit:"https://www.reddit.com/submit?url=@u&title=@t",skype:"https://web.skype.com/share?url=@t%0D%0A@u%0D%0A@d",sms:"sms:?body=@t%0D%0A@u%0D%0A@d",stumbleupon:"https://www.stumbleupon.com/submit?url=@u&title=@t",telegram:"https://t.me/share/url?url=@u&text=@t%0D%0A@d",tumblr:"https://www.tumblr.com/share/link?url=@u&name=@t&description=@d",twitter:"https://twitter.com/intent/tweet?text=@t&url=@u&hashtags=@h@tu",viber:"viber://forward?text=@t%0D%0A@u%0D%0A@d",vk:"https://vk.com/share.php?url=@u&title=@t&description=@d&image=@m&noparse=true",weibo:"http://service.weibo.com/share/share.php?url=@u&title=@t&pic=@m",whatsapp:"https://api.whatsapp.com/send?text=@t%0D%0A@u%0D%0A@d",wordpress:"https://wordpress.com/press-this.php?u=@u&t=@t&s=@d&i=@m",xing:"https://www.xing.com/social/share/spi?op=share&url=@u&title=@t",yammer:"https://www.yammer.com/messages/new?login=true&status=@t%0D%0A@u%0D%0A@d"},n="undefined"!=typeof window?window:null,o={name:"ShareNetwork",props:{network:{type:String,required:!0},url:{type:String,required:!0},title:{type:String,required:!0},description:{type:String,default:""},quote:{type:String,default:""},hashtags:{type:String,default:""},twitterUser:{type:String,default:""},media:{type:String,default:""},tag:{type:String,default:"a"},popup:{type:Object,default:function(){return{width:626,height:436}}}},data:function(){return{popupTop:0,popupLeft:0,popupWindow:void 0,popupInterval:null}},computed:{networks:function(){return this.$SocialSharing?this.$SocialSharing.options.networks:r},key:function(){return this.network.toLowerCase()},rawLink:function(){var t=navigator.userAgent.toLowerCase();return"sms"===this.key&&(t.indexOf("iphone")>-1||t.indexOf("ipad")>-1)?this.networks[this.key].replace(":?",":&"):this.networks[this.key]},shareLink:function(){var t=this.rawLink;return"twitter"===this.key&&(this.hashtags.length||(t=t.replace("&hashtags=@h","")),this.twitterUser.length||(t=t.replace("@tu",""))),t.replace(/@tu/g,"&via="+encodeURIComponent(this.twitterUser)).replace(/@u/g,encodeURIComponent(this.url)).replace(/@t/g,encodeURIComponent(this.title)).replace(/@d/g,encodeURIComponent(this.description)).replace(/@q/g,encodeURIComponent(this.quote)).replace(/@h/g,this.encodedHashtags).replace(/@m/g,encodeURIComponent(this.media))},encodedHashtags:function(){return"facebook"===this.key&&this.hashtags.length?"%23"+this.hashtags.split(",")[0]:this.hashtags}},render:function(t){var e=this;if(!this.networks.hasOwnProperty(this.key))throw new Error("Network "+this.key+" does not exist");var i={class:"share-network-"+this.key,on:{click:function(){return e["http"===e.rawLink.substring(0,4)?"share":"touch"]()}}};return"a"===this.tag&&(i.attrs={href:"javascript:void(0)"}),t(this.tag,i,this.$slots.default)},methods:{resizePopup:function(){var t=n.innerWidth||document.documentElement.clientWidth||n.screenX,e=n.innerHeight||document.documentElement.clientHeight||n.screenY,i=t/n.screen.availWi
2dth;this.popupLeft=(t-this.popup.width)/2/i+(void 0!==n.screenLeft?n.screenLeft:n.screenX),this.popupTop=(e-this.popup.height)/2/i+(void 0!==n.screenTop?n.screenTop:n.screenY)},share:function(){var t=this;this.resizePopup(),this.popupWindow&&this.popupInterval&&(clearInterval(this.popupInterval),this.popupWindow.close(),this.emit("change")),this.popupWindow=n.open(this.shareLink,"sharer-"+this.key,",height="+this.popup.height+",width="+this.popup.width+",left="+this.popupLeft+",top="+this.popupTop+",screenX="+this.popupLeft+",screenY="+this.popupTop),this.popupWindow&&(this.popupWindow.focus(),this.popupInterval=setInterval((function(){t.popupWindow&&!t.popupWindow.closed||(clearInterval(t.popupInterval),t.popupWindow=null,t.emit("close"))}),500),this.emit("open"))},touch:function(){window.open(this.shareLink,"_blank"),this.emit("open")},emit:function(t){this.$root.$emit("share_network_"+t,this.key,this.url),this.$emit(t,this.key,this.url)}}};e.default={install:function(t,e){t.component(o.name,o),t.prototype.$SocialSharing={options:{networks:e&&e.hasOwnProperty("networks")?Object.assign(r,e.networks):r}}}}}])},function(t,e){t.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=r(1);t.exports=function(e,r){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a="object"===("undefined"==typeof document?"undefined":n(document))&&"string"==typeof document.cookie,s="object"===(void 0===e?"undefined":n(e))&&"object"===(void 0===r?"undefined":n(r))&&void 0!==t,u=!a&&!s||a&&s,l=function(t){if(s){var n=e.headers.cookie||"";return t&&(n=(n=r.getHeaders())["set-cookie"]?n["set-cookie"].map((function(t){return t.split(";")[0]})).join(";"):""),n}if(a)return document.cookie||""},c=function(){var t=r.getHeader("Set-Cookie");return(t="string"==typeof t?[t]:t)||[]},p=function(t){return r.setHeader("Set-Cookie",t)},h=function(t,e){if(!e)return t;try{return JSON.parse(t)}catch(e){return t}},d={parseJSON:i,set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"};if(!u)if(e="object"===(void 0===e?"undefined":n(e))?JSON.stringify(e):e,s){var i=c();i.push(o.serialize(t,e,r)),p(i)}else document.cookie=o.serialize(t,e,r)},setAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];u||Array.isArray(t)&&t.forEach((function(t){var e=t.name,r=void 0===e?"":e,n=t.value,o=void 0===n?"":n,i=t.opts,a=void 0===i?{path:"/"}:i;d.set(r,o,a)}))},get:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fromRes:!1,parseJSON:d.parseJSON};if(u)return"";var r=o.parse(l(e.fromRes))[t];return h(r,e.parseJSON)},getAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fromRes:!1,parseJSON:d.parseJSON};if(u)return{};var e=o.parse(l(t.fromRes));for(var r in e)e[r]=h(e[r],t.parseJSON);return e},remove:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"};u||(e.expires=new Date(0),d.set(t,"",e))},removeAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"};if(!u){var e=o.parse(l());for(var r in e)d.remove(r,t)}},nodeCookie:o};return d}},function(t,e,r){"use strict";function i(t,e){try{return e(t)}catch(e){return t}}e.parse=function(t,e){if("string"!=typeof t)throw new TypeError("argument str must be a string");for(var r={},n=e||{},o=t.split(u),s=n.decode||a,l=0;l<o.length;l++){var c=o[l],p=c.indexOf("=");if(!(p<0)){var h=c.substr(0,p).trim(),d=c.substr(++p,c.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==r[h]&&(r[h]=i(d,s))}}return r},e.serialize=function(t,e,r){var o=r||{},l=o.encode||s;if("function"!=typeof l)throw new TypeError("option encode is invali
2d");if(!n.test(t))throw new TypeError("argument name is invalid");var i=l(e);if(i&&!n.test(i))throw new TypeError("argument val is invalid");var a=t+"="+i;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");a+="; Max-Age="+Math.floor(u)}if(o.domain){if(!n.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!n.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a};var a=decodeURIComponent,s=encodeURIComponent,u=/; */,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/}])},function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}r.d(e,"a",(function(){return n}))},function(t,e,r){t.exports=r(717).Observable},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));
2var n=function(t,b){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},n(t,b)};function o(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}},function(t,e,r){"use strict";t.exports=function(data,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var e,r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(e=t.cmp,function(t){return function(a,b){var r={key:a,value:t[a]},n={key:b,value:t[b]};return e(r,n)}}),o=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var i,l;if(Array.isArray(e)){for(l="[",i=0;i<e.length;i++)i&&(l+=","),l+=t(e[i])||"null";return l+"]"}if(null===e)return"null";if(-1!==o.indexOf(e)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=o.push(e)-1,h=Object.keys(e).sort(n&&n(e));for(l="",i=0;i<h.length;i++){var d=h[i],f=t(e[d]);f&&(l&&(l+=","),l+=JSON.stringify(d)+":"+f)}return o.splice(c,1),"{"+l+"}"}}(data)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.graphql=void 0;var n=r(223),o=r(4),l=r(718);function c(t,e,r){return n.__awaiter(this,void 0,void 0,(function(){var d,f,m,v,y,_=this;return n.__generator(this,(function(w){switch(w.label){case 0:return d=r.fragmentMap,f=r.contextValue,m=r.variableValues,v={},y=function(t){return n.__awaiter(_,void 0,void 0,(function(){var y,_,w,T,S;return n.__generator(this,(function(n){switch(n.label){case 0:return(0,o.shouldInclude)(t,m)?(0,o.isField)(t)?[4,h(t,e,r)]:[3,2]:[2];case 1:return y=n.sent(),_=(0,o.resultKeyNameFromField)(t),void 0!==y&&(void 0===v[_]?v[_]=y:(0,l.merge)(v[_],y)),[2];case 2:if((0,o.isInlineFragment)(t))w=t;else if(!(w=d[t.name.value]))throw new Error("No fragment named ".concat(t.name.value));return T=w.typeCondition.name.value,r.fragmentMatcher(e,T,f)?[4,c(w.selectionSet,e,r)]:[3,4];case 3:S=n.sent(),(0,l.merge)(v,S),n.label=4;case 4:return[2]}}
2))}))},[4,Promise.all(t.selections.map(y))];case 1:return w.sent(),r.resultMapper?[2,r.resultMapper(v,e)]:[2,v]}}))}))}function h(t,e,r){return n.__awaiter(this,void 0,void 0,(function(){var l,h,f,m,v,y,_;return n.__generator(this,(function(n){switch(n.label){case 0:return l=r.variableValues,h=r.contextValue,f=r.resolver,m=t.name.value,v=(0,o.argumentsObjectFromField)(t,l),y={isLeaf:!t.selectionSet,resultKey:(0,o.resultKeyNameFromField)(t),directives:(0,o.getDirectiveInfoFromField)(t,l),field:t},[4,f(m,e,v,h,y)];case 1:return _=n.sent(),t.selectionSet?null==_?[2,_]:Array.isArray(_)?[2,d(t,_,r)]:[2,c(t.selectionSet,_,r)]:[2,_]}}))}))}function d(t,e,r){return Promise.all(e.map((function(e){return null===e?null:Array.isArray(e)?d(t,e,r):c(t.selectionSet,e,r)})))}e.graphql=function(t,e,r,n,l,h){void 0===h&&(h={});var d=(0,o.getMainDefinition)(e),f=(0,o.getFragmentDefinitions)(e),m={fragmentMap:(0,o.createFragmentMap)(f),contextValue:n,variableValues:l,resultMapper:h.resultMapper,resolver:t,fragmentMatcher:h.fragmentMatcher||function(){return!0}};return c(d.selectionSet,r,m)}},function(t,e,r){"use strict";var n=r(719)(r(77)),o=r(52),l=o.ApolloLink,c=o.Observable,h=r(794),d=h.selectURI,f=h.selectHttpOptionsAndBody,m=h.fallbackHttpConfig,v=h.serializeFetchParameter,y=h.createSignalIfSupported,_=h.parseAndCheckHttpResponse,w=r(720),T=w.extractFiles,S=w.isExtractableFile,M=w.ReactNativeFile;function x(t,e,r){t.append(e,r,r.name)}e.ReactNativeFile=M,e.isExtractableFile=S,e.formDataAppendFile=x,e.createUploadLink=function(t){var e=void 0===t?{}:t,r=e.uri,o=void 0===r?"/graphql":r,h=e.isExtractableFile,w=void 0===h?S:h,M=e.FormData,k=e.formDataAppendFile,E=void 0===k?x:k,O=e.fetch,C=e.fetchOptions,A=e.credentials,I=e.headers,P={http:{includeExtensions:e.includeExtensions},options:C,credentials:A,headers:I};return new l((function(t){var e=d(t,o),r=t.getContext(),l=r.clientAwareness,h=(l=void 0===l?{}:l).name,S=l.version,x=r.headers,k={http:r.http,options:r.fetchOptions,credentials:r.credentials,headers:(0,n.default)({},h&&{"apollographql-client-name":h},{},S&&{"apollographql-client-version":S},{},x)},C=f(t,m,P,k),A=C.options,body=C.body,I=T(body,"",w),R=I.clone,D=I.files,L=v(R,"Payload");if(D.size){delete A.headers["content-type"];var form=new(M||FormData);form.append("operations",L);var map={},i=0;D.forEach((function(t){map[++i]=t})),form.append("map",JSON.stringify(map)),i=0,D.forEach((function(t,e){E(form,++i,e)})),A.body=form}else A.body=L;return new c((function(r){var n;if(!A.signal){var o=y().controller;o&&(n=o,A.signal=n.signal)}return(O||fetch)(e,A).then((function(e){return t.setContext({response:e}),e})).then(_(t)).then((function(t){r.next(t),r.complete()})).catch((function(t){"AbortError"!==t.name&&(t.result&&t.result.errors&&t.result.data&&r.next(t.result),r.error(t))})),function(){n&&n.abort()}}))}))}},,,function(t){t.exports=JSON.parse('{"title":"DrPad","meta":[{"hid":"charset","charset":"utf-8"},{"hid":"viewport","name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"mobile-web-app-capable","name":"mobile-web-app-capable","content":"yes"},{"hid":"apple-mobile-web-app-title","name":"apple-mobile-web-app-title","content":"DrPad"},{"hid":"og:type","name":"og:type","property":"og:type","content":"website"},{"hid":"og:title","name":"og:title","property":"og:title","content":"DrPad"},{"hid":"og:site_name","name":"og:site_name","property":"og:site_name","content":"DrPad"}],"link":[{"hid":"shortcut-icon","rel":"shortcut icon","href":"/_nuxt/icons/icon_64x64.94bd3a.png"},{"hid":"apple-touch-icon","rel":"apple-touch-icon","href":"/_nuxt/icons/icon_512x512.94bd3a.png","sizes":"512x512"},{"rel":"manifest","href":"/_nuxt/manifest.ae0fbb4f.json","hid":"manifest"}],"htmlAttrs":{"lang":"en"}}')},function(t,e,r){"use strict";(function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function h(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?c(Object(source),!0).forEach((function(e){l(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function m(t,p){return m=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t},m(t,p)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?v(t):e}(this,r)}}function _(t,e,r){return _="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var base=function(object,t){for(;!Object.prototype.hasOwnProperty.call(object,t)&&null!==(object=f(object)););return object}(t,e);if(base){var desc=Object.getOwnPropertyDescriptor(base,e);return desc.get?desc.get.call(r):desc.value}},_(t,e,r||t)}function w(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],r=!0,n=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(r=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);r=!0);}catch(t){n=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(n)throw o}}return e}(t,i)||S(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||S(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){if(t){if("string"==typeof t)return M(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}var x={el:document,name:"scroll",offset:[0,0],repeat:!1,smooth:!1,initPosition:{x:0,y:0},direction:"vertical",gestureDirection:"vertical",reloadOnContextChange:!1,lerp:.1,class:"is-inview",scrollbarContainer:!1,scrollbarClass:"c-scrollbar",scrollingClass:"has-scroll-scrolling",draggingClass:"has-scroll-dragging",smoothClass:"has-scroll-smooth",initClass:"has-scroll-init",getSpeed:!1,getDirection:!1,scrollFromAnywhere:!1,multiplier:1,firefoxMultiplier:50,touchMultiplier:2,resetNativeScroll:!0,tablet:{smooth:!1,direction:"vertical",gestureDirection:"vertical",breakpoint:1024},smartphone:{smooth:!1,direction:"vertical",gestureDirection:"vertical"}},k=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),Object.assign(this,x,e),this.smartphone=x.smartphone,e.smartphone&&Object.assign(this.smartphone,e.smartphone),this.tablet=x.tablet,e.tablet&&Object.assign(this.tablet,e.tablet),this.namespace="locomotive",this.html=document.documentElement,this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.els={},this.currentElements={},this.listeners={},this.hasScrollTicking=!1,this.hasCallEventSet=!1,this.checkScroll=this.checkScroll.bind(this),this.checkResize=this.checkResize.bind(this),this.checkEvent=this.checkEvent.bind(this),this.instance={scroll:{x:0,y:0},limit:{x:this.html.offsetWidth,y:this.html.offsetHeight},currentElements:this.currentElements},this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",this.isMobile&&(this.direction=this[this.context].direction),"horizontal"===this.direction?this.directionAxis="x":this.directionAxis="y",this.getDirection&&(this.instance.direction=null),this.getDirection&&(this.instance.speed=0),this.html.classList.add(this.initClass),window.addEventListener("resize",this.checkResize,!1)}return o(t,[{key:"init",value:function(){this.initEvents()}},{key:"checkScroll",value:function(){this.dispatchScroll()}},{key:"checkResize",value:function(){var t=this;this.resizeTick||(this.resizeTick=!0,requestAnimationFrame((function(){t.resize(),t.resizeTick=!1})))}},{key:"resize",value:function(){}},{key:"checkContext",value:function(){if(this.reloadOnContextChange){this.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||this.windowWidth<this.tablet.breakpoint,this.isTablet=this.isMobile&&this.windowWidth>=this.tablet.breakpoint;var t=this.context;if(this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",t!=this.context)("desktop"==t?this.smooth:this[t].smooth)!=("desktop"==this.context?this.smooth:this[this.context].smooth)&&window.location.reload()}}},{key:"initEvents",value:function(){var t=this;this.scrollToEls=this.el.querySelectorAll("[data-".concat(this.name,"-to]")),this.setScrollTo=this.setScrollTo.bind(this),this.scrollToEls.forEac
2h((function(e){e.addEventListener("click",t.setScrollTo,!1)}))}},{key:"setScrollTo",value:function(t){t.preventDefault(),this.scrollTo(t.currentTarget.getAttribute("data-".concat(this.name,"-href"))||t.currentTarget.getAttribute("href"),{offset:t.currentTarget.getAttribute("data-".concat(this.name,"-offset"))})}},{key:"addElements",value:function(){}},{key:"detectElements",value:function(t){var e=this,r=this.instance.scroll.y,n=r+this.windowHeight,o=this.instance.scroll.x,l=o+this.windowWidth;Object.entries(this.els).forEach((function(c){var h=w(c,2),i=h[0],d=h[1];if(!d||d.inView&&!t||("horizontal"===e.direction?l>=d.left&&o<d.right&&e.setInView(d,i):n>=d.top&&r<d.bottom&&e.setInView(d,i)),d&&d.inView)if("horizontal"===e.direction){var f=d.right-d.left;d.progress=(e.instance.scroll.x-(d.left-e.windowWidth))/(f+e.windowWidth),(l<d.left||o>d.right)&&e.setOutOfView(d,i)}else{var m=d.bottom-d.top;d.progress=(e.instance.scroll.y-(d.top-e.windowHeight))/(m+e.windowHeight),(n<d.top||r>d.bottom)&&e.setOutOfView(d,i)}})),this.hasScrollTicking=!1}},{key:"setInView",value:function(t,i){this.els[i].inView=!0,t.el.classList.add(t.class),this.currentElements[i]=t,t.call&&this.hasCallEventSet&&(this.dispatchCall(t,"enter"),t.repeat||(this.els[i].call=!1))}},{key:"setOutOfView",value:function(t,i){var e=this;this.els[i].inView=!1,Object.keys(this.currentElements).forEach((function(t){t===i&&delete e.currentElements[t]})),t.call&&this.hasCallEventSet&&this.dispatchCall(t,"exit"),t.repeat&&t.el.classList.remove(t.class)}},{key:"dispatchCall",value:function(t,e){this.callWay=e,this.callValue=t.call.split(",").map((function(t){return t.trim()})),this.callObj=t,1==this.callValue.length&&(this.callValue=this.callValue[0]);var r=new Event(this.namespace+"call");this.el.dispatchEvent(r)}},{key:"dispatchScroll",value:function(){var t=new Event(this.namespace+"scroll");this.el.dispatchEvent(t)}},{key:"setEvents",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]);var r=this.listeners[t];r.push(e),1===r.length&&this.el.addEventListener(this.namespace+t,this.checkEvent,!1),"call"===t&&(this.hasCallEventSet=!0,this.detectElements(!0))}},{key:"unsetEvents",value:function(t,e){if(this.listeners[t]){var r=this.listeners[t],n=r.indexOf(e);n<0||(r.splice(n,1),0===r.index&&this.el.removeEventListener(this.namespace+t,this.checkEvent,!1))}}},{key:"checkEvent",value:function(t){var e=this,r=t.type.replace(this.namespace,""),n=this.listeners[r];n&&0!==n.length&&n.forEach((function(t){switch(r){case"scroll":return t(e.instance);case"call":return t(e.callValue,e.callWay,e.callObj);default:return t()}}))}},{key:"startScroll",value:function(){}},{key:"stopScroll",value:function(){}},{key:"setScroll",value:function(t,e){this.instance.scroll={x:0,y:0}}},{key:"destroy",value:function(){var t=this;window.removeEventListener("resize",this.checkResize,!1),Object.keys(this.listeners).forEach((function(e){t.el.removeEventListener(t.namespace+e,t.checkEvent,!1)})),this.listeners={},this.scrollToEls.forEach((function(e){e.removeEventListener("click",t.setScrollTo,!1)})),this.html.classList.remove(this.initClass)}}]),t}(),E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function O(t,e){return t(e={exports:{}},e.exports),e.exports}var C=O((function(t,e){t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var r,n=t.HTMLElement||t.Element,o=468,l={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:n.prototype.scroll||d,scrollIntoView:n.prototype.scrollIntoView},c=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,h=(r=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(r)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?w.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):l.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(f(arguments[0])?l.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):w.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==f(arguments[0])){var t=arguments[0].left,e=arguments[0].top;w.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==f(arguments[0])){var r=function(t){for(;t!==e.body&&!1===y(t);)t=t.parentNode||t.host;return t}(this),n=r.getBoundingClientRect(),o=this.getBoundingClientRect();r!==e.body?(w.call(this,r,r.scrollLeft+o.left-n.left,r.scrollTop+o.top-n.top),"fixed"!==t.getComputedStyle(r).position&&t.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else l.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function d(t,e){this.scrollLeft=t,this.scrollTop=e}function f(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;
2if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function m(t,e){return"Y"===e?t.clientHeight+h<t.scrollHeight:"X"===e?t.clientWidth+h<t.scrollWidth:void 0}function v(e,r){var n=t.getComputedStyle(e,null)["overflow"+r];return"auto"===n||"scroll"===n}function y(t){var e=m(t,"Y")&&v(t,"Y"),r=m(t,"X")&&v(t,"X");return e||r}function _(e){var r,n,l,h,d=(c()-e.startTime)/o;h=d=d>1?1:d,r=.5*(1-Math.cos(Math.PI*h)),n=e.startX+(e.x-e.startX)*r,l=e.startY+(e.y-e.startY)*r,e.method.call(e.scrollable,n,l),n===e.x&&l===e.y||t.requestAnimationFrame(_.bind(t,e))}function w(r,n,o){var h,f,m,v,y=c();r===e.body?(h=t,f=t.scrollX||t.pageXOffset,m=t.scrollY||t.pageYOffset,v=l.scroll):(h=r,f=r.scrollLeft,m=r.scrollTop,v=d),_({scrollable:h,method:v,startTime:y,startX:f,startY:m,x:n,y:o})}}}})),A=(C.polyfill,function(t){d(n,t);var e=y(n);function n(){var t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(this,n),(t=e.call(this,o)).resetNativeScroll&&(history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0)),window.addEventListener("scroll",t.checkScroll,!1),void 0===window.smoothscrollPolyfill&&(window.smoothscrollPolyfill=C,window.smoothscrollPolyfill.polyfill()),t}return o(n,[{key:"init",value:function(){this.instance.scroll.y=window.pageYOffset,this.addElements(),this.detectElements(),_(f(n.prototype),"init",this).call(this)}},{key:"checkScroll",value:function(){var t=this;_(f(n.prototype),"checkScroll",this).call(this),this.getDirection&&this.addDirection(),this.get
2Speed&&(this.addSpeed(),this.speedTs=Date.now()),this.instance.scroll.y=window.pageYOffset,Object.entries(this.els).length&&(this.hasScrollTicking||(requestAnimationFrame((function(){t.detectElements()})),this.hasScrollTicking=!0))}},{key:"addDirection",value:function(){window.pageYOffset>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):window.pageYOffset<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up")}},{key:"addSpeed",value:function(){window.pageYOffset!=this.instance.scroll.y?this.instance.speed=(window.pageYOffset-this.instance.scroll.y)/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"resize",value:function(){Object.entries(this.els).length&&(this.windowHeight=window.innerHeight,this.updateElements())}},{key:"addElements",value:function(){var t=this;this.els={},this.el.querySelectorAll("[data-"+this.name+"]").forEach((function(e,r){e.getBoundingClientRect();var n,o,l,c=e.dataset[t.name+"Class"]||t.class,h="string"==typeof e.dataset[t.name+"Id"]?e.dataset[t.name+"Id"]:r,d="string"==typeof e.dataset[t.name+"Offset"]?e.dataset[t.name+"Offset"].split(","):t.offset,f=e.dataset[t.name+"Repeat"],m=e.dataset[t.name+"Call"],v=e.dataset[t.name+"Target"],y=(l=void 0!==v?document.querySelector("".concat(v)):e).getBoundingClientRect();n=y.top+t.instance.scroll.y,o=y.left+t.instance.scroll.x;var _=n+l.offsetHeight,w=o+l.offsetWidth;f="false"!=f&&(null!=f||t.repeat);var T=t.getRelativeOffset(d),S={el:e,targetEl:l,id:h,class:c,top:n+=T[0],bottom:_-=T[1],left:o,right:w,offset:d,progress:0,repeat:f,inView:!1,call:m};t.els[h]=S,e.classList.contains(c)&&t.setInView(t.els[h],h)}))}},{key:"updateElements",value:function(){var t=this;Object.entries(this.els).forEach((function(e){var r=w(e,2),i=r[0],n=r[1],o=n.targetEl.getBoundingClientRect().top+t.instance.scroll.y,l=o+n.targetEl.offsetHeight,c=t.getRelativeOffset(n.offset);t.els[i].top=o+c[0],t.els[i].bottom=l-c[1]})),this.hasScrollTicking=!1}},{key:"getRelativeOffset",value:function(t){var e=[0,0];if(t)for(var i=0;i<t.length;i++)"string"==typeof t[i]?t[i].includes("%")?e[i]=parseInt(t[i].replace("%","")*this.windowHeight/100):e[i]=parseInt(t[i]):e[i]=t[i];return e}},{key:"scrollTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=parseInt(e.offset)||0,n=!!e.callback&&e.callback;if("string"==typeof t){if("top"===t)t=this.html;else if("bottom"===t)t=this.html.offsetHeight-window.innerHeight;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");r="number"!=typeof t?t.getBoundingClientRect().top+r+this.instance.scroll.y:t+r;var o=function(){return parseInt(window.pageYOffset)===parseInt(r)};if(n){if(o())return void n();window.addEventListener("scroll",(function t(){o()&&(window.removeEventListener("scroll",t),n())}))}window.scrollTo({top:r,behavior:0===e.duration?"auto":"smooth"})}},{key:"update",value:function(){this.addElements(),this.detectElements()}},{key:"destroy",value:function(){_(f(n.prototype),"destroy",this).call(this),window.removeEventListener("scroll",this.checkScroll,!1)}}]),n}(k)),I=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var D=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,source){for(var e,r,n=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var o in e=Object(arguments[s]))P.call(e,o)&&(n[o]=e[o]);if(I){r=I(e);for(var i=0;i<r.length;i++)R.call(e,r[i])&&(n[r[i]]=e[r[i]])}}return n};function L(){}L.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)}
2,emit:function(t){for(var data=[].slice.call(arguments,1),e=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=e.length;i<r;i++)e[i].fn.apply(e[i].ctx,data);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],o=[];if(n&&e)for(var i=0,l=n.length;i<l;i++)n[i].fn!==e&&n[i].fn._!==e&&o.push(n[i]);return o.length?r[t]=o:delete r[t],this}};var N=L,j=O((function(t,e){(function(){(null!==e?e:this).Lethargy=function(){function t(t,e,r,n){this.stability=null!=t?Math.abs(t):8,this.sensitivity=null!=e?1+Math.abs(e):100,this.tolerance=null!=r?1+Math.abs(r):1.1,this.delay=null!=n?n:150,this.lastUpDeltas=function(){var i,t,e;for(e=[],i=1,t=2*this.stability;1<=t?i<=t:i>=t;1<=t?i++:i--)e.push(null);return e}.call(this),this.lastDownDeltas=function(){var i,t,e;for(e=[],i=1,t=2*this.stability;1<=t?i<=t:i>=t;1<=t?i++:i--)e.push(null);return e}.call(this),this.deltasTimestamp=function(){var i,t,e;for(e=[],i=1,t=2*this.stability;1<=t?i<=t:i>=t;1<=t?i++:i--)e.push(null);return e}.call(this)}return t.prototype.check=function(t){var e;return null!=(t=t.originalEvent||t).wheelDelta?e=t.wheelDelta:null!=t.deltaY?e=-40*t.deltaY:null==t.detail&&0!==t.detail||(e=-40*t.detail),this.deltasTimestamp.push(Date.now()),this.deltasTimestamp.shift(),e>0?(this.lastUpDeltas.push(e),this.lastUpDeltas.shift(),this.isInertia(1)):(this.lastDownDeltas.push(e),this.lastDownDeltas.shift(),this.isInertia(-1))},t.prototype.isInertia=function(t){var e,r,n,o,l,c,h;return null===(e=-1===t?this.lastDownDeltas:this.lastUpDeltas)[0]?t:!(this.deltasTimestamp[2*this.stability-2]+this.delay>Date.now()&&e[0]===e[2*this.stability-1])&&(n=e.slice(0,this.stability),r=e.slice(this.stability,2*this.stability),h=n.reduce((function(t,s){return t+s})),l=r.reduce((function(t,s){return t+s})),c=h/n.length,o=l/r.length,Math.abs(c)<Math.abs(o*this.tolerance)&&this.sensitivity<Math.abs(o)&&t)},t.prototype.showLastUpDeltas=function(){return this.lastUpDeltas},t.prototype.showLastDownDeltas=function(){return this.lastDownDeltas},t}()}).call(E)})),B={hasWheelEvent:"onwheel"in document,hasMouseWheelEvent:"onmousewheel"in document,hasTouch:"ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,hasTouchWin:navigator.msMaxTouchPoints&&navigator.msMaxTouchPoints>1,hasPointer:!!window.navigator.msPointerEnabled,hasKeyDown:"onkeydown"in document,isFirefox:navigator.userAgent.indexOf("Firefox")>-1},F=Object.prototype.toString,U=Object.prototype.hasOwnProperty;function z(t,e){return function(){return t.apply(e,arguments)}}var V=j.Lethargy,$="virtualscroll",H=Y,W=37,G=38,Q=39,K=40,X=32;function Y(t){!function(object){if(!object)return console.warn("bindAll requires at least one argument.");var t=Array.prototype.slice.call(arguments,1);if(0===t.length)for(var e in object)U.call(object,e)&&"function"==typeof object[e]&&"[object Function]"==F.call(object[e])&&t.push(e);for(var i=0;i<t.length;i++){var r=t[i];object[r]=z(object[r],object)}}(this,"_onWheel","_onMouseWheel","_onTouchStart","_onTouchMove","_onKeyDown"),this.el=window,t&&t.el&&(this.el=t.el,delete t.el),this.options=D({mouseMultiplier:1,touchMultiplier:2,firefoxMultiplier:15,keyStep:120,preventTouch:!1,unpreventTouchClass:"vs-touchmove-allowed",limitInertia:!1,useKeyboard:!0,useTouch:!0},t),this.options.limitInertia&&(this._lethargy=new V),this._emitter=new N,this._event={y:0,x:0,deltaX:0,deltaY:0},this.touchStartX=null,this.touchStartY=null,this.bodyTouchAction=null,void 0!==this.options.passive&&(this.listenerOptions={passive:this.options.passive})}function Z(t,e,r){return(1-r)*t+r*e}function J(t){var e={};if(window.getComputedStyle){var style=getComputedStyle(t),r=style.transform||style.webkitTransform||style.mozTransform,n=r.match(/^matrix3d\((.+)\)$/);return n?(e.x=n?parseFloat(n[1].split(", ")[12]):0,e.y=n?parseFloat(n[1].split(", ")[13]):0):(n=r.match(/^matrix\((.+)\)$/),e.x=n?parseFloat(n[1].split(", ")[4]):0,e.y=n?parseFloat(n[1].split(", ")[5]):0),e}}function tt(t){for(var e=[];t&&t!==document;t=t.parentNode)e.push(t);return e}Y.prototype._notify=function(t){var e=this._event;e.x+=e.deltaX,e.y+=e.deltaY,this._emitter.emit($,{x:e.x,y:e.y,deltaX:e.deltaX,deltaY:e.deltaY,originalEvent:t})},Y.prototype._onWheel=function(t){var e=this.options;
2if(!this._lethargy||!1!==this._lethargy.check(t)){var r=this._event;r.deltaX=t.wheelDeltaX||-1*t.deltaX,r.deltaY=t.wheelDeltaY||-1*t.deltaY,B.isFirefox&&1==t.deltaMode&&(r.deltaX*=e.firefoxMultiplier,r.deltaY*=e.firefoxMultiplier),r.deltaX*=e.mouseMultiplier,r.deltaY*=e.mouseMultiplier,this._notify(t)}},Y.prototype._onMouseWheel=function(t){if(!this.options.limitInertia||!1!==this._lethargy.check(t)){var e=this._event;e.deltaX=t.wheelDeltaX?t.wheelDeltaX:0,e.deltaY=t.wheelDeltaY?t.wheelDeltaY:t.wheelDelta,this._notify(t)}},Y.prototype._onTouchStart=function(t){var e=t.targetTouches?t.targetTouches[0]:t;this.touchStartX=e.pageX,this.touchStartY=e.pageY},Y.prototype._onTouchMove=function(t){var e=this.options;e.preventTouch&&!t.target.classList.contains(e.unpreventTouchClass)&&t.preventDefault();var r=this._event,n=t.targetTouches?t.targetTouches[0]:t;r.deltaX=(n.pageX-this.touchStartX)*e.touchMultiplier,r.deltaY=(n.pageY-this.touchStartY)*e.touchMultiplier,this.touchStartX=n.pageX,this.touchStartY=n.pageY,this._notify(t)},Y.prototype._onKeyDown=function(t){var e=this._event;e.deltaX=e.deltaY=0;var r=window.innerHeight-40;switch(t.keyCode){case W:case G:e.deltaY=this.options.keyStep;break;case Q:case K:e.deltaY=-this.options.keyStep;break;case t.shiftKey:e.deltaY=r;break;case X:e.deltaY=-r;break;default:return}this._notify(t)},Y.prototype._bind=function(){B.hasWheelEvent&&this.el.addEventListener("wheel",this._onWheel,this.listenerOptions),B.hasMouseWheelEvent&&this.el.addEventListener("mousewheel",this._onMouseWheel,this.listenerOptions),B.hasTouch&&this.options.useTouch&&(this.el.addEventListener("touchstart",this._onTouchStart,this.listenerOptions),this.el.addEventListener("touchmove",this._onTouchMove,this.listenerOptions)),B.hasPointer&&B.hasTouchWin&&(this.bodyTouchAction=document.body.style.msTouchAction,document.body.style.msTouchAction="none",this.el.addEventListener("MSPointerDown",this._onTouchStart,!0),this.el.addEventListener("MSPointerMove",this._onTouchMove,!0)),B.hasKeyDown&&this.options.useKeyboard&&document.addEventListener("keydown",this._onKeyDown)},Y.prototype._unbind=function(){B.hasWheelEvent&&this.el.removeEventListener("wheel",this._onWheel),B.hasMouseWheelEvent&&this.el.removeEventListener("mousewheel",this._onMouseWheel),B.hasTouch&&(this.el.removeEventListener("touchstart",this._onTouchStart),this.el.removeEventListener("touchmove",this._onTouchMove)),B.hasPointer&&B.hasTouchWin&&(
2document.body.style.msTouchAction=this.bodyTouchAction,this.el.removeEventListener("MSPointerDown",this._onTouchStart,!0),this.el.removeEventListener("MSPointerMove",this._onTouchMove,!0)),B.hasKeyDown&&this.options.useKeyboard&&document.removeEventListener("keydown",this._onKeyDown)},Y.prototype.on=function(t,e){this._emitter.on($,t,e);var r=this._emitter.e;r&&r[$]&&1===r[$].length&&this._bind()},Y.prototype.off=function(t,e){this._emitter.off($,t,e);var r=this._emitter.e;(!r[$]||r[$].length<=0)&&this._unbind()},Y.prototype.reset=function(){var t=this._event;t.x=0,t.y=0},Y.prototype.destroy=function(){this._emitter.off(),this._unbind()};var et=.1,it="function"==typeof Float32Array;function nt(t,e){return 1-3*e+3*t}function ot(t,e){return 3*e-6*t}function at(t){return 3*t}function st(t,e,r){return((nt(e,r)*t+ot(e,r))*t+at(e))*t}function ut(t,e,r){return 3*nt(e,r)*t*t+2*ot(e,r)*t+at(e)}function lt(t){return t}var ct=function(t,e,r,n){if(!(0<=t&&t<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&r===n)return lt;for(var o=it?new Float32Array(11):new Array(11),i=0;i<11;++i)o[i]=st(i*et,t,r);function l(e){for(var n=0,l=1;10!==l&&o[l]<=e;++l)n+=et;--l;var c=n+(e-o[l])/(o[l+1]-o[l])*et,h=ut(c,t,r);return h>=.001?function(t,e,r,n){for(var i=0;i<4;++i){var o=ut(e,r,n);if(0===o)return e;e-=(st(e,r,n)-t)/o}return e}(e,c,t,r):0===h?c:function(t,e,r,n,o){var l,c,i=0;do{(l=st(c=e+(r-e)/2,n,o)-t)>0?r=c:e=c}while(Math.abs(l)>1e-7&&++i<10);return c}(e,n,n+et,t,r)}return function(t){return 0===t?0:1===t?1:st(l(t),e,n)}},ht=38,ft=40,pt=32,mt=9,gt=33,vt=34,yt=36,bt=35,_t=function(t){d(n,t);var e=y(n);function n(){var t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(this,n),history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0),(t=e.call(this,o)).inertia&&(t.lerp=.1*t.inertia),t.isScrolling=!1,t.isDraggingScrollbar=!1,t.isTicking=!1,t.hasScrollTicking=!1,t.parallaxElements={},t.stop=!1,t.scrollbarContainer=o.scrollbarContainer,t.checkKey=t.checkKey.bind(v(t)),window.addEventListener("keydown",t.checkKey,!1),t}return o(n,[{key:"init",value:function(){var t=this;this.html.classList.add(this.smoothClass),this.html.setAttribute("data-".concat(this.name,"-direction"),this.direction),this.instance=h({delta:{x:this.initPosition.x,y:this.initPosition.y},scroll:{x:this.initPosition.x,y:this.initPosition.y}},this.instance),this.vs=new H({el:this.scrollFromAnywhere?document:this.el,mouseMultiplier:navigator.platform.indexOf("Win")>-1?1:.4,firefoxMultiplier:this.firefoxMultiplier,touchMultiplier:this.touchMultiplier,useKeyboard:!1,passive:!0}),this.vs.on((function(e){t.stop||t.isDraggingScrollbar||requestAnimationFrame((function(){t.updateDelta(e),t.isScrolling||t.startScrolling()}))})),this.setScrollLimit(),this.initScrollBar(),this.addSections(),this.addElements(),this.checkScroll(!0),this.transformElements(!0,!0),_(f(n.prototype),"init",this).call(this)}},{key:"setScrollLimit",value:function(){if(this.instance.limit.y=this.el.offsetHeight-this.windowHeight,"horizontal"===this.direction){for(var t=0,e=this.el.children,i=0;i<e.length;i++)t+=e[i].offsetWidth;this.instance.limit.x=t-this.windowWidth}}},{key:"startScrolling",value:function(){this.startScrollTs=Date.now(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}},{key:"stopScrolling",value:function(){cancelAnimationFrame(this.checkScrollRaf),this.startScrollTs=void 0,this.scrollToRaf&&(cancelAnimationFrame(this.scrollToRaf),this.scrollToRaf=null),this.isScrolling=!1,this.instance.scroll.y=Math.round(this.instance.scroll.y),this.html.classList.remove(this.scrollingClass)}},{key:"checkKey",value:function(t){var e=this;if(this.stop)t.keyCode==mt&&requestAnimationFrame((function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0}));else{switch(t.keyCode){case mt:requestAnimationFrame((function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0,e.scrollTo(document.activeElement,{offset:-window.innerHeight/2})}));break;case ht:this.isActiveElementScrollSensitive()&&(this.instance.delta[this.directionAxis]-=240);break;case ft:this.isActiveElementScrollSensitive()&&(this.instance.delta[this.directionAxis]+=240);break;case gt:this.instance.delta[this.directionAxis]-=window.innerHeight;break;case vt:this.instance.delta[this.directionAxis]+=window.innerHeight;break;case yt:this.instance.delta[this.directionAxis]-=this.instance.limit[this.directionAxis];break;case bt:this.instance.delta[this.directionAxis]+=this.instance.limit[this.directionAxis];break;case pt:this.isActiveElementScrollSensitive()&&(t.shiftKey?this.instance.delta[this.directionAxis]-=window.innerHeight:this.instance.delta[this.directionAxis]+=window.innerHeight);break;default:return}this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis]),this.stopScrolling(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}}},{key:"isActiveElementScrollSensitive",value:function(){return!(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement instanceof HTMLButtonElement||document.activeElement instanceof HTMLSelectElement)}},{key:"checkScroll",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||this.isScrolling||this.isDraggingScrollbar){this.hasScrollTicking||(this.checkScrollRaf=requestAnimationFrame((function(){return t.checkScroll()})),this.hasScrollTicking=!0),this.updateScroll();var r=Math.abs(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis]),o=Date.now()-this.startScrollTs;if(!this.animatingScroll&&o>100&&(r<.5&&0!=this.instance.delta[this.directionAxis]||r<.5&&0==this.instance.delta[this.directionAxis])&&this.stopScrolling(),Object.entries(this.sections).forEac
2h((function(r){var n=w(r,2),section=(n[0],n[1]);section.persistent||t.instance.scroll[t.directionAxis]>section.offset[t.directionAxis]&&t.instance.scroll[t.directionAxis]<section.limit[t.directionAxis]?("horizontal"===t.direction?t.transform(section.el,-t.instance.scroll[t.directionAxis],0):t.transform(section.el,0,-t.instance.scroll[t.directionAxis]),section.inView||(section.inView=!0,section.el.style.opacity=1,section.el.style.pointerEvents="all",section.el.setAttribute("data-".concat(t.name,"-section-inview"),""))):((section.inView||e)&&(section.inView=!1,section.el.style.opacity=0,section.el.style.pointerEvents="none",section.el.removeAttribute("data-".concat(t.name,"-section-inview"))),t.transform(section.el,0,0))})),this.getDirection&&this.addDirection(),this.getSpeed&&(this.addSpeed(),this.speedTs=Date.now()),this.detectElements(),this.transformElements(),this.hasScrollbar){var l=this.instance.scroll[this.directionAxis]/this.instance.limit[this.directionAxis]*this.scrollBarLimit[this.directionAxis];"horizontal"===this.direction?this.transform(this.scrollbarThumb,l,0):this.transform(this.scrollbarThumb,0,l)}_(f(n.prototype),"checkScroll",this).call(this),this.hasScrollTicking=!1}}},{key:"resize",value:function(){this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.checkContext(),this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.update()}},{key:"updateDelta",value:function(t){var e,r=this[this.context]&&this[this.context].gestureDirection?this[this.context].gestureDirection:this.gestureDirection;e="both"===r?t.deltaX+t.deltaY:"vertical"===r?t.deltaY:"horizontal"===r?t.deltaX:t.deltaY,this.instance.delta[this.directionAxis]-=e*this.multiplier,this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis])}},{key:"updateScroll",value:function(t){this.isScrolling||this.isDraggingScrollbar?this.instance.scroll[this.directionAxis]=Z(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis],this.lerp):this.instance.scroll[this.directionAxis]>this.instance.limit[this.directionAxis]?this.setScroll(this.instance.scroll[this.directionAxis],this.instance.limit[this.directionAxis]):this.instance.scroll.y<0?this.setScroll(this.instance.scroll[this.directionAxis],0):this.setScroll(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis])}},{key:"addDirection",value:function(){this.instance.delta.y>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):this.instance.delta.y<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up"),this.instance.delta.x>this.instance.scroll.x?"right"!==this.instance.direction&&(this.instance.direction="right"):this.instance.delta.x<this.instance.scroll.x&&"left"!==this.instance.direction&&(this.instance.direction="left")}},{key:"addSpeed",value:function(){this.instance.delta[this.directionAxis]!=this.instance.scroll[this.directionAxis]?this.instance.speed=(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis])/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"initScrollBar",value:function(){if(this.scrollbar=document.createElement("span"),this.scrollbarThumb=document.createElement("span"),this.scrollbar.classList.add("".concat(this.scrollbarClass)),this.scrollbarThumb.classList.add("".concat(this.scrollbarClass,"_thumb")),this.scrollbar.append(this.scrollbarThumb),this.scrollbarContainer?this.scrollbarContainer.append(this.scrollbar):document.body.append(this.scrollbar),this.getScrollBar=this.getScrollBar.bind(this),this.releaseScrollBar=this.releaseScrollBar.bind(this),this.moveScrollBar=this.moveScrollBar.bind(this),this.scrollbarThumb.addEventListener("mousedown",this.getScrollBar),window.addEventListener("mouseup",this.releaseScrollBar),window.addEventListener("mousemove",this.moveScrollBar),this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"reinitScrollBar",value:function(){if(this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"destroyScrollBar",value:function(){this.scrollbarThumb.removeEventListener("mousedown",this.get
2ScrollBar),window.removeEventListener("mouseup",this.releaseScrollBar),window.removeEventListener("mousemove",this.moveScrollBar),this.scrollbar.remove()}},{key:"getScrollBar",value:function(t){this.isDraggingScrollbar=!0,this.checkScroll(),this.html.classList.remove(this.scrollingClass),this.html.classList.add(this.draggingClass)}},{key:"releaseScrollBar",value:function(t){this.isDraggingScrollbar=!1,this.isScrolling&&this.html.classList.add(this.scrollingClass),this.html.classList.remove(this.draggingClass)}},{key:"moveScrollBar",value:function(t){var e=this;this.isDraggingScrollbar&&requestAnimationFrame((function(){var r=100*(t.clientX-e.scrollbarBCR.left)/e.scrollbarWidth*e.instance.limit.x/100,n=100*(t.clientY-e.scrollbarBCR.top)/e.scrollbarHeight*e.instance.limit.y/100;n>0&&n<e.instance.limit.y&&(e.instance.delta.y=n),r>0&&r<e.instance.limit.x&&(e.instance.delta.x=r)}))}},{key:"addElements",value:function(){var t=this;this.els={},this.parallaxElements={},this.el.querySelectorAll("[data-".concat(this.name,"]")).forEach((function(e,r){var n,o,l,c=tt(e),section=Object.entries(t.sections).map((function(t){var e=w(t,2);e[0];return e[1]})).find((function(section){return c.includes(section.el)})),h=e.dataset[t.name+"Class"]||t.class,d="string"==typeof e.dataset[t.name+"Id"]?e.dataset[t.name+"Id"]:"el"+r,f=e.dataset[t.name+"Repeat"],m=e.dataset[t.name+"Call"],v=e.dataset[t.name+"Position"],y=e.dataset[t.name+"Delay"],_=e.dataset[t.name+"Direction"],T="string"==typeof e.dataset[t.name+"Sticky"],S=!!e.dataset[t.name+"Speed"]&&parseFloat(e.dataset[t.name+"Speed"])/10,M="string"==typeof e.dataset[t.name+"Offset"]?e.dataset[t.name+"Offset"].split(","):t.offset,x=e.dataset[t.name+"Target"],k=(l=void 0!==x?document.querySelector("".concat(x)):e).getBoundingClientRect();null===section||section.inView?(n=k.top+t.instance.scroll.y-J(l).y,o=k.left+t.instance.scroll.x-J(l).x):(n=k.top-J(section.el).y-J(l).y,o=k.left-J(section.el).x-J(l).x);var E=n+l.offsetHeight,O=o+l.offsetWidth,C={x:(O-o)/2+o,y:(E-n)/2+n};if(T){var A=e.getBoundingClientRect(),I=A.top,P=A.left,R={x:P-o,y:I-n};n+=window.innerHeight,o+=window.innerWidth,E=I+l.offsetHeight-e.offsetHeight-R[t.directionAxis],C={x:((O=P+l.offsetWidth-e.offsetWidth-R[t.directionAxis])-o)/2+o,y:(E-n)/2+n}}f="false"!=f&&(null!=f||t.repeat);var D=[0,0];if(M)if("horizontal"===t.direction){for(var i=0;i<M.length;i++)"string"==typeof M[i]?M[i].includes("%")?D[i]=parseInt(M[i].replace("%","")*t.windowWidth/100):D[i]=parseInt(M[i]):D[i]=M[i];o+=D[0],O-=D[1]}else{for(i=0;i<M.length;i++)"string"==typeof M[i]?M[i].includes("%")?D[i]=parseInt(M[i].replace("%","")*t.windowHeight/100):D[i]=parseInt(M[i]):D[i]=M[i];n+=D[0],E-=D[1]}var L={el:e,id:d,class:h,section:section,top:n,middle:C,bottom:E,left:o,right:O,offset:M,progress:0,repeat:f,inView:!1,call:m,speed:S,delay:y,position:v,target:l,direction:_,sticky:T};t.els[d]=L,e.classList.contains(h)&&t.setInView(t.els[d],d),(!1!==S||T)&&(t.parallaxElements[d]=L)}))}},{key:"addSections",value:function(){var t=this;this.sections={};var e=this.el.querySelectorAll("[data-".concat(this.name,"-section]"));0===e.length&&(e=[this.el]),e.forEach((function(section,e){var r="string"==typeof section.dataset[t.name+"Id"]?section.dataset[t.name+"Id"]:"section"+e,n=section.getBoundingClientRect(),o={x:n.left-1.5*window.innerWidth-J(section).x,y:n.top-1.5*window.innerHeight-J(section).y},l={x:o.x+n.width+2*window.innerWidth,y:o.y+n.height+2*window.innerHeight},c="string"==typeof section.dataset[t.name+"Persistent"];section.setAttribute("data-scroll-section-id",r);var h={el:section,offset:o,limit:l,inView:!1,persistent:c,id:r};t.sections[r]=h}))}},{key:"transform",value:function(element,t,e,r){var n;if(r){var o=J(element),l=Z(o.x,t,r),c=Z(o.y,e,r);n="matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(l,",").concat(c,",0,1)")}else n="matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(t,",").concat(e,",0,1)");element.style.webkitTransform=n,element.style.msTransform=n,element.style.transform=n}},{key:"transformElements",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.instance.scroll.x+this.windowWidth,o=this.instance.scroll.y+this.windowHeight,l={x:this.instance.scroll.x+this.windowMiddle.x,y:this.instance.scroll.y+this.windowMiddle.y};
2Object.entries(this.parallaxElements).forEach((function(c){var h=w(c,2),d=(h[0],h[1]),f=!1;if(t&&(f=0),d.inView||r)switch(d.position){case"top":case"left":f=e.instance.scroll[e.directionAxis]*-d.speed;break;case"elementTop":f=(o-d.top)*-d.speed;break;case"bottom":f=(e.instance.limit[e.directionAxis]-o+e.windowHeight)*d.speed;break;case"elementLeft":f=(n-d.left)*-d.speed;break;case"right":f=(e.instance.limit[e.directionAxis]-n+e.windowHeight)*d.speed;break;default:f=(l[e.directionAxis]-d.middle[e.directionAxis])*-d.speed}d.sticky&&(f=d.inView?"horizontal"===e.direction?e.instance.scroll.x-d.left+window.innerWidth:e.instance.scroll.y-d.top+window.innerHeight:"horizontal"===e.direction?e.instance.scroll.x<d.left-window.innerWidth&&e.instance.scroll.x<d.left-window.innerWidth/2?0:e.instance.scroll.x>d.right&&e.instance.scroll.x>d.right+100&&d.right-d.left+window.innerWidth:e.instance.scroll.y<d.top-window.innerHeight&&e.instance.scroll.y<d.top-window.innerHeight/2?0:e.instance.scroll.y>d.bottom&&e.instance.scroll.y>d.bottom+100&&d.bottom-d.top+window.innerHeight),!1!==f&&("horizontal"===d.direction||"horizontal"===e.direction&&"vertical"!==d.direction?e.transform(d.el,f,0,!t&&d.delay):e.transform(d.el,0,f,!t&&d.delay))}))}},{key:"scrollTo",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=parseInt(r.offset)||0,o=isNaN(parseInt(r.duration))?1e3:parseInt(r.duration),l=r.easing||[.25,0,.35,1],c=!!r.disableLerp,h=!!r.callback&&r.callback;if(l=ct.apply(void 0,T(l)),"string"==typeof t){if("top"===t)t=0;else if("bottom"===t)t=this.instance.limit.y;else if("left"===t)t=0;else if("right"===t)t=this.instance.limit.x;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");if("number"!=typeof t){if(!tt(t).includes(this.el))return;var d=t.getBoundingClientRect(),f=d.top,m=d.left,v=tt(t).find((function(t){return Object.entries(e.sections).map((function(t){var e=w(t,2);e[0];return e[1]})).find((function(section){return section.el==t}))})),y=0;y=v?J(v)[this.directionAxis]:-this.instance.scroll[this.directionAxis],n="horizontal"===this.direction?m+n-y:f+n-y}else n=t+n;var _=parseFloat(this.instance.delta[this.directionAxis]),S=Math.max(0,Math.min(n,this.instance.limit[this.directionAxis]))-_,M=function(p){c?"horizontal"===e.direction?e.setScroll(_+S*p,e.instance.delta.y):e.setScroll(e.instance.delta.x,_+S*p):e.instance.delta[e.directionAxis]=_+S*p};this.animatingScroll=!0,this.stopScrolling(),this.startScrolling();var x=Date.now();!function t(){var p=(Date.now()-x)/o;p>1?(M(1),e.animatingScroll=!1,0==o&&e.update(),h&&h()):(e.scrollToRaf=requestAnimationFrame(t),M(l(p)))}()}},{key:"update",value:function(){this.setScrollLimit(),this.addSections(),this.addElements(),this.detectElements(),this.updateScroll(),this.transformElements(!0),this.reinitScrollBar(),this.checkScroll(!0)}},{key:"startScroll",value:function(){this.stop=!1}},{key:"stopScroll",value:function(){this.stop=!0}},{key:"setScroll",value:function(t,e){this.instance=h(h({},this.instance),{},{scroll:{x:t,y:e},delta:{x:t,y:e},speed:0})}},{key:"destroy",value:function(){_(f(n.prototype),"destroy",this).call(this),this.stopScrolling(),this.html.classList.remove(this.smoothClass),this.vs.destroy(),this.destroyScrollBar(),window.removeEventListener("keydown",this.checkKey,!1)}}]),n}(k),wt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.options=e,Object.assign(this,x,e),this.smartphone=x.smartphone,e.smartphone&&Object.assign(this.smartphone,e.smartphone),this.tablet=x.tablet,e.tablet&&Object.assign(this.tablet,e.tablet),this.smooth||"horizontal"!=this.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible"),this.tablet.smooth||"horizontal"!=this.tablet.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible (tablet)"),this.smartphone.smooth||"horizontal"!=this.smartphone.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible (smartphone)"),this.init()}return o(t,[{key:"init",value:function(){if(this.options.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||window.innerWidth<this.tablet.breakpoint,this.options.isTablet=this.options.isMobile&&window.innerWidth>=this.tablet.breakpoint,this.smooth&&!this.options.isMobile||this.tablet.smooth&&this.options.isTablet||this.smartphone.smooth&&this.options.isMobile&&!this.options.isTablet?this.scroll=ne
2w _t(this.options):this.scroll=new A(this.options),this.scroll.init(),window.location.hash){var t=window.location.hash.slice(1,window.location.hash.length),e=document.getElementById(t);e&&this.scroll.scrollTo(e)}}},{key:"update",value:function(){this.scroll.update()}},{key:"start",value:function(){this.scroll.startScroll()}},{key:"stop",value:function(){this.scroll.stopScroll()}},{key:"scrollTo",value:function(t,e){this.scroll.scrollTo(t,e)}},{key:"setScroll",value:function(t,e){this.scroll.setScroll(t,e)}},{key:"on",value:function(t,e){this.scroll.setEvents(t,e)}},{key:"off",value:function(t,e){this.scroll.unsetEvents(t,e)}},{key:"destroy",value:function(){this.scroll.destroy()}}]),t}();e.a=wt}).call(this,r(40))},function(t,e,r){"use strict";var n=r(12),o=(r(55),r(45),r(9),r(71),r(7)),l=r(8),c=window.__NUXT__;function h(){if(!this._hydrated)return this.$fetch()}function d(){if((t=this).$vnode&&t.$vnode.elm&&t.$vnode.elm.dataset&&t.$vnode.elm.dataset.fetchKey){var t;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var data=c.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var e in data)o.default.set(this.$data,e,data[e])}else f.call(this)}function f(){var t=!1!==this.$options.fetchOnServer;if("function"==typeof this.$options.fetchOnServer&&(t=!1!==this.$options.fetchOnServer.call(this)),t&&!this.$nuxt.isPreview&&this.$nuxt._pagePayload){this._hydrated=!0;var e=this.$options._scopeId||this.$options.name||"",r=Object(l.d)(this.$nuxt._fetchCounters,e);if("function"==typeof this.$options.fetchKey)this._fetchKey=this.$options.fetchKey.call(this,r);else{var n="string"==typeof this.$options.fetchKey?this.$options.fetchKey:e;this._fetchKey=n?n+":"+r(n):String(r(n))}var data=this.$nuxt._pagePayload.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else if(data)for(var c in data)o.default.set(this.$data,c,data[c]);else this.$fetch()}}function m(){var t=this;return this._fetchPromise||(this._fetchPromise=v.call(this).then((function(){delete t._fetchPromise}))),this._fetchPromise}function v(){return y.apply(this,arguments)}function y(){return(y=Object(n.a)(regeneratorRuntime.mark((function t(){var e,r,n,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,e=null,r=Date.now(),t.prev=6,t.next=9,this.$options.fetch.call(this);case 9:t.next=15;break;case 11:t.prev=11,t.t0=t.catch(6),e=Object(l.p)(t.t0);case 15:if(!((n=this._fetchDelay-(Date.now()-r))>0)){t.next=19;break}return t.next=19,new Promise((function(t){return setTimeout(t,n)}));case 19:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){Object(l.m)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=m.bind(this),Object(l.a)(this,"created",d),Object(l.a)(this,"beforeMount",h))}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));r(9),r(45),r(71);var n={},o={},l={};function c(t,e){if(n[t])return Promise.resolve(n[t]);if(l[t])return Promise.reject(l[t]);if(o[t])return o[t];var r,c,h=o[t]=new Promise((function(t,e){r=t,c=e}));delete n[t];var d,script=document.createElement("script");script.charset="utf-8",script.timeout=120,script.src=e;var f=new Error,m=script.onerror=script.onload=function(e){if(clearTimeout(d),delete o[t],script.onerror=script.onload=null,n[t])return r(n[t]);var h=e&&("load"===e.type?"missing":e.type),m=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+h+": "+m+")",f.name="ChunkLoadError",f.type=h,f.request=m,l[t]=f,c(f)};return d=setTimeout((function(){m({type:"timeout",target:script})}),12e4),document.head.appendChild(script),h}function h(){window.__NUXT_JSONP__=function(t,e){n[t]=e},window.__NUXT_JSONP_CACHE__=n,window.__NUXT_IMPORT__=c}},,,function(t,e,r){"use strict";r.d(e,"a",(function(){return x}));var n=r(6),o=r.n(n),l=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,i=0;i<r;++i)e[i].call(this,arguments[1]);
vendor: 5,620 bytes, line 2
2else for(var n=Array.prototype.slice.call(arguments,1),o=e.length,l=0;l<o;++l)e[l].apply(this,n)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",(function(data){t.push(data)}))},t}(),c=r(77),h=r.n(c),d=r(15),f=r.n(d),m=r(225),v=function(t){function e(){var e;return(e=t.call(this)||this).buffer="",e}return o()(e,t),e.prototype.push=function(data){var t;for(this.buffer+=data,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},e}(l),y=String.fromCharCode(9),_=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},w=function(t){for(var e,r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},T=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}o()(e,t);var r=e.prototype;return r.push=function(line){var t,e,r=this;0!==(line=line.trim()).length&&("#"===line[0]?this.tagMappers.reduce((function(t,e){var r=e(line);return r===line?t:t.concat([r])}),[line]).forEach((function(n){for(var i=0;i<r.customParsers.length;i++)if(r.customParsers[i].call(r,n))return;if(0===n.indexOf("#EXT"))if(n=n.replace("\r",""),t=/^#EXTM3U/.exec(n))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(n))return e={type:"tag",tagType:"inf"},t[1]&&(e.duration=parseFloat(t[1])),t[2]&&(e.title=t[2]),void r.trigger("data",e);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(n))return e={type:"tag",tagType:"targetduration"},t[1]&&(e.duration=parseInt(t[1],10)),void r.trigger("data",e);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(n))return e={type:"tag",tagType:"version"},t[1]&&(e.version=parseInt(t[1],10)),void r.trigger("data",e);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(n))return e={type:"tag",tagType:"media-sequence"},t[1]&&(e.number=parseInt(t[1],10)),void r.trigger("data",e);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(n))return e={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(e.number=parseInt(t[1],10)),void r.trigger("data",e);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(n))return e={type:"tag",tagType:"playlist-type"},t[1]&&(e.playlistType=t[1]),void r.trigger("data",e);if(t=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(n))return e=h()(_(t[1]),{type:"tag",tagType:"byterange"}),void r.trigger("data",e);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(n))return e={type:"tag",tagType:"allow-cache"},t[1]&&(e.allowed=!/NO/.test(t[1])),void r.trigger("data",e);if(t=/^#EXT-X-MAP:?(.*)$/.exec(n)){if(e={type:"tag",tagType:"map"},t[1]){var o=w(t[1]);o.URI&&(e.uri=o.URI),o.BYTERANGE&&(e.byterange=_(o.BYTERANGE))}r.trigger("data",e)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(n)){if(e={type:"tag",tagType:"stream-inf"},t[1]){if(e.attributes=w(t[1]),e.attributes.RESOLUTION){var l=e.attributes.RESOLUTION.split("x"),c={};l[0]&&(c.width=parseInt(l[0],10)),l[1]&&(c.height=parseInt(l[1],10)),e.attributes.RESOLUTION=c}e.attributes.BANDWIDTH&&(e.attributes.BANDWIDTH=parseInt(e.attributes.BANDWIDTH,10)),e.attributes["FRAME-RATE"]&&(e.attributes["FRAME-RATE"]=parseFloat(e.attributes["FRAME-RATE"])),e.attributes["PROGRAM-ID"]&&(e.attributes["PROGRAM-ID"]=parseInt(e.attributes["PROGRAM-ID"],10))}r.trigger("data",e)}else{if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(n))return e={type:"tag",tagType:"media"},t[1]&&(e.attributes=w(t[1])),void r.trigger("data",e);if(t=/^#EXT-X-ENDLIST/.exec(n))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(n))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(n))return e={type:"tag",tagType:"program-date-time"},t[1]&&(e.dateTimeString=t[1],e.dateTimeObject=new Date(t[1])),void r.trigger("data",e);if(t=/^#EXT-X-KEY:?(.*)$/.exec(n))return e={type:"tag",tagType:"key"},t[1]&&(e.attributes=w(t[1]),e.attributes.IV&&("0x"===e.attributes.IV.substring(0,2).toLowerCase()&&(e.attributes.IV=e.attributes.IV.substring(2)),e.attributes.IV=e.attributes.IV.match(/.{8}/g),e.attributes.IV[0]=parseInt(e.attributes.IV[0],16),e.attributes.IV[1]=parseInt(e.attributes.IV[1],16),e.attributes.IV[2]=parseInt(e.attributes.IV[2],16),e.attributes.IV[3]=parseInt(e.attributes.IV[3],16),e.attributes.IV=new Uint32Array(e.attributes.IV))),void r.trigger("data",e);if(t=/^#EXT-X-START:?(.*)$/.exec(n))return e={type:"tag",tagType:"start"},t[1]&&(e.attributes=w(t[1]),e.attributes["TIME-OFFSET"]=parseFloat(e.attributes["TIME-OFFSET"]),e.attributes.PRECISE=/YES/.test(e.attributes.PRECISE)),void r.trigger("data",e);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(n))return e={type:"tag",tagType:"cue-out-cont"},t[1]?e.data=t[1]:e.data="",void r.trigger("data",e);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(n))return e={type:"tag",tagType:"cue-out"},t[1]?e.data=t[1]:e.data="",void r.trigger("data",e);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(n))return e={type:"tag",tagType:"cue-in"},t[1]?e.data=t[1]:e.data="",void r.trigger("data",e);if((t=/^#EXT-X-SKIP:(.*)$/.exec(n))&&t[1])return(e={type:"tag",tagType:"skip"}).attributes=w(t[1]),e.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(e.attributes["SKIPPED-SEGMENTS"]=parseInt(e.attributes["SKIPPED-SEGMENTS"],10)),e.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(e.attributes["RECENTLY-REMOVED-DATERANGES"]=e.attributes["RECENTLY-REMOVED-DATERANGES"].split(y)),void r.trigger("data",e);
vendor: 9,790 bytes, line 2
2if((t=/^#EXT-X-PART:(.*)$/.exec(n))&&t[1])return(e={type:"tag",tagType:"part"}).attributes=w(t[1]),["DURATION"].forEach((function(t){e.attributes.hasOwnProperty(t)&&(e.attributes[t]=parseFloat(e.attributes[t]))})),["INDEPENDENT","GAP"].forEach((function(t){e.attributes.hasOwnProperty(t)&&(e.attributes[t]=/YES/.test(e.attributes[t]))})),e.attributes.hasOwnProperty("BYTERANGE")&&(e.attributes.byterange=_(e.attributes.BYTERANGE)),void r.trigger("data",e);if((t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(n))&&t[1])return(e={type:"tag",tagType:"server-control"}).attributes=w(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(t){e.attributes.hasOwnProperty(t)&&(e.attributes[t]=parseFloat(e.attributes[t]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(t){e.attributes.hasOwnProperty(t)&&(e.attributes[t]=/YES/.test(e.attributes[t]))})),void r.trigger("data",e);if((t=/^#EXT-X-PART-INF:(.*)$/.exec(n))&&t[1])return(e={type:"tag",tagType:"part-inf"}).attributes=w(t[1]),["PART-TARGET"].forEach((function(t){e.attributes.hasOwnProperty(t)&&(e.attributes[t]=parseFloat(e.attributes[t]))})),void r.trigger("data",e);if((t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(n))&&t[1])return(e={type:"tag",tagType:"preload-hint"}).attributes=w(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(t){if(e.attributes.hasOwnProperty(t)){e.attributes[t]=parseInt(e.attributes[t],10);var r="BYTERANGE-LENGTH"===t?"length":"offset";e.attributes.byterange=e.attributes.byterange||{},e.attributes.byterange[r]=e.attributes[t],delete e.attributes[t]}})),void r.trigger("data",e);if((t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(n))&&t[1])return(e={type:"tag",tagType:"rendition-report"}).attributes=w(t[1]),["LAST-MSN","LAST-PART"].forEach((function(t){e.attributes.hasOwnProperty(t)&&(e.attributes[t]=parseInt(e.attributes[t],10))})),void r.trigger("data",e);r.trigger("data",{type:"tag",data:n.slice(4)})}}}else r.trigger("data",{type:"comment",text:n.slice(1)})})):this.trigger("data",{type:"uri",uri:line}))},r.addParser=function(t){var e=this,r=t.expression,n=t.customType,o=t.dataParser,l=t.segment;"function"!=typeof o&&(o=function(line){return line}),this.customParsers.push((function(line){if(r.exec(line))return e.trigger("data",{type:"custom",data:o(line),customType:n,segment:l}),!0}))},r.addTagMapper=function(t){var e=t.expression,map=t.map;this.tagMappers.push((function(line){return e.test(line)?map(line):line}))},e}(l),S=function(t){var e={};return Object.keys(t).forEach((function(r){var n;e[(n=r,n.toLowerCase().replace(/-(\w)/g,(function(a){return a[1].toUpperCase()})))]=t[r]})),e},M=function(t){var e=t.serverControl,r=t.targetDuration,n=t.partTargetDuration;if(e){var o="#EXT-X-SERVER-CONTROL",l="holdBack",c="partHoldBack",h=r&&3*r,d=n&&2*n;r&&!e.hasOwnProperty(l)&&(e[l]=h,this.trigger("info",{message:o+" defaulting HOLD-BACK to targetDuration * 3 ("+h+")."})),h&&e[l]<h&&(this.trigger("warn",{message:o+" clamping HOLD-BACK ("+e[l]+") to targetDuration * 3 ("+h+")"}),e[l]=h),n&&!e.hasOwnProperty(c)&&(e[c]=3*n,this.trigger("info",{message:o+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+e[c]+")."})),n&&e[c]<d&&(this.trigger("warn",{message:o+" clamping PART-HOLD-BACK ("+e[c]+") to partTargetDuration * 2 ("+d+")."}),e[c]=d)}},x=function(t){function e(){var e;(e=t.call(this)||this).lineStream=new v,e.parseStream=new T,e.lineStream.pipe(e.parseStream);var r,n,o=f()(e),l=[],c={},d=!1,y=function(){},_={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},w=0;e.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var x=0,k=0;return e.on("end",(function(){c.uri||!c.parts&&!c.preloadHints||(!c.map&&r&&(c.map=r),!c.key&&n&&(c.key=n),c.timeline||"number"!=typeof w||(c.timeline=w),e.manifest.preloadSegment=c)})),e.parseStream.on("data",(function(t){var e,f;({tag:function(){({version:function(){t.version&&(this.manifest.version=t.version)},"allow-cache":function(){this.manifest.allowCache=t.allowed,"allowed"in t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var e={};"length"in t&&(c.byterange=e,e.length=t.length,"offset"in t||(t.offset=x)),"offset"in t&&(c.byterange=e,e.offset=t.offset),x=e.offset+e.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"})),t.duration>0&&(c.duration=t.duration),0===t.duration&&(c.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=l},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("com.microsoft.playready"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:Object(m.a)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(n.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,w=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){this.manifest.playlists=l,this.manifest.mediaGroups=this.manifest.mediaGroups||_,t.attributes?(c.attributes||(c.attributes={}),h()(c.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||_,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(f={default:/yes/i.test(t.attributes.DEFAULT)}).default?f.autoselect=!0:f.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(f.language=t.attributes.LANGUAGE),t.attributes.URI&&(f.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(f.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(f.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(f.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=f}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){w+=1,c.discontinuity=!0,this.manifest.discontinuityStarts.push(l.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),c.dateTimeString=t.dateTimeString,c.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,M.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){c.cueOut=t.data},"cue-out-cont":function(){c.cueOutCont=t.data},"cue-in":function(){c.cueIn=t.data},skip:function(){this.manifest.skip=S(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;d=!0;var r=this.manifest.segments.length,n=S(t.attributes);c.parts=c.parts||[],c.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=k),k=n.byterange.offset+n.byterange.length);var o=c.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+o+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEac
2h((function(t,i){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+i+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var e=this.manifest.serverControl=S(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),M.call(this,this.manifest),e.canSkipDateranges&&!e.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 e=this.manifest.segments.length,r=S(t.attributes),n=r.type&&"PART"===r.type;c.preloadHints=c.preloadHints||[],c.preloadHints.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=n?k:0,n&&(k=r.byterange.offset+r.byterange.length)));var o=c.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+o+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var i=0;i<c.preloadHints.length-1;i++){var l=c.preloadHints[i];l.type&&(l.type===r.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+o+" for segment #"+e+" has the same TYPE "+r.type+" as preload hint #"+i}))}},"rendition-report":function(){var e=S(t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);var r=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];d&&n.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+r,t.attributes,n)},"part-inf":function(){this.manifest.partInf=S(t.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",t.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),M.call(this,this.manifest)}}[t.tagType]||y).call(o)},uri:function(){c.uri=t.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),n&&(c.key=n),c.timeline=w,r&&(c.map=r),k=0,c={}},comment:function(){},custom:function(){t.segment?(c.custom=c.custom||{},c.custom[t.customType]=t.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[t.customType]=t.data)}})[t.type].call(o)})),e}o()(e,t);var r=e.prototype;return r.warnOnMissingAttributes_=function(t,e,r){var n=[];r.forEach((function(t){e.hasOwnProperty(t)||n.push(t)})),n.length&&this.trigger("warn",{message:t+" lacks required attribute(s): "+n.join(", ")})},r.push=function(t){this.lineStream.push(t)},r.end=function(){this.lineStream.push("\n"),this.trigger("end")},r.addParser=function(t){this.parseStream.addParser(t)},r.addTagMapper=function(t){this.parseStream.addTagMapper(t)},e}(l)},,,,,,,,,function(t,e,r){(function(t){t.installComponents=function(component,t){var r="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(r.components=component.exports.options.components),r.components=r.components||{},t)r.components[i]=r.components[i]||t[i];r.functional&&function(component,t){if(component.exports[e])return;component.exports[e]=!0;var r=component.exports.render;component.exports.render=function(e,n){return r(e,Object.assign({},n,{_c:function(e,a,b){return n._c(t[e]||e,a,b)}}))}}(component,r.components)};var e="_functionalComponents"}).call(this,r(40))},function(t,e,r){"use strict";r.r(e),function(t){r(51),r(49),r(80),r(38),r(72),r(81);var e=r(17),n=r(12),o=(r(240),r(498),r(511),r(512),r(55),r(45),r(9),r(24),r(29),r(26),r(57),r(61),r(22),r(54),r(30),r(59),r(60),r(71),r(7)),l=r(445),c=r(173),h=r(8),d=r(100),f=r(468),m=r(231),v=r(469);function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}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(){r=r.call(t)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw o}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}Object(v.a)(),o.default.__nuxt__fetch__mixin__||(o.default.mixin(f.a),o.default.__nuxt__fetch__mixin__=!0),o.default.component(m.a.name,m.a),o.default.component("NLink",m.a),t.fetch||(t.fetch=l.a);var w,T,S=[],M=window.__NUXT__||{},x=M.config||{};x._app&&(r.p=Object(h.v)(x._app.cdnURL,x._app.assetsPath)),Object.assign(o.default.config,{silent:!0,performance:!1});var k=o.default.config.errorHandler||console.error;function E(t,e,r){for(var n=function(component){var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,r=new Array(e>2?e-2:0),n=2;n<e;n++)r[n-2]=arguments[n];return option.apply(void 0,r)}return option}(component,"transition",e,r)||{};return"string"==typeof t?{name:t}:t},o=r?Object(h.h)(r):[],l=Math.max(t.length,o.length),c=[],d=function(){var e=Object.assign({},n(t[i])),r=Object.assign({},n(o[i]));Object.keys(e).filter((function(t){return void 0!==e[t]&&!t.toLowerCase().includes("leave")}
2)).forEach((function(t){r[t]=e[t]})),c.push(r)},i=0;i<l;i++)d();return c}function O(t,e,r){return C.apply(this,arguments)}function C(){return(C=Object(n.a)(regeneratorRuntime.mark((function t(e,r,n){var o,l,c,d,f=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._routeChanged=Boolean(w.nuxt.err)||r.name!==e.name,this._paramChanged=!this._routeChanged&&r.path!==e.path,this._queryChanged=!this._paramChanged&&r.fullPath!==e.fullPath,this._diffQuery=this._queryChanged?Object(h.j)(e.query,r.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),t.prev=5,!this._queryChanged){t.next=12;break}return t.next=9,Object(h.r)(e,(function(t,e){return{Component:t,instance:e}}));case 9:o=t.sent,o.some((function(t){var n=t.Component,o=t.instance,l=n.options.watchQuery;return!0===l||(Array.isArray(l)?l.some((function(t){return f._diffQuery[t]})):"function"==typeof l&&l.apply(o,[e.query,r.query]))}))&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();case 12:n(),t.next=26;break;case 15:if(t.prev=15,t.t0=t.catch(5),l=t.t0||{},c=l.statusCode||l.status||l.response&&l.response.status||500,d=l.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(d)){t.next=23;break}return window.location.reload(!0),t.abrupt("return");case 23:this.error({statusCode:c,message:d}),this.$nuxt.$emit("routeChanged",e,r,l),n();case 26:case"end":return t.stop()}}),t,this,[[5,15]])})))).apply(this,arguments)}function A(t,e){return M.serverRendered&&e&&Object(h.b)(t,e),t._Ctor=t,t}function I(t,e,r,n){var o=this,l=["redirect","nuxti18n"],d=!1;if(void 0!==r&&(l=[],(r=Object(h.s)(r)).options.middleware&&(l=l.concat(r.options.middleware)),t.forEach((function(t){t.options.middleware&&(l=l.concat(t.options.middleware))}))),l=l.map((function(t){return"function"==typeof t?t:("function"!=typeof c.a[t]&&(d=!0,o.error({statusCode:500,message:"Unknown middleware "+t})),c.a[t])})),!d)return Object(h.o)(l,e,n)}function P(t,e,r,n){return R.apply(this,arguments)}function R(){return R=Object(n.a)(regeneratorRuntime.mark((function t(e,r,o,l){var c,f,m,v,_,T,M,x,k,O,C,A,P,R,D,L,N=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){t.next=2;break}return t.abrupt("return",o());case 2:return c=!1,e===r?(S=[],c=!0):(f=[],S=Object(h.h)(r,f).map((function(t,i){return Object(h.c)(r.matched[f[i]].path)(r.params)}))),m=!1,v=function(path){r.path===path.path&&N.$loading.finish&&N.$loading.finish(),r.path!==path.path&&N.$loading.pause&&N.$loading.pause(),m||(m=!0,o(path))},t.next=8,Object(h.t)(w,{route:e,from:r,error:function(t){l.aborted||w.nuxt.error.call(N,t)},next:v.bind(this)});case 8:if(this._dateLastError=w.nuxt.dateErr,this._hadError=Boolean(w.nuxt.err),_=[],(T=Object(h.h)(e,_)).length){t.next=33;break}return t.next=15,I.call(this,T,w.context,void 0,l);case 15:if(!m){t.next=17;break}return t.abrupt("return");case 17:if(!l.aborted){t.next=20;break}return o(!1),t.abrupt("return");case 20:return M=(d.a.options||d.a).layout,t.next=23,this.loadLayout("function"==typeof M?M.call(d.a,w.context):M);case 23:return x=t.sent,t.next=26,I.call(this,T,w.context,x,l);case 26:if(!m){t.next=28;break}return t.abrupt("return");case 28:if(!l.aborted){t.next=31;break}return o(!1),t.abrupt("return");case 31:return w.context.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",o());case 33:return T.forEach((function(t){t._Ctor&&t._Ctor.options&&(t.options.asyncData=t._Ctor.options.asyncData,t.options.fetch=t._Ctor.options.fetch)})),this.setTransitions(E(T,e,r)),t.prev=35,t.next=38,I.call(this,T,w.context,void 0,l);case 38:if(!m){t.next=40;break}return t.abrupt("return");case 40:if(!l.aborted){t.next=43;break}return o(!1),t.abrupt("return");case 43:if(!w.context._errored){t.next=45;break}return t.abrupt("return",o());case 45:return"function"==typeof(k=T[0].options.layout)&&(k=k(w.context)),t.next=49,this.loadLayout(k);case 49:return k=t.sent,t.next=52,I.call(this,T,w.context,k,l);case 52:if(!m){t.next=54;break}return t.abrupt("return");case 54:if(!l.aborted){t.next=57;break}return o(!1),t.abrupt("return");case 57:if(!w.context._errored){t.next=59;break}return t.abrupt("return",o());case 59:O=!0,t.prev=60,C=y(T),t.prev=62,C.s();case 64:if((A=C.n()).done){t.next=75;break}if("function"==typeof(P=A.value).options.validate){t.next=68;break}return t.abrupt("continue",73);case 68:return t.next=70,P.options.validate(w.context);case 70:if(O=t.sent){t.next=73;break}return t.abrupt("break",75);case 73:t.next=64;break;case 75:t.next=80;break;case 77:t.prev=77,t.t0=t.catch(62),C.e(t.t0);case 80:return t.prev=80,C.f(),t.finish(80);case 83:t.next=89;break;case 85:return t.prev=85,t.t1=t.catch(60),this.error({statusCode:t.t1.statusCode||"500",message:t.t1.message}),t.abrupt("return",o());case 89:if(O){t.next=92;break}return this.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",o());case 92:return t.next=94,Promise.all(T.map(function(){var t=Object(n.a)(regeneratorRuntime.mark((function t(n,i){var o,l,d,f,m,v,y,T,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n._path=Object(h.c)(e.matched[_[i]].path)(e.params),n._dataRefresh=!1,o=n._path!==S[i],N._routeChanged&&o?n._dataRefresh=!0:N._paramChanged&&o?(l=n.options.watchParam,n._dataRefresh=!1!==l):N._queryChanged&&(!0===(d=n.options.watchQuery)?n._dataRefresh=!0:Array.isArray(d)?n._dataRefresh=d.some((function(t){return N._diffQuery[t]})):"function"==typeof d&&(R||(R=Object(h.i)(e)),n._dataRefresh=d.apply(R[i],[e.query,r.query]))),N._hadError||!N._isMounted||n._dataRefresh){t.next=6;break}return t.abrupt("return");case 6:return f=[],m=n.options.asyncData&&"function"==typeof n.options.asyncData,v=Boolean(n.options.fetch)&&n.options.fetch.length,y=m&&v?30:45,m&&((T=N.isPreview||c?Object(h.q)(n.options.asyncData,w.context):N.fetchPayload(e.path).then((function(t){return t.data[i]})).catch((function(t){return Object(h.q)(n.options.asyncData,w.context)}))).then((function(t){Object(h.b)(n,t),N.$loading.increase&&N.$loading.increase(y)}
2)),f.push(T)),N.isPreview||c||f.push(N.fetchPayload(e.path).then((function(t){t.mutations.forEach((function(t){N.$store.commit(t[0],t[1])}))})).catch((function(t){return null}))),N.$loading.manual=!1===n.options.loading,N.isPreview||c||f.push(N.fetchPayload(e.path).catch((function(t){return null}))),v&&((p=n.options.fetch(w.context))&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then((function(t){N.$loading.increase&&N.$loading.increase(y)})),f.push(p)),t.abrupt("return",Promise.all(f));case 16:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()));case 94:if(m){t.next=100;break}if(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),!l.aborted){t.next=99;break}return o(!1),t.abrupt("return");case 99:o();case 100:t.next=119;break;case 102:if(t.prev=102,t.t2=t.catch(35),!l.aborted){t.next=107;break}return o(!1),t.abrupt("return");case 107:if("ERR_REDIRECT"!==(D=t.t2||{}).message){t.next=110;break}return t.abrupt("return",this.$nuxt.$emit("routeChanged",e,r,D));case 110:return S=[],Object(h.l)(D),"function"==typeof(L=(d.a.options||d.a).layout)&&(L=L(w.context)),t.next=116,this.loadLayout(L);case 116:this.error(D),this.$nuxt.$emit("routeChanged",e,r,D),o();case 119:case"end":return t.stop()}}),t,this,[[35,102],[60,85],[62,77,80,83]])}))),R.apply(this,arguments)}function D(t,r){Object(h.e)(t,(function(t,r,n,l){return"object"!==Object(e.a)(t)||t.options||((t=o.default.extend(t))._Ctor=t,n.components[l]=t),t}))}function L(t){var e=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(e=!1);var r=e?(d.a.options||d.a).layout:t.matched[0].components.default.options.layout;"function"==typeof r&&(r=r(w.context)),this.setLayout(r)}function N(t){t._hadError&&t._dateLastError===t.$options.nuxt.dateErr&&t.error()}function j(t,e){var r=this;if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var n=Object(h.i)(t),l=Object(h.h)(t),c=!1;o.default.nextTick((function(){n.forEach((function(t,i){if(t&&!t._isDestroyed&&t.constructor._dataRefresh&&l[i]===t.constructor&&!0!==t.$vnode.data.keepAlive&&"function"==typeof t.constructor.options.data){var e=t.constructor.options.data.call(t);for(var r in e)o.default.set(t.$data,r,e[r]);c=!0}})),c&&window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),N(r)}))}}function B(t){window.onNuxtReadyCbs.forEach((function(e){"function"==typeof e&&e(t)})),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(t),T.afterEach((function(e,r){o.default.nextTick((function(){return t.$nuxt.$emit("routeChanged",e,r)}))}))}function F(){return F=Object(n.a)(regeneratorRuntime.mark((function t(e){var r,l,c,d,f,m,v,y;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(w=e.app,T=e.router,e.store,r=new o.default(w),M.data||!M.serverRendered){t.next=14;break}return t.prev=5,t.next=8,r.fetchPayload(M.routePath||r.context.route.path);case 8:l=t.sent,Object.assign(M,l),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(5);case 14:return c=M.layout||"default",t.next=17,r.loadLayout(c);case 17:return r.setLayout(c),d=function(){r.$mount("#__nuxt"),T.afterEach(D),T.afterEach(L.bind(r)),T.afterEach(j.bind(r)),o.default.nextTick((function(){B(r)}))},t.next=21,Promise.all((_=w.context.route,Object(h.e)(_,function(){var t=Object(n.a)(regeneratorRuntime.mark((function t(e,r,n,o,l){var c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e||e.options){t.next=4;break}return t.next=3,e();case 3:e=t.sent;case 4:return c=A(Object(h.s)(e),M.data?M.data[l]:null),n.components[o]=c,t.abrupt("return",c);case 7:case"end":return t.stop()}}),t)})));return function(e,r,n,o,l){return t.apply(this,arguments)}}())));case 21:if(f=t.sent,r.setTransitions=r.$options.nuxt.setTransitions.bind(r),f.length&&(r.setTransitions(E(f,T.currentRoute)),S=T.currentRoute.matched.map((function(t){return Object(h.c)(t.path)(T.currentRoute.params)}))),r.$loading={},M.error&&r.error(M.error),T.beforeEach(O.bind(r)),m=null,v=P.bind(r),T.beforeEach((function(t,e,r){m&&(m.aborted=!0),v(t,e,r,m={aborted:!1})})),!M.serverRendered){t.next=32;break}return t.abrupt("return",d());case 32:return y=function(){D(T.currentRoute,T.currentRoute),L.call(r,T.currentRoute),N(r),d()},t.next=35,new Promise((function(t){return setTimeout(t,0)}));case 35:P.call(r,T.currentRoute,T.currentRoute,(function(path){if(path){var t=T.afterEach((function(e,r){t(),y()}));T.push(path,void 0,(function(t){t&&k(t)}))}else y()}),{aborted:!1});case 36:case"end":return t.stop()}var _}),t,null,[[5,12]])}))),F.apply(this,arguments)}Object(d.b)(null,M.config).then((function(t){return F.apply(this,arguments)})).catch(k)}.call(this,r(40))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r(367)},function(t,e,r){var n=r(32)((function(i){return i[1]}));n.push([t.i,".nuxt-progress{background-color:#000;height:5px;left:0;opacity:1;position:fixed;right:0;top:0;transition:width .1s,opacity .4s;width:0;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}",""]),n.locals={}
2,t.exports=n},function(t,e,r){var content=r(566);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(33).default)("1dbe50e4",content,!0,{sourceMap:!1})},function(t,e,r){var n=r(32)((function(i){return i[1]}));n.push([t.i,"*,:after,:before{box-sizing:border-box}blockquote,body,dd,dl,figure,h1,h2,h3,h4,p{margin:0}ol[role=list],ul[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{line-height:1.5;min-height:100vh;text-rendering:optimizeSpeed}a:not([class]){-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}img,picture{display:block;max-width:100%}button,input,select,textarea{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}",""]),n.locals={},t.exports=n},,,,,,,,function(t,e,r){var content=r(575);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(33).default)("2fb3ffe7",content,!0,{sourceMap:!1})},function(t,e,r){var n=r(32)((function(i){return i[1]}));n.push([t.i,'.Vue-Toastification__container{box-sizing:border-box;color:#fff;display:flex;flex-direction:column;min-height:100%;padding:4px;pointer-events:none;position:fixed;width:600px;z-index:9999}@media only screen and (min-width:600px){.Vue-Toastification__container.top-center,.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right{top:1em}.Vue-Toastification__container.bottom-center,.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.top-left{left:1em}.Vue-Toastification__container.bottom-left .Vue-Toastification__toast,.Vue-Toastification__container.top-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance:none){.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl{margin-left:auto;margin-right:0}}.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.top-right{right:1em}.Vue-Toastification__container.bottom-right .Vue-Toastification__toast,.Vue-Toastification__container.top-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance:none){.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl{margin-left:0;margin-right:auto}}.Vue-Toastification__container.bottom-center,.Vue-Toastification__container.top-center{left:50%;margin-left:-300px}.Vue-Toastification__container.bottom-center .Vue-Toastification__toast,.Vue-Toastification__container.top-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{left:0;margin:0;padding:0;width:100vw}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-center,.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right{top:0}.Vue-Toastification__container.bottom-center,.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{border-radius:8px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);box-sizing:border-box;direction:ltr;display:inline-flex;font-family:"Lato",Helvetica,"Roboto",Arial,sans-serif;justify-content:space-between;margin-bottom:1rem;max-height:800px;max-width:600px;min-height:64px;min-width:326px;overflow:hidden;padding:22px 24px;pointer-events:auto;position:relative;transform:translateZ(0)}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;font-size:16px;line-height:24px;white-space:pre-wrap;word-break:break-word}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important;transition:none!important}.Vue-Toastification__close-button{align-items:center;background:transparent;border:none;color:#fff;cursor:pointer;font-size:24px;font-weight:700;line-height:24px;opacity:.3;outline:none;padding:0 0 0 10px;transition:.3s ease;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:focus,.Vue-Toastification__close-button:hover{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}
2.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:0;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{animation:scale-x-frames linear 1 forwards;background-color:hsla(0,0%,100%,.7);bottom:0;height:5px;left:0;position:absolute;transform-origin:left;width:100%;z-index:10000}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{left:auto;right:0;transform-origin:right}.Vue-Toastification__icon{align-items:center;background:transparent;border:none;height:100%;margin:auto 18px auto 0;outline:none;padding:0;transition:.3s ease;width:20px}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.bottom-left,.Vue-Toastification__bounce-enter-active.top-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.bottom-right,.Vue-Toastification__bounce-enter-active.top-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active.bottom-left,.Vue-Toastification__bounce-leave-active.top-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active.bottom-right,.Vue-Toastification__bounce-leave-active.top-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active.top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active.bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-move{transition-duration:.4s;transition-property:all;transition-timing-function:ease-in-out}@keyframes fadeOutTop{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-50px)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-50px)}}@keyframes fadeOutBottom{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(50px)}}@keyframes fadeOutRight{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(50px)}}@keyframes fadeInLeft{0%{opacity:0;transform:translateX(-50px)}to{opacity:1;transform:translateX(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}@keyframes fadeInTop{0%{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInBottom{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.Vue-Toastification__fade-enter-active.bottom-left,.Vue-Toastification__fade-enter-active.top-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.bottom-right,.Vue-Toastification__fade-enter-active.top-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active.bottom-left,.Vue-Toastification__fade-leave-active.top-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active.bottom-right,.Vue-Toastification__fade-leave-active.top-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active.top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active.bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-move{transition-duration:.4s;transition-property:all;transition-timing-function:ease-in-out}@keyframes slideInBlurredLeft{0%{filter:blur(40px);opacity:0;transform:translateX(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%}to{filter:blur(0);opacity:1;transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%}}@keyframes slideInBlurredTop{0%{filter:blur(240px);opacity:0;transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0}to{filter:blur(0);opacity:1;transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%}}
2@keyframes slideInBlurredRight{0%{filter:blur(40px);opacity:0;transform:translateX(1000px) scaleX(2.5) scaleY(.2);transform-origin:0 50%}to{filter:blur(0);opacity:1;transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%}}@keyframes slideInBlurredBottom{0%{filter:blur(240px);opacity:0;transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%}to{filter:blur(0);opacity:1;transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%}}@keyframes slideOutBlurredTop{0%{filter:blur(0);opacity:1;transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0}to{filter:blur(240px);opacity:0;transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0}}@keyframes slideOutBlurredBottom{0%{filter:blur(0);opacity:1;transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%}to{filter:blur(240px);opacity:0;transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%}}@keyframes slideOutBlurredLeft{0%{filter:blur(0);opacity:1;transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%}to{filter:blur(40px);opacity:0;transform:translateX(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%}}@keyframes slideOutBlurredRight{0%{filter:blur(0);opacity:1;transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%}to{filter:blur(40px);opacity:0;transform:translateX(1000px) scaleX(2) scaleY(.2);transform-origin:0 50%}}.Vue-Toastification__slideBlurred-enter-active.bottom-left,.Vue-Toastification__slideBlurred-enter-active.top-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.bottom-right,.Vue-Toastification__slideBlurred-enter-active.top-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active.bottom-left,.Vue-Toastification__slideBlurred-leave-active.top-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active.bottom-right,.Vue-Toastification__slideBlurred-leave-active.top-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active.top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active.bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-move{transition-duration:.4s;transition-property:all;transition-timing-function:ease-in-out}',""]),n.locals={},t.exports=n},,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=function(t){if(!t)return!1;var e=r.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var r=Object.prototype.toString},function(t,e,r){"use strict";var n=r(0);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,o,l){if(r)t(r);else if(o.statusCode>=400&&o.statusCode<=599){var c=l;if(e)if(n.TextDecoder){var h=function(t){void 0===t&&(t="");return t.toLowerCase().split(";").reduce((function(t,e){var r=e.split("="),n=r[0],o=r[1];return"charset"===n.trim()?o.trim():t}),"utf-8")}(o.headers&&o.headers["content-type"]);try{c=new TextDecoder(h).decode(l)}catch(t){}}else c=String.fromCharCode.apply(null,new Uint8Array(l));t({cause:c})}else t(null,l)}}},function(t,e,r){var n=r(5),o=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function l(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function c(input){function t(t,e,s,r){return 3600*(0|t)+60*(0|e)+(0|s)+(0|r)/1e3}var e=input.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return e?e[3]?t(e[1],e[2],e[3].replace(":",""),e[4]):e[1]>59?t(e[1],e[2],0,e[4]):t(0,e[1],e[2],e[4]):null}function h(){this.values=o(null)}function d(input,t,e,r){var n=r?input.split(r):[input];for(var i in n)if("string"==typeof n[i]){var o=n[i].split(e);
vendor: 5,039 bytes, line 2
2if(2===o.length)t(o[0].trim(),o[1].trim())}}function f(input,t,e){var r=input;function n(){var t=c(input);if(null===t)throw new l(l.Errors.BadTimeStamp,"Malformed timestamp: "+r);return input=input.replace(/^[^\sa-zA-Z-]+/,""),t}function o(){input=input.replace(/^\s+/,"")}if(o(),t.startTime=n(),o(),"--\x3e"!==input.substr(0,3))throw new l(l.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);input=input.substr(3),o(),t.endTime=n(),o(),function(input,t){var r=new h;d(input,(function(t,n){switch(t){case"region":for(var i=e.length-1;i>=0;i--)if(e[i].id===n){r.set(t,e[i].region);break}break;case"vertical":r.alt(t,n,["rl","lr"]);break;case"line":var o=n.split(","),l=o[0];r.integer(t,l),r.percent(t,l)&&r.set("snapToLines",!1),r.alt(t,l,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=n.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(t,n);break;case"align":r.alt(t,n,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(t){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(input,t)}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."}},h.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,a){for(var r=0;r<a.length;++r)if(e===a[r]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0&&e<=100)&&(this.set(t,e),!0)}};var m=n.createElement&&n.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"},w={rt:"ruby"};function T(t,input){function e(){if(!input)return null;var t,e=input.match(/^([^<]*)(<[^>]*>?)?/);return t=e[1]?e[1]:e[2],input=input.substr(t.length),t}function r(t,element){return!w[element.localName]||w[element.localName]===t.localName}function n(e,r){var n=v[e];if(!n)return null;var element=t.document.createElement(n),o=_[e];return o&&r&&(element[o]=r.trim()),element}for(var o,s,l=t.document.createElement("div"),h=l,d=[];null!==(o=e());)if("<"!==o[0])h.appendChild(t.document.createTextNode((s=o,m.innerHTML=s,s=m.textContent,m.textContent="",s)));else{if("/"===o[1]){d.length&&d[d.length-1]===o.substr(2).replace(">","")&&(d.pop(),h=h.parentNode);continue}var f,T=c(o.substr(1,o.length-2));if(T){f=t.document.createProcessingInstruction("timestamp",T),h.appendChild(f);continue}var S=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!S)continue;if(!(f=n(S[1],S[3])))continue;if(!r(h,f))continue;if(S[2]){var M=S[2].split(".");M.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(y.hasOwnProperty(r)){var n=e?"background-color":"color",o=y[r];f.style[n]=o}})),f.className=M.join(" ")}d.push(S[1]),h.appendChild(f),h=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
vendor: 7,746 bytes, line 2
2],[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 M(t){for(var i=0;i<S.length;i++){var e=S[i];if(t>=e[0]&&t<=e[1])return!0}return!1}function x(t){var e=[],text="";if(!t||!t.childNodes)return"ltr";function r(t,e){for(var i=e.childNodes.length-1;i>=0;i--)t.push(e.childNodes[i])}function n(t){if(!t||!t.length)return null;var e=t.pop(),text=e.textContent||e.innerText;if(text){var o=text.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):text}return"ruby"===e.tagName?n(t):e.childNodes?(r(t,e),n(t)):void 0}for(r(e,t);text=n(e);)for(var i=0;i<text.length;i++)if(M(text.charCodeAt(i)))return"rtl";return"ltr"}function k(){}function E(t,e,r){k.call(this),this.cue=e,this.cueDiv=T(t,e.text);var n={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:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=t.document.createElement("div"),n={direction:x(this.cueDiv),writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===e.align?"center":e.align,font:r.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(n),this.div.appendChild(this.cueDiv);var o=0;switch(e.positionAlign){case"start":case"line-left":o=e.position;break;case"center":o=e.position-e.size/2;break;case"end":case"line-right":o=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(o,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(o,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function O(t){var e,r,n,o;if(t.div){r=t.div.offsetHeight,n=t.div.offsetWidth,o=t.div.offsetTop;var l=(l=t.div.childNodes)&&(l=l[0])&&l.getClientRects&&l.getClientRects();t=t.div.getBoundingClientRect(),e=l?Math.max(l[0]&&l[0].height||0,t.height/l.length):0}this.left=t.left,this.right=t.right,this.top=t.top||o,this.height=t.height||r,this.bottom=t.bottom||o+(t.height||r),this.width=t.width||n,this.lineHeight=void 0!==e?e:t.lineHeight}function C(t,e,r,n){var o=new O(e),l=e.cue,c=function(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var track=t.track,e=track.textTrackList,r=0,i=0;i<e.length&&e[i]!==track;i++)"showing"===e[i].mode&&r++;return-1*++r}(l),h=[];if(l.snapToLines){var d;switch(l.vertical){case"":h=["+y","-y"],d="height";break;case"rl":h=["+x","-x"],d="width";break;case"lr":h=["-x","+x"],d="width"}var f=o.lineHeight,m=f*Math.round(c),v=r[d]+f,y=h[0];Math.abs(m)>v&&(m=m<0?-1:1,m*=Math.ceil(v/f)*f),c<0&&(m+=""===l.vertical?r.height:r.width,h=h.reverse()),o.move(y,m)}else{var _=o.lineHeight/r.height*100;switch(l.lineAlign){case"center":c-=_/2;break;case"end":c-=_}switch(l.vertical){case"":e.applyStyles({top:e.formatStyle(c,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(c,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(c,"%")})}h=["+y","-x","+x","-y"],o=new O(e)}var w=function(b,t){for(var e,o=new O(b),l=1,i=0;i<t.length;i++){for(;b.overlapsOppositeAxis(r,t[i])||b.within(r)&&b.overlapsAny(n);)b.move(t[i]);if(b.within(r))return b;var p=b.intersectPercentage(r);l>p&&(e=new O(b),l=p),b=new O(o)}return e||o}(o,h);e.move(w.toCSSCompatValues(r))}function A(){}k.prototype.applyStyles=function(t,div){for(var e in div=div||this.div,t)t.hasOwnProperty(e)&&(div.style[e]=t[e])},k.prototype.formatStyle=function(t,e){return 0===t?0:t+e},E.prototype=o(k.prototype),E.prototype.constructor=E,O.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},O.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},O.prototype.overlapsAny=function(t){for(var i=0;i<t.length;i++)if(this.overlaps(t[i]))return!0;return!1},O.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},O.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},O.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},O.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},O.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},A.StringDecoder=function(){return{decode:function(data){if(!data)return"";if("string"!=typeof data)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(data))}}},A.convertCueToDOMTree=function(t,e){return t&&e?T(t,e):null};A.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var i=0;i<t.length;i++)if(t[i].hasBeenReset||!t[i].displayState)return!0;return!1}(e)){var o=[],l=O.getSimpleBoxPosition(n),c={font:Math.round(.05*l.height*100)/100+"px sans-serif"};!function(){for(var r,h,i=0;i<e.length;i++)h=e[i],r=new E(t,h,c),n.appendChild(r.div),C(0,r,l,o),h.displayState=r.div,o.push(O.getSimpleBoxPosition(r))}()}else for(var i=0;i<e.length;i++)n.appendChild(e[i].displayState)},A.Parser=function(t,e,r){r||(r=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=r||new TextDecoder("utf8"),this.regionList=[]},A.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof l))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(data){var t=this;function e(){for(var e=t.buffer,r=0;r<e.length&&"\r"!==e[r]&&"\n"!==e[r];)++r;var line=e.substr(0,r);return"\r"===e[r]&&++r,"\n"===e[r]&&++r,t.buffer=e.substr(r),line}function r(input){input.match(/X-TIMESTAMP-MAP/)?d(input,(function(e,r){if("X-TIMESTAMP-MAP"===e)!function(input){var e=new h;d(input,(function(t,r){switch(t){case"MPEGT":e.integer(t+"S",r);break;case"LOCA":e.set(t+"L",c(r))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:e.get("MPEGTS"),LOCAL:e.get("LOCAL")})}(r)}),/=/):d(input,(function(e,r){if("Region"===e)!function(input){var e=new h;if(d(input,(function(t,r){switch(t){case"id":e.set(t,r);break;case"width":e.percent(t,r);break;case"lines":e.integer(t,r);break;case"regionanchor":case"viewportanchor":var n=r.split(",");if(2!==n.length)break;var o=new h;
vendor: 2,103 bytes, line 2
2if(o.percent("x",n[0]),o.percent("y",n[1]),!o.has("x")||!o.has("y"))break;e.set(t+"X",o.get("x")),e.set(t+"Y",o.get("y"));break;case"scroll":e.alt(t,r,["up"])}}),/=/,/\s/),e.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=e.get("width",100),r.lines=e.get("lines",3),r.regionAnchorX=e.get("regionanchorX",0),r.regionAnchorY=e.get("regionanchorY",100),r.viewportAnchorX=e.get("viewportanchorX",0),r.viewportAnchorY=e.get("viewportanchorY",100),r.scroll=e.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:e.get("id"),region:r})}}(r)}),/:/)}data&&(t.buffer+=t.decoder.decode(data,{stream:!0}));try{var line;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var n=(line=e()).match(/^WEBVTT([ \t].*)?$/);if(!n||!n[0])throw new l(l.Errors.BadSignature);t.state="HEADER"}for(var o=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(o?o=!1:line=e(),t.state){case"HEADER":/:/.test(line)?r(line):line||(t.state="ID");continue;case"NOTE":line||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(line)){t.state="NOTE";break}if(!line)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===line.indexOf("--\x3e")){t.cue.id=line;continue}case"CUE":try{f(line,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var m=-1!==line.indexOf("--\x3e");if(!line||m&&(o=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=line.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":line||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new l(l.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.exports=A}
vendor: 9,713 bytes, line 2
2,function(t,e){var r={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function o(t){return"string"==typeof t&&(!!n[t.toLowerCase()]&&t.toLowerCase())}function l(t,e,text){this.hasBeenReset=!1;var n="",l=!1,c=t,h=e,d=text,f=null,m="",v=!0,y="auto",_="start",w="auto",T="auto",S=100,M="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return n},set:function(t){n=""+t}},pauseOnExit:{enumerable:!0,get:function(){return l},set:function(t){l=!!t}},startTime:{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");c=t,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return h},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");h=t,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return d},set:function(t){d=""+t,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return f},set:function(t){f=t,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return m},set:function(t){var e=function(t){return"string"==typeof t&&!!r[t.toLowerCase()]&&t.toLowerCase()}(t);if(!1===e)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");m=e,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return v},set:function(t){v=!!t,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return y},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("Line: an invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return _},set:function(t){var e=o(t);e?(_=e,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");w=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return T},set:function(t){var e=o(t);e?(T=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return S},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");S=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return M},set:function(t){var e=o(t);if(!e)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");M=e,this.hasBeenReset=!0}}}),this.displayState=void 0}l.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=l},function(t,e){var r={"":!0,up:!0};function n(t){return"number"==typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,e=3,o=0,l=100,c=0,h=100,d="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!n(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return l},set:function(t){if(!n(t))throw new Error("RegionAnchorX must be between 0 and 100.");l=t}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!n(t))throw new Error("RegionAnchorY must be between 0 and 100.");o=t}},viewportAnchorY:{enumerable:!0,get:function(){return h},set:function(t){if(!n(t))throw new Error("ViewportAnchorY must be between 0 and 100.");h=t}},viewportAnchorX:{enumerable:!0,get:function(){return c},set:function(t){if(!n(t))throw new Error("ViewportAnchorX must be between 0 and 100.");c=t}},scroll:{enumerable:!0,get:function(){return d},set:function(t){var e=function(t){return"string"==typeof t&&!!r[t.toLowerCase()]&&t.toLowerCase()}(t);!1===e?console.warn("Scroll: an invalid or illegal string was specified."):d=e}}})}},,function(t,e,r){"use strict";e.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,i,r=c(t),n=r[0],h=r[1],d=new l(function(t,e,r){return 3*(e+r)/4-r}(0,n,h)),f=0,m=h>0?n-4:n;for(i=0;i<m;i+=4)e=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],d[f++]=e>>16&255,d[f++]=e>>8&255,d[f++]=255&e;2===h&&(e=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,d[f++]=255&e);1===h&&(e=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,d[f++]=e>>8&255,d[f++]=255&e);return d},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,l=[],c=16383,i=0,d=r-o;i<d;i+=c)l.push(h(t,i,i+c>d?d:i+c));1===o?(e=t[r-1],l.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],l.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return l.join("")};for(var n=[],o=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)n[i]=code[i],o[code.charCodeAt(i)]=i;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function h(t,e,r){for(var o,l,output=[],i=e;i<r;i+=3)o=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),output.push(n[(l=o)>>18&63]+n[l>>12&63]+n[l>>6&63]+n[63&l]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,o){var l,c,h=8*o-n-1,d=(1<<h)-1,f=d>>1,m=-7,i=r?o-1:0,v=r?-1:1,s=t[e+i];for(i+=v,l=s&(1<<-m)-1,s>>=-m,m+=h;m>0;l=256*l+t[e+i],i+=v,m-=8);for(c=l&(1<<-m)-1,l>>=-m,m+=n;m>0;c=256*c+t[e+i],i+=v,m-=8);if(0===l)l=1-f;else{if(l===d)return c?NaN:1/0*(s?-1:1);c+=Math.pow(2,n),l-=f}return(s?-1:1)*c*Math.pow(2,l-n)},e.write=function(t,e,r,n,o,l){var c,h,d,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=n?0:l-1,y=n?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(h=isNaN(e)?1:0,c=m):(c=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-c))<1&&(c--,d*=2),(e+=c+v>=1?rt/d:rt*Math.pow(2,1-v))*d>=2&&(c++,d/=2),c+v>=m?(h=0,c=m):c+v>=1?(h=(e*d-1)*Math.pow(2,o),c+=v):(h=e*Math.pow(2,v-1)*Math.pow(2,o),c=0));o>=8;t[r+i]=255&h,i+=y,h/=256,o-=8);for(c=c<<o|h,f+=o;f>0;t[r+i]=255&c,i+=y,c/=256,f-=8);t[r+i-y]|=128*s}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){var n=r(210),o=r(379),l=r(609),c=r(610),h=o.DOMImplementation,d=n.NAMESPACE,f=c.ParseError,m=c.XMLReader;function v(input){return input.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function y(t){this.options=t||{locator:{}}}function _(){this.cdata=!1}function w(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function T(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function S(t,e,r){return"string"==typeof t?t.substr(e,r):t.length>=e+r||e?new java.lang.String(t,e,r)+"":t}function M(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}y.prototype.parseFromString=function(source,t){var e=this.options,r=new m,n=e.domBuilder||new _,o=e.errorHandler,c=e.locator,h=e.xmlns||{},f=/\/x?html?$/.test(t),y=f?l.HTML_ENTITIES:l.XML_ENTITIES;c&&n.setDocumentLocator(c),r.errorHandler=function(t,e,r){if(!t){if(e instanceof _)return e;t=e}var n={},o=t instanceof Function;function l(e){var l=t[e];!l&&o&&(l=2==t.length?function(r){t(e,r)}:t),n[e]=l&&function(t){l("[xmldom "+e+"]\t"+t+T(r))}||function(){}}return r=r||{},l("warning"),l("error"),l("fatalError"),n}(o,n,c),r.domBuilder=e.domBuilder||n,f&&(h[""]=d.HTML),h.xml=h.xml||d.XML;var w=e.normalizeLineEndings||v;return source&&"string"==typeof source?r.parse(w(source),h,y):r.errorHandler.error("invalid doc source"),n.doc},_.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var o=this.doc,l=o.createElementNS(t,r||e),c=n.length;M(this,l),this.currentElement=l,this.locator&&w(this.locator,l);for(var i=0;i<c;i++){t=n.getURI(i);var h=n.getValue(i),d=(r=n.getQName(i),o.createAttributeNS(t,r));this.locator&&w(n.getLocator(i),d),d.value=d.nodeValue=h,l.setAttributeNode(d)}},endElement:function(t,e,r){var n=this.currentElement;n.tagName;this.currentElement=n.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,data){var ins=this.doc.createProcessingInstruction(t,data);this.locator&&w(this.locator,ins),M(this,ins)},ignorableWhitespace:function(t,e,r){},characters:function(t,e,r){if(t=S.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(t);else n=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(t)&&this.doc.appendChild(n),this.locator&&w(this.locator,n)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,r){t=S.apply(this,arguments);var n=this.doc.createComment(t);this.locator&&w(this.locator,n),M(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var dt=n.createDocumentType(t,e,r);this.locator&&w(this.locator,dt),M(this,dt),this.doc.doctype=dt}},warning:function(t){console.warn("[xmldom warning]\t"+t,T(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,T(this.locator))},fatalError:function(t){throw new f(t,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(t){_.prototype[t]=function(){return null}}
2)),e.__DOMHandler=_,e.normalizeLineEndings=v,e.DOMParser=y},function(t,e,r){"use strict";var n=r(210).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n
vendor: 28,755 bytes, line 2
2({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES}
vendor: 3,305 bytes, line 2
2,function(t,e,r){var n=r(210).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+"*)?$"),h=0,d=1,f=2,m=3,v=4,y=5,_=6,w=7;function T(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,T)}function S(){}function M(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function x(source,t,e,r,o,l){function c(t,r,n){e.attributeNames.hasOwnProperty(t)&&l.fatalError("Attribute "+t+" redefined"),e.addValue(t,r.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}for(var T,p=++t,s=h;;){var S=source.charAt(p);switch(S){case"=":if(s===d)T=source.slice(t,p),s=m;else{if(s!==f)throw new Error("attribute equal must after attrName");s=m}break;case"'":case'"':if(s===m||s===d){if(s===d&&(l.warning('attribute value must after "="'),T=source.slice(t,p)),t=p+1,!((p=source.indexOf(S,t))>0))throw new Error("attribute value no end '"+S+"' match");c(T,M=source.slice(t,p),t-1),s=y}else{if(s!=v)throw new Error('attribute value must after "="');c(T,M=source.slice(t,p),t),l.warning('attribute "'+T+'" missed start quot('+S+")!!"),t=p+1,s=y}break;case"/":switch(s){case h:e.setTagName(source.slice(t,p));case y:case _:case w:s=w,e.closed=!0;case v:case d:break;case f:e.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return l.error("unexpected end of input"),s==h&&e.setTagName(source.slice(t,p)),p;case">":switch(s){case h:e.setTagName(source.slice(t,p));case y:case _:case w:break;case v:case d:"/"===(M=source.slice(t,p)).slice(-1)&&(e.closed=!0,M=M.slice(0,-1));case f:s===f&&(M=T),s==v?(l.warning('attribute "'+M+'" missed quot(")!'),c(T,M,t)):(n.isHTML(r[""])&&M.match(/^(?:disabled|checked|selected)$/i)||l.warning('attribute "'+M+'" missed value!! "'+M+'" instead!!'),c(M,M,t));break;case m:throw new Error("attribute value missed!!")}return p;case"€":S=" ";default:if(S<=" ")switch(s){case h:e.setTagName(source.slice(t,p)),s=_;break;case d:T=source.slice(t,p),s=f;break;case v:var M=source.slice(t,p);l.warning('attribute "'+M+'" missed quot(")!!'),c(T,M,t);case y:s=_}else switch(s){case f:e.tagName;n.isHTML(r[""])&&T.match(/^(?:disabled|checked|selected)$/i)||l.warning('attribute "'+T+'" missed value!! "'+T+'" instead2!!'),c(T,T,t),t=p,s=d;break;case y:l.warning('attribute space is required"'+T+'"!!');case _:s=d,t=p;break;case m:s=v,t=p;break;case w:throw new Error("elements closed character '/' and '>' must be connected to")}}p++}}function k(t,e,r){for(var o=t.tagName,l=null,i=t.length;i--;){var a=t[i],c=a.qName,h=a.value;if((v=c.indexOf(":"))>0)var d=a.prefix=c.slice(0,v),f=c.slice(v+1),m="xmlns"===d&&f;else f=c,d=null,m="xmlns"===c&&"";a.localName=f,!1!==m&&(null==l&&(l={},C(r,r={})),r[m]=l[m]=h,a.uri=n.XMLNS,e.startPrefixMapping(m,h))}for(i=t.length;i--;){(d=(a=t[i]).prefix)&&("xml"===d&&(a.uri=n.XML),"xmlns"!==d&&(a.uri=r[d||""]))}var v;(v=o.indexOf(":"))>0?(d=t.prefix=o.slice(0,v),f=t.localName=o.slice(v+1)):(d=null,f=t.localName=o);var y=t.uri=r[d||""];if(e.startElement(y,f,o,t),!t.closed)return t.currentNSMap=r,t.localNSMap=l,!0;
vendor: 4,631 bytes, line 2
2if(e.endElement(y,f,o),l)for(d in l)Object.prototype.hasOwnProperty.call(l,d)&&e.endPrefixMapping(d)}function E(source,t,e,r,n){if(/^(?:script|textarea)$/i.test(e)){var o=source.indexOf("</"+e+">",t),text=source.substring(t+1,o);if(/[&<]/.test(text))return/^script$/i.test(e)?(n.characters(text,0,text.length),o):(text=text.replace(/&#?\w+;/g,r),n.characters(text,0,text.length),o)}return t+1}function O(source,t,e,r){var n=r[e];return null==n&&((n=source.lastIndexOf("</"+e+">"))<t&&(n=source.lastIndexOf("</"+e)),r[e]=n),n<t}function C(source,t){for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}function A(source,t,e,r){if("-"===source.charAt(t+2))return"-"===source.charAt(t+3)?(n=source.indexOf("--\x3e",t+4))>t?(e.comment(source,t+4,n-t-4),n+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==source.substr(t+3,6)){var n=source.indexOf("]]>",t+9);return e.startCDATA(),e.characters(source,t+9,n-t-9),e.endCDATA(),n+3}var o=function(source,t){var e,r=[],n=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;n.lastIndex=t,n.exec(source);for(;e=n.exec(source);)if(r.push(e),e[1])return r}(source,t),l=o.length;if(l>1&&/!doctype/i.test(o[0][0])){var c=o[1][0],h=!1,d=!1;l>3&&(/^public$/i.test(o[2][0])?(h=o[3][0],d=l>4&&o[4][0]):/^system$/i.test(o[2][0])&&(d=o[3][0]));var f=o[l-1];return e.startDTD(c,h,d),e.endDTD(),f.index+f[0].length}return-1}function I(source,t,e){var r=source.indexOf("?>",t);if(r){var n=source.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(n){n[0].length;return e.processingInstruction(n[1],n[2]),r+2}return-1}return-1}function P(){this.attributeNames={}}T.prototype=new Error,T.prototype.name=T.name,S.prototype={parse:function(source,t,e){var r=this.domBuilder;r.startDocument(),C(t,t={}),function(source,t,e,r,o){function l(code){if(code>65535){var t=55296+((code-=65536)>>10),e=56320+(1023&code);return String.fromCharCode(t,e)}return String.fromCharCode(code)}function c(a){var t=a.slice(1,-1);return Object.hasOwnProperty.call(e,t)?e[t]:"#"===t.charAt(0)?l(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+a),a)}function h(t){if(t>S){var e=source.substring(S,t).replace(/&#?\w+;/g,c);y&&d(S),r.characters(e,0,t-S),S=t}}function d(p,t){for(;p>=m&&(t=v.exec(source));)f=t.index,m=f+t[0].length,y.lineNumber++;y.columnNumber=p-f+1}var f=0,m=0,v=/.*(?:\r\n?|\n)|.*$/g,y=r.locator,_=[{currentNSMap:t}],w={},S=0;for(;;){try{var C=source.indexOf("<",S);if(C<0){if(!source.substr(S).match(/^\s*$/)){var R=r.doc,text=R.createTextNode(source.substr(S));R.appendChild(text),r.currentElement=text}return}switch(C>S&&h(C),source.charAt(C+1)){case"/":var D=source.indexOf(">",C+3),L=source.substring(C+2,D).replace(/[ \t\n\r]+$/g,""),N=_.pop();D<0?(L=source.substring(C+2).replace(/[\s<].*/,""),o.error("end tag name: "+L+" is not complete:"+N.tagName),D=C+1+L.length):L.match(/\s</)&&(L=L.replace(/[\s<].*/,""),o.error("end tag name: "+L+" maybe not complete"),D=C+1+L.length);var j=N.localNSMap,B=N.tagName==L;if(B||N.tagName&&N.tagName.toLowerCase()==L.toLowerCase()){if(r.endElement(N.uri,N.localName,L),j)for(var F in j)Object.prototype.hasOwnProperty.call(j,F)&&r.endPrefixMapping(F);B||o.fatalError("end tag name: "+L+" is not match the current start tagName:"+N.tagName)}else _.push(N);D++;break;case"?":y&&d(C),D=I(source,C,r);break;case"!":y&&d(C),D=A(source,C,r,o);break;default:y&&d(C);var U=new P,z=_[_.length-1].currentNSMap,V=(D=x(source,C,U,z,c,o),U.length);if(!U.closed&&O(source,D,U.tagName,w)&&(U.closed=!0,e.nbsp||o.warning("unclosed xml attribute")),y&&V){for(var $=M(y,{}),i=0;i<V;i++){var a=U[i];d(a.offset),a.locator=M(y,{})}r.locator=$,k(U,r,z)&&_.push(U),r.locator=y}else k(U,r,z)&&_.push(U);n.isHTML(U.uri)&&!U.closed?D=E(source,D,U.tagName,c,r):D++}}catch(t){if(t instanceof T)throw t;o.error("element parse error: "+t),D=-1}D>S?S=D:h(Math.max(C,S)+1)}}(source,t,e,r,this.errorHandler),r.endDocument()}},P.prototype={setTagName:function(t){if(!c.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!c.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},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}},e.XMLReader=S,e.ParseError=T},function(t,e){var r=Math.pow(2,32);t.exports={getUint64:function(t){var e,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(e=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?
vendor: 4,483 bytes, line 2
2Number(e):e:n.getUint32(0)*r+n.getUint32(4)},MAX_UINT32:r}},,,,,,,,,function(t,e,r){"use strict";function n(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function o(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(e){l(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function l(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,h(r.key),r)}}function h(t){var e=function(input,t){if("object"!=typeof input||null===input)return input;var e=input[Symbol.toPrimitive];if(void 0!==e){var r=e.call(input,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(input)}(t,"string");return"symbol"==typeof e?e:String(e)}var d=r(62).Buffer,f=r(621).inspect,m=f&&f.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,n;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(0===this.length)return"";for(var p=this.head,t=""+p.data;p=p.next;)t+=s+p.data;return t}},{key:"concat",value:function(t){if(0===this.length)return d.alloc(0);for(var e,r,n,o=d.allocUnsafe(t>>>0),p=this.head,i=0;p;)e=p.data,r=o,n=i,d.prototype.copy.call(e,r,n),i+=p.data.length,p=p.next;return o}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var p=this.head,e=1,r=p.data;for(t-=r.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(o===n.length?r+=n:r+=n.slice(0,t),0==(t-=o)){o===n.length?(++e,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++e}return this.length-=e,r}},{key:"_getBuffer",value:function(t){var e=d.allocUnsafe(t),p=this.head,r=1;for(p.data.copy(e),t-=p.data.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(n.copy(e,e.length-t,0,o),0==(t-=o)){o===n.length?(++r,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++r}return this.length-=r,e}},{key:m,value:function(t,e){return f(this,o(o({},e),{},{depth:0,customInspect:!1}))}}])&&c(e.prototype,r),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},,function(t,e,r){"use strict";(function(e){var n;function o(t,e,r){return(e=function(t){var e=function(input,t){if("object"!=typeof input||null===input)return input;var e=input[Symbol.toPrimitive];if(void 0!==e){var r=e.call(input,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(input)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l=r(259),c=Symbol("lastResolve"),h=Symbol("lastReject"),d=Symbol("error"),f=Symbol("ended"),m=Symbol("lastPromise"),v=Symbol("handlePromise"),y=Symbol("stream");function _(t,e){return{value:t,done:e}}function w(t){var e=t[c];if(null!==e){var data=t[y].read();null!==data&&(t[m]=null,t[c]=null,t[h]=null,e(_(data,!1)))}}function T(t){e.nextTick(w,t)}var S=Object.getPrototypeOf((function(){}
vendor: 1,341 bytes, line 2
2)),M=Object.setPrototypeOf((o(n={get stream(){return this[y]},next:function(){var t=this,r=this[d];if(null!==r)return Promise.reject(r);if(this[f])return Promise.resolve(_(void 0,!0));if(this[y].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[d]?n(t[d]):r(_(void 0,!0))}))}));var n,o=this[m];if(o)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[f]?r(_(void 0,!0)):e[v](r,n)}),n)}}(o,this));else{var data=this[y].read();if(null!==data)return Promise.resolve(_(data,!1));n=new Promise(this[v])}return this[m]=n,n}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var t=this;return new Promise((function(e,r){t[y].destroy(null,(function(t){t?r(t):e(_(void 0,!0))}))}))})),n),S);t.exports=function(t){var e,r=Object.create(M,(o(e={},y,{value:t,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,h,{value:null,writable:!0}),o(e,d,{value:null,writable:!0}),o(e,f,{value:t._readableState.endEmitted,writable:!0}),o(e,v,{value:function(t,e){var data=r[y].read();data?(r[m]=null,r[c]=null,r[h]=null,t(_(data,!1))):(r[c]=t,r[h]=e)},writable:!0}),e));return r[m]=null,l(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[h];return null!==e&&(r[m]=null,r[c]=null,r[h]=null,e(t)),void(r[d]=t)}var n=r[c];null!==n&&(r[m]=null,r[c]=null,r[h]=null,n(_(void 0,!0))),r[f]=!0}
vendor: 4,022 bytes, line 2
2)),t.on("readable",T.bind(null,r)),r}}).call(this,r(67))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=o;var n=r(390);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}r(19)(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var o=r(138).codes,l=o.ERR_MISSING_ARGS,c=o.ERR_STREAM_DESTROYED;function h(t){if(t)throw t}function d(t){t()}function f(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var m,v=function(t){return t.length?"function"!=typeof t[t.length-1]?h:t.pop():h}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new l("streams");var y=e.map((function(t,i){var o=i<e.length-1;return function(t,e,o,l){l=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(l);var h=!1;t.on("close",(function(){h=!0})),void 0===n&&(n=r(259)),n(t,{readable:e,writable:o},(function(t){if(t)return l(t);h=!0,l()}));var d=!1;return function(e){if(!h&&!d)return d=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void l(e||new c("pipe"))}}(t,o,i>0,(function(t){m||(m=t),t&&y.forEach(d),o||(y.forEach(d),v(m))}))}));return e.reduce(f)}},function(t,e,r){var n=r(19),o=r(140),l=r(23).Buffer,c=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);function d(){this.init(),this._w=h,o.call(this,64,56)}function f(t){return t<<30|t>>>2}function m(s,b,t,e){return 0===s?b&t|~b&e:2===s?b&t|b&e|t&e:b^t^e}n(d,o),d.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},d.prototype._update=function(t){for(var e,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,l=0|this._e,i=0;i<16;++i)r[i]=t.readInt32BE(4*i);for(;i<80;++i)r[i]=r[i-3]^r[i-8]^r[i-14]^r[i-16];for(var h=0;h<80;++h){var s=~~(h/20),d=0|((e=a)<<5|e>>>27)+m(s,b,n,o)+l+r[h]+c[s];l=o,o=n,n=f(b),b=a,a=d}this._a=a+this._a|0,this._b=b+this._b|0,this._c=n+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0},d.prototype._hash=function(){var t=l.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=d},function(t,e,r){var n=r(19),o=r(140),l=r(23).Buffer,c=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);function d(){this.init(),this._w=h,o.call(this,64,56)}function f(t){return t<<5|t>>>27}function m(t){return t<<30|t>>>2}function v(s,b,t,e){return 0===s?b&t|~b&e:2===s?b&t|b&e|t&e:b^t^e}n(d,o),d.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},d.prototype._update=function(t){for(var e,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,l=0|this._e,i=0;i<16;++i)r[i]=t.readInt32BE(4*i);for(;i<80;++i)r[i]=(e=r[i-3]^r[i-8]^r[i-14]^r[i-16])<<1|e>>>31;for(var h=0;h<80;++h){var s=~~(h/20),d=f(a)+v(s,b,n,o)+l+r[h]+c[s]|0;l=o,o=n,n=m(b),b=a,a=d}this._a=a+this._a|0,this._b=b+this._b|0,this._c=n+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0},d.prototype._hash=function(){var t=l.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=d},function(t,e,r){var n=r(19),o=r(391),l=r(140),c=r(23).Buffer,h=new Array(64);function d(){this.init(),this._w=h,l.call(this,64,56)}n(d,o),d.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},d.prototype._hash=function(){var t=c.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t}
vendor: 4,115 bytes, line 2
2,t.exports=d},function(t,e,r){var n=r(19),o=r(392),l=r(140),c=r(23).Buffer,h=new Array(160);function d(){this.init(),this._w=h,l.call(this,128,112)}n(d,o),d.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},d.prototype._hash=function(){var t=c.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=d},function(t,e,r){t.exports=o;var n=r(165).EventEmitter;function o(){n.call(this)}r(19)(o,n),o.Readable=r(262),o.Writable=r(636),o.Duplex=r(637),o.Transform=r(638),o.PassThrough=r(639),o.Stream=o,o.prototype.pipe=function(t,e){var source=this;function r(e){t.writable&&!1===t.write(e)&&source.pause&&source.pause()}function o(){source.readable&&source.resume&&source.resume()}source.on("data",r),t.on("drain",o),t._isStdio||e&&!1===e.end||(source.on("end",c),source.on("close",h));var l=!1;function c(){l||(l=!0,t.end())}function h(){l||(l=!0,"function"==typeof t.destroy&&t.destroy())}function d(t){if(f(),0===n.listenerCount(this,"error"))throw t}function f(){source.removeListener("data",r),t.removeListener("drain",o),source.removeListener("end",c),source.removeListener("close",h),source.removeListener("error",d),t.removeListener("error",d),source.removeListener("end",f),source.removeListener("close",f),t.removeListener("close",f)}return source.on("error",d),t.on("error",d),source.on("end",f),source.on("close",f),t.on("close",f),t.emit("pipe",source),t}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},,function(t,e,r){"use strict";var n=r(263).Buffer,o=r(634);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(s){if(0===this.length)return"";for(var p=this.head,t=""+p.data;p=p.next;)t+=s+p.data;return t},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);for(var e,r,o,l=n.allocUnsafe(t>>>0),p=this.head,i=0;p;)e=p.data,r=l,o=i,e.copy(r,o),i+=p.data.length,p=p.next;return l},t}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){"use strict";t.exports=l;var n=r(396),o=Object.create(r(167));function l(t){if(!(this instanceof l))return new l(t);n.call(this,t)}o.inherits=r(19),o.inherits(l,n),l.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){t.exports=r(264)},function(t,e,r){t.exports=r(120)},function(t,e,r){t.exports=r(262).Transform},function(t,e,r){t.exports=r(262).PassThrough},function(t,e,r){"use strict";var n=r(19),o=r(23).Buffer,l=r(106),c=o.alloc(128),h=64;function d(t,e){l.call(this,"digest"),"string"==typeof e&&(e=o.from(e)),this._alg=t,this._key=e,e.length>h?e=t(e):e.length<h&&(e=o.concat([e,c],h));for(var r=this._ipad=o.allocUnsafe(h),n=this._opad=o.allocUnsafe(h),i=0;i<h;i++)r[i]=54^e[i],n[i]=92^e[i];this._hash=[r]}n(d,l),d.prototype._update=function(data){this._hash.push(data)},d.prototype._final=function(){var t=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,t]))},t.exports=d},function(t,e,r){"use strict";
vendor: 3,254 bytes, line 2
2t.exports=r(399)},function(t,e,r){(function(e){var n,o,l=r(23).Buffer,c=r(401),h=r(402),d=r(403),f=r(404),m=e.crypto&&e.crypto.subtle,v={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},y=[];function _(){return o||(o=e.process&&e.process.nextTick?e.process.nextTick:e.queueMicrotask?e.queueMicrotask:e.setImmediate?e.setImmediate:e.setTimeout)}function w(t,e,r,n,o){return m.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return m.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:o}},t,n<<3)})).then((function(t){return l.from(t)}))}t.exports=function(t,r,o,T,S,M){"function"==typeof S&&(M=S,S=void 0);var x=v[(S=S||"sha1").toLowerCase()];if(x&&"function"==typeof e.Promise){if(c(o,T),t=f(t,h,"Password"),r=f(r,h,"Salt"),"function"!=typeof M)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){_()((function(){e(null,t)}))}),(function(t){_()((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==y[t])return y[t];var r=w(n=n||l.alloc(8),n,10,128,t).then((function(){return!0})).catch((function(){return!1}));return y[t]=r,r}(x).then((function(e){return e?w(t,r,o,T,x):d(t,r,o,T,S)})),M)}else _()((function(){var e;try{e=d(t,r,o,T,S)}catch(t){return M(t)}M(null,e)}))}}).call(this,r(40))},function(t,e,r){var n=r(644),o=r(266),l=r(267),c=r(657),h=r(213);function d(t,e,r){if(t=t.toLowerCase(),l[t])return o.createCipheriv(t,e,r);if(c[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function f(t,e,r){if(t=t.toLowerCase(),l[t])return o.createDecipheriv(t,e,r);if(c[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),l[t])r=l[t].key,n=l[t].iv;else{if(!c[t])throw new TypeError("invalid suite type");r=8*c[t].key,n=c[t].iv}var o=h(e,!1,r,n);return d(t,o.key,o.iv)},e.createCipheriv=e.Cipheriv=d,e.createDecipher=e.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),l[t])r=l[t].key,n=l[t].iv;else{if(!c[t])throw new TypeError("invalid suite type");r=8*c[t].key,n=c[t].iv}var o=h(e,!1,r,n);return f(t,o.key,o.iv)},e.createDecipheriv=e.Decipheriv=f,e.listCiphers=e.getCiphers=function(){return Object.keys(c).concat(o.getCiphers())}},function(t,e,r){var n=r(106),o=r(645),l=r(19),c=r(23).Buffer,h={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function d(t){n.call(this);var e,r=t.mode.toLowerCase(),o=h[r];e=t.decrypt?"decrypt":"encrypt";var l=t.key;c.isBuffer(l)||(l=c.from(l)),"des-ede"!==r&&"des-ede-cbc"!==r||(l=c.concat([l,l.slice(0,8)]));var d=t.iv;c.isBuffer(d)||(d=c.from(d)),this._des=o.create({key:l,iv:d,type:e})}h.des=h["des-cbc"],h.des3=h["des-ede3-cbc"],t.exports=d,l(d,n),d.prototype._update=function(data){return c.from(this._des.update(data))},d.prototype._final=function(){return c.from(this._des.final())}},function(t,e,r){"use strict";e.utils=r(405),e.Cipher=r(265),e.DES=r(406),e.CBC=r(646),e.EDE=r
vendor: 9,191 bytes, line 2
2(647)},function(t,e,r){"use strict";var n=r(83),o=r(19),l={};function c(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var i=0;i<this.iv.length;i++)this.iv[i]=t[i]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}o(e,t);for(var r=Object.keys(l),i=0;i<r.length;i++){var n=r[i];e.prototype[n]=l[n]}return e.create=function(t){return new e(t)},e},l._cbcInit=function(){var t=new c(this.options.iv);this._cbcState=t},l._update=function(t,e,r,n){var o=this._cbcState,l=this.constructor.super_.prototype,c=o.iv;if("encrypt"===this.type){for(var i=0;i<this.blockSize;i++)c[i]^=t[e+i];l._update.call(this,c,0,r,n);for(i=0;i<this.blockSize;i++)c[i]=r[n+i]}else{l._update.call(this,t,e,r,n);for(i=0;i<this.blockSize;i++)r[n+i]^=c[i];for(i=0;i<this.blockSize;i++)c[i]=t[e+i]}}},function(t,e,r){"use strict";var n=r(83),o=r(19),l=r(265),c=r(406);function h(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),o=e.slice(8,16),l=e.slice(16,24);this.ciphers="encrypt"===t?[c.create({type:"encrypt",key:r}),c.create({type:"decrypt",key:o}),c.create({type:"encrypt",key:l})]:[c.create({type:"decrypt",key:l}),c.create({type:"encrypt",key:o}),c.create({type:"decrypt",key:r})]}function d(t){l.call(this,t);var e=new h(this.type,this.options.key);this._edeState=e}o(d,l),t.exports=d,d.create=function(t){return new d(t)},d.prototype._update=function(t,e,r,n){var o=this._edeState;o.ciphers[0]._update(t,e,r,n),o.ciphers[1]._update(r,n,r,n),o.ciphers[2]._update(r,n,r,n)},d.prototype._pad=c.prototype._pad,d.prototype._unpad=c.prototype._unpad},function(t,e,r){var n=r(267),o=r(410),l=r(23).Buffer,c=r(411),h=r(106),d=r(212),f=r(213);function m(t,e,r){h.call(this),this._cache=new y,this._cipher=new d.AES(e),this._prev=l.from(r),this._mode=t,this._autopadding=!0}r(19)(m,h),m.prototype._update=function(data){var t,e;this._cache.add(data);for(var r=[];t=this._cache.get();)e=this._mode.encrypt(this,t),r.push(e);return l.concat(r)};var v=l.alloc(16,16);function y(){this.cache=l.allocUnsafe(0)}function _(t,e,r){var h=n[t.toLowerCase()];if(!h)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=l.from(e)),e.length!==h.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=l.from(r)),"GCM"!==h.mode&&r.length!==h.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===h.type?new c(h.module,e,r):"auth"===h.type?new o(h.module,e,r):new m(h.module,e,r)}m.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(v))throw this._cipher.scrub(),new Error("data not multiple of block length")},m.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},y.prototype.add=function(data){this.cache=l.concat([this.cache,data])},y.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},y.prototype.flush=function(){for(var t=16-this.cache.length,e=l.allocUnsafe(t),i=-1;++i<t;)e.writeUInt8(t,i);return l.concat([this.cache,e])},e.createCipheriv=_,e.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var o=f(e,!1,r.key,r.iv);return _(t,o.key,o.iv)}},function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},function(t,e,r){var n=r(168);e.encrypt=function(t,e){var data=n(e,t._prev);return t._prev=t._cipher.encryptBlock(data),t._prev},e.decrypt=function(t,e){var r=t._prev;t._prev=e;var o=t._cipher.decryptBlock(e);return n(o,r)}},function(t,e,r){var n=r(23).Buffer,o=r(168);function l(t,data,e){var r=data.length,l=o(data,t._cache);return t._cache=t._cache.slice(r),t._prev=n.concat([t._prev,e?data:l]),l}e.encrypt=function(t,data,e){for(var r,o=n.allocUnsafe(0);data.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=data.length)){o=n.concat([o,l(t,data,e)]);break}r=t._cache.length,o=n.concat([o,l(t,data.slice(0,r),e)]),data=data.slice(r)}return o}},function(t,e,r){var n=r(23).Buffer;function o(t,e,r){var o=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:o])]),o}e.encrypt=function(t,e,r){for(var l=e.length,c=n.allocUnsafe(l),i=-1;++i<l;)c[i]=o(t,e[i],r);return c}},function(t,e,r){var n=r(23).Buffer;function o(t,e,r){for(var n,o,i=-1,c=0;++i<8;)n=e&1<<7-i?128:0,c+=(128&(o=t._cipher.encryptBlock(t._prev)[0]^n))>>i%8,t._prev=l(t._prev,r?n:o);return c}function l(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,r){for(var l=e.length,c=n.allocUnsafe(l),i=-1;++i<l;)c[i]=o(t,e[i],r);return c}},function(t,e,r){(function(t){var n=r(168);function o(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,o(e)]);var l=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,l)}}).call(this,r(62).Buffer)},function(t,e,r){var n=r(23).Buffer,o=n.alloc(16,0);function l(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function c(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}c.prototype.ghash=function(t){for(var i=-1;++i<t.length;)this.state[i]^=t[i];this._multiply()},c.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],o=[0,0,0,0],i=-1;++i<128;){for(0!=(this.state[~~(i/8)]&1<<7-i%8)&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),r=0!=(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=l(o)},c.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},c.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(l([0,t,0,e])),this.state},t.exports=c},function(t,e,r){var n=r(410),o=r(23).Buffer,l=r(267),c=r(411),h=r(106),d=r(212),f=r(213);function m(t,e,r){h.call(this),this._cache=new v,this._last=void 0,this._cipher=new d.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}function v(){this.cache=o.allocUnsafe(0)}function y(t,e,r){var h=l[t.toLowerCase()];if(!h)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==h.mode&&r.length!==h.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=o.from(e)),e.length!==h.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===h.type?new c(h.module,e,r,!0):"auth"===h.type?new n(h.module,e,r,!0):new m(h.module,e,r)}r(19)(m,h),m.prototype._update=function(data){var t,e;this._cache.add(data);for(var r=[];t=this._cache.get(this._autopadding);)e=this._mode.decrypt(this,t),r.push(e);return o.concat(r)},m.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var i=-1;for(;++i<e;)if(t[i+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},m.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},v.prototype.add=function(data){this.cache=o.concat([this.cache,data])},v.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},v.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=l[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=f(e,!1,r.key,r.iv);return y(t,n.key,n.iv)},e.createDecipheriv=y},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,r){(function(t){var n=r(412),o=r(663),l=r(664);var c={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var r=new t(o[e].prime,"hex"),n=new t(o[e].gen,"hex");return new l(r,n)},e.createDiffieHellman=e.DiffieHellman=function e(r,o,h,d){return t.isBuffer(o)||void 0===c[o]?e(r,"binary",o,h):(o=o||"binary",d=d||"binary",h=h||new t([2]),t.isBuffer(h)||(h=new t(h,d)),"number"==typeof r?new l(n(r,h),h,!0):(t.isBuffer(r)||(r=new t(r,o)),new l(r,h,!0)))}}).call(this,r(62).Buffer)},,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base
vendor: 4,199 bytes, line 2
2=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(661).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;o*=n,o+=c>=49?c-49+10:c>=17?c-17+10:c}return o}l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this.strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this.strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 9,561 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r.strip()}l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);e=0!==(o=l>>>24-r&16777215)||i!==this.length-1?m[6-c.length]+c+e:c+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=v[base],d=y[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var _=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?_+e:m[h-_.length]+_+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},l.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,h=new t(l),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<l;i++)h[i]=0}else{for(i=0;i<l-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[l-i-1]=b}return h},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,760 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function T(t,e,r){return(new S).mulp(t,e,r)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=_),l.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?_(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r.strip()}(this,t,e):T(this,t,e),r},S.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},S.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},S.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},S.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},S.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},S.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},S.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},S.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},S.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),T(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},l.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new A(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 9,389 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,x),o(O,x),o(C,x),C.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return M[t]=e,e},A.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},A.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},A.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},A.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},A.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},A.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},A.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},A.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},A.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},A.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},A.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},A.prototype.isqr=function(a){return this.imul(a,a.clone())},A.prototype.sqr=function(a){return this.mul(a,a)},A.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},A.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new I(t)},o(I,A),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},,,function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
207b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,r){(function(e){var n=r(413),o=new(r(414)),l=new n(24),c=new n(11),h=new n(10),d=new n(3),f=new n(7),m=r(412),v=r(137);function y(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._pub=new n(t),this}function _(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._priv=new n(t),this}t.exports=T;var w={};function T(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=y,this.setPrivateKey=_):this._primeCode=8}function S(t,r){var n=new e(t.toArray());return r?n.toString(r):n}Object.defineProperty(T.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in w)return w[n];var v,y=0;if(t.isEven()||!m.simpleSieve||!m.fermatTest(t)||!o.test(t))return y+=1,y+="02"===r||"05"===r?8:4,w[n]=y,y;switch(o.test(t.shrn(1))||(y+=2),r){case"02":t.mod(l).cmp(c)&&(y+=8);break;case"05":(v=t.mod(h)).cmp(d)&&v.cmp(f)&&(y+=8);break;default:y+=4}return w[n]=y,y}(this.__prime,this.__gen)),this._primeCode}}),T.prototype.generateKeys=function(){return this._priv||(this._priv=new n(v(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},T.prototype.computeSecret=function(t){var r=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new e(r.toArray()),l=this.getPrime();if(o.length<l.length){var c=new e(l.length-o.length);c.fill(0),o=e.concat([c,o])}return o},T.prototype.getPublicKey=function(t){return S(this._pub,t)},T.prototype.getPrivateKey=function(t){return S(this._priv,t)},T.prototype.getPrime=function(t){return S(this.__prime,t)},T.prototype.getGenerator=function(t){return S(this._gen,t)},T.prototype.setGenerator=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.__gen=t,this._gen=new n(t),this}}).call(this,r(62).Buffer)},function(t,e,r){"use strict";var n=r(23).Buffer,o=r(164),l=r(383),c=r(19),h=r(666),d=r(697),f=r(399);function m(t){l.Writable.call(this);var data=f[t];if(!data)throw new Error("Unknown message digest");this._hashType=data.hash,this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function v(t){l.Writable.call(this);var data=f[t];if(!data)throw new Error("Unknown message digest");this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function y(t){return new m(t)}function _(t){return new v(t)}Object.keys(f).forEach((function(t){f[t].id=n.from(f[t].id,"hex"),f[t.toLowerCase()]=f[t]})),c(m,l.Writable),m.prototype._write=function(data,t,e){this._hash.update(data),e()},m.prototype.update=function(data,t){return this._hash.update("string"==typeof data?n.from(data,t):data),this},m.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=h(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},c(v,l.Writable),v.prototype._write=function(data,t,e){this._hash.update(data),e()},v.prototype.update=function(data,t){return this._hash.update("string"==typeof data?n.from(data,t):data),this},v.prototype.verify=function(t,e,r){var o="string"==typeof e?n.from(e,r):e;this.end();var l=this._hash.digest();return d(o,l,t,this._signType,this._tag)},t.exports={Sign:y,Verify:_,createSign:y,createVerify:_}},function(t,e,r){"use strict";var n=r(23).Buffer,o=r(397),l=r(269),c=r(271).ec,h=r(270),d=r(215),f=r(425);function m(t,q,e,r){if((t=n.from(t.toArray())).length<q.byteLength()){var l=n.alloc(q.byteLength()-t.length);t=n.concat([l,t])}var c=e.length,h=function(t,q){t=v(t,q),t=t.mod(q);var e=n.from(t.toArray());if(e.length<q.byteLength()){var r=n.alloc(q.byteLength()-e.length);e=n.concat([r,e])}return e}(e,q),d=n.alloc(c);d.fill(1);var f=n.alloc(c);return f=o(r,f).update(d).update(n.from([0])).update(t).update(h).digest(),d=o(r,f).update(d).digest(),{k:f=o(r,f).update(d).update(n.from([1])).update(t).update(h).digest(),v:d=o(r,f).update(d).digest()}}function v(t,q){var e=new h(t),r=(t.length<<3)-q.bitLength();return r>0&&e.ishrn(r),e}function y(q,t,e){var r,l;do{for(r=n.alloc(0);8*r.length<q.bitLength();)t.v=o(e,t.k).update(t.v).digest(),r=n.concat([r,t.v]);l=v(r,q),t.k=o(e,t.k).update(t.v).update(n.from([0])).digest(),t.v=o(e,t.k).update(t.v).digest()}while(-1!==l.cmp(q));return l}function _(g,t,p,q){return g.toRed(h.mont(p)).redPow(t).fromRed().mod(q)}t.exports=function(t,e,r,o,w){var T=d(e);if(T.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");return function(t,e){var r=f[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var o=new c(r).keyFromPrivate(e.privateKey),l=o.sign(t);return n.from(l.toDER())}(t,T)}if("dsa"===T.type){if("dsa"!==o)throw new Error("wrong private key type");return function(t,e,r){var o,l=e.params.priv_key,p=e.params.p,q=e.params.q,g=e.params.g,c=new h(0),d=v(t,q).mod(q),s=!1,f=m(l,q,t,r);for(;!1===s;)c=_(g,o=y(q,f,r),p,q),0===(s=o.invm(q).imul(d.add(l.mul(c))).mod(q)).cmpn(0)&&(s=!1,c=new h(0));return function(t,s){t=t.toArray(),s=s.toArray(),128&t[0]&&(t=[0].concat(t));128&s[0]&&(s=[0].concat(s));var e=t.length+s.length+4,r=[48,e,2,t.length];return r=r.concat(t,[2,s.length],s),n.from(r)}(c,s)}(t,T,r)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");if(void 0!==e.padding&&1!==e.padding)throw new Error("illegal or unsupported padding mode");t=n.concat([w,t]);for(var S=T.modulus.byteLength(),M=[0,1];t.length+M.length+1<S;)M.push(255);M.push(0);for(var i=-1;++i<t.length;)M.push(t[i]);return l(M,T)},t.exports.getKey=m,t.exports.makeKey=y},,function(t){t.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","ver
2sion":"grunt dist && git add dist/"},"repository":{"type":"git","url":"[email protected]:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <[email protected]>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},,function(t,e,r){"use strict";var n=r(84),o=r(99),l=r(19),c=r(214),h=n.assert;function d(t){c.call(this,"short",t),this.a=new o(t.a,16).toRed(this.red),this.b=new o(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(t,e,r,n){c.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(e,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(t,e,r,n){c.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(e,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}l(d,c),t.exports=d,d.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new o(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new o(t.lambda,16);else{var l=this._getEndoRoots(this.n);0===this.g.mul(l[0]).x.cmp(this.g.x.redMul(e))?r=l[0]:(r=l[1],h(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new o(t.a,16),b:new o(t.b,16)}})):this._getEndoBasis(r)}}},d.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:o.mont(t),r=new o(2).toRed(e).redInvm(),n=r.redNeg(),s=new o(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},d.prototype._getEndoBasis=function(t){for(var e,r,n,l,c,h,d,f,m,v=this.n.ushrn(Math.floor(this.n.bitLength()/2)),u=t,y=this.n.clone(),_=new o(1),w=new o(0),T=new o(0),S=new o(1),i=0;0!==u.cmpn(0);){var q=y.div(u);f=y.sub(q.mul(u)),m=T.sub(q.mul(_));var M=S.sub(q.mul(w));if(!n&&f.cmp(v)<0)e=d.neg(),r=_,n=f.neg(),l=m;else if(n&&2==++i)break;d=f,y=u,u=f,T=_,_=m,S=w,w=M}c=f.neg(),h=m;var x=n.sqr().add(l.sqr());return c.sqr().add(h.sqr()).cmp(x)>=0&&(c=e,h=r),n.negative&&(n=n.neg(),l=l.neg()),c.negative&&(c=c.neg(),h=h.neg()),[{a:n,b:l},{a:c,b:h}]},d.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],o=n.b.mul(t).divRound(this.n),l=r.b.neg().mul(t).divRound(this.n),c=o.mul(r.a),h=l.mul(n.a),d=o.mul(r.b),f=l.mul(n.b);return{k1:t.sub(c).sub(h),k2:d.add(f).neg()}},d.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var l=n.fromRed().isOdd();return(e&&!l||!e&&l)&&(n=n.redNeg()),this.point(t,n)},d.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),o=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},d.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i<t.length;i++){var l=this._endoSplit(e[i]),p=t[i],c=p._getBeta();l.k1.negative&&(l.k1.ineg(),p=p.neg(!0)),l.k2.negative&&(l.k2.ineg(),c=c.neg(!0)),n[2*i]=p,n[2*i+1]=c,o[2*i]=l.k1,o[2*i+1]=l.k2}for(var h=this._wnafMulAdd(1,n,o,2*i,r),d=0;d<2*i;d++)n[d]=null,o[d]=null;return h},l(f,c.BasePoint),d.prototype.point=function(t,e,r){return new f(this,t,e,r)},d.prototype.pointFromJSON=function(t,e){return f.fromJSON(this,t,e)},f.prototype._getBeta=function(){if(this.curve.endo){var pre=this.prec
vendor: 7,322 bytes, line 2
2omputed;if(pre&&pre.beta)return pre.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(pre){var e=this.curve,r=function(p){return e.point(p.x.redMul(e.endo.beta),p.y)};pre.beta=t,t.precomputed={beta:null,naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(r)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(r)}}}return t}},f.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},f.fromJSON=function(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function o(e){return t.point(e[0],e[1],r)}var pre=e[2];return n.precomputed={beta:null,doubles:pre.doubles&&{step:pre.doubles.step,points:[n].concat(pre.doubles.points.map(o))},naf:pre.naf&&{wnd:pre.naf.wnd,points:[n].concat(pre.naf.points.map(o))}},n},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(p){if(this.inf)return p;if(p.inf)return this;if(this.eq(p))return this.dbl();if(this.neg().eq(p))return this.curve.point(null,null);if(0===this.x.cmp(p.x))return this.curve.point(null,null);var t=this.y.redSub(p.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(p.x).redInvm()));var e=t.redSqr().redISub(this.x).redISub(p.x),r=t.redMul(this.x.redSub(e)).redISub(this.y);return this.curve.point(e,r)},f.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,e=this.x.redSqr(),r=t.redInvm(),n=e.redAdd(e).redIAdd(e).redIAdd(a).redMul(r),o=n.redSqr().redISub(this.x.redAdd(this.x)),l=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,l)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(t){return t=new o(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},f.prototype.mulAdd=function(t,e,r){var n=[this,e],o=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},f.prototype.jmulAdd=function(t,e,r){var n=[this,e],o=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},f.prototype.eq=function(p){return this===p||this.inf===p.inf&&(this.inf||0===this.x.cmp(p.x)&&0===this.y.cmp(p.y))},f.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var pre=this.precomputed,r=function(p){return p.neg()};e.precomputed={naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(r)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(r)}}}return e},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},l(m,c.BasePoint),d.prototype.jpoint=function(t,e,r){return new m(this,t,e,r)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var t=p.z.redSqr(),e=this.z.redSqr(),r=this.x.redMul(t),n=p.x.redMul(e),o=this.y.redMul(t.redMul(p.z)),l=p.y.redMul(e.redMul(this.z)),c=r.redSub(n),h=o.redSub(l);if(0===c.cmpn(0))return 0!==h.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=c.redSqr(),h3=h2.redMul(c),d=r.redMul(h2),f=h.redSqr().redIAdd(h3).redISub(d).redISub(d),m=h.redMul(d.redISub(f)).redISub(o.redMul(h3)),v=this.z.redMul(p.z).redMul(c);return this.curve.jpoint(f,m,v)},m.prototype.mixedAdd=function(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var t=this.z.redSqr(),e=this.x,r=p.x.redMul(t),n=this.y,o=p.y.redMul(t).redMul(this.z),l=e.redSub(r),c=n.redSub(o);if(0===l.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=l.redSqr(),h3=h2.redMul(l),h=e.redMul(h2),d=c.redSqr().redIAdd(h3).redISub(h).redISub(h),f=c.redMul(h.redISub(d)).redISub(n.redMul(h3)),m=this.z.redMul(l);return this.curve.jpoint(d,f,m)},m.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var i;if(this.curve.zeroA||this.curve.threeA){var e=this;for(i=0;i<t;i++)e=e.dbl();return e}var a=this.curve.a,r=this.curve.tinv,n=this.x,o=this.y,l=this.z,c=l.redSqr().redSqr(),h=o.redAdd(o);for(i=0;i<t;i++){var d=n.redSqr(),f=h.redSqr(),m=f.redSqr(),v=d.redAdd(d).redIAdd(d).redIAdd(a.redMul(c)),y=n.redMul(f),_=v.redSqr().redISub(y.redAdd(y)),w=y.redISub(_),T=v.redMul(w);T=T.redIAdd(T).redISub(m);var S=h.redMul(l);i+1<t&&(c=c.redMul(m)),n=_,l=S,h=T}return this.curve.jpoint(n,h.redMul(r),l)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},m.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),l=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(l);s=s.redIAdd(s);var c=n.redAdd(n).redIAdd(n),h=c.redSqr().redISub(s).redISub(s),d=l.redIAdd(l);d=(d=d.redIAdd(d)).redIAdd(d),t=h,e=c.redMul(s.redISub(h)).redISub(d),r=this.y.redAdd(this.y)}else{var a=this.x.redSqr(),b=this.y.redSqr(),f=b.redSqr(),m=this.x.redAdd(b).redSqr().redISub(a).redISub(f);m=m.redIAdd(m);var v=a.redAdd(a).redIAdd(a),y=v.redSqr(),_=f.redIAdd(f);_=(_=_.redIAdd(_)).redIAdd(_),t=y.redISub(m).redISub(m),e=v.redMul(m.redISub(t)).redISub(_),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},m.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),l=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(l);s=s.redIAdd(s);var c=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),h=c.redSqr().redISub(s).redISub(s);t=h;var d=l.redIAdd(l);d=(d=d.redIAdd(d)).redIAdd(d),e=c.redMul(s.redISub(h)).redISub(d),r=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),m=this.y.redSqr(),v=this.x.redMul(m),y=this.x.redSub(f).redMul(this.x.redAdd(f));y=y.redAdd(y).redIAdd(y);var _=v.redIAdd(v),w=(_=_.redIAdd(_)).redAdd(_);t=y.redSqr().redISub(w),r=this.y.redAdd(this.z).redSqr().redISub(m).redISub(f);var T=m.redSqr();T=(T=(T=T.redIAdd(T)).redIAdd(T)).redIAdd(T),e=y.redMul(_.redISub(t)).redISub(T)}return this.curve.jpoint(t,e,r)},m.prototype._dbl=function(){var a=this.curve.a,t=this.x,e=this.y,r=this.z,n=r.redSqr().redSqr(),o=t.redSqr(),l=e.redSqr(),c=o.redAdd(o).redIAdd(o).redIAdd(a.redMul(n)),h=t.redAdd(t),d=(h=h.redIAdd(h)).redMul(l),f=c.redSqr().redISub(d.redAdd(d)),m=d.redISub(f),v=l.redSqr();v=(v=(v=v.redIAdd(v)).redIAdd(v)).redIAdd(v);var y=c.redMul(m).redISub(v),_=e.redAdd(e).redMul(r);return this.curve.jpoint(f,y,_)},m.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);
vendor: 14,889 bytes, line 2
2var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),o=t.redAdd(t).redIAdd(t),l=o.redSqr(),c=this.x.redAdd(e).redSqr().redISub(t).redISub(n),h=(c=(c=(c=c.redIAdd(c)).redAdd(c).redIAdd(c)).redISub(l)).redSqr(),d=n.redIAdd(n);d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var u=o.redIAdd(c).redSqr().redISub(l).redISub(h).redISub(d),f=e.redMul(u);f=(f=f.redIAdd(f)).redIAdd(f);var m=this.x.redMul(h).redISub(f);m=(m=m.redIAdd(m)).redIAdd(m);var v=this.y.redMul(u.redMul(d.redISub(u)).redISub(c.redMul(h)));v=(v=(v=v.redIAdd(v)).redIAdd(v)).redIAdd(v);var y=this.z.redAdd(c).redSqr().redISub(r).redISub(h);return this.curve.jpoint(m,v,y)},m.prototype.mul=function(t,e){return t=new o(t,e),this.curve._wnafMul(this,t)},m.prototype.eq=function(p){if("affine"===p.type)return this.eq(p.toJ());if(this===p)return!0;var t=this.z.redSqr(),e=p.z.redSqr();if(0!==this.x.redMul(e).redISub(p.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),n=e.redMul(p.z);return 0===this.y.redMul(n).redISub(p.y.redMul(r)).cmpn(0)},m.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),o=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},m.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},m.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(99),o=r(19),l=r(214),c=r(84);function h(t){l.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(t,e,r){l.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(h,l),t.exports=h,h.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},o(d,l.BasePoint),h.prototype.decodePoint=function(t,e){return this.point(c.toArray(t,e),1)},h.prototype.point=function(t,e){return new d(this,t,e)},h.prototype.pointFromJSON=function(t){return d.fromJSON(this,t)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(t,e){return new d(t,e[0],e[1]||t.one)},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},d.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),o=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(p,t){var a=this.x.redAdd(this.z),b=this.x.redSub(this.z),e=p.x.redAdd(p.z),r=p.x.redSub(p.z).redMul(a),n=e.redMul(b),o=t.z.redMul(r.redAdd(n).redSqr()),l=t.x.redMul(r.redISub(n).redSqr());return this.curve.point(o,l)},d.prototype.mul=function(t){for(var e=t.clone(),a=this,b=this.curve.point(null,null),r=[];0!==e.cmpn(0);e.iushrn(1))r.push(e.andln(1));for(var i=r.length-1;i>=0;i--)0===r[i]?(a=a.diffAdd(b,this),b=b.dbl()):(b=a.diffAdd(b,this),a=a.dbl());return b},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(84),o=r(99),l=r(19),c=r(214),h=n.assert;function d(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,c.call(this,"edwards",t),this.a=new o(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),h(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function f(t,e,r,n,l){c.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(e,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=l&&new o(l,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}l(d,c),t.exports=d,d.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},d.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},d.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},d.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),l=this.one.redSub(this.c2.redMul(this.d).redMul(r)),c=n.redMul(l.redInvm()),h=c.redSqrt();if(0!==h.redSqr().redSub(c).cmp(this.zero))throw new Error("invalid point");var d=h.fromRed().isOdd();return(e&&!d||!e&&d)&&(h=h.redNeg()),this.point(t,h)},d.prototype.pointFromY=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),l=r.redMul(this.d).redMul(this.c2).redSub(this.a),c=n.redMul(l.redInvm());if(0===c.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var h=c.redSqrt();if(0!==h.redSqr().redSub(c).cmp(this.zero))throw new Error("invalid point");return h.fromRed().isOdd()!==e&&(h=h.redNeg()),this.point(h,t)},d.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(o)},l(f,c.BasePoint),d.prototype.pointFromJSON=function(t){return f.fromJSON(this,t)},d.prototype.point=function(t,e,r,n){return new f(this,t,e,r,n)},f.fromJSON=function(t,e){return new f(t,e[0],e[1],e[2])},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},f.prototype._extDbl=function(){var a=this.x.redSqr(),b=this.y.redSqr(),t=this.z.redSqr();t=t.redIAdd(t);var e=this.curve._mulA(a),r=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),g=e.redAdd(b),n=g.redSub(t),o=e.redSub(b),l=r.redMul(n),c=g.redMul(o),h=r.redMul(o),d=n.redMul(g);return this.curve.point(l,c,d,h)},f.prototype._projDbl=function(){var t,e,r,n,o,l,b=this.x.redAdd(this.y).redSqr(),c=this.x.redSqr(),h=this.y.redSqr();if(this.curve.twisted){var d=(n=this.curve._mulA(c)).redAdd(h);this.zOne?(t=b.redSub(c).redSub(h).redMul(d.redSub(this.curve.two)),e=d.redMul(n.redSub(h)),r=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),l=d.redSub(o).redISub(o),t=b.redSub(c).redISub(h).redMul(l),e=d.redMul(n.redSub(h)),r=d.redMul(l))}else n=c.redAdd(h),o=this.curve._mulC(this.z).redSqr(),l=n.redSub(o).redSub(o),t=this.curve._mulC(b.redISub(n)).redMul(l),e=this.curve._mulC(n).redMul(c.redISub(h)),r=n.redMul(l);return this.curve.point(t,e,r)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(p){var a=this.y.redSub(this.x).redMul(p.y.redSub(p.x)),b=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)),t=this.t.redMul(this.curve.dd).redMul(p.t),e=this.z.redMul(p.z.redAdd(p.z)),r=b.redSub(a),n=e.redSub(t),g=e.redAdd(t),o=b.redAdd(a),l=r.redMul(n),c=g.redMul(o),h=r.redMul(o),d=n.redMul(g);return this.curve.point(l,c,d,h)},f.prototype._projAdd=function(p){var t,e,a=this.z.redMul(p.z),b=a.redSqr(),r=this.x.redMul(p.x),n=this.y.redMul(p.y),o=this.curve.d.redMul(r).redMul(n),l=b.redSub(o),g=b.redAdd(o),c=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(r).redISub(n),h=a.redMul(l).redMul(c);return this.curve.twisted?(t=a.redMul(g).redMul(n.redSub(this.curve._mulA(r))),e=l.redMul(g)):(t=a.redMul(g).redMul(n.redSub(r)),e=this.curve._mulC(l).redMul(g)),this.curve.point(h,t,e)},f.prototype.add=function(p){return this.isInfinity()?p:p.isInfinity()?this:this.curve.extended?this._extAdd(p):this._projAdd(p)},f.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},f.prototype.mulAdd=function(t,p,e){return this.curve._wnafMulAdd(1,[this,p],[t,e],2,!1)},f.prototype.jmulAdd=function(t,p,e){return this.curve._wnafMulAdd(1,[this,p],[t,e],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},f.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},function(t,e,r){"use strict";e.sha1=r(674),e.sha224=r(675),e.sha256=r(274),e.sha384=r(676),e.sha512=r(418)},function(t,e,r){"use strict";var n=r(91),o=r(169),l=r(417),c=n.rotl32,h=n.sum32,d=n.sum32_5,f=l.ft_1,m=o.BlockHash,v=[1518500249,1859775393,2400959708,3395469782];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(y,m),t.exports=y,y.blockSize=512,y.outSize=160,y.hmacStrength=80,y.padLength=64,y.prototype._update=function(t,e){for(var r=this.W,i=0;i<16;i++)r[i]=t[e+i];for(;i<r.length;i++)r[i]=c(r[i-3]^r[i-8]^r[i-14]^r[i-16],1);var a=this.h[0],b=this.h[1],n=this.h[2],o=this.h[3],l=this.h[4];for(i=0;i<r.length;i++){var s=~~(i/20),m=d(c(a,5),f(s,b,n,o),l,r[i],v[s]);l=o,o=n,n=c(b,30),b=a,a=m}this.h[0]=h(this.h[0],a),this.h[1]=h(this.h[1],b),this.h[2]=h(this.h[2],n),this.h[3]=h(this.h[3],o),this.h[4]=h(this.h[4],l)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(91),o=r(274);function l(){if(!(this instanceof l))return new l;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(l,o),t.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(t,e,r){"use strict";var n=r(91),o=r(418);function l(){if(!(this instanceof l))return new l;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(l,o),t.exports=l,l.blockSize=1024,l.outSize=384,l.hmacStrength=192,l.padLength=128,l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(t,e,r){"use strict";var n=r(91),o=r(169),l=n.rotl32,c=n.sum32,h=n.sum32_3,d=n.sum32_4,f=o.BlockHash;function m(){if(!(this instanceof m))return new m;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function v(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function y(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function _(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(m,f),e.ripemd160=m,m.blockSize=512,m.outSize=160,m.hmacStrength=192,m.padLength=64,m.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],o=this.h[2],f=this.h[3],m=this.h[4],M=r,x=n,k=o,E=f,O=m,C=0;C<80;C++){var A=c(l(d(r,v(C,n,o,f),t[w[C]+e],y(C)),s[C]),m);r=m,m=f,f=l(o,10),o=n,n=A,A=c(l(d(M,v(79-C,x,k,E),t[T[C]+e],_(C)),S[C]),O),M=O,O=E,E=l(k,10),k=x,x=A}A=h(this.h[1],o,E),this.h[1]=h(this.h[2],f,O),this.h[2]=h(this.h[3],m,M),this.h[3]=h(this.h[4],r,x),this.h[4]=h(this.h[0],n,k),this.h[0]=A},m.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var w=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],T=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],s=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(t,e,r){"use strict";var n=r(91),o=r(83);function l(t,e,r){if(!(this instanceof l))return new l(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=l,l.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),o(t.length<=this.blockSize);for(var i=t.length;i<this.blockSize;i++)t.push(0);for(i=0;i<t.length;i++)t[i]^=54;for(this.inner=(new this.Hash).update(t),i=0;i<t.length;i++)t[i]^=106;this.outer=(new this.Hash).update(t)},l.prototype.update=function(t,e){return this.inner.update(t,e),this},l.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},function(t,e){t
vendor: 26,137 bytes, line 2
2.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
vendor: 7,395 bytes, line 2
2function(t,e,r){"use strict";var n=r(99),o=r(681),l=r(84),c=r(272),h=r(268),d=l.assert,f=r(682),m=r(683);function v(t){if(!(this instanceof v))return new v(t);"string"==typeof t&&(d(Object.prototype.hasOwnProperty.call(c,t),"Unknown curve "+t),t=c[t]),t instanceof c.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=v,v.prototype.keyPair=function(t){return new f(this,t)},v.prototype.keyFromPrivate=function(t,e){return f.fromPrivate(this,t,e)},v.prototype.keyFromPublic=function(t,e){return f.fromPublic(this,t,e)},v.prototype.genKeyPair=function(t){t||(t={});for(var e=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||h(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),l=this.n.sub(new n(2));;){var c=new n(e.generate(r));if(!(c.cmp(l)>0))return c.iaddn(1),this.keyFromPrivate(c)}},v.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},v.prototype.sign=function(t,e,r,l){"object"==typeof r&&(l=r,r=null),l||(l={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var c=this.n.byteLength(),h=e.getPrivate().toArray("be",c),d=t.toArray("be",c),f=new o({hash:this.hash,entropy:h,nonce:d,pers:l.pers,persEnc:l.persEnc||"utf8"}),v=this.n.sub(new n(1)),y=0;;y++){var _=l.k?l.k(y):new n(f.generate(this.n.byteLength()));if(!((_=this._truncateToN(_,!0)).cmpn(1)<=0||_.cmp(v)>=0)){var w=this.g.mul(_);if(!w.isInfinity()){var T=w.getX(),S=T.umod(this.n);if(0!==S.cmpn(0)){var s=_.invm(this.n).mul(S.mul(e.getPrivate()).iadd(t));if(0!==(s=s.umod(this.n)).cmpn(0)){var M=(w.getY().isOdd()?1:0)|(0!==T.cmp(S)?2:0);return l.canonical&&s.cmp(this.nh)>0&&(s=this.n.sub(s),M^=1),new m({r:S,s:s,recoveryParam:M})}}}}}},v.prototype.verify=function(t,e,r,o){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,o);var l=(e=new m(e,"hex")).r,s=e.s;if(l.cmpn(1)<0||l.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var p,c=s.invm(this.n),h=c.mul(t).umod(this.n),d=c.mul(l).umod(this.n);return this.curve._maxwellTrick?!(p=this.g.jmulAdd(h,r.getPublic(),d)).isInfinity()&&p.eqXToP(l):!(p=this.g.mulAdd(h,r.getPublic(),d)).isInfinity()&&0===p.getX().umod(this.n).cmp(l)},v.prototype.recoverPubKey=function(t,e,r,o){d((3&r)===r,"The recovery param is more than two bits"),e=new m(e,o);var l=this.n,c=new n(t),h=e.r,s=e.s,f=1&r,v=r>>1;if(h.cmp(this.curve.p.umod(this.curve.n))>=0&&v)throw new Error("Unable to find sencond key candinate");h=v?this.curve.pointFromX(h.add(this.curve.n),f):this.curve.pointFromX(h,f);var y=e.r.invm(l),_=l.sub(c).mul(y).umod(l),w=s.mul(y).umod(l);return this.g.mulAdd(_,h,w)},v.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new m(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(273),o=r(415),l=r(83);function c(t){if(!(this instanceof c))return new c(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=o.toArray(t.entropy,t.entropyEnc||"hex"),r=o.toArray(t.nonce,t.nonceEnc||"hex"),n=o.toArray(t.pers,t.persEnc||"hex");l(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=c,c.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},c.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},c.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},c.prototype.reseed=function(t,e,r,n){"string"!=typeof e&&(n=r,r=e,e=null),t=o.toArray(t,e),r=o.toArray(r,n),l(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},c.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var l=[];l.length<t;)this.V=this._hmac().update(this.V).digest(),l=l.concat(this.V);var c=l.slice(0,t);return this._update(r),this._reseed++,o.encode(c,e)}},function(t,e,r){"use strict";var n=r(99),o=r(84).assert;function l(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=l,l.fromPublic=function(t,e,r){return e instanceof l?e:new l(t,{pub:e,pubEnc:r})},l.fromPrivate=function(t,e,r){return e instanceof l?e:new l(t,{priv:e,privEnc:r})},l.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},l.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},l.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},l.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},l.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?o(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},l.prototype.derive=function(t){return t.validate()||o(t.validate(),"public point not validated"),t.mul(this.priv).getX()},l.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},l.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},l.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,r){"use strict";var n=r(99),o=r(84),l=o.assert;function c(t,e){if(t instanceof c)return t;this._importDER(t,e)||(l(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function h(){this.place=0}function d(t,p){var e=t[p.place++];if(!(128&e))return e;var r=15&e;if(0===r||r>4)return!1;for(var n=0,i=0,o=p.place;i<r;i++,o++)n<<=8,n|=t[o],n>>>=0;return!(n<=127)&&(p.place=o,n)}function f(t){for(var i=0,e=t.length-1;!t[i]&&!(128&t[i+1])&&i<e;)i++;return 0===i?t:t.slice(i)}function m(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=c,c.prototype._importDER=function(data,t){data=o.toArray(data,t);var p=new h;
vendor: 7,885 bytes, line 2
2if(48!==data[p.place++])return!1;var e=d(data,p);if(!1===e)return!1;if(e+p.place!==data.length)return!1;if(2!==data[p.place++])return!1;var r=d(data,p);if(!1===r)return!1;var l=data.slice(p.place,r+p.place);if(p.place+=r,2!==data[p.place++])return!1;var c=d(data,p);if(!1===c)return!1;if(data.length!==c+p.place)return!1;var s=data.slice(p.place,c+p.place);if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new n(l),this.s=new n(s),this.recoveryParam=null,!0},c.prototype.toDER=function(t){var e=this.r.toArray(),s=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&s[0]&&(s=[0].concat(s)),e=f(e),s=f(s);!(s[0]||128&s[1]);)s=s.slice(1);var r=[2];m(r,e.length),(r=r.concat(e)).push(2),m(r,s.length);var n=r.concat(s),l=[48];return m(l,n.length),l=l.concat(n),o.encode(l,t)}},function(t,e,r){"use strict";var n=r(273),o=r(272),l=r(84),c=l.assert,h=l.parseBytes,d=r(685),f=r(686);function m(t){if(c("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof m))return new m(t);t=o[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=m,m.prototype.sign=function(t,e){t=h(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),o=this.g.mul(n),l=this.encodePoint(o),c=this.hashInt(l,r.pubBytes(),t).mul(r.priv()),d=n.add(c).umod(this.curve.n);return this.makeSignature({R:o,S:d,Rencoded:l})},m.prototype.verify=function(t,e,r){t=h(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),o=this.hashInt(e.Rencoded(),n.pubBytes(),t),l=this.g.mul(e.S());return e.R().add(n.pub().mul(o)).eq(l)},m.prototype.hashInt=function(){for(var t=this.hash(),i=0;i<arguments.length;i++)t.update(arguments[i]);return l.intFromLE(t.digest()).umod(this.curve.n)},m.prototype.keyFromPublic=function(t){return d.fromPublic(this,t)},m.prototype.keyFromSecret=function(t){return d.fromSecret(this,t)},m.prototype.makeSignature=function(t){return t instanceof f?t:new f(this,t)},m.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},m.prototype.decodePoint=function(t){var e=(t=l.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!=(128&t[e]),o=l.intFromLE(r);return this.curve.pointFromY(o,n)},m.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},m.prototype.decodeInt=function(t){return l.intFromLE(t)},m.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,r){"use strict";var n=r(84),o=n.assert,l=n.parseBytes,c=n.cachedProperty;function h(t,e){this.eddsa=t,this._secret=l(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=l(e.pub)}h.fromPublic=function(t,e){return e instanceof h?e:new h(t,{pub:e})},h.fromSecret=function(t,e){return e instanceof h?e:new h(t,{secret:e})},h.prototype.secret=function(){return this._secret},c(h,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),c(h,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),c(h,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,a=e.slice(0,t.encodingLength);return a[0]&=248,a[r]&=127,a[r]|=64,a})),c(h,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),c(h,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),c(h,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),h.prototype.sign=function(t){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},h.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},h.prototype.getSecret=function(t){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},h.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=h},function(t,e,r){"use strict";var n=r(99),o=r(84),l=o.assert,c=o.cachedProperty,h=o.parseBytes;function d(t,e){this.eddsa=t,"object"!=typeof e&&(e=h(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),l(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof n&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}c(d,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),c(d,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),c(d,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),c(d,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=d},function(t,e,r){"use strict";var n=r(419);e.certificate=r(694);var o=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=o;var l=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=l;var c=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(h),this.key("subjectPublicKey").bitstr())}));e.PublicKey=c;var h=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),d=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(h),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=d;var f=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=f;var m=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=m,e.DSAparam=n.define("DSAparam",(function(){this.int()}));var v=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(y),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=v;var y=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},,function(t,e,r){"use strict";const n=r(421),o=r(423),l=r(19);function c(t,body){this.name=t,this.body=body,this.decoders={},this.encoders={}}e.define=function(t,body){return new c(t,body)},c.prototype._createNamed=function(t){const e=this.name;function r(t){this._initNamed(t,e)}return l(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},c.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(o[t])),this.decoders[t]},c.prototype.decode=function(data,t,e){return this._getDecoder(t).decode(data,e)},c.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},c.prototype.encode=function(data,t,e){return this._getEncoder(t).encode(d
vendor: 7,626 bytes, line 2
2ata,e)}},function(t,e,r){"use strict";const n=r(19),o=r(422);function l(t){o.call(this,t),this.enc="pem"}n(l,o),t.exports=l,l.prototype.encode=function(data,t){const p=o.prototype.encode.call(this,data).toString("base64"),e=["-----BEGIN "+t.label+"-----"];for(let i=0;i<p.length;i+=64)e.push(p.slice(i,i+64));return e.push("-----END "+t.label+"-----"),e.join("\n")}},function(t,e,r){"use strict";const n=r(19),o=r(275).Buffer,l=r(424);function c(t){l.call(this,t),this.enc="pem"}n(c,l),t.exports=c,c.prototype.decode=function(data,t){const e=data.toString().split(/[\r\n]+/g),label=t.label.toUpperCase(),r=/^-----(BEGIN|END) ([^-]+)-----$/;let n=-1,c=-1;for(let i=0;i<e.length;i++){const t=e[i].match(r);if(null!==t&&t[2]===label){if(-1!==n){if("END"!==t[1])break;c=i;break}if("BEGIN"!==t[1])break;n=i}}if(-1===n||-1===c)throw new Error("PEM section not found for: "+label);const h=e.slice(n+1,c).join("");h.replace(/[^a-z0-9+/=]+/gi,"");const input=o.from(h,"base64");return l.prototype.decode.call(this,input,t)}},function(t,e,r){"use strict";const base=e;base.Reporter=r(277).Reporter,base.DecoderBuffer=r(170).DecoderBuffer,base.EncoderBuffer=r(170).EncoderBuffer,base.Node=r(276)},function(t,e,r){"use strict";const n=e;n._reverse=function(map){const t={};return Object.keys(map).forEach((function(e){(0|e)==e&&(e|=0);const r=map[e];t[r]=e})),t},n.der=r(278)},function(t,e,r){"use strict";var n=r(419),o=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),l=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),c=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),h=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())})),d=n.define("RelativeDistinguishedName",(function(){this.setof(l)})),f=n.define("RDNSequence",(function(){this.seqof(d)})),m=n.define("Name",(function(){this.choice({rdnSequence:this.use(f)})})),v=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))})),y=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),_=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(c),this.key("issuer").use(m),this.key("validity").use(v),this.key("subject").use(m),this.key("subjectPublicKeyInfo").use(h),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(y).optional())})),w=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(_),this.key("signatureAlgorithm").use(c),this.key("signatureValue").bitstr())}));t.exports=w},function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(t,e,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,l=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,c=r(213),h=r(266),d=r(23).Buffer;t.exports=function(t,e){var r,f=t.toString(),m=f.match(n);if(m){var v="aes"+m[1],y=d.from(m[2],"hex"),_=d.from(m[3].replace(/[\r\n]/g,""),"base64"),w=c(e,y.slice(0,8),parseInt(m[1],10)).key,T=[],S=h.createDecipheriv(v,w,y);T.push(S.update(_)),T.push(S.final()),r=d.concat(T)}else{var M=f.match(l);r=d.from(M[2].replace(/[\r\n]/g,""),"base64")}return{tag:f.match(o)[1],data:r}}},function(t,e,r){"use strict";var n=r(23).Buffer,o=r(270),l=r(271).ec,c=r(215),h=r(425);function d(b,q){if(b.cmpn(0)<=0)throw new Error("invalid sig");if(b.cmp(q)>=0)throw new Error("invalid sig")}t.exports=function(t,e,r,f,m){var v=c(r);if("ec"===v.type){if("ecdsa"!==f&&"ecdsa/rsa"!==f)throw new Error("wrong public key type");return function(t,e,r){var n=h[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new l(n),c=r.data.subjectPrivateKey.data;return o.verify(e,t,c)}(t,e,v)}if("dsa"===v.type){if("dsa"!==f)throw new Error("wrong public key type");return function(t,e,r){var p=r.data.p,q=r.data.q,g=r.data.g,n=r.data.pub_key,l=c.signature.decode(t,"der"),s=l.s,h=l.r;d(s,q),d(h,q);var f=o.mont(p),m=s.invm(q),v=g.toRed(f).redPow(new o(e).mul(m).mod(q)).fromRed().mul(n.toRed(f).redPow(h.mul(m).mod(q)).fromRed()).mod(p).mod(q);return 0===v.cmp(h)}(t,e,v)}if("rsa"!==f&&"ecdsa/rsa"!==f)throw new Error("wrong public key type");e=n.concat([m,e]);for(var y=v.modulus.byteLength(),_=[1],w=0;e.length+_.length+2<y;)_.push(255),w+=1;_.push(0);for(var i=-1;++i<e.length;)_.push(e[i]);_=n.from(_);var T=o.mont(v.modulus);t=(t=new o(t).toRed(T)).redPow(new o(v.publicExponent)),t=n.from(t.fromRed().toArray());var S=w<8?1:0;for(y=Math.min(t.length,_.length),t.length!==_.length&&(S=1),i=-1;++i<y;)S|=t[i]^_[i];return 0===S}},function(t,e,r){(function(e){var n=r(271),o=r(699);t.exports=function(t){return new c(t)};var l={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function c(t){this.curveType=l[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function h(t,r,n){Array.isArray(t)||(t=t.toArray());var o=new e(t);if(n&&o.length<n){var l=new e(n-o.length);l.fill(0),o=e.concat([l,o])}return r?o.toString(r):o}l.p224=l.secp224r1,l.p256=l.secp256r1=l.prime256v1,l.p192=l.secp192r1=l.prime192v1,l.p384=l.secp384r1,l.p521=l.secp521r1,c.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},c.prototype.computeSecret=function(t,r,n){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),h(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},c.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),h(r,t)},c.prototype.getPrivateKey=function(t){return h(this.keys.getPrivate(),t)},c.prototype.setPublicKey=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.keys._importPublic(t),this},c.prototype.setPrivateKey=function(t,r){r=r||"utf8",e.isBuffer(t)||(t=new e(t,r));var n=new o(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(62).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function l(t,base,e){if(l.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base
vendor: 4,199 bytes, line 2
2=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(700).Buffer}catch(t){}function h(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=h(t,r);return r-1>=e&&(n|=h(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;o*=n,o+=c>=49?c-49+10:c>=17?c-17+10:c}return o}l.isBN=function(t){return t instanceof l||null!==t&&"object"==typeof t&&t.constructor.wordSize===l.wordSize&&Array.isArray(t.words)},l.max=function(t,e){return t.cmp(e)>0?t:e},l.min=function(t,e){return t.cmp(e)<0?t:e},l.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===base?this._parseHex(t,r,e):(this._parseBase(t,base,r),"le"===e&&this._initArray(this.toArray(),base,e)))},l.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},l.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,l=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<l&67108863,this.words[r+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,r++);return this.strip()},l.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,l=0;if("be"===r)for(i=t.length-1;i>=e;i-=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=d(t,e,i)<<o,this.words[l]|=67108863&n,o>=18?(o-=18,l+=1,this.words[l]|=n>>>26):o+=8;this.strip()},l.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,l=o%r,c=Math.min(o,o-l)+e,h=0,i=e;i<c;i+=r)h=f(t,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==l){var d=1;for(h=f(t,i,t.length,base),i=0;i<l;i++)d*=base;this.imuln(d),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},l.prototype.clone=function(){var t=new l(null);return this.copy(t),t},l.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 9,561 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,l=67108863&o,c=o/67108864|0;r.words[0]=l;for(var h=1;h<n;h++){for(var d=c>>>26,f=67108863&c,m=Math.min(h,e.length-1),v=Math.max(0,h-t.length+1);v<=m;v++){var i=h-v|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[v])+f)/67108864|0,f=67108863&o}r.words[h]=0|f,c=0|d}return 0!==c?r.words[h]=0|c:r.length--,r.strip()}l.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var l=this.words[i],c=(16777215&(l<<r|o)).toString(16);e=0!==(o=l>>>24-r&16777215)||i!==this.length-1?m[6-c.length]+c+e:c+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var h=v[base],d=y[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var _=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?_+e:m[h-_.length]+_+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},l.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},l.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),l=r||Math.max(1,o);n(o<=l,"byte array longer than desired length"),n(l>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,h=new t(l),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<l;i++)h[i]=0}else{for(i=0;i<l-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[l-i-1]=b}return h},Math.clz32?l.prototype._countBits=function(t){return 32-Math.clz32(t)}:l.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},l.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},l.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},l.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},l.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},l.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},l.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},l.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},l.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},l.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},l.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},l.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},l.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},l.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},l.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},l.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},l.prototype.notn=function(t){return this.clone().inotn(t)},l.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},l.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},l.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},l.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,l,a=t.words,b=e.words,c=r.words,h=0,d=0|a[0],f=8191&d,m=d>>>13,v=0|a[1],y=8191&v,_=v>>>13,w=0|a[2],T=8191&w,S=w>>>13,M=0|a[3],x=8191&M,k=M>>>13,E=0|a[4],O=8191&E,C=E>>>13,A=0|a[5],I=8191&A,P=A>>>13,R=0|a[6],D=8191&R,L=R>>>13,N=0|a[7],j=8191&N,B=N>>>13,F=0|a[8],U=8191&F,z=F>>>13,V=0|a[9],$=8191&V,H=V>>>13,W=0|b[0],G=8191&W,Q=W>>>13,K=0|b[1],X=8191&K,Y=K>>>13,Z=0|b[2],J=8191&Z,tt=Z>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],lt=8191&ut,ct=ut>>>13,ht=0|b[6],ft=8191&ht,pt=ht>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,yt=0|b[8],bt=8191&yt,_t=yt>>>13,wt=0|b[9],Tt=8191&wt,St=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var Mt=(h+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,Q))+Math.imul(m,G)|0))<<13)|0;h=((l=Math.imul(m,Q))+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(y,G),o=(o=Math.imul(y,Q))+Math.imul(_,G)|0,l=Math.imul(_,Q);var xt=(h+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,Y)|0)+Math.imul(m,X)|0))<<13)|0;h=((l=l+Math.imul(m,Y)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,G),o=(o=Math.imul(T,Q))+Math.imul(S,G)|0,l=Math.imul(S,Q),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Y)|0)+Math.imul(_,X)|0,l=l+Math.imul(_,Y)|0;var kt=(h+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,J)|0))<<13)|0;h=((l=l+Math.imul(m,tt)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,Q))+Math.imul(k,G)|0,l=Math.imul(k,Q),n=n+Math.imul(T,X)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(S,X)|0,l=l+Math.imul(S,Y)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(_,J)|0,l=l+Math.imul(_,tt)|0;var Et=(h+(n=n+Math.imul(f,it)|0)|0)+((8191&(o=(o=o+Math.imul(f,nt)|0)+Math.imul(m,it)|0))<<13)|0;h=((l=l+Math.imul(m,nt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(O,G),o=(o=Math.imul(O,Q))+Math.imul(C,G)|0,l=Math.imul(C,Q),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,Y)|0)+Math.imul(k,X)|0,l=l+Math.imul(k,Y)|0,n=n+Math.imul(T,J)|0,o=(o=o+Math.imul(T,tt)|0)+Math.imul(S,J)|0,l=l+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(_,it)|0,l=l+Math.imul(_,nt)|0;var Ot=(h+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;h=((l=l+Math.imul(m,st)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,Q))+Math.imul(P,G)|0,l=Math.imul(P,Q),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(C,X)|0,l=l+Math.imul(C,Y)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(k,J)|0,l=l+Math.imul(k,tt)|0,n=n+Math.imul(T,it)|0,o=(o=o+Math.imul(T,nt)|0)+Math.imul(S,it)|0,l=l+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(_,at)|0,l=l+Math.imul(_,st)|0;
vendor: 7,929 bytes, line 2
2var Ct=(h+(n=n+Math.imul(f,lt)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,lt)|0))<<13)|0;h=((l=l+Math.imul(m,ct)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(D,G),o=(o=Math.imul(D,Q))+Math.imul(L,G)|0,l=Math.imul(L,Q),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(P,X)|0,l=l+Math.imul(P,Y)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,tt)|0)+Math.imul(C,J)|0,l=l+Math.imul(C,tt)|0,n=n+Math.imul(x,it)|0,o=(o=o+Math.imul(x,nt)|0)+Math.imul(k,it)|0,l=l+Math.imul(k,nt)|0,n=n+Math.imul(T,at)|0,o=(o=o+Math.imul(T,st)|0)+Math.imul(S,at)|0,l=l+Math.imul(S,st)|0,n=n+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ct)|0)+Math.imul(_,lt)|0,l=l+Math.imul(_,ct)|0;var At=(h+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;h=((l=l+Math.imul(m,pt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(j,G),o=(o=Math.imul(j,Q))+Math.imul(B,G)|0,l=Math.imul(B,Q),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Y)|0)+Math.imul(L,X)|0,l=l+Math.imul(L,Y)|0,n=n+Math.imul(I,J)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,J)|0,l=l+Math.imul(P,tt)|0,n=n+Math.imul(O,it)|0,o=(o=o+Math.imul(O,nt)|0)+Math.imul(C,it)|0,l=l+Math.imul(C,nt)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(k,at)|0,l=l+Math.imul(k,st)|0,n=n+Math.imul(T,lt)|0,o=(o=o+Math.imul(T,ct)|0)+Math.imul(S,lt)|0,l=l+Math.imul(S,ct)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(_,ft)|0,l=l+Math.imul(_,pt)|0;var It=(h+(n=n+Math.imul(f,gt)|0)|0)+((8191&(o=(o=o+Math.imul(f,vt)|0)+Math.imul(m,gt)|0))<<13)|0;h=((l=l+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,G),o=(o=Math.imul(U,Q))+Math.imul(z,G)|0,l=Math.imul(z,Q),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Y)|0)+Math.imul(B,X)|0,l=l+Math.imul(B,Y)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(L,J)|0,l=l+Math.imul(L,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,l=l+Math.imul(P,nt)|0,n=n+Math.imul(O,at)|0,o=(o=o+Math.imul(O,st)|0)+Math.imul(C,at)|0,l=l+Math.imul(C,st)|0,n=n+Math.imul(x,lt)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(k,lt)|0,l=l+Math.imul(k,ct)|0,n=n+Math.imul(T,ft)|0,o=(o=o+Math.imul(T,pt)|0)+Math.imul(S,ft)|0,l=l+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(_,gt)|0,l=l+Math.imul(_,vt)|0;var Pt=(h+(n=n+Math.imul(f,bt)|0)|0)+((8191&(o=(o=o+Math.imul(f,_t)|0)+Math.imul(m,bt)|0))<<13)|0;h=((l=l+Math.imul(m,_t)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul($,G),o=(o=Math.imul($,Q))+Math.imul(H,G)|0,l=Math.imul(H,Q),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Y)|0)+Math.imul(z,X)|0,l=l+Math.imul(z,Y)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(B,J)|0,l=l+Math.imul(B,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(L,it)|0,l=l+Math.imul(L,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,l=l+Math.imul(P,st)|0,n=n+Math.imul(O,lt)|0,o=(o=o+Math.imul(O,ct)|0)+Math.imul(C,lt)|0,l=l+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(k,ft)|0,l=l+Math.imul(k,pt)|0,n=n+Math.imul(T,gt)|0,o=(o=o+Math.imul(T,vt)|0)+Math.imul(S,gt)|0,l=l+Math.imul(S,vt)|0,n=n+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,_t)|0)+Math.imul(_,bt)|0,l=l+Math.imul(_,_t)|0;var Rt=(h+(n=n+Math.imul(f,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(f,St)|0)+Math.imul(m,Tt)|0))<<13)|0;h=((l=l+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul($,X),o=(o=Math.imul($,Y))+Math.imul(H,X)|0,l=Math.imul(H,Y),n=n+Math.imul(U,J)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,J)|0,l=l+Math.imul(z,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(B,it)|0,l=l+Math.imul(B,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(L,at)|0,l=l+Math.imul(L,st)|0,n=n+Math.imul(I,lt)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(P,lt)|0,l=l+Math.imul(P,ct)|0,n=n+Math.imul(O,ft)|0,o=(o=o+Math.imul(O,pt)|0)+Math.imul(C,ft)|0,l=l+Math.imul(C,pt)|0,n=n+Math.imul(x,gt)|0,o=(o=o+Math.imul(x,vt)|0)+Math.imul(k,gt)|0,l=l+Math.imul(k,vt)|0,n=n+Math.imul(T,bt)|0,o=(o=o+Math.imul(T,_t)|0)+Math.imul(S,bt)|0,l=l+Math.imul(S,_t)|0;var Dt=(h+(n=n+Math.imul(y,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(_,Tt)|0))<<13)|0;h=((l=l+Math.imul(_,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul($,J),o=(o=Math.imul($,tt))+Math.imul(H,J)|0,l=Math.imul(H,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,l=l+Math.imul(z,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(B,at)|0,l=l+Math.imul(B,st)|0,n=n+Math.imul(D,lt)|0,o=(o=o+Math.imul(D,ct)|0)+Math.imul(L,lt)|0,l=l+Math.imul(L,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,l=l+Math.imul(P,pt)|0,n=n+Math.imul(O,gt)|0,o=(o=o+Math.imul(O,vt)|0)+Math.imul(C,gt)|0,l=l+Math.imul(C,vt)|0,n=n+Math.imul(x,bt)|0,o=(o=o+Math.imul(x,_t)|0)+Math.imul(k,bt)|0,l=l+Math.imul(k,_t)|0;var Lt=(h+(n=n+Math.imul(T,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(T,St)|0)+Math.imul(S,Tt)|0))<<13)|0;h=((l=l+Math.imul(S,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul($,it),o=(o=Math.imul($,nt))+Math.imul(H,it)|0,l=Math.imul(H,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,l=l+Math.imul(z,st)|0,n=n+Math.imul(j,lt)|0,o=(o=o+Math.imul(j,ct)|0)+Math.imul(B,lt)|0,l=l+Math.imul(B,ct)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(L,ft)|0,l=l+Math.imul(L,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,l=l+Math.imul(P,vt)|0,n=n+Math.imul(O,bt)|0,o=(o=o+Math.imul(O,_t)|0)+Math.imul(C,bt)|0,l=l+Math.imul(C,_t)|0;var Nt=(h+(n=n+Math.imul(x,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(x,St)|0)+Math.imul(k,Tt)|0))<<13)|0;h=((l=l+Math.imul(k,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,at),o=(o=Math.imul($,st))+Math.imul(H,at)|0,l=Math.imul(H,st),n=n+Math.imul(U,lt)|0,o=(o=o+Math.imul(U,ct)|0)+Math.imul(z,lt)|0,l=l+Math.imul(z,ct)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(B,ft)|0,l=l+Math.imul(B,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(L,gt)|0,l=l+Math.imul(L,vt)|0,n=n+Math.imul(I,bt)|0,o=(o=o+Math.imul(I,_t)|0)+Math.imul(P,bt)|0,l=l+Math.imul(P,_t)|0;var jt=(h+(n=n+Math.imul(O,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(O,St)|0)+Math.imul(C,Tt)|0))<<13)|0;h=((l=l+Math.imul(C,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul($,lt),o=(o=Math.imul($,ct))+Math.imul(H,lt)|0,l=Math.imul(H,ct),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,l=l+Math.imul(z,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(B,gt)|0,l=l+Math.imul(B,vt)|0,n=n+Math.imul(D,bt)|0,o=(o=o+Math.imul(D,_t)|0)+Math.imul(L,bt)|0,l=l+Math.imul(L,_t)|0;var Bt=(h+(n=n+Math.imul(I,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Tt)|0))<<13)|0;h=((l=l+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul($,ft),o=(o=Math.imul($,pt))+Math.imul(H,ft)|0,l=Math.imul(H,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,l=l+Math.imul(z,vt)|0,n=n+Math.imul(j,bt)|0,o=(o=o+Math.imul(j,_t)|0)+Math.imul(B,bt)|0,l=l+Math.imul(B,_t)|0;var Ft=(h+(n=n+Math.imul(D,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(L,Tt)|0))<<13)|0;h=((l=l+Math.imul(L,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul($,gt),o=(o=Math.imul($,vt))+Math.imul(H,gt)|0,l=Math.imul(H,vt),n=n+Math.imul(U,bt)|0,o=(o=o+Math.imul(U,_t)|0)+Math.imul(z,bt)|0,l=l+Math.imul(z,_t)|0;var Ut=(h+(n=n+Math.imul(j,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(B,Tt)|0))<<13)|0;h=((l=l+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul($,bt),o=(o=Math.imul($,_t))+Math.imul(H,bt)|0,l=Math.imul(H,_t);var qt=(h+(n=n+Math.imul(U,Tt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Tt)|0))<<13)|0;h=((l=l+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(h+(n=Math.imul($,Tt))|0)+((8191&(o=(o=Math.imul($,St))+Math.imul(H,Tt)|0))<<13)|0;return h=((l=Math.imul(H,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,c[0]=Mt,c[1]=xt,c[2]=kt,c[3]=Et,c[4]=Ot,c[5]=Ct,c[
vendor: 16,760 bytes, line 2
26]=At,c[7]=It,c[8]=Pt,c[9]=Rt,c[10]=Dt,c[11]=Lt,c[12]=Nt,c[13]=jt,c[14]=Bt,c[15]=Ft,c[16]=Ut,c[17]=qt,c[18]=zt,0!==h&&(c[19]=h,r.length++),r};function T(t,e,r){return(new S).mulp(t,e,r)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=_),l.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?_(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,l=0;l<r.length-1;l++){var c=o;o=0;for(var h=67108863&n,d=Math.min(l,e.length-1),f=Math.max(0,l-t.length+1);f<=d;f++){var i=l-f,m=(0|t.words[i])*(0|e.words[f]),v=67108863&m;h=67108863&(v=v+h|0),o+=(c=(c=c+(m/67108864|0)|0)+(v>>>26)|0)>>>26,c&=67108863}r.words[l]=h,n=c,c=o}return 0!==n?r.words[l]=n:r.length--,r.strip()}(this,t,e):T(this,t,e),r},S.prototype.makeRBT=function(t){for(var e=new Array(t),r=l.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},S.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},S.prototype.permute=function(t,e,r,n,o,l){for(var i=0;i<l;i++)n[i]=e[t[i]],o[i]=r[t[i]]},S.prototype.transform=function(t,e,r,n,o,l){this.permute(l,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var c=s<<1,h=Math.cos(2*Math.PI/c),d=Math.sin(2*Math.PI/c),p=0;p<o;p+=c)for(var f=h,m=d,v=0;v<s;v++){var y=r[p+v],_=n[p+v],w=r[p+v+s],T=n[p+v+s],S=f*w-m*T;T=f*T+m*w,w=S,r[p+v]=y+w,n[p+v]=_+T,r[p+v+s]=y-w,n[p+v+s]=_-T,v!==c&&(S=h*f-d*m,m=h*m+d*f,f=S)}},S.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},S.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},S.prototype.convert13b=function(t,e,r,o){for(var l=0,i=0;i<e;i++)l+=0|t[i],r[2*i]=8191&l,l>>>=13,r[2*i+1]=8191&l,l>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===l),n(0==(-8192&l))},S.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},S.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),l=this.stub(n),c=new Array(n),h=new Array(n),d=new Array(n),f=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,c,n),this.convert13b(e.words,e.length,f,n),this.transform(c,l,h,d,n,o),this.transform(f,l,m,v,n,o);for(var i=0;i<n;i++){var _=h[i]*m[i]-d[i]*v[i];d[i]=h[i]*v[i]+d[i]*m[i],h[i]=_}return this.conjugate(h,d,n),this.transform(h,d,y,l,n,o),this.conjugate(y,l,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},l.prototype.mul=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},l.prototype.mulf=function(t){var e=new l(null);return e.words=new Array(this.length+t.length),T(this,t,e)},l.prototype.imul=function(t){return this.clone().mulTo(t,this)},l.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},l.prototype.muln=function(t){return this.clone().imuln(t)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new l(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},l.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var l=this.words[i]&r,c=(0|this.words[i])-l<<e;this.words[i]=c|o,o=l>>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},l.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},l.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var l=t%26,s=Math.min((t-l)/26,this.length),mask=67108863^67108863>>>l<<l,c=r;if(o-=s,o=Math.max(0,o),c){for(var i=0;i<s;i++)c.words[i]=this.words[i];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var d=0|this.words[i];this.words[i]=h<<26-l|d>>>l,h=d&mask}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},l.prototype.shln=function(t){return this.clone().ishln(t)},l.prototype.ushln=function(t){return this.clone().iushln(t)},l.prototype.shrn=function(t){return this.clone().ishrn(t)},l.prototype.ushrn=function(t){return this.clone().iushrn(t)},l.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},l.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},l.prototype.maskn=function(t){return this.clone().imaskn(t)},l.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},l.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},l.prototype.addn=function(t){return this.clone().iaddn(t)},l.prototype.subn=function(t){return this.clone().isubn(t)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(t,e,r){var i,o,l=t.length+r;this._expand(l);var c=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+c;var h=(0|t.words[i])*e;c=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)c=(o=(0|this.words[i+r])+c)>>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i<this.length;i++)c=(o=-(0|this.words[i])+c)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},l.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new l(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var c=a.clone()._ishlnsubmul(b,1,o);0===c.negative&&(a=c,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var d=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,h);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},l.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!=(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new l(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new l(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new l(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},l.prototype.div=function(t){return this.divmod(t,"div",!1).div},l.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},l.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},l.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),l=r.cmp(n);return l<0||1===o&&0===l?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},l.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},l.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},l.prototype.divn=function(t){return this.clone().idivn(t)},l.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new l(1),o=new l(0),c=new l(0),h=new l(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(c.isOdd()||h.isOdd())&&(c.iadd(d),h.isub(f)),c.iushrn(1),h.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(h)):(e.isub(t),c.isub(r),h.isub(o))}return{a:c,b:h,gcd:e.iushln(g)}},l.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new l(1),r=new l(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0==(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var h=0,d=1;0==(b.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},l.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},l.prototype.invm=function(t){return this.egcd(t).a.umod(t)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(t){return this.words[0]&t},l.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},l.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},l.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},l.prototype.gtn=function(t){return 1===this.cmpn(t)},l.prototype.gt=function(t){return 1===this.cmp(t)},l.prototype.gten=function(t){return this.cmpn(t)>=0},l.prototype.gte=function(t){return this.cmp(t)>=0},l.prototype.ltn=function(t){return-1===this.cmpn(t)},l.prototype.lt=function(t){return-1===this.cmp(t)},l.prototype.lten=function(t){return this.cmpn(t)<=0},l.prototype.lte=function(t){return this.cmp(t)<=0},l.prototype.eqn=function(t){return 0===this.cmpn(t)},l.prototype.eq=function(t){return 0===this.cmp(t)},l.red=function(t){return new A(t)},l.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},l.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(t){return this.red=t,this},l.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},l.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},l.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},l.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},l.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},l.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},l.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},l.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},l.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new l(p,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=l._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new l(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(input,output){for(var mask=4194303,t
vendor: 5,551 bytes, line 2
2=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=e&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,x),o(O,x),o(C,x),C.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},l._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return M[t]=e,e},A.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},A.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},A.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},A.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},A.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},A.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},A.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},A.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},A.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},A.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},A.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},A.prototype.isqr=function(a){return this.imul(a,a.clone())},A.prototype.sqr=function(a){return this.mul(a,a)},A.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new l(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new l(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);0!==this.pow(h,c).cmp(o);)h.redIAdd(o);for(var d=this.pow(h,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(d,new l(1).iushln(v-i-1));f=f.redMul(b),d=b.redSqr(),m=m.redMul(d),v=i}return f},A.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(a,t){if(t.isZero())return new l(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new l(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var h=t.words[i],d=c-1;d>=0;d--){var f=h>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},l.mont=function(t){return new I(t)},o(I,A),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new l(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(121)(t))},,function(t,e,r){e.publicEncrypt=r(702),e.privateDecrypt=r(704),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},function(t,e,r){var n=r(215),o=r(137),l=r(164),c=r(426),h=r(427),d=r(279),f=r(428),m=r(269),v=r(23).Buffer;t.exports=function(t,e,r){var y;y=t.padding?t.padding:r?1:4;var _,w=n(t);if(4===y)_=function(t,e){var r=t.modulus.byteLength(),n=e.length,f=l("sha1").update(v.alloc(0)).digest(),m=f.length,y=2*m;if(n>r-y-2)throw new Error("message too long");var _=v.alloc(r-n-y-2),w=r-m-1,T=o(m),S=h(v.concat([f,_,v.alloc(1,1),e],w),c(T,w)),M=h(T,c(S,m));return new d(v.concat([v.alloc(1),M,S],r))}(w,e);else if(1===y)_=function(t,e,r){var n,l=e.length,c=t.modulus.byteLength();if(l>c-11)throw new Error("message too long");n=r?v.alloc(c-l-3,255):function(t){var e,r=v.allocUnsafe(t),i=0,n=o(2*t),l=0;for(;i<t;
2)l===n.length&&(n=o(2*t),l=0),(e=n[l++])&&(r[i++]=e);return r}(c-l-3);return new d(v.concat([v.from([0,r?1:2]),n,v.alloc(1),e],c))}(w,e,r);else{if(3!==y)throw new Error("unknown padding");if((_=new d(e)).cmp(w.modulus)>=0)throw new Error("data too long for modulus")}return r?m(_,w):f(_,w)}},,function(t,e,r){var n=r(215),o=r(426),l=r(427),c=r(279),h=r(269),d=r(164),f=r(428),m=r(23).Buffer;t.exports=function(t,e,r){var v;v=t.padding?t.padding:r?1:4;var y,_=n(t),w=_.modulus.byteLength();if(e.length>w||new c(e).cmp(_.modulus)>=0)throw new Error("decryption error");y=r?f(new c(e),_):h(e,_);var T=m.alloc(w-y.length);if(y=m.concat([T,y],w),4===v)return function(t,e){var r=t.modulus.byteLength(),n=d("sha1").update(m.alloc(0)).digest(),c=n.length;if(0!==e[0])throw new Error("decryption error");var h=e.slice(1,c+1),f=e.slice(c+1),v=l(h,o(f,c)),y=l(f,o(v,r-c-1));if(function(a,b){a=m.from(a),b=m.from(b);var t=0,e=a.length;a.length!==b.length&&(t++,e=Math.min(a.length,b.length));var i=-1;for(;++i<e;)t+=a[i]^b[i];return t}(n,y.slice(0,c)))throw new Error("decryption error");var i=c;for(;0===y[i];)i++;if(1!==y[i++])throw new Error("decryption error");return y.slice(i)}(_,y);if(1===v)return function(t,e,r){var n=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(i>=e.length){o++;break}var l=e.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;l.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,y,r);if(3===v)return y;throw new Error("unknown padding")}},function(t,e,r){"use strict";(function(t,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var l=r(23),c=(r(137),l.Buffer),h=l.kMaxLength,d=t.crypto||t.msCrypto,f=Math.pow(2,32)-1;function m(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>f||t<0)throw new TypeError("offset must be a uint32");if(t>h||t>e)throw new RangeError("offset out of range")}function v(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>f||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>h)throw new RangeError("buffer too small")}function y(t,e,r,o){var l=t.buffer,c=new Uint8Array(l,e,r);return d.getRandomValues(c),o?void n.nextTick((function(){o(null,t)})):t}d&&d.getRandomValues?(e.randomFill=function(e,r,n,o){if(!(c.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=e.length;else if("function"==typeof n)o=n,n=e.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return m(r,e.length),v(n,r,e.length),y(e,r,n,o)},e.randomFillSync=function(e,r,n){void 0===r&&(r=0);if(!(c.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');m(r,e.length),void 0===n&&(n=e.length-r);return v(n,r,e.length),y(e,r,n)}):(e.randomFill=o,e.randomFillSync=o)}).call(this,r(40),r(67))},function(t,e,r){t.exports=t=>{try{if("cookie"==t)return r(429);const e={local:window.localStorage,session:window.sessionStorage};return e.local.setItem("__local_test",1),e.local.removeItem("__local_test"),e.session.setItem("__session_test",1),e.session.removeItem("__session_test"),r(707)}catch(t){return r(429)}}},function(t,e,r){"use strict";r.r(e),r.d(e,"setExpire",(function(){return o})),r.d(e,"local",(function(){return l})),r.d(e,"session",(function(){return c}));let n=24;const o=t=>{n=t},l={get:t=>localStorage.getItem(t),set:(t,e)=>localStorage.setItem(t,e)},c={get:t=>sessionStorage.getItem(t),set:(t,e)=>sessionStorage.setItem(t,e)}},function(t,e){!function(t){!function(e){var r="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),l="FormData"in t,c="ArrayBuffer"in t;if(c)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array
2]"],d=ArrayBuffer.isView||function(t){return t&&h.indexOf(Object.prototype.toString.call(t))>-1};function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function m(t){return"string"!=typeof t&&(t=String(t)),t}function v(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function y(t){this.map={},t instanceof y?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(header){this.append(header[0],header[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function _(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=!0}function w(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function T(t){var e=new FileReader,r=w(e);return e.readAsArrayBuffer(t),r}function S(t){if(t.slice)return t.slice(0);var view=new Uint8Array(t.byteLength);return view.set(new Uint8Array(t)),view.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(body){var t;this._bodyInit=body,body?"string"==typeof body?this._bodyText=body:o&&Blob.prototype.isPrototypeOf(body)?this._bodyBlob=body:l&&FormData.prototype.isPrototypeOf(body)?this._bodyFormData=body:r&&URLSearchParams.prototype.isPrototypeOf(body)?this._bodyText=body.toString():c&&o&&((t=body)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=S(body.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(body)||d(body))?this._bodyArrayBuffer=S(body):this._bodyText=body=Object.prototype.toString.call(body):this._bodyText="",this.headers.get("content-type")||("string"==typeof body?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(body)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var t=_(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?_(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(T)}),this.text=function(){var t,e,r,n=_(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=w(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var view=new Uint8Array(t),e=new Array(view.length),i=0;i<view.length;i++)e[i]=String.fromCharCode(view[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},l&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}y.prototype.append=function(t,e){t=f(t),e=m(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},y.prototype.delete=function(t){delete this.map[f(t)]},y.prototype.get=function(t){return t=f(t),this.has(t)?this.map[t]:null},y.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},y.prototype.set=function(t,e){this.map[f(t)]=m(e)},y.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},y.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),v(t)},y.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),v(t)},y.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),v(t)}
vendor: 11,011 bytes, line 2
2,n&&(y.prototype[Symbol.iterator]=y.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function k(input,t){var e,r,body=(t=t||{}).body;if(input instanceof k){if(input.bodyUsed)throw new TypeError("Already read");this.url=input.url,this.credentials=input.credentials,t.headers||(this.headers=new y(input.headers)),this.method=input.method,this.mode=input.mode,this.signal=input.signal,body||null==input._bodyInit||(body=input._bodyInit,input.bodyUsed=!0)}else this.url=String(input);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new y(t.headers)),this.method=(e=t.method||this.method||"GET",r=e.toUpperCase(),x.indexOf(r)>-1?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}function E(body){var form=new FormData;return body.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");form.append(decodeURIComponent(r),decodeURIComponent(n))}})),form}function O(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new y(e.headers),this.url=e.url||"",this._initBody(t)}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})},M.call(k.prototype),M.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},O.error=function(){var t=new O(null,{status:0,statusText:""});return t.type="error",t};var C=[301,302,303,307,308];O.redirect=function(t,e){if(-1===C.indexOf(e))throw new RangeError("Invalid status code");return new O(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function A(input,t){return new Promise((function(r,n){var l=new k(input,t);if(l.signal&&l.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function h(){c.abort()}c.onload=function(){var t,e,n={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",e=new y,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(line){var t=line.split(":"),r=t.shift().trim();if(r){var n=t.join(":").trim();e.append(r,n)}})),e)};n.url="responseURL"in c?c.responseURL:n.headers.get("X-Request-URL");var body="response"in c?c.response:c.responseText;r(new O(body,n))},c.onerror=function(){n(new TypeError("Network request failed"))},c.ontimeout=function(){n(new TypeError("Network request failed"))},c.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},c.open(l.method,l.url,!0),"include"===l.credentials?c.withCredentials=!0:"omit"===l.credentials&&(c.withCredentials=!1),"responseType"in c&&o&&(c.responseType="blob"),l.headers.forEach((function(t,e){c.setRequestHeader(e,t)})),l.signal&&(l.signal.addEventListener("abort",h),c.onreadystatechange=function(){4===c.readyState&&l.signal.removeEventListener("abort",h)}),c.send(void 0===l._bodyInit?null:l._bodyInit)}))}A.polyfill=!0,t.fetch||(t.fetch=A,t.Headers=y,t.Request=k,t.Response=O),e.Headers=y,e.Request=k,e.Response=O,e.fetch=A,Object.defineProperty(e,"__esModule",{value:!0})}({})}("undefined"!=typeof self?self:this)},function(t,e){function r(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=r,r.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-r:t+r}return 0|Math.min(t,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(t){this.ms=t},r.prototype.setMax=function(t){this.max=t},r.prototype.setJitter=function(t){this.jitter=t}},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function l(){}function c(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function h(t,e,r,n,l){if("function"!=typeof r)throw new TypeError("The listener must be a function");var h=new c(r,n||t,l),d=o?o+e:e;return t._events[d]?t._events[d].fn?t._events[d]=[t._events[d],h]:t._events[d].push(h):(t._events[d]=h,t._eventsCount++),t}function d(t,e){0==--t._eventsCount?t._events=new l:delete t._events[e]}function f(){this._events=new l,this._eventsCount=0}Object.create&&(l.prototype=Object.create(null),(new l).__proto__||(o=!1)),f.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(o?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},f.prototype.listeners=function(t){var e=o?o+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,n=r.length,l=new Array(n);i<n;i++)l[i]=r[i].fn;return l},f.prototype.listenerCount=function(t){var e=o?o+t:t,r=this._events[e];return r?r.fn?1:r.length:0},f.prototype.emit=function(t,e,r,n,l,c){var h=o?o+t:t;if(!this._events[h])return!1;var d,i,f=this._events[h],m=arguments.length;if(f.fn){switch(f.once&&this.removeListener(t,f.fn,void 0,!0),m){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,e),!0;case 3:return f.fn.call(f.context,e,r),!0;case 4:return f.fn.call(f.context,e,r,n),!0;case 5:return f.fn.call(f.context,e,r,n,l),!0;case 6:return f.fn.call(f.context,e,r,n,l,c),!0}for(i=1,d=new Array(m-1);i<m;i++)d[i-1]=arguments[i];f.fn.apply(f.context,d)}else{var v,y=f.length;for(i=0;i<y;i++)switch(f[i].once&&this.removeListener(t,f[i].fn,void 0,!0),m){case 1:f[i].fn.call(f[i].context);break;case 2:f[i].fn.call(f[i].context,e);break;case 3:f[i].fn.call(f[i].context,e,r);break;case 4:f[i].fn.call(f[i].context,e,r,n);break;default:if(!d)for(v=1,d=new Array(m-1);v<m;v++)d[v-1]=arguments[v];f[i].fn.apply(f[i].context,d)}}return!0},f.prototype.on=function(t,e,r){return h(this,t,e,r,!1)},f.prototype.once=function(t,e,r){return h(this,t,e,r,!0)},f.prototype.removeListener=function(t,e,r,n){var l=o?o+t:t;if(!this._events[l])return this;if(!e)return d(this,l),this;var c=this._events[l];if(c.fn)c.fn!==e||n&&!c.once||r&&c.context!==r||d(this,l);else{for(var i=0,h=[],f=c.length;i<f;i++)(c[i].fn!==e||n&&!c[i].once||r&&c[i].context!==r)&&h.push(c[i]);h.length?this._events[l]=1===h.length?h[0]:h:d(this,l)}return this},f.prototype.removeAllListeners=function(t){var e;return t?(e=o?o+t:t,this._events[e]&&d(this,e)):(this._events=new l,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=o,f.EventEmitter=f,t.exports=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"string"==typeof t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"object"==typeof t}},function(t,e,r){"use strict";r.r(e),r.d(e,"getOperationAST",(function(){return o}));var n=r(13);function o(t,e){for(var r=null,o=0,l=t.definitions;o<l.length;o++){var c,h=l[o];if(h.kind===n.a.OPERATION_DEFINITION)if(null==e){if(r)return null;r=h}else if((null===(c=h.name)||void 0===c?void 0:c.value)===e)return h}return r}},,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GRAPHQL_SUBSCRIPTIONS=e.GRAPHQL_WS=void 0;e.GRAPHQL_WS="graphql-ws";e.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WS_TIMEOUT=e.MIN_WS_TIMEOUT=void 0;e.MIN_WS_TIMEOUT=1e3;e.WS_TIMEOUT=3e4},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}Object.defineProperty(e,"__esModule",{value:!0}),e.Observable=void 0;var c=function(){return"function"==typeof Symbol},h=function(t){return c()&&Boolean(Symbol[t])},d=function(t){return h(t)?Symbol[t]:"@@"+t};c()&&!h("observable")&&(Symbol.observable=Symbol("observable"));var f=d("iterator"),m=d("observable"),v=d("species");function y(t,e){var r=t[e];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function _(t){var e=t.constructor;return void 0!==e&&null===(e=e[v])&&(e=void 0),void 0!==e?e:A}function w(t){return t instanceof A}function T(t){T.log?T.log(t):setTimeout((function(){throw t}))}function S(t){Promise.resolve().then((function(){try{t()}catch(t){T(t)}}))}function M(t){var e=t._cleanup;if(void 0!==e&&(t._cleanup=void 0,e))try{if("function"==typeof e)e();else{var r=y(e,"unsubscribe");r&&r.call(e)}}catch(t){T(t)}}function x(t){t._observer=void 0,t._queue=void 0,t._state="closed"}function k(t,e,r){t._state="running";var n=t._observer;try{var o=y(n,e);switch(e){case"next":o&&o.call(n,r);break;case"error":if(x(t),!o)throw r;o.call(n,r);break;case"complete":x(t),o&&o.call(n)}}catch(t){T(t)}"closed"===t._state?M(t):"running"===t._state&&(t._state="ready")}function E(t,e,r){if("closed"!==t._state){if("buffering"!==t._state)return"ready"!==t._state?(t._state="buffering",t._queue=[{type:e,value:r}],void S((function(){return function(t){var e=t._queue;if(e){t._queue=void 0,t._state="ready";for(var i=0;i<e.length&&(k(t,e[i].type,e[i].value),"closed"!==t._state);++i);}}(t)}))):void k(t,e,r);t._queue.push({type:e,value:r})}}var O=function(){function t(e,r){n(this,t),this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var o=new C(this);try{this._cleanup=r.call(void 0,o)}catch(t){o.error(t)}"initializing"===this._state&&(this._state="ready")}return l(t,[{key:"unsubscribe",value:function(){"closed"!==this._state&&(x(this),M(this))}},{key:"closed",get:function(){return"closed"===this._state}}]),t}(),C=function(){function t(e){n(this,t),this._subscription=e}return l(t,[{key:"next",value:function(t){E(this._subscription,"next",t)}},{key:"error",value:function(t){E(this._subscription,"error",t)}},{key:"complete",value:function(){E(this._subscription,"complete")}},{key:"closed",get:function(){return"closed"===this._subscription._state}}]),t}(),A=function(){function t(e){if(n(this,t),!(this instanceof t))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}return l(t,[{key:"subscribe",value:function(t){return"object"==typeof t&&null!==t||(t={next:t,error:arguments[1],complete:arguments[2]}),new O(t,this._subscriber)}}
2,{key:"forEach",value:function(t){var e=this;return new Promise((function(r,n){if("function"==typeof t)var o=e.subscribe({next:function(e){try{t(e,l)}catch(t){n(t),o.unsubscribe()}},error:n,complete:r});else n(new TypeError(t+" is not a function"));function l(){o.unsubscribe(),r()}}))}},{key:"map",value:function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");return new(_(this))((function(r){return e.subscribe({next:function(e){try{e=t(e)}catch(t){return r.error(t)}r.next(e)},error:function(t){r.error(t)},complete:function(){r.complete()}})}))}},{key:"filter",value:function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");return new(_(this))((function(r){return e.subscribe({next:function(e){try{if(!t(e))return}catch(t){return r.error(t)}r.next(e)},error:function(t){r.error(t)},complete:function(){r.complete()}})}))}},{key:"reduce",value:function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");var r=_(this),n=arguments.length>1,o=!1,l=arguments[1];return new r((function(r){return e.subscribe({next:function(e){var c=!o;if(o=!0,!c||n)try{l=t(l,e)}catch(t){return r.error(t)}else l=e},error:function(t){r.error(t)},complete:function(){if(!o&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(l),r.complete()}})}))}},{key:"concat",value:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=_(this);return new o((function(e){var n,l=0;return function t(c){n=c.subscribe({next:function(t){e.next(t)},error:function(t){e.error(t)},complete:function(){l===r.length?(n=void 0,e.complete()):t(o.from(r[l++]))}})}(t),function(){n&&(n.unsubscribe(),n=void 0)}}))}},{key:"flatMap",value:function(t){var e=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");var r=_(this);return new r((function(n){var o=[],l=e.subscribe({next:function(e){if(t)try{e=t(e)}catch(t){return n.error(t)}var l=r.from(e).subscribe({next:function(t){n.next(t)},error:function(t){n.error(t)},complete:function(){var i=o.indexOf(l);i>=0&&o.splice(i,1),c()}});o.push(l)},error:function(t){n.error(t)},complete:function(){c()}});function c(){l.closed&&0===o.length&&n.complete()}return function(){o.forEach((function(s){return s.unsubscribe()})),l.unsubscribe()}}))}},{key:m,value:function(){return this}}],[{key:"from",value:function(e){var r="function"==typeof this?this:t;if(null==e)throw new TypeError(e+" is not an object");var n=y(e,m);if(n){var o=n.call(e);if(Object(o)!==o)throw new TypeError(o+" is not an object");return w(o)&&o.constructor===r?o:new r((function(t){return o.subscribe(t)}))}if(h("iterator")&&(n=y(e,f)))return new r((function(t){S((function(){if(!t.closed){var r=!0,o=!1,l=void 0;try{for(var c,h=n.call(e)[Symbol.iterator]();!(r=(c=h.next()).done);r=!0){var d=c.value;if(t.next(d),t.closed)return}}catch(t){o=!0,l=t}finally{try{r||null==h.return||h.return()}finally{if(o)throw l}}t.complete()}}))}));if(Array.isArray(e))return new r((function(t){S((function(){if(!t.closed){for(var i=0;i<e.length;++i)if(t.next(e[i]),t.closed)return;t.complete()}}))}));throw new TypeError(e+" is not observable")}},{key:"of",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return new("function"==typeof this?this:t)((function(t){S((function(){if(!t.closed){for(var i=0;i<r.length;++i)if(t.next(r[i]),t.closed)return;t.complete()}}))}))}},{key:v,get:function(){return this}}]),t}();e.Observable=A,c()&&Object.defineProperty(A,Symbol("extensions"),{value:{symbol:m,hostReportError:T},configurable:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=e.graphql=void 0;var n=r(4);function o(t,e,r){var c=r.fragmentMap,d=r.contextValue,f=r.variableValues,m={};return t.selections.forEach((function(t){if(!f||(0,n.shouldInclude)(t,f))if((0,n.isField)(t)){var v=function(t,e,r){var c=r.variableValues,h=r.contextValue,d=r.resolver,f=t.name.value,m=(0,n.argumentsObjectFromField)(t,c),v={isLeaf:!t.selectionSet,resultKey:(0,n.resultKeyNameFromField)(t),directives:(0,n.getDirectiveInfoFromField)(t,c),field:t},y=d(f,e,m,h,v);if(!t.selectionSet)return y;if(null==y)return y;if(Array.isArray(y))return l(t,y,r);return o(t.selectionSet,y,r)}(t,e,r),y=(0,n.resultKeyNameFromField)(t);void 0!==v&&(void 0===m[y]?m[y]=v:h(m[y],v))}else{var _=void 0;if((0,n.isInlineFragment)(t))_=t;else if(!(_=c[t.name.value]))throw new Error("No fragment named ".concat(t.name.value));var w=_.typeCondition.name.value;if(r.fragmentMatcher(e,w,d)){var T=o(_.selectionSet,e,r);h(m,T)}}})),r.resultMapper?r.resultMapper(m,e):m}function l(t,e,r){return e.map((function(e){return null===e?null:Array.isArray(e)?l(t,e,r):o(t.selectionSet,e,r)}))}e.graphql=function(t,e,r,l,c,h){void 0===c&&(c={}),void 0===h&&(h={});var d=(0,n.getMainDefinition)(e),f=(0,n.getFragmentDefinitions)(e),m={fragmentMap:(0,n.createFragmentMap)(f),contextValue:l,variableValues:c,resultMapper:h.resultMapper,resolver:t,fragmentMatcher:h.fragmentMatcher||function(){return!0}};return o(d.selectionSet,r,m)};var c=Object.prototype.hasOwnProperty;function h(t,e){null!==e&&"object"==typeof e&&Object.keys(e).forEach((function(r){var n=e[r];c.call(t,r)?h(t[r],n):t[r]=n}))}e.merge=h},,function(t,e,r){"use strict";r.r(e);var n=r(280),o=r.n(n);r.d(e,"ReactNativeFile",(function(){return o.a}));var l=r(431),c=r.n(l);r.d(e,"extractFiles",(function(){return c.a}));var h=r(281),d=r.n(h);r.d(e,"isExtractableFile",(function(){return d.a}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){var content=r(773);
2content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(33).default)("6a944571",content,!0,{sourceMap:!1})},function(t,e,r){var n=r(32)((function(i){return i[1]}));n.push([t.i,"/*! locomotive-scroll v4.1.3 | MIT License | https://github.com/locomotivemtl/locomotive-scroll */html.has-scroll-smooth{overflow:hidden}html.has-scroll-dragging{-webkit-user-select:none;-moz-user-select:none;user-select:none}.has-scroll-smooth body{overflow:hidden}.has-scroll-smooth [data-scroll-container]{min-height:100vh}[data-scroll-direction=horizontal] [data-scroll-container]{display:inline-block;height:100vh;white-space:nowrap}[data-scroll-direction=horizontal] [data-scroll-section]{display:inline-block;height:100%;vertical-align:top;white-space:nowrap}.c-scrollbar{height:100%;opacity:0;position:absolute;right:0;top:0;transform-origin:center right;transition:transform .3s,opacity .3s;width:11px}.c-scrollbar:hover{transform:scaleX(1.45)}.c-scrollbar:hover,.has-scroll-dragging .c-scrollbar,.has-scroll-scrolling .c-scrollbar{opacity:1}[data-scroll-direction=horizontal] .c-scrollbar{bottom:0;height:10px;top:auto;transform:scaleY(1);width:100%}[data-scroll-direction=horizontal] .c-scrollbar:hover{transform:scaleY(1.3)}.c-scrollbar_thumb{background-color:#000;border-radius:10px;cursor:grab;margin:2px;opacity:.5;position:absolute;right:0;top:0;width:7px}.has-scroll-dragging .c-scrollbar_thumb{cursor:grabbing}[data-scroll-direction=horizontal] .c-scrollbar_thumb{bottom:0;right:auto}",""]),n.locals={},t.exports=n},,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e),r.d(e,"checkFetcher",(function(){return f})),r.d(e,"createSignalIfSupported",(function(){return m})),r.d(e,"fallbackHttpConfig",(function(){return c})),r.d(e,"parseAndCheckHttpResponse",(function(){return d})),r.d(e,"selectHttpOptionsAndBody",(function(){return v})),r.d(e,"selectURI",(function(){return _})),r.d(e,"serializeFetchParameter",(function(){return y})),r.d(e,"throwServerError",(function(){return h}));var n=function(){return n=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},n.apply(this,arguments)};var o=r(172),l=r(11),c={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},h=function(t,e,r){var n=new Error(r);throw n.name="ServerError",n.response=t,n.statusCode=t.status,n.result=e,n},d=function(t){return function(e){return e.text().then((function(t){try{return JSON.parse(t)}catch(n){var r=n;return r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,Promise.reject(r)}})).then((function(r){return e.status>=300&&h(e,r,"Response not successful: Received status code "+e.status),Array.isArray(r)||r.hasOwnProperty("data")||r.hasOwnProperty("errors")||h(e,r,"Server response was missing for query '"+(Array.isArray(t)?t.map((function(t){return t.operationName})):t.operationName)+"'."),r}))}},f=function(t){if(!t&&"undefined"==typeof fetch){throw"undefined"==typeof window&&"node-fetch",new l.a(1)}},m=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var t=new AbortController;return{controller:t,signal:t.signal}},v=function(t,e){for(var r=[],l=2;l<arguments.length;l++)r[l-2]=arguments[l];var c=n({},e.options,{headers:e.headers,credentials:e.credentials}),h=e.http;r.forEach((function(t){c=n({},c,t.options,{headers:n({},c.headers,t.headers)}),t.credentials&&(c.credentials=t.credentials),h=n({},h,t.http)}));var d=t.operationName,f=t.extensions,m=t.variables,v=t.query,body={operationName:d,variables:m};return h.includeExtensions&&(body.extensions=f),h.includeQuery&&(body.query=Object(o.print)(v)),{options:c,body:body}},y=function(p,label){var t;try{t=JSON.stringify(p)}catch(t){var e=new l.a(2);throw e.parseError=t,e}return t},_=function(t,e){var r=t.getContext().uri;return r||("function"==typeof e?e(t):e||"/graphql")}}]]);

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.