/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/venom-player@0.2.86/dist/player.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VenomPlayer=t():e.VenomPlayer=t()}(self,function(){return i={},f.m=r={87757:function(e,t,n){e.exports=n(35666)},89666:function(){Object.setPrototypeOf||(Object.prototype.setPrototypeOf=function(t,e){if(t.__proto__)return t.__proto__=e,t;function n(){for(var e in t)Object.defineProperty(this,e,{value:t[e]})}return n.prototype=e,new n})},98249:function(){var e;window.performance||(window.performance={}),performance.now||(e=Date.now(),performance.now=performance.webkitNow||performance.mozNow||function(){return Date.now()-e})},21111:function(e,t,a){"use strict";a.d(t,{i8:function(){return d},ji:function(){return p},WU:function(){return y},h0:function(){return _},ro:function(){return w}});var s=a(29439),r=a(4942),n=a(97377),i=a(41209),c=a(9293),o=a(75893),u=a(56688),l=a(969);function f(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var d="0.2.86",p=function(){return/2g/i.test(u.Ek)?600:/3g/i.test(u.Ek)?120:30},v=o.or.has("dhls"),m={debug:v,maxBufferSize:0,maxBufferLength:u.xw?20:p(),maxFragLookUpTolerance:.25,fragLoadingMaxRetry:3,autoStartLoad:!1,fLoader:n.ZP.hls.FLoaderWithAltAudioFix};v&&(m.xhrSetup=function(e){return e.setRequestHeader("Cache-Control","no-cache")}),t.ZP={copyFrom:function(e){var t;e.publicPath&&(a.p=e.publicPath);for(var n=0,r=["dash","timeSearchParamName","hlsNativeParam","hlsNativeQuality","endedSoon","autoLandscape","oneSound","preventExternalSilencing","sw"];n<r.length;n++){var i=r[n];i in e&&(this[i]=e[i])}Object.assign(this.p2p,e.p2p),Object.assign(this.db,e.db),Object.assign(this.ui,e.ui),Object.assign(y,e.format);var o=this.preview;Object.assign(o,e.preview),o.src&&(o.src=o.src.replace("${id}",e.id)),2===(null===(t=e.rewind)||void 0===t?void 0:t.length)&&(this.rewind=e.rewind),e.live&&(this.hls.autoStartLoad=!0,e.liveBuffer&&(this.hls.maxBufferLength=e.liveBuffer)),3<e.live&&(this.hls.liveSyncDurationCount=e.live),this.restrictQuality="function"==typeof e.restrictQuality?e.restrictQuality:function(){return!1},this.restrictSpeed="function"==typeof e.restrictSpeed?e.restrictSpeed:function(){return!1}},hls:h({},m),ui:{},preview:{interval:1,pad:0,firstNum:0},p2p:{},db:{on:!1,test:!1,cleanMark:.9,cleanCount:4,target:[1,100]},recoverThrottle:6e4,timeSearchParamName:"t",delayControlsTimeout:u.xw?9e3:3e3,longPressTime:1e3,triggerProgress:60,saveProgress:10,endedSoon:20,preventExternalSilencing:!1,pausePing:3e4,rewind:[5,20],speed:[1]};var y={quality:l.sK,skip:function(e){return e.title||i.f[e.type]||e.type}},g="santabarbaranoads",b=o.or.has(g);u.xw&&b&&c.Z.set(g,1);var _={disable:b||u.xw&&c.Z.get(g),debug:o.or.get("debug_ads")||o.or.has("debug_ads"),unreliablePreTimout:10,toLongSkip:30,flyOffset:600,coolDown:420,nonLinearOffset:600,middleOffset:300,postMinDuration:900,postOffset:function(e){return 3600<e?540:1800<e?240:120},testLinear:"https://4736.in/vpaid/?id=17834",testNonLinear:"https://tester.advertserve.com/servlet/vast2/media?mid=125&pid=0&random=%7B%7Brandom_int%7D%7D"};function w(e,t){if(!t.ignoreLast){var n=c.Z.getLast(t.id),r=(0,s.Z)(n,2),i=r[0];if(A(e,t,{id:i,season:i,episode:r[1]}))return}if(t.current){if(A(e,t,t.current))return;console.warn("playlist.current not found in playlist")}var o;t.flat?k(e,t.flat[0]):k(e,(o=t.seasons[0]).episodes[0],o)}function A(e,t,n){var r=t.flat,i=t.seasons,o=n.id,a=n.season,s=n.episode;if(r){var c=r.find(function(e){return e.id==o});if(c)return k(e,c),!0}else{var u=null==i?void 0:i.find(function(e){return e.season==a}),l=null==u?void 0:u.episodes.find(function(e){return e.episode==s});if(l)return k(e,l,u),!0}}function k(e,t,n){n&&(null==t.season&&(t.season=n.season),n.blocked&&(t.blocked=!0));var r=h({dash:t.dash,hls:t.hls,file:t.file,audio:t.audio,cc:t.cc},t.source),i=t.id,o=t.season,a=t.episode,s=t.title,c=t.poster,u=t.blocked,l=t.qbw,f=t.sections,d=t.download;Object.assign(e,{source:r,id:i,title:s,poster:c,blocked:u,qbw:l,sections:f,download:d}),e.preview=Object.assign({},e.preview,t.preview),e.playlist.current={id:i,season:o,episode:a}}},51122:function(e,t,n){"use strict";n.d(t,{vz:function(){return w},R3:function(){return A},dy:function(){return k},hi:function(){return x},If:function(){return O},_4:function(){return E},xj:function(){return S},Cp:function(){return P},$Z:function(){return T},bA:function(){return C},ZN:function(){return j},xv:function(){return L},WM:function(){return R},QZ:function(){return I},Od:function(){return M},ep:function(){return z},Ce:function(){return D},gx:function(){return B},gR:function(){return N},X5:function(){return F},TJ:function(){return U},bp:function(){return H}});var r,i,f=n(29439),c=n(93433),o=n(4942),a=n(94184),u=n.n(a),d=n(18037),h=(n(56688),n(97741)),s=n(56053),p=n(67626);function l(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach(function(e){(0,o.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var m="opened",y="active",g="before-show",b="animate-hide",_=300;function w(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(2<n?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if("function"==typeof e)return e(v(v({},t),{},{children:r}));var o=document.createElement(e);for(var a in t){var s=t[a];"ref"===a?s(o):"style"===a?Object.assign(o.style,t.style):a.startsWith("on")?o[a.toLowerCase()]=s:/[A-Z]/.test(a)||["volume","muted"].includes(a)?o[a]=s:"aria-checked"===a?o.setAttribute(a,s):!0===s?o.setAttribute(a,""):!1===s||void 0===s||("class"===a?o.setAttribute(a,u()(s)):o.setAttribute(a,s))}return A(o,r),o}function A(s,e){e.forEach(function(e){var t,n,r,i,o;function a(e){r.parentElement&&(B(r,e),r=e)}!e&&0!==e||(Array.isArray(e)?A(s,e):e instanceof Node?s.appendChild(e):e instanceof Promise?s.appendChild((i=e,o=document.createTextNode(""),i.then(function(e){e&&o.parentElement&&B(o,e)}),o)):"function"==typeof e.subscribe?s.appendChild((n=(t=e).value,r=n instanceof Element?n:document.createTextNode(n),t.subscribe(function(e){e instanceof Element?a(e):r instanceof Element?a(document.createTextNode(e)):r.textContent=e}),r)):e.toString().trim().startsWith("<")&&1<e.length?s.appendChild(k(e)):s.appendChild(document.createTextNode(e)))})}function k(e){var t=document.createElement("div");return t.innerHTML=e,t.firstElementChild}function x(e,t){var n=Array.isArray(e)||"string"==typeof e?{class:e}:e;return Array.isArray(t)||(t=[t]),w.apply(void 0,["div",n].concat((0,c.Z)(t)))}function O(e){function t(e){return s.parentElement.insertBefore(e,s)}function n(e){return e.parentElement&&M(e)}var r,i,o=e.rx,a=e.children,s=document.createTextNode("");return o.subscribe(function(e){return a.forEach(e?t:n)}),o.value?(r=[].concat((0,c.Z)(a),[s]),i=document.createDocumentFragment(),r.forEach(function(e){return i.appendChild(e)}),i):s}function E(e,t){(t?P:T)(e)}var S=function(e){return null==e?void 0:e.classList.contains(s.Z.hidden)};function P(e){null!=e&&e.classList.add(s.Z.hidden)}function T(e){e&&(e.classList.add(g),e.classList.remove(s.Z.hidden,b),setTimeout(function(){return e.classList.remove(g)},10))}function C(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:m;Array.from(e.parentNode.children).forEach(function(e){return L(e,t)}),e.classList.add(t)}function j(e,t){(e.classList.contains(t)?L:C)(e,t)}var L=function(e,t){return e.classList.remove(t)};function R(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(t)return![s.Z.hidden,b].some(function(e){return t.classList.contains(e)})&&((e?function(e,t){var n,r=1<arguments.length&&void 0!==t?t:_;e&&(n=e.classList,[s.Z.hidden,b].some(function(e){return n.contains(e)})||(n.add(b),setTimeout(function(){n.contains(b)&&(n.remove(b),n.add(s.Z.hidden))},r)))}:P)(t),!0)}function I(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:y;Array.from(e.parentNode.getElementsByClassName(t)).forEach(function(e){return e.classList.remove(t)}),e.classList.add(t)}var M=function(e){return e.parentElement.removeChild(e)};function z(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function D(e,t){e.insertBefore(t,e.firstChild)}function B(e,t){e.parentElement.replaceChild(t,e)}var Z=null===(r=window.CSS)||void 0===r||null===(i=r.supports)||void 0===i?void 0:i.call(r,"(--a: 0)");function N(){function e(i){return function(e){var t=(0,f.Z)(e,2),n=t[0],r=t[1];return u[i+n]=r}}var t,n,r,i,o,a,s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},c=1<arguments.length?arguments[1]:void 0,u={},l=null===(t=s["background-color-primary"])||void 0===t?void 0:t.match(/rgba\((\d+),\s?(\d+),\s?(\d+),\s?([\d.]+)\)/);l&&(r=(n=(0,f.Z)(l,5))[1],i=n[2],o=n[3],a=n[4],Object.entries(v({opacity:a},(0,h.lw)(r,i,o))).forEach(e("--vp-background-color-primary-"))),Object.entries(s).forEach(e("--vp-")),function(e){e["--vp-background-color-item-saturation"]="calc(var(--vp-background-color-primary-saturation) - 5%)",p.lr.venom?(e["--vp-background-color-item-lightness"]="calc(var(--vp-background-color-primary-lightness) + 10%)",e["--vp-button-icon-bg-hover"]="var(--vp-background-color-primary)"):e["--vp-background-color-item-lightness"]="calc(var(--vp-background-color-primary-lightness) + 15%)";e["--vp-background-color-item"]="hsla(var(--vp-background-color-primary-hue),var(--vp-background-color-item-saturation),var(--vp-background-color-item-lightness), var(--vp-background-color-primary-opacity))"}(u),Z&&c?(0,d.Z)({variables:u,rootElement:c}):(0,d.Z)({variables:u})}var F=function(e){var t;return null===(t=e.scrollIntoView)||void 0===t?void 0:t.call(e,{block:"nearest",inline:"nearest"})};function U(e,t){var n=e.getElementsByTagName("svg")[0];n&&B(n,t instanceof Element?t:k(t))}function H(e,t){var n=e.getElementsByTagName("text")[0];n&&(n.textContent=t)}},22201:function(e,t,n){"use strict";n.d(t,{Ps:function(){return o},Z$:function(){return d},qk:function(){return a},AW:function(){return h},nL:function(){return p},T1:function(){return v},Lm:function(){return m},yw:function(){return y}});var c=n(29439),s=n(93433),r=n(87757),i=n.n(r);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){return parseInt(e)-parseInt(t)}var o=function(e){return e[0]},d=function(e){return e[e.length-1]},a=function(n){return function(e,t){return e[n]-t[n]}},h=function(n){return function(e,t){return t[n]-e[n]}},p=function(e){var t,n=(0,s.Z)(e).sort(f),r=[[n.shift()]],i=u(n);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=d(r);parseInt(d(a))+1===parseInt(o)?a.push(o):r.push([o])}}catch(e){i.e(e)}finally{i.f()}return r},v=function(e){return p(e).map(function(e){return[e[0],d(e)]})},m=function(e,t){var n,r=u(e);try{for(r.s();!(n=r.n()).done;)for(var i=(0,c.Z)(n.value,2),o=i[0],a=i[1],s=o;s<=a;s++)t(s)}catch(e){r.e(e)}finally{r.f()}},y=function(e){return e.map(function(e){return 1===e.length?o(e):"".concat(o(e),"-").concat(d(e))})};Array.prototype[Symbol.iterator]||(Array.prototype[Symbol.iterator]=i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=0;case 1:if(t<this.length)return e.next=4,this[t];e.next=7;break;case 4:t++,e.next=1;break;case 7:case"end":return e.stop()}},e,this)}))},62214:function(e,t,n){"use strict";n.d(t,{Fb:function(){return h},GR:function(){return p},IH:function(){return v},Qz:function(){return m}});var i=n(15671),o=n(43144),a=n(11752),s=n(79340),c=n(82963),u=n(61120),r=n(17187),l=n.n(r),f=n(17365);function d(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,u.Z)(r);return t=i?(e=(0,u.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,c.Z)(this,t)}}var h=function(n,r){return new Promise(function(e,t){n.then(e,t),setTimeout(t,r)})},p=function(s,t,c){return new Promise(function(r,e){function i(t){return o.forEach(function(e){return s[t](e,n)})}var o=Array.isArray(t)?t:[t],n=function(){1<o.length&&i("off"),clearTimeout(a);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r(t)};i("once");var a=setTimeout(function(){i("off"),e("timeout")},c)})},v=function(n,r,i){n.addEventListener(r,function e(t){n.removeEventListener(r,e),i(t)})},m=function(e){(0,s.Z)(r,e);var n=d(r);function r(e){var t;return(0,i.Z)(this,r),(t=n.call(this))._debugCode=e||"cn_".concat(t.constructor.name),t._listenErr("unhandled"),t}return(0,o.Z)(r,[{key:"removeAllListeners",value:function(e){var t=arguments.length;return t?(0,a.Z)((0,u.Z)(r.prototype),"removeAllListeners",this).call(this,e):(0,a.Z)((0,u.Z)(r.prototype),"removeAllListeners",this).call(this),t&&y!=e||this._listenErr("afterRmAll"),this}},{key:"_listenErr",value:function(n){var r=this;this.on(y,function(e){var t;1==r.listenerCount(y)&&(t=e||"<empty>",(0,f.ot)({cat:"err",hit:n,sub:r._debugCode,label:t.message||t}))})}}]),r}(l()),y="error"},78109:function(e,t,n){"use strict";n.d(t,{k:function(){return r},O:function(){return a}});var i=n(29439);function r(e){var t=e.mediaType;if(e.mediaInfo.streamInfo.manifestInfo.isDynamic){var n=e.url.match(/\/(\d+)-(\d+)\.webm$/).map(function(e){return+e}),r=(0,i.Z)(n,3);r[0];return{type:t,level:r[1],sn:r[2]}}return{type:t,level:o(e),sn:e.index}}var o=function(e){return"audio"===e.mediaType?e.mediaInfo.index:e.quality},a=function(e){var t,n,r,i,o;return null!=e&&null!==(t=e.error)&&void 0!==t&&t.message?null!==(n=e.error.data)&&void 0!==n&&null!==(r=n.response)&&void 0!==r&&r.statusText?"".concat(e.error.message," (").concat(null===(i=e.error.data)||void 0===i||null===(o=i.response)||void 0===o?void 0:o.statusText,")"):e.error.message:e}},56688:function(e,t,n){"use strict";n.d(t,{ua:function(){return i},xw:function(){return o},tq:function(){return a},vO:function(){return s},IN:function(){return c},vU:function(){return u},un:function(){return l},Gb:function(){return f},Ek:function(){return h},sq:function(){return p}});function r(e){return i.includes(e)}var i=navigator.userAgent.replace("Mozilla/5.0 ","").replace("(KHTML, like Gecko) ",""),o=["TV","NetCast","Linux; U","BRAVIA","Andr0id"].some(r)&&!r("Mobile")||r("Pristavka/")||r("MIBOX"),a=!o&&/Android|webOS|Phone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(i),s=o?"tv":a?"mobile":"pc",c=r("iPhone")&&!r("Windows"),u=r("Firefox"),l=r("Edge"),f=a&&r("OPR/"),d=navigator.connection||navigator.mozConnection||navigator.webkitConnection,h=(null==d?void 0:d.effectiveType)||"",p=navigator.deviceMemory},5659:function(e,t,n){"use strict";n.d(t,{i:function(){return m},z:function(){return y}});var r=n(15671),i=n(43144),c=n(93433),h=n(29439),o=/^(\d+)x(\d+)$/,a=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,A=function(){function n(e){for(var t in(0,r.Z)(this,n),"string"==typeof e&&(e=n.parseAttrList(e)),e)e.hasOwnProperty(t)&&(this[t]=e[t])}return(0,i.Z)(n,[{key:"decimalInteger",value:function(e){var t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}},{key:"hexadecimalInteger",value:function(e){if(this[e]){for(var t=(1&(t=(this[e]||"0x").slice(2)).length?"0":"")+t,n=new Uint8Array(t.length/2),r=0;r<t.length/2;r++)n[r]=parseInt(t.slice(2*r,2*r+2),16);return n}return null}},{key:"hexadecimalIntegerAsNumber",value:function(e){var t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}},{key:"decimalFloatingPoint",value:function(e){return parseFloat(this[e])}},{key:"enumeratedString",value:function(e){return this[e]}},{key:"decimalResolution",value:function(e){var t=o.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}}],[{key:"parseAttrList",value:function(e){var t,n={};for(a.lastIndex=0;null!==(t=a.exec(e));){var r=t[2];0===r.indexOf('"')&&r.lastIndexOf('"')===r.length-1&&(r=r.slice(1,-1)),n[t[1]]=r}return n}}]),n}(),k=function(){function t(e){(0,r.Z)(this,t),this.endCC=0,this.endSN=0,this.fragments=[],this.initSegment=null,this.live=!0,this.needSidxRanges=!1,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=e,this.version=null}return(0,i.Z)(t,[{key:"hasProgramDateTime",get:function(){return!(!this.fragments[0]||!Number.isFinite(this.fragments[0].programDateTime))}}]),t}(),u={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}};var p=n(969),s=n(21111);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function d(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(n.apply(this,e))}catch(e){return Promise.reject(e)}}}var m=d(function(r){return f(b(r).then(function(e){return n=r,(0<(t=e).indexOf("#EXTINF:")||0<t.indexOf("#EXT-X-TARGETDURATION:")?j:function(e,t){var n=function(e,t){var n,r,i=[];for(_.lastIndex=0;n=_.exec(e);){var o={},a=o.attrs=new A(n[1]);o.url=T(n[2],t);var s=a.decimalResolution("RESOLUTION");s&&(o.width=s.width,o.height=s.height),o.bitrate=a.decimalInteger("AVERAGE-BANDWIDTH")||a.decimalInteger("BANDWIDTH"),o.name=a.NAME,function(n,i){["video","audio"].forEach(function(r){var e,t=n.filter(function(e){return t=e,!!(n=u[r])&&!0===n[t.slice(0,4)];var t,n});t.length&&(e=t.filter(function(e){return 0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)}),i["".concat(r,"Codec")]=e.length?e[0]:t[0],n=n.filter(function(e){return!t.includes(e)}))}),i.unknownCodecs=n}((0,c.Z)((a.CODECS||"").split(/[ ,]+/)),o),null!==(r=o.videoCodec)&&void 0!==r&&r.includes("avc1")&&(o.videoCodec=function(e){var t=e.split(".");if(t.length<3)return e;function n(e){return parseInt(e).toString(16)}var r=(0,h.Z)(t,3),i=r[0],o=r[1],a=r[2];return"".concat(i,".").concat(n(o)).concat(n(a).padStart(4,"0"))}(o.videoCodec)),i.push(o)}return i}(e,t);if(!n.length)return console.warn("no level found in manifest"),{levels:n,audioTracks:[]};var r=n.map(function(e){return{id:e.attrs.AUDIO,codec:e.audioCodec}}),i=function(e,t,n){var r,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:[],o=0,a=[];for(w.lastIndex=0;r=w.exec(e);){var s,c={},u=new A(r[1]);u.TYPE===n&&(c.groupId=u["GROUP-ID"],c.name=u.NAME,c.type=n,c.default="YES"===u.DEFAULT,u.URI&&(c.url=T(u.URI,t)),c.name||(c.name=c.lang),i.length&&(s=C(i,c.groupId),c.audioCodec=(null==s?void 0:s.codec)||i[0].codec),c.id=o++,a.push(c))}return a}(e,t,"AUDIO",r);return{levels:n,audioTracks:i}})(t,n);var t,n}),function(e){var a=[].concat((0,c.Z)(e.levels),(0,c.Z)(e.audioTracks));function o(e){var t,n=P(e),r=v(a);try{for(r.s();!(t=r.n()).done;){var i=t.value.details,o=null==i?void 0:i.fragments.find(function(e){return P(e.url)==n});if(o)return o}}catch(e){r.e(e)}finally{r.f()}}if(!a.length)throw"empty";if(e.levels[0].details)return o;var s=a.map(S);return new Promise(function(e,t){function n(){return e(o)}function r(){++i===s.length&&t()}var i=0;s.forEach(function(e){return e.then(n,r)})})})}),y=d(function(d){if(window.btoa&&!1!==s.ZP.hlsNativeQuality)return f(b(d),function(e){var t,n=e.split("\n"),r=n.filter(function(e){return e.startsWith("#EXT-X-STREAM-INF:")}).map(function(e){return e.match(g)}).filter(Boolean);if(r.length){!function(e,r){for(var t=0;t<e.length;t++)e[t].startsWith("#EXT-X-STREAM-INF:")?e[t+1]=new URL(e[t+1],r).href:e[t].startsWith("#EXT-X-MEDIA:")&&(e[t]=e[t].replace(/\s*URI\s*="(.+?)"(,|$)/,function(e,t,n){return'URI="'.concat(new URL(t,r),'"').concat(n)}))}(n,d);var i={};null!==(t=Object.defineProperty)&&void 0!==t&&t.call(Object,i,"manifestUrl",{value:d,enumerable:!1});var o,a=v(r);try{for(a.s();!(o=a.n()).done;){var s=o.value,c=(0,h.Z)(s,3),u=c[0],l=c[1],f=c[2];i[(0,p.uT)({width:l,height:f})]=function(e,t){var n=0,r=[];for(;n<e.length;)e[n].startsWith("#EXT-X-STREAM-INF:")?(e[n].includes(t)&&(r.push(e[n]),r.push(e[n+1])),n+=2):(e[n].startsWith("#EXT-X-I-FRAME-STREAM-INF:")&&!e[n].includes(t)||r.push(e[n]),n+=1);return"data:application/vnd.apple.mpegurl;base64,"+btoa(r.join("\n"))}(n,u)}}catch(e){a.e(e)}finally{a.f()}return i}})}),g=/,RESOLUTION=(\d+)x(\d+)/,b=function(e){return fetch(e).then(function(e){return e.text()})};var _=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,w=/#EXT-X-MEDIA:(.*)/g,x=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)([\S+ ?]+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),O=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,E=/\.(mp4|m4s|m4v|m4a)$/i,S=function(t){return b(t.url).then(function(e){return j(e,t.url,t)})},P=function(e){var t=new URL(e);return t.pathname+t.search};var T=function(e,t){return new URL(e,t).href},C=function(e,t){return(null==e?void 0:e.find(function(e){return e.id===t}))||null};function j(e,t,n){var r=2<arguments.length&&void 0!==n?n:{},i=r.id,o=r.level,a=r.type,s=Number.isFinite(i)?i:0,c=function(e,t,n,r,i){var o,a,s,c=0,u=0,l=new k(t),f=0,d=null,h=new L,p=null;x.lastIndex=0;for(;a=x.exec(e);){var v,m=a[1];if(m){h.duration=parseFloat(m);var y=(" "+a[2]).slice(1);h.title=y||null,h.tagList.push(y?["INF",m,y]:["INF",m])}else if(a[3]){Number.isFinite(h.duration)&&(v=c++,h.type=r,h.start=u,h.sn=v,h.level=n,h.cc=f,h.urlId=i,h.baseurl=t,h.relurl=(" "+a[3]).slice(1),function(e,t){e.rawProgramDateTime?e.programDateTime=Date.parse(e.rawProgramDateTime):t&&t.programDateTime&&(e.programDateTime=t.endProgramDateTime);Number.isFinite(e.programDateTime)||(e.programDateTime=null,e.rawProgramDateTime=null)}(h,d),l.fragments.push(h),u+=(d=h).duration,h=new L)}else if(!a[4])if(a[5])h.rawProgramDateTime=(" "+a[5]).slice(1),h.tagList.push(["PROGRAM-DATE-TIME",h.rawProgramDateTime]),null===p&&(p=l.fragments.length);else{for(a=a[0].match(O),s=1;s<a.length&&void 0===a[s];s++);var g=(" "+a[s+1]).slice(1),b=(" "+a[s+2]).slice(1);switch(a[s]){case"#":h.tagList.push(b?[g,b]:[g]);break;case"PLAYLIST-TYPE":l.type=g.toUpperCase();break;case"MEDIA-SEQUENCE":c=l.startSN=parseInt(g);break;case"TARGETDURATION":l.targetduration=parseFloat(g);break;case"VERSION":l.version=parseInt(g);break;case"EXTM3U":break;case"ENDLIST":l.live=!1;break;case"DIS":f++,h.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":f=parseInt(g);break;case"START":var _=new A(g).decimalFloatingPoint("TIME-OFFSET");Number.isFinite(_)&&(l.startTimeOffset=_);break;case"MAP":var w=new A(g);h.relurl=w.URI,h.baseurl=t,h.level=n,h.type=r,h.sn="initSegment",l.initSegment=h,(h=new L).rawProgramDateTime=l.initSegment.rawProgramDateTime;break;default:console.log("line parsed but not handled: ".concat(a))}}}null!==(o=h=d)&&void 0!==o&&o.relurl||(l.fragments.pop(),u-=h.duration);l.totalduration=u,l.averagetargetduration=u/l.fragments.length,l.endSN=c-1,l.startCC=l.fragments[0]?l.fragments[0].cc:0,l.endCC=f,l.initSegment||!l.fragments.length||l.fragments.every(function(e){return E.test(e.relurl)})&&(console.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(h=new L).relurl=l.fragments[0].relurl,h.baseurl=t,h.level=n,h.type=r,h.sn="initSegment",l.initSegment=h,l.needSidxRanges=!0);p&&function(e,t){for(var n=e[t],r=t-1;0<=r;r--){var i=e[r];i.programDateTime=n.programDateTime-1e3*i.duration,n=i}}(l.fragments,p);return l}(e,t,Number.isFinite(o)?o:s,"AUDIO"===a?"audio":"main",s);if("manifest"===a)return{levels:[{url:t,details:c}],audioTracks:[],url:t};r.details=c}var L=function(){function e(){(0,r.Z)(this,e),this._url=null,this.tagList=[],this.programDateTime=null,this.rawProgramDateTime=null}return(0,i.Z)(e,[{key:"url",get:function(){return!this._url&&this.relurl&&(this._url=T(this.relurl,this.baseurl)),this._url},set:function(e){this._url=e}}]),e}()},75893:function(e,t,n){"use strict";var r;n.d(t,{WX:function(){return i},Kn:function(){return a},or:function(){return s}});try{r=self!==top}catch(e){r=!0}var i=function(){return r&&function(){try{return top.location.href}catch(e){return document.referrer}}()||location.href},o=new URL(i()),a=o.hostname,s=o.searchParams;try{top.location.origin===location.origin&&0}catch(e){0}},97741:function(e,t,n){"use strict";function r(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=Math.round(e/t)*t;return"number"==typeof n?Math.min(r,n):r}function i(e,t){return Math.floor(e/t)*t}n.d(t,{Nb:function(){return r},zC:function(){return i},e$:function(){return o},lw:function(){return a},iB:function(){return u}});var o=function(e,t,n){return Math.max(e,Math.min(t,n))};function a(e,t,n){e/=255,t/=255,n/=255;var r=Math.min(e,t,n),i=Math.max(e,t,n),o=i-r,a=0==o?0:i==e?(t-n)/o%6:i==t?(n-e)/o+2:(e-t)/o+4;(a=Math.round(60*a))<0&&(a+=360);var s=(i+r)/2,c=0==o?0:o/(1-Math.abs(2*s-1)),s=u(s);return{hue:a,saturation:c=u(c),lightness:s}}var u=function(e){return(100*e).toFixed(1)+"%"}},969:function(e,t,n){"use strict";n.d(t,{sK:function(){return u},pE:function(){return l},tx:function(){return f},YB:function(){return d},l7:function(){return v},uT:function(){return m}});var r=n(4942),i=n(93433),o=n(22201),a=n(21111);function s(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var u=function(e){return isNaN(e)?"auto":e<2e3?"".concat(e,"p"):"".concat(Math.round(e/1e3),"K")},l=function(e,t){return(0,o.Z$)(e.filter(function(e){return e!==t&&+e<t}))};function f(e,t){var n=Object.keys(e),r=d(t,n);return{src:e[r]||"",list:n,active:r}}function d(t,e){t=+t||0;var n=e.filter(function(e){return!a.ZP.restrictQuality(e)});return n.length&&(e=n),(e=e.map(function(e){return+e})).includes(t)?t:(0,o.Z$)([].concat((0,i.Z)(e.filter(function(e){return t<e}).sort(function(e,t){return t-e})),(0,i.Z)(e.filter(function(e){return e<t}).sort(function(e,t){return e-t}))))}var h={160:120,320:240,352:240,426:240,480:360,640:480,720:480,888:480,960:720,1280:720,1440:1080,1620:1080,1920:1080,2160:1080,2560:1440,3440:1440,3840:4e3,3996:4e3,4096:4e3,6144:6e3,7680:8e3,8192:8e3,15360:16e3,16384:16e3,15552:16e3,16640:16e3},p=c({},h),v=function(e){return p=c(c({},h),e)},m=function(e){return t=e.width,p[t]||(4e3<t?t:null)||e.height;var t}},93867:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(21111),i=function(e){return o(e).includes(o(r.ZP.oneSound))},o=function(e){return e&&"string"==typeof e?e.toLowerCase():e}},26325:function(e,t,n){"use strict";n.d(t,{WU:function(){return r},Qc:function(){return i},Hg:function(){return o},gw:function(){return s},Ah:function(){return c}});var a=function(e){return isNaN(e)?"00":e.toString().padStart(2,"0")};function r(e){e=Math.floor(e);var t=Math.floor(e/3600),n=Math.floor(e/60)-60*t,r=a(e%60),i=a(n),o=t?"".concat(a(t),":"):"";return"".concat(o).concat(i,":").concat(r)}var i=function(e){return(e||"").split(":").reverse().reduce(function(e,t,n){return e+t*Math.pow(60,n)},0)},o=function(e,t){return Math.abs(e-t)},s=function(t){return new Promise(function(e){return setTimeout(e,t)})},c=function(e){return new Date(Date.now()-(performance.now()-e))}},67272:function(e,t,n){"use strict";n.d(t,{lX:function(){return i},b1:function(){return o},II:function(){return u}});var s=n(29439),r=n(47037),c=n.n(r);function i(e,t){var n=a(e);return n.hostname=t,n.href}function o(e,t,n){var r=a(e);return r.searchParams.set(t,n),r.href}var a=function(e){return new URL(e,document.baseURI)};function u(e,t){if("https:"==location.protocol)for(var n=0,r=Object.entries(e);n<r.length;n++){var i=(0,s.Z)(r[n],2),o=i[0],a=i[1];a&&(c()(a)?a.startsWith("http://")&&console.warn("".concat(t,".").concat(o," mixed content")):u(a,t+"."+o))}}},6623:function(e,t,l){"use strict";l.r(t),l.d(t,{cssVars:function(){return n.Z},isMobile:function(){return V.tq},make:function(){return ko},stats:function(){return W.ot},version:function(){return B.i8}});var n=l(18037),c=l(93433),F=l(4942),U=l(15671),f=l(43144),r=l(11752),h=l(79340),u=l(82963),d=l(61120),H=l(29439),i=l(93379),o=l.n(i),a=l(34752),s=l.n(a),p={injectType:"singletonStyleTag",insert:"head",singleton:!0},v=(o()(s(),p),s().locals||{}),q=l(51122),m=l(23493),y=l.n(m),g=function(){function e(){(0,U.Z)(this,e),this._cleaners=[]}return(0,f.Z)(e,[{key:"free",get:function(){return this.destroy},set:function(e){this._cleaners.push(e)}},{key:"destroy",value:function(){for(;this._cleaners.length;)this._cleaners.pop()()}}]),e}(),V=l(56688);function b(e,t,n,r){var i=2<arguments.length&&void 0!==n?n:320,o=3<arguments.length&&void 0!==r?r:180;if(e.style.width="100%",e.offsetWidth<i&&(e.style.width=i+"px",e.scrollLeft=(i-e.offsetWidth)/2),"fill"===t)return e.style.height="100%",void(e.offsetHeight<o&&(e.style.height=o+"px"));var a,s,c,u,l,f,d=(c=(null==(a=t)||null===(s=a.split)||void 0===s?void 0:s.call(a,":"))||[],u=(0,H.Z)(c,2),l=u[0],f=u[1],isFinite(l)&&isFinite(f)?[l,f]:[16,9]),h=(0,H.Z)(d,2),p=h[0],v=h[1],m=Math.max(o,e.offsetWidth/p*v);e.style.height=m+"px"}var _=document;function w(){return _.fullscreenElement||_.webkitFullscreenElement||_.webkitCurrentFullScreenElement||_.webkitIsFullScreen||_.mozFullScreen||_.msFullscreenElement}function A(e){var t=x(e);return null!=t&&t.call(e,{navigationUI:"hide"}),t}function k(e){return x(e)}function x(e){return e.requestFullscreen||e.webkitRequestFullScreen||e.webkitEnterFullscreen||e.webkitEnterFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen}function O(){var e=_.exitFullscreen||_.webkitExitFullscreen||_.webkitCancelFullScreen||_.mozCancelFullScreen||_.msExitFullscreen;e&&(O=e.bind(_))()}function E(t){var e=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];return e.forEach(function(e){return document.addEventListener(e,t)}),function(){return e.forEach(function(e){return document.removeEventListener(e,t)})}}function S(e,t){if(window.IntersectionObserver){var n=new IntersectionObserver(function(e){(e[0].isIntersecting||e[0].intersectionRatio)&&(t(),n.disconnect())},{threshold:[0]});return n.observe(e),n}}var P=l(83878),T=l(59199),C=l(40181),j=l(25267);var L=document.createElement("textarea");function R(e,t){if(!("execCommand"in document))return alert("copying is not supported");L.value=e,document.body.appendChild(L),L.select(),document.execCommand("copy"),document.body.removeChild(L),null!=t&&t()}var W=l(17365),I=l(26325);function M(e,t,n){var r=new Image;r.onload=t,r.onerror=n,r.src=e}function z(e){for(var t=0,n=0;n<e.length;n++)t+=e.end(n)-e.start(n);return t}var D=l(75893),B=l(21111),Z=l(97377),G=l(9293),N=l(96026),Q=l.n(N);var X,Y=l(62214),K=l(5659),J=l(78109),$=l(67272),ee=l(969);function te(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?te(Object(n),!0).forEach(function(e){(0,F.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function re(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function ie(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var oe,ae,se=window,ce=se.MediaSource||se.WebKitMediaSource,ue=se.Uint8Array&&(null==ce||null===(X=ce.isTypeSupported)||void 0===X?void 0:X.call(ce,'audio/webm; codecs="opus"')),le=function(){var e=window.MediaSource||window.WebKitMediaSource;if(!e)return!1;var t=self.SourceBuffer||self.WebKitSourceBuffer,n=e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),r=!t||t.prototype&&"function"==typeof t.prototype.appendBuffer&&"function"==typeof t.prototype.remove;return!!n&&!!r}(),fe=(ae=document.getElementsByTagName("video")[0]||document.createElement("video"),null===(oe=ae.canPlayType)||void 0===oe?void 0:oe.call(ae,"application/vnd.apple.mpegurl")),de=function(e){(0,h.Z)(d,e);var s=ie(d);function d(e,t,n,r,i,o){var a;return(0,U.Z)(this,d),(a=s.call(this,"src")).id=o,a.video=e,a._options=t,a.audioNames=n,a.audioOrder=r,a.getQuality=i,a.defaultAudio=-1,a.audioBlacklist=[],a.audioGroupsIds_=new Set,a.ignoreLevels=!1,a}return(0,f.Z)(d,[{key:"events",get:function(){return this.constructor.events}},{key:"url",get:function(){var e,t;return(null===(e=this.hls)||void 0===e?void 0:e.url)||(null===(t=this.dash)||void 0===t?void 0:t.getSource())||this._url||this.video.src}},{key:"isLiveDash",get:function(){return this.live&&this.dash}},{key:"type",get:function(){return this.dash?"dash.js":this.hls?"hls.js":fe}},{key:"time",get:function(){return!this.hls||B.ZP.hls.autoStartLoad||this.hlsLoadStarted?this.video.currentTime:this._options.time}},{key:"level",set:function(e){var t;this.hls&&(this.hls.currentLevel=e),null!==(t=this.dash)&&void 0!==t&&t.setQualityFor("video",e)}},{key:"originalAudio",get:function(){if(this.hls)return this.hls.audioTrack;var t=this.dash.getCurrentTrackFor("audio");return this.dash.getTracksFor("audio").findIndex(function(e){return e===t})}},{key:"audio",set:function(e){var t,n;e=this.audioIndexToOriginal(e),this.hls&&(this.hls.audioTrack=e),null!==(t=this.dash)&&void 0!==t&&t.setCurrentTrack(null===(n=this.dash)||void 0===n?void 0:n.getTracksFor("audio")[e])}},{key:"switchToDefaultAudio",value:function(){-1<this.defaultAudio&&(this.audio=this.defaultAudio)}},{key:"nextAudio",value:function(){var e=1+this.audioIndexFromOriginal(this.originalAudio);return this.audio=e<this.audioList.length?e:0}},{key:"blockAudio",value:function(e){var t=e.replace(/\s+/g,"").toLowerCase();this.audioBlacklist.push(t)}},{key:"isAudioBlocked",value:function(e){var t=e.replace(/\s+/g,"").toLowerCase();return this.audioBlacklist.includes(t)}},{key:"transformAudioList",value:function(e){for(var t,n,r=this,i=(null===(t=this.audioNames)||void 0===t?void 0:t.length)===e.length?this.audioNames:e,o=(null===(n=this.audioOrder)||void 0===n?void 0:n.length)===i.length?this.audioOrder:Q()(i.length),a=[],s=0;s<i.length;s++)a[o[s]]=i[s];this.audioAll_=i,this.audioList=a.filter(function(e){return!r.isAudioBlocked(e)})}},{key:"audioIndexToOriginal",value:function(e){var t,n=null===(t=this.audioList)||void 0===t?void 0:t[e];if(this.hls&&1<this.audioGroupsIds_.size){var r=this.hls.audioTrackController.audioGroupId,i=this.hls.audioTracks.find(function(e){return e.groupId==r&&e.name==n});if(i)return i.id}return this.audioAll_&&this.audioList?this.audioAll_.findIndex(function(e){return e===n}):e}},{key:"audioIndexFromOriginal",value:function(t){var n=this;if(!this.audioAll_||!this.audioList)return t;if(this.hls&&1<this.audioGroupsIds_.size){var r=this.hls.audioTracks[t].name,e=this.audioList.findIndex(function(e){return e===r});if(~e)return e;t%=this.audioAll_.length}return this.audioList.findIndex(function(e){return e===n.audioAll_[t]})}},{key:"initFile",value:function(e,t){var i=this,o=0<arguments.length&&void 0!==e?e:{},n=1<arguments.length?t:void 0,r=(0,ee.tx)(o,n),a=r.src,s=r.list,c=r.active;return this.video.src=a,{list:s,active:c,change:function(e){i.emit(i.events.QUALITY_CHANGING);var t=i.video,n=t.currentTime,r=t.paused;i.video.src=o[e],i.video.currentTime=n,r||i.video.play()}}}},{key:"initDash",value:function(i){try{var o=this;if(!i)throw"no uri";if(!ue)throw"opus not supported";return re(Promise.all([l.e(189),l.e(53)]).then(l.bind(l,7189)),function(e){var n=e.MediaPlayer,r=o.dash=n().create();Z.ZP.isSupported&&(o.p2p=new Z.ZP(B.ZP.p2p),o.p2p.inject(r)),o.listenDash(n.events);var t=(0,B.ji)();return r.updateSettings({streaming:{stableBufferTime:t,bufferTimeAtTopQualityLongForm:t,scheduleWhilePaused:!1,abr:{autoSwitchBitrate:{video:!1,audio:!1}}}}),B.ZP.dash&&r.updateSettings(B.ZP.dash),r.initialize(o.video,i,!1),new Promise(function(e,t){r.on(n.events.STREAM_INITIALIZED,e),r.on(n.events.ERROR,t)}).then(function(){var e=r.getCurrentTrackFor("video").bitrateList;return o._qualityBy(e)}).catch(function(e){throw o.dash=null,r.destroy(),(0,J.O)(e)}).then(function(e){var t=r.getTracksFor("audio").map(function(e,t){return t+1+""});o.transformAudioList(t),o.emit(d.events.AUDIO_LIST,o.audioList),o.defaultAudio=G.Z.getDefaultTrackIndex(o.audioList),r.updateSettings({streaming:{trackSwitchMode:{audio:"neverReplace"}}}),o.switchToDefaultAudio();var n=o.id?o.id+"d":"";return setTimeout(function(){var e;null!==(e=o.p2p)&&void 0!==e&&e.init(o,o.live,{channel:n})}),e})})}catch(e){return Promise.reject(e)}}},{key:"listenDash",value:function(e){var i=this,r=this.dash;r.on(e.ERROR,function(e){var t,n,r=e.error;return i.emit(i.events.ERROR,{by:"dash",code:r.code,message:r.message,url:null===(t=r.data)||void 0===t||null===(n=t.request)||void 0===n?void 0:n.url})}),r.on(e.PLAYBACK_TIME_UPDATED,function(e){e.timeToEnd<1&&setTimeout(function(){i.emit(d.events.fixEND)})}),r.on(e.TRACK_CHANGE_RENDERED,function(t){var e,n;"audio"===t.mediaType&&(e=r.getTracksFor("audio").findIndex(function(e){return e===t.newMediaInfo}),n=i.audioIndexFromOriginal(e),i.emit(d.events.AUDIO_SWITCH,n))});function t(e){"video"===e.mediaType&&i.emit(d.events.LEVEL_SWITCH,e.newQuality)}r.on(e.QUALITY_CHANGE_REQUESTED,t),r.on(e.QUALITY_CHANGE_RENDERED,t),r.on(e.FRAGMENT_LOADING_COMPLETED,function(e){var t=e.error,n=e.request;t||("audio"===n.mediaType&&"InitializationSegment"===n.type&&r.updateSettings({streaming:{trackSwitchMode:{audio:"alwaysReplace"}}}),"MediaSegment"===n.type&&i.emit(d.events.FRAG_LOADED,ne(ne({},(0,J.k)(n)),{},{url:n.url,source:n.source||"http",size:n.bytesTotal,time:Math.max(n.requestEndDate-n.requestStartDate,0),by:"dash",p2h:n[Z.Tc]})))})}},{key:"init",value:function(){var n,t=this,r=this,e=this._options,i=e.dash,o=e.hls,a=e.file,s=e.quality,c=e.time;return(0,$.II)({dash:i,hls:o,file:a},"source"),this.initDash(i).catch((n=function(e){if(!o)throw e;if(le&&!pe)return r.initHls(o,c);var t=fe&&B.ZP.hlsNativeParam?(0,$.b1)(o,"hls","native"):o;return re((0,K.z)(t).catch(console.error),function(e){return e?r.initHlsMap(e,s,c):r.initHls(t,c)})},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(n.apply(this,e))}catch(e){return Promise.reject(e)}})).catch(function(e){if(a)return t.initFile(a,s);throw e})}},{key:"deferredInit",value:function(){try{var t=this;return re(t.init(),function(e){e&&t.emit(t.events.QUALITY,e)})}catch(e){return Promise.reject(e)}}},{key:"_qualityBy",value:function(e){function t(t){n.level=r.findIndex(function(e){return e==t})}var n=this,r=e.map(ee.uT),i=(0,ee.YB)(this._options.quality,r);return t(i),{list:r,active:i,change:t}}},{key:"initHls",value:function(i,e,t){var n,r,o=1<arguments.length&&void 0!==e?e:-1,a=2<arguments.length&&void 0!==t?t:i;try{var s=!1,c=this,u=c.video;return n=function(e){if(s)return e;if(!fe)throw"hls not supported";u.src=i,!c.live&&B.ZP.sw&&navigator.serviceWorker&&Z.ZP.isSupported&&(c._url=a,Z.sw.intercept(a).then(function(o){var e;null!==(e=c.p2p)&&void 0!==e&&e.init(c,c.live,{});function t(e){var t=e.manifestUrl,r=e.frag;if(a===t){var n=function(e){return o.emit("no",{url:r.url,time:e})};if(!c.p2p.isOn)return n();var i=Date.now();Z.sw.fromStorageOrP2p(r,c.p2p.scheduler,function(e,t){var n=e.byteLength;o.emit("response",{buffer:e,response:r.url}),c.emit(d.events.FRAG_LOADED,{type:r.type,level:r.level,sn:r.sn,url:r.url,source:t,size:n,time:Math.max(Date.now()-i,0),by:"sw"})},n)}}o.on("request",t),c._offInterception=function(){return o.off("request",t)}}).catch(function(e){return(0,W.ot)({cat:"sw",hit:"error",sub:"reg",label:e})}),c.p2p=new Z.ZP(ne(ne({},B.ZP.p2p),{},{prefetch:0})))},(r=function(){if(le&&!pe){0===o&&(o=-1);var n=V.xw||B.ZP.hls.autoStartLoad,r=ne(ne({},B.ZP.hls),{},{startPosition:o,autoStartLoad:n,p2p:{}});return Z.ZP.isSupported&&(r.fLoader=Z.ZP.hls.fLoader),re(l.e(817).then(l.t.bind(l,67631,23)).then(function(e){return e.default}),function(e){var t=new e(r);Z.ZP.isSupported&&(c.p2p=new Z.ZP(B.ZP.p2p,r.p2p)),t.loadSource(i),t.attachMedia(u),n||(0,Y.IH)(u,"play",function(){c.hlsLoadStarted=!0,t.startLoad(o)}),c.hls=t,c.listenHls(e.Events),s=!0})}}())&&r.then?r.then(n):n(r)}catch(e){return Promise.reject(e)}}},{key:"listenHls",value:function(n){var l=this;(0,W.C3)(this.hls,n);var s,f=d.events;this.hls.on(n.ERROR,function(e,t){var n,r;t.fatal&&l.emit(f.ERROR,{by:"hls",code:t.type,message:t.details,url:t.url||(null===(n=t.frag)||void 0===n?void 0:n.url)||(null===(r=t.context)||void 0===r?void 0:r.url)})}).once(n.AUDIO_TRACKS_UPDATED,function(e,t){var n=t.audioTracks;l.transformAudioList(n.map(function(e){return e.name})),l.emit(f.AUDIO_LIST,l.audioList),l.audioGroupsIds_.clear(),n.forEach(function(e){return l.audioGroupsIds_.add(e.groupId)})}).on(n.AUDIO_TRACK_SWITCHING,function(){var t,e;l.audioGroupsIds_.size<2||(t=l.hls.audioTrackController.audioGroupId,e=l.hls.audioTracks.filter(function(e){return e.groupId==t}),l.transformAudioList(e.map(function(e){return e.name})),l.emit(f.AUDIO_LIST,l.audioList))}).once(n.AUDIO_TRACK_SWITCHED,function(){return l.switchToDefaultAudio()}).on(n.AUDIO_TRACK_SWITCHED,function(e,t){var n=t.id;l.emit(f.AUDIO_SWITCH,l.audioIndexFromOriginal(n))}).on(n.LEVEL_SWITCHING,function(){l.ignoreLevels||l.emit(f.HLS_QUALITY_CHANGING)}).on(n.LEVEL_SWITCHED,function(e,t){l.ignoreLevels||l.emit(f.LEVEL_SWITCH,t.level)}).once(n.MANIFEST_PARSED,function(e,t){var n=t.levels,r=t.altAudio;l.ignoreLevels||l.emit(f.QUALITY,l._qualityBy(n)),r||l.emit(f.NO_ALT_AUDIO)}).once(n.FRAG_LOADING,function(e,t){var n=t.frag;s=[n.type,n.level,n.sn]}).once(n.LEVEL_LOADED,function(e,t){var n,r=t.details,i=r.live,o=r.startSN,a=r.endSN;null!==(n=l.p2p)&&void 0!==n&&n.init(l,i,{startSN:o,endSN:a,position:s})}).on(n.FRAG_LOADED,function(e,t){var n=t.frag,r=t.stats,i=n.type,o=n.level,a=n.sn,s=n.url,c=n.source,u=void 0===c?"http":c;l.emit(f.FRAG_LOADED,{type:i,level:o,sn:a,url:s,source:u,size:r.total,time:Math.max(Math.round(r.tload-r.trequest),0),by:"hls",p2h:r[Z.Tc]})}).once(n.FRAG_PARSED,function(e,t){l.hls.streamController.altAudio&&!t.frag._elementaryStreams.audio&&(Z.ZP.hls.fixAltAudioStart(l.hls.config),l.hls.once(n.FRAG_PARSED,function(){return Z.ZP.hls.fixAltAudioEnd(l.hls.config)}))})}},{key:"trackStats",value:function(){var o=this;this.on(this.events.ERROR,function(e){var t={cat:e.by,hit:"error",sub:e.code,label:e.message,video_id:o.id};e.url&&(t.description=e.url,t.video_host=new URL(e.url).hostname),(0,W.ot)(t)}),this.on(this.events.FRAG_LOADED,function(e){var t,n,r=["main","muxed","video"].includes(e.type)?o.getQuality():"audio"===e.type&&null!==(t=null===(n=o.audioAll_)||void 0===n?void 0:n[e.level])&&void 0!==t?t:e.level,i={cat:e.by,hit:"load",sub:e.source,type:e.type,track:r,value:Math.round(e.size/1024),time:e.time,video_id:o.id,video_host:new URL(e.url).hostname};e.p2h&&"p2h"==e.source&&(i.sub="http_",(0,W.ot)(i),i.sub="p2p_",i.value=Math.round(e.p2h/1024)),(0,W.ot)(i)})}},{key:"destroy",value:function(e){var t,n,r,i;null!==(t=this._offInterception)&&void 0!==t&&t.call(this),null!==(n=this.p2p)&&void 0!==n&&n.destroy(),null!==(r=this.hls)&&void 0!==r&&r.destroy(),null!==(i=this.dash)&&void 0!==i&&i.destroy(),this._url=null,e&&this.removeAllListeners()}}],[{key:"events",get:function(){return{ERROR:"error",AUDIO_LIST:"audioList",AUDIO_SWITCH:"audioSwitch",LEVEL_SWITCH:"levelSwitch",QUALITY_CHANGING:"qualityChanging",HLS_QUALITY_CHANGING:"hlsQualityChanging",QUALITY:"quality",FRAG_LOADED:"fragLoaded",NO_ALT_AUDIO:"noAltAudio",fixEND:"dirty fix end"}}}]),d}(Y.Qz);"alert"==D.or.get("debug_player")&&addEventListener("error",function(e){return alert(e.message+"\n\n"+e.error.stack)});var he,pe=D.or.has("hlsn"),ve={};function me(e){if(e){var t,n=e.split(" "),r=(t=n,(0,P.Z)(t)||(0,T.Z)(t)||(0,C.Z)(t)||(0,j.Z)()),i=r[0],o=r.slice(1);if("vast"==i)return he=window[o[0]],1;if("ls"==i){var a=ye(ve,o)||{},s=Object.keys(a).join("\n");return s&&alert(s),1}var c=ye(ve,o);if("log"==i)return console.log(c),1;var u=JSON.stringify(c,null,2);if("cp"==i)return R(u),alert(u),1;if("w"==i){var l=open("data:application/json","_blank");return l.document.write("<pre>".concat(u,"</pre>")),l.document.close(),1}}}function ye(e,t){var n=1<arguments.length&&void 0!==t?t:[];return Array.isArray(n)||(n=n.split(".")),n.reduce(function(e,t){return null==e?void 0:e[t]},e)}V.xw&&(window.alert=function(e){return(0,q.Ce)(document.body,(0,q.hi)(null,e))});function ge(e){var t=e.played?" / played ".concat((0,I.WU)(z(e.played))):"",n=G.Z.totalTime,r=n?" / total ".concat((0,I.WU)(n)):"";return e.currentTime+t+r}function be(){return[ue&&"dash opus",le&&"hls",fe&&"mpegurl: ".concat(fe),Z.ZP.isSupported&&"p2p"].filter(Boolean).join(", ")}var _e=l(22201),we=l(67626),Ae=l(41209),ke=l(6131),xe=l.n(ke),Oe={injectType:"singletonStyleTag",insert:"head",singleton:!0},Ee=(o()(xe(),Oe),xe().locals||{}),Se=l(56053),Pe=function(){function r(e,t){var n=this;(0,U.Z)(this,r),this.errors=[],t&&(this.onShow=function(){return t.errorMode()},this.onHide=function(){return t.usualMode()},this.getQuality=function(){return t.settings.currentQuality}),this.el=(0,q.vz)("div",{class:[Ee.error,Se.Z.hidden]},(0,q.vz)("div",{class:[Ee.inner,(0,F.Z)({},Ee.tight,we.lr.venom)]},(0,q.vz)("div",{class:Ee.content,ref:function(e){return n.messageEl=e}},(0,q.vz)("div",{class:Ee.caption,onClick:function(){return n.showDebugInfo()}},Ae.f.error),Ae.f.tryToResolve))),e instanceof Element?e.appendChild(this.el):e.mount(e.BadNews,this.el)}return(0,f.Z)(r,[{key:"showDebugInfo",value:function(){var e=[].concat((0,c.Z)(this.errors),(0,c.Z)(["time: ".concat(ge(document.getElementsByTagName("video")[0])),"support: ".concat(be()),W.nP?"sid: ".concat(W.nP):"",navigator.userAgent,location.href===(0,D.WX)()?location.href:location.href+"<br />"+(0,D.WX)()].filter(Boolean)));this.getQuality&&e.push("quality: ".concat(this.getQuality())),this.messageEl.innerHTML=e.join("<br/><br/>")}},{key:"add",value:function(e){var t=0<arguments.length&&void 0!==e?e:"unknown error";return t!==(0,_e.Z$)(this.errors)&&this.messageEl.appendChild(document.createTextNode("\n\n"+t)),this.errors.push(t),this}},{key:"show",value:function(){var e;(0,q.$Z)(this.el),null!==(e=this.onShow)&&void 0!==e&&e.call(this)}},{key:"hide",value:function(){var e;(0,q.Cp)(this.el),null!==(e=this.onHide)&&void 0!==e&&e.call(this)}}]),r}(),Te=function(){function o(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.body,n=1<arguments.length?arguments[1]:void 0,r=2<arguments.length?arguments[2]:void 0,i=3<arguments.length?arguments[3]:void 0;(0,U.Z)(this,o),this._finalizer=new g,(0,q.ep)(t),this.el=(0,q.vz)("div",{class:["player-paused",v.player,v.init,(0,F.Z)({},v.tv,V.xw)],onmouseleave:function(){return e.el.classList.remove("user-active")}}),t.appendChild(this.el),this._sizing(t,n,r,i)}return(0,f.Z)(o,[{key:"destroy",value:function(){this._finalizer.free()}},{key:"_sizing",value:function(t,n,r,e){var i=this,o=3<arguments.length&&void 0!==e?e:340,a=y()(function(){var e;b(t,n,r),(e=i.el).style.setProperty("--vp-vh","".concat(e.offsetHeight/100,"px")),e.style.setProperty("--vp-vw","".concat(e.offsetWidth/100,"px")),V.IN||(t.offsetWidth<o?i.el.classList.add(Se.Z.mini):i.el.classList.remove(Se.Z.mini))},300),s=S(t,a);s||a(),addEventListener("resize",a),V.IN||(this._finalizer.free=E(a)),this._finalizer.free=function(){null!=s&&s.disconnect(),removeEventListener("resize",a)}}},{key:"showInitError",value:function(e,t){t?new Pe(this.el).add(e).show():(this.el.classList.add(v.error),this.el.appendChild(document.createTextNode(e)))}}]),o}(),Ce=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],je=["AdLoaded","AdStarted","AdStopped","AdSkipped","AdSkippableStateChange","AdSizeChange","AdLinearChange","AdDurationChange","AdExpandedChange","AdRemainingTimeChange","AdVolumeChange","AdImpression","AdVideoStart","AdVideoFirstQuartile","AdVideoMidpoint","AdVideoThirdQuartile","AdVideoComplete","AdClickThru","AdInteraction","AdUserAcceptInvitation","AdUserMinimize","AdUserClose","AdPaused","AdPlaying","AdLog","AdError"];function Le(r){var e,n=[],i=[];return{get value(){return r},set value(t){r!==t&&(e?i.length?console.warn("to many changes in reactive subs"):i.push(t):(e=!0,r=t,n.forEach(function(e){return e(t)}),e=!1,i.length&&(this.value=i.pop())))},dispose:function(){return n.splice(0)},subscribe:function(e){return n.push(e)},map:function(n){var e=this;return{get value(){return n(r)},subscribe:function(t){return e.subscribe(function(e){return t(n(e))})}}}}}var Re=function(){function n(e,t){(0,U.Z)(this,n),this.ui=e,this._getTime=t,this.requestReport=null}return(0,f.Z)(n,[{key:"time",get:function(){return Math.floor(this._getTime())}},{key:"copyUrl",value:function(e,t){var n=this;R(e?(0,$.b1)((0,D.WX)(),B.ZP.timeSearchParamName,this.time):(0,D.WX)(),function(){n.ui.notify(Ae.f.copied),null!=t&&t()})}}]),n}(),Ie=function(){function e(){(0,U.Z)(this,e),this._modals=[]}return(0,f.Z)(e,[{key:"visible",get:function(){return this._modals.some(function(e){return(e.el||e.dom)&&!(0,q.xj)(e.el||e.dom.el)})}},{key:"add",value:function(e,t){var n=this;e&&(this._modals.push(e),t||(e.beforeShow=function(){return n.hide(e.parentModal)}))}},{key:"hide",value:function(t){return this._modals.filter(function(e){return e!==t}).map(function(e){return e.hide()}).some(Boolean)}}]),e}(),Me=l(99218),ze=l(83225),De=l(40252),Be=l(82918),Ze=l.n(Be),Ne={injectType:"singletonStyleTag",insert:"head",singleton:!0},Fe=(o()(Ze(),Ne),Ze().locals||{}),Ue={spinner:De,triangle:[(0,q.vz)("div",{class:"".concat(Fe.circle," ").concat(Fe.circle1)}),(0,q.vz)("div",{class:"".concat(Fe.circle," ").concat(Fe.circle2)}),(0,q.vz)("div",{class:"".concat(Fe.circle," ").concat(Fe.circle3)})],blobs:[ze,(0,q.vz)("div",{class:Fe.blob}),(0,q.vz)("div",{class:Fe.blob})]},He=function(){function t(e){(0,U.Z)(this,t),this.el=(0,q.vz)("div",{class:[Fe.wrap,(0,F.Z)({},Fe.up,e.Loading.up)]},(0,q.vz)("div",{class:[Fe.loader,(0,F.Z)({},Fe.sm,e.Loading.sm)]},Ue[e.Loading.kind]||Ue.blobs)),e.mount(e.Loading,this.el)}return(0,f.Z)(t,[{key:"show",value:function(){(0,q.$Z)(this.el)}},{key:"hide",value:function(){(0,q.Cp)(this.el)}}]),t}();function qe(){return(qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ve(e){var t=e.onClick;return(0,q.vz)(at,{class:it.close,onClick:t},et)}var We=l(94184),Ge=l.n(We),Qe=l(22558),Xe=l.n(Qe),Ye={injectType:"singletonStyleTag",insert:"head",singleton:!0},Ke=(o()(Xe(),Ye),Xe().locals||{}),Je=function(e){var t;return(0,q.vz)("span",{class:Ge()(Ke.tooltip,Ke[e.position],(t={},(0,F.Z)(t,Se.Z.hidden,V.xw),(0,F.Z)(t,Ke.pre,e.pre),(0,F.Z)(t,Ke.light,we.lr.simple),(0,F.Z)(t,Ke.sizeSm,we.lr.simple),t))},(0,q.vz)("span",qe({class:Ke.text},e.textProps),e.children))},$e=l(44925),et=l(72574),tt=l(46173),nt=l.n(tt),rt={injectType:"singletonStyleTag",insert:"head",singleton:!0},it=(o()(nt(),rt),nt().locals||{}),ot=["class","onClick","children"],at=function(e){var t=e.class,n=e.onClick,r=e.children,i=(0,$e.Z)(e,ot);return(0,q.vz)("button",qe({class:[it.button,it.icon,t],onClick:n},i),r)},st=l(60641),ct=l.n(st),ut={injectType:"singletonStyleTag",insert:"head",singleton:!0},lt=(o()(ct(),ut),ct().locals||{}),ft=l(81423),dt=l.n(ft),ht={injectType:"singletonStyleTag",insert:"head",singleton:!0},pt=(o()(dt(),ht),dt().locals||{});var vt,mt=l(47647),yt=l.n(mt),gt={injectType:"singletonStyleTag",insert:"head",singleton:!0},bt=(o()(yt(),gt),yt().locals||{}),_t=function(e){var t,n=e.action,r=e.icon,i=e.inIcon,o=e.arrow,a=e.hidden,s=e.children,c=e.btnRef,u=e.pos,l={};a&&(l.visibility="hidden");var f=(0,q.vz)("div",{class:[bt.item,(0,F.Z)({},bt[u],u)],style:l},(0,q.vz)("button",{onClick:n,ref:function(e){return t=e},class:[it.button,bt.radial,(0,F.Z)({},bt["arrow-"+o],o)]},r),s);return r&&i&&(0,q.bp)(t,i),null!=c&&c(t),f},wt=l(97741),At=l(26817),kt=l(173),xt={480:"SD",720:"HD",1080:"FHD",4e3:"4K"},Ot=[.5,1,2],Et=function(){function u(e,t,n,r,i,o,a,s){var c=this;(0,U.Z)(this,u),this.dom={},this.el=(0,q.vz)("div",{class:[bt.menu,Se.Z.hidden]},(0,q.vz)("button",{onClick:n,onMouseMove:function(e){c._move(e)},class:[it.button,bt.radial]},r.map(function(e){return(0,q.dy)(e?we.qv.pause:we.qv.play)})),(0,q.vz)("div",{class:bt.list},!s&&(0,q.vz)(_t,{action:function(){return i(-i.time)},icon:we.qv.timeSub,inIcon:i.time,pos:"left"}),!s&&(0,q.vz)(_t,{action:function(){return i(i.time)},icon:we.qv.timeAdd,inIcon:i.time,pos:"right"}),a&&(0,q.vz)(_t,{action:a,icon:kt,pos:"up"}),this.dom.qualityMenu=this._make(t),(0,q.vz)(_t,{action:function(){return c.showRateMenu()},btnRef:function(e){return c.dom.rateButton=e},icon:At,arrow:"bottom",hidden:V.xw},(0,q.vz)("div",{ref:function(e){return c.dom.rateList=e},class:[bt.sub,bt.right,Se.Z.hidden]},Ot.map(function(t){return(0,q.vz)("button",{ref:function(e){return c.dom["rate".concat(t)]=e},onClick:function(){return o(t)},class:[it.button,bt.radial]},t,"x")}))))),e.mount(e.RadialMenu,this.el)}return(0,f.Z)(u,[{key:"makeQuality",value:function(e){(0,q.gx)(this.dom.qualityMenu,this._make(e))}},{key:"_make",value:function(e){var n=this,t=e.list,r=void 0===t?[]:t,i=e.active,o=e.change;this.qualityList=r;return(0,q.vz)(_t,{action:function(){return n.showQualityMenu()},btnRef:function(e){return n.dom.qualityButton=e},icon:xt[i],hidden:!r.length,pos:"down",arrow:"bottom"},(0,q.vz)("div",{ref:function(e){return n.dom.qualityList=e},class:[bt.sub,bt.right,Se.Z.hidden],onMouseMove:function(e){n._subMove(e)}},r.map(function(t){return(0,q.vz)("button",{ref:function(e){return n.dom["quality".concat(t)]=e},onClick:function(){return e=t,G.Z.set("player.quality",e),o(e),void n.hide();var e},class:[it.button,bt.radial,(0,F.Z)({},bt.active,t==i)]},B.WU.quality(t))})))}},{key:"updateQuality",value:function(e,t){var n=this;this.qualityList.forEach(function(e){n.dom["quality".concat(e)].classList.remove(bt.active)});var r=this.qualityList[t],i=this.dom["quality"+e]||this.dom["quality"+r];i&&i.classList.add(bt.active),this.dom.qualityButton.innerHTML=xt[e]||xt[r]||e||r}},{key:"updateRate",value:function(e){var t=this;Ot.forEach(function(e){return t.dom["rate".concat(e)].classList.remove(bt.active)});var n=this.dom["rate".concat(e)]||this.dom.rate1;null!=n&&n.classList.add(bt.active),(0,q.bp)(this.dom.rateButton,"".concat(e,"x"))}},{key:"hidden",get:function(){return(0,q.xj)(this.el)}},{key:"hide",value:function(){return this.dom.qualityButton.classList.remove(bt.active),this.dom.rateButton.classList.remove(bt.active),(0,q.Cp)(this.dom.rateList),(0,q.Cp)(this.dom.qualityList),(0,q.WM)(this.el)}},{key:"show",value:function(e){e.preventDefault();var t=this.el,n=t.parentElement.getBoundingClientRect();(0,q.$Z)(t);var r,i,o=e.x-n.left,a=e.y-n.top;V.xw||(r=1.5*t.clientWidth,i=1.5*t.clientHeight,o=(0,wt.e$)(r,n.width-r,o),a=(0,wt.e$)(i,n.height-i,a)),t.style.left=o+Pt,t.style.top=a+Pt}},{key:"showRateMenu",value:function(){(0,q.$Z)(this.dom.rateList),(0,q.Cp)(this.dom.qualityList),this.dom.rateButton.classList.add(bt.active),this.dom.qualityButton.classList.remove(bt.active)}},{key:"showQualityMenu",value:function(){(0,q.$Z)(this.dom.qualityList),(0,q.Cp)(this.dom.rateList),this.dom.qualityButton.classList.add(bt.active),this.dom.rateButton.classList.remove(bt.active)}},{key:"_move",value:function(e){var t,n,r;V.xw&&this.el&&(vt=vt||e.target.clientWidth,t=this.el.style,n=e.movementX,r=e.movementY,Math.abs(n)>St&&!r?t.left=parseInt(t.left)-Math.sign(n)*vt+Pt:!n&&Math.abs(r)>St&&(t.top=parseInt(t.top)-Math.sign(r)*vt+Pt))}},{key:"_subMove",value:function(e){var t,n,r,i;V.xw&&this.el&&(t=e.movementX,n=e.movementY,r=e.target,St<t&&!n&&"BUTTON"==r.tagName&&r.nextElementSibling&&((i=this.el.style).left=parseInt(i.left)-vt+t+Pt))}}]),u}(),St=9,Pt="px",Tt=l(56603),Ct=l.n(Tt),jt={injectType:"singletonStyleTag",insert:"head",singleton:!0},Lt=(o()(Ct(),jt),Ct().locals||{}),Rt=l(2439),It=l.n(Rt),Mt={injectType:"singletonStyleTag",insert:"head",singleton:!0},zt=(o()(It(),Mt),It().locals||{}),Dt=function(e){var t=e.action,n=e.children;return(0,q.vz)("div",{class:Lt.item,role:"button",onClick:t},n)},Bt=function(){function o(e,t,n){var r=this;(0,U.Z)(this,o);function i(){return r.hide()}this.el=(0,q.vz)("div",{class:[zt.menu,Lt.menu,Se.Z.hidden]},(0,q.vz)(Dt,{action:function(){return t.copyUrl(!1,i)}},Ae.f.copyUrl),(0,q.vz)(Dt,{action:function(){return t.copyUrl(!0,i)}},Ae.f.copyWithTime),t.requestReport&&(0,q.vz)(Dt,{action:t.requestReport},Ae.f.report),(0,q.vz)("div",{class:"".concat(Lt.item," ").concat(Lt.last)},!1===n?B.i8:"Venom player ".concat(B.i8))),e.mount(e.ContextMenu,this.el)}return(0,f.Z)(o,[{key:"show",value:function(e){e.preventDefault();var t=this.el,n=t.parentElement.getBoundingClientRect();(0,q.$Z)(t);var r=V.IN?e.changedTouches[0].clientX:e.x,i=V.IN?e.changedTouches[0].clientY:e.y,o=Math.min(r-n.left,n.width-t.clientWidth),a=Math.min(i-n.top,n.height-t.clientHeight);t.style.left="".concat(o,"px"),t.style.top="".concat(a,"px")}},{key:"hide",value:function(){return(0,q.WM)(this.el)}}]),o}(),Zt=l(59170),Nt=l.n(Zt),Ft={injectType:"singletonStyleTag",insert:"head",singleton:!0},Ut=(o()(Nt(),Ft),Nt().locals||{}),Ht=function(){function t(e){(0,U.Z)(this,t),this.left=(0,q.vz)("div",{class:[Ut.blink,Ut.left]}),this.right=(0,q.vz)("div",{class:[Ut.blink,Ut.right]}),this.el=(0,q.vz)("div",null),e.mount(e.TapAnimation,this.el)}return(0,f.Z)(t,[{key:"play",value:function(e){(0,q.ep)(this.el),this.el.appendChild(this[e])}}]),t}(),qt=l(23279),Vt=l.n(qt),Wt=l(93963),Gt=l.n(Wt),Qt={injectType:"singletonStyleTag",insert:"head",singleton:!0},Xt=(o()(Gt(),Qt),Gt().locals||{}),Yt=function(){function n(e){var t=this;(0,U.Z)(this,n),this.visible$=Le(!1),this.hint$=Le(""),e.mount(e.ActionNotifier,(0,q.vz)(q.If,{rx:this.visible$},(0,q.vz)("div",{class:[Xt.wrap,(0,F.Z)({},Xt.up,e.ActionNotifier.up)]},this.hint$))),this.hideLater=Vt()(function(){return t.visible$.value=!1},500)}return(0,f.Z)(n,[{key:"show",value:function(e,t){var n,r=e in we.qv,i=(0,q.vz)("div",{class:[Xt.fade,(n={},(0,F.Z)(n,Xt.icon,r),(0,F.Z)(n,Xt.text,!r),n)]},r?we.qv[e]:e);r&&t&&(0,q.bp)(i,t),this.hint$.value=i,this.visible$.value=!0,this.hideLater()}}]),n}(),Kt="&nbsp;".repeat(10),Jt=function(){function i(e,t,n){var r=this;(0,U.Z)(this,i),this.isCountdown=!t&&G.Z.getParsed("player.isCountdown",!1),this.withTotal=!t&&G.Z.getParsed("player.withTotal",!0),this.el=(0,q.vz)("span",{class:[pt.time,Se.Z.hideOnMini,(0,F.Z)({},pt.muted,e.Remaining.muted)],onclick:function(){r._smartClick?(clearTimeout(r._smartClick),r._smartClick=null,n(prompt("Введите время",(0,I.WU)(r.currentTime)))):r._smartClick=setTimeout(function(){r._smartClick=null,t||r.toggleTime()},200)}}),e.mount(e.Remaining,this.el)}return(0,f.Z)(i,[{key:"update",value:function(e,t){var n,r;this.duration=e,this.currentTime=t,this.isCountdown?(n=e-t,this.el.innerHTML=n?"-".concat((0,I.WU)(n)):Kt):this.withTotal&&e?(r=(0,I.WU)(e),this.el.textContent=t?"".concat((0,I.WU)(t)," / ").concat(r):r):this.el.innerHTML=t?(0,I.WU)(t):Kt}},{key:"toggleTime",value:function(){this.isCountdown?this.isCountdown=!1:this.withTotal?(this.withTotal=!1,this.isCountdown=!0):this.withTotal=!0,this.update(this.duration,this.currentTime),G.Z.set("player.isCountdown",this.isCountdown),G.Z.set("player.withTotal",this.withTotal)}}]),i}(),$t=l(50760),en=l(32009),tn=l.n(en),nn={injectType:"singletonStyleTag",insert:"head",singleton:!0},rn=(o()(tn(),nn),tn().locals||{}),on=function(){function r(e,t){var n=this;(0,U.Z)(this,r),e.mount(e.Live,(0,q.vz)("div",{class:rn.main},(0,q.vz)("button",{class:"".concat(it.button," ").concat(rn.button," ").concat(rn.live),onClick:t,ref:function(e){return n.button=e}},$t,(0,q.vz)("span",{class:rn.inner,ref:function(e){return n.label=e}},Ae.f.online))))}return(0,f.Z)(r,[{key:"update",value:function(e){e?(this.label.textContent=Ae.f.online,this.button.classList.add(rn.live)):(this.label.textContent=Ae.f.goLive,this.button.classList.remove(rn.live))}}]),r}(),an=function(){function i(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]&&arguments[3];(0,U.Z)(this,i),this.changeHandler=n,this.isVertical=r,this.makeHtml(e,t),this.addEventHandlers()}return(0,f.Z)(i,[{key:"makeHtml",value:function(){this.el=document.createElement("div"),this.progress=document.createElement("div")}},{key:"addEventHandlers",value:function(){var t=this,e=this.el;e.onmousedown=function(e){return t.onHover(e,!0)},e.onmousemove=function(e){return t.onHover(e)},e.onmouseup=e.onmouseleave=function(){return t.endDrag()}}},{key:"onHover",value:function(e,t){1<arguments.length&&void 0!==t&&t&&(this.isDragging=!0),this.isDragging&&this.change(e,this.changeHandler)}},{key:"endDrag",value:function(){this.isDragging=!1}},{key:"change",value:function(e,t){(1<arguments.length&&void 0!==t?t:function(e){return e})(this.getHoveredValue(e))}},{key:"getHoveredValue",value:function(e){var t=this.el,n=this.isVertical,r=t.getBoundingClientRect(),i=(n?e.clientY-r.top:e.clientX-r.left)/(n?t.clientHeight:t.clientWidth);return this.step(n?1-i:i)}},{key:"step",value:function(e){return 1<e?1:e}},{key:"update",value:function(e){this.progress.style[this.isVertical?"height":"width"]="".concat(100*e,"%")}}]),i}(),sn=l(41661),cn=l.n(sn),un={injectType:"singletonStyleTag",insert:"head",singleton:!0},ln=(o()(cn(),un),cn().locals||{});function fn(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var dn=function(){(0,h.Z)(n,an);var e=fn(n);function n(){return(0,U.Z)(this,n),e.apply(this,arguments)}return(0,f.Z)(n,[{key:"step",value:function(e){var t=(0,r.Z)((0,d.Z)(n.prototype),"step",this).call(this,e);return t<.1?0:t}},{key:"makeHtml",value:function(e,t){var n;this.progress=(0,q.hi)(ln.progress);var r=(n={},(0,F.Z)(n,ln.vertical,this.isVertical),(0,F.Z)(n,ln.drop,e.Sound.drop),(0,F.Z)(n,ln.dropBgInherit,e.Sound.drop),(0,F.Z)(n,Se.Z.hidden,V.xw||"ontouchstart"in this.progress),n);this.el=(0,q.vz)("span",{class:[ln.range,r]},(0,q.hi)(ln.wrap,[(0,q.hi)(ln.rail),this.progress])),t.appendChild(this.el)}},{key:"addEventHandlers",value:function(){function t(e){return n.onHover(e)}var n=this;this.el.onmousedown=function(e){e.preventDefault(),e.stopPropagation(),n.onHover(e,!0),n.el.classList.add(ln.active);document.addEventListener("mouseup",function e(){n.isDragging=!1,document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",t),n.el.classList.remove(ln.active)}),document.addEventListener("mousemove",t)}}}]),n}(),hn=function(){function c(e,t,n,r){var i=this,o=!(4<arguments.length&&void 0!==arguments[4])||arguments[4];(0,U.Z)(this,c),this.saveSettings=o;var a=y()(function(e){return r(-.03*Math.sign(e.deltaY))},30),s=(0,q.vz)("span",{class:ln.sound,"aria-label":"sound",onWheel:function(e){return e.preventDefault()||a(e)}},(0,q.vz)("button",{class:"".concat(it.button," ").concat(it.icon," ").concat(ln.muted),onClick:t,ref:function(e){return i.button=e}},(0,q.vz)(Je,{position:e.Sound.tip||"left",textProps:{ref:function(e){return i.tooltip=e}}}),we.qv.volumeOn));this.slider=new dn(e,s,n,e.Sound.vertical),e.mount(e.Sound,s)}return(0,f.Z)(c,[{key:"update",value:function(e,t){this.saveSettings&&(G.Z.setVolume(t),e!==this.muted&&G.Z.set("player.muted",e));var n=(this.muted=e)||0===t;this.tooltip.innerText=n?Ae.f.unMute:Ae.f.mute;var r=n?we.qv.volumeOff:we.qv.volumeOn;(0,q.TJ)(this.button,r),this.button.classList[n?"add":"remove"](ln.muted),this.slider.update(t)}}]),c}();function pn(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var vn="var(--vp-color-primary)",mn="var(--vp-background-color-slider-rail)";function yn(e){var t=B.ZP.preview,n=t.firstNum,r=t.pad,i=t.src,o=(""+(e+n)).padStart(r,"0");return i.replace("${spriteNum}",o)}var gn=function(){(0,h.Z)(c,an);var s=pn(c);function c(e,t,n,r,i){var o;if((0,U.Z)(this,c),(o=s.call(this,e,null,t))._sections=n||[],o.section$=Le(),o.section$.subscribe(function(e){e&&e.skip&&o._duration-e.end<2&&r("endedSoon")}),o._playing$=i,!B.ZP.preview.src)return(0,u.Z)(o,o._noPreview());var a=V.tq?null:function(){return o._noPreview()};return M(yn(0),function(){o._sprite0Available=!0},a),o.loaded=[],o.loading=new Set,o}return(0,f.Z)(c,[{key:"time",set:function(t){this._time=t,this.update(t/this._duration),this._playing$.value&&(this.section$.value=this._sections.find(function(e){return e.start<=t&&t<e.end}))}},{key:"duration",set:function(e){this._duration=e,this.update(this._time/e),this._addDivs()}},{key:"makeHtml",value:function(e){var t,n,r;this._tipTime$=Le(),this._mark$=Le(),this.preview=(0,q.vz)("span",{class:Ke.thumbnail});var i=(0,q.vz)("span",{class:Ke.text},this._mark$.map(function(e){return e&&B.WU.skip(e)||""}),(0,q.vz)(q.If,{rx:this._mark$},(0,q.vz)("br")),this._tipTime$);this.tooltip=(0,q.vz)("span",{class:[Ke.tooltip,Ke.timeLine,(t={},(0,F.Z)(t,Ke.light,e.Timeline.tipLight),(0,F.Z)(t,Ke.aboveBar,e.Timeline.tipUp),(0,F.Z)(t,Ke.mobile,V.tq),t)],role:"tooltip"},this.preview,i),this.overlay=(0,q.hi)(Ge()(ln.seekOverlay,Se.Z.hidden,(n={},(0,F.Z)(n,ln.transparent,e.Timeline.tipLight),(0,F.Z)(n,ln.aboveBar,e.Timeline.tipUp),(0,F.Z)(n,ln.down,e.Timeline.tipDown),(0,F.Z)(n,ln.mobile,V.tq),n))),this.el=(0,q.hi)(Ge()(ln.range,ln.timeline,Ke.hasTip,(r={},(0,F.Z)(r,ln.dropBgInherit,e.Timeline.dropBgInherit),(0,F.Z)(r,ln.drop,e.Timeline.drop),(0,F.Z)(r,ln.handy,e.Timeline.handy),(0,F.Z)(r,ln.aboveControls,e.Timeline.up),(0,F.Z)(r,ln.belowControls,e.Timeline.down),(0,F.Z)(r,ln.widerClickArea,e.Timeline.wide),r)),[this.tooltip,this.overlay,this.wrap=(0,q.hi)(ln.wrap,[(0,q.hi)(ln.rail),this.progress=(0,q.hi)(ln.progress),this.tempProgress=(0,q.hi)(Ge()(ln.progress,Se.Z.hidden)),this._section=(0,q.hi)(ln.section)])]),e.mount(e.Timeline,this.el),e.Timeline.short&&!V.tq&&this.listenResize(e.wrapper)}},{key:"_noPreview",value:function(){this.tooltip.classList.add(Ke.noPreview)}},{key:"listenResize",value:function(e){var t=this,n=y()(function(){t.el.classList.toggle(ln.aboveControls,e.offsetWidth<600)},300),r=S(this.el,n);r||n(),addEventListener("resize",n),this._removeListeners=function(){null!=r&&r.disconnect(),removeEventListener("resize",n)}}},{key:"onHover",value:function(e,t){(0,r.Z)((0,d.Z)(c.prototype),"onHover",this).call(this,e,t);var n=this.getHoveredValue(e);this.isDragging&&this.update(n),this.updateTooltip(n,this.isDragging)}},{key:"endDrag",value:function(){(0,r.Z)((0,d.Z)(c.prototype),"endDrag",this).call(this),this._hideMark()}},{key:"updateTooltip",value:function(e,t){this.updateTooltipPosition(e),this.updatePreview(e);var n=this._duration*e,r=(0,wt.Nb)(n,B.ZP.preview.interval,this._duration);this._tipTime$.value=(0,I.WU)(r),this._mark$.value=this._sections.find(function(e){return r>e.start&&r<e.end}),this._updateMark(r,t)}},{key:"updateTooltipPosition",value:function(e){var t,n;V.tq||(t=this.tooltip.clientWidth/this.el.clientWidth/2,n=(0,wt.e$)(t,1-t,e),this.tooltip.style.left=(0,wt.iB)(n))}},{key:"updatePreview",value:function(e){var t,n,r,i,o,a;this._sprite0Available&&this._duration&&(n=(t=B.ZP.preview).interval,r=t.spriteSize,o=(i=this._duration/n)/r,this._frame=Math.round(i*e),a=Math.floor(o*e),this.updateThumb(yn(a)))}},{key:"updateThumb",value:function(e){var t=this,n='url("'.concat(e,'")');this.preview.style.backgroundImage=n,this.previewLoaded()||(this._noPreview(),this.loading.has(e)||(this.loading.add(e),M(e,function(){t.loaded.push(n),t.previewLoaded(),t.loading.delete(e)},function(){t.loading.delete(e)})))}},{key:"previewLoaded",value:function(){var e=this.preview,t=e.style;if(this.loaded.includes(t.backgroundImage)){this.tooltip.classList.remove(Ke.noPreview);var n=B.ZP.preview,r=n.spriteSize,i=n.rowSize,o=n.width,a=n.height,s=Math.min(this._frame%r,r-1),c=s%i,u=Math.floor(s/i),l=e.clientWidth/o,f=e.clientHeight/a;t.backgroundPositionX=c*-o*l+"px",t.backgroundPositionY=u*-a*f+"px";var d=r/i;return t.backgroundSize="".concat(o*i*l,"px ").concat(a*d*f,"px"),!0}}},{key:"_addDivs",value:function(){var t=this;this._marked||(this._marked=!0,this._sections.forEach(function(e){t._addDiv(e.start),t._addDiv(e.end)}))}},{key:"_addDiv",value:function(e){var t,n=e/this._duration;n&&((t=(0,q.hi)(ln.div)).style.left=(0,wt.iB)(n),this.wrap.appendChild(t))}},{key:"_updateMark",value:function(e,t){var n,r,i,o,a,s,c;V.tq||((n=this._mark$.value)?(r=this._section,i=this._time,o=this._duration,a=n.start/o,s=n.end/o,c=(t?e:i)/o,r.style.left=(0,wt.iB)(a),r.style.width=(0,wt.iB)(s-a),r.style.background=c<a?mn:s<c?vn:"linear-gradient(to right, ".concat(vn," ").concat((0,wt.iB)((c-a)/(s-a)),", ").concat(mn," 0)")):this._hideMark())}},{key:"_hideMark",value:function(){this._section.style.background="transparent"}},{key:"showOverlay",value:function(){(0,q.$Z)(this.overlay),this.tooltip.classList.add(Ke.visible),(0,q.$Z)(this.tempProgress),(0,q.Cp)(this.progress)}},{key:"hideOverlay",value:function(){(0,q.Cp)(this.overlay),this.tooltip.classList.remove(Ke.visible),(0,q.Cp)(this.tempProgress),(0,q.$Z)(this.progress)}},{key:"updateOverlay",value:function(e){this.overlay.style.width=(0,wt.iB)(e),this.updateTooltip(e,!0),this.tempProgress.style.width=(0,wt.iB)(e)}},{key:"show",value:function(){(0,q.$Z)(this.el)}},{key:"hide",value:function(){(0,q.Cp)(this.el)}},{key:"destroy",value:function(){var e;null!==(e=this._removeListeners)&&void 0!==e&&e.call(this),this.section$.dispose(),this._mark$.dispose(),this._tipTime$.dispose()}}]),c}(),bn=function(){function t(e){(0,U.Z)(this,t),this.el=(0,q.hi)(ln.buffer),e.parentElement.insertBefore(this.el,e)}return(0,f.Z)(t,[{key:"update",value:function(e){var a=this.el;a.childElementCount!=e.length&&((0,q.ep)(a),e.forEach(function(){a.appendChild((0,q.hi)(ln.bufferItem))})),e.forEach(function(e,t){var n=(0,H.Z)(e,2),r=n[0],i=n[1],o=a.children[t].style;o.left=r+"%",o.right=i+"%"})}}]),t}(),_n=function e(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,U.Z)(this,e);var r,i=n.src,o=n.width,a=void 0===o?"20%":o,s=n.height,c=void 0===s?"15%":s,u=n.margin,l={width:a,height:c,margin:void 0===u?"3%":u,top:0,right:0,position:"absolute",backgroundColor:"black",backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPositionX:"center"};t.mount(t.LiveLogo,(0,q.vz)("div",{style:l,ref:function(e){return r=e.style}})),M(i,function(){r.backgroundImage="url(".concat(i,")"),r.backgroundColor=""});function f(){var e=d.clientWidth/16*9;r.top=Math.max(0,(d.clientHeight-e)/2)+"px"}var d=t.wrapper.getElementsByTagName("video")[0];window.addEventListener("resize",y()(f,50)),f()},wn=function(){function u(e,t,n,r){var i=this;(0,U.Z)(this,u);var o,a=w();e.mount(e.FullScreen,(0,q.vz)("button",{class:"".concat(it.button," ").concat(it.icon),onClick:function(){return i.toggle()},ref:function(e){return i.button=e}},a?we.qv.fullScreenLeave:we.qv.fullScreenEnter,(0,q.vz)(Je,{position:"top-right",textProps:{ref:function(e){return i.tooltip=e}}},a?Ae.f.fullscreenExit:Ae.f.fullscreenEnter))),this.wrapper=t,this.playerEmit=n,this.external=!("external"!=r||V.xw||V.vU||V.un||V.Gb),this.external&&(o=setTimeout(function(){i.external=!1},99),addEventListener("message",function e(t){"externalFullScreen!"==t.data.event&&(clearTimeout(o),removeEventListener("message",e))}),An("externalFullScreen?"));function s(e){return"fullScreen"===e.data.event&&i.update(e.data.enter)}var c=E(function(){return i.changeHandler()});addEventListener("message",s),this.removeHandlers=function(){c(),removeEventListener("message",s)},this.external||this.changeHandler(!1)}return(0,f.Z)(u,[{key:"toggle",value:function(){if(this.external)return this.playerEmit("toggleFullScreen"),An("toggleFullScreen");if(w())return O();var e=this.wrapper.parentNode;this._styleWidthBeforeFS=e.style.width,this._styleHeightBeforeFS=e.style.height;var t,n,r=A(e);V.tq&&B.ZP.autoLandscape&&(null===(t=screen.orientation)||void 0===t||null!==(n=t.lock)&&void 0!==n&&n.call(t,"landscape")),r||A(this.wrapper.getElementsByTagName("video")[0])}},{key:"changeHandler",value:function(e){var t,n=!(0<arguments.length&&void 0!==e)||e,r=w();this.update(r,n),r!==this.wrapper.parentNode||innerWidth==r.clientWidth&&r.clientHeight?!r&&this._sizeHacked&&((t=this.wrapper.parentNode).style.width=this._styleWidthBeforeFS,t.style.height=this._styleHeightBeforeFS,this._sizeHacked=!1):(console.warn("bad :fullscreen styles!"),r.style.width="100%",r.style.height="100%",this._sizeHacked=!0)}},{key:"update",value:function(e,t){this.tooltip.innerText=e?Ae.f.fullscreenExit:Ae.f.fullscreenEnter;var n=e?we.qv.fullScreenLeave:we.qv.fullScreenEnter;(0,q.TJ)(this.button,n),e?(this.wrapper.classList.add("player-fullscreen"),t&&this.playerEmit("fullscreenEnter")):(this.wrapper.classList.remove("player-fullscreen"),t&&this.playerEmit("fullscreenExit"))}},{key:"hide",value:function(){(0,q.Cp)(this.button)}},{key:"show",value:function(){(0,q.$Z)(this.button)}}]),u}();function An(e){parent.postMessage({event:e},"*")}var kn,xn=function(){function a(e,t,n){var r,i=this;(0,U.Z)(this,a),this.url=t;var o=null===(r=e.Download)||void 0===r?void 0:r.tip;e.mount(e.Download,(0,q.vz)("button",{class:[it.button,it.icon,(0,F.Z)({},Ke.hasTip,o)],onClick:function(){return i._action(n)}},we.qv.download,o&&(0,q.vz)(Je,{position:o},Ae.f.download)))}return(0,f.Z)(a,[{key:"_action",value:function(e){e(),this.onConfirmed?this.onConfirm(Ae.f.download,Ae.f.downloadConfirm,this.onConfirmed):(window.open(this.url,"_blank"),(0,W.ot)({cat:"download",hit:"try"}))}},{key:"startLoad",value:function(){location.href=this.url,(0,W.ot)({cat:"download",hit:"try"})}}]),a}(),On=l(37805),En="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js",Sn=Le(!1);function Pn(e,t){V.xw||(kn||(window.__onGCastApiAvailable=jn,document.head.appendChild((0,q.vz)("script",{src:En}))),e.mount(e.Chromecast,(0,q.vz)(q.If,{rx:Sn},(0,q.vz)(at,{onClick:function(){var i,o;o=(i=t).includes(".m3u8")?"hls":i.includes(".mpd")?"dash":"",chrome.cast.requestSession(function(e){var t=i.includes("m3u8")?"application/vnd.apple.mpegurl":"",n=new chrome.cast.media.MediaInfo(i,t),r=new chrome.cast.media.LoadRequest(n);e.loadMedia(r,function(e){Tn("loadOk",e),(0,W.ot)({cat:"g-cast",hit:"loadOk",type:o})},function(e){Tn("loadErr",e),(0,W.ot)({cat:"g-cast",hit:"loadErr",sub:e.code,type:o})})},Cn("reqSessionErr"))},class:it.toTv},On))))}var Tn=function(e){for(var t,n=arguments.length,r=new Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=console).log.apply(t,["[venom:cast] "+e].concat(r))},Cn=function(r){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tn.apply(void 0,[r].concat(t))}};function jn(e){var t,n;kn=!0,e&&(t=new chrome.cast.SessionRequest(chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID),n=new chrome.cast.ApiConfig(t,Cn("session"),function(e){Sn.value=e===chrome.cast.ReceiverAvailability.AVAILABLE}),chrome.cast.initialize(n,Cn("initOk"),Cn("initErr")))}var Ln=function(){function i(e,t,n){var r=this;(0,U.Z)(this,i),this._video=t,this.enabled$=Le(),e.mount(e.Pip,(0,q.vz)(q.If,{rx:this.enabled$},(0,q.vz)(at,{onClick:function(){return r._toggle(!0)},ref:function(e){return r._button=e}},this.inPicture?we.qv.pipOut:we.qv.pipIn,(0,q.vz)(Je,{position:"top-right",textProps:{ref:function(e){return r._tooltip=e}}},this.inPicture?Ae.f.pipOut:Ae.f.pipIn)))),this._unlisten=this._listen(t,function(){return r._update()}),this._observeVisibility(t,n)}return(0,f.Z)(i,[{key:"inPicture",get:function(){return document.pictureInPictureElement}},{key:"_listen",value:function(e,t){return e.addEventListener("enterpictureinpicture",t),e.addEventListener("leavepictureinpicture",t),function(){e.removeEventListener("enterpictureinpicture",t),e.removeEventListener("leavepictureinpicture",t)}}},{key:"_observeVisibility",value:function(e,t){var i=this;window.IntersectionObserver&&(0<t&&t<1||1===t)&&(this._observer=new IntersectionObserver(function(e){var t=(0,H.Z)(e,1)[0],n=t.isIntersecting,r=t.target;n&&i.inPicture&&!i._enteredByBtn?i._leave():n||i.inPicture||r.paused||i._enter()},{threshold:t}),this._observer.observe(e))}},{key:"videoReady",value:function(){this._videoReady=!0,null==this.enabled$.value&&(this.enabled$.value=!0)}},{key:"enable",value:function(){this.enabled$.value=!0}},{key:"disable",value:function(){this.enabled$.value=!1}},{key:"_enter",value:function(){this._videoReady&&this.enabled$.value&&this._video.requestPictureInPicture()}},{key:"_leave",value:function(){document.exitPictureInPicture()}},{key:"_toggle",value:function(e){this.inPicture?(this._leave(),this._enteredByBtn=!1):(this._enter(),e&&(this._enteredByBtn=!0))}},{key:"_update",value:function(){this._tooltip.innerText=this.inPicture?Ae.f.pipOut:Ae.f.pipIn,(0,q.TJ)(this._button,this.inPicture?we.qv.pipOut:we.qv.pipIn)}},{key:"destroy",value:function(){var e;this._unlisten(),null!==(e=this._observer)&&void 0!==e&&e.disconnect(),this.inPicture&&this._leave()}}],[{key:"isSupported",get:function(){return document.pictureInPictureEnabled}}]),i}();function Rn(e,t,n){var r,i=t.mini,o=(0,q.vz)(at,{onClick:function(e){e.stopPropagation(),n(t)},class:["episode-".concat(e),Se.Z.hideOnMini]},(0,q.vz)(Je,{position:"top-left"},(0,q.vz)("span",{class:Ke["preview-container"]},(0,q.vz)("span",{class:Ke["preview-thumbnail"]},i&&(0,q.vz)("img",{src:i,width:"160",height:"90",ref:function(e){return r=e},alt:"preview"})),(0,q.vz)("span",{class:Ke["preview-content"]},(0,q.vz)("span",{class:Ke["preview-footnote"]},"next"===e?Ae.f.next:Ae.f.prev," ",Ae.f.episode),(0,q.vz)("br",null),(0,q.vz)("span",{class:Ke["preview-title"]},t.title)))),we.qv[e]);return i&&M(i,function(){return r.src=i},function(){return r.parentElement.removeChild(r)}),o}function In(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var zn=function(){function s(e){(0,U.Z)(this,s);var t,n=e.current,r=e.seasons;if(this._seasons=[],Array.isArray(r)){null==n.season&&null!=n.id&&(n.season=null===(t=r.find(function(e){var t;return null===(t=e.episodes)||void 0===t?void 0:t.some(function(e){return e.id===n.id})}))||void 0===t?void 0:t.season);var i,o=In(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;!function(t){var e;null!==(e=t.episodes)&&void 0!==e&&e.forEach(function(e){e.season=t.season,t.blocked&&(e.blocked=!0)})}(a),this._seasons[a.season]=a}}catch(e){o.e(e)}finally{o.f()}}}return(0,f.Z)(s,[{key:"getSeasons",value:function(){return this._seasons.filter(Boolean)}},{key:"getEpisodes",value:function(e){var t;return(null===(t=this._seasons[e])||void 0===t?void 0:t.episodes)||[]}},{key:"getNextPrevEpisodes",value:function(e){var t=e.season,n=e.episode,r=this.getEpisodes(t);if(!r.length)return[];var i=r.findIndex(function(e){return e.episode===n});return[i+1<r.length?r[i+1]:(0,_e.Ps)(this.getEpisodes(t+1)),0<=i-1?r[i-1]:(0,_e.Z$)(this.getEpisodes(t-1))]}}]),s}();var Dn=l(16488),Bn=l.n(Dn),Zn={injectType:"singletonStyleTag",insert:"head",singleton:!0},Nn=(o()(Bn(),Zn),Bn().locals||{});function Fn(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}function Un(e){return e}var Hn=function(e){var t;return(0,q.vz)("div",{onClick:e.disabled?Un:e.select,class:Ge()(Nn.item,(t={},(0,F.Z)(t,Nn.back,e.back),(0,F.Z)(t,Nn.active,e.active),(0,F.Z)(t,Nn.blocked,e.disabled),t))},(0,q.vz)("div",{class:Nn.content},e.children))},qn=function(){(0,h.Z)(s,zn);var a=Fn(s);function s(e,t){var n;(0,U.Z)(this,s),n=a.call(this,t);var r=t.current,i=t.changeEpisode,o=(0,q.vz)("div",{class:"".concat(Nn.slider," ").concat(Se.Z.hideOnMini)},(0,q.vz)("button",{class:Ge()(it.button,Nn.prev),onClick:function(){return n.slide(-1)},ref:function(e){return n.prevEl=e}}),(0,q.vz)("div",{class:Nn.list,ref:function(e){return n.listEl=e},onTouchstart:function(e){return e.stopPropagation()},onScroll:y()(function(){return n.togglePrevNext()},300)},(0,q.vz)(Hn,null,r.season," ",Ae.f.season),(0,q.vz)(Hn,null,r.episode," ",Ae.f.episode)),(0,q.vz)("button",{class:Ge()(it.button,Nn.next),onClick:function(){return n.slide(1)},ref:function(e){return n.nextEl=e}}));return e.mount(e.Playlist,o),n.loadSeasons(r,i),n.loadEpisodes(r.season,r,i),n}return(0,f.Z)(s,[{key:"slide",value:function(e){var t,n,r=this.listEl;r&&r.children[1]&&(t=r.children[1].offsetLeft-r.firstChild.offsetLeft,n=Math.floor(r.clientWidth/t),r.scrollLeft+=e*n*t)}},{key:"togglePrevNext",value:function(){var e=this.listEl;(0,q._4)(this.prevEl,e.scrollLeft<5),(0,q._4)(this.nextEl,e.scrollLeft+10>e.scrollWidth-e.clientWidth)}},{key:"loadSeasons",value:function(t,n){var r=this,e=this.getSeasons();e.length<2||(this.seasonsItems=e.map(function(e){return(0,q.vz)(Hn,{select:function(){return r.changeSeason(e.season,t,n)},active:e.season===t.season,disabled:e.blocked},e.season," ",Ae.f.season)}),this.update(this.seasonsItems))}},{key:"loadEpisodes",value:function(n,r,i){var e,t,o=this.getEpisodes(n);o.length&&(e=o.map(function(e){var t=n===r.season&&e.episode===r.episode;return(0,q.vz)(Hn,{select:function(){return t||i(e)},active:t,disabled:e.blocked},e.episode," ",Ae.f.episode,(0,q.vz)("div",{class:Nn.footnote},n," ",Ae.f.season))}),this.update([this.backToSeasons(n)].concat((0,c.Z)(e))),(t=e.find(function(e){return e.classList.contains(Nn.active)}))&&S(this.listEl,function(){return(0,q.X5)(t)}))}},{key:"changeSeason",value:function(e,t,n){this.update(this.backToSeasons(e)),this.loadEpisodes(e,t,n)}},{key:"backToSeasons",value:function(e){var t=this;if(this.seasonsItems)return(0,q.vz)(Hn,{back:!0,select:function(){return t.update(t.seasonsItems)}},e," ",Ae.f.season,(0,q.vz)("div",{class:Nn.footnote},Ae.f.back))}},{key:"update",value:function(e){(0,q.ep)(this.listEl);var t=Array.isArray(e)?e:[e];(0,q.R3)(this.listEl,t),this.togglePrevNext()}},{key:"hide",value:function(){return!1}}]),s}(),Vn=function(){function c(e,t){var n=this,r=t.flat,i=t.current,o=t.changeEpisode;(0,U.Z)(this,c);var a=(0,q.vz)("div",{class:Nn.slider},(0,q.vz)("button",{class:Ge()(it.button,Nn.prev),onClick:function(){return n.slide(-1)},ref:function(e){return n.prevEl=e}}),(0,q.vz)("div",{class:Nn.list,ref:function(e){return n.listEl=e},onScroll:y()(function(){return n.togglePrevNext()},300)},r.map(function(e,t){return(0,q.vz)("div",{class:Ge()(Nn.item,(0,F.Z)({},Nn.active,e.id===i.id)),onClick:function(){return o(e)}},(0,q.vz)("div",{class:Nn.content},t+1," ",Ae.f.episode))})),(0,q.vz)("button",{class:Ge()(it.button,Nn.next),onClick:function(){return n.slide(1)},ref:function(e){return n.nextEl=e}}));e.mount(e.Playlist,a),this.togglePrevNext();var s=this.listEl.getElementsByClassName(Nn.active)[0];s&&S(this.listEl,function(){return(0,q.X5)(s)})}return(0,f.Z)(c,[{key:"slide",value:function(e){var t,n,r=this.listEl;r&&r.firstChild&&(t=r.firstChild.clientWidth+2*r.firstChild.offsetLeft,n=Math.floor(r.clientWidth/t),r.scrollLeft+=e*n*t)}},{key:"togglePrevNext",value:function(){var e=this.listEl;(0,q._4)(this.prevEl,e.scrollLeft<5),(0,q._4)(this.nextEl,e.scrollLeft+10>e.scrollWidth-e.clientWidth)}},{key:"hide",value:function(){return!1}}]),c}();function Wn(e,t){return(0,q.vz)("button",{onclick:e,class:[it.button,it.icon,it.close,t]},et)}var Gn=l(4356),Qn=l.n(Gn),Xn={injectType:"singletonStyleTag",insert:"head",singleton:!0},Yn=(o()(Qn(),Xn),Qn().locals||{});function Kn(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var Jn=function(){(0,h.Z)(i,zn);var r=Kn(i);function i(e,t){var n;return(0,U.Z)(this,i),(n=r.call(this,t))._current=t.current,n.el=(0,q.vz)("div",{class:Ge()(zt.menu,zt.right,Se.Z.hidden)},(0,q.vz)("div",{class:zt.header},Wn(function(){return n.hide()})),(0,q.vz)("div",{class:zt.body},(0,q.vz)("ul",{class:Ge()(Yn.seasons,(0,F.Z)({},Yn.tv,V.xw)),ref:function(e){return n.listElement=e}},n._seasonsItems(t.changeEpisode)))),e.mount(e.Playlist,n.el),n}return(0,f.Z)(i,[{key:"_seasonsItems",value:function(r){var i=this;this.seasonsItems=[];var e=this.getSeasons();return e.length?e.map(function(e){var t=e.season,n=e.blocked;return(0,q.vz)("li",{ref:function(e){return i.seasonsItems[t]=e},class:Ge()(Yn.season,(0,F.Z)({},Yn.active,t===i._current.season))},(0,q.vz)("button",{class:Ge()(it.button,Yn.expand),onClick:function(){return i.showEpisodes(t)},disabled:n},Ae.f.Season," ",t),(0,q.vz)("ul",{class:Yn.episodes},i._episodesItems(t,r)))}):this._noItems()}},{key:"_episodesItems",value:function(e,n){var r=this,t=this.getEpisodes(e);return t.length?t.map(function(t){return(0,q.vz)("li",{class:Ge()(Yn.episode,(0,F.Z)({},Yn.active,r._isActive(e,t.episode))),onClick:function(e){e.stopPropagation(),r.hide()&&n(t)}},(0,q.vz)("button",{class:Ge()(it.button,(0,F.Z)({},Yn.blocked,t.blocked))},t.episode))}):this._noItems()}},{key:"_noItems",value:function(){return[(0,q.vz)("li",null),(0,q.vz)("span",null,Ae.f.emptyList)]}},{key:"_isActive",value:function(e,t){return e===this._current.season&&t===this._current.episode}},{key:"show",value:function(){var e,t;null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),(0,q.$Z)(this.el),this.showEpisodes(this._current.season),null!==(t=this.listElement.getElementsByTagName("button")[0])&&void 0!==t&&t.focus()}},{key:"hide",value:function(){var e,t=(0,q.WM)(this.el,!0);return t&&null!==(e=this.onHide)&&void 0!==e&&e.call(this),t}},{key:"showEpisodes",value:function(e){var t=this.seasonsItems[e];t&&((0,q.bA)(t,Yn.opened),S(this.el,function(){return(0,q.X5)(t)}))}}]),i}(),$n=function(){function a(e,t){var n=this,r=t.flat,i=t.current,o=t.changeEpisode;(0,U.Z)(this,a),this.el=(0,q.vz)("div",{class:Ge()(zt.menu,zt.right,Se.Z.hidden)},(0,q.vz)("div",{class:zt.header},Wn(function(){return n.hide()})),(0,q.vz)("div",{class:zt.body},(0,q.vz)("ul",{class:Yn.seasons,ref:function(e){return n.listElement=e}},(0,q.vz)("li",{class:Ge()(Yn.season,Yn.active,Yn.opened,(0,F.Z)({},Yn.tv,V.xw))},(0,q.vz)("button",{class:Ge()(it.button,Yn.expand)},Ae.f.episodes),(0,q.vz)("ul",{class:Yn.episodes},r.map(function(t,e){return(0,q.vz)("li",{class:Ge()(Yn.episode,(0,F.Z)({},Yn.active,t.id===i.id)),onClick:function(e){e.stopPropagation(),n.hide()&&o(t)}},(0,q.vz)("button",{class:Ge()(it.button,(0,F.Z)({},Yn.blocked,t.blocked))},t.episode||e+1))})))))),e.mount(e.Playlist,this.el)}return(0,f.Z)(a,[{key:"show",value:function(){var e,t;null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),(0,q.$Z)(this.el),null!==(t=this.listElement.getElementsByTagName("button")[0])&&void 0!==t&&t.focus()}},{key:"hide",value:function(){var e,t=(0,q.WM)(this.el,!0);return t&&null!==(e=this.onHide)&&void 0!==e&&e.call(this),t}}]),a}(),er=l(50601),tr=l(22193),nr=l.n(tr),rr={injectType:"singletonStyleTag",insert:"head",singleton:!0},ir=(o()(nr(),rr),nr().locals||{});function or(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var ar=function(){function l(t,n,e){var r,i=this,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(e){return e};(0,U.Z)(this,l),this.onChange=e,this.label=o,this.value=n,this.items={};function a(e){return Array.isArray(t.disabled)&&t.disabled.includes(e)}var s,c,u=Array.isArray(t)?t:t.list;V.tq?(s=u.every(function(e){return Number.isInteger(e)})?Number:function(e){return e},this.el=(0,q.vz)("div",{class:"".concat(ir.withArrow," ").concat(Se.Z.hideOnMini)},(0,q.vz)("select",{onChange:function(e){return i.select(s(e.target.value))}},(!n||!u.length)&&(0,q.vz)("option",null,Ae.f.select),u.map(function(e){return(0,q.vz)("option",{value:e,selected:e===n,disabled:a(e)},o(e))})))):(r={},(0,F.Z)(r,ir.backgroundFill,we.$C.hoverBg),(0,F.Z)(r,ir.textColor,!we.$C.hoverBg),c=r,this.el=(0,q.vz)("div",{class:[ir.dropdown,Se.Z.hideOnMini,(0,F.Z)({},ir.innerIndent,we.$C.innerIndent)]},(0,q.vz)("div",{onClick:function(){return(0,q.ZN)(i.el,ir.opened)},class:[ir.header,c]},(0,q.vz)("span",{class:ir.headerText,ref:function(e){return i.activeEl=e}},n?o(n):Ae.f.select),(0,q.vz)("div",{class:ir.icon},er)),(0,q.vz)("div",{class:ir.menu},u.map(function(t){var e;return(0,q.vz)("div",{class:[ir.item,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?or(Object(n),!0).forEach(function(e){(0,F.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}((e={},(0,F.Z)(e,ir.active,t===n),(0,F.Z)(e,ir.blocked,a(t)),(0,F.Z)(e,ir.underline,we.$C.dropdownUnderline),e),c)],onClick:function(){return!a(t)&&i.select(t)},ref:function(e){return i.items[t]=e}},o(t))}))))}return(0,f.Z)(l,[{key:"mount",value:function(e){e.appendChild(this.el)}},{key:"select",value:function(e,t){var n=!(1<arguments.length&&void 0!==t)||t;this.close(),e!==this.value&&(this.value=e,V.tq||(this.activeEl.textContent=this.label(e),(0,q.QZ)(this.items[e],ir.active)),n&&this.onChange(e))}},{key:"close",value:function(){var e=this.el.classList.contains(ir.opened);return(0,q.xv)(this.el,ir.opened),e}}]),l}();function sr(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var cr=function(){(0,h.Z)(u,zn);var c=sr(u);function u(e,t){var n;(0,U.Z)(this,u);var r=(n=c.call(this,t)).getSeasons(),i=n.withDisabled(r,"season"),o=t.current,a=t.changeEpisode;n.seasonCtrl=new ar(i,o.season,function(e){return n.loadEpisodes(e,o,a)},function(e){return"".concat(e," ").concat(Ae.f.season)}),r.length<2&&(0,q.Cp)(n.seasonCtrl.el);var s=(0,q.vz)("div",{class:[ir.list,(0,F.Z)({},ir.spaceMd,e.Playlist.spaceMd)]});return n.seasonCtrl.mount(s),n._makeEpisodeCtrl(o.season,o,a),n.episodeCtrl.mount(s),e.mount(e.Playlist,s),n}return(0,f.Z)(u,[{key:"loadEpisodes",value:function(e,t,n){var r=this.episodeCtrl;this._makeEpisodeCtrl(e,t,n),(0,q.gx)(r.el,this.episodeCtrl.el)}},{key:"_makeEpisodeCtrl",value:function(e,t,n){var r=this.getEpisodes(e);this.episodeCtrl=new ar(this.withDisabled(r,"episode"),e===t.season&&t.episode,function(t){return n(r.find(function(e){return t===e.episode}))},function(e){return"".concat(e," ").concat(Ae.f.episode)})}},{key:"withDisabled",value:function(e,t){var n=e.map(function(e){return e[t]}),r=e.filter(function(e){return e.blocked}).map(function(e){return e[t]});return r.length?{list:n,disabled:r}:n}},{key:"hide",value:function(){return this.seasonCtrl.close()||this.episodeCtrl.close()}}]),u}(),ur=function(){function t(e,n){(0,U.Z)(this,t),this.dropdown=new ar(n.flat.map(function(e){return e.id}),n.current.id,function(t){var e=n.flat.find(function(e){return t===e.id});n.changeEpisode(e)},function(t){return n.flat.find(function(e){return t===e.id}).title}),e.mount(e.Playlist,this.dropdown.el)}return(0,f.Z)(t,[{key:"hide",value:function(){return this.dropdown.close()}}]),t}();function lr(e,t){var n=e.Playlist.kind;if("dropdown"==n)return new(t.seasons?cr:ur)(e,t);if("slider"==n)return new(t.seasons?qn:Vn)(e,t);var r=new(t.seasons?Jn:$n)(e,t);!V.tq&&t.open&&r.show();var i=(0,q.vz)(at,{class:Se.Z.hideOnMini,onClick:function(){return r.show()}},(0,q.vz)(Je,{position:"left"},Ae.f.playlist),we.qv.episodes);return e.mount(e.PlaylistBtn,i),r.onHide=function(){return i.focus()},r}var fr=l(57520),dr=l(28518),hr=l(67081),pr=l(46884),vr=l(8409),mr=function(){return[{name:Ae.f.webPlayer,icon:hr},{name:Ae.f.proxyApp,icon:fr},{name:Ae.f.advertisingPlugin,icon:vr},{name:Ae.f.channelEconomy,icon:pr}]},yr=function(){function n(e){var t=this;(0,U.Z)(this,n),this.el=(0,q.vz)("div",{class:[zt.menu,zt.about,zt.center,Se.Z.hidden],onClick:function(e){e.target==t.el&&t.hide()}},(0,q.vz)("div",{class:zt.inner},(0,q.vz)("div",{class:zt.header},(0,q.vz)("div",{class:zt.venomLogo},dr),(0,q.vz)("span",{class:zt.text},Ae.f.forDevelopers),Wn(function(){return t.hide()},zt.close)),(0,q.vz)("div",{class:zt.body},mr().map(function(e){return(0,q.vz)("div",{class:zt.item},e.icon,e.name)})),(0,q.vz)("div",{class:zt.footer},"Venom Player ",B.i8))),e.mount(e.AboutMenu,this.el)}return(0,f.Z)(n,[{key:"show",value:function(){var e;null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),(0,q.$Z)(this.el)}},{key:"hide",value:function(){return(0,q.WM)(this.el,!0)}}]),n}(),gr=l(41709),br=l(99607),_r=l(17955),wr=l(63599),Ar=l(12128),kr=[{name:"facebook",icon:wr,url:"https://www.facebook.com/sharer/sharer.php?u="},{name:"vkontakte",icon:_r,url:"https://vk.com/share.php?url="},{name:"odnoklassniki",icon:br,url:"https://connect.ok.ru/offer?url="}],xr=function(){function r(e,t,n){(0,U.Z)(this,r),this.socials=Array.isArray(t)?kr.filter(function(e){return t.includes(e.name)}):kr,this.isCopyVisible=!Array.isArray(t)||t.includes("copy"),this.el=this.makePanel(n),e.mount(e.Share,this.el)}return(0,f.Z)(r,[{key:"makeButton",value:function(e){var t=this;this.button=(0,q.vz)(at,{class:Se.Z.hideOnMini,onClick:function(){return t.toggle()}},(0,q.vz)(Je,{position:e.ShareBtn.tip||"left"},Ae.f.share),we.qv.share),e.mount(e.ShareBtn,this.button)}},{key:"makePanel",value:function(e){function i(){return t.hide()}var t=this;return(0,q.vz)("div",{class:[zt.share,Se.Z.hidden,(0,F.Z)({},zt.mob,V.tq)]},(0,q.vz)("div",{class:it.btnGroup},this.isCopyVisible&&V.tq&&(0,q.vz)(at,{onClick:function(){return e.copyUrl(!0,i)}},Ar),this.isCopyVisible&&(0,q.vz)(at,{onClick:function(){return e.copyUrl(!1,i)}},gr),this.socials.map(function(e){var r=e.url+encodeURIComponent((0,D.WX)());return(0,q.vz)("a",{href:r,onClick:function(){return e=r,t=i,n=["innerWidth=420","innerHeight=325","left=".concat(outerWidth/2-210),"top=".concat(outerHeight/2-150)],open(e,"share",n.join(",")),void t();var e,t,n},target:"_blank",class:[it.button,it.icon]},e.icon)})))}},{key:"hide",value:function(){var e,t=(0,q.WM)(this.el,!0);return t&&(this.button.focus(),null!==(e=this.parentModal)&&void 0!==e&&e.hide()),t}},{key:"toggle",value:function(){var e;this.hide()||(null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),(0,q.$Z)(this.el))}}]),r}();var Or=l(22390),Er=l(4353),Sr=function(){function r(e,t){var n=this;(0,U.Z)(this,r),this.el=(0,q.vz)(Pr,{row:e.Fold.row,left:e.Fold.left}),e.mount(e.Fold,this.el),t.requestReport&&e.mount(e.ReportBtn,(0,q.vz)(at,{onClick:t.requestReport},Er)),this.button=(0,q.vz)(at,{onClick:function(){return n.toggle()}},Or),this.el.parentNode.insertBefore(this.button,this.el),t.requestReport||this._observeChildrenForVisibility()}return(0,f.Z)(r,[{key:"hide",value:function(){return this.button.classList.remove(it.active),this.el.classList.remove(zt.open),(0,q.WM)(this.el,!0)}},{key:"toggle",value:function(){var e;this.hide()||(null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),(0,q.$Z)(this.el),this.button.classList.add(it.active),this.el.classList.add(zt.open))}},{key:"_observeChildrenForVisibility",value:function(){var e,t;window.MutationObserver&&(e=this.button,(t=this.el).children.length||(0,q.Cp)(e),this._observer=new MutationObserver(function(){(t.children.length?(0,q.$Z):(0,q.Cp))(e)}),this._observer.observe(t,{childList:!0}))}},{key:"destroy",value:function(){var e;null!==(e=this._observer)&&void 0!==e&&e.disconnect(),delete this._observer}}]),r}(),Pr=function(e){var t,n=e.row,r=e.left,i=e.children;return(0,q.vz)("div",{class:[zt.menu,zt.dot,it.btnGroup,Se.Z.hidden,(t={},(0,F.Z)(t,it.column,!n),(0,F.Z)(t,zt.left,r),t)]},i)},Tr=function(){function n(e){var t=this;(0,U.Z)(this,n),this.el=(0,q.vz)("div",{class:[zt.menu,zt.center,Se.Z.hidden]},(0,q.vz)("div",{class:[zt.inner,zt.message]},Wn(function(){return t.hide()}),(0,q.vz)("div",{ref:function(e){return t.textEl=e}}))),e.appendChild(this.el)}return(0,f.Z)(n,[{key:"show",value:function(e){this.textEl.innerHTML=e,(0,q.$Z)(this.el)}},{key:"confirm",value:function(e,t,n){var r=this;this.textEl.innerHTML="",this.textEl.appendChild((0,q.vz)(Cr,{title:e,decline:function(){return r.hide()},ok:function(){r.hide(),n()}},t)),(0,q.$Z)(this.el)}},{key:"hide",value:function(){return(0,q.WM)(this.el)}}]),n}(),Cr=function(e){var t=e.title,n=e.children,r=e.ok,i=e.decline;return(0,q.vz)("div",null,(0,q.vz)("div",{class:[Se.Z.gutterBottom,Se.Z.title]},t),(0,q.vz)("div",{class:[Se.Z.gutterBottom,Se.Z.footnote]},n),(0,q.vz)("div",{class:[it.btnGroup,it.twoButtons]},(0,q.vz)("button",{class:[it.button,it.default],onClick:i},Ae.f.decline),(0,q.vz)("button",{class:[it.button,it.primary],onClick:r},Ae.f.proceed)))},jr=l(38976),Lr=l(12129),Rr=l(51280),Ir=l(91686),Mr=function(){function r(e,t){(0,U.Z)(this,r);var n=(0,q.vz)("button",{class:[it.button,it.icon,Se.Z.hideOnMini],onClick:t},we.qv.settings,(0,q.vz)(Je,{position:e.SettingsBtn.tip||"top"},Ae.f.settings),this.label=(0,q.vz)("span",null));e.mount(e.SettingsBtn,n),this._badge=e.SettingsBtn.badge}return(0,f.Z)(r,[{key:"setIcon",value:function(e){var t,n;this._badge&&(t={4e3:jr,1080:Lr,720:Rr}[e],n=(0,q.vz)("span",{class:[it.quality,it[this._badge]]},t||Ir),(0,q.gx)(this.label,n),this.label=n)}}]),r}(),zr=l(35139),Dr=l(55711),Br=l(13288),Zr=l(60652),Nr=l(8658),Fr=l.n(Nr),Ur={injectType:"singletonStyleTag",insert:"head",singleton:!0},Hr=(o()(Fr(),Ur),Fr().locals||{});function qr(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Vr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qr(Object(n),!0).forEach(function(e){(0,F.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Wr=function(){function l(){var e,t=this,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=1<arguments.length?arguments[1]:void 0,i=2<arguments.length?arguments[2]:void 0,o=3<arguments.length?arguments[3]:void 0,a=4<arguments.length?arguments[4]:void 0;(0,U.Z)(this,l),this.message={show:function(e){return alert(e)}},this.currentQuality=n.active||"-",this.changeQuality=n.change,this.qualities=n.list||[],this.changeSpeed=r.change,this.speeds=r.list,this.dom={quality:{},sound:{},speed:{},skip:{},cc:{},about:{}},this._layout=a.Settings;var s,c,u=a.Settings.big;u&&this.makeHeader(),this.makeSetting("quality",n.list,n.active,function(e){return t.selectQuality(e)}),a.AudioTracks||this.makeSetting("sound",[],"auto"),1<r.list.length&&this.makeSetting("speed",r.list,1,function(e){return t.selectSpeed(e)}),i.length&&(s=G.Z.skip,c=i.filter(function(e){return s.includes(e.type)}),this.makeSetting("skip",i,c,function(e){return t.toggleSkip(e,i)})),o&&this.makeSetting("about",o,"Venom"),this.dom.el=(0,q.vz)("div",{class:[Hr.menu,Se.Z.hidden,(e={},(0,F.Z)(e,Hr.right,u),(0,F.Z)(e,Hr.overlay,!u),(0,F.Z)(e,Hr.mobile,V.tq),e)]},this.dom.header,this.dom.skip.el,this.dom.quality.el,this.dom.sound.el,this.dom.speed.el,this.dom.about.el),a.mount(a.Settings,this.dom.el)}return(0,f.Z)(l,[{key:"makeHeader",value:function(){var e=this;this.dom.header=(0,q.vz)("div",{class:[Hr.header,Hr.gutterBottom,Hr.divider]},(0,q.vz)("div",{class:Hr.title},Ae.f.settings),(0,q.vz)(Ve,{onClick:function(){return e.hide()}}))}},{key:"makeSetting",value:function(e,t,n,r){var i,o=this,a=1<arguments.length&&void 0!==t?t:[],s=2<arguments.length?n:void 0,c=3<arguments.length?r:void 0,u=!Array.isArray(a),l=u?function(){return a.show()}:function(){return a.length&&o.showSubMenu(h.menu)},f=B.WU[e]||function(e){return e},d=Array.isArray(s)?s.length?Ae.f.on:Ae.f.off:f(s),h={};return h.el=(0,q.vz)("div",{class:Hr.item},(0,q.vz)("div",{ref:function(e){return h.head=e},onClick:l,class:[Hr.header,(i={},(0,F.Z)(i,Hr.backgroundFill,we.$C.hoverBg),(0,F.Z)(i,Hr.textColor,!we.$C.hoverBg),(0,F.Z)(i,Hr.row,this._layout.row),i)]},(0,q.vz)("div",{class:Hr.headerInner},(0,q.vz)("div",{class:[Hr.title,(0,F.Z)({},Hr.muted,this._layout.muted)]},Ae.f[e]),(0,q.vz)("div",{class:Hr.value,ref:function(e){return h.value=e}},d)),(0,q.vz)("span",{class:Hr.icon},zr)),!u&&this.makeSubMenu(h,e,a,s,c,f)),this.dom[e]=h}},{key:"makeSubMenu",value:function(t,e,n,r,i,o){var a,s,c=this,u=Array.isArray(r),l=(a={},(0,F.Z)(a,Hr.backgroundFill,we.$C.hoverBg),(0,F.Z)(a,Hr.textColor,!we.$C.hoverBg),a),f=this._layout,d=f.marks,h=f.roundMark,p=f.divider,v=f.gap;return(0,q.vz)("div",{class:[Hr.submenu,Se.Z.hidden],ref:function(e){return t.menu=e}},(0,q.vz)("div",{onClick:function(){return c.showMenu()},class:[Hr.header,Vr((s={},(0,F.Z)(s,Hr.divider,p),(0,F.Z)(s,Hr.gutterBottom,v),s),l)]},(0,q.vz)("span",{class:Hr.icon},Dr),Ae.f[e]),(0,q.vz)("ul",{ref:function(e){return t.list=e}},n.map(function(e){var t;return(0,q.vz)("li",{onClick:function(){return i(e)},class:[Hr.item,Vr((t={},(0,F.Z)(t,Hr.multi,u),(0,F.Z)(t,Hr.active,u?r.includes(e):r==e),(0,F.Z)(t,Hr.checkMark,h),t),l)]},h&&(0,q.vz)("span",{class:Hr.checkMarkIcon},Br),(d||u&&!h)&&(0,q.vz)("span",{class:Hr.icon},Zr),o(e))})),"skip"==e&&(0,q.vz)("div",{class:Hr.description},Ae.f.skipDescription))}},{key:"updateSetting",value:function(e,t,n,r){var i=this.dom,o=i.el,a=i[e],s=this.makeSetting(e,t,n,r);null!=a&&a.el?(0,q.gx)(a.el,s.el):o.appendChild(s.el)}},{key:"makeQuality",value:function(e){var t=this;this.updateSetting("quality",e.list,e.active,function(e){return t.selectQuality(e)}),this.qualities=e.list||[],this.currentQuality=e.active||"-",this.changeQuality=e.change}},{key:"makeSoundtrack",value:function(e,t,n){var r=this,i=0<arguments.length&&void 0!==e?e:[],o=1<arguments.length?t:void 0,a=i[2<arguments.length&&void 0!==n?n:0]||"auto";this.updateSetting("sound",i,a,function(t){var e=i.findIndex(function(e){return e===t});o(e),r.hide(),r.markSound(e,t),G.Z.set("player.track",t)})}},{key:"makeCC",value:function(e,t){var n=this;this.makeSetting("cc",[Ae.f.off].concat((0,c.Z)(e)),Ae.f.off,function(e){t(e),n.hide()}),this.dom.about.el?this.dom.el.insertBefore(this.dom.cc.el,this.dom.about.el):this.dom.el.appendChild(this.dom.cc.el)}},{key:"toggleSkip",value:function(t,e){var n=t.type,r=G.Z.skip;G.Z.skip=r.includes(n)?r.filter(function(e){return e!=n}):[].concat((0,c.Z)(r),[n]);var i=e.findIndex(function(e){return e==t}),o=this.dom.skip,a=o.list,s=o.value;a.children[i].classList.toggle(Hr.active),s.textContent=a.getElementsByClassName(Hr.active).length?Ae.f.on:Ae.f.off}},{key:"selectQuality",value:function(e){this.hide();var t=B.ZP.restrictQuality(e);if(t)return this.message.show(t);this.changeQuality(e),this.updateQuality(e),G.Z.set("player.quality",e)}},{key:"selectSpeed",value:function(e){this.hide(),this.isSpeedRestricted(e)||(this.markSpeed(e),this.changeSpeed(e),G.Z.speed=e)}},{key:"isSpeedRestricted",value:function(e){var t=B.ZP.restrictSpeed(e,this.currentQuality);if(t)return this.message.show(t),!0}},{key:"lowerQualityOnTV",value:function(){if(V.xw&&!(this.currentQuality<1080)&&this.changeQuality){var e=(0,ee.pE)(this.qualities,this.currentQuality);if(e)return this.changeQuality(e),this.updateQuality(e),e}}},{key:"updateQuality",value:function(t,e){null!=e?t=this.qualities[e]:e=this.qualities.findIndex(function(e){return e==t}),this.currentQuality=t;var n=this.indexToItem("quality",e);this.markItem(n,"quality",t),this.button.setIcon(t)}},{key:"markSound",value:function(e,t){var n=this.indexToItem("sound",e);this.markItem(n,"sound",t)}},{key:"markSpeed",value:function(e){var t=this.findSpeedItem(e);this.markItem(t,"speed",e)}},{key:"markCC",value:function(e){e++;var t=this.dom.cc.list.children[e];this.markItem(t,"cc")}},{key:"markItem",value:function(e,t,n){var r;e&&(0,q.QZ)(e,Hr.active),null==n&&!e||(r=B.WU[t]||function(e){return e},this.dom[t].value.textContent=null!=n?r(n):e.textContent)}},{key:"findSpeedItem",value:function(t){return this.dom.speed.list&&this.indexToItem("speed",this.speeds.findIndex(function(e){return e==t}))}},{key:"indexToItem",value:function(e,t){return Number.isInteger(t)?this.dom[e].list.children[t]:t}},{key:"showSubMenu",value:function(e){(0,q.Cp)(this.dom.header),(0,q.Cp)(this.dom.skip.head),(0,q.Cp)(this.dom.quality.head),(0,q.Cp)(this.dom.sound.head),(0,q.Cp)(this.dom.speed.head),(0,q.Cp)(this.dom.cc.head),(0,q.Cp)(this.dom.about.head),(0,q.$Z)(e)}},{key:"showMenu",value:function(){(0,q.Cp)(this.dom.skip.menu),(0,q.Cp)(this.dom.quality.menu),(0,q.Cp)(this.dom.sound.menu),(0,q.Cp)(this.dom.speed.menu),(0,q.Cp)(this.dom.cc.menu),(0,q.$Z)(this.dom.header),(0,q.$Z)(this.dom.skip.head),(0,q.$Z)(this.dom.quality.head),(0,q.$Z)(this.dom.sound.head),(0,q.$Z)(this.dom.speed.head),(0,q.$Z)(this.dom.cc.head),(0,q.$Z)(this.dom.about.head)}},{key:"makeButton",value:function(e,t){var n=this;this.button=new Mr(e,function(){return n.toggle()}),t&&this.button.setIcon(t)}},{key:"toggle",value:function(){var e;this.hide()||(null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),this.showMenu(),(0,q.$Z)(this.dom.el))}},{key:"hide",value:function(){return(0,q.WM)(this.dom.el,this._layout.big)}}]),l}();function Gr(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var Qr=function(){(0,h.Z)(s,Wr);var a=Gr(s);function s(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=1<arguments.length?arguments[1]:void 0,r=2<arguments.length?arguments[2]:void 0,i=3<arguments.length?arguments[3]:void 0,o=4<arguments.length?arguments[4]:void 0;return(0,U.Z)(this,s),(e=a.call(this,t,n,r,i,o)).layout=o,e}return(0,f.Z)(s,[{key:"markSound",value:function(e){var t;null!==(t=this.soundtrackCtrl)&&void 0!==t&&t.select(this.tracks[e],!1)}},{key:"makeSoundtrack",value:function(e,t,n){var r=0<arguments.length&&void 0!==e?e:[],i=1<arguments.length?t:void 0,o=2<arguments.length&&void 0!==n?n:0,a=(this.tracks=r)[o]||"auto";!r.length||1===r.length&&B.ZP.oneSound||this.renderSoundtrack(new ar(r,a,function(t){var e=r.findIndex(function(e){return e===t});i(e),G.Z.set("player.track",t)},function(e){return e}))}},{key:"renderSoundtrack",value:function(e){var t,n=this.soundtrackCtrl;this.soundtrackCtrl=e,null!=n&&n.el.parentNode?(0,q.gx)(n.el,e.el):(null!==(t=this.layout)&&void 0!==t&&t.mount(this.layout.AudioTracks,e.el),this.layout=null)}},{key:"hide",value:function(){var e,t=null===(e=this.soundtrackCtrl)||void 0===e?void 0:e.close();return(0,r.Z)((0,d.Z)(s.prototype),"hide",this).call(this)||t}}]),s}(),Xr=function(){function N(e,t,n,r,i,o,a,s,c,u,l,f,d,h,p,v){var m,y,g,b,_,w,A,k,x,O,E,S,P,T,C,j,L=this,R=v.sections,I=v.download,M=v.chromecast,z=v.ui,D=void 0===z?{}:z;(0,U.Z)(this,N),this.container=this.constructor.makePanel(e),this.makeTitle(e,h,D.titleOnlyOnFullscreen),this.remaining=new Jt(e,l,a),l&&(this.live=new on(e,l)),D.liveLogo&&new _n(e,D.liveLogo),f&&(this.playlist=lr(e,f),y=f.seasons?this.playlist.getNextPrevEpisodes(f.current):(E=(O=f).flat,S=O.current,P=E.findIndex(function(e){return e.id===S.id}),[E[P+1],E[P-1]]),b=(g=(0,H.Z)(y,2))[0],_=g[1],f.next=b,!1!==D.prevNext&&(w=e,A=_,k=b,x=f.changeEpisode,A&&w.mount(w.Prev,Rn("prev",A,x)),k&&w.mount(w.Next,Rn("next",k,x)),w.mount(w.Spacer,(0,q.vz)("div",{class:pt.spacer})))),C=t,j=c,(T=e).Play&&T.mount(T.Play,(0,q.vz)(at,{onClick:C},j.map(function(e){return(0,q.dy)(e?we.qv.pause:we.qv.play)}),(0,q.vz)(Je,{position:"top-left"},j.map(function(e){return e?Ae.f.pause:Ae.f.play})))),this.sound=new hn(e,r,i,o),e.Fold&&(this.fold=new Sr(e,u)),!1===D.share||0===(null===(m=D.share)||void 0===m?void 0:m.length)||V.xw||(this.share=new xr(e,D.share,u),this.share.makeButton(e),this.share.parentModal=this.fold),M&&Pn(e,M),I&&(this.download=new xn(e,I,function(){var e;return null===(e=L.fold)||void 0===e?void 0:e.hide()}),this.download.onConfirm=function(){var e;return(e=L.message).confirm.apply(e,arguments)}),!1!==D.about&&(this.aboutMenu=new yr(e));var B=(R||[]).filter(function(e){return e.skip&&e==(t=e.type,R.find(function(e){return e.skip&&e.type==t}));var t});this.settings=new(e.AudioTracks?Qr:Wr)(d,s,B,this.aboutMenu,e),this.settings.makeButton(e,null==d?void 0:d.active),this.message=this.settings.message=new Tr(this.container),Ln.isSupported&&D.pip&&(this.pip=new Ln(e,p,D.pip)),this.fullscreen=new wn(e,e.wrapper,n,D.fullscreen),this.timeLine=new gn(e,a,R,n,c),this.buffered=new bn(this.timeLine.progress);var Z=f&&"slider"==e.Playlist.kind;!function(e,t,n,r){var i;t.subscribe(function(e){e&&e.skip&&((0,W.ot)({cat:"skip",hit:"show",sub:e.type}),G.Z.skip.includes(e.type)&&n(e.end))});var o=t.map(function(e){return e&&(e.title||Ae.f[e.type])});e.mount(e.SkipSection,(0,q.vz)(q.If,{rx:t.map(function(e){return e&&e.skip})},(0,q.vz)("button",{class:[it.skip,(i={},(0,F.Z)(i,it.tv,V.xw),(0,F.Z)(i,it.up,r),i)],onClick:function(){var e=t.value;n(e.end),(0,W.ot)({cat:"skip",hit:"click",sub:e.type})}},(0,q.vz)("span",null,Ae.f.skip," ",o),(0,q.vz)("span",{class:it.skipIcon},we.qv.skip))))}(e,this.timeLine.section$,function(e){return a(null,e)},Z)}return(0,f.Z)(N,[{key:"updateLive",value:function(e){this.live&&this.live.update(e),(e?(0,q.Cp):(0,q.$Z))(this.remaining.el)}},{key:"makeTitle",value:function(e,t,n){t&&e.Title&&(this.titleEl=(0,q.vz)("div",{class:pt.title},t),this.titleMode(n),e.mount(e.Title,this.titleEl))}},{key:"titleMode",value:function(e){this.titleEl&&(e?this.titleEl.classList.add(Se.Z.hidden):this.titleEl.classList.remove(Se.Z.hidden))}},{key:"setDuration",value:function(e){this.duration=e,this.remaining.update(e,this.currentTime),this.timeLine.duration=e}},{key:"setCurrentTime",value:function(e){this.currentTime=e,this.remaining.update(this.duration,e),this.timeLine.time=e}},{key:"hide",value:function(){(0,q.Cp)(this.container)}},{key:"show",value:function(){(0,q.$Z)(this.container)}},{key:"errorMode",value:function(){var e,t;(0,q.Cp)(null===(e=this.share)||void 0===e?void 0:e.button),(0,q.Cp)(null===(t=this.sound)||void 0===t?void 0:t.button),this.show()}},{key:"usualMode",value:function(){var e,t;(0,q.$Z)(null===(e=this.share)||void 0===e?void 0:e.button),(0,q.$Z)(null===(t=this.sound)||void 0===t?void 0:t.button)}},{key:"destroy",value:function(){var e,t;null!==(e=this.pip)&&void 0!==e&&e.destroy(),delete this.pip,null!==(t=this.fold)&&void 0!==t&&t.destroy(),this.timeLine.destroy(),this.fullscreen.removeHandlers()}}],[{key:"makePanel",value:function(e){var t,n=(0,q.vz)("div",{class:[pt.controls,(t={},(0,F.Z)(t,pt.tv,V.xw),(0,F.Z)(t,pt.mobileOverlay,V.tq),(0,F.Z)(t,pt.innerIndent,e.ControlsPanel.innerIndent),(0,F.Z)(t,pt.gradient,e.ControlsPanel.gradient),t)]});return e.mount(e.ControlsPanel,n),this.makeBlocks(e),n}},{key:"makeBlocks",value:function(n){function e(e,t){return n.mount(n[e],(0,q.vz)("div",{class:t}))}var t;e("Top",pt.top),e("TopLeft",pt["top-left"]),e("TopRight",pt["top-right"]),e("NearCenter",pt.nearCenter),e("CenterRight",pt["center-right"]),e("BottomControls",pt.bottom),e("BottomInner",[pt["bottom-inner"],(0,F.Z)({},pt.bottomUp,null===(t=n.BottomInner)||void 0===t?void 0:t.up)]),e("BottomLeft",[pt["bottom-left"],(0,F.Z)({},pt.lower,n.BottomLeft.lower)]),e("BottomRight",[pt["bottom-right"],(0,F.Z)({},pt.lower,n.BottomRight.lower)])}}]),N}(),Yr=l(28916),Kr=l(56358),Jr=l.n(Kr),$r={injectType:"singletonStyleTag",insert:"head",singleton:!0},ei=(o()(Jr(),$r),Jr().locals||{});var ti=l(36310),ni=l.n(ti),ri={injectType:"singletonStyleTag",insert:"head",singleton:!0},ii=(o()(ni(),ri),ni().locals||{});function oi(e){for(var t in e){var n=e[t];(n||!1===n)&&0!=n.length&&"{}"!=JSON.stringify(n)||delete e[t]}}var ai=l(4970),si=l.n(ai),ci={injectType:"singletonStyleTag",insert:"head",singleton:!0},ui=(o()(si(),ci),si().locals||{});function li(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var fi=function(){function i(e,t){var n=this;(0,U.Z)(this,i),this._data={},this.url=t,this.ui=e;var r=this.ui.layout.BugReport.outlined;this.el=(0,q.vz)("div",{class:[zt.menu,zt.bug,zt.center,Se.Z.hidden],onClick:function(e){e.target==n.el&&n.hide()}},(0,q.vz)("div",{class:zt.inner},(0,q.vz)("div",{class:zt.header},(0,q.vz)("span",{class:zt.text},Ae.f.report),Wn(function(){return n.hide()},zt.close)),(0,q.vz)("div",{class:zt.body},(0,q.vz)("form",{onSubmit:function(e){return n.send(e)},noValidate:!0},(0,q.vz)("div",{class:ui.control},(0,q.vz)("div",{class:[ui.control,(0,F.Z)({},ui.outlined,r)]},(0,q.vz)("input",{type:"email",required:!0,class:ui.input,onInput:pi,ref:function(e){return n.email=e}}),(0,q.vz)(hi,{outlined:r},Ae.f.email)),(0,q.vz)("p",{class:ui.errorText,ref:function(e){return n.error=e}})),(0,q.vz)("div",{class:[ui.control,(0,F.Z)({},ui.outlined,r)]},(0,q.vz)("textarea",{rows:3,class:ui.input,onInput:pi,ref:function(e){return n.message=e}}),(0,q.vz)(hi,{outlined:r},Ae.f.describeProblem)),(0,q.vz)("div",{class:ui.control},(0,q.vz)("button",{class:[it.button,it.block,it.primary],type:"submit"},Ae.f.submit)))))),this.ui.layout.mount(this.ui.layout.BugReport,this.el)}return(0,f.Z)(i,[{key:"data",get:function(){var e=(0,D.WX)();return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?li(Object(n),!0).forEach(function(e){(0,F.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):li(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({v:"".concat(B.i8,"  sid: ").concat(W.nP),top:e===location.href?void 0:e,url:location.href,os:navigator.platform,ua:V.ua,support:be()},this._data)}},{key:"show",value:function(){var e;null!==(e=this.beforeShow)&&void 0!==e&&e.call(this),(0,q.$Z)(this.el),this.email.focus()}},{key:"hide",value:function(){return(0,q.WM)(this.el,!0)}},{key:"showAndFill",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{},r=n.season,i=n.episode;this.show(),this.fillFrom(e,r,i)}},{key:"send",value:function(e){var t=this;e.preventDefault();var n=this.email;if(n.checkValidity&&!n.checkValidity())return this.error.textContent=n.validationMessage.split(".")[0],n.parentElement.classList.add(ui.error),void n.focus();var r=new FormData;r.append("email",n.value),r.append("message",this.message.value),r.append("data",JSON.stringify(this.data)),fetch(this.url,{mode:"no-cors",method:"POST",body:r}).then(function(){t.ui.notify(Ae.f.sent),t.message.value="",t.message.parentElement.classList.remove(ui.filled)}),this.hide()}},{key:"fillFrom",value:function(e,t,n){var r,i,o,a=e.videoElement,s=a.src,c=a.error;c&&(this._data.mediaErr="".concat(c.code,": ").concat(c.message)),this._data.sourceErr=e.ui.badNews.errors;var u,l,f=null===(r=e.source.hls)||void 0===r?void 0:r.bandwidthEstimate,d=f?" bwe ".concat(di(f/8/1e3)," kB/s"):"";Object.assign(this._data,{src:"".concat(e.source.type," ").concat(null===(i=e.cp)||void 0===i?void 0:i.settings.currentQuality),time:ge(e.videoElement),episode:null==n?void 0:"".concat(t,":").concat(n),waiting:e.waitings_+" preBuf: ".concat(di(e.preBuffer)).concat(d," ").concat(V.Ek),droppedFrames:(u=e.videoElement,(null===(l=u.getVideoPlaybackQuality)||void 0===l?void 0:l.call(u).droppedVideoFrames)||u.webkitDroppedFrameCount||0),theme:e.theme.name}),le||(this._data.src+=" "+s),Object.assign(this._data,null===(o=e.source.p2p)||void 0===o?void 0:o.info),oi(this._data.loaded),oi(this._data)}}]),i}(),di=function(e){return e?e.toFixed(2):0},hi=function(e){var t=e.outlined,n=e.children;return[(0,q.vz)("div",{class:ui.label},n),t&&(0,q.vz)("fieldset",{"aria-hidden":"true",class:ui.notchedOutline},(0,q.vz)("legend",{class:ui.notchedOutlineLegend},(0,q.vz)("span",null,n)))]};function pi(e){var t=e.target,n=t.value,r=t.parentNode;r.classList.remove(ui.error),n?r.classList.add(ui.filled):r.classList.remove(ui.filled)}var vi=function(){function i(e,t,n){var r=this;(0,U.Z)(this,i),this._finalizer=new g,this.errorsBeforeBadNews=[],this.modals=new Ie,this.wrapper=e,this.player=t,this.layout=new Me.A(e,n.layout),this._finalizer.free=function(){return r.layout.destroy()},this.layout.onError=function(e){r.notify(e)},this.makeLoading(),V.tq||(e.onmousemove=function(){r.temporaryShow()}),this.playing$=Le(!t.videoElement.paused),this._subscribeToPlaying()}return(0,f.Z)(i,[{key:"hidden",get:function(){return this.playing$.value&&!this.wrapper.classList.contains(mi)}},{key:"destroy",value:function(){this._finalizer.free(),clearTimeout(this._activeTimer)}},{key:"_subscribeToPlaying",value:function(){var t=this;this.player.on("playing",function(){t.playing$.value=!0}),this.player.on("pause",function(){t.skipPauseEvent?t.skipPauseEvent=!1:t.playing$.value=!1}),this.playing$.subscribe(function(e){return t.wrapper.classList[e?"remove":"add"]("player-paused")})}},{key:"build2",value:function(e,t,n,r,i){var o,a,s,c,u,l,f,d=this,h=this.layout;this.bigVisible$=Le(!0),o=h,a=function(){return d.player.playPause("button click")},s=this.bigVisible$,c=this.playing$,o.PlayBig&&o.mount(o.PlayBig,(0,q.vz)(q.If,{rx:s},(0,q.vz)("div",{class:lt.playWrapper},(0,q.vz)("div",{class:(u={},(0,F.Z)(u,pt.up,o.PlayBig.up),(0,F.Z)(u,pt["center-left"],o.PlayBig.left),(0,F.Z)(u,pt.center,o.PlayBig.center),u)},(0,q.vz)("button",{onClick:a,class:[it.button,it.iconMD,(l={},(0,F.Z)(l,it.bgFillCircle,o.PlayBig.bg),(0,F.Z)(l,it.iconStart,o.PlayBig.left),l)]},c.map(function(e){return(0,q.dy)(e?we.qv.pauseBig:we.qv.playBig)}),(0,q.vz)(Je,{position:"right",pre:!0},c.map(function(e){return e?Ae.f.pause:Ae.f.play}))))))),this.makeAutoNext(e),V.tq&&(this.tapAnimation=new Ht(h)),this.loading.hide(),!V.xw&&h.ActionNotifier&&(this.actionNotifier=new Yt(h)),h.PlayBig.center&&null!==(f=this.actionNotifier)&&void 0!==f&&f.visible$.subscribe(function(e){return d.bigVisible$.value=!e}),this.badNews=new Pe(h,t),this.errorsBeforeBadNews.forEach(function(e){return d.badNews.add("[".concat(e.code,"] ").concat(e.message))}),this.errorsBeforeBadNews.length&&this.badNews.show(),V.xw?this.makeRadialMenu(n,r):h.ContextMenu&&this.makeContextMenu(i)}},{key:"error",value:function(e){e&&(this.badNews?this.badNews.add("[".concat(e.code,"] ").concat(e.message)).show():this.errorsBeforeBadNews.push(e))}},{key:"notify",value:function(e){var t,n,r,i,o,a;null!==(t=this._clearPrevNote)&&void 0!==t&&t.call(this),this._clearPrevNote=(n=this.wrapper,r=e,i=n.appendChild((0,q.vz)("div",{class:ii.alert},r)),o=setTimeout(function(){return i.classList.add(ii.fadeOutTop)},3e3),a=setTimeout(function(){return(0,q.Od)(i)},3500),function(){clearTimeout(o),clearTimeout(a),i.parentElement&&(0,q.Od)(i)})}},{key:"showAction",value:function(e,t){var n,r,i;null!==(n=this.actionNotifier)&&void 0!==n&&n.show(e,t),"timeSub"==e&&null!==(r=this.tapAnimation)&&void 0!==r&&r.play("left"),"timeAdd"==e&&null!==(i=this.tapAnimation)&&void 0!==i&&i.play("right")}},{key:"temporaryShow",value:function(){var e=this;V.xw&&Date.now()-this._lastActivityEnd<500||(this.wrapper.classList.add(mi),clearTimeout(this._activeTimer),this._activeTimer=setTimeout(function(){return V.tq&&e.modals.visible?e.temporaryShow():void e.hide()},B.ZP.delayControlsTimeout))}},{key:"hide",value:function(){var e;clearTimeout(this._activeTimer),this._lastActivityEnd=Date.now(),this.wrapper.classList.remove(mi),null!==(e=this.radialMenu)&&void 0!==e&&e.hide()}},{key:"makeLoading",value:function(){var e=this,t=new He(this.layout);this.player.on("waiting",function(){e.wrapper.classList.add(yi),t.show()});function n(){e.wrapper.classList.remove(yi),t.hide()}this.player.on("playing",n),this.player.on("canplay",n),this.player.on("seeked",n),this.loading=t}},{key:"makeBugReport",value:function(e){e&&(this.bugReport=new fi(this,e),this.modals.add(this.bugReport))}},{key:"makeContextMenu",value:function(e){var t=this;this.contextMenu=new Bt(this.layout,this.player.communication,e),this.wrapper.addEventListener("contextmenu",function(e){return t.contextMenu.show(e)}),this.modals.add(this.contextMenu,!0)}},{key:"makeAutoNext",value:function(e){var f=this,t=0<arguments.length&&void 0!==e?e:{},n=t.autoNext,r=void 0===n||n,d=t.next,h=t.changeEpisode;r&&d&&!V.tq&&this.player.once("endedSoon",function(){var e,t,n,r,i,o,a,s=f.player,c=s.remaining$,u=s.source;function l(){o||(o=!0,e.removeChild(a),i.onclick=null)}f._finalizer.free=(e=f.wrapper,t=h,n=d,r=c,a=(o=!1,q.vz)("div",{class:ei.wrap},(0,q.vz)("div",{class:ei.inner,onClick:function(e){e.stopPropagation(),l(),"BUTTON"!=e.target.tagName&&t(n)},ref:function(e){return i=e}},(0,q.vz)("span",{class:ei.content},(0,q.vz)("span",{class:ei.title,title:n.title},n.title),(0,q.vz)("span",{class:ei.footnote},Ae.f.nextIn,(0,q.vz)("span",{class:ei.count}," ",r," ",Ae.f.seconds))),(0,q.vz)("span",{class:ei.icon},we.qv.nextBig,(0,q.vz)("button",{class:ei.cancel},Ae.f.cancel)))),e.appendChild(a),r.subscribe(function(e){!o&&e<1&&(l(),t(n))}),l),u.on(u.events.fixEND,function(){return c.value=0})})}},{key:"makeRadialMenu",value:function(e,t){function n(e){r.player.shift(e)}var r=this,i=0<arguments.length&&void 0!==e?e:{},o=1<arguments.length&&void 0!==t&&t;n.time=B.ZP.rewind[1],this.radialMenu=new Et(this.layout,i,function(){return r.player.playPause("radial")},this.playing$,n,function(e){return r.player.videoElement.playbackRate=e},this.player.communication.requestReport,o),this.modals.add(this.radialMenu,!0);function a(){return r.radialMenu.updateRate(r.player.videoElement.playbackRate)}this.player.on("ratechange",a),a()}}],[{key:"makeBlockedPanel",value:function(e,t,n){var r=new Me.A(e,t.layout);return function(e,t){var n=1<arguments.length&&void 0!==t?t:{};(0,q.Ce)(e.wrapper,(0,q.vz)("div",{class:Ee.error},(0,q.vz)("div",{class:Ee.inner},(0,q.vz)("div",{class:Ee.icon},Yr),(0,q.vz)("div",{class:Ee.content},Ae.f.blocked)))),n.seasons&&null!=n.current.episode&&(Xr.makePanel(e),lr(e,n))}(r,n),function(){r.destroy()}}}]),i}(),mi="user-active",yi="loading";function gi(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}function bi(e,t,n){function o(t){return function(e){e.preventDefault(),n(t)}}(0,U.Z)(this,bi);var r=(0,q.vz)("div",{className:Ge()(Ei.recommendations,(0,F.Z)({},Ei.tv,V.xw))},(0,q.vz)("div",{className:Ei.inner},t.map(function(e){var t=e.id,n=e.name,r=e.poster,i=e.genre;return(0,q.vz)("div",{className:Ei.item},(0,q.vz)("a",{href:"#",className:Ei.thumbnail,onClick:o(t)},(0,q.vz)("div",{className:Ei.thumb,style:{backgroundImage:"url(".concat(r,")")}})),(0,q.vz)("a",{href:"#",className:Ei.title,onClick:o(t)},n),(0,q.vz)("div",{className:Ei.genre},i.map(function(e){return e.name}).slice(0,2).join(", ")))})),Wn(function(){return(0,q.Cp)(r)}));e.appendChild(r)}var _i,wi,Ai=function(e){(0,h.Z)(c,e);var s=gi(c);function c(e,t){var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:B.ZP.triggerProgress,i=3<arguments.length?arguments[3]:void 0,o=4<arguments.length&&void 0!==arguments[4]&&arguments[4];(0,U.Z)(this,c),(n=s.call(this,"pt")).doNotSaveProgress=i,n.id=e,n.key="vp.".concat(n.id);var a=+D.or.get(B.ZP.timeSearchParamName);return n.last=!o&&a||t||G.Z.getParsed(n.key,0),n.lastEmit=n.lastSaved=n.lastSeek=n.last,n.interval=r,n}return(0,f.Z)(c,[{key:"getCurrentTime",value:function(){return this.last}},{key:"update",value:function(e,t){function n(e){return(0,I.Hg)(i,e)}var r,i=Math.floor(e),o=n(this.last);o&&(this.last=i,4<o?this.lastSeek=i:(G.Z.totalTime+=o,n(this.lastSeek)<60||(!this.doNotSaveProgress&&n(this.lastSaved)>B.ZP.saveProgress&&(G.Z.set(this.key,i),this.lastSaved=i),n(this.lastEmit)>this.interval&&(this.lastEmit=i,this.emit("progress"),r=e/t*100,this.emit("relativeProgress",(0,wt.zC)(r,25)),this.emit("relativeProgress",(0,wt.zC)(r,33))))))}},{key:"clear",value:function(){this.doNotSaveProgress||(G.Z.remove(this.key),this.doNotSaveProgress=!0)}}]),c}(Y.Qz),ki=l(8053),xi=l.n(ki),Oi={injectType:"singletonStyleTag",insert:"head",singleton:!0},Ei=(o()(xi(),Oi),xi().locals||{}),Si=l(93867),Pi=function(e){_i=e.touches[0].clientY,wi=Date.now()},Ti=function(e){return V.IN&&(e.touches.length||_i!=e.changedTouches[0].clientY||Date.now()>wi+B.ZP.longPressTime)};function Ci(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function ji(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Li(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ji(Object(n),!0).forEach(function(e){(0,F.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ji(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ri(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var Ii=function(e){(0,h.Z)(o,e);var i=Ri(o);function o(n){var r;(0,U.Z)(this,o),(r=i.call(this,"pl"))._finalizer=new g;var t=new Te(n.container,n.aspectRatio,n.minWidth,n.mini);return r._finalizer.free=function(){return t.destroy()},r.wrapper=t.el,(0,Ae.e)(n.text,n.translations),("string"==typeof(r.config=n).playlist?fetch(n.playlist).then(function(e){return e.json()}):Promise.resolve(n.playlist)).then(function(e){var t;return e&&(n.playlist=e,(0,B.ro)(n,e),e.changeEpisode=function(e){return r.changeEpisode(e)}),B.ZP.copyFrom(n),(0,ee.l7)(Li(Li({},n.qualityByWidth),n.qbw)),V.xw&&(r.preventClick=!0),Z.ZP.preInit(B.ZP.p2p),t=n,ve.config=B.ZP,ve.opts=t,ve.o=t,r.wrapper.classList.remove(v.init),(0,we.jz)(n.theme)}).then(function(e){return r.theme=e,r.cssVars=n.cssVars,r._uiReady=!0,n.blocked?void(r._finalizer.free=vi.makeBlockedPanel(r.wrapper,e,n.playlist)):r.init(n,n.playlist)}).catch(function(e){console.log(e.stack),r.stats("error",{cat:"init",label:e.name||e.code||e}),t.showInitError(e,r._uiReady)}),r}return(0,f.Z)(o,[{key:"cssVars",set:function(e){(0,q.gR)(e,this.wrapper)}},{key:"volume",set:function(e){this.videoElement.muted&&(this.videoElement.muted=!1,this._lastMuted=!1),this._lastVolume=(0,wt.e$)(0,1,e),this.videoElement.volume=this._lastVolume}},{key:"time",set:function(e){var t=e<0?0:e,n=this.videoElement;n.src&&(n.currentTime=t,n.currentTime!=t&&this.once("timeupdate",function(){return n.currentTime=t})),n.paused&&this.cp&&this.cp.setCurrentTime(t)}},{key:"duration",get:function(){return this.source.isLiveDash?this.videoElement.currentTime+30:this.videoElement.duration}},{key:"buffered",get:function(){for(var e=this.videoElement.buffered,t=this.duration,n=[],r=0;r<e.length;r++)n.push([e.start(r)/t*100,100-e.end(r)/t*100]);return n}},{key:"preBuffer",get:function(){for(var e=this.videoElement,t=e.currentTime,n=e.buffered,r=0;r<n.length;r++){var i=n.end(r);if(n.start(r)<=t&&t<=i)return i-t}return 0}},{key:"init",value:function(i,o){try{var e,a,s=this,c=i.source,u=i.title,t=i.id,l=i.live;s.makeVideoElement(i.volume,l,i.poster,i.defaultPoster),s.ui=new vi(s.wrapper,s,s.theme),s._finalizer.free=function(){return s.ui.destroy()},s.trackPlayed(),s.trackWaiting(),l||(a=s.makeProgressTracker(t||u,i.time,i.trackProgress,i.doNotSaveProgress,i.ignoreUrlTime)),i._fallFromDash&&(delete i._fallFromDash,delete c.dash);var n=s.initSource(c,a,i.quality,t);return null!==(e=i.soundBlock)&&void 0!==e&&e.split(",").forEach(function(e){return s.source.blockAudio(e)}),s.source.live=l,Ci(n,function(e){var t;s.ui.makeBugReport(i.reportUrl),s.communication=new Re(s.ui,function(){return s.source.time}),s.ui.bugReport&&(s.communication.requestReport=function(){var e;s.ui.bugReport.showAndFill(s,null===(e=i.playlist)||void 0===e?void 0:e.current)}),s.makeControls(e,u,l,o,i),s.videoElement.playbackRate=G.Z.speed;var n=s.cp,r=s.source.audioList;r&&s.makeSoundtracks(r,n.settings),Array.isArray(c.cc)&&s.addSubtitles(c.cc,n.settings),a&&!s.source.hls&&(s.source.on(de.events.QUALITY,function(){return s.time=a}),s.time=a),setTimeout(function(){return n.setCurrentTime(a)}),s.once("canplay",function(){return s.bindNativeAudioToControls()}),V.xw||V.tq||s.listen(document,"keydown",function(e){return s.keysListener(e)}),s.ui.build2(i.playlist,n,e,l,null===(t=i.ui)||void 0===t?void 0:t.about),s.autoReplay(i.replay),(0,W.S8)(i.stats),s.initStats(),setTimeout(function(){return s.emit("ready")})})}catch(e){return Promise.reject(e)}}},{key:"listen",value:function(e,t,n){e.addEventListener(t,n),this._finalizer.free=function(){e.removeEventListener(t,n)}}},{key:"destroy",value:function(){var e;clearTimeout(this.pingTimer),this.removeAllListeners(),this._finalizer.free(),clearTimeout(this._deferredErrorTimer),null!==(e=this.theme)&&void 0!==e&&e.styles.unuse()}},{key:"initSource",value:function(e,t,n,r){var i=this,o=e.dash,a=e.hls,s=e.file,c=e.audio;if(!o&&!a&&!s)throw'no source provided (option "source")';var u=G.Z.get("player.quality")||n||0;return this.source=new de(this.videoElement,{dash:o,hls:a,file:s,time:t,quality:u},null==c?void 0:c.names,null==c?void 0:c.order,function(){var e;return null===(e=i.cp)||void 0===e?void 0:e.settings.currentQuality},r),this._finalizer.free=function(){var e;return null===(e=i.source)||void 0===e?void 0:e.destroy(!0)},this.source.trackStats(),this.source.initHlsMap=this.initHlsMap.bind(this),this.deferSourceInit?Promise.resolve():this.source.init()}},{key:"initHlsMap",value:function(i,e,t){try{var o=this,n=(0,ee.tx)(i,e),r=n.src,a=n.list,s=n.active;return o._tryIfSrcNotSupported=i.manifestUrl,Ci(o.source.initHls(r,t,i.manifestUrl),function(){o.source.ignoreLevels=!0;var n,e=(n=function(e){var t=o.videoElement,n=t.paused;o.source.emit(de.events.QUALITY_CHANGING),n&&!B.ZP.hls.autoStartLoad||o.ui.loading.show();var r=t.currentTime||o.source.time;return o.source.destroy(),o._tryIfSrcNotSupported=i.manifestUrl,Ci(o.source.initHls(i[e],r,i.manifestUrl),function(){o.source.hls?B.ZP.hls.autoStartLoad||(o.once("timeupdate",function(){return setTimeout(function(){return o.cp.setCurrentTime(r)})}),n||t.play()):t.play(),o.once("canplay",function(){r&&(o.time=r),n||t.play(),o.cp.settings.markSpeed(t.playbackRate)}),o.updateQuality(e)})},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(n.apply(this,e))}catch(e){return Promise.reject(e)}});return{list:a,active:s,change:e}})}catch(e){return Promise.reject(e)}}},{key:"makeVideoElement",value:function(e,t,n,r){var i=this,o=0<arguments.length&&void 0!==e?e:1,a=1<arguments.length&&void 0!==t&&t,s=2<arguments.length?n:void 0,c=3<arguments.length?r:void 0,u=G.Z.getParsed("player.volume",o);this._lastMuted=G.Z.getParsed("player.muted",!1),this._lastVolume=(0,wt.e$)(0,1,u);var l,f,d,h=(0,q.vz)("video",{controls:!1,autoplay:!1,playsinline:!0,crossOrigin:!0,muted:this._lastMuted,volume:this._lastVolume});function p(){return M(d,function(){return l.poster=d})}B.ZP.preventExternalSilencing&&this.on("volumechange",function(){h.volume<i._lastVolume&&(i.volume=i._lastVolume),h.muted&&!i._lastMuted&&i.toggleMute()}),V.tq?this.listenClicksOnMobile(h):h.onclick=function(e){return i.handleClick(e)},Ce.forEach(function(t){i.listen(h,t,function(e){i.emit(t,e)})}),this.on("error",function(){i.handleError()}),this.remaining$=Le(),this._finalizer.free=function(){i.remaining$.dispose()},a||this.on("timeupdate",function(){h.duration&&(i.remaining$.value=Math.floor(h.duration-h.currentTime),i.remaining$.value<B.ZP.endedSoon&&i.emit("endedSoon"))}),this.wrapper.appendChild((0,q.vz)("div",{class:v.video},h)),this.videoElement=h,l=this.videoElement,d=c,(f=s)?M(f,function(){return l.poster=f},d?p:null):d&&p()}},{key:"handleError",value:function(){var e,t,n=this.videoElement,r=n.error,i=n.src;if(4==(null==r?void 0:r.code)&&this._tryIfSrcNotSupported&&i.startsWith("data:"))return this.videoElement.src=this._tryIfSrcNotSupported,this._tryIfSrcNotSupported=null,this.config.recovered=Date.now(),void console.warn("try original m3u8");this.ui.error(r),!this.cp||(t=this.cp.settings.lowerQualityOnTV())&&null!==(e=this.ui.radialMenu)&&void 0!==e&&e.updateQuality(t),console.warn("recover"),this.recover()}},{key:"handleClick",value:function(e){var t;this.ui.modals.hide()||(null!==(t=this.ui.radialMenu)&&void 0!==t&&t.hidden&&!this.preventClick?this.ui.radialMenu.show(e):(this.playPause("area click"),this.preventClick=!1))}},{key:"listenClicksOnMobile",value:function(o){var a,s,c=this;V.IN&&(o.ontouchstart=function(e){return Pi(e)}),o[V.IN?"ontouchend":"onclick"]=function(e){var t,n,r,i;Ti(e)||(V.IN&&e.preventDefault(),c.ui.modals.hide()||(t=Date.now()-a<300,a=Date.now(),t?c.source.isLiveDash||(clearTimeout(s),n=(V.IN?e.changedTouches[0]:e).clientX,r=(0,H.Z)(B.ZP.rewind,1)[0],c.shift(n<o.offsetWidth/2?-r:r)):(i=c.ui.hidden?function(){return c.ui.temporaryShow()}:function(){return c.playPause("area click")},s=setTimeout(i,300))))}}},{key:"trackWaiting",value:function(){var t=this;this.waitings_=0;var n=!1;this.on("seeking",function(){return n=!0}),this.on("seeked",function(){return n=!1}),this.on("waiting",function(){var e;n||t.stats("waiting",{type:null===(e=t.source)||void 0===e?void 0:e.type,value:++t.waitings_})})}},{key:"makeControls",value:function(e,t,n,r,i){var o=this,a=this.videoElement,s=this.cp=new Xr(this.ui.layout,function(){return o.playPause("button click")},this.emit.bind(this),function(){return o.toggleMute()},function(e){return o.volume=e},function(e){return o.volume=a.volume+e},function(e,t){return o.seek(e,t)},{list:Array.isArray(i.speed)?i.speed:B.ZP.speed,change:function(e){return a.playbackRate=e}},this.ui.playing$,this.communication,n&&function(){return o.toLive()},r,e,t,a,i);this.bindToControls(s),this.bindSourceToUi(s.settings,s.timeLine),this.source.p2p&&(this.source.p2p.uiSlot=s.container),[s.settings,s.share,s.playlist,s.message,s.aboutMenu,s.fold].forEach(function(e){return o.ui.modals.add(e)}),this._finalizer.free=function(){return s.destroy()}}},{key:"bindToControls",value:function(r){var i=this,o=this.videoElement;this.on("timeupdate",function(){r.setCurrentTime(o.currentTime);var e=i.source,t=e.isLiveDash,n=e.hls;t?r.setDuration(i.duration):n&&r.updateLive(i.videoElement.currentTime>n.liveSyncPosition-30)}).on("durationchange",function(){r.setDuration(i.duration),i.duration||o.addEventListener("timeupdate",function e(){o.duration&&(r.setDuration(o.duration),o.removeEventListener("timeupdate",e))})}),this.on("progress",function(){return r.buffered.update(i.buffered)}).on("ratechange",function(){return r.settings.markSpeed(o.playbackRate)}).on("volumechange",function(){return r.sound.update(o.muted,o.volume)}),r.pip&&this.once("loadedmetadata",function(){return r.pip.videoReady()}),r.sound.update(o.muted,o.volume),V.xw||V.tq||(o.ondblclick=function(){return r.fullscreen.toggle()}),V.xw||this.source.isLiveDash||this.addMobileFriendlyProgress(r)}},{key:"bindSourceToUi",value:function(r,e){var i,o=this,a=this.source;!1===B.ZP.ui.timeline?e.hide():a.hls&&(e.hide(),this.once("loadedmetadata",function(){return e.show()})),a.on(de.events.ERROR,function(e){var t,n;o.ui.loading.hide(),o.ui.badNews.add("".concat(e.by," [").concat(e.code,"] ").concat(e.message)),o._fallback(e)||(i||(o.deferSourceErrorUntilVideoBreak(),i=!0),(n=r.lowerQualityOnTV())&&null!==(t=o.ui.radialMenu)&&void 0!==t&&t.updateQuality(n),a.once(de.events.FRAG_LOADED,function(e){"video"!==e.type&&"main"!==e.type||o.ui.badNews.hide()}))}).once(de.events.NO_ALT_AUDIO,function(){return Pn(o.ui.layout,a.url)}).on(de.events.AUDIO_LIST,function(e){return o.makeSoundtracks(e,r)}).on(de.events.AUDIO_SWITCH,function(e){return r.markSound(e)}).on(de.events.QUALITY,function(e){var t;r.makeQuality(e),r.button.setIcon(e.active),null!==(t=o.ui.radialMenu)&&void 0!==t&&t.makeQuality(e)}).on(de.events.HLS_QUALITY_CHANGING,function(){o.videoElement.paused||(o.ui.loading.show(),o.ui.skipPauseEvent=!0)}).on(de.events.QUALITY_CHANGING,function(){return o.ui.badNews.hide()}).on(de.events.LEVEL_SWITCH,function(e){o.updateQuality(null,e),o.ui.loading.hide(),o.ui.badNews.hide(),i=!1,clearTimeout(o._deferredErrorTimer)})}},{key:"_fallback",value:function(e){if("dash"===e.by&&e.message.includes("PIPELINE_ERROR_DECODE")){var t=this.config.source,n=t.hls,r=t.file;if(!n&&!r)return!1;var i=this.videoElement,o=i.paused,a=i.currentTime,s=this.renew(Li(Li({},this.config),{},{time:a,_fallFromDash:!0}));return o||s.play(),!0}}},{key:"deferSourceErrorUntilVideoBreak",value:function(){function t(){var e=n.videoElement.currentTime;n._deferredErrorTimer=setTimeout(function(){e==n.videoElement.currentTime?n.ui.badNews.show():n.ui.badNews.hide(),t()},1e3)}var n=this;this.on("pause",function(){return clearTimeout(n._deferredErrorTimer)}),this.on("play",t),this.videoElement.paused||t()}},{key:"makeSoundtracks",value:function(e,t){var n=this.source,r=e.find(Si.W);if(r)return n.defaultAudio=e.findIndex(Si.W),t.makeSoundtrack([r],function(e){return e});n.defaultAudio=G.Z.getDefaultTrackIndex(e),t.makeSoundtrack(e,function(e){return n.audio=e},n.defaultAudio)}},{key:"bindNativeAudioToControls",value:function(){var e,t,n,r,i=this.videoElement.audioTracks,o=this.source;null==i||!i.length||o.hls||o.dash||(o.transformAudioList(Array.from(i,function(e){return e.label})),(e=o.audioList).filter(Boolean).length&&(t=o.audioIndexToOriginal(G.Z.getDefaultTrackIndex(e)),n=function(e){return i[o.audioIndexToOriginal(e)].enabled=!0},(r=e.find(Si.W))?this.cp.settings.makeSoundtrack([r],function(e){return e}):this.cp.settings.makeSoundtrack(e,n,t),e.length&&n(t)))}},{key:"addSubtitles",value:function(e,t){var n=this;e.forEach(function(e){return n.videoElement.appendChild((0,q.vz)("track",{label:e.name,src:e.url}))});var r,i,o,a=this.videoElement.textTracks;null!=a&&a.length&&(r=Array.from(a),i=function(t){r.forEach(function(e){return e.mode=e.label==t?"showing":"hidden"}),G.Z.set("player.cc",t)},t.makeCC(e.map(function(e){return e.name}),i),a.onchange=function(){var e=r.findIndex(function(e){return"showing"===e.mode});t.markCC(e),n.source.hls&&(n.source.hls.subtitleDisplay=-1<e)},(o=G.Z.get("player.cc"))&&i(o))}},{key:"updateQuality",value:function(e,t){var n,r,i;null!==(n=this.ui.radialMenu)&&void 0!==n&&n.updateQuality(e,t),null===(r=this.cp)||void 0===r||null!==(i=r.settings)&&void 0!==i&&i.updateQuality(e,t)}},{key:"play",value:function(){this.videoElement.play(),clearTimeout(this.pingTimer),V.xw&&A(this.wrapper.parentElement),this.ui.playing$.value=!0,this.ui.hide()}},{key:"pause",value:function(){this.videoElement.pause(),this.stats("pause"),this.pausePing()}},{key:"playPause",value:function(e){this.videoElement.paused?(this.play(),this.emit("playBy",e)):this.pause(),this.ui.modals.hide(this.ui.radialMenu)}},{key:"pausePing",value:function(){var e=this;clearTimeout(this.pingTimer),this.pingTimer=setTimeout(function(){e.stats("pausePing"),e.pausePing()},B.ZP.pausePing)}},{key:"toggleMute",value:function(){var e=this.videoElement,t=e.muted;0===e.volume&&(e.volume=.1,!t)||(e.muted=!t,this._lastMuted=!t)}},{key:"seek",value:function(e,t){if(t)return this.time=t;var n=this.videoElement;if("string"!=typeof e){if(!n.duration)return n.currentTime=0;var r=n.duration*e;isFinite(r)&&(this.time=(0,wt.Nb)(r,B.ZP.preview.interval,n.duration))}else{if(me(e))return;var i=(0,I.Qc)(e);i&&(n.currentTime=i)}}},{key:"shift",value:function(e){this.source.isLiveDash||(this.time=this.videoElement.currentTime+e,e<0?this.ui.showAction("timeSub",-e):this.ui.showAction("timeAdd",e))}},{key:"toLive",value:function(){this.source.hls&&(this.videoElement.currentTime=this.source.hls.liveSyncPosition)}},{key:"keysListener",value:function(e){var t=e.target.nodeName;if("INPUT"!==t&&"TEXTAREA"!==t&&("BODY"===t||this.hasNode(e.target))){var n=this.ui,r=this.videoElement,i=e.shiftKey?B.ZP.rewind[1]:B.ZP.rewind[0];switch(e.code||e.key){case"ArrowUp":e.preventDefault(),this.volume=r.volume+.1,n.showAction("volumeUp");break;case"ArrowDown":e.preventDefault();var o=r.volume-.1;this.volume=o<.05?0:o,n.showAction(r.volume?"volumeDown":"volumeOff");break;case"ArrowRight":this.shift(i);break;case"ArrowLeft":this.shift(-i);break;case"KeyL":var a=this.source.audioList,s=void 0===a?[]:a;if(s.length<2||s.find(Si.W))break;var c=this.source.nextAudio();n.showAction(s[c]);break;case"KeyM":this.toggleMute(),n.showAction(r.muted?"volumeOff":"volumeOn");break;case"KeyF":this.cp.fullscreen.toggle();break;case"Space":e.preventDefault(),this.playPause("key"),n.showAction(r.paused?"pause":"play")}}}},{key:"hasNode",value:function(e){for(var t=e;t.parentElement;){if(t===this.wrapper)return!0;t=t.parentElement}return!1}},{key:"makeProgressTracker",value:function(e,t,n,r,i){var o=this,a=new Ai(e,t,n,r,i);this.on("ended",function(){return a.clear()}),this.on("endedSoon",function(){return a.clear()});var s=this.videoElement;return this.on("timeupdate",function(){return a.update(s.currentTime,s.duration)}),a.on("progress",function(){return o.emit("viewProgress",s.currentTime,s.duration)}),a.on("relativeProgress",function(e){return o.emit("progress ".concat(e,"%"))}),a.getCurrentTime()}},{key:"trackPlayed",value:function(e){var i=this,o=0<arguments.length&&void 0!==e?e:25;this.on("timeupdate",function e(){var t=i.videoElement,n=t.played,r=t.duration;if(!n)return i.off("timeupdate",e);!r||z(n)/r*100<o||(i.emit("played ".concat(o,"%")),i.off("timeupdate",e))})}},{key:"addMobileFriendlyProgress",value:function(i){function o(){return Date.now()-f<400}var a,s,c,u,l,f,d=this,h=this.wrapper,p="ontouchstart"in h;h[p?"ontouchstart":"onmousedown"]=function(e){var t;p&&1<e.touches.length?a=!1:(s=a=!0,f=Date.now(),c=h.getBoundingClientRect(),t=p?e.changedTouches[0]:e,u=t.clientX-c.left,l=t.clientY-c.top)},this.listen(h,p?"touchmove":"mousemove",function(e){if(a){var t=p?e.changedTouches[0]:e,n=Math.abs(t.clientX-c.left-u),r=Math.abs(t.clientY-c.top-l);if(s){if(n<r)return void(a=!1);s=!1}e.preventDefault(),p&&d.ui.temporaryShow(),30<n&&!o()&&i.timeLine.showOverlay(),i.timeLine.updateOverlay((t.clientX-c.left)/h.clientWidth)}}),h[p?"ontouchend":"onmouseup"]=function(e){var t,n,r;a&&(a=!1,i.timeLine.hideOverlay(),t=c?c.left:0,n=(p?e.changedTouches[0]:e).clientX-t,V.IN&&n==u&&Date.now()>f+B.ZP.longPressTime?d.ui.contextMenu.show(e):Math.abs(n-u)<30||(e.preventDefault(),o()||(r=n/h.clientWidth,d.seek(r),i.timeLine.update(r))))}}},{key:"changeEpisode",value:function(e){var t=!1!==this.config.playlist.autoPlay,n=Li(Li({},this.config),{},{time:.01,ignoreUrlTime:!0,autoplay:t}),r={id:e.id,season:e.season,episode:e.episode};Object.assign(n.playlist,{open:!1,current:r}),G.Z.saveLast(n.playlist,r),this.emit("playlistItem",e);var i=this.renew(n);t&&i.once("canplay",function(){return i.play()})}},{key:"recover",value:function(){var e=Date.now(),t=this.config.recovered,n=void 0===t?0:t;this.source.hls||this.source.dash||e-n<B.ZP.recoverThrottle||this.renew(Li(Li({},this.config),{},{recovered:e,time:this.videoElement.currentTime}))}},{key:"renew",value:function(e){var t;this.destroy();var n=new this.constructor(e);return n.onRenew=this.onRenew,null!==(t=this.onRenew)&&void 0!==t&&t.call(this,n),n}},{key:"showRecommendations",value:function(e){var t,n=this;null!==(t=this.config.playlist)&&void 0!==t&&t.next||(new bi(this.wrapper,e,function(e){return n.emit("selectRecommendation",e)}),this._wasRecommended=!0)}},{key:"autoReplay",value:function(e){var t=this;e&&!this.cp.playlist&&this.on("ended",function(){t._wasRecommended||setTimeout(function(){return t.play()})})}},{key:"stats",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{};(0,W.ot)(Li({hit:e},n))}},{key:"initStats",value:function(){var t=this;this.stats("init",{type:this.source.type,label:this.source.p2p?"p2p":""});function n(){return{time:t.videoElement.currentTime}}this.once("play",function(){return t.stats("play",n())}),this.on("playing",function(){return t.stats("playing",n())}),this.on("playBy",function(e){return t.stats("playBy",Li({sub:e},n()))});function r(e){return t.stats("error",{cat:"native",sub:e.code||e.name,label:e.message||"",time:t.videoElement.currentTime,video_id:t.config.id})}this.on("error",function(){var e=t.videoElement.error;e&&r(e)}),this.ui.errorsBeforeBadNews.forEach(r)}}]),o}(Y.Qz),Mi=l(16134),zi=l.n(Mi),Di=l(51463),Bi=l.n(Di),Zi=function(){function e(){(0,U.Z)(this,e)}return(0,f.Z)(e,[{key:"destroy",value:function(){var e=this.el,t=this.container;e.parentNode===t&&t.removeChild(e)}}]),e}(),Ni=l(10623),Fi=l(56657),Ui=l(27288),Hi=l.n(Ui),qi={injectType:"singletonStyleTag",insert:"head",singleton:!0},Vi=(o()(Hi(),qi),Hi().locals||{});function Wi(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var Gi=function(e){return"".concat(Ae.f.skipAd).concat(Ae.f.after," ").concat(e," ").concat(Ae.f.sec)},Qi=function(){(0,h.Z)(c,Zi);var s=Wi(c);function c(e,t){var n,r=t.time,i=t.ready,o=t.skip;(0,U.Z)(this,c),(n=s.call(this)).container=e,n.remainingTime=r,n.tickPassed=0,n.ready=i,n.el=(0,q.vz)("div",{class:Vi.skip},(0,q.vz)("div",{className:Vi.progress},Ni),(0,q.vz)("span",{ref:function(e){return n.remainingEl=e}},Gi(r)));var a=n.el.getElementsByClassName("venom-player-slice")[0];return a&&(a.style.animationDuration="".concat(r,"s")),e.appendChild(n.el),n.button=(0,q.vz)("button",{className:Vi.skip,onClick:o},(0,q.vz)("span",null,Ae.f.skipAd),Fi),n}return(0,f.Z)(c,[{key:"scheduleTick",value:function(){var t=this;this.tickStart=Date.now(),this.timer=setTimeout(function(){var e=--t.remainingTime;if(t.remainingEl.innerHTML=Gi(e),e)return t.scheduleTick();t.ready(),(0,q.gx)(t.el,t.button),t.el=t.button},1e3-this.tickPassed),this.tickPassed=0,this.el.classList.remove(Vi.paused)}},{key:"pause",value:function(){this.tickPassed=Date.now()-this.tickStart,clearTimeout(this.timer),this.el&&this.el.classList.add(Vi.paused)}},{key:"destroy",value:function(){clearTimeout(this.timer),(0,r.Z)((0,d.Z)(c.prototype),"destroy",this).call(this)}}]),c}();function Xi(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var Yi=function(){(0,h.Z)(r,Zi);var n=Xi(r);function r(e){var t;return(0,U.Z)(this,r),(t=n.call(this)).container=e,t.el=(0,q.vz)("div",{style:{position:"absolute",height:"".concat(V.xw?8:4,"px"),bottom:0,backgroundColor:"yellow",transition:"width .1s linear"}}),e.appendChild(t.el),t}return(0,f.Z)(r,[{key:"update",value:function(e){this.el.style.width="".concat(100*e,"%")}}]),r}();function Ki(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var Ji=function(){(0,h.Z)(o,Zi);var i=Ki(o);function o(e,t,n){var r;return(0,U.Z)(this,o),(r=i.call(this)).container=e,r.imp=t,r.maxImp=n,r.el=(0,q.vz)("span",{class:Ge()(Vi.remaining,(0,F.Z)({},Vi.tv,V.xw))}),e.appendChild(r.el),r}return(0,f.Z)(o,[{key:"update",value:function(e){var t=1<e?Math.floor(e):"",n=this.maxImp?"/".concat(this.maxImp):"";this.el.textContent="".concat(Ae.f.ad," ").concat(this.imp).concat(n," ").concat(t)}}]),o}();function $i(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var eo={position:"absolute",color:"#000000",cursor:"pointer",bottom:"18%",padding:"10px","font-size":"12px","background-color":"#ffffff","-webkit-box-shadow":"0 2px 8px 0 rgba(0, 0, 0, 0.4)","box-shadow":"0 2px 8px 0 rgba(0, 0, 0, 0.4)"},to=function(){(0,h.Z)(a,Zi);var o=$i(a);function a(e,t){var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:B.h0.toLongSkip,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1;return(0,U.Z)(this,a),(n=o.call(this)).container=e,n.el=(0,q.vz)("button",{onClick:t,style:eo,class:Se.Z.hidden},Ae.f.skipAd),e.appendChild(n.el),n._wait=i*r*1e3,n.resume(),n}return(0,f.Z)(a,[{key:"resume",value:function(){var e=this;this._started=Date.now(),this.timer=setTimeout(function(){return e.el.classList.remove(Se.Z.hidden)},this._wait)}},{key:"pause",value:function(){clearTimeout(this.timer),this._wait-=Date.now()-this._started}},{key:"destroy",value:function(){clearTimeout(this.timer),(0,r.Z)((0,d.Z)(a.prototype),"destroy",this).call(this)}}]),a}(),no=function(e){return new Me.A(e,(0,q.vz)(Me.V.root,null,(0,q.vz)(Me.V.Sound,{vertical:!0}),(0,q.vz)(Me.V.FullScreen,null)))},ro=function(){function d(e,t,n,r,i){var o,a=this,s=5<arguments.length&&void 0!==arguments[5]?arguments[5]:{},c=6<arguments.length?arguments[6]:void 0,u=7<arguments.length?arguments[7]:void 0,l=8<arguments.length?arguments[8]:void 0;(0,U.Z)(this,d),this.container=e,this.toLongSkip=new to(e,function(){return t.stopAd()},c,l),s.time?(this.skip=new Qi(e,s),t.on("AdPaused",function(){return a.skip.pause()}),o=function(){a.skip.scheduleTick(),a.toLongSkip.destroy()},t.on("AdPlaying",o),t.on("AdVideoStart",o)):(t.on("AdPaused",function(){return a.toLongSkip.pause()}),t.on("AdPlaying",function(){return a.toLongSkip.resume()})),this.progress=new Yi(e),this.remaining=new Ji(e,u,l),t.on("AdImpression",function(){return a.remaining.imp++}),this.right=(0,q.hi)(Ge()(Vi.right,(0,F.Z)({},Vi.tv,V.xw)));var f=no(this.right);this.makeSound(t,n,f),k(r)&&(this.fullscreen=new wn(f,r,i,B.ZP.ui.fullscreen)),e.appendChild(this.right),this.interval=setInterval(function(){return a.update(t)},200)}return(0,f.Z)(d,[{key:"makeSound",value:function(t,e,n){var r=e,i=new hn(n,function(){0===t.adVolume?t.adVolume=0===r?1:r:(r=t.adVolume,t.adVolume=0)},function(e){return t.adVolume=e},function(e){return t.adVolume=(0,wt.e$)(0,1,t.adVolume+e)},!1);i.update(!1,e),t.on("AdVolumeChange",function(){return i.update(!1,t.adVolume)})}},{key:"update",value:function(e){this.remaining.update(e.adRemainingTime);var t=-1<e.adRemainingTime&&0<e.adDuration?1-e.adRemainingTime/e.adDuration:0;this.progress.update(t)}},{key:"destroy",value:function(){var e,t;clearInterval(this.interval),null!==(e=this.skip)&&void 0!==e&&e.destroy(),this.toLongSkip.destroy(),this.progress.destroy(),this.remaining.destroy(),null!==(t=this.fullscreen)&&void 0!==t&&t.removeHandlers(),this.right.parentNode===this.container&&this.container.removeChild(this.right)}}]),d}(),io=B.h0.debug?{log:console.log.bind(console,"[ad]"),warn:console.warn.bind(console,"[ad]")}:{log:oo,warn:oo};function oo(){}var ao=l(75598),so=l.n(ao),co={injectType:"singletonStyleTag",insert:"head",singleton:!0},uo=(o()(so(),co),so().locals||{});function lo(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function fo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lo(Object(n),!0).forEach(function(e){(0,F.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ho(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.Z)(r);return t=i?(e=(0,d.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.Z)(this,t)}}var po=function(){(0,h.Z)(n,Ii);var t=ho(n);function n(r){var i;if((0,U.Z)(this,n),(i=t.call(this,r)).isPlayAllowed=!0,i.counters={impression:0,middleRoll:1,nonLinear:1},!r.ads||B.h0.disable||V.xw&&!r.ads.tv)return i.once("ready",function(){return i._start(r.autoplay,"no-ads")}),(0,u.Z)(i);V.xw&&(i.deferSourceInit=!0),i.debugAdsMode=B.h0.debug,i.ads=fo({},r.ads),i.lastAd=0,parent.postMessage({event:"confirmAd"},"*");var e=new Promise(function(t){var e;if(null===(e=r.ads.confirmOn)||void 0===e||!e.includes(D.Kn))return t();i.debugAdsMode&&console.time("confirmAd");var n=setTimeout(t,i.ads.confirmTimeout||1e3);addEventListener("message",i.confirmAdListener=function(e){if("adFree"===e.data.event){if(i.debugAdsMode&&console.timeEnd("confirmAd"),!e.data.free)return t();clearTimeout(n),r.autoplay&&i.play()}})});return i.once("ready",function(){return e.then(function(){i._start(!1,"ok"),i._initAds(r.autoplay,r.live),r.autoplay&&i.play()})}),i}return(0,f.Z)(n,[{key:"_start",value:function(e,t){var n=this;e&&this.play();function r(){(0,W.ot)({hit:"start",video_id:n.config.id,label:t}),n.emit("start")}this.videoElement.paused?this.onPlay=Bi()(r):r()}},{key:"_initAds",value:function(e,t){var n,r=this;if(io.log("init, v"+B.i8),this.ads.labelCounters={},this.makeAdPanel(),this.configureForNativeFullScreen(),this.ads.seeds?this.playAd(vo,e):this.schedulePre(this.ads.unreliablePre?mo:yo,e),this.ads.download&&null!==(n=this.cp)&&void 0!==n&&n.download&&(this.cp.download.onConfirmed=function(){return r.playDownloadRoll()}),!V.xw)if(this.initNonLinearAndMid(),t){if(V.xw||V.tq)return;var i=(this.ads.fly||{}).offset,o=void 0===i?B.h0.flyOffset:i;this.scheduleFlyRoll(o)}else{this.on("durationchange",function e(){r.videoElement.duration&&(r.makePostRoll(),r.off("durationchange",e))})}}},{key:"configureForNativeFullScreen",value:function(){var e,t,n,r,i=this;k(this.wrapper)||((t=this.cp.fullscreen).toggle=function(){!i.isAds||t.external?i.wasPlay||t.external?t.constructor.prototype.toggle.call(t):i.play():i.ui.notify(Ae.f.fullscreenVsAd)},(n=this.ads.pre)&&n.doubleOnNativeFullScreen&&(n.maxImpressions<2&&(n.maxImpressions=2),1===(null===(e=n.urls)||void 0===e?void 0:e.length)&&((r=n.urls[0]).includes("maximp=")&&!r.includes("maximp=1")||(n.urls=[r,r]))))}},{key:"suppressAd",value:function(e){var t,n,r;return!(null===(t=this.cp)||void 0===t||null===(n=t.pip)||void 0===n||!n.inPicture)||(w()==this.videoElement?null===(r=this.ads[e])||void 0===r||!r.exitFullscreenVideo||void O():void 0)}},{key:"prepareRoll",value:function(e){e!==vo?(this.ads.rolls=fo({type:e},this.ads[e]),this._copyOrReplaceUrls()):this.ads.rolls={urls:[this.ads.seeds],isSeeds:!0}}},{key:"_copyOrReplaceUrls",value:function(){var e=this.ads.rolls.urls,t=void 0===e?[]:e;this.ads.rolls.urls="replace"==this.debugAdsMode?t.map(function(){return B.h0.testLinear}):(0,c.Z)(t)}},{key:"_lazyGetUrls",value:function(){this.ads.rolls.getUrls&&(this.ads.rolls.urls=this.ads.rolls.getUrls(),this.ads.rolls.getUrls=null,this._copyOrReplaceUrls())}},{key:"initNonLinearAndMid",value:function(){var e=this,t=this.ads.nonLinear||{};(this.ads.nonLinear=t).url="replace"==this.debugAdsMode?B.h0.testNonLinear:t.url;var n=this.ads.midThenNonLinear?function(){return e.scheduleMiddleRoll()}:function(){return e.scheduleNonLinear()};this.once("playing",n)}},{key:"schedulePre",value:function(e,t){var n=this;this.adOnPlay=function(){n.adOnPlay=null,n.playAd(e,t)}}},{key:"play",value:function(){var e,t;this.isAds&&_o==this.ads.rolls.type||(this.wasPlay=!0,null!==(e=this.onPlay)&&void 0!==e&&e.call(this),(t=this.adOnPlay)&&(t(),this.lastAd=Date.now(),V.xw&&A(this.wrapper.parentElement)),this.isPlayAllowed&&(0,r.Z)((0,d.Z)(n.prototype),"play",this).call(this))}},{key:"makeAdPanel",value:function(){var e=(0,q.hi)([uo.panel,uo.hidden]);this.wrapper.appendChild(e),this.adElement=e}},{key:"playAd",value:function(e,t){var n,r,i=this;e&&this.prepareRoll(e),this._lazyGetUrls();var o,a=this.ads.rolls,s=a.urls,c=a.label,u=a.isSeeds,l=a.type,f=a.maxImpressions,d=a.vast,h=s.shift();if(!h&&mo==l&&0===this.counters.impression)return io.log("fallback unreliablePre to pre"),void this.playAd(yo,t);if(!h||this.counters.impression>=f){io.warn("no_ads");var p,v,m=u&&0===this.counters.impression,y=go==l&&0===this.counters.impression;return this.resumeAfterAd(),m?(this.emit("no_seeds"),this.schedulePre(yo,t)):(this.emit("no_ads"),v=V.xw?this.source.deferredInit():Promise.resolve(),(this.isPlayedBeforeAds||t)&&v.then(function(){return i.play()}),null!==(p=this.cp.pip)&&void 0!==p&&p.enable()),y&&this._fallbackMiddleToNonLiner(),void(_o===l&&(this._leastOnceAdParsed?this.cp.download.startLoad():this.cp.message.show(Ae.f.disableAdBlock)))}this.isAds=!0,this.lastAd=Date.now(),null===(n=this.cp)||void 0===n||null!==(r=n.pip)&&void 0!==r&&r.disable();var g=fo(fo({skipHandler:function(e,t,n,r){return o={time:t,ready:n,skip:r}},disableVolumeCheck:!0},d||this.ads.vast),{},{maxImp:f});io.log("instantiate",this.adElement,g);var b,_=new("function"==typeof he?he:zi())(this.adElement,g),w=this.addLabel(h,c);this.setAdListeners(_,"linear",w);var A,k=!this.videoElement.paused||u||l===yo?this.ads.volume||1:.02;_.once("AdStarted",function(){if(!u){V.xw||i.adMode(l);try{b=new ro(i.adElement,_,k,i.wrapper,function(e){return i.emit(e)},o,i.ads.toLongSkip,i.counters.impression,f)}catch(e){io.warn("control's build error",e)}}}),mo===l&&(A=setTimeout(function(){io.warn("break to long unreliablePre selection"),i.prepareRoll(yo),_.stopAd()},1e3*B.h0.unreliablePreTimout));var x=Bi()(function(e){io.warn("end",e),clearTimeout(A),null!==b&&void 0!==b&&b.destroy(),i.adElement.classList.remove(uo.impression),i.playAd(null,t)});_.once("AdError",x),_.once("AdStopped",x),_.on("AdImpression",function(){i.counters.impression++,i.adElement.classList.add(uo.impression),clearTimeout(A)}),this.loadVAST(_,w,k,l,u)}},{key:"loadVAST",value:function(e,t,n,r,i){var o=this;this.isPlayAllowed&&(this.isPlayedBeforeAds=!this.videoElement.paused),V.xw&&(this.isPlayedBeforeAds=!0,this.source.destroy(),this.ui.badNews.hide());var a=this._makeRollName(r);this._linearStats(e,a,t);var s=Date.now();wo("request",a,{url:t}),e.load(t).then(function(){wo("response",a,{url:t,time:Date.now()-s}),io.log("load ok"),e.adVolume=n,o.isPlayAllowed&&((i||V.xw)&&o.adMode(),(i||V.xw&&(r===yo||mo===r))&&(o.isPlayedBeforeAds=!0),V.xw&&o.videoElement.removeAttribute("poster")),e.startAd().then(function(){return io.log("startAd ok")}).catch(function(e){return io.warn("startAd error",e)})}).catch(function(e){return io.warn("load error",e)})}},{key:"_makeRollName",value:function(e){if(e)return e!==go?e:this.videoElement.paused?"pauseMiddle":go+this.counters.middleRoll++}},{key:"_linearStats",value:function(e,o,a){var s,c,t,n=this;e.once("AdParsed",function(){s=n._leastOnceAdParsed=!0,wo("parsed",o,{url:a})}).once("preload",function(){t=Date.now(),wo("jsLoad",o,{url:a})}).once("JSLoaded",function(){c=!0,wo("jsLoaded",o,{url:a,time:Date.now()-t})}).once("AdError",function(e){function n(e){var t=e.data;t&&"playlist hooker is here"==t.response&&r(t.blocked)}var r,i,t;s?c||wo("noJsErr",o,{url:a,label:e}):(wo("reqErr",o,{url:a,label:e}),yo==o&&(t=new Promise(function(e,t){r=e,addEventListener("message",n),i=setTimeout(t,555)}).finally(function(){removeEventListener("message",n),clearTimeout(i)}),top.postMessage("is playlist hooker here?","*"),t.then(function(e){wo("bb",o,{url:a,label:e})}).catch(Ao)))}).once("AdImpression",function(){wo("impression",o,{url:a})})}},{key:"addLabel",value:function(e,t){if(!e||!t)return e;var n=this.ads.labelCounters;n[t.val]||(n[t.val]=1);var r=t.counter?n[t.val]++:"",i=new URL(e);return i.searchParams.set(t.name,t.val+r),i.href}},{key:"adMode",value:function(e){this.isPlayAllowed&&(V.xw||(this.isPlayedBeforeAds=!this.videoElement.paused),"fly"!==e&&this.pause(),this.adElement.classList.remove(uo.hidden),this.isPlayAllowed=!1)}},{key:"resumeAfterAd",value:function(){this.isAds=!1,this.adElement.classList.add(uo.hidden),this.isPlayAllowed=!0,this.counters.impression=0}},{key:"setAdListeners",value:function(t,n,r){var i=this;je.forEach(function(e){return t.on(e,function(){io.log(n,e,r),i.emit(e,{type:n,url:r})})})}},{key:"playDownloadRoll",value:function(){this.isAds||this.suppressAd(_o)||(io.log("downloadRoll"),this.playAd(_o))}},{key:"scheduleMiddleRoll",value:function(){var e=this,t=(this.ads.middle||{}).offset,n=void 0===t?B.h0.middleOffset:t;this.nextMiddleTimer=setTimeout(function(){return e.playMiddleRoll()},1e3*n)}},{key:"playMiddleRoll",value:function(){if(this.scheduleNonLinear(),!this.suppressAd(go)){var e=this.ads.middle||{},t=e.pop,n=e.total;return n&&this.counters.middleRoll>n?(io.warn("prevent roll by middle.total (".concat(n,")")),this._fallbackMiddleToNonLiner()):!t&&this.videoElement.paused?io.warn("prevent middle roll on pause"):void(this.isAds||(io.log("middleRoll"),this.emit("middleRoll"),this.playAdsAgain(go)))}}},{key:"_fallbackMiddleToNonLiner",value:function(){var e;null!==(e=this.ads.middle)&&void 0!==e&&e.nonLinearFallback&&(io.log("fallback middle to non linear"),this.nonLinear(!0))}},{key:"makePostRoll",value:function(){var e,t,n=this,r=this.videoElement.duration;!r||r<B.h0.postMinDuration||(t=void 0===(e=(this.ads.post||{}).offset)?B.h0.postOffset:e,this.afterTimeUntil(r-t(r),function(){if(!n.isAds&&!n.suppressAd(bo))return io.log("postRoll"),n.playAdsAgain(bo),!0}))}},{key:"scheduleFlyRoll",value:function(e){var n=this;this.afterTimeUntil(e,function(){if(!n.isAds&&!n.suppressAd()){n.adElement.classList.add(uo.fly),n.playAdsAgain("fly");var e=(n.ads.fly||{}).offset,t=void 0===e?B.h0.flyOffset:e;return n.scheduleFlyRoll(n.videoElement.currentTime+t),!0}})}},{key:"afterTimeUntil",value:function(i,o){var a=this;this.on("timeupdate",function e(){var t=a.videoElement,n=t.paused,r=t.currentTime;!n&&i<r&&o()&&a.off("timeupdate",e)})}},{key:"playAdsAgain",value:function(e){var t;Date.now()>this.lastAd+1e3*B.h0.coolDown||null!==(t=this.ads.post)&&void 0!==t&&t.skipCD&&"post"==e?this.playAd(e):io.warn("prevent roll: cool down")}},{key:"scheduleNonLinear",value:function(){var e=this,t=this.ads.nonLinear.offset,n=void 0===t?B.h0.nonLinearOffset:t;this.nextNonLinearTimer=setTimeout(function(){return e.nonLinear()},1e3*n)}},{key:"nonLinear",value:function(e){var t=this;if((e||(this.scheduleMiddleRoll(),!this.ads.nonLinear.fallbackOnly))&&!this.isAds&&this.ads.nonLinear.url&&!this.suppressAd()){var n=this.ads.nonLinear.total;if(n&&this.counters.nonLinear>n)return io.warn("prevent by nonLinear.total "+n);this.isAds=!0;var r=(0,q.hi)(uo.nonLinear);this.wrapper.appendChild(r);var i=new(zi())(r),o=function(e){t.isAds=!1,r.parentElement===t.wrapper&&(0,q.Od)(r),io.warn(e)};i.once("AdError",o),i.once("AdStopped",function(){r.parentElement===t.wrapper&&(0,q.Od)(r),t.resumeAfterAd(),t.isPlayedBeforeAds&&t.play()}),this.setAdListeners(i,"non linear",this.ads.nonLinear.url);var a=this.addLabel(this.ads.nonLinear.url,this.ads.nonLinear.label);i.load(a).then(function(){i.startAd(),t.counters.nonLinear++,wo("response","overlay")}).catch(o),wo("request","overlay"),i.on("AdImpression",function(){wo("impression","overlay")}),this.isPlayedBeforeAds=!1,i.on("AdLinearChange",function(){i.adLinear&&(r.classList.add(uo.changedToLinear),t.adMode())})}}},{key:"destroy",value:function(){removeEventListener("message",this.confirmAdListener),clearTimeout(this.nextNonLinearTimer),clearTimeout(this.nextMiddleTimer),(0,r.Z)((0,d.Z)(n.prototype),"destroy",this).call(this)}}]),n}(),vo="seeds",mo="unreliablePre",yo="pre",go="middle",bo="post",_o="download";function wo(e,t,n){(0,W.ot)(fo({cat:"ad",hit:e,sub:t},n))}function Ao(){}function ko(e){var r=new po(e),i={play:function(){return r.play()},destroy:function(){return r.destroy()},set cssVars(e){r.cssVars=e},titleMode:function(e){var t;null!==(t=r.cp)&&void 0!==t&&t.titleMode(e)},showRecommendations:function(e){r.showRecommendations(e)}};return r.onRenew=function(e){var t;r=e,null!==(t=i.onRenew)&&void 0!==t&&t.call(i,i)},["on","once","off"].forEach(function(n){i[n]=function(e,t){return r[n](e,t),i}}),i}},99218:function(e,t,n){"use strict";n.d(t,{A:function(){return f},V:function(){return d}});var r=n(4942),i=n(15671),o=n(43144),a=n(51122);function s(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function c(n){return function(e){var t;return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}((t={},(0,r.Z)(t,l,n),(0,r.Z)(t,u,document.createTextNode("")),t),e)}}var u=window.Symbol?Symbol("placeholder"):"_el",l=window.Symbol?Symbol("name"):"_name",f=function(){function r(e,t){var n=this;(0,i.Z)(this,r),this.wrapper=e,t.forEach(function(e){return n._append(e)}),this.onError=null}return(0,o.Z)(r,[{key:"destroy",value:function(){this._destroyed=!0}},{key:"_append",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:this.wrapper;e&&(this[e[l]]=e,n.appendChild(e[u]))}},{key:"mount",value:function(e,t){var n,r=this;if(e&&!this._destroyed){if(e[u].parentElement)return(0,a.gx)(e[u],t),e.children.forEach(function(e){return r._append(e,t)}),t;null!==(n=this.onError)&&void 0!==n&&n.call(this,"".concat(e[l]," slot detached"))}}}]),r}(),d={root:function(e){return e.children}};["Loading","BadNews","Play","PlayBig","ActionNotifier","TapAnimation","BugReport","ReportBtn","Timeline","SkipSection","Playlist","PlaylistBtn","Prev","Next","Spacer","AudioTracks","Sound","FullScreen","Pip","Chromecast","SettingsBtn","Settings","RadialMenu","ContextMenu","AboutMenu","ShareBtn","Share","Download","LiveLogo","ControlsPanel","Fold","Top","TopLeft","TopRight","NearCenter","CenterRight","BottomControls","BottomInner","BottomLeft","BottomRight","Title","Remaining","Live"].forEach(function(e){return d[e]=c(e)})},9293:function(e,t,n){"use strict";var r=n(23279),i=n.n(r),a=n(93867),o="localStorage unavailable";function c(e,t){if(void 0!==t)try{localStorage.setItem(e,t)}catch(e){console.log(o)}else console.warn("value is undefined. Use .remove('".concat(e,"') instead"))}t.Z={set totalTime(e){c("player.totalTime",e)},get totalTime(){return this.getParsed("player.totalTime",0)},get skip(){return this.getParsed("player.skip",[])},set skip(e){c("player.skip",JSON.stringify(e))},set speed(e){c("player.speed",e)},get speed(){return this.getParsed("player.speed",1)},set:c,setVolume:i()(function(e){return c("player.volume",e)},500),get:function(e){try{return localStorage.getItem(e)}catch(e){return console.log(o),null}},getParsed:function(e,t){try{var n=localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}},getDefaultTrackIndex:function(e,t){var n=1<arguments.length&&void 0!==t?t:0,r=e.findIndex(a.W);if(-1!==r)return r;var i=this.get("player.track");if(!i)return n;var o=e.findIndex(function(e){return e===i});return-1===o?n:o},saveLast:function(e,t){var n,r=e.id,i=e.flat,o=t.id,a=t.season,s=t.episode;r&&(n=i?o:"".concat(a,":").concat(s),c("vp".concat(r),n))},getLast:function(e){return(this.get("vp".concat(e))||"").split(":")},remove:function(e){try{localStorage.removeItem(e)}catch(e){console.log(o)}}}},97377:function(e,t,n){"use strict";n.d(t,{ZP:function(){return Cr},Tc:function(){return gt},sw:function(){return i},Hg:function(){return Tr}});var r={};n.r(r),n.d(r,{FLoaderWithAltAudioFix:function(){return or},default:function(){return cr},fixAltAudioEnd:function(){return sr},fixAltAudioStart:function(){return ar}});var i={};n.r(i),n.d(i,{fromStorageOrP2p:function(){return kr},intercept:function(){return gr}});var l=n(4942),u=n(15671),f=n(43144),d=n(79340),o=n(82963),a=n(61120),h=n(56688),p=n(22201);function s(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var v=1048576,m={tracker:"",wsReconnectInterval:5,longDownload:6e4,dcConnectTimeout:20,dcUploadTimeout:5,tolerance:3,dcPings:0,packetSize:16384,maxBufferSize:{pc:4<h.sq?600*v:300*v,mobile:4<=h.sq?200*v:100*v,tv:60*v,live:50*v},loadTimeoutRate:.9,loadTimeoutRateMax:.95,logLevel:"error",rtc:{peerConnection:{iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:"turn:turn.zcvh.net:5349",username:"brucewayne",credential:"12345"}]},dataChannel:{},offer:{},answer:{}},skips:["aac","mp3"],prefetch:h.xw?4:7,getPeersTimeout:13,connectionsPause:60,maxFailConnections:50,minFragments:4,channelId:function(e,t){if(t)return(0,p.Z$)(e.split("/")).split(".")[0];var n=new URL(e),r=n.searchParams.has("video")?new URL(n.searchParams.get("video")):n,i=r.pathname.match(/\/(\w+)\/(?:1080_)?(\w+)\.mp4(?:\/tracks\/)?(.*)\/master.m3u8/);return i?i.slice(1).filter(Boolean).join("/"):"".concat(r.pathname).concat(r.search)}},y=m;function g(t){return A.findIndex(function(e){return e===t})}var b=n(93433),_=n(48764),w=n(75893),A=["debug","info","warn","error","none"],k=function(){function r(e,t){(0,u.Z)(this,r),this.name="[".concat(e,"]"),!0===t&&(t="debug"),!1===t&&(t="none");var n=w.or.get("p2p");n&&(t=n),A.includes(t)||(t="none"),this.level=t}return(0,f.Z)(r,[{key:"isEnable",value:function(e){return g(e)>=g(this.level)}},{key:"debug",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.isEnable("debug")&&(e=console).log.apply(e,[this.name].concat(n))}},{key:"info",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.isEnable("info")&&(e=console).info.apply(e,[this.name].concat(n))}},{key:"warn",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.isEnable("warn")&&(e=console).warn.apply(e,[this.name].concat(n))}},{key:"error",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.isEnable("error")&&(e=console).error.apply(e,[this.name].concat(n))}}]),r}(),x=n(44925),O=n(29439),E=["nums"],S=["nums"];function P(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var C=function(){function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];(0,u.Z)(this,t),this._state=e.map(function(e){if(Array.isArray(e)){var t=(0,O.Z)(e,4),n=t[0],r=t[1],i=t[2],o=t[3],a=new Set;return(0,p.Lm)(o,function(e){return a.add(e)}),{channel:n,type:r,level:i,nums:a}}var s=e.nums;return T(T({},(0,x.Z)(e,E)),{},{nums:new Set(s)})})}return(0,f.Z)(t,[{key:"snapshot",value:function(){return this._state.filter(function(e){return e.nums.size}).map(function(e){var t=e.nums;return T(T({},(0,x.Z)(e,S)),{},{nums:(0,b.Z)(t)})})}},{key:"has",value:function(e,t,n,r){var i;return null===(i=this._findNums(e,t,n))||void 0===i?void 0:i.has(r)}},{key:"hasChannel",value:function(t){return this._state.some(function(e){return e.channel===t})}},{key:"add",value:function(e,t,n,r){var i=this._findNums(e,t,n);i||(i=new Set,this._state.push({channel:e,type:t,level:n,nums:i})),i.add(r)}},{key:"remove",value:function(e,t,n,r){var i;null!==(i=this._findNums(e,t,n))&&void 0!==i&&i.delete(r)}},{key:"_findNums",value:function(t,n,r){var e;return null===(e=this._state.find(function(e){return t===e.channel&&n===e.type&&r===e.level}))||void 0===e?void 0:e.nums}},{key:"eachBy",value:function(t,n){this._state.filter(function(e){return t===e.channel}).forEach(function(t){return(0,b.Z)(t.nums).forEach(function(e){return n(t.type,t.level,e)})})}}]),t}(),j=n(11752),L=n(62214);function R(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var I=function(e){(0,d.Z)(r,e);var n=R(r);function r(e){var t;return(0,u.Z)(this,r),(t=n.call(this,e))._scopes=new Map,t}return(0,f.Z)(r,[{key:"scope",value:function(o){var a=this;return{on:function(e,t){return a._toScope(o,e,t),a.on(e,t),this},once:function(e,t){return a._toScope(o,e,t),a.once(e,t),this},offAll:function(){for(var e=a._scopes.get(o)||[];e.length;){var t=e.pop(),n=(0,O.Z)(t,2),r=n[0],i=n[1];a.off(r,i)}}}}},{key:"_toScope",value:function(e,t,n){this._scopes.has(e)||this._scopes.set(e,[]),this._scopes.get(e).push([t,n])}},{key:"removeAllListeners",value:function(e){return this._scopes.clear(),(0,j.Z)((0,a.Z)(r.prototype),"removeAllListeners",this).call(this,e)}}]),r}(L.Qz),M=n(17365),z=n(23493),D=n.n(z),B=n(97019),Z=n.n(B),N=n(21111);function F(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function U(){}function H(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function q(e,t){return e&&e.then?e.then(t):t(e)}function V(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var W,G="frags",Q=D()(M.ot,6e4),X=function(e){(0,d.Z)(c,e);var t=V(c);function c(){var r;return(0,u.Z)(this,c),(r=t.call(this,"db")).demand=new Map,!h.xw&&window.indexedDB&&c.estimate().then(function(e){var t=e.usage,n=e.quota;t&&(0,M.ot)({cat:"db",hit:"use",sub:"init",value:t}),n&&(r._lastQuotaMb=n/1024/1024,N.ZP.db.on&&50<r._lastQuotaMb&&r.open())}),r}return(0,f.Z)(c,[{key:"hasRichQuota",get:function(){return 400<this._lastQuotaMb}},{key:"open",value:function(){var e=this;(0,M.ot)({cat:"db",hit:"open",sub:"try"});var t=indexedDB.open("frags db",1);t.onerror=function(){return(0,M.ot)({cat:"db",hit:"open",sub:"err",label:t.errorCode})},t.onsuccess=function(){e._db=t.result,e._db.onclose=function(){return e._db=null},(0,M.ot)({cat:"db",hit:"open",sub:"ok"}),N.ZP.db.test&&e.__test().catch(function(e){return(0,M.ot)({cat:"db",hit:"test",sub:"err",label:e})})},t.onupgradeneeded=function(){e._db=t.result,e._db.createObjectStore(G,{keyPath:["c","n","t","l"]}).createIndex("channel","c")}}},{key:"state",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";try{var a=new C,t=function(e){var t=(0,O.Z)(e.primaryKey,4),n=t[0],r=t[1],i=t[2],o=t[3];a.add(n,i,o,r)};return F(e?this._readKeys(t,"channel",e):this._readKeys(t),function(){return a})}catch(e){return Promise.reject(e)}}},{key:"_readKeys",value:function(r,i,e,t){var o=this,a=2<arguments.length&&void 0!==e?e:null,s=3<arguments.length?t:void 0;if(!this._db)return Promise.resolve();var c=0,n=Date.now();return new Promise(function(t){var e=o._store(G);i&&(e=e.index(i));var n=e.openKeyCursor(a,s);n.onsuccess=function(){var e=n.result;if(!e)return t();r(e),c++,e.continue()}}).finally(function(){var e={cat:"db",hit:"scan",sub:i?"index":"full",label:s,time:Date.now()-n,value:c};(i?Q:(0,M.ot))(e)})}},{key:"_getChannels",value:function(){try{var t=[];return F(this._readKeys(function(e){return t.push(e.key)},"channel",null,"nextunique"),function(){return t})}catch(e){return Promise.reject(e)}}},{key:"isWanted",value:function(e){var t=this.demand.get(e);if(!this.hasRichQuota)return 1<t;var n=(0,O.Z)(N.ZP.db.target,2),r=n[0],i=n[1];return r<t&&t<i}},{key:"saveFrag",value:function(i,o,a,s,c){var u=this;return this._db?(this._lastSaveChannel=i,new Promise(function(e,t){var n=u._db.transaction(G,"readwrite"),r=n.objectStore(G).add({c:i,t:o,l:a,n:s,d:c});n.onerror=n.onabort=function(){return t(n.error)},n.oncomplete=function(){return e(r.result)},r.onerror=function(){return t(r.error)}}).finally(function(){return u._clean()})):Promise.reject("not ready")}},{key:"hasFrag",value:function(e,t,n,r){if(!this._db)return Promise.resolve();var i=this._store(G),o=[e,r,t,n],a=i.getKey?i.getKey(o):i.openKeyCursor(o);return Y(a)}},{key:"getFrag",value:function(e,t,n,r){return this._get(G,[e,r,t,n])}},{key:"_get",value:function(e,t){if(!this._db)return Promise.reject("not ready");var n=this._store(e).get(t);return Y(n)}},{key:"_store",value:function(e,t){return this._db.transaction(e,t).objectStore(e)}},{key:"_clean",value:function(){try{var s=this;if(!s._db||s._cleaning)return;return F(c.estimate(),function(e){if(s._lastQuotaMb=e.quota/1024/1024,Q({cat:"db",hit:"use",sub:"raw",value:e.usage}),!(e.usage/e.quota<N.ZP.db.cleanMark)){s._cleaning=!0;var a=Date.now();return F(s._getChannels(),function(e){var t=Math.ceil((Date.now()-a)/1e3);1<e.length&&Z()(e,s._lastSaveChannel);var n=s._db.transaction(G,"readwrite");n.oncomplete=n.onerror=n.onabort=function(){s._cleaning=!1,r.forEach(function(e){var t=(0,O.Z)(e,4),n=t[0],r=t[1],i=t[2],o=t[3];return s.emit(c.events.REMOVED,{channel:n,type:i,level:o,sn:r})}),r=null,Q({cat:"db",hit:"clean",label:t<=1?"scan-ok":"scan-long",time:Date.now()-a})};var r=[],i=N.ZP.db.cleanCount,o=n.objectStore(G).index("channel").openCursor(e.shift());o.onsuccess=function(){var e=o.result;i--&&e&&(e.delete().onsuccess=function(){return r.push(e.primaryKey)},e.continue())}})}})}catch(e){return Promise.reject(e)}}},{key:"__test",value:function(){try{var n=!1,r=this,i=["x","x",0,0,3];return q(H(function(){return function(e,t){if(!t)return e&&e.then?e.then(U):Promise.resolve()}(r.saveFrag.apply(r,i))},function(){n=!0}),function(e){var t=!1;return n?e:q(H(function(){return F(r.saveFrag.apply(r,i),function(){return t=!0,(0,M.ot)({cat:"db",hit:"test",sub:"err",label:"DUPE"})})},function(e){if("not ready"!==e){if("ConstraintError"!==e.name)throw e}else t=!0}),function(e){return t?e:F(r.hasFrag.apply(r,i),function(e){var t=e?"has":"hasn't";return F(r.getFrag.apply(r,i),function(e){if(3!=e.d)throw"get fail";(0,M.ot)({cat:"db",hit:"test",sub:"ok",label:t})})})})})}catch(e){return Promise.reject(e)}}}],[{key:"events",get:function(){return{REMOVED:"removed"}}},{key:"instance",value:function(){return W=W||new c}},{key:"estimate",value:function(){var e,t;return(null===(e=navigator.storage)||void 0===e||null===(t=e.estimate)||void 0===t?void 0:t.call(e))||new Promise(function(n,e){function t(e,t){return n({usage:e,quota:t})}var r;null!==(r=navigator.webkitTemporaryStorage)&&void 0!==r&&r.queryUsageAndQuota(t,e);var i=window.webkitStorageInfo;null!=i&&i.queryUsageAndQuota(null==i?void 0:i.TEMPORARY,t,e)})}}]),c}(L.Qz),Y=function(e){return new Promise(function(t,n){e.onsuccess=function(e){return t(e.target.result)},e.onerror=function(e){return n(e.target.error)}})};function K(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function $(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}function ee(e){return[e.channel,e.type,e.level,(0,p.T1)(e.nums)]}var te,ne,re=function(){(0,d.Z)(s,I);var a=$(s);function s(e,t){var n;(0,u.Z)(this,s),n=a.call(this,"2st");var r=e.tv,i=e.mobile,o=e.pc;return n.maxBufSize=h.xw?r:h.tq?i:o,n.logger=new k("p2p:buffer",t),n._pool=[],n._size=0,n.overflowed=!1,n._snaphots=new Map,n._db=X.instance(),n._db.on(X.events.REMOVED,function(e){return n.emit(s.events.LOST,e)}),n}return(0,f.Z)(s,[{key:"handleFrag",value:function(t,e,n,r){var i,o=this,a=e.channel,s=e.type,c=e.level,u=e.sn,l=2<arguments.length&&void 0!==n?n:"",f=3<arguments.length&&void 0!==r&&r,d=t.byteLength;f&&(i=_.lW.from(t),t=new _.lW(d),i.copy(t)),this.hasFragment(a,s,c,u).then(function(e){return e?o.logger.warn("already has ".concat(s," ").concat(c," ").concat(u)):void o._add({channel:a,type:s,level:c,sn:u,data:t,size:d,fromPeerId:l})})}},{key:"_add",value:function(e){var n=this;this._pool.push(e),this._size+=e.size,this.logger.debug("add",e.type,e.level,e.sn),this.emit(s.events.HAS,e),this._evict(),this._db.hasRichQuota&&this._db.isWanted(e.channel)&&this._db.saveFrag(e.channel,e.type,e.level,e.sn,e.data).then(function(e){var t;return(t=n.logger).info.apply(t,["saved to db"].concat((0,b.Z)(e)))}).catch(function(e){"not ready"!==e&&"ConstraintError"!==e.name&&(0,M.ot)({cat:"db",hit:"save",sub:"err",label:e.name})})}},{key:"_evict",value:function(){for(var n=this;this._size>this.maxBufSize;)!function(){var e=n._pool.shift();n._size-=e.size,n.overflowed||(n.overflowed=!0);function t(){n.emit(s.events.LOST,e),n.logger.info("pop",e.type,e.level,e.sn)}!n._db.hasRichQuota&&n._db.isWanted(e.channel)?n._db.saveFrag(e.channel,e.type,e.level,e.sn,e.data).then(function(e){var t;return(t=n.logger).info.apply(t,["saved to db"].concat((0,b.Z)(e)))}).catch(function(e){"ConstraintError"!==e.name&&(t(),"not ready"!==e&&(0,M.ot)({cat:"db",hit:"save",sub:"err",label:e.name}))}):n._db.hasFrag(e.channel,e.type,e.level,e.sn).then(function(e){return e||t()}).catch(t)}()}},{key:"hasFragment",value:function(e,t,n,r){return this._fromMemory(e,t,n,r)?Promise.resolve(!0):this._db.hasFrag(e,t,n,r)}},{key:"inMemory",value:function(e){var t=e.channel,n=e.type,r=e.level,i=e.sn;return this._pool.some(function(e){return t===e.channel&&n===e.type&&r===e.level&&i===e.sn})}},{key:"getFragment",value:function(e,t,n,r,i){var o=this._fromMemory(e,t,n,r,i);return o?Promise.resolve(J(J({},o),{},{source:"mem"})):this._db.getFrag(e,t,n,r).then(function(e){return{data:e.d,size:e.d.byteLength,source:"db"}}).catch(function(){})}},{key:"_fromMemory",value:function(t,n,r,i,e){return(e?this._pool.slice(e):this._pool).find(function(e){return t===e.channel&&n===e.type&&r===e.level&&i===e.sn})}},{key:"hasChannel",value:function(t){return this._pool.some(function(e){return e.channel===t})}},{key:"snapshot",value:function(e){var t=this,n=0<arguments.length&&void 0!==e?e:"";if(this._snaphots.has(n))return this._snaphots.get(n);var r=this._db.state(n).then(function(e){return t.memorySnapshot(e,n).map(ee)}).finally(function(){return t._snaphots.delete(n)});return this._snaphots.set(n,r),r}},{key:"memorySnapshot",value:function(e,t){var n=0<arguments.length&&void 0!==e?e:new C,r=1<arguments.length&&void 0!==t?t:"",i=r?function(e){return r===e.channel&&n.add(e.channel,e.type,e.level,e.sn)}:function(e){return n.add(e.channel,e.type,e.level,e.sn)};return this._pool.forEach(i),n.snapshot()}},{key:"clear",value:function(){this._pool=[],this._size=0}},{key:"destroy",value:function(){this.clear(),this.removeAllListeners()}}],[{key:"events",get:function(){return{HAS:"has",LOST:"lost"}}},{key:"instance",value:function(e,t){return te=te||new s(e,t)}}]),s}(),ie=n(22003),oe=n(23279),ae=n.n(oe);function se(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?se(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ue(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var le=function(e){(0,d.Z)(i,e);var r=ue(i);function i(e,t){var n;return(0,u.Z)(this,i),(n=r.call(this,"2ws")).logger=new k("ws","debug"),n.cancellers=new Map,n.connected=!1,e?(n._ws=n._init(e,1e3*t),n.idleLater=ae()(function(){return n.idleStart()},6e5),n):(0,o.Z)(n)}return(0,f.Z)(i,[{key:"_init",value:function(e,t){var n=this,r=new ie.Z(e,"",{minReconnectionDelay:t});return r.onopen=function(){n.logger.info("connected"),n.connected=!0,clearTimeout(n.idleTimer),n.idleStart(),n.emit("open")},r.onmessage=function(e){var t=JSON.parse(e.data);n.emit("message",t)},r.onclose=function(){n.logger.warn("closed"),n.connected=!1,n.emit("close")},r}},{key:"sendJson",value:function(e){var t;this._ws&&(t=JSON.stringify(e),this._ws.send(t))}},{key:"sendAction",value:function(e,t){this.connected?this.sendJson(ce({action:e},t)):this.logger.warn("closed, '".concat(e,"' is ignored")),"leave"===e&&(this.onChannel=!1,this.idleStart()),"channel"===e&&(this.onChannel=!0,this.idleStop())}},{key:"request",value:function(e,t){return this.cancellers.has(e)&&(this.cancellers.get(e)(),this.cancellers.delete(e)),this.connected?(this.sendAction(e,t),this.waitResponse(e)):Promise.reject("not connected")}},{key:"waitResponse",value:function(r){function i(e){var t,n=e.res;(void 0===n?e.response:n)===r&&(a.removeListener("message",i),a.removeListener("close",c),t=Date.now()-s,o(ce({_time:t},e)),(0,M.ot)({cat:"p2p",hit:"ws",sub:r,time:t}),a.cancellers.delete(r))}var o,n,a=this,s=Date.now(),c=function(){a.removeListener("message",i),n("disconnect"),a.cancellers.delete(r)};return this.cancellers.set(r,function(){a.removeListener("message",i),a.removeListener("close",c),n("cancelled")}),new Promise(function(e,t){o=e,n=t,a.on("message",i),a.once("close",c)})}},{key:"cancelRequests",value:function(){(0,b.Z)(this.cancellers.values()).forEach(function(e){return e()}),this.cancellers.clear()}},{key:"idleStart",value:function(e){var t=this,n=0<arguments.length&&void 0!==e?e:24e4;ne.onChannel||h.xw||h.tq||(this.idleStartReporting||(this.idleStartReporting=Date.now()),this.idleTimer=setTimeout(function(){var e;t.idleStart(),t.connected&&(e=Math.floor((Date.now()-t.idleStartReporting)/1e3/60),t.sendAction("idle",{time:e}))},n))}},{key:"idleStop",value:function(){this.idleTimer&&(clearTimeout(this.idleTimer),this.idleTimer=null,this.idleStartReporting=null,this.sendAction("busy"))}},{key:"idleRestart",value:function(e){var t=0<arguments.length&&void 0!==e&&e;this.idleStop(),t?this.idleLater():this.idleStart()}},{key:"close",value:function(){this.logger.warn("close"),this.connected=!1,this._ws.close(1e3,"stop signaling")}},{key:"destroy",value:function(){if(!this._ws)return this.logger.warn("not initialised");this.close(),this._ws=null,this.removeAllListeners(),this.logger.warn("destroy"),clearTimeout(this.idleTimer)}}]),i}(L.Qz),fe=n(94184),de=n.n(fe),he=n(51122),pe=n(93379),ve=n.n(pe),me=n(71573),ye=n.n(me),ge={injectType:"singletonStyleTag",insert:"head",singleton:!0},be=(ve()(ye(),ge),ye().locals||{}),_e=function(){function n(e,t){(0,u.Z)(this,n),this.el=(0,he.hi)(be.levels),e.appendChild(this.el),this.downloads=new Map,this.dom={downloads:(0,he.hi)(be.downloads),peerCount:(0,he.hi)(be.count)},(0,he.R3)(e,[this.dom.downloads,this.dom.peerCount]),t&&(this._truncated=new Map)}return(0,f.Z)(n,[{key:"_addFrags",value:function(e,t){t=Math.max(t+1,20);for(var n=0;n<t;n++)e.appendChild((0,he.hi)(be.sn))}},{key:"updatePeerCount",value:function(e){this.dom.peerCount.textContent=e}},{key:"update",value:function(e){var t,n=e.type,r=e.level,i=e.sn,o=e.source,a=void 0===o?"http":o;"p2p-pre"==a&&(a="p2p"),null!==(t=this._getClassList(n+r,i))&&void 0!==t&&t.add(be[a])}},{key:"remotesHave",value:function(e,t){var n;null!==(n=this._getClassList(e,t))&&void 0!==n&&n.add(be.available)}},{key:"remotesLost",value:function(e,t){var n;null!==(n=this._getClassList(e,t))&&void 0!==n&&n.remove(be.available)}},{key:"_getClassList",value:function(e,t){var n,r=this.dom[e]||we(e);this.dom[e]||(this.dom[e]=r,this.el.appendChild(r));var i=r.children,o=(null===(n=this._truncated)||void 0===n?void 0:n.get(i))||0;if(!(t<=o)){if(t<i.length+o)return i[t-o].classList;this._addFrags(r,t-i.length-o);var a=i[t-o].classList;return this._shiftFrags(i,o),a}}},{key:"_shiftFrags",value:function(e,t){var n=e.length-600;if(this._truncated&&0<n){for(var r=0;r<n;r++)(0,he.Od)(e[0]);this._truncated.set(e,t+n)}}},{key:"addDownload",value:function(e,t){var n;this.downloads.has(e)||(n=(0,he.vz)("progress",{max:t}),this.downloads.set(e,n),this.dom.downloads.appendChild((0,he.vz)("div",{class:be.download},e,n)))}},{key:"updateDownload",value:function(e,t){var n=this.downloads.get(e);n&&(n.value=n.max-t,t||this.completeDownload(e,2e3))}},{key:"removeDownload",value:function(e){var t=this.downloads.get(e);t&&(this.downloads.delete(e),this.dom.downloads.removeChild(t.parentElement))}},{key:"completeDownload",value:function(e,t){var n=this;setTimeout(function(){return n.removeDownload(e)},1<arguments.length&&void 0!==t?t:1e4)}},{key:"destroy",value:function(){(0,he.Od)(this.el),(0,he.Od)(this.dom.downloads),(0,he.Od)(this.dom.peerCount),this._truncated&&(this._truncated=null)}}]),n}(),we=function(e){var t=e.match(/(\w+)(\d+)/),n=(0,O.Z)(t,3),r=n[1],i=n[2],o="audio"===r;return(0,he.hi)(de()(be.level,(0,l.Z)({},be.audio,o)),o?i:e)},Ae=window,ke={PeerConnection:Ae.RTCPeerConnection||Ae.mozRTCPeerConnection||Ae.webkitRTCPeerConnection,SessionDescription:Ae.RTCSessionDescription||Ae.mozRTCSessionDescription||Ae.webkitRTCSessionDescription,IceCandidate:Ae.RTCIceCandidate||Ae.mozRTCIceCandidate||Ae.webkitRTCIceCandidate},xe=n(85564),Oe=n.n(xe),Ee=n(17204),Se=n.n(Ee);function Pe(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function Te(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var je={http:0,ws:0,p2p:0,db:0,mem:0},Le=function(){function o(e,t,n,r,i){(0,u.Z)(this,o),this.ws=n,this.p2p_=e,this.channelId=t.replace(/\W/g,"-"),this.live_=r,this.geo_=i,this.connections=this.failConnections=this.totalConnections=0,this.totalDownloaded=Ce({},je),this.downloaded=Ce({},je),this.totalP2PUploaded=0,this.levels_=[]}return(0,f.Z)(o,[{key:"levels",get:function(){return this.levels_},set:function(e){this.levels_=e,this.live_&&this.stats()}},{key:"p2pRatio",get:function(){var e=this.totalDownloaded,t=e.http,n=e.p2p;return+(n/(n+t)*100).toFixed(2)}},{key:"announce",value:function(e){try{var t=this;return Pe(t.request("channel",{q:e,c:t.channelId,geo:t.geo_,live:t.live_,device:h.vO,netType:h.Ek}),function(e){if(e.code)throw e.message;if(e.info&&console.info(e.info),e.warn&&console.warn(e.warn),!e.rejected)return t.scheduleStats(e.reportInterval),e;t.p2p_.isOn=!1})}catch(e){return Promise.reject(e)}}},{key:"leave",value:function(){this.ws.sendAction("leave",{c:this.channelId})}},{key:"scheduleStats",value:function(e){var t=this,n=0<arguments.length&&void 0!==e?e:30;this.live_||(this.heartbeater=setInterval(function(){return t.stats()},1e3*n),this.ws.once("close",function(){return clearInterval(t.heartbeater)}))}},{key:"stats",value:function(){this.levels_.length&&(this.ws.sendAction("stats",Ce({c:this.channelId},this._makeStatsBody())),this.downloaded.http=this.downloaded.p2p=0)}},{key:"getPeers",value:function(e){try{return Pe(this.request("peers",{q:e,c:this.channelId,geo:this.geo_}),function(e){if(e.code)throw e.message;return e})}catch(e){return Promise.reject(e)}}},{key:"request",value:function(e,t){return this.ws.request(e,t)}},{key:"reportFlow",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:"http";"p2p-pre"==n&&(n="p2p");var r=Math.round(e/1024);this.totalDownloaded[n]+=r,this.downloaded[n]+=r,this._emitStats()}},{key:"reportUploaded",value:function(e){var t=0<arguments.length&&void 0!==e?e:0;t&&(this.totalP2PUploaded+=Math.round(t/1024),this._emitStats())}},{key:"destroy",value:function(){this.leave(),this.p2p_.logger.warn("destroy fetcher"),clearInterval(this.heartbeater),this.ws.cancelRequests()}},{key:"_emitStats",value:function(){var e=this.totalDownloaded;this.p2p_.emit("stats",{totalDownloaded:e,totalP2PUploaded:this.totalP2PUploaded})}},{key:"_makeStatsBody",value:function(){var e=this.levels_.map(function(e){var t=(0,O.Z)(e,2),n=t[0],r=t[1];return[n,Oe()(r)]}),t=Ce({l:Se()(e),con:this.connections,fCon:this.failConnections,tCon:this.totalConnections,d:h.vO,pp:this.p2pRatio},this.downloaded);return Object.keys(t).forEach(function(e){return 0===t[e]&&delete t[e]}),t}}]),o}(),Re=n(97326),Ie=n(82729),Me=n.n(Ie),ze={PEER_SIGNAL:"signal",DC_OPEN:"open",DC_CLOSE:"CLOSE",PEER_ERROR:"error",PC_NOT_SUPPORTED:"PC_NOT_SUPPORTED",PC_INIT_ERROR:"PC_INIT_ERROR",PC_SIGNAL:"signal",NEGOTIATOR_ERROR:"error",NEGOTIATOR_HAS:"has",PEER_BITS:"BITFIELD",PEER_STORAGE:"STORAGE",PEER_HAVE:"HAVE",PEER_LOST:"LOST",PEER_REQUEST:"request",PEER_NO_CHUNKS:"noChunks",PEER_CHUNKS:"chunks",PEER_LOADED:"loaded",PEER_ACK:"ack",LOAD_CHUNKS_REMAINING:"loadChunksRemaining",LOAD_TIMEOUT:"loadTimeout",LOSE_TOLERANCE:"loseTolerance"},De=n(66379),Be=n.n(De),Ze={_:[],add:function(e,t){this._.push({status:Fe.request,req:e,fromId:t,tRequest:performance.now()})},receiveHead:function(t,n,e,r){var i=this._.find(function(e){return n==e.fromId&&Be()(t,e.req)});i?(i.tHead=performance.now(),i.total=t.size,i.status=404==e?Fe.notFound:Fe.headersReceived):r||(this.add(t,n),this.receiveHead(t,n,e,!0))},complete:function(t,n){var e=this._.find(function(e){return n==e.fromId&&Be()(t,e.req)});return e?(e.tLoaded=performance.now(),e.status=Fe.successful,Ne(e)):Ne()},getStats:function(t,n){var e=this._.find(function(e){return n==e.fromId&&Be()(e.req,t)});return Ne(e)},whoLoading:function(t){return this._.filter(function(e){return Be()(e.req,t)&&!Ue.includes(e.status)}).map(function(e){return e.fromId})}},Ne=function(e){var t=0<arguments.length&&void 0!==e?e:{};return{trequest:t.tRequest,tfirst:t.tHead,tload:t.tLoaded,loaded:t.total,total:t.total}};setTimeout(function e(){setTimeout(e,15e3);var t=performance.now()-15e3;Me()(Ze._,function(e){return e.status==Fe.notFound&&e.tHead<t||e.status==Fe.successful&&e.tLoaded<t})},15e3);var Fe={request:0,headersReceived:1,notFound:4,successful:7},Ue=[Fe.notFound,Fe.successful],He=9,qe=3,Ve=["http","p2h"],We=new Map;function Ge(e,t,n){var r;if(!n)return 1;if(null!==(r=We.get(e))&&void 0!==r&&r.length){var i=We.get(e).filter(function(e){return e.source}).slice(-qe);if(i.length==qe&&i.every(function(e){return e.level==t&&Ve.includes(e.source)})){var o=i.map(function(e){return e.has}),a=(0,O.Z)(o,3),s=a[0],c=a[1],u=a[2];return n<5&&n<=u&&u<=c&&c<=s}}}function Qe(e,t,n,r){if(We.has(e)){var i=We.get(e);if(!i.find(function(e){return e.level==t&&e.sn==n}))for(i.push({level:t,sn:n,has:r});i.length>He;)i.shift()}else We.set(e,[{level:t,sn:n,has:r}])}function Xe(e,t,n,r){var i,o=null===(i=We.get(e))||void 0===i?void 0:i.find(function(e){return e.level==t&&e.sn==n});o&&(o.source=r)}function Ye(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ke(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ye(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Je=[],$e=[],et=[],tt=function(t){return $e.some(function(e){return Be()(e.key,t)})};function nt(n,r,i,o,e,t){var a={channel:n,type:r,level:i,sn:o},s=Je.find(function(e){return Be()(e.key,a)});if(s)return s.promise;var c=$e.find(function(e){return Be()(e.key,a)});if(c&&(Z()($e,c),c.requested))return rt(c,e);var u=mn.getConnectedBy(function(e){var t;return null===(t=e.storage)||void 0===t?void 0:t.has(n,r,i,o)});return Qe(r,i,o,u.length),u.length||t?rt(c||ot(a),e):Promise.reject()}function rt(e,t){var n,r;return e.duration=t,ht(e),r=1e3*t*.5,(n=e).promise.finally(function(){var e=Je.findIndex(function(e){return e==n});~e&&Je.splice(e,1),Je.length&&at("finally"),clearTimeout(n.timeout)}),n.deadline=Date.now()+1e3*n.duration,n.timeoutTime=Date.now()+r,n.timeout=setTimeout(function(){return function e(t){var n=t.pieces.fullSize;if(n){var r=(n-lt(t.pieces))/ft;if(r<t.deadline-50-Date.now())return t.timeoutTime=t.deadline-50-r,t.timeout=setTimeout(function(){return e(t)},t.timeoutTime-Date.now()),void(Tr&&console.log("re timeout, need",r,"/",t.deadline-50-Date.now()))}var i=[];var o;for(;o=t.pieces.shift();)i.push(o);{var a;!Tr||(a=t.pieces.reduce(function(e){return e+1},0))&&console.warn("lose",a)}if(!i.length)return t.reject();var s=lt(i);t.reject({fullSize:n,size:s,chunks:i})}(n)},r),Je.push(e),it(e.key,1e3*t,1),"audio"==e.key.type&&it(e.key,1e3*t*2,2),at("add"),e.promise}function it(e,t,n){var r,i=Ke(Ke({},e),{},{sn:e.sn+n});tt(i)||te.inMemory(i)||((r=ot(i)).timeoutTime=Date.now()+t+1e3*n,$e.push(r))}function ot(e){var n={key:e,pieces:[],lastIndex:0,requested:!1};return n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n}function at(e,t){var n=1<arguments.length&&void 0!==t?t:0,r=n>=Je.length?$e[n-Je.length]:Je[n];if(r){var i=Date.now();!r.timeout&&r.timeoutTime<i+1e3&&(r.timeoutTime=i+1e3);var o=r.key,a=o.channel,s=o.type,c=o.level,u=o.sn,l=mn.getConnectedBy(function(e){var t;return null===(t=e.storage)||void 0===t?void 0:t.has(a,s,c,u)});Qe(s,c,u,l.length);var f,d=l.filter(function(e){return e.isAvailable});if(d.length){for(r.pieces.length||d.sort(pt);d.length&&(!r.pieces.length||r.lastIndex<r.pieces.length);){var h=r.lastIndex,p=d.shift(),v=r.pieces.length||dt.get(r.key.type),m=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,r=3<arguments.length?arguments[3]:void 0;if(!e.timeToFirstByte||!e.bytesPerMs)return 0;var i=t-Date.now()-e.timeToFirstByte;if(i<0)return-1;var o=Math.max(n-1-r,0),a=Math.floor(e.bytesPerMs*i/16e3),s=n<a?2:3,c=Math.max(Math.ceil(n/s),3);return Math.min(a,o,c)}(p,r.timeoutTime,v,h);f&&(f=!1,-1==m&&(m=0)),r.lastIndex+=m+1,-1==m&&(f=!(m=0)),p.requestFragment(Ke(Ke({},r.key),{},{range:[h,h+m]})),Tr&&console.log(s,c,u,"".concat(h,"-").concat(h+m," / ").concat(r.pieces.length-1),"cd",r.timeoutTime-i,"ms,",0|p.timeToFirstByte,"ttf"),r.requested||(Ze.add(r.key,"multi"),r.requested=!0)}n<Je.length+$e.length&&at("next",n+1)}}}function st(t,e){var n,r=Je.find(function(e){return Be()(t,e.key)})||$e.find(function(e){return Be()(t,e.key)});if(!r)return Tr&&(n=t,console.log("late",n.type,n.sn,"".concat(n.range,"/").concat(n.count),n.rangeSize,n.size)),void at("progress late");var i=r.pieces;if(i.length||(i.length=t.count,i.fullSize=t.size,Ze.receiveHead(Ke(Ke({},r.key),{},{size:t.size}),"multi",206),function(e,t){if(!t)return;{var n;dt.has(e)?(n=dt.get(e),dt.set(e,Math.round((t+n)/2))):dt.set(e,t)}}(t.type,t.count),ht(r)),e){i.splice.apply(i,[t.range[0],e.length].concat((0,b.Z)(e)));var o=i.reduce(function(e){return e+1},0);if(i.length!==o)return at("progress"),i.length-o;var a,s=_.lW.concat(i),c=Ze.complete(r.key,"multi");return s.byteLength==t.size?(r.timeout||et.push({key:r.key,stats:c}),a=r.timeout?"multi":"preload",te.handleFrag(s,r.key,a),r.resolve([s,c])):(Tr&&console.warn("size mismatch",r.key),r.reject("size mismatch")),0}at("progress 204-206")}function ct(t){var e;for(null!==(e=Je.find(function(e){return Be()(t,e.key)}))&&void 0!==e&&e.reject("abort");$e.length;){var n=$e.pop();n.promise.catch(mt),n.reject("abort preload")}}function ut(e){return ft=e}var lt=function(e){return e.reduce(function(e,t){return e+t.byteLength},0)},ft=0;var dt=new Map;function ht(e){var t,n;e.duration&&e.pieces.fullSize&&(n=e.pieces.fullSize/e.duration,null!==(t=window.bwChart)&&void 0!==t&&t.updateLine(e.key.type,n/1e3|0))}var pt=function(e,t){return(null!=e.bytesPerMs&&null!=t.bytesPerMs?(0,p.AW)("bytesPerMs"):(0,p.qk)("timeToFirstByte"))(e,t)};function vt(t){var e=et.find(function(e){return Be()(e.key,t)});if(e)return Z()(et,e),e.stats}function mt(){}function yt(e,t){if(e instanceof Error)return e;var n=new Error(e);return n.name=t,n}var gt=Symbol("p2h"),bt=function(e){return n=new Uint8Array(e),crypto.getRandomValues(n),t=n,(0,b.Z)(t).map(function(e){return e.toString(16).padStart(2,"0")}).join("");var t,n},_t=n(71002),wt=n(51463),At=n.n(wt),kt=n(50308),xt=n.n(kt),Ot=n(26325);function Et(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return St(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return St(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function St(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pt(e,t,n){if(!e.s){if(n instanceof Tt){if(!n.s)return void(n.o=Pt.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(Pt.bind(null,e,t),Pt.bind(null,e,2));e.s=t,e.v=n;var r=e.o;r&&r(e)}}var Tt=function(){function o(){}return o.prototype.then=function(n,r){var i=new o,e=this.s;if(e){var t=1&e?n:r;if(t){try{Pt(i,1,t(this.v))}catch(e){Pt(i,2,e)}return i}return this}return this.o=function(e){try{var t=e.v;1&e.s?Pt(i,1,n?n(t):t):r?Pt(i,1,r(t)):Pt(i,2,t)}catch(e){Pt(i,2,e)}},i},o}();function Ct(e){return e instanceof Tt&&1&e.s}function jt(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}function Lt(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var Rt,It=function(e,t){return(0,M.ot)(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lt(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({cat:"p2p",hit:"error",sub:e},t))},Mt=0,zt=function(e){(0,d.Z)(a,e);var o=jt(a);function a(e,t){var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(0,u.Z)(this,a),(n=o.call(this,"2pc"))._isChromium=!!window.webkitRTCPeerConnection,n.initiator=e,n.sdpTransform=r.sdpTransform,n.trickle=null==r.trickle||r.trickle,n.offerOptions=n._transformConstraints(r.offer),n.answerOptions=n._transformConstraints(r.answer),n._pendingCandidates=[],n.on("error",function(e){return It(e.name||e.code||"-",{description:e.message||e})}),n._cb=null,n._lowThreshold=y.packetSize;var i=e?t||bt(20):null;return n._makeConnection(r.peerConnection,i,r.dataChannel),e&&n._pc&&n._needsNegotiation(),n}return(0,f.Z)(a,[{key:"bufferLowThreshold",set:function(e){var t;this._lowThreshold=e,"number"==typeof(null===(t=this._channel)||void 0===t?void 0:t.bufferedAmountLowThreshold)&&(this._channel.bufferedAmountLowThreshold=e)}},{key:"_makeConnection",value:function(e,t,n){var r=this,i=0<arguments.length&&void 0!==e?e:y.rtc.peerConnection,o=1<arguments.length?t:void 0,a=2<arguments.length?n:void 0;try{this._pc=new ke.PeerConnection(i),Mt++,this._ctime=Rt=Date.now()}catch(e){return void this._handleInitError(e)}var s=this._pc;this._isReactNativeWebrtc="number"==typeof s._peerConnectionId,s.oniceconnectionstatechange=function(){return r._onIceStateChange()},s.onicegatheringstatechange=function(){return r._onIceStateChange()},s.onsignalingstatechange=function(){return r._onSignalingStateChange()},s.onicecandidate=function(e){return r._onIceCandidate(e)},this.initiator?this._setupData(s.createDataChannel(o,a)):s.ondatachannel=function(e){return r._setupData(e.channel)}}},{key:"_handleInitError",value:function(e){if("NotSupportedError"===e.name)return It(e.name,{description:e.message}),void(this.initError=ze.PC_NOT_SUPPORTED);var t=e.toString(),n=["Malformed RTCIceServer","many PeerConnections","network is down"].find(function(e){return t.includes(e)})||t;It(n,{value:Mt,time:Math.round((Date.now()-Rt)/1e3)}),this.initError=ze.PC_INIT_ERROR}},{key:"receiveSignal",value:function(t){var e,n,r,i,o,a,s=this,c=this;if(this.destroyed)throw yt("cannot signal after peer is destroyed","ERR_SIGNALING");if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t={}}if(!t.sdp&&!t.candidate&&!t.renegotiate)return this.destroy("signal() called with invalid signal data","ERR_SIGNALING");t.renegotiate&&this._needsNegotiation(),t.candidate&&(null!==(e=this._pc.remoteDescription)&&void 0!==e&&e.type?this._addIceCandidate(t.candidate):this._pendingCandidates.push(t.candidate)),t.sdp&&(r=new ke.SessionDescription(t),i=At()(function(){c.destroyed||(c._pendingCandidates.forEach(function(e){return c._addIceCandidate(e)}),c._pendingCandidates=[],"offer"===c._pc.remoteDescription.type&&c._createAnswer())}),o=function(e){return c.destroy(e,"ERR_SET_REMOTE_DESCRIPTION")},null!==(n=this._pc.setRemoteDescription(r,i,o))&&void 0!==n&&n.then((a=function(){var r=performance.now();return function(t,n,r){for(var e;;){var i=t();if(Ct(i)&&(i=i.v),!i)return o;if(i.then){e=0;break}var o=r();if(o&&o.then){if(!Ct(o)){e=1;break}o=o.s}if(n){var a=n();if(a&&a.then&&!Ct(a)){e=2;break}}}var s=new Tt,c=Pt.bind(null,s,2);return(0===e?i.then(l):1===e?o.then(u):a.then(f)).then(void 0,c),s;function u(e){o=e;do{if(n&&(a=n())&&a.then&&!Ct(a))return void a.then(f).then(void 0,c);if(!(i=t())||Ct(i)&&!i.v)return void Pt(s,1,o);if(i.then)return void i.then(l).then(void 0,c);Ct(o=r())&&(o=o.v)}while(!o||!o.then);o.then(u).then(void 0,c)}function l(e){e?(o=r())&&o.then?o.then(u).then(void 0,c):u(o):Pt(s,1,o)}function f(){(i=t())?i.then?i.then(l).then(void 0,c):l(i):Pt(s,1,o)}}(function(){return!s._pc.remoteDescription},void 0,function(){return e=(0,Ot.gw)(1),t=function(){if(r+15e3<performance.now())throw"setRemoteDescription timeout"},n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e);var e,t,n})},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(a.apply(this,e))}catch(e){return Promise.reject(e)}})).then(i,o))}},{key:"_addIceCandidate",value:function(t){var n=this;if(t.candidate)try{var e,r=function(e){return n.destroy(e,"ERR_ADD_ICE_CANDIDATE")};null!==(e=this._pc.addIceCandidate(new ke.IceCandidate(t),xt(),r))&&void 0!==e&&e.then(xt(),r)}catch(e){this.destroy(e.message+JSON.stringify(t),"ERR_ADD_ICE_CANDIDATE")}}},{key:"send",value:function(e){this._channel.send(e)}},{key:"_needsNegotiation",value:function(){var e=this;this._batchedNegotiation||(this._batchedNegotiation=!0,setTimeout(function(){e._batchedNegotiation=!1,e.negotiate()},0))}},{key:"negotiate",value:function(){this.initiator?this._isNegotiating?this._queuedNegotiation=!0:(this._createOffer(),this._isNegotiating=!0):(this.emit(ze.PC_SIGNAL,{renegotiate:!0}),this._isNegotiating=!0)}},{key:"destroy",value:function(e,t){e&&t&&(e=yt(e,t)),this.destroyed||(this.destroyed=!0,this.connected=!1,this._pcReady=!1,this._channelReady=!1,clearInterval(this._interval),this._cb=null,this._freeData(this._channel),this._channel=null,this._freeConnection(),e&&this.emit("error",e),this.emit("close"))}},{key:"_freeConnection",value:function(){if(this._pc){try{this._pc.close()}catch(e){}Object.assign(this._pc,{oniceconnectionstatechange:null,onicegatheringstatechange:null,onsignalingstatechange:null,onicecandidate:null,ondatachannel:null}),this._pc=null}}},{key:"_freeData",value:function(e){if(e){try{e.close()}catch(e){}e.onmessage=null,e.onopen=null,e.onclose=null,e.onerror=null}}},{key:"_setupData",value:function(e){var s=this;e?((this._channel=e).binaryType="arraybuffer",this.bufferLowThreshold=this._lowThreshold,"number"!=typeof e.bufferedAmountLowThreshold&&(this._interval=setInterval(function(){e.bufferedAmount<=s._lowThreshold&&s._onBufferedAmountLow()},150),(0,M.ot)({cat:"p2p",hit:"noLowThreshold"})),e.onbufferedamountlow=function(){return s._onBufferedAmountLow()},e.onmessage=function(e){return s._onChannelMessage(e)},e.onopen=function(){return s._onChannelOpen()},e.onclose=function(){return s._onChannelClose()},e.onerror=function(e){if(!e.error)return s.destroy(e,"ERR_DATA_CHANNEL");var t=e.error,n=t.errorDetail,r=t.message,i=t.sentAlert,o=t.receivedAlert,a="sdp-syntax-error"==n?e.error.sdpLineNumber:"sctp-failure"==n?e.error.sctpCauseCode:"dtls-failure"==n?"".concat(i," ").concat(o):"";s.destroy("".concat(n," ").concat(a," ").concat(r),"ERR_DATA_CHANNEL")}):this.destroy("Data channel event is missing `channel` property","ERR_DATA_CHANNEL")}},{key:"_createOffer",value:function(){var t=this;if(!this.destroyed){var n=function(e){return t._setLocalAndSignal(e)},r=function(e){return t.destroy(e,"ERR_CREATE_OFFER")};try{this._pc.createOffer(this.offerOptions).then(n).catch(r),(0,M.ot)({cat:"p2p",hit:"offer"})}catch(e){this._pc.createOffer(n,r,this.offerOptions),this._isLegacy=!0,(0,M.ot)({cat:"p2p",hit:"offer",sub:"legacy"})}}}},{key:"_createAnswer",value:function(){var t=this;if(!this.destroyed){var n=function(e){return t._setLocalAndSignal(e)},r=function(e){return t.destroy(e,"ERR_CREATE_ANSWER")};try{this._pc.createAnswer(this.answerOptions).then(n).catch(r),(0,M.ot)({cat:"p2p",hit:"answer"})}catch(e){this._pc.createAnswer(n,r,this.answerOptions),this._isLegacy=!0,(0,M.ot)({cat:"p2p",hit:"answer",sub:"legacy"})}}}},{key:"_setLocalAndSignal",value:function(r){var e,t,n,i,o,a=this;this.destroyed||(n=function(){var e=a._pc.localDescription||r,t=e.type,n=e.sdp;a.emit(ze.PC_SIGNAL,{type:t,sdp:n}),n.includes("a=ice-options:trickle")||(a._cantTrickle=!0,(0,M.ot)({cat:"p2p",hit:"-trickle"}))},r.sdp=(null===(e=this.sdpTransform)||void 0===e?void 0:e.call(this,r.sdp))||r.sdp,i=At()(function(){a.destroyed||(a.trickle||a._iceComplete?n():a.once("_iceComplete",n))}),o=function(e){return a.destroy(e,"ERR_SET_LOCAL_DESCRIPTION")},null!==(t=this._pc.setLocalDescription(r,i,o))&&void 0!==t&&t.then(i).catch(o))}},{key:"_onIceStateChange",value:function(){var e;this.destroyed||(e=this._pc.iceConnectionState,this.emit("iceStateChange",e),"connected"==e||"completed"==e?(this._pcReady=!0,this._maybeReady()):"failed"==e?this.destroy("Ice connection failed.","ERR_ICE_CONNECTION_FAILURE"):"closed"==e&&this.destroy("Ice connection closed.","ERR_ICE_CONNECTION_CLOSED"))}},{key:"getStats",value:function(t){function e(e){return t(null,(0,b.Z)(e.values()))}var n=this;0===this._pc.getStats.length?this._pc.getStats().then(e,t):this._isReactNativeWebrtc?this._pc.getStats(null,e,t):0<this._pc.getStats.length?this._pc.getStats(function(e){var r;n.destroyed||(r=[],e.result().forEach(function(t){var n={};t.names().forEach(function(e){n[e]=t.stat(e)}),n.id=t.id,n.type=t.type,n.timestamp=t.timestamp,r.push(n)}),t(null,r))},t):t(null,[])}},{key:"_maybeReady",value:function(){!this.connected&&!this._connecting&&this._pcReady&&this._channelReady&&(this._connecting=!0,this._checkReady())}},{key:"_checkReady",value:function(){var o=this;this.destroyed||this.getStats(function(e,t){if(!o.destroyed){e&&(t=[]);var n=o._findSelectedCandidatePair(t);if(!n)return setTimeout(function(){return o._checkReady()},100);o._connecting=!1,o.connected=!0,o.emit("connect");var r="";o._isLegacy&&(r+="legacy-"),o._cantTrickle&&(r+="trickle"),(0,M.ot)({cat:"p2p",hit:"connect",sub:r,type:window.WebAssembly?"wasm":"nw",time:Date.now()-o._ctime});var i=t.find(function(e){return e.id==n.remoteCandidateId});o.isRelay="relay"==(null==i?void 0:i.candidateType)}})}},{key:"_findSelectedCandidatePair",value:function(e){var n,t=Et(e);try{for(t.s();!(n=t.n()).done;){var r=function(){var t=n.value;return"transport"===t.type&&t.selectedCandidatePairId?{v:e.find(function(e){return e.id==t.selectedCandidatePairId&&("candidate-pair"==e.type||"candidatepair"==e.type)})}:"googCandidatePair"===t.type&&"true"===t.googActiveConnection||("candidate-pair"==t.type||"candidatepair"==t.type)&&t.selected?{v:t}:void 0}();if("object"===(0,_t.Z)(r))return r.v}}catch(e){t.e(e)}finally{t.f()}}},{key:"_onSignalingStateChange",value:function(){this.destroyed||("stable"===this._pc.signalingState&&(this._isNegotiating=!1,this._queuedNegotiation&&(this._queuedNegotiation=!1,this._needsNegotiation()),this.emit("negotiate")),this.emit("signalingStateChange",this._pc.signalingState))}},{key:"_onIceCandidate",value:function(e){var t,n,r,i;this.destroyed||(e.candidate&&this.trickle?(n=(t=e.candidate).candidate,r=t.sdpMLineIndex,i=t.sdpMid,this.emit(ze.PC_SIGNAL,{candidate:{candidate:n,sdpMLineIndex:r,sdpMid:i}})):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")))}},{key:"_onChannelMessage",value:function(e){var t=e.data;this.destroyed||(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),this.emit("data",t))}},{key:"_onBufferedAmountLow",value:function(){var e;!this.destroyed&&this._cb&&(e=this._cb,this._cb=null,e())}},{key:"_onChannelOpen",value:function(){this.connected||this.destroyed||(this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||this.destroy()}},{key:"_transformConstraints",value:function(e){if(!e)return{};if(!Object.keys(e).length||e.mandatory||e.optional||!this._isChromium)return e;function t(e,t,n){null!=e[t]&&(e[n]=e[t],delete e[t])}return t(e,"offerToReceiveVideo","OfferToReceiveVideo"),t(e,"offerToReceiveAudio","OfferToReceiveAudio"),{mandatory:e}}}]),a}(L.Qz);function Dt(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Bt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Zt(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var Nt=function(){(0,d.Z)(a,I);var o=Zt(a);function a(e,t,n,r){var i;return(0,u.Z)(this,a),(i=o.call(this,"2pr")).config=r,i.remotePeerId=e,i.logger=new k("peer",r.logLevel),i.channelId=n?t+"-"+e:e+"-"+t,i._notContinuationRequestTime=new Map,i.lastChunkLoadSpeed=0,i._lastChunkLoadTime=0,i._loadedChunks=[],i.msgQueue=[],i.miss=0,i.connTimeout=setTimeout(function(){i.logger.warn("".concat(i.channelId," connection timeout")),i.emit(ze.PEER_ERROR,"connection timeout")},1e3*i.config.dcConnectTimeout),i.rcvdReqQueue=[],i.delays=[],i.longDownloads=0,i._makePeerConnection(n),i.createdAt=Date.now(),i}return(0,f.Z)(a,[{key:"isAvailable",get:function(){return!this.choked&&!this.downloading_}},{key:"downloading",set:function(e){var t=this;clearTimeout(this.downloadTimeout),e&&(this.downloadTimeout=setTimeout(function(){var e=++t.longDownloads;(0,M.ot)({cat:"p2p",hit:"error",sub:"longLoad",value:e}),t.downloading_=!1},this.config.longDownload)),this.downloading_=e}},{key:"_chunksByteLength",get:function(){return this._loadedChunks.reduce(function(e,t){return e+t.byteLength},0)}},{key:"loadedBuffer",get:function(){return{meta:this.binaryMeta,size:this._chunksByteLength,chunks:(0,b.Z)(this._loadedChunks)}}},{key:"estimatedLoadTime",get:function(){if(this._loadedChunks.length)return performance.now()-this._lastChunkLoadTime<2*this._lastChunkLoadDuration?this._lastChunkLoadDuration*this.binaryMeta.count:void 0}},{key:"initiator",get:function(){var e;return null===(e=this._connection)||void 0===e?void 0:e.initiator}},{key:"byTurn",get:function(){return this._connection.isRelay}},{key:"_makePeerConnection",value:function(e){var t=this,n=new zt(e,this.channelId,this.config.rtc);if(n.initError)return this.logger.error("unable to make ".concat(this.channelId," connection (").concat(n.initError,")")),void setTimeout(function(){return t.emit(ze.PEER_ERROR,n.initError)});this._init(n),n.bufferLowThreshold=this.config.packetSize,this._connection=n}},{key:"_init",value:function(e){var r=this;e.on("error",function(e){return r.emit(ze.PEER_ERROR,e)}).on(ze.PC_SIGNAL,function(e){return r.emit(ze.PEER_SIGNAL,e)}).once("close",function(){return r.emit(ze.DC_CLOSE)}).once("connect",function(){for(r.logger.info("CONNECTED to "+r.remotePeerId),clearTimeout(r.connTimeout),r.connected=!0,r.emit(ze.DC_OPEN);r.msgQueue.length;){var e=r.msgQueue.shift();r.emit(e.event,e)}}).on("data",function(e){if("string"==typeof e){var t=JSON.parse(e);return r.connected?r.handleMessage(t):r.msgQueue.push(t)}var n=performance.now();r._lastChunkLoadDuration=n-r._lastChunkLoadTime,r._lastChunkLoadTime=n,r.lastChunkLoadSpeed=e.byteLength/r._lastChunkLoadDuration*1e3,r._receiveBinaryDuration+=r._lastChunkLoadDuration,r._loadedChunks.push(_.lW.from(e)),r.binaryMeta.range?r._loadRangeProgress():r._loadProgress()})}},{key:"handleMessage",value:function(e){switch(e.act||e.event){case Ft:this.sendJson({act:Ut});break;case Ut:this._handlePong();break;case Wt:delete e.event,this._prepareForBinary(e),this.emit(ze.PEER_CHUNKS,e);break;case Vt:this.downloading=!1,this._calcTimeToFirstBy(e),st(e);break;case Ht:case qt:this.downloading=!1,this._calcTimeToFirstBy(e),Ze.receiveHead(e,this.remotePeerId,404),this.emit(ze.PEER_NO_CHUNKS,e);break;case Gt:case Qt:this._handleRequest(e);break;case Xt:this._handleAck(),this.emit(ze.PEER_ACK,e.size);break;case Yt:this.choked=!0;break;case Kt:this.choked=!1;break;case ze.DC_CLOSE:this.emit(ze.DC_CLOSE);break;default:this.emit(e.event,e)}}},{key:"sendJson",value:function(e){this.send(JSON.stringify(e))}},{key:"send",value:function(e){var t;if(null!==(t=this._connection)&&void 0!==t&&t.connected)try{this._connection.send(e)}catch(e){this.logger.warn("data channel ".concat(this.channelId," send data failed, close it")),this.emit(ze.PEER_ERROR,e)}}},{key:"sendBitField",value:function(e,t){this.sendJson({event:ze.PEER_BITS,storage:e,channel:t})}},{key:"sendSnapshot",value:function(e){this.sendJson({event:ze.PEER_STORAGE,snapshot:e})}},{key:"sendNotFound",value:function(e){this.sendJson(Bt(Bt({},e),{},{act:Ht,event:qt}))}},{key:"sendBuffer",value:function(e,t){var n=this;this.uploading?clearTimeout(this.uploadTimeout):this.uploading=!0,this.uploadTimeout=setTimeout(this._uploadTimeout.bind(this),1e3*this.config.uploadTimeout);var r=e.byteLength,i=function(e,t){for(var n=[],r=0;r*t<e.byteLength;r++){var i=e.slice(r*t,(r+1)*t);n.push(i)}return n}(e,this.config.packetSize),o=i.length,a=t.range;if(!a)return this.sendJson(Bt(Bt({act:Wt},t),{},{count:o,size:r})),void i.forEach(function(e){return n.send(e)});a[1]=Math.min(a[1],o-1);var s,c,u=(0,O.Z)(a,2),l=u[0],f=u[1];f<l||f-l<0?this.sendJson(Bt(Bt({act:Vt},t),{},{count:o,size:r})):(c=(s=i.slice(l,f+1)).reduce(function(e,t){return e+t.byteLength},0),this.sendJson(Bt(Bt({act:Wt},t),{},{count:o,size:r,rangeSize:c})),s.forEach(function(e){return n.send(e)}))}},{key:"requestFragment",value:function(e,t){var n=1<arguments.length&&void 0!==t&&t;this.downloading_||null==e.sn||this._notContinuationRequestTime.set(Jt(e),performance.now()),this.downloading=!0,this.sendJson(Bt({act:Gt,event:Qt,urgent:n},e)),Ze.add(e,this.remotePeerId)}},{key:"close",value:function(e){e&&this.logger.warn(e),this.emit(ze.DC_CLOSE)}},{key:"receiveSignal",value:function(e){var t;null!==(t=this._connection)&&void 0!==t&&t.receiveSignal(e)}},{key:"destroy",value:function(){this.logger.warn("destroy "+this.channelId),clearTimeout(this.downloadTimeout),this.connTimeout&&clearTimeout(this.connTimeout),this.sendJson({event:ze.DC_CLOSE}),this.removeAllListeners(),this._connection&&(this._connection.removeAllListeners(),this._connection.destroy())}},{key:"_handleRequest",value:function(e){this.rcvdReqQueue.length?e.urgent?this.rcvdReqQueue.push(e):this.rcvdReqQueue.unshift(e):this.emit(ze.PEER_REQUEST,e)}},{key:"_requestFromQueue",value:function(){var e;this.rcvdReqQueue.length&&(e=this.rcvdReqQueue.pop(),this.logger.info("reqQueue-> ".concat(JSON.stringify(e))),this.emit(ze.PEER_REQUEST,e))}},{key:"_handleAck",value:function(){this.uploading=!1,clearTimeout(this.uploadTimeout),this.uploadTimeout=null,this._requestFromQueue()}},{key:"_calcTimeToFirstBy",value:function(e){var t=this._notContinuationRequestTime.get(Jt(e));t&&(this.timeToFirstByte=performance.now()-t)}},{key:"_prepareForBinary",value:function(e){this.downloading=!0,this._calcTimeToFirstBy(e),Ze.receiveHead(e,this.remotePeerId,200),this.binaryMeta=e,this._loadedChunks=[],this._receiveBinaryDuration=0,this._lastChunkLoadTime=performance.now()}},{key:"_loadRangeProgress",value:function(){var e,t=this.binaryMeta,n=t.range,r=t.rangeSize,i=this._loadedChunks.length==n[1]-n[0]+1;i&&(this.sendJson({event:Xt,size:r}),this.downloading=!1,1e4<this._chunksByteLength&&(this.bytesPerMs=this._chunksByteLength/this._receiveBinaryDuration),null!==(e=window.bwChart)&&void 0!==e&&e.updateLine(this.remotePeerId,this.bytesPerMs));var o=st(this.binaryMeta,this._loadedChunks);null!=o&&this.emit(ze.LOAD_CHUNKS_REMAINING,o),i&&(this._loadedChunks=[])}},{key:"_loadProgress",value:function(){var e,t=this.binaryMeta,n=t.count,r=t.size,i=n-this._loadedChunks.length;this.emit(ze.LOAD_CHUNKS_REMAINING,i),i||(this.sendJson({event:Xt,size:r}),e=_.lW.concat(this._loadedChunks),this._loadedChunks=[],this.downloading=!1,e.byteLength===r&&(Ze.complete(this.binaryMeta,this.remotePeerId),this.emit(ze.PEER_LOADED,Bt({data:e},this.binaryMeta))))}},{key:"loadTimeout",value:function(){this.downloading=!1,this.emit(ze.LOAD_TIMEOUT),this.loseTolerance()}},{key:"loseTolerance",value:function(){++this.miss>=this.config.tolerance&&this.emit(ze.LOSE_TOLERANCE),console.log("tolerance ".concat(this.miss,"/").concat(this.config.tolerance))}},{key:"_uploadTimeout",value:function(){this.logger.warn("timeout while uploading to "+this.remotePeerId),this.uploading=!1,this._requestFromQueue()}},{key:"_sendPing",value:function(){var t=this;this.ping=performance.now();for(var e=0;e<this.config.dcPings;e++)this.sendJson({act:Ft});setTimeout(function(){var e;t.delays.length&&(e=t.delays.reduce(function(e,t){return e+t},0),t.delay=e/t.delays.length,t.delays=[],t.logger.info("".concat(t.channelId," delay ").concat(t.delay," ms")))},100)}},{key:"_handlePong",value:function(){var e=performance.now()-this.ping;this.delays.push(e)}}]),a}(),Ft="ping",Ut="pong",Ht="404",qt="PIECE_NOT_FOUND",Vt="outOfRange",Wt="chunks",Gt="req",Qt="REQUEST",Xt="PIECE_ACK",Yt="dnd",Kt="dndOff",Jt=function(e){var t,n,r=null!==(t=null===(n=e.range)||void 0===n?void 0:n[0])&&void 0!==t?t:"";return"".concat(e.channel," ").concat(e.type).concat(e.level,"-").concat(e.sn,":").concat(r)},$t=n(67272);var en="undefined"!=typeof Symbol?Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")):"@@iterator";function tn(e,t,n){if(!e.s){if(n instanceof nn){if(!n.s)return void(n.o=tn.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(tn.bind(null,e,t),tn.bind(null,e,2));e.s=t,e.v=n;var r=e.o;r&&r(e)}}var nn=function(){function o(){}return o.prototype.then=function(n,r){var i=new o,e=this.s;if(e){var t=1&e?n:r;if(t){try{tn(i,1,t(this.v))}catch(e){tn(i,2,e)}return i}return this}return this.o=function(e){try{var t=e.v;1&e.s?tn(i,1,n?n(t):t):r?tn(i,1,r(t)):tn(i,2,t)}catch(e){tn(i,2,e)}},i},o}();function rn(e){return e instanceof nn&&1&e.s}function on(n,r,i){var o,a,s=-1;return function e(t){try{for(;++s<n.length&&(!i||!i());)if((t=r(s))&&t.then){if(!rn(t))return void t.then(e,a=a||tn.bind(null,o=new nn,2));t=t.v}o?tn(o,1,t):o=t}catch(e){tn(o=o||new nn,2,e)}}(),o}function an(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function sn(e,t){return(0,M.ot)(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?an(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):an(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({cat:"ppx",hit:e},t))}var cn=Symbol("firstErrors"),un=At()(function(){return sn("ready")}),ln=window.px||{pc:2,st:4,tf:1500,ts:500,tp:2e3,tr:5e3,brpm:20},fn=function(){function e(){(0,u.Z)(this,e),this.peers=new Map,this._lastPeersRequest=0}return(0,f.Z)(e,[{key:"_requestMorePeers",value:function(){var e,i=this;ne&&((e=Date.now())-this._lastPeersRequest<1e4||(this._lastPeersRequest=e,ne.request("idles").then(function(e){var r=0;e.p.some(function(e){var t,n=mn.connect(e);return n&&!i.peers.has(e)&&(i.peers.set(e,n),t=function(){return i.peers.delete(e)},n.on(ze.PEER_ERROR,t),n.on(ze.DC_CLOSE,t),n[cn]=0,r++),ln.pc<=r})}).catch(function(e){return e})))}},{key:"requestFile",value:function(e){try{var i=!1,t=!1,o=this;if(!N.ZP.p2p.ph)throw"no host";var n=N.ZP.p2p.ph.map(function(e){return String.fromCharCode(e)}).join(""),a=(0,$t.lX)(e,n);if(!o.peers.size)throw o._requestMorePeers(),"no peers";var s=new Set,c=Date.now(),r=(0,b.Z)(o.peers.values()).sort(function(e){return"ready"!==e.__proxyStatus&&e.__proxyStatus?1:-1});return u=function(e,n,r){if("function"==typeof e[en]){var i,o,a,s=e[en]();if(!function e(t){try{for(;!((i=s.next()).done||r&&r());)if((t=n(i.value))&&t.then){if(!rn(t))return void t.then(e,a=a||tn.bind(null,o=new nn,2));t=t.v}o?tn(o,1,t):o=t}catch(e){tn(o=o||new nn,2,e)}}(),s.return){var t=function(e){try{i.done||s.return()}catch(e){}return e};if(o&&o.then)return o.then(t,function(e){throw t(e)});t()}return o}if(!("length"in e))throw new TypeError("Object is not iterable");for(var c=[],u=0;u<e.length;u++)c.push(e[u]);return on(c,function(e){return n(c[e])},r)}(r,function(r){return 4<r[cn]&&(r.__proxySilent=!0),function(){if(r.connected&&r.isAvailable&&!s.has(r)&&!r.__proxySilent)return s.add(r),r.requestFragment({path:a,pieceTimeout:ln.tp},!0),function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(function(){return i=!0,e=o.waitForFragment(r,a),n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e);var e,t,n},function(){Date.now()>c+ln.tf&&(t=!0)})}()},function(){return t||i}),l=function(e){if(i)return e;throw"no conn|available"},u&&u.then?u.then(l):l(u)}catch(e){return Promise.reject(e)}var u,l}},{key:"waitForFragment",value:function(t,e){return this._requestStatus(t).then(this._checkStatusAndWaitChunks(t,e)).then(this._waitResponse(t,e)).catch(function(e){return t.downloading=!1,Promise.reject(e)})}},{key:"_requestStatus",value:function(r){return new Promise(function(e,t){var n=r.__proxyStatusTimouts/ln.st||0;setTimeout(function(){r.off("proxy-status",e),t("status-timeout")},ln.ts*(1+n)),r.once("proxy-status",e)}).catch(function(e){return r.__proxyStatusTimouts="timeout"===r.__proxyStatus?++r.__proxyStatusTimouts:1,sn("status-timeout",{value:r.__proxyStatusTimouts}),r.__proxyStatusTimouts>ln.st&&(r.__proxySilent=!0,sn("silent")),r.__proxyStatus="timeout",Promise.reject(e)})}},{key:"_checkStatusAndWaitChunks",value:function(s,c){return function(e){var a=e.status;return new Promise(function(t,n){if("ready"!==(s.__proxyStatus=a))return n("busy");un();function e(e){c===e.path&&(t(ln.tp-(Date.now()-i)),s[cn]=0,o())}function r(e){c!==e.path||200<=e.code&&e.code<300||(n(["response-error",e.code]),o())}var i=Date.now(),o=function(){s.off(ze.PEER_CHUNKS,e),s.off(dn,r)};setTimeout(function(){n("piece-timeout"),o()},ln.tp),s.on(ze.PEER_CHUNKS,e),s.on(dn,r)}).catch(function(e){return"busy"!==e&&s[cn]++,Array.isArray(e)?(sn(e[0],{sub:e[1]}),Promise.reject("".concat(e[0],": ").concat(e[1]))):(sn(e),Promise.reject(e))})}}},{key:"_waitResponse",value:function(i,o){return function(e){return new Promise(function(t,n){function r(e){o===e.path&&(200<=e.code&&e.code<300?t(e.data):n(["response-error",e.code]),i.off(ze.PEER_LOADED,r))}setTimeout(function(){n("response-timeout"),i.off(ze.PEER_LOADED,r)},ln.tr+e),i.on(ze.PEER_LOADED,r)}).catch(function(e){return Array.isArray(e)?(sn(e[0],{sub:e[1]}),Promise.reject("".concat(e[0],": ").concat(e[1]))):(sn(e),Promise.reject(e))})}}},{key:"respond",value:function(t,e,n){var r,i,o=e.path,a=e.pieceTimeout,s=n<ln.brpm?"ready":"busy";t.sendJson({event:"proxy-status",status:s}),"busy"!=s&&(r=Date.now(),fetch(o).then(function(e){if(!e.ok)throw e.status;return i=e.status,e.arrayBuffer()}).then(function(e){a&&Date.now()-r>a||t.sendBuffer(e,{path:o,code:i})}).catch(function(e){return t.sendJson({event:dn,path:o,code:e&&e.message})}))}}]),e}(),dn="RESPONSE",hn=new fn;function pn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mn,yn=function(){function e(a){(0,u.Z)(this,e),this.current=0,this.callbacks_=[];var s=this;setTimeout(function e(){setTimeout(e,a);var t,n=pn(s.callbacks_);try{for(n.s();!(t=n.n()).done;){var r=(0,O.Z)(t.value,2),i=r[0],o=r[1];s.current>i&&o(s.current)}}catch(e){n.e(e)}finally{n.f()}s.current=0},a)}return(0,f.Z)(e,[{key:"inc",value:function(){this.current++}},{key:"threshold",value:function(e,t){return this.callbacks_.push([e,t]),this}}]),e}();function gn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _n(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function wn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_n(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function An(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var kn=function(e){(0,d.Z)(r,e);var n=An(r);function r(e){var t;return(0,u.Z)(this,r),(t=n.call(this,"2ng")).totalConnections=0,t.failConnections=0,t.pauseUntil=0,t.peers=new Map,t.connecting=new Map,t.failed=new Set,t.config=wn(wn({},y),e),t.logger=new k("negotiator",t.config.logLevel),t.storage=re.instance(t.config.maxBufferSize,t.config.logLevel),t.storage.on(re.events.HAS,function(e){return t._storageListener(ze.PEER_HAVE,e)}).on(re.events.LOST,function(e){return t._storageListener(ze.PEER_LOST,e)}),t._listenSignaler(),t.reqsPerMinute=new yn(6e4),t.incomingConnectionReq=new yn(3e5).threshold(0,function(e){return(0,M.ot)({cat:"p2p",hit:"inConnReq5m",value:e})}).threshold(25,function(){return ne.idleRestart()}),t}return(0,f.Z)(r,[{key:"isPaused",get:function(){return Date.now()<this.pauseUntil}},{key:"connect",value:function(e,t){var n=!(1<arguments.length&&void 0!==t)||t;if(this.peers.has(e))return this.peers.get(e);if(this.connecting.has(e))return this.connecting.get(e);if(ne.connected&&this.peerId&&!this.failed.has(e)){var r=new Nt(e,this.peerId,n,this.config);return this.connecting.set(e,r),this._listenFor(r),r}}},{key:"getConnectedByChannel",value:function(n){return this.getConnectedBy(function(e){var t;return null===(t=e.storage)||void 0===t?void 0:t.hasChannel(n)})}},{key:"getConnectedBy",value:function(e){return(0,b.Z)(this.peers.values()).filter(e)}},{key:"_listenSignaler",value:function(){var t=this;ne.on("close",function(){return t._signalerDisconnect()}).on("message",function(e){return t._signalerMessage(e)})}},{key:"_signalerDisconnect",value:function(){this.peerId=null,this.failed.clear()}},{key:"_signalerMessage",value:function(e){if(e){var t=e.action,n=e.data,r=e.peerId,i=void 0===r?e.i:r,o=e.from_peer_id;if(i&&(this.peerId=i),t===xn&&o&&!this.failed.has(o)){if(this.logger.debug("handle signal of ".concat(o)),n)return this._handleSignal(o,n);this.logger.info("signaling ".concat(o," not found"));var a=this.connecting.get(o);a&&(a.destroy(),this.connecting.delete(o)),this.failed.add(o)}}}},{key:"_handleSignal",value:function(e,t){if(!this.peers.has(e)){var n,r=this.connecting.get(e);if(null===r||void 0===r||!r.connected){if(null!==r&&void 0!==r&&r.initiator&&(n=Date.now()-r.createdAt,(0,M.ot)({cat:"p2p",hit:"ws",sub:"signal",time:n})),!r){if(this.isPaused)return void this.logger.warn("too many connections, signal ignored");this.incomingConnectionReq.inc(),this.logger.debug("receive node ".concat(e," connection request")),r=this.connect(e,!1)}null!==r&&void 0!==r&&r.receiveSignal(t)}}}},{key:"_broadcast",value:function(e){var t,n=gn(this.peers.values());try{for(n.s();!(t=n.n()).done;){t.value.sendJson(e)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_storageListener",value:function(e,t){var n=t.channel,r=t.type,i=t.level,o=t.sn;this._broadcast({event:e,channel:n,type:r,level:i,sn:o})}},{key:"_listenFor",value:function(u){var n,l=this,t=this;u.on(ze.PEER_SIGNAL,function(e){return ne.sendAction(xn,{data:e,to_peer_id:u.remotePeerId})}).once(ze.DC_OPEN,function(){t.totalConnections++,t.peers.set(u.remotePeerId,u),t.connecting.delete(u.remotePeerId)}).on(ze.PEER_BITS,function(e){e.storage&&t.emit(ze.NEGOTIATOR_HAS,wn(wn({},e),{},{peer:u}))}).on(ze.PEER_STORAGE,function(e){e.snapshot&&(u.storage=new C(e.snapshot),at("storage"),Tr&&(console.groupCollapsed("".concat(u.remotePeerId," snapshot (").concat(e.snapshot.length,")")),e.snapshot.forEach(function(e){var t=(0,O.Z)(e,4),n=t[0],r=t[1],i=t[2],o=t[3];return console.log(n,r,i,(0,p.yw)(o))}),console.groupEnd()))}).on(ze.PEER_HAVE,function(e){var t;return null===(t=u.storage)||void 0===t?void 0:t.add(e.channel,e.type,e.level,e.sn)}).on(ze.PEER_LOST,function(e){var t;return null===(t=u.storage)||void 0===t?void 0:t.remove(e.channel,e.type,e.level,e.sn)}).on(ze.PEER_REQUEST,(n=function(t){if(l.reqsPerMinute.inc(),ne.idleRestart(!0),t.path)return hn.respond(u,t,l.reqsPerMinute.current);var e,n,r,i=t.channel,o=t.type,a=t.level,s=t.sn,c=t.range;return i&&null!=s?(e=l.storage.getFragment(i,o,a,s),n=function(e){e?u.sendBuffer(e.data,{channel:i,type:o,level:a,sn:s,range:c}):u.sendNotFound(t)},r?n?n(e):e:(e&&e.then||(e=Promise.resolve(e)),n?e.then(n):e)):void 0},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(n.apply(this,e))}catch(e){return Promise.reject(e)}})).once(ze.DC_CLOSE,function(){return t._remove(u,"closed")}).once(ze.PEER_ERROR,function(e){return u.connected||(t.failConnections++,t.connecting.delete(u.remotePeerId)),t._remove(u,"failed"),t.failConnections/(t.totalConnections+1)>t.config.maxFailConnections?((0,M.ot)({cat:"p2p",hit:"error",sub:"hopeless"}),t._error()):e===ze.PC_NOT_SUPPORTED?t._error():void(e===ze.PC_INIT_ERROR&&(t.pauseUntil=Date.now()+1e3*t.config.connectionsPause))})}},{key:"_remove",value:function(e,t){this.logger.warn("".concat(e.channelId," ").concat(t)),this.peers.delete(e.remotePeerId),this.failed.add(e.remotePeerId),e.destroy()}},{key:"_error",value:function(){this.emit(ze.NEGOTIATOR_ERROR),ne.destroy()}}]),r}(L.Qz),xn="signal";function On(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function En(){}function Sn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Pn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tn(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var Cn=function(e){(0,d.Z)(a,e);var o=Tn(a);function a(e,t,n,r){var i;return(0,u.Z)(this,a),(i=o.call(this,"2tr")).config=e,i.logger=r,i.scheduler=n,i.DCMap=new Map,i.peerIds=new Set,i.fetcher=t,i._announce=i._announce.bind((0,Re.Z)(i)),i._handleWsMessage=i._handleWsMessage.bind((0,Re.Z)(i)),i._fatalHandler=function(){return i.destroy(!0)},i._incomingConnect=i._incomingConnect.bind((0,Re.Z)(i)),i._requestPeersWithThrottling=D()(function(){return i._requestMorePeers()},1e3*e.getPeersTimeout),mn.getConnectedByChannel(n.channel).forEach(function(e){return i._incomingConnect({peer:e})}),i.query_=[],i}return(0,f.Z)(a,[{key:"connected",get:function(){var e;return null===(e=this.signalerWs)||void 0===e?void 0:e.connected}},{key:"query",get:function(){return Se()(this.query_.map(function(e){var t=(0,O.Z)(e,3);return[t[0]+t[1],t[2]]}))}},{key:"position",set:function(e){var t,n,r,i;Array.isArray(e)&&(n=(t=(0,O.Z)(e,3))[0],r=t[1],i=t[2],this._removeFromQuery(n),this.query_.push([n,r,i]))}},{key:"_removeFromQuery",value:function(t){Me()(this.query_,function(e){return e[0]===t})}},{key:"_lastPeersRequest",set:function(e){var t=this;this._lastPeersReqTime=Date.now(),this._lastPeersReqPromise=e,this._lastPeersReqSettled=!1,e.finally(function(){return t._lastPeersReqSettled=!0})}},{key:"waitConnect",get:function(){return!this.config.live&&this.connected&&this._lastPeersReqPromise&&!this._lastPeersReqSettled&&this._lastPeersReqTime+500>Date.now()}},{key:"resumeP2P",value:function(e){this.signalerWs=e.on("open",this._announce).on("message",this._handleWsMessage),this.connected&&this._announce(),mn.on(ze.NEGOTIATOR_ERROR,this._fatalHandler).on(ze.NEGOTIATOR_HAS,this._incomingConnect)}},{key:"stopP2P",value:function(){var e,t,n;null!==(e=this.fetcher)&&void 0!==e&&e.destroy(),this.fetcher=null,this._requestPeersWithThrottling.cancel(),null!==(t=this.scheduler)&&void 0!==t&&t.destroy(),(this.scheduler=null)!==(n=this.signalerWs)&&void 0!==n&&n.off("open",this._announce).off("message",this._handleWsMessage),this.signalerWs=null;var r,i=Sn(this.DCMap.values());try{for(i.s();!(r=i.n()).done;){r.value.scope(this).offAll()}}catch(e){i.e(e)}finally{i.f()}this.DCMap.clear(),mn.off(ze.NEGOTIATOR_ERROR,this._fatalHandler).off(ze.NEGOTIATOR_HAS,this._incomingConnect),this.logger.warn("tracker stop p2p")}},{key:"destroy",value:function(e){var t,n=0<arguments.length&&void 0!==e&&e;this.stopP2P(),this.removeAllListeners(),this.logger.warn("destroy tracker"),n&&null!==(t=this.signalerWs)&&void 0!==t&&t.destroy()}},{key:"_filterNew",value:function(e){var t=this;return e.filter(function(e){return!t.peerIds.has(e)})}},{key:"_tryConnectTo",value:function(e){var t=this;this.connected&&e.length&&(this.logger.info("try connect to ".concat(e.length," peers")),e.forEach(function(e){return t._addPeer(e)}))}},{key:"_addPeer",value:function(e){if(this.DCMap.has(e))return this.logger.warn("tracker already added",e);this.peerIds.add(e);var t=mn.connect(e);t&&(this.DCMap.set(e,t),this._listenFor(t))}},{key:"_incomingConnect",value:function(e){var t=e.peer.remotePeerId;this.DCMap.has(t)||(this._addPeer(t),this._peerConnected(e.peer),this.scheduler.addRemoteBuffer(e))}},{key:"_listenFor",value:function(t){var n=this;t.scope(this).once(ze.PEER_ERROR,function(){n._peerDisconnected(t);var e=n.fetcher;t.connected?(e.connections--,n.requestPeersIfNeed()):e&&e.failConnections++}).once(ze.DC_CLOSE,function(){n._peerDisconnected(t),n.requestPeersIfNeed(),n.fetcher.connections--}).once(ze.DC_OPEN,function(){return n._peerConnected(t)})}},{key:"_peerConnected",value:function(e){this.scheduler.handshakePeer(e),this.fetcher.connections++,this.fetcher.totalConnections++}},{key:"_peerDisconnected",value:function(e){var t;null!==(t=this.scheduler)&&void 0!==t&&t.deletePeer(e),this.DCMap.delete(e.remotePeerId)}},{key:"_handleWsMessage",value:function(e){"reject"===(null==e?void 0:e.action)&&this.stopP2P()}},{key:"_announce",value:function(){var a=this;this._lastPeersRequest=this.fetcher.announce(this.query).then(function(e){var t=e.peerId,n=e.size,r=e.peers,i=void 0===r?[]:r,o=e._time;Tr&&console.log("".concat(t," -> ").concat(i),n,"".concat(o,"ms")),a._tryConnectTo(i),W.demand.set(a.scheduler.channel,n)}).catch(function(e){return a.logger.error("announce failed:",e)})}},{key:"_requestMorePeers",value:function(){var s=this;this.connected&&!mn.isPaused&&(this._updateNeeds(),this.query_.length&&(this._lastPeersRequest=(0,Ot.gw)().then(function(){return s.fetcher.getPeers(s.query)}).then(function(e){var t=e.size,n=void 0===t?"-":t,r=e.peers,i=void 0===r?[]:r,o=e._time,a=s._filterNew(i);Tr&&console.log("-> ".concat(a," (").concat(a.length,"/").concat(i.length,")"),n,"".concat(o,"ms")),s.logger.info("request peers ".concat(JSON.stringify(e,null,2))),s._tryConnectTo(a),W.demand.set(s.scheduler.channel,n)}).catch(function(e){return s.logger.error("get peers failed:",e)})))}},{key:"requestPeersIfNeed",value:function(e){if(e){var t=(0,O.Z)(e,3),n=t[0],r=t[2];if("video"==n&&0==r)return;this.position=e}this._updateNeeds(),this.query_.length&&this._requestPeersWithThrottling()}},{key:"_updateNeeds",value:function(){if(this.scheduler){var e,t=(0,b.Z)(this.query_),n=Sn(t);try{for(n.s();!(e=n.n()).done;){var r=(0,O.Z)(e.value,3),i=r[0],o=r[1],a=r[2];Ge(i,o,this.scheduler.countPeersHave(i,o,a+1))||this._removeFromQuery(i)}}catch(e){n.e(e)}finally{n.f()}this.query_.length||this.scheduler.optimizeTurn(t)}}},{key:"waitIdleOrConnect",value:function(){try{var n=!1,r=this;if(r.config.live)return;var i=r.scheduler;return function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(function(){return e=function(e){return n?e:r.connected&&!i.hasPeers&&r._lastPeersReqPromise?On((0,L.Fb)(r._lastPeersReqPromise,500),function(){return function(e){var t=e();if(t&&t.then)return t.then(En)}(function(){if(r.DCMap.size)return function(e,t){if(!t)return e&&e.then?e.then(En):Promise.resolve()}((0,L.GR)(i,"peers",2e3))})}):void 0},(t=function(){if(i.hasPeers&&!i.hasIdlePeers)return On((0,L.GR)(i,["idle","nobody"],2e3),function(){n=!0})}())&&t.then?t.then(e):e(t);var e,t},En)}catch(e){return Promise.reject(e)}}}]),a}(L.Qz),jn=function(){function e(){(0,u.Z)(this,e),this._set=[]}return(0,f.Z)(e,[{key:"add",value:function(e,t,n,r){this._set.push({context:e,timer:t,callbacks:n,fromId:r})}},{key:"get",value:function(n,r,i){return this._set.find(function(e){var t=e.context.frag;return n===t.type&&r===t.level&&i===t.sn})}},{key:"eject",value:function(e,t,n){var r=this.get(e,t,n);if(r)return this._set=this._set.filter(function(e){return e!==r}),r}},{key:"destroy",value:function(){this._set=[]}}]),e}(),Ln=["nums"];function Rn(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function In(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rn(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Mn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return zn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dn(e,t,n){if(!e.s){if(n instanceof Bn){if(!n.s)return void(n.o=Dn.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(Dn.bind(null,e,t),Dn.bind(null,e,2));e.s=t,e.v=n;var r=e.o;r&&r(e)}}var Bn=function(){function o(){}return o.prototype.then=function(n,r){var i=new o,e=this.s;if(e){var t=1&e?n:r;if(t){try{Dn(i,1,t(this.v))}catch(e){Dn(i,2,e)}return i}return this}return this.o=function(e){try{var t=e.v;1&e.s?Dn(i,1,n?n(t):t):r?Dn(i,1,r(t)):Dn(i,2,t)}catch(e){Dn(i,2,e)}},i},o}();function Zn(e){return e instanceof Bn&&1&e.s}function Nn(){}function Fn(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var Un=function(e){(0,d.Z)(c,e);var s=Fn(c);function c(e,t,n,r,i,o){var a;return(0,u.Z)(this,c),(a=s.call(this,"2sc")).config=e,a.channel=t,a.storage=n,a.fetcher=r,a.logger=i,a.visualiser=o,a.peerMap=new Map,a.urgentDownloads=new jn,a.timeStats=new Map,a._lastSnapshot=0,a.storage.scope((0,Re.Z)(a)).on(re.events.HAS,function(e){return a._storageListener(e,!0)}).on(re.events.LOST,function(e){return a._storageListener(e,!1)}),a}return(0,f.Z)(c,[{key:"hasPeers",get:function(){return 0<this.peersNum}},{key:"peersNum",get:function(){return this.peerMap.size}},{key:"hasIdlePeers",get:function(){var e=this._idlePeers.length;return this.logger.info("peers: ".concat(this.peersNum," idle peers: ").concat(e)),0<e}},{key:"_idlePeers",get:function(){return(0,b.Z)(this.peerMap.values()).filter(function(e){return e.isAvailable})}},{key:"_peersBySpeed",get:function(){return(0,b.Z)(this.peerMap.values()).sort(function(e,t){return t.lastChunkLoadSpeed-e.lastChunkLoadSpeed})}},{key:"_storageListener",value:function(e,t){var n,i=this,r=e.channel,o=e.type,a=e.level,s=e.sn;if(r===this.channel){var c=Date.now(),u=null===(n=this.fetcher)||void 0===n?void 0:n.levels.find(function(e){var t=(0,O.Z)(e,2),n=t[0];t[1];return n===o+a});if(!this.config.live&&u&&c-this._lastSnapshot<12e4){var l=u[1];if(t){var f=l.find(function(e){var t=(0,O.Z)(e,2),n=t[0],r=t[1];return n-1===s||s===r+1});if(f)return f[0]-1===s&&--f[0],void(f[1]+1===s&&(f[1]+=1))}else{var d=l.find(function(e){var t=(0,O.Z)(e,2),n=t[0],r=t[1];return r-n>i.config.minFragments+1&&(n===s||r===s)});if(d)return d[0]===s&&(d[0]+=1),void(d[1]===s&&--d[1])}}this._lastSnapshot=c;var h=function(e){return e[1]-e[0]>i.config.minFragments};this.storage.snapshot(this.channel).then(function(e){return i.fetcher.levels=e.map(function(e){var t=(0,O.Z)(e,4);t[0];return[t[1]+t[2],t[3].filter(h)]}).filter(function(e){var t=(0,O.Z)(e,2);t[0];return t[1].length})})}}},{key:"prefetchFrom",value:function(e){var o=e.type,a=e.level,t=e.sn;try{var s=this;if(s.config.live||s.peersNum<2)return;var c=s.channel,u=s.logger,l=[],f=t+1;return function(e){if(e&&e.then)return e.then(Nn)}(function(t,n,r){for(var e;;){var i=t();if(Zn(i)&&(i=i.v),!i)return o;if(i.then){e=0;break}var o=r();if(o&&o.then){if(!Zn(o)){e=1;break}o=o.s}if(n){var a=n();if(a&&a.then&&!Zn(a)){e=2;break}}}var s=new Bn,c=Dn.bind(null,s,2);return(0===e?i.then(l):1===e?o.then(u):a.then(f)).then(void 0,c),s;function u(e){o=e;do{if(n&&(a=n())&&a.then&&!Zn(a))return void a.then(f).then(void 0,c);if(!(i=t())||Zn(i)&&!i.v)return void Dn(s,1,o);if(i.then)return void i.then(l).then(void 0,c);Zn(o=r())&&(o=o.v)}while(!o||!o.then);o.then(u).then(void 0,c)}function l(e){e?(o=r())&&o.then?o.then(u).then(void 0,c):u(o):Dn(s,1,o)}function f(){(i=t())?i.then?i.then(l).then(void 0,c):l(i):Dn(s,1,o)}}(function(){return f<=t+s.config.prefetch},function(){return f++},function(){var e,t,n=s.urgentDownloads.get(o,a,f);return e=n||s.storage.hasFragment(c,o,a,f),t=function(e){if(!e){var t,n=Mn(s._peersBySpeed);try{for(n.s();!(t=n.n()).done;){var r,i=t.value;if(!l.includes(i)&&i.isAvailable&&null!==(r=i.storage)&&void 0!==r&&r.has(c,o,a,f))return i.requestFragment({channel:c,type:o,level:a,sn:f},!1),u.debug("prefetch ".concat(o," ").concat(a," ").concat(f," from ").concat(i.remotePeerId)),void l.push(i)}}catch(e){n.e(e)}finally{n.f()}}},n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}))}catch(e){return Promise.reject(e)}}},{key:"optimizeTurn",value:function(e){var o=this,a=(0,b.Z)(this.peerMap.values());if(a.some(function(e){return e.byTurn})){var s,c=0,t=Mn(e);try{for(t.s();!(s=t.n()).done;)!function(){var e=(0,O.Z)(s.value,3),t=e[0],n=e[1],r=e[2],i=a.filter(function(e){return!e.choked&&!e.byTurn&&o._hasPeerFrag(t,n,r+1)}).length;Ge(t,n,i)&&c++}()}catch(e){t.e(e)}finally{t.f()}c||a.filter(function(e){return e.byTurn}).forEach(function(e){return e.close("optimize turn")})}}},{key:"countPeersHave",value:function(t,n,r){var i=this,e=(0,b.Z)(this.peerMap.values()).filter(function(e){return!e.choked&&i._hasPeerFrag(e,t,n,r)}).length;return this.emit("peersHave","".concat(t," ").concat(e," / ").concat(this.peersNum)),e}},{key:"_hasPeerFrag",value:function(e,t,n,r){var i;return null===(i=e.storage)||void 0===i?void 0:i.has(this.channel,t,n,r)}},{key:"sendDoNotDisturbed",value:function(e,t){var n={event:e?Yt:Kt};t?t.sendJson(n):this._broadcastToPeers(n)}},{key:"deletePeer",value:function(e){var t,r=this;this.peerMap.has(e.remotePeerId)&&(this.peerMap.delete(e.remotePeerId),e.scope(this).offAll(),this.visualiser&&null!==(t=e.storage)&&void 0!==t&&t.eachBy(this.channel,function(e,t,n){return r._visualiseRemotesLost(e,t,n)})),this.emit("peers",this.peersNum),this.hasPeers||this.emit("nobody")}},{key:"handshakePeer",value:function(t){this._listenFor(t),t.sendBitField(this.storage.memorySnapshot(),this.channel),this.storage.snapshot().then(function(e){return t.sendSnapshot(e)})}},{key:"addPeer",value:function(e){this.logger.info("add peer ".concat(e.remotePeerId)),this.peerMap.set(e.remotePeerId,e),this.emit("peers",this.peersNum),this.emit("idle")}},{key:"hasAndSetTargetPeer",value:function(e,t,n){var r=this.channel,i=this.logger;if(this._hasPrefetchSetUrgent({channel:r,type:e,level:t,sn:n}))return!0;var o,a=Mn(this._peersBySpeed);try{for(a.s();!(o=a.n()).done;){var s,c=o.value;if(c.isAvailable&&null!==(s=c.storage)&&void 0!==s&&s.has(r,e,t,n))return i.info("found",r,e,t,n,"on ".concat(c.remotePeerId)),this.targetPeer=c,!0}}catch(e){a.e(e)}finally{a.f()}return i.warn("idle peers hasn't",r,e,t,n),!1}},{key:"_hasPrefetchSetUrgent",value:function(e){var t=this,n=Ze.whoLoading(e).map(function(e){return t.peerMap.get(e)}).filter(Boolean).sort(function(e,t){return t.lastChunkLoadSpeed-e.lastChunkLoadSpeed})[0];if(n)return this.targetPeer=n,this._urgentFromPrefetch=!0;this._urgentFromPrefetch=!1}},{key:"load",value:function(e,t){var n=this,r=this.targetPeer,i=this.channel,o=e.frag,a=o.type,s=o.level,c=o.sn,u=o.duration;this._urgentFromPrefetch?this.logger.info("urgent from prefetch",a,s,c):(r.requestFragment({channel:i,type:a,level:s,sn:c},!0),this.logger.info("request urgent",a,s,c));var l=setTimeout(function(){return n._timeout(r,a,s,c)},this.config.loadTimeoutRate*u*1e3);this.urgentDownloads.add(e,l,t,r.remotePeerId)}},{key:"destroy",value:function(){this.urgentDownloads.destroy();var e,t=Mn(this.peerMap.values());try{for(t.s();!(e=t.n()).done;){e.value.scope(this).offAll()}}catch(e){t.e(e)}finally{t.f()}this.peerMap.clear(),this.removeAllListeners(),this.storage.scope(this).offAll(),this.logger.warn("destroy scheduler")}},{key:"addRemoteBuffer",value:function(e){var t,r=this,n=e.peer,i=e.storage,o=void 0===i?null===(t=n.storage)||void 0===t?void 0:t.snapshot():i,a=e.channel;o&&(n.storage=new C(o),this.addPeer(n),Tr&&(console.groupCollapsed(n.remotePeerId),o.forEach(function(e){var t=e.nums,n=(0,x.Z)(e,Ln);console.log(n,(0,p.yw)((0,p.nL)(t))),r.channel===n.channel&&t.forEach(function(e){return r.visualiser.remotesHave(n.type+n.level,e)})}),console.groupEnd()),this.storage.hasChannel(a)||o.some(function(e){return e.channel===r.channel})||(0,M.ot)({cat:"p2p",hit:"error",sub:"missChannel"}))}},{key:"_listenFor",value:function(f){var d=this,h=this.logger;f.scope(this).on(ze.PEER_BITS,function(e){return d.addRemoteBuffer(In(In({},e),{},{peer:f}))}).on(ze.PEER_STORAGE,function(e){var t;Tr&&null!==(t=e.snapshot)&&void 0!==t&&t.forEach(function(e){var t,n=(0,O.Z)(e,4),r=n[0],i=n[1],o=n[2],a=n[3];d.channel===r&&(t=i+o,(0,p.Lm)(a,function(e){return d.visualiser.remotesHave(t,e)}))})}).on(ze.PEER_HAVE,function(e){var t;e.channel===d.channel&&null!==(t=d.visualiser)&&void 0!==t&&t.remotesHave(e.type+e.level,e.sn)}).on(ze.PEER_LOST,function(e){e.channel===d.channel&&d.visualiser&&d._visualiseRemotesLost(e.type,e.level,e.sn)}).on(ze.PEER_ACK,function(e){return d.fetcher.reportUploaded(e)}).on(ze.PEER_NO_CHUNKS,function(e){var t=e.type,n=e.level,r=e.sn;h.warn("".concat(f.remotePeerId," has not ").concat(t).concat(n," ").concat(r)),d._handleNoChunks(f,t,n,r),f.isAvailable&&d.emit("idle")}).on(ze.PEER_CHUNKS,function(e){var t,n=e.type,r=e.level,i=e.sn;null!=i&&null!==(t=d.visualiser)&&void 0!==t&&t.addDownload("".concat(n).concat(r,"-").concat(i),e.count)}).on(ze.LOAD_CHUNKS_REMAINING,function(e){var t=f.binaryMeta,n=t.type,r=t.level,i=t.sn;null!=i&&d.visualiser&&d.visualiser.updateDownload("".concat(n).concat(r,"-").concat(i),e)}).on(ze.PEER_LOADED,function(e){var t,n,r,i,o,a=e.channel,s=e.type,c=e.level,u=e.sn,l={channel:a,type:s,level:c,sn:u};a&&void 0!==u&&(t=d.urgentDownloads.eject(s,c,u),n=Ze.getStats(l,f.remotePeerId),t?(r=t.timer,i=t.callbacks,o=t.context,clearTimeout(r),t.fromId!=f.remotePeerId&&console.log("prefetch overran an urgent download"),o.frag.fromPeerId=f.remotePeerId,i.onSuccess(e,n,o),f.miss=Math.max(f.miss-1,0)):(d.timeStats.set("".concat(f.remotePeerId,": ").concat(s).concat(c,"-").concat(u),n),d.storage.handleFrag(e.data,l,f.remotePeerId,!1),f.miss=Math.max(f.miss-.5,0)),h.info("receive",s,c,u,n.tload-n.trequest,"ms"),f.isAvailable&&d.emit("idle"))}).on(ze.LOAD_TIMEOUT,function(){f.isAvailable&&d.emit("idle"),h.warn("load timeout from ".concat(f.remotePeerId))}).on(ze.LOSE_TOLERANCE,function(){console.warn("lose tolerance "+f.remotePeerId),d.config.live?f.choked=!0:f.close()})}},{key:"_broadcastToPeers",value:function(e){if(this.peersNum){var t,n=Mn(this.peerMap.values());try{for(n.s();!(t=n.n()).done;){t.value.sendJson(e)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_visualiseRemotesLost",value:function(t,n,r){var i=this;(0,b.Z)(this.peerMap.values()).some(function(e){return i._hasPeerFrag(e,t,n,r)})||this.visualiser.remotesLost(t+n,r)}},{key:"_handleNoChunks",value:function(e,t,n,r){var i,o,a,s,c,u=this.urgentDownloads.eject(t,n,r);u&&(i=u.timer,o=u.callbacks,a=u.context,clearTimeout(i),e.loseTolerance(),s=this.channel,c=Ze.getStats({channel:s,type:t,level:n,sn:r},e.remotePeerId),o.onTimeout(c,a))}},{key:"_timeout",value:function(e,t,n,r){var i,o,a,s,c,u,l,f=this.urgentDownloads.eject(t,n,r);f&&(this.logger.warn("urgent request timeout ".concat(t).concat(n,"-").concat(r)),o=f.timer,a=f.callbacks,s=f.context,clearTimeout(o),c=this.channel,u=Ze.getStats({channel:c,type:t,level:n,sn:r},e.remotePeerId),this._allowCompleteIfHaveTime(e,s,u.trequest,a)||(null!==(i=this.visualiser)&&void 0!==i&&i.removeDownload("".concat(e.remotePeerId,": ").concat(t).concat(n,"-").concat(r)),(l=e.loadedBuffer).size&&Be()(l.meta,{type:t,level:n,sn:r})&&(s.buffer=l),e.loadTimeout(),a.onTimeout(u,s)))}},{key:"_allowCompleteIfHaveTime",value:function(e,t,n,r){var i=this,o=e.estimatedLoadTime,a=1e3*t.frag.duration,s=performance.now()-n;if(this.config.loadTimeoutRate<this.config.loadTimeoutRateMax&&null!=o&&o<this.config.loadTimeoutRateMax*a-s){var c=t.frag,u=c.type,l=c.level,f=c.sn,d=setTimeout(function(){return i._timeout(e,u,l,f)},this.config.loadTimeoutRateMax*a-s);return this.urgentDownloads.add(t,d,r,e.remotePeerId),!0}}}]),c}(L.Qz),Hn=n(78109);function qn(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function Vn(e,t){var n=e();return n&&n.then?n.then(t):t(n)}function Wn(){}function Gn(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var Qn,Xn=(Qn=function(r,e,t){var n=e.storage,i=e.channel,o=e.timeStats;r.requestStartDate=r.firstByteDate=new Date;var a=(0,Hn.k)(r),s=a.type,c=a.level,u=a.sn;return qn(n.getFragment(i,s,c,u,t),function(e){if(e){r.bytesTotal=r.bytesLoaded=e.size;var t="".concat(e.fromPeerId,": ").concat(s).concat(c,"-").concat(u),n=o.get(t)||vt({channel:i,type:s,level:c,sn:u});return n?(o.delete(t),Jn(r,n)):r.requestEndDate=new Date,r.source=n?"p2p-pre":e.source,e.data}})},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(Qn.apply(this,e))}catch(e){return Promise.reject(e)}});function Yn(e,t){var n,r,i,o,a,s,c,u;t.error||"MediaSegment"!==t.request.type||(r=t.request.__buffer,delete t.request.__buffer,r?(t.request[gt]=r.size,null!==(i=e.fetcher)&&void 0!==i&&i.reportFlow(r.size,"p2p"),null!==(o=e.fetcher)&&void 0!==o&&o.reportFlow(t.response.byteLength,"http"),r.chunks.push(_.lW.from(t.response)),t.response=_.lW.concat(r.chunks)):null!==(a=e.fetcher)&&void 0!==a&&a.reportFlow(t.request.bytesTotal,t.request.source),t.request.source=t.request.source||"http",Xe((s=(0,Hn.k)(t.request)).type,s.level,s.sn,t.request.source),e.isOn&&["http","p2h"].includes(t.request.source)&&(e.scheduler.storage.handleFrag(t.response,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gn(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gn(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({channel:e.channel},s)),c=t.request[gt]?t.response.byteLength-t.request[gt]:t.response.byteLength,ut(c/(t.request.requestEndDate-t.request.requestStartDate))),u=t.response.byteLength/t.request.duration,null!==(n=window.bwChart)&&void 0!==n&&n.updateLine(t.request.mediaType,u/1e3|0))}function Kn(y){return function(e){var o,a=e.eventBus,t=e.events,i=t.LOADING_COMPLETED,s=t.LOADING_ABANDONED,n=this.parent,m=n.load,r=n.abort,c=!y.config.offMulti.includes("dash.js"),u=new Map;return{abort:function(){o&&ct(o),r()},load:function(p){try{var n=!1;if("MediaSegment"!==p.type)return m(p);var r=this,v=function(e){return a.trigger(i,{request:p,response:e,sender:r,error:null})};return Vn(function(){if(y.isOn){var e=(0,Hn.k)(p),f=e.type,d=e.level,h=e.sn;y.tracker.requestPeersIfNeed([f,d,h]);var t,i=y.channel;return c&&(o={channel:i,type:f,level:d,sn:h},t=u.get(f),u.set(f,h),t+1!=h&&null!=t&&ct({})),Vn(function(){if(!tt(o))return qn(Xn(p,y.scheduler),function(e){if(e)return n=!0,v(e)})},function(e){return n?e:c?(n=!0,nt(i,f,d,h,p.duration,y.tracker.waitConnect).then(function(e){var t=(0,O.Z)(e,2),n=t[0],r=t[1];p.bytesTotal=p.bytesLoaded=n.byteLength,Jn(p,r),p.source=vt({channel:i,type:f,level:d,sn:h})?"p2p-pre":"p2p",v(n)}).catch(function(e){var t;null!=e&&e.chunks&&(p.source="p2h",p.range=e.size-e.fullSize,p.__buffer=e),"abort"===e?a.trigger(s,{mediaType:p.mediaType,request:p,sender:r}):m(p),null!==(t=y.visualiser)&&void 0!==t&&t.completeDownload("".concat(f).concat(d,"-").concat(h))})):qn(y.tracker.waitIdleOrConnect(),function(){return qn(Xn(p,y.scheduler,-2),function(e){return e?(n=!0,v(e)):y.scheduler.hasAndSetTargetPeer(f,d,h)?(n=!0,r=p,i=y.scheduler,o=m,a=v,t=(0,Hn.k)(r),s=t.type,c=t.level,u=t.sn,l={type:s,level:c,sn:u,duration:r.duration},void i.load({frag:l},{onTimeout:function(e,t){var n=t.buffer;n&&(r.source="p2h",r.range=n.size-n.meta.size,r.__buffer=n),o(r)},onSuccess:function(e,t){var n={channel:e.channel,type:s,level:c,sn:u};i.storage.handleFrag(e.data,n,l.fromPeerId),r.bytesTotal=r.bytesLoaded=t.loaded,Jn(r,t),r.source="p2p",a(e.data)}})):void 0;var r,i,o,a,t,s,c,u,l})})})}},function(e){return n?e:function(e){if(e&&e.then)return e.then(Wn)}(function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(function(){return function(e,t){if(!t)return e&&e.then?e.then(Wn):Promise.resolve()}((n=v,(t=p).requestStartDate=t.firstByteDate=new Date,hn.requestFile(t.url).then(function(e){t.bytesTotal=t.bytesLoaded=e.byteLength,t.requestEndDate=new Date,t.source="ppx",n(e)})));var t,n},function(){m(p)}))})}catch(e){return Promise.reject(e)}}}}}function Jn(e,t){e.requestStartDate=(0,Ot.Ah)(t.trequest),e.firstByteDate=(0,Ot.Ah)(t.tfirst),e.requestEndDate=(0,Ot.Ah)(t.tload)}function $n(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function er(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$n(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function tr(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function nr(e,t){var n=e();return n&&n.then?n.then(t):t(n)}function rr(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var ir=new Map,or=function(){function t(e){(0,u.Z)(this,t),this._conf=e,this.xhrLoader=new e.loader(e)}return(0,f.Z)(t,[{key:"destroy",value:function(){this.abort(),delete this._conf.__deferredMain,delete this._conf}},{key:"abort",value:function(){this.xhrLoader.abort()}},{key:"load",value:function(e,t,n){var r=this,i=n.onSuccess;n.onSuccess=function(e,t,n){r._nowOrDeferToFix(i,e,t,n)},this.xhrLoader.load(e,t,n)}},{key:"_nowOrDeferToFix",value:function(e,t,n,r){var i=this._conf;i&&i.__needAtFirstParseAudio&&"main"===r.frag.type?i.__deferredMain=function(){return e(t,n,r)}:e(t,n,r)}}]),t}();function ar(e){e.__needAtFirstParseAudio=!0,e.__deferredMain=null}function sr(e){var t;null!==(t=e.__deferredMain)&&void 0!==t&&t.call(e),delete e.__needAtFirstParseAudio,delete e.__deferredMain}var cr=function(){(0,d.Z)(i,or);var r=rr(i);function i(e){var t;(0,u.Z)(this,i);var n=e.p2p.instance;return n&&n.isOn&&n.channel?(t=r.call(this,e),n.refIn((0,Re.Z)(t),"_p2p"),t):(0,o.Z)(t,new or(e))}return(0,f.Z)(i,[{key:"abort",value:function(){this._multiLoading&&ct(this._multiLoading),this.isAborted=!0,(0,j.Z)((0,a.Z)(i.prototype),"abort",this).call(this)}},{key:"load",value:function(t,n,r){try{var i=!1,o=this,e=t.frag;if(o._p2p.isIgnore(e.url))return o.httpOnlyLoad(t,n,r);if(o.isAborted)return;var a=e.type,s=e.level,c=e.sn;return nr(function(){if(o._p2p.isOn)return o._p2p.tracker.requestPeersIfNeed([a,s,c]),o._p2p.config.offMulti.includes("hls.js")?tr(o._p2p.tracker.waitIdleOrConnect(),function(){if(!o.isAborted)return tr(o.fromStorage(t,r),function(e){return e?void(i=!0):o._p2p.scheduler.hasAndSetTargetPeer(a,s,c)?(i=!0,o.loadByP2P(t,n,r)):void 0});i=!0}):(i=!0,o.multiLoad(t,n,r))},function(e){return i?e:void o.loadByHTTP(t,n,r)})}catch(e){return Promise.reject(e)}}},{key:"multiLoad",value:function(o,t,c){try{var n=!1,u=this,l=u._p2p.channel,f=o.frag,d=f.type,h=f.level,p=f.sn;u._multiLoading={channel:l,type:d,level:h,sn:p};var e=ir.get(l+d);return ir.set(l+d,p),e+1!=p&&null!=e&&ct({}),nr(function(){if(!tt(u._multiLoading))return tr(u.fromStorage(o,c),function(e){e&&(n=!0)})},function(e){return n?e:void(u.isAborted||(nt(l,d,h,p,f.duration,u._p2p.tracker.waitConnect).then(function(e){var t=(0,O.Z)(e,2),n=t[0],r=t[1];f.source=vt({channel:l,type:d,level:h,sn:p})?"p2p-pre":"p2p",i({data:n},r,o)}).catch(function(e){"abort"!==e&&(u._p2p.logger.debug("p2p to http by timeout",d,h,p),null!=e&&e.chunks?(f.source="p2h",o.rangeStart=e.size,o.rangeEnd=e.fullSize,o.buffer=e):f.source="http",u.xhrLoader.load(o,t,er(er({},c),{},{onSuccess:i})))}),s=u._p2p.fetcher,i=function(e,t,n){var r,i,o,a;n.buffer?(t[gt]=n.buffer.size,s.reportFlow(n.buffer.size,"p2p"),s.reportFlow(e.data.byteLength,"http"),n.buffer.chunks.push(_.lW.from(e.data)),e.data=_.lW.concat(n.buffer.chunks),delete n.buffer):s.reportFlow(t.total,f.source),["http","p2h"].includes(f.source)&&(i={channel:l,type:d,level:h,sn:p},te.handleFrag(e.data,i,"",!0),o=t[gt]?e.data.byteLength-t[gt]:e.data.byteLength,ut(o/(t.tload-t.trequest))),u.isAborted||(f.loaded=t.loaded,u._p2p.logger.debug("".concat(f.source," loaded"),d,h,p),u._nowOrDeferToFix(c.onSuccess,e,t,n),Xe(d,h,p,f.source),a=e.data.byteLength/f.duration,null!==(r=window.bwChart)&&void 0!==r&&r.updateLine(d,a/1e3|0))}));var s,i})}catch(e){return Promise.reject(e)}}},{key:"loadByP2P",value:function(e,n,o){var a=this,s=e.frag;s.source="p2p";function r(e,t,n){var r=a._p2p,i={channel:(["p2p","p2h"].includes(s.source)?e:r).channel,type:s.type,level:s.level,sn:s.sn};te.handleFrag(e.data,i,s.fromPeerId,!0),n.buffer?(t[gt]=n.buffer.size,r.fetcher.reportFlow(n.buffer.size,"p2p"),r.fetcher.reportFlow(e.data.byteLength,"http"),n.buffer.chunks.push(_.lW.from(e.data)),e.data=_.lW.concat(n.buffer.chunks),delete n.buffer):r.fetcher.reportFlow(t.total,s.source),s.loaded=t.loaded,r.logger.debug("".concat(s.source," loaded"),s.type,s.level,s.sn),a._nowOrDeferToFix(o.onSuccess,e,t,n)}this._p2p.scheduler.load(e,{onTimeout:function(e,t){a._p2p.logger.debug("p2p to http by timeout",s.type,s.level,s.sn),t.buffer?(s.source="p2h",t.rangeStart=t.buffer.size,t.rangeEnd=t.buffer.meta.size):s.source="http",a.xhrLoader.load(t,n,er(er({},o),{},{onSuccess:r}))},onSuccess:r})}},{key:"loadByHTTP",value:function(e,t,n){var o=this,r=e.frag,a=r.type,s=r.level,c=r.sn,u=n.onSuccess;n.onSuccess=function(e,t,n){var r=o._p2p,i={channel:r.channel,type:a,level:s,sn:c};te.handleFrag(e.data,i,"",!0),r.fetcher.reportFlow(t.total,n.frag.source),r.scheduler.loadTimeSample=t.tload-t.trequest,r.logger.info("HTTP load time ".concat(r.scheduler.loadTimeSample,"ms")),o._nowOrDeferToFix(u,e,t,n)},e.frag.source="http",this._p2p.logger.debug("HTTP load",a,s,c),this.xhrLoader.load(e,t,n)}},{key:"fromStorage",value:function(s,c){try{var u=this,l=performance.now(),f=u._p2p,d=f.channel,h=s.frag,p=h.type,v=h.level,m=h.sn;return tr(te.getFragment(d,p,v,m),function(e){if(e){var t,n;f.logger.debug("buffer found",p,v,m),t=n=h.loaded=e.size;var r="".concat(e.fromPeerId,": ").concat(p).concat(v,"-").concat(m),i=f.scheduler.timeStats.get(r)||vt({channel:d,type:p,level:v,sn:m});f.scheduler.timeStats.delete(r),h.source=i?"p2p-pre":e.source;var o=er(er({},i||{trequest:l,tload:performance.now()}),{},{loaded:t,total:n,retry:0});f.fetcher.reportFlow(o.total,h.source);var a={url:s.url,data:e.data};return u._nowOrDeferToFix(c.onSuccess,a,o,s),Xe(p,v,m,h.source),!0}})}catch(e){return Promise.reject(e)}}},{key:"httpOnlyLoad",value:function(e,t,n){var r=this;this._p2p.logger.debug("HTTP only load ".concat(e.frag.url)),e.frag.source="http";var i=n.onSuccess;return n.onSuccess=function(e,t,n){r._p2p.fetcher.reportFlow(t.total,"http"),r._p2p.logger.info("HTTP load time ".concat(t.tload-t.trequest,"ms")),i(e,t,n)},this.xhrLoader.load(e,t,n)}}]),i}(),ur=n(17187),lr=n.n(ur),fr=n(5659);function dr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return hr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hr(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pr(e){var t;return null===(t=br.controller)||void 0===t?void 0:t.postMessage(e)}var vr,mr=new(lr()),yr=new Map,gr=function(t){if(vr=vr||_r(),yr.has(t))return vr.then(function(){return mr});console.time("frags");var e=(0,fr.i)(t).then(function(e){return yr.set(t,e)}).finally(function(){return console.timeEnd("frags")});return Promise.all([vr,e]).then(function(){return mr})},br=navigator.serviceWorker,_r=function(){return br.register(N.ZP.sw).then(function(){pr({handler:/\.ts$/.source}),Ar(br.controller),br.oncontrollerchange=function(){pr({handler:/\.ts$/.source}),Ar(br.controller)},br.onmessage=wr,mr.on("response",pr),mr.on("no",function(e){var t=e.url,n=e.time;return pr({no:t,time:n})})})};function wr(e){var t=e.data;if(t.confirm)if(yr.size){var n,r=dr(yr.entries());try{for(r.s();!(n=r.n()).done;){var i=(0,O.Z)(n.value,2),o=i[0],a=(0,i[1])(t.confirm);if(a)return pr({approve:a.url}),void mr.emit("request",{manifestUrl:o,frag:a})}}catch(e){r.e(e)}finally{r.f()}pr({decline:t.confirm})}else pr({decline:t.confirm})}function Ar(e){e&&(console.log("sw: "+e.state),e.onstatechange=function(){return console.log("sw: "+e.state)})}function kr(c,u,l,t){var f=c.type,d=c.level,h=c.sn;u.storage.getFragment(u.channel,f,d,h).then(function(e){if(e)return l(e.data,e.source);var s=1e3*Math.min(c.duration/1.5,7);if(!u.hasAndSetTargetPeer(f,d,h))return t(5<Or(f+d,h)?s:0);u.load({frag:c},{onTimeout:t,onSuccess:function(e,t){var n=e.channel,r=e.data,i={channel:n,type:f,level:d,sn:h},o=c.fromPeerId;if(u.storage.handleFrag(r,i,o,!0),Or(f+d,h)<6)return l(r,"p2p");var a=Math.max(s-(t.tload-t.trequest),0);setTimeout(function(){return l(r,"p2p")},a)}})})}var xr=new Map;function Or(e,t){if(!xr.has(e))return xr.set(e,[t,1]),1;var n=xr.get(e),r=(0,O.Z)(n,2),i=r[0],o=r[1];return i+1===t?o++:o=1,xr.set(e,[t,o]),o}function Er(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Sr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Er(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Pr(r){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,a.Z)(r);return t=i?(e=(0,a.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.Z)(this,t)}}var Tr=w.or.has("p2p"),Cr=function(e){(0,d.Z)(a,e);var o=Pr(a);function a(e,t){var n,r,i;return(0,u.Z)(this,a),(n=o.call(this,"2in")).config=(r=e,(i=c(c({},m),r)).channelId&&"function"==typeof i.channelId||(i.channelId=m.channelId),i.offMulti||(i.offMulti=""),i),n.isOn=!!n.config.tracker,n.isOn&&(n._ref=t||{},n.refIn(n._ref,"instance")),n}return(0,f.Z)(a,[{key:"info",get:function(){var e,t=null===(e=this.config.geo)||void 0===e?void 0:e.join(),n=this.fetcher;return n?{geo:t,cons:"".concat(n.connections,", fail ").concat(n.failConnections," / ").concat(n.totalConnections),loaded:Sr({},n.totalDownloaded),ratio:n.p2pRatio}:{geo:t}}},{key:"init",value:function(e,t,n){var r=n.channel,i=n.startSN,o=n.endSN,a=n.position;Tr&&this.uiSlot&&(this.visualiser=new _e(this.uiSlot,t,i,o)),this.config.live=t,this.channel=r||this.config.channelId(e.url,t),this.logger=new k("p2p",this.config.logLevel),this.logger.info("channel",this.channel),this.isOn&&this._init(a,e)}},{key:"_init",value:function(e,n){var r=this;this.constructor.preInit(this.config);var t=this.channel,i=this.logger,o=this.visualiser,a=this.config,s=a.logLevel,c=a.live,u=a.maxBufferSize,l=a.geo,f=this.fetcher=new Le(this,t,ne,c,l),d=re.instance(u,s);c&&(d.maxBufSize=u.live);var h=new Un(this.config,t,d,f,i,o);this.scheduler=h,o&&h.on("peers",function(e){return o.updatePeerCount(e)}).on("peersHave",function(e){return o.updatePeerCount(e)});var p=this.tracker=new Cn(this.config,f,h,i);p.position=e,p.connected||p.resumeP2P(ne),n.on(jr,function(e){var t;null!==(t=r.visualiser)&&void 0!==t&&t.update(e),r.config.offMulti.includes(n.type)&&!r.isIgnore(e.url)&&(i.debug("frag changed",e.type,e.level,e.sn),h.prefetchFrom(e))})}},{key:"isIgnore",value:function(e){var t=new URL(e).pathname.split(".").pop();return this.config.skips.includes(t)}},{key:"inject",value:function(e){var t=this;e.extend("FragmentLoader",Kn(this),!0),e.on("fragmentLoadingCompleted",function(e){return Yn(t,e)})}},{key:"refIn",value:function(e,t){Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:!1,value:this})}},{key:"_stop",value:function(){var e;this.isOn&&(null!==(e=this.logger)&&void 0!==e&&e.warn("stop"),this.isOn=!1,this.tracker&&(this.tracker.stopP2P(),this.tracker={},this.fetcher=null))}},{key:"destroy",value:function(){var e,t;this._stop(),this._ref&&(delete this._ref.instance,delete this._ref),this.removeAllListeners(),null!==(e=this.visualiser)&&void 0!==e&&e.destroy(),null!==(t=this.logger)&&void 0!==t&&t.warn("destroy")}}],[{key:"isSupported",get:function(){var e,t;return window.WebSocket&&(null===(e=ke.PeerConnection)||void 0===e||null===(t=e.prototype)||void 0===t?void 0:t.createDataChannel)}},{key:"preInit",value:function(e){var t;this.isSupported&&(function(e,t){var n=1<arguments.length&&void 0!==t?t:y.wsReconnectInterval;ne||(ne=new le(e,n))}(e.tracker,e.wsReconnectInterval),t=e,mn=mn||new kn(t))}},{key:"hls",get:function(){return Sr({fLoader:cr},r)}}]),a}(L.Qz),jr="fragLoaded"},17365:function(e,t,n){"use strict";n.d(t,{nP:function(){return l},S8:function(){return d},ot:function(){return p},C3:function(){return v}});var r,i=n(4942),s=n(29439),o=n(22003),c=n(21111);function a(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach(function(e){(0,i.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var l,f=[];function d(e){e&&!f.length&&(Array.isArray(e)?e:[e]).forEach(function(e){var t;try{t=new o.Z(e,"",{minReconnectionDelay:1e4,maxReconnectionDelay:6e4,maxEnqueuedMessages:50})}catch(e){}t&&(t.onmessage=h,f.push(t))})}function h(e){var t=JSON.parse(e.data);t.session&&(l=t.session)}function p(e){if(f.length){for(var t={v:c.i8},n=0,r=Object.entries(e);n<r.length;n++){var i=(0,s.Z)(r[n],2),o=i[0],a=i[1];null!=a&&(t[o]="value"===o||"time"===o?+a||0:""+a)}f.forEach(function(e){e.send(JSON.stringify(t))})}}function v(r,e){function t(e,t){return r.on(e,(n=t,function(e,t){return p(u({cat:"hls",hit:e},n(t)))}));var n}function n(e){var t=e.stats;return{value:Math.round(t.total/1024),time:Math.round(t.tload-t.trequest)}}t(e.MANIFEST_LOADING,function(e){return{description:e.url}}),t(e.MANIFEST_LOADED,function(e){return u({description:e.url},n(e))}),t(e.LEVEL_LOADING,function(e){return{description:e.url}}),t(e.LEVEL_LOADED,function(e){return u({description:e.details.url},n(e))}),r.on(e.ERROR,function(e,t){var n,r,i,o;t.fatal||(i=t.url||(null===(n=t.frag)||void 0===n?void 0:n.url)||(null===(r=t.context)||void 0===r?void 0:r.url),o={cat:"hls",hit:"error",type:"warn",sub:t.type,label:t.details},i&&(o.description=i,o.video_host=new URL(i).hostname),p(o))})}null!==(r=Object.defineProperty)&&void 0!==r&&r.call(Object,p,"online",{get:function(){return f.some(function(e){return e.readyState===o.Z.OPEN})}})},41209:function(e,t,n){"use strict";n.d(t,{e:function(){return a},f:function(){return s}});var r=n(4942),i=n(56688);function o(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function a(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};Object.assign(c.ru,e);var n=navigator.language.split("-")[0];Object.assign(s,e,c[n],t[n])}var s={themeWrongVersion:"версия темы не совпадает с версией плеера",themeLoadFailed:"не удалось загрузить тему",error:"Ошибка",tryToResolve:i.xw?"Попробуйте обновить страницу.\nЕсли не поможет - сообщите нам о проблеме.":"Попробуйте обновить страницу, отключить "+(i.tq?"":"AdBlock или ")+"режим экономии трафика"+(i.ua.toLowerCase().includes("ya")?" (турбо в браузере яндекс, например)":"")+"\nЕсли не поможет - сообщите нам о проблеме.",blocked:"Видео заблокировано",disableAdBlock:"Отключите AdBlock и попробуйте снова",mute:"Отключить звук (m)",unMute:"Включить звук (m)",pause:"Пауза (пробел)",play:"Смотреть (пробел)\nили клик в любом месте",fullscreenEnter:"Полноэкранный режим (f)",fullscreenExit:"Выход из полноэкранного режима (f)",fullscreenVsAd:"Полноэкранный режим отключен во время рекламы",pipIn:'Режим "картинка в картинке"',pipOut:'Выйти c режима "картинка в картинке"',skip:"Пропустить",settings:"Настройки",quality:"Качество",sound:"Озвучка",about:"О плеере",speed:"Скорость",cc:"Субтитры",off:"Откл",on:"Вкл",skipDescription:"Автоматический пропуск выбранных фрагментов видео.",playlist:"Список воспроизведения",emptyList:"Список пуст.",Season:"Сезон",season:"сезон",episode:"серия",episodes:"Серии",next:"Следующая",prev:"Предыдущая",select:"Выбрать",seconds:"секунд",back:"назад",nextIn:"Следующая серия запустится через",report:"Сообщить о проблеме",describeProblem:"Опишите проблему",email:"Email",cancel:"Отмена",submit:"Отправить",sent:"Сообщение отправлено",forDevelopers:"Для разработчиков",webPlayer:"Веб-плеер",proxyApp:"Прокси приложение",advertisingPlugin:"Рекламный плагин",channelEconomy:"Экономия канала",copy:"Копировать",share:"Поделиться ссылкой",shareWith:"Поделиться с помощью",copyUrl:"Копировать URL видео",copyWithTime:"Копировать URL видео с привязкой ко времени",download:"Скачать видео",downloadConfirm:"Скачивание будет доступно после просмотра рекламы",copied:"Ссылка скопирована в буфер обмена",ad:"Реклама",skipAd:"Пропустить рекламу",after:"\nможно через",sec:"сек",decline:"Отказаться",proceed:"Продолжить",online:"Онлайн",goLive:"В онлайн"},c={ru:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},s),en:{error:"Error",tryToResolve:"Try reloading the page, disable AdBlock or traffic saving mode.\nIf it doesn’t help, let us know.",blocked:"Video is blocked",disableAdBlock:"Disable AdBlock and try again",mute:"Mute (m)",unMute:"Unmute (m)",play:"Play (space)\nor click anywhere",pause:"Pause (space)",fullscreenEnter:"Fullscreen (f)",fullscreenExit:"Exit fullscreen (f)",fullscreenVsAd:"fullscreen disabled while ads",pipIn:"Picture in picture",pipOut:"exit PiP",skip:"Skip",settings:"Settings",quality:"Quality",sound:"Audio tracks",about:"About",speed:"Playback speed",cc:"Subtitles",off:"Off",playlist:"Playlist",emptyList:"The list is empty.",Season:"Season",season:"season",episode:"episode",episodes:"Episodes",next:"Next",prev:"Previous",select:"Select",seconds:"seconds",back:"Back",nextIn:"The next episode will start in",report:"Report an error",describeProblem:"Describe a problem",email:"Email",cancel:"Cancel",submit:"Submit",sent:"Message sent",forDevelopers:"For developers",webPlayer:"Web player",proxyApp:"Proxy application",advertisingPlugin:"Advertising plugin",channelEconomy:"Channel economy",copy:"Copy",share:"Share",shareWith:"Share with",copyUrl:"Copy video URL",copyWithTime:"Copy video URL at current time",download:"Download",downloadConfirm:"Downloading will be available after viewing the ad",copied:"Link copied to clipboard",ad:"Ad",skipAd:"Skip ad",after:"\nafter",sec:"sec",decline:"Refuse",proceed:"Proceed",online:"Online",goLive:"Go live"}}},67626:function(e,t,n){"use strict";n.d(t,{qv:function(){return l},$C:function(){return f},jz:function(){return i},lr:function(){return a}});var c,u=n(21111),r=n(41209),l={},f={};function i(a){o=d(a);function s(e){return Object.assign(new Error(r.f[e]),{name:e})}return n(69028)("./theme-".concat(o)).then(function(e){var t=e.version,n=e.icons,r=e.layout,i=e.controls,o=e.styles;if(u.i8!==t)throw s("themeWrongVersion");return l=n,f=i,null!==c&&void 0!==c&&c.unuse(),(c=o).use(),{name:a,layout:r,styles:o}},function(){throw s("themeLoadFailed")})}var o="venom",d=function(e){return["modern","classic","metro","simple","tuber"].includes(e)?e:"venom"},a={get modern(){return"modern"===o},get venom(){return"venom"===o},get classic(){return"classic"===o},get metro(){return"metro"===o},get simple(){return"simple"===o},get tuber(){return"tuber"===o}}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=f(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=f(e),i=r[0],o=r[1],a=new l(function(e,t){return 3*(e+t)/4-t}(i,o)),s=0,c=0<o?i-4:i;for(n=0;n<c;n+=4)t=u[e.charCodeAt(n)]<<18|u[e.charCodeAt(n+1)]<<12|u[e.charCodeAt(n+2)]<<6|u[e.charCodeAt(n+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;2===o&&(t=u[e.charCodeAt(n)]<<2|u[e.charCodeAt(n+1)]>>4,a[s++]=255&t);1===o&&(t=u[e.charCodeAt(n)]<<10|u[e.charCodeAt(n+1)]<<4|u[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t);return a},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;o<a;o+=16383)i.push(function(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(function(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}(r));return i.join("")}(e,o,a<o+16383?a:o+16383));1==r?(t=e[n-1],i.push(s[t>>2]+s[t<<4&63]+"==")):2==r&&(t=(e[n-2]<<8)+e[n-1],i.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return i.join("")};for(var s=[],u=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,i=n.length;r<i;++r)s[r]=n[r],u[n.charCodeAt(r)]=r;function f(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},48764:function(e,n,t){"use strict";var s=t(79742),o=t(80645),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.lW=f,n.h2=50;var i=2147483647;function a(e){if(i<e)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,f.prototype),t}function f(e,t,n){if("number"!=typeof e)return c(e,t,n);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}function c(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!f.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|v(e,t),r=a(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(R(e,Uint8Array)){var t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(R(e,SharedArrayBuffer)||e&&R(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return f.from(r,t,n);var i=function(e){if(f.isBuffer(e)){var t=0|p(e.length),n=a(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(void 0!==e.length)return"number"!=typeof e.length||I(e.length)?a(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return f.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),a(e<0?0:0|p(e))}function d(e){for(var t=e.length<0?0:0|p(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n);return Object.setPrototypeOf(r,f.prototype),r}function p(e){if(i<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function v(e,t){if(f.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=2<arguments.length&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(i)return r?-1:C(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var r,i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0);(!n||n<0||r<n)&&(n=r);for(var i="",o=t;o<n;++o)i+=M[e[o]];return i}(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return r=this,o=n,0===(i=t)&&o===r.length?s.fromByteArray(r):s.fromByteArray(r.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,t,n);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),I(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var o=1,a=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a/=o=2,s/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i)for(var u=-1,l=n;l<a;l++)if(c(e,l)===c(t,-1===u?0:l-u)){if(-1===u&&(u=l),l-u+1===s)return u*o}else-1!==u&&(l-=l-u),u=-1;else for(a<n+s&&(n=a-s),l=n;0<=l;l--){for(var f=!0,d=0;d<s;d++)if(c(e,l+d)!==c(t,d)){f=!1;break}if(f)return l}return-1}function _(e,t,n,r){return L(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function w(e,t,n,r){return L(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function A(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,c,u=e[i],l=null,f=239<u?4:223<u?3:191<u?2:1;if(i+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&127<(c=(31&u)<<6|63&o)&&(l=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&2047<(c=(15&u)<<12|(63&o)<<6|63&a)&&(c<55296||57343<c)&&(l=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&65535<(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)&&c<1114112&&(l=c)}null===l?(l=65533,f=1):65535<l&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=k));return n}(r)}(f.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=c,Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(e,t,n){return i=t,o=n,u(r=e),r<=0||void 0===i?a(r):"string"==typeof o?a(r).fill(i,o):a(r).fill(i);var r,i,o},f.allocUnsafe=l,f.allocUnsafeSlow=l,f.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==f.prototype},f.compare=function(e,t){if(R(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),R(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);if(void 0===t)for(i=t=0;i<e.length;++i)t+=e[i].length;for(var n=f.allocUnsafe(t),r=0,i=0;i<e.length;++i){var o=e[i];if(R(o,Uint8Array))r+o.length>n.length?f.from(o).copy(n,r):Uint8Array.prototype.set.call(n,o,r);else{if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r)}r+=o.length}return n},f.byteLength=v,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},f.prototype.toLocaleString=f.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):m.apply(this,arguments)},f.prototype.equals=function(e){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===f.compare(this,e)},f.prototype.inspect=function(){var e="",t=n.h2,e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim();return this.length>t&&(e+=" ... "),"<Buffer "+e+">"},r&&(f.prototype[r]=f.prototype.inspect),f.prototype.compare=function(e,t,n,r,i){if(R(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(i<=r&&n<=t)return 0;if(i<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),l=0;l<s;++l)if(c[l]!==u[l]){o=c[l],a=u[l];break}return o<a?-1:a<o?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},f.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||i<n)&&(n=i),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o,a,s,c,u,l,f=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;(!r||i<(r=Number(r)))&&(r=i);var o=t.length;o/2<r&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(I(s))return a;e[n+a]=s}return a}(this,e,t,n);case"utf8":case"utf-8":return u=t,l=n,L(C(e,(c=this).length-u),c,u,l);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return o=this,a=t,s=n,L(j(e),o,a,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(f)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),f=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function x(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,r,i,o){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(i<t||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function E(e,t,n,r){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function S(e,t,n,r,i){return t=+t,n>>>=0,i||E(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function P(e,t,n,r,i){return t=+t,n>>>=0,i||E(e,0,n,8),o.write(e,t,n,r,52,8),n+8}f.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):n<e&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,f.prototype),r},f.prototype.readUintLE=f.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},f.prototype.readUintBE=f.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e+--t],i=1;0<t&&(i*=256);)r+=this[e+--t]*i;return r},f.prototype.readUint8=f.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return(i*=128)<=r&&(r-=Math.pow(2,8*t)),r},f.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=t,i=1,o=this[e+--r];0<r&&(i*=256);)o+=this[e+--r]*i;return(i*=128)<=o&&(o-=Math.pow(2,8*t)),o},f.prototype.readInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),o.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),o.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),o.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),o.read(this,e,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||O(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||O(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;0<=--i&&(o*=256);)this[t+i]=e/o&255;return t+n},f.prototype.writeUint8=f.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,1,255,0),this[t]=255&e,t+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeIntLE=function(e,t,n,r){var i;e=+e,t>>>=0,r||O(this,e,t,n,(i=Math.pow(2,8*n-1))-1,-i);var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},f.prototype.writeIntBE=function(e,t,n,r){var i;e=+e,t>>>=0,r||O(this,e,t,n,(i=Math.pow(2,8*n-1))-1,-i);var o=n-1,a=1,s=0;for(this[t+o]=255&e;0<=--o&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeFloatLE=function(e,t,n){return S(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return S(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,r){if(!f.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n=n||0,r||0===r||(r=this.length),t>=e.length&&(t=e.length),t=t||0,0<r&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},f.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var i;1===e.length&&(i=e.charCodeAt(0),("utf8"===r&&i<128||"latin1"===r)&&(e=i))}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(o=t;o<n;++o)this[o]=e;else{var a=f.isBuffer(e)?e:f.from(e,r),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var T=/[^+/0-9A-Za-z-_]/g;function C(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if(55295<(n=e.charCodeAt(a))&&n<57344){if(!i){if(56319<n){-1<(t-=3)&&o.push(239,191,189);continue}if(a+1===r){-1<(t-=3)&&o.push(239,191,189);continue}i=n;continue}if(n<56320){-1<(t-=3)&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&-1<(t-=3)&&o.push(239,191,189);if(i=null,n<128){if(--t<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return s.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function I(e){return e!=e}var M=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},33241:function(){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t="classList",n="prototype",r=e.Element[n],i=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},u=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,i=n.length;r<i;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},l=u[n]=[],f=function(){return new u(this)};if(s[n]=Error[n],l.item=function(e){return this[e]||null},l.contains=function(e){return-1!==c(this,e+="")},l.add=function(){for(var e,t=arguments,n=0,r=t.length,i=!1;-1===c(this,e=t[n]+"")&&(this.push(e),i=!0),++n<r;);i&&this._updateClassName()},l.remove=function(){var e,t,n=arguments,r=0,i=n.length,o=!1;do{for(t=c(this,e=n[r]+"");-1!==t;)this.splice(t,1),o=!0,t=c(this,e)}while(++r<i);o&&this._updateClassName()},l.toggle=function(e,t){e+="";var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},l.toString=function(){return this.join(" ")},i.defineProperty){var d={get:f,enumerable:!0,configurable:!0};try{i.defineProperty(r,t,d)}catch(e){void 0!==e.number&&-2146823252!==e.number||(d.enumerable=!1,i.defineProperty(r,t,d))}}else i[n].__defineGetter__&&r.__defineGetter__(t,f)}}(window.self),function(){"use strict";var e,n,t=document.createElement("_");t.classList.add("c1","c2"),t.classList.contains("c2")||((e=function(e){var r=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){for(var t=arguments.length,n=0;n<t;n++)e=arguments[n],r.call(this,e)}})("add"),e("remove")),t.classList.toggle("c3",!1),t.classList.contains("c3")&&(n=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}),t=null}())},94184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r,i=typeof n;if("string"==i||"number"==i)e.push(n);else if(Array.isArray(n)){!n.length||(r=s.apply(null,n))&&e.push(r)}else if("object"==i)if(n.toString===Object.prototype.toString)for(var o in n)a.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},71573:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".levels_1QeOy{visibility:hidden;position:absolute;width:100%;padding-left:1px}.user-active .levels_1QeOy,.player-paused .levels_1QeOy{visibility:visible}.level_1sI4b{display:-webkit-flex;display:-ms-flexbox;display:flex;height:5px;color:white;font-size:6px}.level_1sI4b .sn_3GC9G{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.level_1sI4b .sn_3GC9G.available_1H-GY{border-top:1px solid #ffea4a}.level_1sI4b .sn_3GC9G.http_EaOOF{background-color:#75C23B}.level_1sI4b .sn_3GC9G.p2h_2IoHv{background-color:#ff7c7c}.level_1sI4b .sn_3GC9G.p2p_1jEro{background-color:#9c27b0}.level_1sI4b .sn_3GC9G.mem_tuLrw{background-color:#65738c}.level_1sI4b .sn_3GC9G.db_e3ARI{background-color:#00bcd4}.level_1sI4b .sn_3GC9G.ws_17JBh{background-color:#770000}.level_1sI4b .sn_3GC9G.ppx_1Z1Pq{background-color:#0047c2}.level_1sI4b.audio_1OmXo .available_1H-GY{border-top-color:orange}.count_37ysE{position:absolute;bottom:1rem;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);color:#ffffff;text-shadow:1px 1px 3px #000000;visibility:hidden;z-index:1}.user-active .count_37ysE,.player-paused .count_37ysE{visibility:visible}.downloads_3WEVO{position:absolute;top:2rem}.download_3uMMw{opacity:.7;color:#75C23B;font-size:.8rem;text-align:right;margin-bottom:.2rem}.download_3uMMw progress{height:.4rem;display:block}\n",""]),t.locals={levels:"levels_1QeOy",level:"level_1sI4b",sn:"sn_3GC9G",available:"available_1H-GY",http:"http_EaOOF",p2h:"p2h_2IoHv",p2p:"p2p_1jEro",mem:"mem_tuLrw",db:"db_e3ARI",ws:"ws_17JBh",ppx:"ppx_1Z1Pq",audio:"audio_1OmXo",count:"count_37ysE",downloads:"downloads_3WEVO",download:"download_3uMMw"}},93963:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.wrap_1LdeB{display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;top:50%;left:50%;margin-top:-2.5em;min-height:5em;overflow:hidden;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.wrap_1LdeB.up_1ngnM{margin-top:-3.75em}.icon_39PzW{width:5em;height:5em;opacity:0;border-radius:50%;color:var(--vp-button-icon-color)}.icon_39PzW::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;opacity:.5;border-radius:50%;background-color:var(--vp-background-color-primary)}.icon_39PzW>svg{font-size:.8375em}.player-fullscreen .icon_39PzW>svg{font-size:.7em}.icon_39PzW.fade_ZBd0p{-webkit-animation:fade_ZBd0p .5s linear;animation:fade_ZBd0p .5s linear}.icon_39PzW .fade-rotate-plus{-webkit-animation:rotatePlus_2LAwv .5s ease-in-out;animation:rotatePlus_2LAwv .5s ease-in-out}.icon_39PzW .fade-rotate-minus{-webkit-animation:rotateMinus_3tVqL .5s ease-in-out;animation:rotateMinus_3tVqL .5s ease-in-out}.text_1LLo7{text-align:center;opacity:0;margin:auto;padding:.625rem .9375rem;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}.text_1LLo7.fade_ZBd0p{-webkit-animation:fadeText_1fxPT 3.5s ease-in-out;animation:fadeText_1fxPT 3.5s ease-in-out}@-webkit-keyframes fade_ZBd0p{0%{-webkit-transform:scale(0.75);transform:scale(0.75);opacity:0}50%{-webkit-transform:scale(1);transform:scale(1)}65%{opacity:1}100%{opacity:0}}@keyframes fade_ZBd0p{0%{-webkit-transform:scale(0.75);transform:scale(0.75);opacity:0}50%{-webkit-transform:scale(1);transform:scale(1)}65%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeText_1fxPT{0%{opacity:0;-webkit-transform:scale(0.75);transform:scale(0.75)}1%{-webkit-transform:scale(1);transform:scale(1)}5%{opacity:1}90%{opacity:1}100%{opacity:0}}@keyframes fadeText_1fxPT{0%{opacity:0;-webkit-transform:scale(0.75);transform:scale(0.75)}1%{-webkit-transform:scale(1);transform:scale(1)}5%{opacity:1}90%{opacity:1}100%{opacity:0}}@-webkit-keyframes rotatePlus_2LAwv{0%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}100%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}}@keyframes rotatePlus_2LAwv{0%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}100%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}}@-webkit-keyframes rotateMinus_3tVqL{0%{-webkit-transform:rotate(25deg);transform:rotate(25deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}100%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}}@keyframes rotateMinus_3tVqL{0%{-webkit-transform:rotate(25deg);transform:rotate(25deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}100%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}}\n',""]),t.locals={wrap:"wrap_1LdeB",up:"up_1ngnM",icon:"icon_39PzW",fade:"fade_ZBd0p",rotatePlus:"rotatePlus_2LAwv",rotateMinus:"rotateMinus_3tVqL",text:"text_1LLo7",fadeText:"fadeText_1fxPT"}},75598:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".panel_6i_pc{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.4);z-index:101}.panel_6i_pc.hidden_3NPRY{opacity:0;z-index:-1}.panel_6i_pc.impression_yXvAH{background-color:black}.panel_6i_pc.fly_8TKV4{right:0;width:400px;height:250px}.nonLinear_3OWJQ{position:absolute;bottom:2px;width:100%;height:100px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}.player-paused .nonLinear_3OWJQ,.user-active .nonLinear_3OWJQ{-webkit-transform:translateY(-webkit-calc(-1*var(--vp-button-icon-size) - 0.875em));transform:translateY(calc(-1*var(--vp-button-icon-size) - 0.875em))}.nonLinear_3OWJQ.changedToLinear_fftE7{bottom:0;height:100%}\n",""]),t.locals={panel:"panel_6i_pc",hidden:"hidden_3NPRY",impression:"impression_yXvAH",fly:"fly_8TKV4",nonLinear:"nonLinear_3OWJQ",changedToLinear:"changedToLinear_fftE7"}},27288:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".remaining_3lX72{position:absolute;color:#ffffff;text-shadow:1px 1px 3px black;bottom:17px;left:10px;font-size:14px}@media (max-width: 22.48em){.remaining_3lX72{display:none}}.remaining_3lX72.tv_3IadK{bottom:45px;left:20px;font-size:26px}.right_1ifBZ{position:absolute;bottom:1.25rem;right:.625rem}@media (max-width: 22.48em){.right_1ifBZ{right:.3125rem;bottom:.625rem}}.right_1ifBZ.tv_3IadK{bottom:2.25rem}.right_1ifBZ button{-webkit-filter:drop-shadow(0 0 8px var(--vp-background-color-overlay));filter:drop-shadow(0 0 8px var(--vp-background-color-overlay))}.skip_c5yWK{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:absolute;right:0;padding:.75em 1.1em;bottom:65px;text-align:center;max-width:15em;color:#ffffff;font-size:.875em;font-family:inherit;background-color:#000000;border-radius:2px}button.skip_c5yWK{cursor:pointer;outline:none;border:0}button.skip_c5yWK svg{fill:currentColor;width:15px;height:15px;margin-left:10px}.skip_c5yWK .progress_51t_R{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:-webkit-calc(var(--vp-vw) * 5);width:calc(var(--vp-vw) * 5);height:-webkit-calc(var(--vp-vw) * 5);height:calc(var(--vp-vw) * 5);max-height:1.875em;max-width:1.875em;color:transparent;padding:0 !important;margin:0 10px 0 0;background-color:transparent !important}.skip_c5yWK .progress_51t_R svg{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.venom-player-pie{stroke-width:3px;stroke:var(--vp-background-color-primary) !important}.venom-player-slice{stroke-dasharray:170px;stroke-dashoffset:170px;stroke-linecap:round;stroke-width:7px;stroke:#ffea4a;fill:none;-webkit-animation:draw_1n0uM 5s linear forwards;animation:draw_1n0uM 5s linear forwards}.paused_TAQyh .venom-player-slice{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes draw_1n0uM{from{stroke-dashoffset:170px}to{stroke-dashoffset:0}}@keyframes draw_1n0uM{from{stroke-dashoffset:170px}to{stroke-dashoffset:0}}\n",""]),t.locals={remaining:"remaining_3lX72",tv:"tv_3IadK",right:"right_1ifBZ",skip:"skip_c5yWK",progress:"progress_51t_R",draw:"draw_1n0uM",paused:"paused_TAQyh"}},46173:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.btnGroup_167mk{display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:var(--vp-border-radius)}.btnGroup_167mk.column_2EkTI{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.btnGroup_167mk .icon_3zeDf{margin:0}.btnGroup_167mk .icon_3zeDf:hover{background-color:var(--vp-background-color-item)}.btnGroup_167mk .icon_3zeDf:focus{color:var(--vp-color-primary)}.btnGroup_167mk.twoButtons_r7osd{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.btnGroup_167mk.twoButtons_r7osd .button_1_nBS{width:-webkit-calc(50% - .5rem);width:calc(50% - .5rem)}.btnGroup_167mk.twoButtons_r7osd .button_1_nBS+.button_1_nBS{margin-left:1rem}.button_1_nBS{-ms-touch-action:auto;touch-action:auto;pointer-events:all;position:relative;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;outline:none;cursor:pointer;text-decoration:none;color:var(--vp-color-buttons);border-radius:var(--vp-border-radius)}.block_1n7OL{width:100%}.icon_3zeDf,.iconMD_2O8pO{pointer-events:all;color:var(--vp-button-icon-color);background-color:var(--vp-button-icon-bg)}.icon_3zeDf.iconStart_ibeLL,.iconMD_2O8pO.iconStart_ibeLL{-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.icon_3zeDf.iconStart_ibeLL svg,.iconMD_2O8pO.iconStart_ibeLL svg{width:auto}.icon_3zeDf.bgFillCircle_BA_rG,.iconMD_2O8pO.bgFillCircle_BA_rG{border-radius:50%}.icon_3zeDf.bgFillCircle_BA_rG:hover,.iconMD_2O8pO.bgFillCircle_BA_rG:hover{background-color:var(--vp-background-color-primary)}@media (hover: hover){.icon_3zeDf:hover,.iconMD_2O8pO:hover{color:var(--vp-button-icon-color-hover, var(--vp-color-primary))}.icon_3zeDf:hover .venom-svg-shadow,.icon_3zeDf:hover .venom-svg-shadow-sm,.iconMD_2O8pO:hover .venom-svg-shadow,.iconMD_2O8pO:hover .venom-svg-shadow-sm{stroke-opacity:.03}}.icon_3zeDf:focus,.iconMD_2O8pO:focus{color:var(--vp-button-icon-color);background-color:transparent}.icon_3zeDf.active_1odLG,.iconMD_2O8pO.active_1odLG{color:var(--vp-color-primary)}.icon_3zeDf{width:var(--vp-button-icon-size);height:var(--vp-button-icon-size)}@media (min-width: 30em){.icon_3zeDf{margin-left:var(--vp-button-icon-space);margin-right:var(--vp-button-icon-space)}}.icon_3zeDf:hover{background-color:var(--vp-button-icon-bg-hover)}.iconMD_2O8pO{width:5em;height:5em}@media (max-width: 29.98em){.iconMD_2O8pO{width:3.75em;height:3.75em}}.default_1pfg_{font-size:.875em;padding:.7rem 1.25rem;color:var(--vp-color-text);background-color:var(--vp-background-color-item)}.default_1pfg_:hover,.default_1pfg_:focus{color:var(--vp-color-primary)}.primary_2bHEi{position:relative;font-size:.875em;padding:.7rem 1.25rem;background-color:var(--vp-color-primary)}.primary_2bHEi:hover,.primary_2bHEi:focus{background-color:var(--vp-color-primary)}.primary_2bHEi:hover::before,.primary_2bHEi:focus::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.1)}.toTv_1V2FG{padding:.45em;stroke-width:1px;stroke-opacity:0.08;stroke:var(--vp-background-color-item);fill:var(--vp-color-buttons)}.close_EJZwu{position:absolute;right:0;top:0}.quality_25l3g{position:absolute;width:50%;line-height:0;padding-bottom:30%;border-radius:1px;color:#000000;background-color:var(--vp-color-primary)}.quality_25l3g svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:auto;margin:auto;fill:context-fill}.quality_25l3g.left_Cfaes{top:.25em;left:0}.quality_25l3g.right_3ACh-{top:.25em;right:0}.skip_ktBPV{pointer-events:all;position:absolute;right:-webkit-calc(var(--vp-inner-indent, 0rem) * 2);right:calc(var(--vp-inner-indent, 0rem) * 2);bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height) + var(--vp-inner-indent, .25rem) * 4);bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height) + var(--vp-inner-indent, .25rem) * 4);padding:.5em .75em;color:var(--vp-color-buttons);background-color:var(--vp-background-color-primary);border-radius:var(--vp-border-radius);cursor:pointer;white-space:nowrap;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;font-size:.8em}@media (max-width: 63.98em){.skip_ktBPV{bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height) + (var(--vp-inner-indent, 0rem) * 4) + .875rem);bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height) + (var(--vp-inner-indent, 0rem) * 4) + .875rem);padding:.375em .5em}}.skip_ktBPV.up_2JHwa{bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height) + 4.25rem);bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height) + 4.25rem)}.tv_2leJ4{padding:.75em 1.5em;bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height) + var(--vp-inner-indent, .25rem) * 8);bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height) + var(--vp-inner-indent, .25rem) * 8)}.tv_2leJ4.up_2JHwa{bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height) + 6.25rem);bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height) + 6.25rem)}.tv_2leJ4:hover{background-color:var(--vp-background-color-item)}.tv_2leJ4:hover .skipIcon_3DiEk{color:var(--vp-button-icon-color-hover, var(--vp-color-primary))}.skipIcon_3DiEk{color:var(--vp-button-icon-color);margin-left:.75em;display:inline-block}.skipIcon_3DiEk svg{width:.75em;height:.75em;color:inherit}\n',""]),t.locals={btnGroup:"btnGroup_167mk",column:"column_2EkTI",icon:"icon_3zeDf",twoButtons:"twoButtons_r7osd",button:"button_1_nBS",block:"block_1n7OL",iconMD:"iconMD_2O8pO",iconStart:"iconStart_ibeLL",bgFillCircle:"bgFillCircle_BA_rG",active:"active_1odLG",default:"default_1pfg_",primary:"primary_2bHEi",toTv:"toTv_1V2FG",close:"close_EJZwu",quality:"quality_25l3g",left:"left_Cfaes",right:"right_3ACh-",skip:"skip_ktBPV",up:"up_2JHwa",tv:"tv_2leJ4",skipIcon:"skipIcon_3DiEk"}},56603:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.menu_K0Ow1{z-index:100;overflow:hidden;padding:var(--vp-inner-indent, 0rem);border-radius:var(--vp-border-radius)}.item_3ZKtf{width:auto;display:block;font-size:.75em;color:var(--vp-color-text);text-decoration:none;padding:.75rem 1.25rem;border-radius:var(--vp-border-radius)}.item_3ZKtf[role="button"]:hover{cursor:pointer;background-color:var(--vp-background-color-item)}.last_3PYxZ{pointer-events:none;border-radius:0;margin-top:.25rem;border-top:1px solid var(--vp-color-border)}\n',""]),t.locals={menu:"menu_K0Ow1",item:"item_3ZKtf",last:"last_3PYxZ"}},81423:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.controls_11sFr .top_goZN4,.controls_11sFr>.bottom-left_3xBzD,.controls_11sFr>.bottom-right_14KBH,.controls_11sFr .bottom_dUlwe,.center_1Q6uP,.nearCenter_3XPcj,.center-left_1roAh,.center-right_KEQWb{position:absolute}.controls_11sFr .top_goZN4,.controls_11sFr .top-left_2-xxL,.controls_11sFr .top-right_1_I7J,.controls_11sFr .bottom-left_3xBzD,.controls_11sFr .bottom-right_14KBH,.nearCenter_3XPcj,.center-left_1roAh{display:-webkit-flex;display:-ms-flexbox;display:flex}.controls_11sFr.gradient_3qCB4::after,.controls_11sFr .top_goZN4,.controls_11sFr>.bottom-left_3xBzD,.controls_11sFr>.bottom-right_14KBH,.controls_11sFr .bottom_dUlwe,.center_1Q6uP,.nearCenter_3XPcj,.center-left_1roAh,.center-right_KEQWb{-webkit-transition:opacity .2s ease, -webkit-transform .25s ease-in-out;transition:opacity .2s ease, -webkit-transform .25s ease-in-out;transition:transform .25s ease-in-out, opacity .2s ease;transition:transform .25s ease-in-out, opacity .2s ease, -webkit-transform .25s ease-in-out}.user-active .controls_11sFr.gradient_3qCB4::after,.player-paused .controls_11sFr.gradient_3qCB4::after,.user-active .controls_11sFr .top_goZN4,.player-paused .controls_11sFr .top_goZN4,.user-active .controls_11sFr>.bottom-left_3xBzD,.player-paused .controls_11sFr>.bottom-left_3xBzD,.user-active .controls_11sFr>.bottom-right_14KBH,.player-paused .controls_11sFr>.bottom-right_14KBH,.user-active .controls_11sFr .bottom_dUlwe,.player-paused .controls_11sFr .bottom_dUlwe{-webkit-transition:opacity .2s ease, -webkit-transform .25s ease-in;transition:opacity .2s ease, -webkit-transform .25s ease-in;transition:transform .25s ease-in, opacity .2s ease;transition:transform .25s ease-in, opacity .2s ease, -webkit-transform .25s ease-in}.controls_11sFr{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.controls_11sFr.gradient_3qCB4::after{content:"";position:absolute;bottom:0;left:0;opacity:0;width:100%;height:25%;background:-webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);-webkit-transform:translateY(100%);transform:translateY(100%)}.user-active .controls_11sFr.gradient_3qCB4::after,.player-paused .controls_11sFr.gradient_3qCB4::after{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.user-active .controls_11sFr.mobileOverlay_3900G::before,.player-paused .controls_11sFr.mobileOverlay_3900G::before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.7);z-index:0}.controls_11sFr.innerIndent_3xWdb .bottom_dUlwe{bottom:var(--vp-inner-indent)}@media (min-width: 30em){.controls_11sFr.innerIndent_3xWdb .bottom_dUlwe{bottom:-webkit-calc(var(--vp-inner-indent) * 2);bottom:calc(var(--vp-inner-indent) * 2)}}@media (min-width: 30em){.controls_11sFr.innerIndent_3xWdb .top_goZN4{top:-webkit-calc(var(--vp-inner-indent) * 2);top:calc(var(--vp-inner-indent) * 2);left:-webkit-calc(var(--vp-inner-indent) * 2);left:calc(var(--vp-inner-indent) * 2);right:-webkit-calc(var(--vp-inner-indent) * 2);right:calc(var(--vp-inner-indent) * 2)}}.controls_11sFr.innerIndent_3xWdb .bottom-inner_1i-Dh{position:relative;margin-left:var(--vp-inner-indent);margin-right:var(--vp-inner-indent)}@media (min-width: 30em){.controls_11sFr.innerIndent_3xWdb .bottom-inner_1i-Dh{margin-left:-webkit-calc(var(--vp-inner-indent) * 2);margin-left:calc(var(--vp-inner-indent) * 2);margin-right:-webkit-calc(var(--vp-inner-indent) * 2);margin-right:calc(var(--vp-inner-indent) * 2)}}.controls_11sFr .top_goZN4{-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;top:var(--vp-inner-indent, 0.5rem);left:var(--vp-inner-indent, 0.5rem);right:var(--vp-inner-indent, 0.5rem);opacity:0;-webkit-transform:translateY(-5em);transform:translateY(-5em);z-index:1}.user-active .controls_11sFr .top_goZN4,.player-paused .controls_11sFr .top_goZN4{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.controls_11sFr .top-left_2-xxL{-webkit-order:-1;-ms-flex-order:-1;order:-1}.controls_11sFr .top-right_1_I7J{position:relative;margin-left:auto;height:-webkit-calc(100% - var(--vp-button-icon-size) * 2);height:calc(100% - var(--vp-button-icon-size) * 2)}.controls_11sFr .top-right_1_I7J>button{-webkit-order:1;-ms-flex-order:1;order:1}.controls_11sFr>.bottom-left_3xBzD,.controls_11sFr>.bottom-right_14KBH{bottom:1.0563rem;opacity:0;-webkit-transform:translateY(5em);transform:translateY(5em)}@media (max-width: 29.98em){.controls_11sFr>.bottom-left_3xBzD,.controls_11sFr>.bottom-right_14KBH{bottom:.75rem}}.controls_11sFr>.bottom-left_3xBzD.lower_JvBjy,.controls_11sFr>.bottom-right_14KBH.lower_JvBjy{bottom:.3125rem}.user-active .controls_11sFr>.bottom-left_3xBzD,.player-paused .controls_11sFr>.bottom-left_3xBzD,.user-active .controls_11sFr>.bottom-right_14KBH,.player-paused .controls_11sFr>.bottom-right_14KBH{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.controls_11sFr.tv_1PoLU>.bottom-left_3xBzD,.controls_11sFr.tv_1PoLU>.bottom-right_14KBH{bottom:2.25rem}.controls_11sFr>.bottom-left_3xBzD{left:var(--vp-inner-indent, 0.5rem)}.controls_11sFr>.bottom-right_14KBH{right:var(--vp-inner-indent, 0.5rem)}.controls_11sFr .bottom-left_3xBzD,.controls_11sFr .bottom-right_14KBH{-webkit-align-items:center;-ms-flex-align:center;align-items:center}.controls_11sFr .bottom-left_3xBzD [aria-label="sound"]{-webkit-order:3;-ms-flex-order:3;order:3}.controls_11sFr .bottom_dUlwe{left:0;bottom:0;width:100%;opacity:0;z-index:1;-webkit-transform:translateY(5em);transform:translateY(5em)}.user-active .controls_11sFr .bottom_dUlwe,.player-paused .controls_11sFr .bottom_dUlwe{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.controls_11sFr .bottom-inner_1i-Dh{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:auto;padding:0 -webkit-calc(.375rem - var(--vp-inner-indent, 0rem));padding:0 calc(.375rem - var(--vp-inner-indent, 0rem));background-color:var(--vp-background-color-controls-bottom, var(--vp-background-color-primary))}.controls_11sFr .bottom-inner_1i-Dh.bottomUp_2ZUdQ{padding-bottom:1.3125em}.controls_11sFr .bottom-inner_1i-Dh .bottom-right_14KBH{-webkit-order:2;-ms-flex-order:2;order:2;margin-left:auto}.center_1Q6uP,.nearCenter_3XPcj{display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;top:50%;left:50%;-webkit-transform:translate(-50%, -50%) scale(0);transform:translate(-50%, -50%) scale(0)}.user-active .center_1Q6uP,.player-paused .center_1Q6uP,.user-active .nearCenter_3XPcj,.player-paused .nearCenter_3XPcj{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);-webkit-transition-delay:0s, .1s;transition-delay:0s, .1s}.loading .center_1Q6uP,.loading .nearCenter_3XPcj{opacity:0}.nearCenter_3XPcj{-webkit-align-items:center;-ms-flex-align:center;align-items:center}.spacer_2MAcH{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:5.5em}@media (min-width: 30em){.spacer_2MAcH{width:7em}}.up_1berF{margin-top:-webkit-calc(var(--vp-button-icon-size) / -2);margin-top:calc(var(--vp-button-icon-size) / -2)}.center-left_1roAh{top:50%;left:1rem;pointer-events:all;-webkit-transform:translate(-10em, -50%);transform:translate(-10em, -50%)}.user-active .center-left_1roAh,.player-paused .center-left_1roAh{opacity:1;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-delay:0s, .1s;transition-delay:0s, .1s}.center-right_KEQWb{top:50%;right:1.125rem;-webkit-transform:translate(5.625em, -50%);transform:translate(5.625em, -50%)}.user-active .center-right_KEQWb,.player-paused .center-right_KEQWb{opacity:1;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-delay:0s, .1s;transition-delay:0s, .1s}.user-active .title_3vhuI,.user-active .time_pkHXd,.player-paused .title_3vhuI,.player-paused .time_pkHXd{text-shadow:0 0 2px hsla(var(--vp-background-color-primary-hue), var(--vp-background-color-item-saturation), var(--vp-background-color-item-lightness), 0.4);-webkit-transition:text-shadow 0s linear 400ms;transition:text-shadow 0s linear 400ms}.title_3vhuI{display:inline-block;display:-webkit-box;right:var(--vp-button-icon-size)var(--vp-button-icon-size);width:auto;font-size:1em;padding:0 .3125rem 0 .625em;line-height:1.25;max-height:2.5em;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.title_3vhuI.negativeLeft_WSWUB{padding-left:0}.player-fullscreen .title_3vhuI{display:inline-block !important;display:-webkit-box !important}.time_pkHXd{pointer-events:all;display:inline-block;vertical-align:middle;cursor:pointer;font-size:.875em;padding:.625rem .5rem;text-shadow:0 0 8px rgba(24,33,48,0.5)}.time_pkHXd.muted_s2UVV{color:var(--vp-color-muted)}@media (max-width: 29.98em){.time_pkHXd{padding-right:0.3125rem}}.bottom-left_3xBzD .time_pkHXd{-webkit-order:4;-ms-flex-order:4;order:4}\n',""]),t.locals={controls:"controls_11sFr",top:"top_goZN4","bottom-left":"bottom-left_3xBzD","bottom-right":"bottom-right_14KBH",bottom:"bottom_dUlwe",center:"center_1Q6uP",nearCenter:"nearCenter_3XPcj","center-left":"center-left_1roAh","center-right":"center-right_KEQWb","top-left":"top-left_2-xxL","top-right":"top-right_1_I7J",gradient:"gradient_3qCB4",mobileOverlay:"mobileOverlay_3900G",innerIndent:"innerIndent_3xWdb","bottom-inner":"bottom-inner_1i-Dh",lower:"lower_JvBjy",tv:"tv_1PoLU",bottomUp:"bottomUp_2ZUdQ",spacer:"spacer_2MAcH",up:"up_1berF",title:"title_3vhuI",time:"time_pkHXd",negativeLeft:"negativeLeft_WSWUB",muted:"muted_s2UVV"}},22193:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.list_5Wfxa{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;height:100%}.list_5Wfxa.spaceMd_yDbzz .dropdown_2c1SF{margin-right:-webkit-calc(var(--vp-inner-indent, .5rem) * 2);margin-right:calc(var(--vp-inner-indent, .5rem) * 2)}.dropdown_2c1SF{position:relative;height:100%;min-width:7.875em;color:var(--vp-color-text);margin-right:var(--vp-inner-indent, 0.5rem);z-index:1}.dropdown_2c1SF.innerIndent_1-lJK .menu_2saYW{margin-top:.25rem;padding:var(--vp-inner-indent)}.dropdown_2c1SF.opened_ANUCv:not(.innerIndent_1-lJK) .menu_2saYW{border-radius:0 0 var(--vp-border-radius) var(--vp-border-radius)}.dropdown_2c1SF.opened_ANUCv:not(.innerIndent_1-lJK) .header_1o6l0{border-radius:var(--vp-border-radius) var(--vp-border-radius) 0 0}.dropdown_2c1SF.opened_ANUCv .icon_3fZtv{color:var(--vp-color-text);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.player-paused .dropdown_2c1SF.opened_ANUCv .menu_2saYW,.user-active .dropdown_2c1SF.opened_ANUCv .menu_2saYW{display:block;pointer-events:all}.withArrow_AYoK3{position:relative;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;margin-right:.5rem;min-height:var(--vp-button-icon-size)}@media (min-width: 30em){.withArrow_AYoK3{margin-right:1rem}}.withArrow_AYoK3 select{width:100%;padding:.5rem 1.75em .5rem .625em;min-width:7em;max-width:15em;overflow:hidden;text-overflow:ellipsis;font-size:.875em;color:var(--vp-color-text)}.withArrow_AYoK3 select:focus{outline:none;font-size:.875em !important}.withArrow_AYoK3::after{content:"";display:inline-block;position:absolute;top:50%;right:.5em;padding:.2em;margin-top:-2px;border:solid currentColor;border-width:0 2px 2px 0;-webkit-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}.withArrow_AYoK3:focus::after,.withArrow_AYoK3:active::after{color:var(--vp-color-primary)}.icon_3fZtv{display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;position:absolute;top:50%;right:1rem;width:1em;height:1em;margin-top:-.563em;font-size:.8em;color:var(--vp-color-muted)}.header_1o6l0{pointer-events:all;position:relative;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:.5rem 2.5em .5rem 1em;cursor:pointer;overflow:hidden;min-height:var(--vp-button-icon-size);border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}.header_1o6l0:focus .icon_3fZtv,.header_1o6l0:active .icon_3fZtv{color:var(--vp-color-primary)}.headerText_1R9sC{font-size:.875em;max-width:15em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backgroundFill_VzdMA{position:relative}.backgroundFill_VzdMA:hover,.backgroundFill_VzdMA:focus,.backgroundFill_VzdMA.active_1RhfH{background-color:var(--vp-background-color-item, rgba(0,0,0,0.1))}.textColor_3TKKS:hover,.textColor_3TKKS:focus,.textColor_3TKKS.active_1RhfH{color:var(--vp-color-primary)}.menu_2saYW{position:absolute;top:100%;left:0;width:100%;display:none;overflow-y:auto;max-height:-webkit-calc((var(--vp-vh) * 100) - (var(--vp-button-icon-size) * 3));max-height:calc((var(--vp-vh) * 100) - (var(--vp-button-icon-size) * 3));border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}.player-fullscreen .menu_2saYW{max-height:-webkit-calc(100vh - (var(--vp-button-icon-size) * 3));max-height:calc(100vh - (var(--vp-button-icon-size) * 3))}.item_2mH5U{display:block;width:100%;font-size:.875em;padding:.8em 1em;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-radius:var(--vp-border-radius)}.item_2mH5U.active_1RhfH{cursor:default}.item_2mH5U.blocked_2U9XI{color:var(--vp-color-muted)}.item_2mH5U.underline_3ezQC:not(:last-child){border-bottom:1px solid rgba(255,255,255,0.15)}\n',""]),t.locals={list:"list_5Wfxa",spaceMd:"spaceMd_yDbzz",dropdown:"dropdown_2c1SF",innerIndent:"innerIndent_1-lJK",menu:"menu_2saYW",opened:"opened_ANUCv",header:"header_1o6l0",icon:"icon_3fZtv",withArrow:"withArrow_AYoK3",headerText:"headerText_1R9sC",backgroundFill:"backgroundFill_VzdMA",active:"active_1RhfH",textColor:"textColor_3TKKS",item:"item_2mH5U",blocked:"blocked_2U9XI",underline:"underline_3ezQC"}},4356:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".seasons_2oG9R{padding:0 .625rem}.episodes_3pY8d{display:none}.season_3J_Tk.opened_6h2cl .episodes_3pY8d{display:block;margin-bottom:.625rem}.episode_25eg4{display:inline-block;min-width:2.25em;height:2.25em}.episode_25eg4 .blocked_2ge9h{color:var(--vp-color-muted)}.episode_25eg4 button{width:100%;height:100%;padding:.25rem .5rem;line-height:2.813em;text-align:center;font-size:.875em;color:var(--vp-color-text);border-radius:var(--vp-border-radius)}.episode_25eg4 button:hover,.episode_25eg4 button:focus{background-color:var(--vp-background-color-item)}.episode_25eg4.active_3Ng28{pointer-events:none}.episode_25eg4.active_3Ng28 button{color:var(--vp-color-buttons);background-color:var(--vp-color-primary);pointer-events:none}.episode_25eg4.active_3Ng28 button:focus{color:var(--vp-background-color-primary)}@media (hover: none){.episode_25eg4.active_3Ng28 button:focus{color:#ffffff}}.episode_25eg4.active_3Ng28 button.blocked_2ge9h{color:var(--vp-color-buttons);background-color:#9e9e9e}.expand_vM25t{display:block;text-align:left;width:100%;padding:.75em;font-size:.875em;margin-bottom:.625rem;pointer-events:all;color:var(--vp-color-text);background-color:var(--vp-background-color-item);border-radius:var(--vp-border-radius)}.expand_vM25t .tv_2B5HZ{margin-bottom:1.25rem}.expand_vM25t[disabled]{background-color:#354e68;color:#aaaaaa}.expand_vM25t[disabled]:hover,.expand_vM25t[disabled]:focus{background-color:#354e68;cursor:not-allowed}.expand_vM25t:hover{color:var(--vp-color-buttons);background-color:var(--vp-color-primary)}@media (hover: none){.expand_vM25t:hover{background-color:var(--vp-background-color-item)}}.season_3J_Tk.active_3Ng28 .expand_vM25t{color:var(--vp-color-buttons);background-color:var(--vp-color-primary)}.season_3J_Tk.active_3Ng28 .expand_vM25t[disabled]{background-color:#9e9e9e;color:var(--vp-color-buttons)}.season_3J_Tk.active_3Ng28 .expand_vM25t:focus{color:var(--vp-color-buttons)}@media (hover: none){.season_3J_Tk.active_3Ng28 .expand_vM25t:focus{color:var(--vp-color-text)}}.season_3J_Tk:not(.active_3Ng28) .expand_vM25t:focus{color:var(--vp-color-primary)}.season_3J_Tk:not(.active_3Ng28) .expand_vM25t:hover{color:var(--vp-color-buttons)}@media (hover: none){.expand_vM25t{color:var(--vp-color-text)}}@media (max-width: 22.48em){.expand_vM25t{padding:.625rem}}\n",""]),t.locals={seasons:"seasons_2oG9R",episodes:"episodes_3pY8d",season:"season_3J_Tk",opened:"opened_6h2cl",episode:"episode_25eg4",blocked:"blocked_2ge9h",active:"active_3Ng28",expand:"expand_vM25t",tv:"tv_2B5HZ"}},16488:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.slider_2Hhwj .item_3PtgT::before,.slider_2Hhwj .prev_1thyQ::before,.slider_2Hhwj .next_1b3fH::before{content:"";display:block;position:absolute;border-top:.4375rem solid transparent;border-bottom:.4375rem solid transparent;border-radius:1em}.slider_2Hhwj .item_3PtgT.back_2iZ-V::before{border-right:0.4375rem solid var(--vp-color-muted)}.slider_2Hhwj{position:absolute;left:0;bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height));bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height));width:100%;padding:.5rem;opacity:0;-webkit-transition:opacity .15s ease, -webkit-transform .3s ease;transition:opacity .15s ease, -webkit-transform .3s ease;transition:transform .3s ease, opacity .15s ease;transition:transform .3s ease, opacity .15s ease, -webkit-transform .3s ease;-webkit-transform:translateY(7rem);transform:translateY(7rem)}.user-active .slider_2Hhwj,.player-paused .slider_2Hhwj{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.slider_2Hhwj .list_oCk8s{display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;width:100%;height:100%;padding:0;z-index:1;overflow-x:auto;scroll-behavior:smooth;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.slider_2Hhwj .list_oCk8s::-webkit-scrollbar{height:0}.slider_2Hhwj .item_3PtgT{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.5em;padding:.5em;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;width:-webkit-calc(var(--vp-vw) * 25);width:calc(var(--vp-vw) * 25);max-width:8em;height:100%;min-height:2.875em;cursor:pointer;position:relative;-o-transition-property:transform;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary);color:var(--vp-color-text);overflow:hidden}.slider_2Hhwj .item_3PtgT:hover{background-color:var(--vp-background-color-item)}.slider_2Hhwj .item_3PtgT.active_3s2Sz::before{border-left-color:var(--vp-color-primary)}.slider_2Hhwj .item_3PtgT.blocked_aaz5K{color:var(--vp-color-muted)}.slider_2Hhwj .item_3PtgT::before{right:.625em;top:50%;border-left:0.375rem solid var(--vp-color-text);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.slider_2Hhwj .item_3PtgT .small_3EzjD{margin-top:.3125em}.slider_2Hhwj .item_3PtgT.back_2iZ-V{padding-left:1.875em;background-color:var(--vp-color-primary) !important}.slider_2Hhwj .item_3PtgT.back_2iZ-V::before{border-left:none;border-right-color:var(--vp-color-text) !important;right:auto;left:.625em}.slider_2Hhwj .content_1E6D_{font-size:.875em}.slider_2Hhwj .content_1E6D_ .footnote_OoFy8{font-size:.875em;padding-top:.25rem;color:var(--vp-color-muted)}.slider_2Hhwj .prev_1thyQ,.slider_2Hhwj .next_1b3fH{display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:.5rem;bottom:.5rem;padding:.25rem;cursor:pointer;width:1.563em;color:var(--vp-button-icon-color);border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-item);z-index:2}.slider_2Hhwj .prev_1thyQ.disabled_1nyYa,.slider_2Hhwj .next_1b3fH.disabled_1nyYa{display:none}.slider_2Hhwj .prev_1thyQ::before,.slider_2Hhwj .next_1b3fH::before{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.slider_2Hhwj .prev_1thyQ{left:0}.slider_2Hhwj .prev_1thyQ::before{border-right:0.357rem solid var(--vp-color-buttons)}.slider_2Hhwj .prev_1thyQ:hover::before{border-right-color:var(--vp-color-primary)}.slider_2Hhwj .next_1b3fH{right:0}.slider_2Hhwj .next_1b3fH::before{border-left:0.357rem solid var(--vp-color-buttons)}.slider_2Hhwj .next_1b3fH:hover::before{border-left-color:var(--vp-color-primary)}\n',""]),t.locals={slider:"slider_2Hhwj",item:"item_3PtgT",prev:"prev_1thyQ",next:"next_1b3fH",back:"back_2iZ-V",list:"list_oCk8s",active:"active_3s2Sz",blocked:"blocked_aaz5K",small:"small_3EzjD",content:"content_1E6D_",footnote:"footnote_OoFy8",disabled:"disabled_1nyYa"}},6131:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".error_3plQ2{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--vp-background-color-item)}.caption_2gIMx{font-size:1.2rem;margin-bottom:.25rem;font-weight:500;color:var(--vp-color-text)}.caption_2gIMx:hover{cursor:pointer;color:var(--vp-color-primary)}.inner_2xp5P{width:95%;display:-webkit-flex;display:-ms-flexbox;display:flex;max-width:37.5em;max-height:80%}.inner_2xp5P.tight_3Q37D{max-width:28em}.content_3Z3Hs{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;font-size:.875em;padding:1.5rem;color:var(--vp-color-muted);white-space:pre-wrap;overflow:auto;line-height:1.25;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}@media (max-width: 29.98em){.content_3Z3Hs{padding:.9375rem}}@media (max-width: 22.48em){.content_3Z3Hs{padding:.625rem;font-size:.8em}}.icon_23qft{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.icon_23qft svg{width:6.875em;height:6.875em}@media (max-width: 22.48em){.icon_23qft svg{width:5em;height:5em}}\n",""]),t.locals={error:"error_3plQ2",caption:"caption_2gIMx",inner:"inner_2xp5P",tight:"tight_3Q37D",content:"content_3Z3Hs",icon:"icon_23qft"}},4970:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".control_1GZJk{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.control_1GZJk+.control_1GZJk{margin-top:1em}@media (max-width: 22.48em){.control_1GZJk+.control_1GZJk{margin-bottom:.625rem}}.control_1GZJk .label_1XaOX{display:inline-block;margin-bottom:.625rem;font-size:.875em;-webkit-order:-1;-ms-flex-order:-1;order:-1}.control_1GZJk .input_1XcYh{display:block;width:100%;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;outline:0;max-width:100%;color:var(--vp-color-text);padding:.563rem 1.25rem;font-size:.9375em;line-height:1.5;border:none;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-form, var(--vp-background-color-item))}.control_1GZJk .input_1XcYh::-webkit-input-placeholder{color:var(--vp-color-muted);opacity:1;font-size:.875em}.control_1GZJk .input_1XcYh::-moz-placeholder{color:var(--vp-color-muted);opacity:1;font-size:.875em}.control_1GZJk .input_1XcYh:-ms-input-placeholder{color:var(--vp-color-muted);opacity:1;font-size:.875em}.control_1GZJk .input_1XcYh::placeholder{color:var(--vp-color-muted);opacity:1;font-size:.875em}.control_1GZJk.error_19l07 .label_1XaOX{color:var(--vp-color-danger) !important}.control_1GZJk.error_19l07 .notchedOutline_1Tkkb{border-color:var(--vp-color-danger) !important}.control_1GZJk.error_19l07+.errorText_284Tt{display:block}.errorText_284Tt{display:none;font-size:.75em;margin-top:.5rem;color:var(--vp-color-danger)}.outlined_2qOe3.filled_2o4XS .label_1XaOX,.outlined_2qOe3.error_19l07 .label_1XaOX,.outlined_2qOe3 .input_1XcYh:focus+.label_1XaOX{-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:translate(1rem, -0.375em) scale(0.75);transform:translate(1rem, -0.375em) scale(0.75)}.outlined_2qOe3.filled_2o4XS .notchedOutline_1Tkkb .notchedOutlineLegend_2BOCP,.outlined_2qOe3.error_19l07 .notchedOutline_1Tkkb .notchedOutlineLegend_2BOCP,.outlined_2qOe3 .input_1XcYh:focus ~ .notchedOutline_1Tkkb .notchedOutlineLegend_2BOCP{max-width:30em;-webkit-transition:max-width 100ms cubic-bezier(0, 0, 0.2, 1) 50ms;transition:max-width 100ms cubic-bezier(0, 0, 0.2, 1) 50ms}.outlined_2qOe3{position:relative}.outlined_2qOe3 .label_1XaOX{pointer-events:none;position:absolute;top:0;left:0;margin:0;color:var(--vp-color-muted);-webkit-transform:translate(1.25rem, 0.8rem) scale(1);transform:translate(1.25rem, 0.8rem) scale(1);-webkit-transition:color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;-webkit-font-smoothing:subpixel-antialiased;z-index:1}.outlined_2qOe3 .input_1XcYh:focus+.label_1XaOX{color:var(--vp-color-primary)}.outlined_2qOe3 .input_1XcYh:focus ~ .notchedOutline_1Tkkb{border-color:var(--vp-color-primary)}.notchedOutline_1Tkkb{pointer-events:none;position:absolute;top:-5px;left:0;right:0;bottom:0;margin:0;padding:0 .5rem;overflow:hidden;border:1px solid var(--vp-background-color-form, var(--vp-background-color-item));border-radius:var(--vp-border-radius)}.notchedOutlineLegend_2BOCP{width:auto;height:11px;display:block;padding:0;font-size:.72em;max-width:0.01px;text-align:left;-webkit-transition:max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms;visibility:hidden}.notchedOutlineLegend_2BOCP>span{display:inline-block;padding-left:5px;padding-right:5px}\n",""]),t.locals={control:"control_1GZJk",label:"label_1XaOX",input:"input_1XcYh",error:"error_19l07",notchedOutline:"notchedOutline_1Tkkb",errorText:"errorText_284Tt",outlined:"outlined_2qOe3",filled:"filled_2o4XS",notchedOutlineLegend:"notchedOutlineLegend_2BOCP"}},32009:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.main_3kuiX{display:inline-block;margin-left:.5rem}.button_3yBvO{pointer-events:all;width:5em;height:var(--vp-button-icon-size);white-space:nowrap;border-radius:.375rem;padding:0;margin-top:-2px}.button_3yBvO svg{height:auto}.inner_1_G5-{position:absolute;top:50%;left:50%;font-size:.875em;padding-left:.875em;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.inner_1_G5-::before{content:"";display:inline-block;position:absolute;top:50%;left:0;width:.385em;height:.385em;border-radius:50%;background-color:var(--vp-color-text);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.live_2D0eJ{cursor:default}.live_2D0eJ svg{opacity:0}.live_2D0eJ .inner_1_G5-::before{background-color:var(--vp-color-danger)}\n',""]),t.locals={main:"main_3kuiX",button:"button_3yBvO",inner:"inner_1_G5-",live:"live_2D0eJ"}},82918:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,'.wrap_3zUpK{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:absolute;top:50%;left:50%;overflow:hidden;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.wrap_3zUpK.up_3OBna{margin-top:-1.25em}.loader_2KeBy{width:5em;height:5em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-filter:url("#goo");filter:url("#goo")}.loader_2KeBy.sm_3U-dH{width:3.75em;height:3.75em}.loader_2KeBy .blob_1bHLP{position:absolute;top:0;bottom:0;right:0;left:0;margin:auto;width:1.375em;height:1.375em;border-radius:50%;background-color:var(--vp-color-primary);-webkit-animation:blob-left_1MP2o cubic-bezier(0.77, 0, 0.175, 1) 2s infinite;animation:blob-left_1MP2o cubic-bezier(0.77, 0, 0.175, 1) 2s infinite}.loader_2KeBy .blob_1bHLP:last-child{-webkit-animation:blob-right_2nEza cubic-bezier(0.77, 0, 0.175, 1) 2s infinite;animation:blob-right_2nEza cubic-bezier(0.77, 0, 0.175, 1) 2s infinite}.loader_2KeBy .circle_bahux{position:absolute;width:.875em;height:.875em;border-radius:50%;background-color:var(--vp-color-primary)}.loader_2KeBy .circle1_2makL{top:0;left:0;-webkit-animation:circle-fly-1_2v6Gt 1.5s ease infinite;animation:circle-fly-1_2v6Gt 1.5s ease infinite}.loader_2KeBy .circle2_2K0C9{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em);-webkit-animation:circle-fly-2_3wh0Z 1.5s ease infinite;animation:circle-fly-2_3wh0Z 1.5s ease infinite}.loader_2KeBy .circle3_1Ts2n{top:-webkit-calc(100% - .875em);top:calc(100% - .875em);left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em);-webkit-animation:circle-fly-3_2ohQ3 1.5s ease infinite;animation:circle-fly-3_2ohQ3 1.5s ease infinite}@-webkit-keyframes circle-fly-1_2v6Gt{33.333%{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em)}66.666%{left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em);top:-webkit-calc(100% - .875em);top:calc(100% - .875em)}100%{top:0;left:0}}@keyframes circle-fly-1_2v6Gt{33.333%{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em)}66.666%{left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em);top:-webkit-calc(100% - .875em);top:calc(100% - .875em)}100%{top:0;left:0}}@-webkit-keyframes circle-fly-2_3wh0Z{33.333%{left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em);top:-webkit-calc(100% - .875em);top:calc(100% - .875em)}66.666%{top:0;left:0}100%{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em)}}@keyframes circle-fly-2_3wh0Z{33.333%{left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em);top:-webkit-calc(100% - .875em);top:calc(100% - .875em)}66.666%{top:0;left:0}100%{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em)}}@-webkit-keyframes circle-fly-3_2ohQ3{33.333%{top:0;left:0}66.666%{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em)}100%{top:-webkit-calc(100% - .875em);top:calc(100% - .875em);left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em)}}@keyframes circle-fly-3_2ohQ3{33.333%{top:0;left:0}66.666%{top:0;left:-webkit-calc(100% - .875em);left:calc(100% - .875em)}100%{top:-webkit-calc(100% - .875em);top:calc(100% - .875em);left:-webkit-calc(50% - .4375em);left:calc(50% - .4375em)}}@-webkit-keyframes blob-left_1MP2o{0%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}10%{background-color:var(--vp-background-color-primary)}33%{-webkit-transform:scale(0.5) translate(1.875em, 0);transform:scale(0.5) translate(1.875em, 0);background-color:var(--vp-background-color-primary)}66%{-webkit-transform:scale(0.8) translate(0, 0);transform:scale(0.8) translate(0, 0);background-color:var(--vp-background-color-primary)}100%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}}@keyframes blob-left_1MP2o{0%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}10%{background-color:var(--vp-background-color-primary)}33%{-webkit-transform:scale(0.5) translate(1.875em, 0);transform:scale(0.5) translate(1.875em, 0);background-color:var(--vp-background-color-primary)}66%{-webkit-transform:scale(0.8) translate(0, 0);transform:scale(0.8) translate(0, 0);background-color:var(--vp-background-color-primary)}100%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}}@-webkit-keyframes blob-right_2nEza{0%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}10%{background-color:var(--vp-background-color-primary)}33%{-webkit-transform:scale(0.5) translate(-1.875em, 0);transform:scale(0.5) translate(-1.875em, 0);background-color:var(--vp-background-color-primary)}66%{-webkit-transform:scale(0.8) translate(0, 0);transform:scale(0.8) translate(0, 0);background-color:var(--vp-background-color-primary)}100%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}}@keyframes blob-right_2nEza{0%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}10%{background-color:var(--vp-background-color-primary)}33%{-webkit-transform:scale(0.5) translate(-1.875em, 0);transform:scale(0.5) translate(-1.875em, 0);background-color:var(--vp-background-color-primary)}66%{-webkit-transform:scale(0.8) translate(0, 0);transform:scale(0.8) translate(0, 0);background-color:var(--vp-background-color-primary)}100%{-webkit-transform:scale(1) translate(0, 0);transform:scale(1) translate(0, 0);background-color:var(--vp-color-primary)}}\n',""]),t.locals={wrap:"wrap_3zUpK",up:"up_3OBna",loader:"loader_2KeBy",sm:"sm_3U-dH",blob:"blob_1bHLP","blob-left":"blob-left_1MP2o","blob-right":"blob-right_2nEza",circle:"circle_bahux",circle1:"circle1_2makL","circle-fly-1":"circle-fly-1_2v6Gt",circle2:"circle2_2K0C9","circle-fly-2":"circle-fly-2_3wh0Z",circle3:"circle3_1Ts2n","circle-fly-3":"circle-fly-3_2ohQ3"}},2439:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".icon_FREW9{display:inline-block;position:absolute;top:50%;left:.625rem;width:.625em;min-width:.625rem;line-height:0;height:.625em;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.menu_gg1uh{position:absolute;box-shadow:1px 1px 10px #000000;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}.menu_gg1uh .header_3IurG{height:2.5em;border-bottom:1px solid var(--vp-color-border);white-space:nowrap}.menu_gg1uh .body_1NeIc{width:100%;padding:.625rem 0}.close_24aBE{color:var(--vp-color-muted)}.right_2-7i6{pointer-events:all;top:0;right:0;bottom:0;width:15.5em;overflow:auto;z-index:1;opacity:1;-webkit-transition:-webkit-transform .25s ease;transition:-webkit-transform .25s ease;transition:transform .25s ease;transition:transform .25s ease, -webkit-transform .25s ease;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}.right_2-7i6.animate-hide{opacity:0;-webkit-transform:translateX(7.75em);transform:translateX(7.75em)}.right_2-7i6.before-show{opacity:0}.share_2zssq{will-change:max-width;position:absolute;top:var(--vp-button-icon-size);right:0;max-width:-webkit-calc(var(--vp-button-icon-size) * 6);max-width:calc(var(--vp-button-icon-size) * 6);overflow:hidden;margin-top:var(--vp-inner-indent, 0.5rem);border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary);box-shadow:0 0 8px 1px rgba(0,0,0,0.25);-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity 200ms, -webkit-transform 300ms;transition:opacity 200ms, -webkit-transform 300ms;transition:opacity 200ms, transform 300ms;transition:opacity 200ms, transform 300ms, -webkit-transform 300ms;z-index:3}.share_2zssq.before-show{opacity:.5;-webkit-transform:translateX(5em);transform:translateX(5em)}.share_2zssq.animate-hide{opacity:0;-webkit-transform:translateX(5em);transform:translateX(5em)}.share_2zssq.mob_2jJFr{will-change:max-width;top:0;right:100%;margin:0;max-width:-webkit-calc(var(--vp-button-icon-size) * 6);max-width:calc(var(--vp-button-icon-size) * 6);-webkit-transition:max-width 200ms ease;transition:max-width 200ms ease}.share_2zssq.mob_2jJFr.before-show{max-width:3em}.share_2zssq.mob_2jJFr.animate-hide{max-width:0}.dot_-etxC{will-change:transform, opacity;top:-webkit-calc(100% + var(--vp-inner-indent, 0rem));top:calc(100% + var(--vp-inner-indent, 0rem));right:0;opacity:0;-webkit-transform:translateX(5em);transform:translateX(5em);-webkit-transition:opacity .2s, -webkit-transform .25s;transition:opacity .2s, -webkit-transform .25s;transition:transform .25s, opacity .2s;transition:transform .25s, opacity .2s, -webkit-transform .25s;z-index:1}.user-active .dot_-etxC,.player-paused .dot_-etxC{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}.dot_-etxC.before-show{opacity:.5;-webkit-transform:translateX(1.5em);transform:translateX(1.5em)}.dot_-etxC.animate-hide{opacity:0;-webkit-transform:translateX(5em);transform:translateX(5em)}.dot_-etxC.open_13upb{border-top-left-radius:0}.dot_-etxC.left_3-ZP0{top:0;right:100%;margin:0;-webkit-transform:translateY(-5em);transform:translateY(-5em)}.user-active .dot_-etxC.left_3-ZP0,.player-paused .dot_-etxC.left_3-ZP0{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.dot_-etxC.left_3-ZP0.before-show{opacity:.5;-webkit-transform:translateY(-1.5em);transform:translateY(-1.5em)}.dot_-etxC.left_3-ZP0.animate-hide{opacity:0;-webkit-transform:translateY(-5em);transform:translateY(-5em)}.center_Eksmu{top:0;left:0;width:100%;height:100%;opacity:1;overflow-y:auto;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;background-color:hsla(var(--vp-background-color-primary-hue), var(--vp-background-color-item-saturation), var(--vp-background-color-item-lightness), 0.65)}.center_Eksmu.before-show{opacity:.5}.center_Eksmu.before-show .inner_2vGPs{opacity:.5;-webkit-transform:translate(-50%, -60%);transform:translate(-50%, -60%)}.center_Eksmu.animate-hide{opacity:0}.center_Eksmu.animate-hide .inner_2vGPs{opacity:0;-webkit-transform:translate(-50%, -50%) scale(0.4);transform:translate(-50%, -50%) scale(0.4)}.center_Eksmu .header_3IurG{position:relative}.center_Eksmu .inner_2vGPs{pointer-events:all;position:absolute;top:50%;left:50%;right:auto;bottom:auto;max-height:100%;background-color:var(--vp-background-color-primary);-webkit-transform:translate(-50.09%, -50.09%);transform:translate(-50.09%, -50.09%);-webkit-transition:opacity .2s ease, -webkit-transform .3s ease;transition:opacity .2s ease, -webkit-transform .3s ease;transition:opacity .2s ease, transform .3s ease;transition:opacity .2s ease, transform .3s ease, -webkit-transform .3s ease}.message_2KHce{pointer-events:auto;width:70%;min-width:260px;max-width:var(--vp-share-max-width, 30em);margin:0 auto;padding:1.875rem 2.1875rem;z-index:2;border-radius:var(--vp-border-radius)}@media (max-width: 29.98em){.message_2KHce{top:0;left:0;right:0;bottom:0;width:100%;-webkit-transform:translate(0, 0);transform:translate(0, 0)}}@media (max-width: 22.48em){.message_2KHce{padding:.9375rem}}.about_3fyba .header_3IurG{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:.25em 0;height:-webkit-calc(var(--vp-vh) * 28);height:calc(var(--vp-vh) * 28);max-height:5em;border-bottom:0;background-color:rgba(0,0,0,0.5)}.about_3fyba .header_3IurG .text_2GGWu{color:var(--vp-color-muted);font-size:.75em}.bug_lWJ_4{z-index:1}.bug_lWJ_4 .header_3IurG{padding:1em 2em;height:auto;text-align:center;border-bottom:0;background-color:rgba(0,0,0,0.5)}.bug_lWJ_4 .body_1NeIc{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:18em;padding:1.5em;background-color:var(--vp-background-color-primary)}.about_3fyba{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:auto;min-width:15em;z-index:2}.about_3fyba .header_3IurG{position:relative;border-radius:var(--vp-border-radius) var(--vp-border-radius) 0 0}.about_3fyba .body_1NeIc{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding:var(--vp-inner-indent, 0.5rem) var(--vp-inner-indent, 0);background-color:var(--vp-background-color-primary)}@media (min-width: 30em){.about_3fyba .body_1NeIc{padding:-webkit-calc(var(--vp-inner-indent, .5rem) * 2) -webkit-calc(var(--vp-inner-indent, 0rem) * 2);padding:calc(var(--vp-inner-indent, .5rem) * 2) calc(var(--vp-inner-indent, 0rem) * 2)}}.about_3fyba .item_1VaD4{pointer-events:none;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:.875em;padding:0.375em 1.25rem;height:-webkit-calc(var(--vp-vh) * 12);height:calc(var(--vp-vh) * 12);max-height:2.8em;text-decoration:none;border-radius:var(--vp-border-radius)}@media (min-width: 22.5em){.about_3fyba .item_1VaD4{white-space:nowrap}}@media (min-width: 30em){.about_3fyba .item_1VaD4{padding-left:2.5rem;padding-right:2.5rem}}.about_3fyba .item_1VaD4:hover,.about_3fyba .item_1VaD4:focus{background-color:transparent}.about_3fyba .item_1VaD4 svg{width:2em;height:2em;font-size:1em;margin-right:1.25rem}.about_3fyba .footer_38HHL{font-size:0.75em;text-align:center;padding:.625rem 2rem;background-color:rgba(0,0,0,0.5);border-radius:0 0 var(--vp-border-radius) var(--vp-border-radius)}.about_3fyba .footer_38HHL{color:var(--vp-color-muted)}.venomLogo_PXeCL{font-size:1.125em;width:5em;height:1.125em;margin:0 auto .625em}\n",""]),t.locals={icon:"icon_FREW9",menu:"menu_gg1uh",header:"header_3IurG",body:"body_1NeIc",close:"close_24aBE",right:"right_2-7i6",share:"share_2zssq",mob:"mob_2jJFr",dot:"dot_-etxC",open:"open_13upb",left:"left_3-ZP0",center:"center_Eksmu",inner:"inner_2vGPs",message:"message_2KHce",about:"about_3fyba",text:"text_2GGWu",bug:"bug_lWJ_4",item:"item_1VaD4",footer:"footer_38HHL",venomLogo:"venomLogo_PXeCL"}},56358:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".wrap_3WRQ3{position:absolute;bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem));bottom:calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem));right:-webkit-calc(var(--vp-inner-indent, 0rem) * 2);right:calc(var(--vp-inner-indent, 0rem) * 2);height:-webkit-calc(var(--vp-vh) * 30);height:calc(var(--vp-vh) * 30);max-width:70%;max-height:5.25em;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary);z-index:10}@media (min-width: 30em){.wrap_3WRQ3{margin-bottom:.5rem;bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem) * 2);bottom:calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem) * 2)}}.wrap_3WRQ3:hover{background-color:var(--vp-background-color-item)}.wrap_3WRQ3:hover svg{color:var(--vp-color-primary)}.wrap_3WRQ3:active svg{color:var(--vp-color-primary)}@media (max-width: 29.98em){.wrap_3WRQ3{right:1rem}}.inner_1OpAn{display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;cursor:pointer;padding:.375rem 1rem;color:var(--vp-color-text)}@media (min-width: 30em){.inner_1OpAn{padding:.875rem 1.25rem}}.content_3oVde{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-right:1rem;min-width:0}.title_3FvrQ{display:block;font-weight:400;max-width:100%;font-size:1.25em;margin-bottom:.625em;margin-right:auto;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.footnote_3kiDf{font-size:.875em;font-weight:300;color:var(--vp-color-muted)}.count_8zhcr{color:var(--vp-color-text)}.icon_1cy6X{display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;vertical-align:middle;cursor:pointer;text-align:center}.icon_1cy6X svg{font-size:1em;margin-bottom:.625em;max-width:2.875em;height:-webkit-calc(var(--vp-vw) * 5);height:calc(var(--vp-vw) * 5);max-height:1.25em}.icon_1cy6X svg:hover{fill:var(--vp-color-primary)}.icon_1cy6X .cancel_3gT6W{display:block;pointer-events:all;cursor:pointer;font-size:.875em;margin-top:auto;outline:none !important}.icon_1cy6X .cancel_3gT6W:hover{color:var(--vp-color-primary)}\n",""]),t.locals={wrap:"wrap_3WRQ3",inner:"inner_1OpAn",content:"content_3oVde",title:"title_3FvrQ",footnote:"footnote_3kiDf",count:"count_8zhcr",icon:"icon_1cy6X",cancel:"cancel_3gT6W"}},36310:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".alert_1aLt7{position:fixed;top:var(--vp-inner-indent, 0.5rem);left:50%;padding:.7rem 1rem;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;max-width:90%;font-size:.875em;color:var(--vp-color-text);background-color:var(--vp-background-color-primary);border-radius:var(--vp-border-radius);-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-animation:fadeInDown_HiOwt .3s ease-in forwards;animation:fadeInDown_HiOwt .3s ease-in forwards;z-index:2}@media (min-width: 30em){.alert_1aLt7{top:-webkit-calc(var(--vp-inner-indent, .25rem) * 2);top:calc(var(--vp-inner-indent, .25rem) * 2)}}.fadeOutTop_3sNQ6{-webkit-animation:fadeOutTop_3sNQ6 .3s ease-in-out forwards;animation:fadeOutTop_3sNQ6 .3s ease-in-out forwards}@-webkit-keyframes fadeInDown_HiOwt{from{opacity:0;-webkit-transform:translate(-50%, -1rem);transform:translate(-50%, -1rem)}to{opacity:1;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0)}}@keyframes fadeInDown_HiOwt{from{opacity:0;-webkit-transform:translate(-50%, -1rem);transform:translate(-50%, -1rem)}to{opacity:1;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0)}}@-webkit-keyframes fadeOutTop_3sNQ6{to{opacity:0;-webkit-transform:translate(-50%, -1rem);transform:translate(-50%, -1rem)}}@keyframes fadeOutTop_3sNQ6{to{opacity:0;-webkit-transform:translate(-50%, -1rem);transform:translate(-50%, -1rem)}}\n",""]),t.locals={alert:"alert_1aLt7",fadeInDown:"fadeInDown_HiOwt",fadeOutTop:"fadeOutTop_3sNQ6"}},60641:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".overlay_1TbCo{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.playWrapper_1bSND{opacity:0}.user-active .playWrapper_1bSND,.player-paused .playWrapper_1bSND{opacity:1}\n",""]),t.locals={overlay:"overlay_1TbCo",playWrapper:"playWrapper_1bSND overlay_1TbCo"}},34752:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,":root{--vp-color-primary: #75c23b;--vp-color-danger: #ee6557;--vp-color-muted: #8093a0;--vp-color-border: #34414f;--vp-color-buttons: #fff;--vp-color-text: #fff;--vp-background-color-primary: #1b2734;--vp-background-color-overlay: rgba(27, 39, 52, .9);--vp-background-color-slider-rail: #475d74;--vp-background-color-slider-buffer: #7e929f;--vp-font-weight-base: 400;--vp-font-size-base: 1em;--vp-font-family-base: Arial, Helvetica, sans-serif;--vp-border-radius: 0rem;--vp-range-height: .375em;--vp-button-icon-space: 0;--vp-button-icon-size: 2.5em;--vp-button-icon-color: #fff;--vp-button-icon-bg: transparent}:-webkit-full-screen{height:100% !important}.player_1JR0Q,.player_1JR0Q *{color:inherit;background-color:transparent;padding:0;margin:0;float:none;font-weight:var(--vp-font-weight-base);font-family:var(--vp-font-family-base);font-size:var(--vp-font-size-base);line-height:1em;list-style:none;text-transform:none;vertical-align:baseline;border:0;font-variant:inherit;font-stretch:inherit;-webkit-tap-highlight-color:rgba(255,255,255,0)}.init_3E0g1{border:2px dashed green}.error_ZoGts{border:2px dashed red}.player_1JR0Q{position:relative;width:100%;min-height:1px;height:100%;display:block;overflow:hidden;outline:0;font-size:100%;color:var(--vp-color-text);box-sizing:border-box;background-color:#000000;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}@media (max-width: 29.98em){.player_1JR0Q{font-size:87.5%}}@media (max-width: 29.98em){.player_1JR0Q.player-fullscreen{font-size:100%}}.player_1JR0Q.tv_3dgXW{font-size:150% !important}@media (min-width: 64em){.player_1JR0Q.player-fullscreen{font-size:115%}}.player_1JR0Q *::-webkit-scrollbar{width:.5rem;height:.5rem}.player_1JR0Q *::-webkit-scrollbar-track{background:var(--vp-background-color-item)}.player_1JR0Q *::-webkit-scrollbar-thumb{background:var(--vp-color-primary)}.player_1JR0Q svg{-ms-touch-action:none;touch-action:none;pointer-events:none;display:inline-block;vertical-align:middle;font:initial;height:100%;width:100%;fill:currentColor;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.player_1JR0Q svg:not(:root){overflow:hidden;-webkit-transform:translate(0);transform:translate(0)}.player_1JR0Q textarea{resize:none}.player_1JR0Q select{pointer-events:all;display:block;padding:1em 0.625em;font-size:.875em;color:var(--vp-color-text);border:none;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary);-webkit-appearance:none}.player_1JR0Q select:focus{font-size:.875em !important}.video_9XhFj{position:absolute;top:0;left:0;width:100%;height:100%;outline:0;cursor:none;pointer-events:all;background-color:#000000}.video_9XhFj video{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;-o-object-fit:contain;object-fit:contain;background-color:#000000}.user-active .video_9XhFj{cursor:pointer}.player_1JR0Q *,.player_1JR0Q *::before,.player_1JR0Q *::after{box-sizing:border-box}.player_1JR0Q small{font-size:80%}.venom-svg-shadow,.venom-svg-shadow-sm{stroke:var(--vp-background-color-item);stroke-opacity:0.08;fill:none}.venom-svg-shadow{stroke-width:2px}.venom-svg-shadow-sm{stroke-width:1px}\n",""]),t.locals={player:"player_1JR0Q",init:"init_3E0g1",error:"error_ZoGts",tv:"tv_3dgXW",video:"video_9XhFj"}},47647:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".menu_oCakG{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.radial_HIalp{width:7vw;height:7vw;text-align:center;border-radius:40%;color:var(--vp-button-icon-color);background-color:var(--vp-background-color-primary)}.radial_HIalp:hover,.radial_HIalp:focus{color:var(--vp-button-icon-color);background-color:var(--vp-background-color-primary)}.list_2eeNk{position:absolute;top:0}.list_2eeNk>.item_2X4PU{width:100%;height:100%;position:absolute}.list_2eeNk>.item_2X4PU .sub_3lUxs{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-perspective:1300px;perspective:1300px;white-space:nowrap;position:absolute;overflow:hidden;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}.list_2eeNk>.item_2X4PU .sub_3lUxs button{position:relative;min-width:6.5vw;text-align:center;padding:.625rem;font-weight:500;font-size:2vw;border-radius:inherit}.list_2eeNk>.item_2X4PU .sub_3lUxs button:hover,.list_2eeNk>.item_2X4PU .sub_3lUxs button.active_1tkrh{color:var(--vp-color-primary)}.list_2eeNk>.item_2X4PU .sub_3lUxs button:not(:last-child)::after{content:'';display:block;position:absolute;top:6px;bottom:6px;right:0;width:1px;background-color:var(--vp-button-icon-color)}.list_2eeNk>.item_2X4PU .sub_3lUxs.top_17NtB{top:0;-webkit-transform:translate(-50%, -100%);transform:translate(-50%, -100%);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-animation:subTop_2oDVF .1s linear forwards;animation:subTop_2oDVF .1s linear forwards}@-webkit-keyframes subTop_2oDVF{from{-webkit-transform:translateY(100%) rotateX(90deg);transform:translateY(100%) rotateX(90deg)}to{-webkit-transform:translateY(0) rotateX(0);transform:translateY(0) rotateX(0)}}@keyframes subTop_2oDVF{from{-webkit-transform:translateY(100%) rotateX(90deg);transform:translateY(100%) rotateX(90deg)}to{-webkit-transform:translateY(0) rotateX(0);transform:translateY(0) rotateX(0)}}.list_2eeNk>.item_2X4PU .sub_3lUxs.right_1uRQx{top:0;-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-animation:subBottom_1AP4G .1s linear forwards;animation:subBottom_1AP4G .1s linear forwards}@-webkit-keyframes subBottom_1AP4G{from{-webkit-transform:rotateX(-90deg);transform:rotateX(-90deg)}to{-webkit-transform:rotateX(0);transform:rotateX(0)}}@keyframes subBottom_1AP4G{from{-webkit-transform:rotateX(-90deg);transform:rotateX(-90deg)}to{-webkit-transform:rotateX(0);transform:rotateX(0)}}.list_2eeNk>.item_2X4PU>.radial_HIalp{padding:10%}.list_2eeNk>.item_2X4PU>.radial_HIalp>svg{font-size:.5em}.list_2eeNk>.item_2X4PU>.radial_HIalp.active_1tkrh{background-color:var(--vp-background-color-item)}.arrow-top_3LnYA::before,.arrow-bottom_Gw5cF::before,.arrow-left_1q7Ur::before,.arrow-right_7Ucb7::before{content:\"\";display:block;position:absolute}.arrow-bottom_Gw5cF::before,.arrow-top_3LnYA::before{left:50%;margin-left:-.65vw;border-left:.65vw solid transparent;border-right:.65vw solid transparent}.arrow-bottom_Gw5cF::before{bottom:.5rem;border-top:.65vw solid currentColor}.arrow-top_3LnYA::before{top:.5rem;border-bottom:.65vw solid currentColor}.arrow-left_1q7Ur::before,.arrow-right_7Ucb7::before{top:50%;margin-top:-.65vw;border-top:.65vw solid transparent;border-bottom:.65vw solid transparent}.arrow-left_1q7Ur::before{left:.5rem;border-right:.65vw solid currentColor}.arrow-right_7Ucb7::before{right:.5rem;border-left:.65vw solid currentColor}.item_2X4PU.left_3VhIC{-webkit-animation:toLeft_GEyGZ 0.1s linear forwards;animation:toLeft_GEyGZ 0.1s linear forwards}@-webkit-keyframes toLeft_GEyGZ{to{-webkit-transform:translateX(-7vw);transform:translateX(-7vw)}}@keyframes toLeft_GEyGZ{to{-webkit-transform:translateX(-7vw);transform:translateX(-7vw)}}.item_2X4PU.right_1uRQx{-webkit-animation:toRight_-RCxO 0.1s linear forwards;animation:toRight_-RCxO 0.1s linear forwards}@-webkit-keyframes toRight_-RCxO{to{-webkit-transform:translateX(7vw);transform:translateX(7vw)}}@keyframes toRight_-RCxO{to{-webkit-transform:translateX(7vw);transform:translateX(7vw)}}.item_2X4PU.up_fQXfP{-webkit-animation:toUp_18C9G 0.1s linear forwards;animation:toUp_18C9G 0.1s linear forwards}@-webkit-keyframes toUp_18C9G{to{-webkit-transform:translateY(-7vw);transform:translateY(-7vw)}}@keyframes toUp_18C9G{to{-webkit-transform:translateY(-7vw);transform:translateY(-7vw)}}.item_2X4PU.down__K0m5{-webkit-animation:toDown_CBGo8 0.1s linear forwards;animation:toDown_CBGo8 0.1s linear forwards}@-webkit-keyframes toDown_CBGo8{to{-webkit-transform:translateY(7vw);transform:translateY(7vw)}}@keyframes toDown_CBGo8{to{-webkit-transform:translateY(7vw);transform:translateY(7vw)}}\n",""]),t.locals={menu:"menu_oCakG",radial:"radial_HIalp",list:"list_2eeNk",item:"item_2X4PU",sub:"sub_3lUxs",active:"active_1tkrh",top:"top_17NtB",subTop:"subTop_2oDVF",right:"right_1uRQx",subBottom:"subBottom_1AP4G","arrow-top":"arrow-top_3LnYA","arrow-bottom":"arrow-bottom_Gw5cF","arrow-left":"arrow-left_1q7Ur","arrow-right":"arrow-right_7Ucb7",left:"left_3VhIC",toLeft:"toLeft_GEyGZ",toRight:"toRight_-RCxO",up:"up_fQXfP",toUp:"toUp_18C9G",down:"down__K0m5",toDown:"toDown_CBGo8"}},41661:function(e,t,n){(t=e.exports=n(9252)(!1)).i(n(60641),void 0),t.push([e.id,'.wrap_zwffK{pointer-events:all;-ms-touch-action:none;touch-action:none;position:absolute;top:-webkit-calc((1.25em - var(--vp-range-height)) / 2 * -1);top:calc((1.25em - var(--vp-range-height)) / 2 * -1);left:0;width:100%;height:1.25em}.range_3O14M{position:relative;cursor:pointer;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;height:var(--vp-range-height)}.range_3O14M .rail_32BJu,.range_3O14M .progress_2ko46,.range_3O14M .buffer_3WIhW{position:absolute;top:50%;left:0;height:var(--vp-range-height);border-radius:var(--vp-border-radius);cursor:pointer;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.range_3O14M .rail_32BJu,.range_3O14M .buffer_3WIhW{width:100%;overflow:hidden}.range_3O14M .buffer_3WIhW{left:-webkit-calc(var(--vp-border-radius, 0rem) / 2);left:calc(var(--vp-border-radius, 0rem) / 2);width:-webkit-calc(100% - var(--vp-border-radius, 0rem) / 2);width:calc(100% - var(--vp-border-radius, 0rem) / 2)}.range_3O14M .rail_32BJu{background-color:var(--vp-background-color-slider-rail)}.range_3O14M .progress_2ko46{background-color:var(--vp-color-primary)}.range_3O14M .bufferItem_1-9gY{position:absolute;height:100%;overflow:hidden;border-right:var(--vp-border-radius);background-color:var(--vp-background-color-slider-buffer)}.range_3O14M.widerClickArea_1TDwR{height:.875rem;margin-top:-.3125rem}.range_3O14M.widerClickArea_1TDwR .rail_32BJu,.range_3O14M.widerClickArea_1TDwR .buffer_3WIhW,.range_3O14M.widerClickArea_1TDwR .progress_2ko46{top:50%;height:var(--vp-range-height);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.sound_Hhka2{position:relative;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;pointer-events:all;white-space:nowrap}.sound_Hhka2 .muted_1aRei+.range_3O14M .progress_2ko46{opacity:.4}.sound_Hhka2 .range_3O14M:not(.vertical_3kz56){width:5rem;display:inline-block;vertical-align:middle}.vertical_3kz56{position:absolute;left:0;right:0;bottom:100%;height:4.688em;opacity:0;pointer-events:all;visibility:hidden;-webkit-transition:visibility,opacity 0.15s cubic-bezier(0.4, 0, 1, 1);transition:visibility,opacity 0.15s cubic-bezier(0.4, 0, 1, 1);border-bottom:.625rem solid transparent}@media (max-width: 22.48em){.vertical_3kz56{display:none}}.sound_Hhka2:hover .vertical_3kz56,.vertical_3kz56.active_27uLZ{opacity:1;visibility:visible}.vertical_3kz56 .wrap_zwffK{position:relative;top:auto;left:auto;width:var(--vp-range-height);height:100%;margin:auto}.vertical_3kz56 .rail_32BJu,.vertical_3kz56 .progress_2ko46,.vertical_3kz56 .buffer_3WIhW{height:auto;width:var(--vp-range-height);top:auto;bottom:0;left:auto;-webkit-transform:translate(0, 0);transform:translate(0, 0)}.vertical_3kz56 .rail_32BJu{height:100%}.timeline_3iH0a .wrap_zwffK{opacity:0.2;-webkit-transition:opacity 0.25s ease, -webkit-transform 0.25s ease;transition:opacity 0.25s ease, -webkit-transform 0.25s ease;transition:transform 0.25s ease, opacity 0.25s ease;transition:transform 0.25s ease, opacity 0.25s ease, -webkit-transform 0.25s ease;-webkit-transform:scaleX(0);transform:scaleX(0)}.user-active .timeline_3iH0a .wrap_zwffK,.player-paused .timeline_3iH0a .wrap_zwffK{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.timeline_3iH0a .wrap_zwffK .div_kpzVo{position:absolute;height:var(--vp-range-height);width:1px;background-color:#000000;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.timeline_3iH0a .wrap_zwffK .section_1cG6-{height:var(--vp-range-height);position:absolute;top:50%;cursor:pointer;-webkit-transform:scaleY(2) translateX(0.5px) var(--vp-marker-transform);transform:scaleY(2) translateX(0.5px) var(--vp-marker-transform)}.timeline_3iH0a.belowControls_1JU-h{position:absolute;bottom:0.563rem;left:0;margin:0 .5rem;width:-webkit-calc(100% - 1rem);width:calc(100% - 1rem)}.timeline_3iH0a.aboveControls_30Jyl{--vp-range-space: 0;position:absolute;bottom:2.8em;left:var(--vp-inner-indent, 0.5em);right:var(--vp-inner-indent, 0.5em)}.seekOverlay_1mMTR{height:-webkit-calc(var(--vp-vh) * 100);height:calc(var(--vp-vh) * 100);position:fixed;left:0;right:0;bottom:0;width:0;border-right:1px solid rgba(255,255,255,0.3);background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.2) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.2) 100%)}.seekOverlay_1mMTR.mobile_2Ep1k{z-index:1;bottom:0}.seekOverlay_1mMTR.transparent_3xYL-{opacity:0 !important}.seekOverlay_1mMTR.aboveBar_xNKJL{bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height));bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height))}.seekOverlay_1mMTR.down_1obIP{bottom:-webkit-calc(-2 * var(--vp-inner-indent));bottom:calc(-2 * var(--vp-inner-indent))}.seekOverlay_1mMTR.down_1obIP.mobile_2Ep1k{bottom:-webkit-calc(-1 * var(--vp-inner-indent));bottom:calc(-1 * var(--vp-inner-indent))}.handy_295Xh{position:absolute;height:100%;right:0;bottom:0;background:0 0}.handy_295Xh .seekOverlay_1mMTR{bottom:var(--vp-range-height)}.handy_295Xh .wrap_zwffK{position:absolute;top:auto;bottom:0;z-index:2}.handy_295Xh .wrap_zwffK:hover .rail_32BJu,.handy_295Xh .wrap_zwffK:hover .progress_2ko46,.handy_295Xh .wrap_zwffK:hover .buffer_3WIhW,.handy_295Xh .wrap_zwffK:hover .div_kpzVo,.handy_295Xh .wrap_zwffK:hover .section_1cG6-{height:.8125em}@media (pointer: coarse){.handy_295Xh .wrap_zwffK{height:.75em}}.handy_295Xh .wrap_zwffK .rail_32BJu,.handy_295Xh .wrap_zwffK .progress_2ko46,.handy_295Xh .wrap_zwffK .buffer_3WIhW,.handy_295Xh .wrap_zwffK .div_kpzVo,.handy_295Xh .wrap_zwffK .section_1cG6-{top:auto;bottom:0;height:.625em;-webkit-transition:height 0.15s cubic-bezier(0.4, 0, 1, 1);transition:height 0.15s cubic-bezier(0.4, 0, 1, 1);-webkit-transform:translateY(0);transform:translateY(0)}.handy_295Xh .wrap_zwffK .section_1cG6-{-webkit-transform:scaleY(1.5) translateX(0.5px);transform:scaleY(1.5) translateX(0.5px);border-radius:.125em}.drop_1xOX9{margin:0 var(--vp-range-space, 0)}.drop_1xOX9 .progress_2ko46::after{content:"";position:absolute;top:50%;right:0;width:.5rem;height:.5rem;border-radius:50%;background-color:var(--vp-color-text);-webkit-transform:translate(50%, -50%);transform:translate(50%, -50%)}.drop_1xOX9.dropBgInherit_2WmeA .progress_2ko46::after{background-color:inherit}.drop_1xOX9.vertical_3kz56{margin:0}.drop_1xOX9.vertical_3kz56 .progress_2ko46::after{top:0;right:50%}\n',""]),t.locals={wrap:"wrap_zwffK",range:"range_3O14M",rail:"rail_32BJu",progress:"progress_2ko46",buffer:"buffer_3WIhW",bufferItem:"bufferItem_1-9gY",widerClickArea:"widerClickArea_1TDwR",sound:"sound_Hhka2",muted:"muted_1aRei",vertical:"vertical_3kz56",active:"active_27uLZ",timeline:"timeline_3iH0a",div:"div_kpzVo",section:"section_1cG6-",belowControls:"belowControls_1JU-h",aboveControls:"aboveControls_30Jyl",seekOverlay:"seekOverlay_1mMTR",mobile:"mobile_2Ep1k",transparent:"transparent_3xYL-",aboveBar:"aboveBar_xNKJL",down:"down_1obIP",handy:"handy_295Xh "+n(60641).locals.overlay,drop:"drop_1xOX9",dropBgInherit:"dropBgInherit_2WmeA"}},8053:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".recommendations_3THcP{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--vp-background-color-overlay);z-index:99}.inner_d7m1g{position:absolute;top:50%;left:1rem;right:1rem;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.item_3u23H{display:inline-block;width:11em;padding:.625em;max-width:27%}@media (max-width: 29.98em){.item_3u23H{padding:.3125em}}.item_3u23H a{text-decoration:none}.thumbnail_190hh{display:block;position:relative;margin-bottom:.625em}.thumb_8rAu4{display:block;width:100%;padding-bottom:141%;background:#d6d6d6 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zd…AxOS42LTE5LjhTNjguOCA2MC4xIDY4LjggNzEgNjAgOTAuOCA0OS4yIDkwLjh6Ii8+PC9zdmc+) 50% no-repeat;background-size:cover}.title_2vgZE{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.875em;margin-bottom:.625em;color:var(--vp-color-primary)}@media (min-width: 30em){.title_2vgZE{font-size:1em}}.tv_PIJeF .title_2vgZE{font-size:1.1em;margin-bottom:1.25rem;font-weight:bold}.genre_3qCwQ{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:.75em}.tv_PIJeF .genre_3qCwQ{font-weight:300}\n",""]),t.locals={recommendations:"recommendations_3THcP",inner:"inner_d7m1g",item:"item_3u23H",thumbnail:"thumbnail_190hh",thumb:"thumb_8rAu4",title:"title_2vgZE",tv:"tv_PIJeF",genre:"genre_3qCwQ"}},8658:function(e,t,n){(t=e.exports=n(9252)(!1)).i(n(2439),void 0),t.push([e.id,".item_15136 .row_1uNYH,.submenu_1bKuC .item_15136{height:-webkit-calc(var(--vp-vh) * 14);height:calc(var(--vp-vh) * 14);padding:.25rem 1.25rem}.header_OYIJ8{position:relative;font-size:.875em;color:var(--vp-color-text);border-radius:var(--vp-border-radius)}.gutterBottom_1PmTm{margin-bottom:.5rem}.menu_1Lrwp{-ms-touch-action:manipulation;touch-action:manipulation;pointer-events:all;position:absolute;overflow:auto;border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary);z-index:1}.overlay_2WR3T{right:-webkit-calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem) * 2);right:calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem) * 2);bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem) * 2);bottom:calc(var(--vp-button-icon-size) + var(--vp-inner-indent, 0rem) * 2);min-width:10em;max-height:-webkit-calc(100% - (var(--vp-button-icon-size) + 2.5rem));max-height:calc(100% - (var(--vp-button-icon-size) + 2.5rem));max-width:-webkit-calc(100% - (var(--vp-button-icon-size) + 1.5rem));max-width:calc(100% - (var(--vp-button-icon-size) + 1.5rem));padding:var(--vp-inner-indent, 0);margin-bottom:var(--vp-inner-indent, 0.5rem);-webkit-transition:opacity .15s ease, -webkit-transform .2s ease;transition:opacity .15s ease, -webkit-transform .2s ease;transition:transform .2s ease, opacity .15s ease;transition:transform .2s ease, opacity .15s ease, -webkit-transform .2s ease;-webkit-transform:translateY(150%);transform:translateY(150%)}@media (min-width: 30em){.overlay_2WR3T{margin-bottom:-webkit-calc(var(--vp-inner-indent, 0.5rem) * 2);margin-bottom:calc(var(--vp-inner-indent, 0.5rem) * 2)}}.user-active .overlay_2WR3T,.player-paused .overlay_2WR3T{-webkit-transform:translateY(0);transform:translateY(0)}.overlay_2WR3T.mobile_Bbu_X{max-height:-webkit-calc(100% - 3.5rem);max-height:calc(100% - 3.5rem);right:-webkit-calc(var(--vp-inner-indent, 0rem) + .4375rem);right:calc(var(--vp-inner-indent, 0rem) + .4375rem);bottom:-webkit-calc(var(--vp-inner-indent, 0rem) + 2.25rem);bottom:calc(var(--vp-inner-indent, 0rem) + 2.25rem)}@media (min-width: 30em){.overlay_2WR3T.mobile_Bbu_X{right:-webkit-calc(var(--vp-inner-indent, 0rem) * 2 + .4375rem);right:calc(var(--vp-inner-indent, 0rem) * 2 + .4375rem);bottom:-webkit-calc(var(--vp-inner-indent, 0rem) * 2 + .75rem);bottom:calc(var(--vp-inner-indent, 0rem) * 2 + .75rem)}}.header_OYIJ8{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.75em 1.25rem}.header_OYIJ8.divider_9f6V-{border-bottom:1px solid var(--vp-color-border)}.header_OYIJ8 .headerInner_3sj4l{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.item_15136{cursor:pointer;pointer-events:all}.item_15136 .header_OYIJ8{padding:.625em 1.25rem}.item_15136 .row_1uNYH{max-height:2.6em;min-width:16em}.item_15136 .row_1uNYH .headerInner_3sj4l{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;min-width:0}.item_15136 .row_1uNYH .title_1F8vG{margin-bottom:0;margin-right:2rem}.item_15136 .row_1uNYH .value_3phzn{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item_15136 .title_1F8vG{margin-bottom:.3125rem}.item_15136 .title_1F8vG.muted_agFFV{color:var(--vp-color-muted)}.icon_2g073{display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:.8125em;height:.8125em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:1.25rem;color:var(--vp-color-muted)}.submenu_1bKuC{position:relative}.submenu_1bKuC .header_OYIJ8{padding:.8em 1.875rem .8em 3.625em}.submenu_1bKuC .header_OYIJ8 .icon_2g073{position:absolute;top:50%;left:1.2em;width:.875em;height:.875em;margin:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.submenu_1bKuC .item_15136{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:relative;font-size:.875em;max-height:2.563em;border-radius:var(--vp-border-radius)}.submenu_1bKuC .item_15136 .icon_2g073{opacity:0;margin-left:0;margin-right:1.25rem}.submenu_1bKuC .item_15136.multi_DXN1n{-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.submenu_1bKuC .item_15136.checkMark_7F5wK{padding-left:3.625em;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.submenu_1bKuC .item_15136.checkMark_7F5wK .checkMarkIcon_3C2cB{position:absolute;top:50%;left:1em;font-size:.875em;width:1.625em;height:1.625em;margin-top:-.8125em;color:var(--vp-color-muted)}.submenu_1bKuC .item_15136.checkMark_7F5wK .checkMarkIcon_3C2cB .vp-path-checked{opacity:0}.submenu_1bKuC .item_15136.checkMark_7F5wK.active_2WE_b{color:inherit}.submenu_1bKuC .item_15136.checkMark_7F5wK.active_2WE_b .vp-path-checked{opacity:1}.submenu_1bKuC .item_15136.checkMark_7F5wK.active_2WE_b .vp-path-default{opacity:0}.submenu_1bKuC .item_15136.checkMark_7F5wK.active_2WE_b .checkMarkIcon_3C2cB{color:var(--vp-color-primary)}.submenu_1bKuC .item_15136.active_2WE_b{color:var(--vp-color-primary)}.submenu_1bKuC .item_15136.active_2WE_b .icon_2g073{opacity:1;color:var(--vp-color-primary)}.description_2M1Qs{margin-top:1rem;padding:.75em;width:100%;cursor:default;line-height:1.3;font-size:.75em;background-color:var(--vp-background-color-item, rgba(0,0,0,0.15));border-radius:var(--vp-border-radius)}.backgroundFill_exwOR:hover{background-color:var(--vp-background-color-item, rgba(0,0,0,0.15))}.backgroundFill_exwOR:active .icon_2g073,.backgroundFill_exwOR:active .checkMarkIcon_3C2cB,.backgroundFill_exwOR:focus .icon_2g073,.backgroundFill_exwOR:focus .checkMarkIcon_3C2cB{color:var(--vp-color-primary) !important}.textColor_V8Mcc:hover{color:var(--vp-color-primary)}.right_2N4YZ{}.right_2N4YZ .item_15136>.header_OYIJ8{padding-right:.75em}.right_2N4YZ .item_15136>.header_OYIJ8 .icon_2g073,.right_2N4YZ .item_15136>.header_OYIJ8 .title_1F8vG{font-size:.875em}.right_2N4YZ .icon_2g073{color:inherit;margin-left:.5rem}.right_2N4YZ .submenu_1bKuC{position:absolute;width:100%;height:100%;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.right_2N4YZ .submenu_1bKuC .header_OYIJ8:hover{opacity:.8;background-color:transparent}.right_2N4YZ .submenu_1bKuC .item_15136{-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;padding-left:3.625em}.right_2N4YZ .submenu_1bKuC .item_15136 .icon_2g073{position:absolute;top:50%;left:1.5em;margin:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.right_2N4YZ .description_2M1Qs{color:#7f929f;margin:auto 0 1rem 0}\n",""]),t.locals={item:"item_15136",row:"row_1uNYH",submenu:"submenu_1bKuC",header:"header_OYIJ8",gutterBottom:"gutterBottom_1PmTm",menu:"menu_1Lrwp",overlay:"overlay_2WR3T",mobile:"mobile_Bbu_X",divider:"divider_9f6V-",headerInner:"headerInner_3sj4l",title:"title_1F8vG",value:"value_3phzn",muted:"muted_agFFV",icon:"icon_2g073",multi:"multi_DXN1n",checkMark:"checkMark_7F5wK",checkMarkIcon:"checkMarkIcon_3C2cB",active:"active_2WE_b",description:"description_2M1Qs",backgroundFill:"backgroundFill_exwOR",textColor:"textColor_V8Mcc",right:"right_2N4YZ "+n(2439).locals.right}},59170:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".blink_2QnLE{position:absolute;top:0;bottom:0;width:60%;opacity:0;pointer-events:none}.right_3VHfY{right:0;background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.2) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.2) 100%);-webkit-animation:fade_XM6Hv .5s ease-in-out;animation:fade_XM6Hv .5s ease-in-out}.left_BZNN2{left:0;background:-webkit-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.2) 100%);background:linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.2) 100%);-webkit-animation:fade_XM6Hv .5s ease-in-out;animation:fade_XM6Hv .5s ease-in-out}@-webkit-keyframes fade_XM6Hv{0%{-webkit-transform:scale(0.75);transform:scale(0.75);opacity:0}50%{-webkit-transform:scale(1);transform:scale(1)}65%{opacity:1}100%{opacity:0}}@keyframes fade_XM6Hv{0%{-webkit-transform:scale(0.75);transform:scale(0.75);opacity:0}50%{-webkit-transform:scale(1);transform:scale(1)}65%{opacity:1}100%{opacity:0}}@-webkit-keyframes fade-gradient_B5Byu{0%{opacity:0}85%{opacity:1}100%{opacity:0}}@keyframes fade-gradient_B5Byu{0%{opacity:0}85%{opacity:1}100%{opacity:0}}\n",""]),t.locals={blink:"blink_2QnLE",right:"right_3VHfY",fade:"fade_XM6Hv",left:"left_BZNN2","fade-gradient":"fade-gradient_B5Byu"}},22558:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".tooltip_3gO8M{position:absolute;width:auto;opacity:0;visibility:hidden;white-space:nowrap;pointer-events:none;-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 1, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 1, 1);z-index:2}.tooltip_3gO8M.visible_3v785{opacity:1;visibility:visible}.tooltip_3gO8M.pre_2RGpF{white-space:pre}button:hover>.tooltip_3gO8M,.hasTip_22gbZ:hover>.tooltip_3gO8M{opacity:1;visibility:visible}@media (hover: none){button:hover>.tooltip_3gO8M,.hasTip_22gbZ:hover>.tooltip_3gO8M{opacity:0;visibility:hidden}}.tooltip_3gO8M.top_cgtzJ,.tooltip_3gO8M.top-right_3qQWF,.tooltip_3gO8M.top-left_2-kod{bottom:100%;margin-bottom:var(--vp-inner-indent, 0.5rem)}@media (min-width: 30em){.tooltip_3gO8M.top_cgtzJ,.tooltip_3gO8M.top-right_3qQWF,.tooltip_3gO8M.top-left_2-kod{margin-bottom:-webkit-calc(var(--vp-inner-indent, 0.5rem) * 2);margin-bottom:calc(var(--vp-inner-indent, 0.5rem) * 2)}}.tooltip_3gO8M.right_1KJaA,.tooltip_3gO8M.top-right_3qQWF,.tooltip_3gO8M.bottom-right_kxff5{right:0;margin-left:var(--vp-inner-indent, 0.5rem)}@media (min-width: 30em){.tooltip_3gO8M.right_1KJaA,.tooltip_3gO8M.top-right_3qQWF,.tooltip_3gO8M.bottom-right_kxff5{margin-left:-webkit-calc(var(--vp-inner-indent, 0.5rem) * 2);margin-left:calc(var(--vp-inner-indent, 0.5rem) * 2)}}.tooltip_3gO8M.left_31Ja2,.tooltip_3gO8M.top-left_2-kod,.tooltip_3gO8M.bottom-left_1F1Xz{left:0;margin-right:var(--vp-inner-indent, 0.5rem)}@media (min-width: 30em){.tooltip_3gO8M.left_31Ja2,.tooltip_3gO8M.top-left_2-kod,.tooltip_3gO8M.bottom-left_1F1Xz{margin-right:-webkit-calc(var(--vp-inner-indent, 0.5rem) * 2);margin-right:calc(var(--vp-inner-indent, 0.5rem) * 2)}}.tooltip_3gO8M.bottom_170Fb,.tooltip_3gO8M.bottom-right_kxff5,.tooltip_3gO8M.bottom-left_1F1Xz{top:100%;margin-top:var(--vp-inner-indent, 0.5rem)}@media (min-width: 30em){.tooltip_3gO8M.bottom_170Fb,.tooltip_3gO8M.bottom-right_kxff5,.tooltip_3gO8M.bottom-left_1F1Xz{margin-top:1rem}}.tooltip_3gO8M.top_cgtzJ,.tooltip_3gO8M.bottom_170Fb{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltip_3gO8M.right_1KJaA,.tooltip_3gO8M.left_31Ja2{top:50%}.tooltip_3gO8M.right_1KJaA{left:auto;-webkit-transform:translate(110%, -50%);transform:translate(110%, -50%)}.tooltip_3gO8M.left_31Ja2{top:50%;left:0;-webkit-transform:translate(-110%, -50%);transform:translate(-110%, -50%)}.tooltip_3gO8M .text_1xqso{display:inline-block;vertical-align:middle;font-size:.75em;line-height:1.25;padding:.5rem .625rem;text-align:center;overflow:hidden;text-overflow:ellipsis;color:var(--vp-color-text);border-radius:var(--vp-border-radius);background-color:var(--vp-background-color-primary)}.tooltip_3gO8M .preview-container_4y2vT{position:relative;display:table}.tooltip_3gO8M .preview-container_4y2vT .preview-thumbnail_cxZTo,.tooltip_3gO8M .preview-container_4y2vT .preview-content_5R1M6{display:table-cell;vertical-align:top;text-align:left}.tooltip_3gO8M .preview-container_4y2vT .preview-footnote_4D7Dy{color:var(--vp-color-muted)}.tooltip_3gO8M .preview-container_4y2vT .preview-thumbnail_cxZTo:not(:empty){padding-right:.625rem}.tooltip_3gO8M .preview-container_4y2vT .preview-title_2mA74{display:inline-block;display:-webkit-box;white-space:normal;width:auto;margin-top:.625rem;max-height:3.125rem;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.light_2Ci2C .text_1xqso{background-color:#ffffff;color:#000000}.sizeSm_2oke3 .text_1xqso{font-size:.8em;padding:.3125em .75em}.timeLine_1k82E{width:10em;height:5.625em;bottom:-webkit-calc(var(--vp-range-height) + 1em);bottom:calc(var(--vp-range-height) + 1em);line-height:normal;padding:0;margin-left:-5em;border-radius:var(--vp-border-radius);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:0 0 2px 0 var(--vp-background-color-primary)}.timeLine_1k82E.noPreview_2A6xZ{width:auto;height:auto;box-shadow:none;margin:0;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.timeLine_1k82E.noPreview_2A6xZ .text_1xqso{position:relative;top:0;left:0;-webkit-transform:translate(0, 0);transform:translate(0, 0)}.timeLine_1k82E.mobile_3qMpB{z-index:initial;position:fixed;left:0;bottom:0;width:100%;height:-webkit-calc(var(--vp-vh) * 100);height:calc(var(--vp-vh) * 100);margin:auto 0;overflow:hidden;border:none;box-shadow:none;-webkit-transition:none;transition:none}:-webkit-full-screen .timeLine_1k82E.mobile_3qMpB{max-height:56.25vw}:-moz-full-screen .timeLine_1k82E.mobile_3qMpB{max-height:56.25vw}.timeLine_1k82E.mobile_3qMpB .text_1xqso{bottom:1.25em}.timeLine_1k82E.mobile_3qMpB.aboveBar_b_KjR{bottom:-webkit-calc(var(--vp-button-icon-size) + var(--vp-range-height));bottom:calc(var(--vp-button-icon-size) + var(--vp-range-height));height:-webkit-calc(var(--vp-vh) * 100 - (var(--vp-button-icon-size) + var(--vp-range-height)));height:calc(var(--vp-vh) * 100 - (var(--vp-button-icon-size) + var(--vp-range-height)))}.timeLine_1k82E .thumbnail_3PytV{position:relative;display:block;height:100%;background-color:var(--vp-background-color-overlay);background-position:top left;background-repeat:no-repeat}.timeLine_1k82E.mobile_3qMpB .thumbnail_3PytV,.timeLine_1k82E.noPreview_2A6xZ .thumbnail_3PytV{background-color:transparent}.timeLine_1k82E .text_1xqso{position:absolute;left:50%;bottom:0;width:auto;padding:.125rem .375rem;-webkit-transform:translateX(-50%);transform:translateX(-50%)}\n",""]),t.locals={tooltip:"tooltip_3gO8M",visible:"visible_3v785",pre:"pre_2RGpF",hasTip:"hasTip_22gbZ",top:"top_cgtzJ","top-right":"top-right_3qQWF","top-left":"top-left_2-kod",right:"right_1KJaA","bottom-right":"bottom-right_kxff5",left:"left_31Ja2","bottom-left":"bottom-left_1F1Xz",bottom:"bottom_170Fb",text:"text_1xqso","preview-container":"preview-container_4y2vT","preview-thumbnail":"preview-thumbnail_cxZTo","preview-content":"preview-content_5R1M6","preview-footnote":"preview-footnote_4D7Dy","preview-title":"preview-title_2mA74",light:"light_2Ci2C",sizeSm:"sizeSm_2oke3",timeLine:"timeLine_1k82E",noPreview:"noPreview_2A6xZ",mobile:"mobile_3qMpB",aboveBar:"aboveBar_b_KjR",thumbnail:"thumbnail_3PytV"}},36300:function(e,t,n){(t=e.exports=n(9252)(!1)).push([e.id,".hidden_1uh6Y{display:none !important}.mini_2CIma .hideOnMini_wxn11{display:none !important}.gutterBottom_XAnoF{margin-bottom:.9375rem}.footnote_1J26E{font-size:.875em}.title_1odpq{font-size:1.25em}\n",""]),t.locals={hidden:"hidden_1uh6Y",mini:"mini_2CIma",hideOnMini:"hideOnMini_wxn11",gutterBottom:"gutterBottom_XAnoF",footnote:"footnote_1J26E",title:"title_1odpq"}},9252:function(e){e.exports=function(n){var a=[];return a.toString=function(){return this.map(function(e){var t=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(e,n);return e[2]?"@media "+e[2]+"{"+t+"}":t}).join("")},a.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),a.push(o))}},a}},18037:function(e,t){"use strict";function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=1<arguments.length&&void 0!==t?t:{},i={mimeType:n.mimeType||null,onBeforeSend:n.onBeforeSend||Function.prototype,onSuccess:n.onSuccess||Function.prototype,onError:n.onError||Function.prototype,onComplete:n.onComplete||Function.prototype},r=Array.isArray(e)?e:[e],o=Array.apply(null,Array(r.length)).map(function(e){return null});function a(e){return!("<"===(0<arguments.length&&void 0!==e?e:"").trim().charAt(0))}function s(e,t){i.onError(e,r[t],t)}function c(e,t){var n=i.onSuccess(e,r[t],t);e=!1===n?"":n||e,o[t]=e,-1===o.indexOf(null)&&i.onComplete(o)}var u=document.createElement("a");r.forEach(function(e,t){var n,r;u.setAttribute("href",e),u.href=String(u.href),Boolean(document.all&&!window.atob)&&u.host.split(":")[0]!==location.host.split(":")[0]?u.protocol===location.protocol?((n=new XDomainRequest).open("GET",e),n.timeout=0,n.onprogress=Function.prototype,n.ontimeout=Function.prototype,n.onload=function(){a(n.responseText)?c(n.responseText,t):s(n,t)},n.onerror=function(e){s(n,t)},setTimeout(function(){n.send()},0)):(console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(e,")")),s(null,t)):((r=new XMLHttpRequest).open("GET",e),i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.onBeforeSend(r,e,t),r.onreadystatechange=function(){4===r.readyState&&(200===r.status&&a(r.responseText)?c(r.responseText,t):s(r,t))},r.send())})}function a(e){var r={cssComments:/\/\*[\s\S]+?\*\//g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},f={rootElement:e.rootElement||document,include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,skipDisabled:!1!==e.skipDisabled,useCSSOM:e.useCSSOM||!1,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},t=Array.apply(null,f.rootElement.querySelectorAll(f.include)).filter(function(e){return t=e,n=f.exclude,!(t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector).call(t,n);var t,n}),c=Array.apply(null,Array(t.length)).map(function(e){return null});function u(){var e;-1===c.indexOf(null)&&(e=c.join(""),f.onComplete(e,c,t))}function l(e,n,r,t){var i=f.onSuccess(e,r,t);(function r(i,o,a,s){var c=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[];var u=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[];var l=d(i,a,u);l.rules.length?h(l.absoluteUrls,{onBeforeSend:function(e,t,n){f.onBeforeSend(e,o,t)},onSuccess:function(n,e,t){var r=f.onSuccess(n,o,e),i=d(n=!1===r?"":r||n,e,u);return i.rules.forEach(function(e,t){n=n.replace(e,i.absoluteRules[t])}),n},onError:function(e,t,n){c.push({xhr:e,url:t}),u.push(l.rules[n]),r(i,o,a,s,c,u)},onComplete:function(e){e.forEach(function(e,t){i=i.replace(l.rules[t],e)}),r(i,o,a,s,c,u)}}):s(i,c)})(e=void 0!==i&&!1===Boolean(i)?"":i||e,r,t,function(e,t){null===c[n]&&(t.forEach(function(e){return f.onError(e.xhr,r,e.url)}),!f.filter||f.filter.test(e)?c[n]=e:c[n]="",u())})}function d(e,i,t){var n=2<arguments.length&&void 0!==t?t:[],o={};return o.rules=(e.replace(r.cssComments,"").match(r.cssImports)||[]).filter(function(e){return-1===n.indexOf(e)}),o.urls=o.rules.map(function(e){return e.replace(r.cssImports,"$1")}),o.absoluteUrls=o.urls.map(function(e){return p(e,i)}),o.absoluteRules=o.rules.map(function(e,t){var n=o.urls[t],r=p(o.absoluteUrls[t],i);return e.replace(n,r)}),o}t.length?t.forEach(function(n,r){var e,i=n.getAttribute("href"),t=n.getAttribute("rel"),o="LINK"===n.nodeName&&i&&t&&-1!==t.toLowerCase().indexOf("stylesheet"),a=!1!==f.skipDisabled&&n.disabled,s="STYLE"===n.nodeName;o&&!a?h(i,{mimeType:"text/css",onBeforeSend:function(e,t){f.onBeforeSend(e,n,t)},onSuccess:function(e){var t=p(i);l(e,r,n,t)},onError:function(e,t){c[r]="",f.onError(e,n,t),u()}}):s&&!a?(e=n.textContent,f.useCSSOM&&(e=Array.apply(null,n.sheet.cssRules).map(function(e){return e.cssText}).join("")),l(e,r,n,location.href)):(c[r]="",u())}):f.onComplete("",[])}function p(e,t){var n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),r.href=t||document.baseURI||(document.querySelector("base")||{}).href||location.href,i.href=e,i.href}var v=n;function n(e,t,n){e instanceof RegExp&&(e=i(e,n)),t instanceof RegExp&&(t=i(t,n));var r=o(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function i(e,t){var n=t.match(e);return n?n[0]:null}function o(e,t,n){var r,i,o,a,s,c=n.indexOf(e),u=n.indexOf(t,c+1),l=c;if(0<=c&&0<u){for(r=[],o=n.length;0<=l&&!s;)l==c?(r.push(l),c=n.indexOf(e,l+1)):1==r.length?s=[r.pop(),u]:((i=r.pop())<o&&(o=i,a=u),u=n.indexOf(t,l+1)),l=c<u&&0<=c?c:u;r.length&&(s=[o,a])}return s}function y(o,e){var a=m({},{preserveStatic:!0,removeComments:!1},1<arguments.length&&void 0!==e?e:{});function s(e){throw new Error("CSS parse error: ".concat(e))}function c(e){var t=e.exec(o);if(t)return o=o.slice(t[0].length),t}function u(){return c(/^{\s*/)}function l(){return c(/^}/)}function f(){c(/^\s*/)}function d(){for(var e,t=[];e=function(){if(f(),"/"===o[0]&&"*"===o[1]){for(var e=2;o[e]&&("*"!==o[e]||"/"!==o[e+1]);)e++;if(!o[e])return s("end of comment is missing");var t=o.slice(2,e);return o=o.slice(e+2),{type:"comment",comment:t}}}();)t.push(e);return a.removeComments?[]:t}function h(){for(f();"}"===o[0];)s("extra closing bracket");var e=c(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(e){return e.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(e){return e.replace(/\u200C/g,",")})}function p(){if(!u())return s("missing '{'");for(var e,t=d();e=function(){if("@"===o[0])return i();c(/^([;\s]*)+/);var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=c(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=t[0].trim(),!c(/^:\s*/))return s("property missing ':'");var n=c(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),r={type:"declaration",property:t.replace(e,""),value:n?n[0].replace(e,"").trim():""};return c(/^[;\s]*/),r}}();)t.push(e),t=t.concat(d());return l()?t:s("missing '}'")}function t(){if(e=c(/^@([-\w]+)?keyframes\s*/)){var e,t=e[1];if(!(e=c(/^([-\w]+)\s*/)))return s("@keyframes missing name");var n,r=e[1];if(!u())return s("@keyframes missing '{'");for(var i=d();n=function(){f();for(var e,t=[];e=c(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),c(/^,\s*/);if(t.length)return{type:"keyframe",values:t,declarations:p()}}();)i.push(n),i=i.concat(d());return l()?{type:"keyframes",name:r,vendor:t,keyframes:i}:s("@keyframes missing '}'")}}function i(){if(f(),"@"===o[0]){var e=function(){var e=c(/^@(import|charset|namespace)\s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}()||function(){if(c(/^@font-face\s*/))return{type:"font-face",declarations:p()}}()||function(){var e=c(/^@media([^{]+)*/);if(e)return{type:"media",media:(e[1]||"").trim(),rules:n()}}()||t()||function(){var e=c(/^@supports *([^{]+)/);if(e)return{type:"supports",supports:e[1].trim(),rules:n()}}()||function(){var e=c(/^@([-\w]+)?document *([^{]+)/);if(e)return{type:"document",document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:n()}}()||function(){var e=c(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return{type:"custom-media",name:e[1].trim(),media:e[2].trim()}}()||function(){if(c(/^@host\s*/))return{type:"host",rules:n()}}()||function(){if(c(/^@page */))return{type:"page",selectors:h()||[],declarations:p()}}()||function(){var e=c(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(e)return{type:"page-margin-box",name:"".concat(e[1],"-").concat(e[2])+(e[3]?"-".concat(e[3]):""),declarations:p()}}();if(!e||a.preserveStatic)return e;return(e.declarations?e.declarations.some(function(e){return/var\(/.test(e.value)}):(e.keyframes||e.rules||[]).some(function(e){return(e.declarations||[]).some(function(e){return/var\(/.test(e.value)})}))?e:{}}}function n(e){if(!e&&!u())return s("missing '{'");for(var t,n=d();o.length&&(e||"}"!==o[0])&&(t=i()||function(){if(!a.preserveStatic){var e=v("{","}",o);if(e){var t=/:(?:root|host)(?![.:#(])/.test(e.pre)&&/--\S*\s*:/.test(e.body),n=/var\(/.test(e.body);if(!t&&!n)return o=o.slice(e.end+1),{}}}var r=h()||[],i=a.preserveStatic?p():p().filter(function(e){var t=r.some(function(e){return/:(?:root|host)(?![.:#(])/.test(e)})&&/^--\S/.test(e.property),n=/var\(/.test(e.value);return t||n});return r.length||s("selector missing"),{type:"rule",selectors:r,declarations:i}}());)t.type&&n.push(t),n=n.concat(d());return e||l()?n:s("missing '}'")}return{type:"stylesheet",stylesheet:{rules:n(!0),errors:[]}}}function g(e,t){var i=m({},{parseHost:!1,store:{},onWarning:function(){}},1<arguments.length&&void 0!==t?t:{}),n=new RegExp(":".concat(i.parseHost?"host":"root","$"));return"string"==typeof e&&(e=y(e,i)),e.stylesheet.rules.forEach(function(e){"rule"===e.type&&e.selectors.some(function(e){return n.test(e)})&&e.declarations.forEach(function(e,t){var n=e.property,r=e.value;n&&0===n.indexOf("--")&&(i.store[n]=r)})}),i.store}function b(e,t,n){var o=1<arguments.length&&void 0!==t?t:"",a=2<arguments.length?n:void 0,s={charset:function(e){return"@charset "+e.name+";"},comment:function(e){return 0===e.comment.indexOf("__CSSVARSPONYFILL")?"/*"+e.comment+"*/":""},"custom-media":function(e){return"@custom-media "+e.name+" "+e.media+";"},declaration:function(e){return e.property+":"+e.value+";"},document:function(e){return"@"+(e.vendor||"")+"document "+e.document+"{"+r(e.rules)+"}"},"font-face":function(e){return"@font-face{"+r(e.declarations)+"}"},host:function(e){return"@host{"+r(e.rules)+"}"},import:function(e){return"@import "+e.name+";"},keyframe:function(e){return e.values.join(",")+"{"+r(e.declarations)+"}"},keyframes:function(e){return"@"+(e.vendor||"")+"keyframes "+e.name+"{"+r(e.keyframes)+"}"},media:function(e){return"@media "+e.media+"{"+r(e.rules)+"}"},namespace:function(e){return"@namespace "+e.name+";"},page:function(e){return"@page "+(e.selectors.length?e.selectors.join(", "):"")+"{"+r(e.declarations)+"}"},"page-margin-box":function(e){return"@"+e.name+"{"+r(e.declarations)+"}"},rule:function(e){var t=e.declarations;if(t.length)return e.selectors.join(",")+"{"+r(t)+"}"},supports:function(e){return"@supports "+e.supports+"{"+r(e.rules)+"}"}};function r(e){for(var t="",n=0;n<e.length;n++){var r=e[n];a&&a(r);var i=s[r.type](r);i&&(t+=i,i.length&&r.selectors&&(t+=o))}return t}return r(e.stylesheet.rules)}n.range=o;var u="--",l="var";function _(e,t){var c=m({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},1<arguments.length&&void 0!==t?t:{});return"string"==typeof e&&(e=y(e,c)),function e(n,r){n.rules.forEach(function(t){t.rules?e(t,r):t.keyframes?t.keyframes.forEach(function(e){"keyframe"===e.type&&r(e.declarations,t)}):t.declarations&&r(t.declarations,n)})}(e.stylesheet,function(e,t){for(var n=0;n<e.length;n++){var r,i=e[n],o=i.type,a=i.property,s=i.value;"declaration"===o&&(c.preserveVars||!a||0!==a.indexOf(u)?-1===s.indexOf(l+"(")||(r=function a(e){var s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};var c=2<arguments.length?arguments[2]:void 0;if(-1===e.indexOf("var("))return e;var t=v("(",")",e);function n(e){var t=e.split(",")[0].replace(/[\s\n\t]/g,""),n=(e.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],r=Object.prototype.hasOwnProperty.call(s.variables,t)?String(s.variables[t]):void 0,i=r||(n?String(n):void 0),o=c||e;return r||s.onWarning('variable "'.concat(t,'" is undefined')),i&&"undefined"!==i&&0<i.length?a(i,s,o):"var(".concat(o,")")}{if(t){if("var"!==t.pre.slice(-3))return t.pre+"(".concat(a(t.body,s),")")+a(t.post,s);var r=0===t.body.trim().length;return r?(s.onWarning("var() must contain a non-whitespace string"),e):t.pre.slice(0,-3)+n(t.body)+a(t.post,s)}return-1!==e.indexOf("var(")&&s.onWarning('missing closing ")" in the value "'.concat(e,'"')),e}}(s,c))!==i.value&&(r=function(n){return(n.match(/calc\(([^)]+)\)/g)||[]).forEach(function(e){var t="calc".concat(e.split("calc").join(""));n=n.replace(e,t)}),n}(r),c.preserveVars?(e.splice(n,0,{type:o,property:a,value:r}),n++):i.value=r):(e.splice(n,1),n--))}}),b(e)}var f="undefined"!=typeof window,d=f&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),w={group:0,job:0},A={rootElement:f?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onError:function(){},onWarning:function(){},onSuccess:function(){},onComplete:function(){},onFinally:function(){}},k={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},x={dom:{},job:{},user:{}},O=!1,E=null,S=0,P=null,T=!1;function C(){var e,n,r,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o="cssVars(): ",h=m({},A,i);function p(e,t,n,r){!h.silent&&window.console&&console.error("".concat(o).concat(e,"\n"),t),h.onError(e,t,n,r)}function v(e){!h.silent&&window.console&&console.warn("".concat(o).concat(e)),h.onWarning(e)}function s(e){h.onFinally(Boolean(e),d,L()-h.__benchmark)}if(f){if(h.watch)return h.watch=A.watch,function(s){function i(e){var t=e.hasAttribute("disabled"),n=(e.sheet||{}).disabled;return t||n}function o(e){return"LINK"===e.tagName&&-1!==(e.getAttribute("rel")||"").indexOf("stylesheet")&&!i(e)}function r(e){return Array.apply(null,e).some(function(e){var t,n=1===e.nodeType&&e.hasAttribute("data-cssvars"),r="STYLE"===(t=e).tagName&&!i(t)&&k.cssVars.test(e.textContent);return!n&&(o(e)||r)})}if(!window.MutationObserver)return;E&&(E.disconnect(),E=null);(E=new MutationObserver(function(e){e.some(function(e){var t,n=!1;return"attributes"===e.type?n=o(e.target):"childList"===e.type&&(n=r(e.addedNodes)||(t=e.removedNodes,Array.apply(null,t).some(function(e){var t,n,r=1===e.nodeType,i=r&&"out"===e.getAttribute("data-cssvars"),o=r&&"src"===e.getAttribute("data-cssvars"),a=o;return(o||i)&&(t=e.getAttribute("data-cssvars-group"),n=s.rootElement.querySelector('[data-cssvars-group="'.concat(t,'"]')),o&&(R(s.rootElement),x.dom={}),n&&n.parentNode.removeChild(n)),a}))),n})&&C(s)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})}(h),void C(h);if(!1===h.watch&&E&&(E.disconnect(),E=null),!h.__benchmark){if(O===h.rootElement)return void function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(P),P=setTimeout(function(){e.__benchmark=null,C(e)},t)}(i);h.__benchmark=L(),h.exclude=[E?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',h.exclude].filter(function(e){return e}).join(","),h.variables=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=/^-{2}/;return Object.keys(n).reduce(function(e,t){return e[r.test(t)?t:"--".concat(t.replace(/^-+/,""))]=n[t],e},{})}(h.variables),E||(Array.apply(null,h.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach(function(e){var t=e.getAttribute("data-cssvars-group");(t?h.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(t,'"]')):null)||e.parentNode.removeChild(e)}),!S||(e=h.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])')).length<S&&(S=e.length,x.dom={}))}"loading"!==document.readyState?d&&h.onlyLegacy?(n=!1,h.updateDOM&&(r=h.rootElement.host||(h.rootElement===document?document.documentElement:h.rootElement),Object.keys(h.variables).forEach(function(e){var t=h.variables[e];n=n||t!==getComputedStyle(r).getPropertyValue(e),r.style.setProperty(e,t)})),s(n)):!T&&(h.shadowDOM||h.rootElement.shadowRoot||h.rootElement.host)?a({rootElement:A.rootElement,include:A.include,exclude:h.exclude,skipDisabled:!1,onSuccess:function(e){return(e=((e=e.replace(k.cssComments,"").replace(k.cssMediaQueries,"")).match(k.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(e){g(e,{store:x.dom,onWarning:v}),T=!0,C(h)}}):(O=h.rootElement,a({rootElement:h.rootElement,include:h.include,exclude:h.exclude,skipDisabled:!1,onBeforeSend:h.onBeforeSend,onError:function(e,t,n){var r=e.responseURL||j(n,location.href),i=e.statusText?"(".concat(e.statusText,")"):"Unspecified Error"+(0===e.status?" (possibly CORS related)":"");p("CSS XHR Error: ".concat(r," ").concat(e.status," ").concat(i),t,e,r)},onSuccess:function(e,t,n){var r,i,o="LINK"===t.tagName,a="STYLE"===t.tagName&&e!==t.textContent,s=h.onSuccess(e,t,n);return e=void 0!==s&&!1===Boolean(s)?"":s||e,h.updateURLs&&(o||a)&&(i=n,((r=e).replace(k.cssComments,"").match(k.cssUrls)||[]).forEach(function(e){var t=e.replace(k.cssUrls,"$1"),n=j(t,i);r=r.replace(e,e.replace(t,n))}),e=r),e},onComplete:function(e,u,t){var n=2<arguments.length&&void 0!==t?t:[],r=m({},x.dom,x.user);if(x.job={},n.forEach(function(t,e){var n=u[e];if(k.cssVars.test(n))try{var r=y(n,{preserveStatic:h.preserveStatic,removeComments:!0});g(r,{parseHost:Boolean(h.rootElement.host),store:x.dom,onWarning:v}),t.__cssVars={tree:r}}catch(e){p(e.message,t)}}),m(x.job,x.dom),h.updateDOM?(m(x.user,h.variables),m(x.job,x.user)):(m(x.job,x.user,h.variables),m(r,h.variables)),0<w.job&&Boolean(Object.keys(x.job).length>Object.keys(r).length||Boolean(Object.keys(r).length&&Object.keys(x.job).some(function(e){return x.job[e]!==r[e]}))))R(h.rootElement),C(h);else{var l=[],f=[],d=!1;if(h.updateDOM&&w.job++,n.forEach(function(t,e){var n=!t.__cssVars;if(t.__cssVars)try{_(t.__cssVars.tree,m({},h,{variables:x.job,onWarning:v}));var r,i,o,a,s,c=b(t.__cssVars.tree);h.updateDOM?(r=u[e],i=k.cssVarFunc.test(r),t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),c.length&&i&&(o=t.getAttribute("data-cssvars-group")||++w.group,a=c.replace(/\s/g,""),s=h.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(o,'"]'))||document.createElement("style"),d=d||k.cssKeyframes.test(c),h.preserveStatic&&(t.sheet.disabled=!0),s.hasAttribute("data-cssvars")||s.setAttribute("data-cssvars","out"),a===t.textContent.replace(/\s/g,"")?(n=!0,s&&s.parentNode&&(t.removeAttribute("data-cssvars-group"),s.parentNode.removeChild(s))):a!==s.textContent.replace(/\s/g,"")&&([t,s].forEach(function(e){e.setAttribute("data-cssvars-job",w.job),e.setAttribute("data-cssvars-group",o)}),s.textContent=c,l.push(c),f.push(s),s.parentNode||t.parentNode.insertBefore(s,t.nextSibling)))):t.textContent.replace(/\s/g,"")!==c&&l.push(c)}catch(e){p(e.message,t)}n&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",w.job)}),S=h.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,h.shadowDOM)for(var i,o=[h.rootElement].concat(c(h.rootElement.querySelectorAll("*"))),a=0;i=o[a];++a){i.shadowRoot&&i.shadowRoot.querySelector("style")&&C(m({},h,{rootElement:i.shadowRoot}))}h.updateDOM&&d&&function(e){var t=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(e){return getComputedStyle(document.body)[e]})[0];if(t){for(var n=e.getElementsByTagName("*"),r=[],i="__CSSVARSPONYFILL-KEYFRAMES__",o=0,a=n.length;o<a;o++){var s=n[o];"none"!==getComputedStyle(s)[t]&&(s.style[t]+=i,r.push(s))}document.body.offsetHeight;for(var c=0,u=r.length;c<u;c++){var l=r[c].style;l[t]=l[t].replace(i,"")}}}(h.rootElement),O=!1,h.onComplete(l.join(""),f,JSON.parse(JSON.stringify(x.job)),L()-h.__benchmark),s(f.length)}}})):document.addEventListener("DOMContentLoaded",function e(t){C(i),document.removeEventListener("DOMContentLoaded",e)})}}function j(e,t){var n=1<arguments.length&&void 0!==t?t:location.href,r=document.implementation.createHTMLDocument(""),i=r.createElement("base"),o=r.createElement("a");return r.head.appendChild(i),r.body.appendChild(o),i.href=n,o.href=e,o.href}function L(){return f&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function R(e){Array.apply(null,e.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach(function(e){return e.setAttribute("data-cssvars","")})}C.reset=function(){for(var e in w.job=0,w.group=0,O=!1,E&&(E.disconnect(),E=null),S=0,P=null,T=!1,x)x[e]={}},t.Z=C},66577:function(e,t,n){"use strict";var o=n(88005),r=n(5516),i=n(31290),a=n(21465),s=n(31290),c=n(32745),u=Function.prototype.bind,l=Object.defineProperty,f=Object.prototype.hasOwnProperty,d=function(e,t,n){var r=c(t)&&s(t.value),i=o(t);return delete i.writable,delete i.value,i.get=function(){return!n.overwriteDefinition&&f.call(this,e)?r:(t.value=u.call(r,n.resolveContext?n.resolveContext(this):this),l(this,e,t),this[e])},i};e.exports=function(e){var n=r(arguments[1]);return null!=n.resolveContext&&i(n.resolveContext),a(e,function(e,t){return d(t,e,n)})}},51804:function(e,t,n){"use strict";var s=n(67191),c=n(5516),u=n(16458),l=n(49981);(e.exports=function(e,t){var n,r,i,o,a;return arguments.length<2||"string"!=typeof e?(o=t,t=e,e=null):o=arguments[2],null==e?r=!(n=i=!0):(n=l.call(e,"c"),r=l.call(e,"e"),i=l.call(e,"w")),a={value:t,configurable:n,enumerable:r,writable:i},o?s(c(o),a):a}).gs=function(e,t,n){var r,i,o,a;return"string"!=typeof e?(o=n,n=t,t=e,e=null):o=arguments[3],null==t?t=void 0:u(t)?null==n?n=void 0:u(n)||(o=n,n=void 0):(o=t,t=n=void 0),i=null==e?!(r=!0):(r=l.call(e,"c"),l.call(e,"e")),a={get:t,set:n,configurable:r,enumerable:i},o?s(c(o),a):a}},31126:function(e,t,n){"use strict";var r=n(32745);e.exports=function(){return r(this).length=0,this}},62041:function(e,t,n){"use strict";var o=n(59980),a=n(73902),s=n(32745),c=Array.prototype.indexOf,u=Object.prototype.hasOwnProperty,l=Math.abs,f=Math.floor;e.exports=function(e){var t,n,r,i;if(!o(e))return c.apply(this,arguments);for(n=a(s(this).length),r=arguments[1],t=r=isNaN(r)?0:0<=r?f(r):a(this.length)-f(l(r));t<n;++t)if(u.call(this,t)&&(i=this[t],o(i)))return t;return-1}},84616:function(e,t,n){"use strict";e.exports=n(47379)()?Array.from:n(62669)},47379:function(e){"use strict";e.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}},62669:function(e,t,n){"use strict";var h=n(98641).iterator,p=n(56766),v=n(31216),m=n(73902),y=n(31290),g=n(32745),b=n(76914),_=n(84349),w=Array.isArray,A=Function.prototype.call,k={configurable:!0,enumerable:!0,writable:!0,value:null},x=Object.defineProperty;e.exports=function(e){var t,n,r,i,o,a,s,c,u,l,f=arguments[1],d=arguments[2];if(e=Object(g(e)),b(f)&&y(f),this&&this!==Array&&v(this))t=this;else{if(!f){if(p(e))return 1!==(o=e.length)?Array.apply(null,e):((i=new Array(1))[0]=e[0],i);if(w(e)){for(i=new Array(o=e.length),n=0;n<o;++n)i[n]=e[n];return i}}i=[]}if(!w(e))if(void 0!==(u=e[h])){for(s=y(u).call(e),t&&(i=new t),c=s.next(),n=0;!c.done;)l=f?A.call(f,d,c.value,n):c.value,t?(k.value=l,x(i,n,k)):i[n]=l,c=s.next(),++n;o=n}else if(_(e)){for(o=e.length,t&&(i=new t),r=n=0;n<o;++n)l=e[n],n+1<o&&55296<=(a=l.charCodeAt(0))&&a<=56319&&(l+=e[++n]),l=f?A.call(f,d,l,r):l,t?(k.value=l,x(i,r,k)):i[r]=l,++r;o=r}if(void 0===o)for(o=m(e.length),t&&(i=new t(o)),n=0;n<o;++n)l=f?A.call(f,d,e[n],n):e[n],t?(k.value=l,x(i,n,k)):i[n]=l;return t&&(k.value=null,i.length=o),i}},56766:function(e){"use strict";var t=Object.prototype.toString,n=t.call(function(){return arguments}());e.exports=function(e){return t.call(e)===n}},31216:function(e,t,n){"use strict";var r=Object.prototype.toString,i=r.call(n(70430));e.exports=function(e){return"function"==typeof e&&r.call(e)===i}},70430:function(e){"use strict";e.exports=function(){}},284:function(e){e.exports=function(){return this}()},85875:function(e,t,n){"use strict";e.exports=n(45448)()?Math.sign:n(94592)},45448:function(e){"use strict";e.exports=function(){var e=Math.sign;return"function"==typeof e&&(1===e(10)&&-1===e(-20))}},94592:function(e){"use strict";e.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:0<e?1:-1}},59980:function(e,t,n){"use strict";e.exports=n(39496)()?Number.isNaN:n(84517)},39496:function(e){"use strict";e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}},84517:function(e){"use strict";e.exports=function(e){return e!=e}},23478:function(e,t,n){"use strict";var r=n(85875),i=Math.abs,o=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*o(i(e)):e}},73902:function(e,t,n){"use strict";var r=n(23478),i=Math.max;e.exports=function(e){return i(0,r(e))}},84214:function(e,t,n){"use strict";var s=n(31290),c=n(32745),u=Function.prototype.bind,l=Function.prototype.call,f=Object.keys,d=Object.prototype.propertyIsEnumerable;e.exports=function(o,a){return function(n,r){var e,i=arguments[2],t=arguments[3];return n=Object(c(n)),s(r),e=f(n),t&&e.sort("function"==typeof t?u.call(t,n):void 0),"function"!=typeof o&&(o=e[o]),l.call(o,e,function(e,t){return d.call(n,e)?l.call(r,i,n[e],e,n,t):a})}}},67191:function(e,t,n){"use strict";e.exports=n(96560)()?Object.assign:n(47346)},96560:function(e){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47346:function(e,t,n){"use strict";var a=n(45103),s=n(32745),c=Math.max;e.exports=function(t,n){var r,e,i,o=c(arguments.length,2);for(t=Object(s(t)),i=function(e){try{t[e]=n[e]}catch(e){r=r||e}},e=1;e<o;++e)a(n=arguments[e]).forEach(i);if(void 0!==r)throw r;return t}},88005:function(e,t,n){"use strict";var o=n(84616),a=n(67191),s=n(32745);e.exports=function(t){var e=Object(s(t)),n=arguments[1],r=Object(arguments[2]);if(e!==t&&!n)return e;var i={};return n?o(n,function(e){(r.ensure||e in t)&&(i[e]=t[e])}):a(i,t),i}},60634:function(e,t,n){"use strict";var r,i,o,a,s=Object.create;n(34589)()||(r=n(9221)),e.exports=r&&1===r.level?(a={configurable:!(o={}),enumerable:!(i={}),writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(e){o[e]="__proto__"!==e?a:{configurable:!0,enumerable:!1,writable:!0,value:void 0}}),Object.defineProperties(i,o),Object.defineProperty(r,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:i}),function(e,t){return s(null===e?i:e,t)}):s},17031:function(e,t,n){"use strict";e.exports=n(84214)("forEach")},16458:function(e){"use strict";e.exports=function(e){return"function"==typeof e}},96191:function(e,t,n){"use strict";var r=n(76914),i={function:!0,object:!0};e.exports=function(e){return r(e)&&i[typeof e]||!1}},76914:function(e,t,n){"use strict";var r=n(70430)();e.exports=function(e){return e!==r&&null!==e}},45103:function(e,t,n){"use strict";e.exports=n(17446)()?Object.keys:n(96137)},17446:function(e){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},96137:function(e,t,n){"use strict";var r=n(76914),i=Object.keys;e.exports=function(e){return i(r(e)?Object(e):e)}},21465:function(e,t,n){"use strict";var r=n(31290),s=n(17031),c=Function.prototype.call;e.exports=function(e,i){var o={},a=arguments[2];return r(i),s(e,function(e,t,n,r){o[t]=c.call(i,a,e,t,n,r)}),o}},5516:function(e,t,n){"use strict";var r=n(76914),i=Array.prototype.forEach,o=Object.create;e.exports=function(e){var t=o(null);return i.call(arguments,function(e){r(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)}),t}},79474:function(e){"use strict";var n=Array.prototype.forEach,r=Object.create;e.exports=function(e){var t=r(null);return n.call(arguments,function(e){t[e]=!0}),t}},91386:function(e,t,n){"use strict";e.exports=n(34589)()?Object.setPrototypeOf:n(9221)},34589:function(e){"use strict";var t=Object.create,n=Object.getPrototypeOf,r={};e.exports=function(){var e=Object.setPrototypeOf;return"function"==typeof e&&n(e((arguments[0]||t)(null),r))===r}},9221:function(e,t,n){"use strict";var r,i,o,a=n(96191),s=n(32745),c=Object.prototype.isPrototypeOf,u=Object.defineProperty,l={configurable:!0,enumerable:!1,writable:!0,value:void 0},f=function(e,t){if(s(e),null===t||a(t))return e;throw new TypeError("Prototype must be null or an object")};e.exports=(r=function(){var e,t=Object.create(null),n={},r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(r){try{(e=r.set).call(t,n)}catch(e){}if(Object.getPrototypeOf(t)===n)return{set:e,level:2}}return t.__proto__=n,Object.getPrototypeOf(t)===n?{level:2}:((t={}).__proto__=n,Object.getPrototypeOf(t)===n&&{level:1})}())?(i=2===r.level?r.set?(o=r.set,function(e,t){return o.call(f(e,t),t),e}):function(e,t){return f(e,t).__proto__=t,e}:function e(t,n){var r;return f(t,n),(r=c.call(e.nullPolyfill,t))&&delete e.nullPolyfill.__proto__,null===n&&(n=e.nullPolyfill),t.__proto__=n,r&&u(e.nullPolyfill,"__proto__",l),t},Object.defineProperty(i,"level",{configurable:!1,enumerable:!1,writable:!1,value:r.level})):null,n(60634)},31290:function(e){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},32745:function(e,t,n){"use strict";var r=n(76914);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},49981:function(e,t,n){"use strict";e.exports=n(43591)()?String.prototype.contains:n(6042)},43591:function(e){"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&(!0===t.contains("dwa")&&!1===t.contains("foo"))}},6042:function(e){"use strict";var t=String.prototype.indexOf;e.exports=function(e){return-1<t.call(this,e,arguments[1])}},84349:function(e){"use strict";var t=Object.prototype.toString,n=t.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||t.call(e)===n)||!1}},62270:function(e,t,n){"use strict";var r=n(91386),i=n(49981),o=n(51804),a=n(98641),s=n(42764),c=Object.defineProperty,u=e.exports=function(e,t){if(!(this instanceof u))throw new TypeError("Constructor requires 'new'");s.call(this,e),t=t?i.call(t,"key+value")?"key+value":i.call(t,"key")?"key":"value":"value",c(this,"__kind__",o("",t))};r&&r(u,s),delete u.prototype.constructor,u.prototype=Object.create(s.prototype,{_resolve:o(function(e){return"value"===this.__kind__?this.__list__[e]:"key+value"===this.__kind__?[e,this.__list__[e]]:e})}),c(u.prototype,a.toStringTag,o("c","Array Iterator"))},69334:function(e,t,n){"use strict";var f=n(56766),d=n(31290),h=n(84349),p=n(93226),v=Array.isArray,m=Function.prototype.call,y=Array.prototype.some;e.exports=function(e,t){var n,r,i,o,a,s,c,u,l=arguments[2];if(v(e)||f(e)?n="array":h(e)?n="string":e=p(e),d(t),i=function(){o=!0},"array"!==n)if("string"!==n)for(r=e.next();!r.done;){if(m.call(t,l,r.value,i),o)return;r=e.next()}else for(s=e.length,a=0;a<s&&(c=e[a],a+1<s&&55296<=(u=c.charCodeAt(0))&&u<=56319&&(c+=e[++a]),m.call(t,l,c,i),!o);++a);else y.call(e,function(e){return m.call(t,l,e,i),o})}},93226:function(e,t,n){"use strict";var r=n(56766),i=n(84349),o=n(62270),a=n(65430),s=n(22233),c=n(98641).iterator;e.exports=function(e){return"function"==typeof s(e)[c]?e[c]():new(!r(e)&&i(e)?a:o)(e)}},42764:function(e,t,n){"use strict";var r,i=n(31126),o=n(67191),a=n(31290),s=n(32745),c=n(51804),u=n(66577),l=n(98641),f=Object.defineProperty,d=Object.defineProperties;e.exports=r=function(e,t){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");d(this,{__list__:c("w",s(e)),__context__:c("w",t),__nextIndex__:c("w",0)}),t&&(a(t.on),t.on("_add",this._onAdd),t.on("_delete",this._onDelete),t.on("_clear",this._onClear))},delete r.prototype.constructor,d(r.prototype,o({_next:c(function(){var e;if(this.__list__)return this.__redo__&&void 0!==(e=this.__redo__.shift())?e:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()}),next:c(function(){return this._createResult(this._next())}),_createResult:c(function(e){return void 0===e?{done:!0,value:void 0}:{done:!1,value:this._resolve(e)}}),_resolve:c(function(e){return this.__list__[e]}),_unBind:c(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:c(function(){return"[object "+(this[l.toStringTag]||"Object")+"]"})},u({_onAdd:c(function(n){n>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(e,t){n<=e&&(this.__redo__[t]=++e)},this),this.__redo__.push(n)):f(this,"__redo__",c("c",[n])))}),_onDelete:c(function(n){var e;n>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(n))&&this.__redo__.splice(e,1),this.__redo__.forEach(function(e,t){n<e&&(this.__redo__[t]=--e)},this)))}),_onClear:c(function(){this.__redo__&&i.call(this.__redo__),this.__nextIndex__=0})}))),f(r.prototype,l.iterator,c(function(){return this}))},13182:function(e,t,n){"use strict";var r=n(56766),i=n(76914),o=n(84349),a=n(98641).iterator,s=Array.isArray;e.exports=function(e){return!!i(e)&&(!!s(e)||(!!o(e)||(!!r(e)||"function"==typeof e[a])))}},65430:function(e,t,n){"use strict";var r=n(91386),i=n(51804),o=n(98641),a=n(42764),s=Object.defineProperty,c=e.exports=function(e){if(!(this instanceof c))throw new TypeError("Constructor requires 'new'");e=String(e),a.call(this,e),s(this,"__length__",i("",e.length))};r&&r(c,a),delete c.prototype.constructor,c.prototype=Object.create(a.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()}),_resolve:i(function(e){var t,n=this.__list__[e];return this.__nextIndex__!==this.__length__&&55296<=(t=n.charCodeAt(0))&&t<=56319?n+this.__list__[this.__nextIndex__++]:n})}),s(c.prototype,o.toStringTag,i("c","String Iterator"))},22233:function(e,t,n){"use strict";var r=n(13182);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not iterable");return e}},89227:function(e,t,n){"use strict";n(22752)()||Object.defineProperty(n(284),"Map",{value:n(64580),configurable:!0,enumerable:!1,writable:!0})},22752:function(e){"use strict";e.exports=function(){var e,t;if("function"!=typeof Map)return!1;try{e=new Map([["raz","one"],["dwa","two"],["trzy","three"]])}catch(e){return!1}return"[object Map]"===String(e)&&(3===e.size&&("function"==typeof e.clear&&("function"==typeof e.delete&&("function"==typeof e.entries&&("function"==typeof e.forEach&&("function"==typeof e.get&&("function"==typeof e.has&&("function"==typeof e.keys&&("function"==typeof e.set&&("function"==typeof e.values&&(!1===(t=e.entries().next()).done&&(!!t.value&&("raz"===t.value[0]&&"one"===t.value[1])))))))))))))}},42438:function(e){"use strict";e.exports="undefined"!=typeof Map&&"[object Map]"===Object.prototype.toString.call(new Map)},56433:function(e,t,n){"use strict";e.exports=n(79474)("key","value","key+value")},75189:function(e,t,n){"use strict";var r=n(91386),i=n(51804),o=n(42764),a=n(98641).toStringTag,s=n(56433),c=Object.defineProperties,u=o.prototype._unBind,l=e.exports=function(e,t){if(!(this instanceof l))return new l(e,t);o.call(this,e.__mapKeysData__,e),t&&s[t]||(t="key+value"),c(this,{__kind__:i("",t),__values__:i("w",e.__mapValuesData__)})};r&&r(l,o),l.prototype=Object.create(o.prototype,{constructor:i(l),_resolve:i(function(e){return"value"===this.__kind__?this.__values__[e]:"key"===this.__kind__?this.__list__[e]:[this.__list__[e],this.__values__[e]]}),_unBind:i(function(){this.__values__=null,u.call(this)}),toString:i(function(){return"[object Map Iterator]"})}),Object.defineProperty(l.prototype,a,i("c","Map Iterator"))},64580:function(e,t,n){"use strict";var i,r=n(31126),o=n(62041),a=n(91386),s=n(31290),c=n(32745),u=n(51804),l=n(48370),f=n(98641),d=n(22233),h=n(69334),p=n(75189),v=n(42438),m=Function.prototype.call,y=Object.defineProperties,g=Object.getPrototypeOf;e.exports=i=function(){var n,r,e,t=arguments[0];if(!(this instanceof i))throw new TypeError("Constructor requires 'new'");return e=v&&a&&Map!==i?a(new Map,g(this)):this,null!=t&&d(t),y(e,{__mapKeysData__:u("c",n=[]),__mapValuesData__:u("c",r=[])}),t&&h(t,function(e){var t=c(e)[0];e=e[1],-1===o.call(n,t)&&(n.push(t),r.push(e))},e),e},v&&(a&&a(i,Map),i.prototype=Object.create(Map.prototype,{constructor:u(i)})),l(y(i.prototype,{clear:u(function(){this.__mapKeysData__.length&&(r.call(this.__mapKeysData__),r.call(this.__mapValuesData__),this.emit("_clear"))}),delete:u(function(e){var t=o.call(this.__mapKeysData__,e);return-1!==t&&(this.__mapKeysData__.splice(t,1),this.__mapValuesData__.splice(t,1),this.emit("_delete",t,e),!0)}),entries:u(function(){return new p(this,"key+value")}),forEach:u(function(e){var t,n,r=arguments[1];for(s(e),n=(t=this.entries())._next();void 0!==n;)m.call(e,r,this.__mapValuesData__[n],this.__mapKeysData__[n],this),n=t._next()}),get:u(function(e){var t=o.call(this.__mapKeysData__,e);if(-1!==t)return this.__mapValuesData__[t]}),has:u(function(e){return-1!==o.call(this.__mapKeysData__,e)}),keys:u(function(){return new p(this,"key")}),set:u(function(e,t){var n,r=o.call(this.__mapKeysData__,e);return-1===r&&(r=this.__mapKeysData__.push(e)-1,n=!0),this.__mapValuesData__[r]=t,n&&this.emit("_add",r,e),this}),size:u.gs(function(){return this.__mapKeysData__.length}),values:u(function(){return new p(this,"value")}),toString:u(function(){return"[object Map]"})})),Object.defineProperty(i.prototype,f.iterator,u(function(){return this.entries()})),Object.defineProperty(i.prototype,f.toStringTag,u("c","Map"))},18493:function(e,t,n){"use strict";n(23818)()||Object.defineProperty(n(284),"Set",{value:n(52037),configurable:!0,enumerable:!1,writable:!0})},23818:function(e){"use strict";e.exports=function(){var e,t;return"function"==typeof Set&&(e=new Set(["raz","dwa","trzy"]),"[object Set]"===String(e)&&(3===e.size&&("function"==typeof e.add&&("function"==typeof e.clear&&("function"==typeof e.delete&&("function"==typeof e.entries&&("function"==typeof e.forEach&&("function"==typeof e.has&&("function"==typeof e.keys&&("function"==typeof e.values&&(!1===(t=e.values().next()).done&&"raz"===t.value)))))))))))}},23659:function(e){"use strict";e.exports="undefined"!=typeof Set&&"[object Set]"===Object.prototype.toString.call(Set.prototype)},91857:function(e,t,n){"use strict";var r=n(91386),i=n(49981),o=n(51804),a=n(42764),s=n(56833).toStringTag,c=Object.defineProperty,u=e.exports=function(e,t){if(!(this instanceof u))return new u(e,t);a.call(this,e.__setData__,e),t=t&&i.call(t,"key+value")?"key+value":"value",c(this,"__kind__",o("",t))};r&&r(u,a),u.prototype=Object.create(a.prototype,{constructor:o(u),_resolve:o(function(e){return"value"===this.__kind__?this.__list__[e]:[this.__list__[e],this.__list__[e]]}),toString:o(function(){return"[object Set Iterator]"})}),c(u.prototype,s,o("c","Set Iterator"))},56833:function(e,t,n){"use strict";e.exports=n(43967)()?Symbol:n(96854)},43967:function(e){"use strict";var t={object:!0,symbol:!0};e.exports=function(){var e;if("function"!=typeof Symbol)return!1;e=Symbol("test symbol");try{String(e)}catch(e){return!1}return!!t[typeof Symbol.iterator]&&(!!t[typeof Symbol.toPrimitive]&&!!t[typeof Symbol.toStringTag])}},87928:function(e){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},96854:function(e,t,n){"use strict";var r,i,o,a=n(51804),s=n(12388),c=Object.create,u=Object.defineProperties,l=Object.defineProperty,f=Object.prototype,d=c(null);if("function"==typeof Symbol){r=Symbol;try{String(r()),o=!0}catch(e){}}var h,p=(h=c(null),function(e){for(var t,n,r=0;h[e+(r||"")];)++r;return h[e+=r||""]=!0,l(f,t="@@"+e,a.gs(null,function(e){n||(n=!0,l(this,t,a(e)),n=!1)})),t}),v=function(e){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return i(e)};e.exports=i=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?r(t):(n=c(v.prototype),t=void 0===t?"":String(t),u(n,{__description__:a("",t),__name__:a("",p(t))}))},u(i,{for:a(function(e){return d[e]?d[e]:d[e]=i(String(e))}),keyFor:a(function(e){var t;for(t in s(e),d)if(d[t]===e)return t}),hasInstance:a("",r&&r.hasInstance||i("hasInstance")),isConcatSpreadable:a("",r&&r.isConcatSpreadable||i("isConcatSpreadable")),iterator:a("",r&&r.iterator||i("iterator")),match:a("",r&&r.match||i("match")),replace:a("",r&&r.replace||i("replace")),search:a("",r&&r.search||i("search")),species:a("",r&&r.species||i("species")),split:a("",r&&r.split||i("split")),toPrimitive:a("",r&&r.toPrimitive||i("toPrimitive")),toStringTag:a("",r&&r.toStringTag||i("toStringTag")),unscopables:a("",r&&r.unscopables||i("unscopables"))}),u(v.prototype,{constructor:a(i),toString:a("",function(){return this.__name__})}),u(i.prototype,{toString:a(function(){return"Symbol ("+s(this).__description__+")"}),valueOf:a(function(){return s(this)})}),l(i.prototype,i.toPrimitive,a("",function(){var e=s(this);return"symbol"==typeof e?e:e.toString()})),l(i.prototype,i.toStringTag,a("c","Symbol")),l(v.prototype,i.toStringTag,a("c",i.prototype[i.toStringTag])),l(v.prototype,i.toPrimitive,a("c",i.prototype[i.toPrimitive]))},12388:function(e,t,n){"use strict";var r=n(87928);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},52037:function(e,t,n){"use strict";var r,i,o,a=n(31126),s=n(62041),c=n(91386),u=n(31290),l=n(51804),f=n(48370),d=n(56833),h=n(22233),p=n(69334),v=n(91857),m=n(23659),y=Function.prototype.call,g=Object.defineProperty,b=Object.getPrototypeOf;m&&(o=Set),e.exports=r=function(e){var t,n=e;if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");return t=m&&c?c(new o,b(this)):this,null!=n&&h(n),g(t,"__setData__",l("c",[])),n&&p(n,function(e){-1===s.call(this,e)&&this.push(e)},t.__setData__),t},m&&(c&&c(r,o),r.prototype=Object.create(o.prototype,{constructor:l(r)})),f(Object.defineProperties(r.prototype,{add:l(function(e){return this.has(e)||this.emit("_add",this.__setData__.push(e)-1,e),this}),clear:l(function(){this.__setData__.length&&(a.call(this.__setData__),this.emit("_clear"))}),delete:l(function(e){var t=s.call(this.__setData__,e);return-1!==t&&(this.__setData__.splice(t,1),this.emit("_delete",t,e),!0)}),entries:l(function(){return new v(this,"key+value")}),forEach:l(function(e){var t,n,r,i=arguments[1];for(u(e),n=(t=this.values())._next();void 0!==n;)r=t._resolve(n),y.call(e,i,r,r,this),n=t._next()}),has:l(function(e){return-1!==s.call(this.__setData__,e)}),keys:l(i=function(){return this.values()}),size:l.gs(function(){return this.__setData__.length}),values:l(function(){return new v(this)}),toString:l(function(){return"[object Set]"})})),g(r.prototype,d.iterator,l(i)),g(r.prototype,d.toStringTag,l("c","Set"))},25588:function(e,t,n){"use strict";n(58821)()||Object.defineProperty(n(87933),"Symbol",{value:n(25127),configurable:!0,enumerable:!1,writable:!0})},98641:function(e,t,n){"use strict";e.exports=n(58821)()?n(87933).Symbol:n(25127)},58821:function(e,t,n){"use strict";var r=n(87933),i={object:!0,symbol:!0};e.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!i[typeof t.iterator]&&(!!i[typeof t.toPrimitive]&&!!i[typeof t.toStringTag])}},45386:function(e){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},17451:function(e,t,n){"use strict";var i=n(98943),r=Object.create,o=Object.defineProperty,a=Object.prototype,s=r(null);e.exports=function(e){for(var t,n,r=0;s[e+(r||"")];)++r;return s[e+=r||""]=!0,o(a,t="@@"+e,i.gs(null,function(e){n||(n=!0,o(this,t,i(e)),n=!1)})),t}},37628:function(e,t,n){"use strict";var r=n(98943),i=n(87933).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",i&&i.hasInstance||e("hasInstance")),isConcatSpreadable:r("",i&&i.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",i&&i.iterator||e("iterator")),match:r("",i&&i.match||e("match")),replace:r("",i&&i.replace||e("replace")),search:r("",i&&i.search||e("search")),species:r("",i&&i.species||e("species")),split:r("",i&&i.split||e("split")),toPrimitive:r("",i&&i.toPrimitive||e("toPrimitive")),toStringTag:r("",i&&i.toStringTag||e("toStringTag")),unscopables:r("",i&&i.unscopables||e("unscopables"))})}},70277:function(e,t,n){"use strict";var r=n(98943),i=n(28541),o=Object.create(null);e.exports=function(t){return Object.defineProperties(t,{for:r(function(e){return o[e]?o[e]:o[e]=t(String(e))}),keyFor:r(function(e){var t;for(t in i(e),o)if(o[t]===e)return t})})}},98943:function(e,t,n){"use strict";var s=n(75618),c=n(17205),u=n(82880),l=n(9505),f=n(99773);(e.exports=function(e,t){var n,r,i,o,a;return arguments.length<2||"string"!=typeof e?(o=t,t=e,e=null):o=arguments[2],s(e)?(n=f.call(e,"c"),r=f.call(e,"e"),i=f.call(e,"w")):r=!(n=i=!0),a={value:t,configurable:n,enumerable:r,writable:i},o?u(l(o),a):a}).gs=function(e,t,n){var r,i,o,a;return"string"!=typeof e?(o=n,n=t,t=e,e=null):o=arguments[3],s(t)?c(t)?s(n)?c(n)||(o=n,n=void 0):n=void 0:(o=t,t=n=void 0):t=void 0,i=s(e)?(r=f.call(e,"c"),f.call(e,"e")):!(r=!0),a={get:t,set:n,configurable:r,enumerable:i},o?u(l(o),a):a}},33951:function(e){"use strict";e.exports=function(){}},82880:function(e,t,n){"use strict";e.exports=n(21405)()?Object.assign:n(94105)},21405:function(e){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},94105:function(e,t,n){"use strict";var a=n(7007),s=n(97301),c=Math.max;e.exports=function(t,n){var r,e,i,o=c(arguments.length,2);for(t=Object(s(t)),i=function(e){try{t[e]=n[e]}catch(e){r=r||e}},e=1;e<o;++e)a(n=arguments[e]).forEach(i);if(void 0!==r)throw r;return t}},26961:function(e,t,n){"use strict";var r=n(33951)();e.exports=function(e){return e!==r&&null!==e}},7007:function(e,t,n){"use strict";e.exports=n(71592)()?Object.keys:n(11739)},71592:function(e){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},11739:function(e,t,n){"use strict";var r=n(26961),i=Object.keys;e.exports=function(e){return i(r(e)?Object(e):e)}},9505:function(e,t,n){"use strict";var r=n(26961),i=Array.prototype.forEach,o=Object.create;e.exports=function(e){var t=o(null);return i.call(arguments,function(e){r(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)}),t}},97301:function(e,t,n){"use strict";var r=n(26961);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},99773:function(e,t,n){"use strict";e.exports=n(39162)()?String.prototype.contains:n(70714)},39162:function(e){"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&(!0===t.contains("dwa")&&!1===t.contains("foo"))}},70714:function(e){"use strict";var t=String.prototype.indexOf;e.exports=function(e){return-1<t.call(this,e,arguments[1])}},25127:function(e,t,n){"use strict";var r,i,o,a=n(98943),s=n(28541),c=n(87933).Symbol,u=n(17451),l=n(37628),f=n(70277),d=Object.create,h=Object.defineProperties,p=Object.defineProperty;if("function"==typeof c)try{String(c()),o=!0}catch(e){}else c=null;i=function(e){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return r(e)},e.exports=r=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?c(t):(n=d(i.prototype),t=void 0===t?"":String(t),h(n,{__description__:a("",t),__name__:a("",u(t))}))},l(r),f(r),h(i.prototype,{constructor:a(r),toString:a("",function(){return this.__name__})}),h(r.prototype,{toString:a(function(){return"Symbol ("+s(this).__description__+")"}),valueOf:a(function(){return s(this)})}),p(r.prototype,r.toPrimitive,a("",function(){var e=s(this);return"symbol"==typeof e?e:e.toString()})),p(r.prototype,r.toStringTag,a("c","Symbol")),p(i.prototype,r.toStringTag,a("c",r.prototype[r.toStringTag])),p(i.prototype,r.toPrimitive,a("c",r.prototype[r.toPrimitive]))},28541:function(e,t,n){"use strict";var r=n(45386);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},48370:function(e,t,n){"use strict";var r=n(51804),a=n(31290),s=Function.prototype.apply,c=Function.prototype.call,i=Object.create,o=Object.defineProperty,u=Object.defineProperties,l=Object.prototype.hasOwnProperty,f={configurable:!0,enumerable:!1,writable:!0},d=function(e,t){var n;return a(t),l.call(this,"__ee__")?n=this.__ee__:(n=f.value=i(null),o(this,"__ee__",f),f.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},h=function(e,t){var n,r;return a(t),d.call(r=this,e,n=function(){p.call(r,e,n),s.call(t,this,arguments)}),n.__eeOnceListener__=t,this},p=function(e,t){var n,r,i,o;if(a(t),!l.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},v=function(e){var t,n,r,i,o;if(l.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)s.call(r,this,o)}else switch(arguments.length){case 1:c.call(i,this);break;case 2:c.call(i,this,arguments[1]);break;case 3:c.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];s.call(i,this,o)}},m={on:d,once:h,off:p,emit:v},y={on:r(d),once:r(h),off:r(p),emit:r(v)},g=u({},y);e.exports=t=function(e){return null==e?i(g):u(Object(e),y)},t.methods=m},17187:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,l=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}((e.exports=i).EventEmitter=i).prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var o=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function a(e,t,n,r){var i,o,a,s,c;return u(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a?(a=o[t]=n,++e._eventsCount):("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),0<(i=f(e))&&a.length>i&&!a.warned&&(a.warned=!0,(s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,c=s,console&&console.warn&&console.warn(c))),e}function s(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){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)}.bind(r);return i.listener=n,r.wrapFn=i}function c(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),i.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},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return f(this)},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r,i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(0<t.length&&(r=t[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)l(s,this,t);else for(var c=s.length,u=h(s,c),n=0;n<c;++n)l(u[n],this,t);return!0},i.prototype.addListener=function(e,t){return a(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return a(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,s(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,s(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,i,o,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;0<=o;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,n=this._events;if(void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;0<=o;o--)this.removeListener(e,t[o]);return this},i.prototype.listeners=function(e){return c(this,e,!0)},i.prototype.rawListeners=function(e){return c(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return 0<this._eventsCount?t(this._events):[]}},67145:function(e){function t(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")}e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__?__global__:t()}finally{delete Object.prototype.__global__}}()},87933:function(e,t,n){"use strict";e.exports=n(66344)()?globalThis:n(67145)},66344:function(e){"use strict";e.exports=function(){return"object"==typeof globalThis&&(!!globalThis&&globalThis.Array===Array)}},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<<s)-1,u=c>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;0<l;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;0<l;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),2<=(t+=1<=a+f?d/c:d*Math.pow(2,1-f))*c&&(a++,c/=2),l<=a+f?(s=0,a=l):1<=a+f?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));8<=i;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;0<u;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*v}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},38407:function(e,t,n){var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(54705);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},88668:function(e,t,n){var r=n(83369),i=n(90619),o=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},46384:function(e,t,n){var r=n(38407),i=n(37465),o=n(63779),a=n(67599),s=n(44758),c=n(34309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},96874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},14636:function(e,t,n){var l=n(22545),f=n(35694),d=n(1469),h=n(44144),p=n(65776),v=n(36719),m=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=d(e),r=!n&&f(e),i=!n&&!r&&h(e),o=!n&&!r&&!i&&v(e),a=n||r||i||o,s=a?l(e.length,String):[],c=s.length;for(var u in e)!t&&!m.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||p(u,c))||s.push(u);return s}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},82908:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},41848:function(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},21078:function(e,t,n){var u=n(62488),l=n(37285);e.exports=function e(t,n,r,i,o){var a=-1,s=t.length;for(r=r||l,o=o||[];++a<s;){var c=t[a];0<n&&r(c)?1<n?e(c,n-1,r,i,o):u(o,c):i||(o[o.length]=c)}return o}},97786:function(e,t,n){var i=n(71811),o=n(40327);e.exports=function(e,t){for(var n=0,r=(t=i(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},68866:function(e,t,n){var i=n(62488),o=n(1469);e.exports=function(e,t,n){var r=t(e);return o(e)?r:i(r,n(e))}},44239:function(e,t,n){var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(a&&a in Object(e)?i:o)(e)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},42118:function(e,t,n){var r=n(41848),i=n(62722),o=n(42351);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},74221:function(e){e.exports=function(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}},9454:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},90939:function(e,t,n){var a=n(2492),s=n(37005);e.exports=function e(t,n,r,i,o){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:a(t,n,r,i,e,o))}},2492:function(e,t,n){var v=n(46384),m=n(67114),y=n(18351),g=n(16096),b=n(64160),_=n(1469),w=n(44144),A=n(36719),k="[object Arguments]",x="[object Array]",O="[object Object]",E=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,i,o){var a=_(e),s=_(t),c=a?x:b(e),u=s?x:b(t),l=(c=c==k?O:c)==O,f=(u=u==k?O:u)==O,d=c==u;if(d&&w(e)){if(!w(t))return!1;l=!(a=!0)}if(d&&!l)return o=o||new v,a||A(e)?m(e,t,n,r,i,o):y(e,t,c,n,r,i,o);if(!(1&n)){var h=l&&E.call(e,"__wrapped__"),p=f&&E.call(t,"__wrapped__");if(h||p)return i(h?e.value():e,p?t.value():t,n,r,o=o||new v)}return d&&(o=o||new v,g(e,t,n,r,i,o))}},2958:function(e,t,n){var h=n(46384),p=n(90939);e.exports=function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var c=(s=n[i])[0],u=e[c],l=s[1];if(a&&s[2]){if(void 0===u&&!(c in e))return!1}else{var f,d=new h;if(r&&(f=r(u,l,c,e,t,d)),!(void 0===f?p(l,u,3,r,d):f))return!1}}return!0}},62722:function(e){e.exports=function(e){return e!=e}},28458:function(e,t,n){var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},38749:function(e,t,n){var r=n(44239),i=n(41780),o=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},67206:function(e,t,n){var r=n(91573),i=n(16432),o=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},280:function(e,t,n){var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},91573:function(e,t,n){var r=n(2958),i=n(1499),o=n(42634);e.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},16432:function(e,t,n){var i=n(90939),o=n(27361),a=n(79095),s=n(15403),c=n(89162),u=n(42634),l=n(40327);e.exports=function(n,r){return s(n)&&c(r)?u(l(n),r):function(e){var t=o(e,n);return void 0===t&&t===r?a(e,n):i(r,t,3)}}},40371:function(e){e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(t){return function(e){return r(e,t)}}},65464:function(e,t,n){var f=n(29932),d=n(42118),h=n(74221),p=n(7518),v=n(278),m=Array.prototype.splice;e.exports=function(e,t,n,r){var i=r?h:d,o=-1,a=t.length,s=e;for(e===t&&(t=v(t)),n&&(s=f(e,p(n)));++o<a;)for(var c=0,u=t[o],l=n?n(u):u;-1<(c=i(s,l,c,r));)s!==e&&m.call(s,c,1),m.call(e,c,1);return e}},15742:function(e,t,n){var a=n(57406),s=n(65776),c=Array.prototype.splice;e.exports=function(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i,o=t[n];n!=r&&o===i||(s(i=o)?c.call(e,o,1):a(e,o))}return e}},40098:function(e){var s=Math.ceil,c=Math.max;e.exports=function(e,t,n,r){for(var i=-1,o=c(s((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}},5976:function(e,t,n){var r=n(6557),i=n(45357),o=n(30061);e.exports=function(e,t){return o(i(e,t,r),e+"")}},56560:function(e,t,n){var r=n(75703),i=n(38777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},14259:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=i<-t?0:i+t),(n=i<n?i:n)<0&&(n+=i),i=n<t?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=1/0,c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},27561:function(e,t,n){var r=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},7518:function(e){e.exports=function(t){return function(e){return t(e)}}},57406:function(e,t,n){var r=n(71811),i=n(10928),o=n(40292),a=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var r=n(1469),i=n(15403),o=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},47445:function(e,t,n){var i=n(40098),o=n(16612),a=n(18601);e.exports=function(r){return function(e,t,n){return n&&"number"!=typeof n&&o(e,t,n)&&(t=n=void 0),e=a(e),void 0===t?(t=e,e=0):t=a(t),n=void 0===n?e<t?1:-1:a(n),i(e,t,n,r)}}},38777:function(e,t,n){var r=n(10852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},67114:function(e,t,n){var y=n(88668),g=n(82908),b=n(74757);e.exports=function(e,t,n,r,i,o){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&s<c))return!1;var u=o.get(e),l=o.get(t);if(u&&l)return u==t&&l==e;var f=-1,d=!0,h=2&n?new y:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var p,v=e[f],m=t[f];if(r&&(p=a?r(m,v,f,t,e,o):r(v,m,f,e,t,o)),void 0!==p){if(p)continue;d=!1;break}if(h){if(!g(t,function(e,t){if(!b(h,t)&&(v===e||i(v,e,n,r,o)))return h.push(t)})){d=!1;break}}else if(v!==m&&!i(v,m,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}},18351:function(e,t,n){var r=n(62705),f=n(11149),d=n(77813),h=n(67114),p=n(68776),v=n(21814),i=r?r.prototype:void 0,m=i?i.valueOf:void 0;e.exports=function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return e.byteLength==t.byteLength&&o(new f(e),new f(t))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return d(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=p;case"[object Set]":var c=1&r,s=s||v;if(e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var l=h(s(e),s(t),r,i,o,a);return a.delete(e),l;case"[object Symbol]":if(m)return m.call(e)==m.call(t)}return!1}},16096:function(e,t,n){var _=n(58234),w=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,i,o){var a=1&n,s=_(e),c=s.length;if(c!=_(t).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in t:w.call(t,l)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;var h=!0;o.set(e,t),o.set(t,e);for(var p,v,m=a;++u<c;){var y,g=e[l=s[u]],b=t[l];if(r&&(y=a?r(b,g,l,t,e,o):r(g,b,l,e,t,o)),!(void 0===y?g===b||i(g,b,n,r,o):y)){h=!1;break}m=m||"constructor"==l}return!h||m||(p=e.constructor)!=(v=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof p&&p instanceof p&&"function"==typeof v&&v instanceof v)&&(h=!1),o.delete(e),o.delete(t),h}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),i=n(99551),o=n(3674);e.exports=function(e){return r(e,o,i)}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:function(e,t,n){var o=n(89162),a=n(3674);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,o(i)]}return t}},10852:function(e,t,n){var r=n(28458),i=n(47801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},89607:function(e,t,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{var r=!(e[s]=void 0)}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},99551:function(e,t,n){var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return o.call(t,e)}))}:i;e.exports=s},64160:function(e,t,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),c=n(44239),u=n(80346),l="[object Map]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",v=u(r),m=u(i),y=u(o),g=u(a),b=u(s),_=c;(r&&_(new r(new ArrayBuffer(1)))!=p||i&&_(new i)!=l||o&&_(o.resolve())!=f||a&&_(new a)!=d||s&&_(new s)!=h)&&(_=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case v:return p;case m:return l;case y:return f;case g:return d;case b:return h}return t}),e.exports=_},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var s=n(71811),c=n(35694),u=n(1469),l=n(65776),f=n(41780),d=n(40327);e.exports=function(e,t,n){for(var r=-1,i=(t=s(t,e)).length,o=!1;++r<i;){var a=d(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&f(i)&&l(a,i)&&(u(e)||c(e))}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},37285:function(e,t,n){var r=n(62705),i=n(35694),o=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},65776:function(e){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},16612:function(e,t,n){var i=n(77813),o=n(98612),a=n(65776),s=n(13218);e.exports=function(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?o(n)&&a(t,n.length):"string"==r&&t in n)&&i(n[t],e)}},15403:function(e,t,n){var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},25726:function(e){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return-1<r(this.__data__,e)}},54705:function(e,t,n){var i=n(18470);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},24785:function(e,t,n){var r=n(1989),i=n(38407),o=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var i=n(45050);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},68776:function(e){e.exports=function(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}},42634:function(e){e.exports=function(t,n){return function(e){return null!=e&&(e[t]===n&&(void 0!==n||t in Object(e)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e?e:a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(t,n){return function(e){return t(n(e))}}},45357:function(e,t,n){var c=n(96874),u=Math.max;e.exports=function(o,a,s){return a=u(void 0===a?o.length-1:a,0),function(){for(var e=arguments,t=-1,n=u(e.length-a,0),r=Array(n);++t<n;)r[t]=e[a+t];t=-1;for(var i=Array(a+1);++t<a;)i[t]=e[t];return i[a]=s(r),c(o,this,i)}}},40292:function(e,t,n){var r=n(97786),i=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},30061:function(e,t,n){var r=n(56560),i=n(21275)(r);e.exports=i},21275:function(e){var o=Date.now;e.exports=function(n){var r=0,i=0;return function(){var e=o(),t=16-(e-i);if(i=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var i=n(38407),o=n(57071),a=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}},42351:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},55514:function(e,t,n){var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r(function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(o,function(e,t,n,r){i.push(n?r.replace(a,"$1"):t||e)}),i});e.exports=i},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},89567:function(e,t,n){var r=n(40554);e.exports=function(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=r(e),function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},75703:function(e){e.exports=function(e){return function(){return e}}},23279:function(e,t,n){var g=n(13218),b=n(7771),_=n(14841),w=Math.max,A=Math.min;e.exports=function(r,i,e){var o,a,s,c,u,l,f=0,d=!1,h=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function p(e){var t=o,n=a;return o=a=void 0,f=e,c=r.apply(n,t)}function v(e){var t=e-l;return void 0===l||i<=t||t<0||h&&s<=e-f}function m(){var e,t,n=b();if(v(n))return y(n);u=setTimeout(m,(t=i-((e=n)-l),h?A(t,s-(e-f)):t))}function y(e){return u=void 0,t&&o?p(e):(o=a=void 0,c)}function n(){var e,t=b(),n=v(t);if(o=arguments,a=this,l=t,n){if(void 0===u)return f=e=l,u=setTimeout(m,i),d?p(e):c;if(h)return clearTimeout(u),u=setTimeout(m,i),p(l)}return void 0===u&&(u=setTimeout(m,i)),c}return i=_(i)||0,g(e)&&(d=!!e.leading,s=(h="maxWait"in e)?w(_(e.maxWait)||0,i):s,t="trailing"in e?!!e.trailing:t),n.cancel=function(){void 0!==u&&clearTimeout(u),o=l=a=u=void(f=0)},n.flush=function(){return void 0===u?c:y(b())},n}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},85564:function(e,t,n){var r=n(21078);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},17204:function(e){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}},27361:function(e,t,n){var i=n(97786);e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},79095:function(e,t,n){var r=n(13),i=n(222);e.exports=function(e,t){return null!=e&&i(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),i=n(41780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),i=n(95062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c},23560:function(e,t,n){var r=n(44239),i=n(13218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},66379:function(e,t,n){var r=n(2958),i=n(1499);e.exports=function(e,t){return e===t||r(e,t,i(t))}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},47037:function(e,t,n){var r=n(44239),i=n(1469),o=n(37005);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},3674:function(e,t,n){var r=n(14636),i=n(280),o=n(98612);e.exports=function(e){return(o(e)?r:i)(e)}},10928:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},88306:function(e,t,n){var r=n(83369),s="Expected a function";function c(i,o){if("function"!=typeof i||null!=o&&"function"!=typeof o)throw new TypeError(s);var a=function(){var e=arguments,t=o?o.apply(this,e):e[0],n=a.cache;if(n.has(t))return n.get(t);var r=i.apply(this,e);return a.cache=n.set(t,r)||n,r};return a.cache=new(c.Cache||r),a}c.Cache=r,e.exports=c},50308:function(e){e.exports=function(){}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},51463:function(e,t,n){var r=n(89567);e.exports=function(e){return r(2,e)}},39601:function(e,t,n){var r=n(40371),i=n(79152),o=n(15403),a=n(40327);e.exports=function(e){return o(e)?r(a(e)):i(e)}},97019:function(e,t,n){var r=n(5976)(n(45604));e.exports=r},45604:function(e,t,n){var r=n(65464);e.exports=function(e,t){return e&&e.length&&t&&t.length?r(e,t):e}},96026:function(e,t,n){var r=n(47445)();e.exports=r},82729:function(e,t,n){var s=n(67206),c=n(15742);e.exports=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=s(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return c(e,i),n}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},23493:function(e,t,n){var o=n(23279),a=n(13218);e.exports=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return a(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),o(e,t,{leading:r,maxWait:t,trailing:i})}},18601:function(e,t,n){var r=n(14841);e.exports=function(e){return e?(e=r(e))!==1/0&&e!==-1/0?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}},40554:function(e,t,n){var r=n(18601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;var t;if(i(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=i(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},17442:function(){var t,c,r,u;Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,u=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&&isFinite(t)?(0<t?1:-1)*Math.floor(Math.abs(t)):t);return Math.min(Math.max(n,0),r)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,r=1<arguments.length?arguments[1]:void 0;if(void 0!==r){if(!c(r))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(n=arguments[2])}for(var i,o=u(t.length),a=c(this)?Object(new this(o)):new Array(o),s=0;s<o;)i=t[s],a[s]=r?void 0===n?r(i,s):r.call(n,i,s):i,s+=1;return a.length=o,a}))},42673:function(){Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t=Object(this),n=t.length>>>0,r=arguments[1],i=void 0,o=0;o<n;o++)if(i=t[o],e.call(r,i,o,t))return i})},43941:function(){Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i<n;){var o=t[i];if(e.call(r,o,i,t))return i;i++}return-1}})},92493:function(){Array.prototype.includes||(Array.prototype.includes=function(e){if(null==this)throw new TypeError("Array.prototype.includes called on null or undefined");var t=Object(this),n=parseInt(t.length,10)||0;if(0===n)return!1;var r,i,o=parseInt(arguments[1],10)||0;for(0<=o?r=o:(r=n+o)<0&&(r=0);r<n;){if(e===(i=t[r])||e!=e&&i!=i)return!0;r++}return!1})},47636:function(){Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}},33172:function(){"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t})},59464:function(){"function"!=typeof Object.entries&&(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r})},41906:function(){String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)})},72742:function(){String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(t||" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))})},20671:function(){String.prototype.repeat||(String.prototype.repeat=function(e){if(null==this)throw new TypeError("can't convert "+this+" to object");var t=""+this;if((e=+e)!=e&&(e=0),e<0)throw new RangeError("repeat count must be non-negative");if(e==1/0)throw new RangeError("repeat count must be less than infinity");if(e=Math.floor(e),0==t.length||0==e)return"";if(t.length*e>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");for(var n="";1==(1&e)&&(n+=t),0!=(e>>>=1);)t+=t;return n})},87154:function(){String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e})},93412:function(e,t,n){"use strict";function r(t){var n=this.constructor;return this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){return n.reject(e)})})}function i(n){return new this(function(i,e){if(!n||void 0===n.length)return e(new TypeError(typeof n+" "+n+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var o=Array.prototype.slice.call(n);if(0===o.length)return i([]);var a=o.length;for(var t=0;t<o.length;t++)!function t(n,e){if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void r.call(e,function(e){t(n,e)},function(e){o[n]={status:"rejected",reason:e},0==--a&&i(o)})}o[n]={status:"fulfilled",value:e},0==--a&&i(o)}(t,o[t])})}var o=setTimeout,a="undefined"!=typeof setImmediate?setImmediate:null;function c(e){return Boolean(e&&void 0!==e.length)}function s(){}function u(e){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],v(e,this)}function l(n,r){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,u._immediateFn(function(){var e,t=1===n._state?r.onFulfilled:r.onRejected;if(null!==t){try{e=t(n._value)}catch(e){return void d(r.promise,e)}f(r.promise,e)}else(1===n._state?f:d)(r.promise,n._value)})):n._deferreds.push(r)}function f(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void h(t);if("function"==typeof n)return void v((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,h(t)}catch(e){d(t,e)}var r,i}function d(e,t){e._state=2,e._value=t,h(e)}function h(e){2===e._state&&0===e._deferreds.length&&u._immediateFn(function(){e._handled||u._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)l(e,e._deferreds[t]);e._deferreds=null}function p(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function v(e,t){var n=!1;try{e(function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,d(t,e))})}catch(e){if(n)return;n=!0,d(t,e)}}u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){var n=new this.constructor(s);return l(this,new p(e,t,n)),n},u.prototype.finally=r,u.all=function(t){return new u(function(i,o){if(!c(t))return o(new TypeError("Promise.all accepts an array"));var a=Array.prototype.slice.call(t);if(0===a.length)return i([]);var s=a.length;for(var e=0;e<a.length;e++)!function t(n,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void r.call(e,function(e){t(n,e)},o)}a[n]=e,0==--s&&i(a)}catch(e){o(e)}}(e,a[e])})},u.allSettled=i,u.resolve=function(t){return t&&"object"==typeof t&&t.constructor===u?t:new u(function(e){e(t)})},u.reject=function(n){return new u(function(e,t){t(n)})},u.race=function(i){return new u(function(e,t){if(!c(i))return t(new TypeError("Promise.race accepts an array"));for(var n=0,r=i.length;n<r;n++)u.resolve(i[n]).then(e,t)})},u._immediateFn="function"==typeof a?function(e){a(e)}:function(e){o(e,0)},u._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var m=u,y=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof y.Promise?y.Promise=m:(y.Promise.prototype.finally||(y.Promise.prototype.finally=r),y.Promise.allSettled||(y.Promise.allSettled=i))},22003:function(e,t){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function i(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(arguments[t]));return e}function o(e,t){this.target=t,this.type=e}var a,s=(n(c,a=o),c);function c(e,t){var n=a.call(this,"error",t)||this;return n.message=e.message,n.error=e,n}var u,l=(n(f,u=o),f);function f(e,t,n){void 0===e&&(e=1e3),void 0===t&&(t="");var r=u.call(this,"close",n)||this;return r.wasClean=!0,r.code=e,r.reason=t,r}var d={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+4e3*Math.random(),minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},h=(Object.defineProperty(p,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(p,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(p,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(p,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"CONNECTING",{get:function(){return p.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"OPEN",{get:function(){return p.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"CLOSING",{get:function(){return p.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"CLOSED",{get:function(){return p.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"bufferedAmount",{get:function(){return this._messageQueue.reduce(function(e,t){return"string"==typeof t?e+=t.length:t instanceof Blob?e+=t.size:e+=t.byteLength,e},0)+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?p.CLOSED:p.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),p.prototype.close=function(e,t){void 0===e&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),this._ws?this._ws.readyState!==this.CLOSED?this._ws.close(e,t):this._debug("close: already closed"):this._debug("close enqueued: no ws instance")},p.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,this._ws&&this._ws.readyState!==this.CLOSED&&this._disconnect(e,t),this._connect()},p.prototype.send=function(e){var t,n;this._ws&&this._ws.readyState===this.OPEN?(this._debug("send",e),this._ws.send(e)):(n=void 0===(t=this._options.maxEnqueuedMessages)?d.maxEnqueuedMessages:t,this._messageQueue.length<n&&(this._debug("enqueue",e),this._messageQueue.push(e)))},p.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},p.prototype.dispatchEvent=function(e){var t,n,r,i,o,a=this._listeners[e.type];if(a)try{for(var s=(r=a,i="function"==typeof Symbol&&r[Symbol.iterator],o=0,i?i.call(r):{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}}),c=s.next();!c.done;c=s.next()){var u=c.value;this._callEventListener(e,u)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return!0},p.prototype.removeEventListener=function(e,t){this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(function(e){return e!==t}))},p.prototype._debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._options.debug&&console.log.apply(console,i(["RWS>"],e))},p.prototype._getNextDelay=function(){var e=this._options,t=e.reconnectionDelayGrowFactor,n=void 0===t?d.reconnectionDelayGrowFactor:t,r=e.minReconnectionDelay,i=void 0===r?d.minReconnectionDelay:r,o=e.maxReconnectionDelay,a=void 0===o?d.maxReconnectionDelay:o,s=0;return 0<this._retryCount&&a<(s=i*Math.pow(n,this._retryCount-1))&&(s=a),this._debug("next delay",s),s},p.prototype._wait=function(){var t=this;return new Promise(function(e){setTimeout(e,t._getNextDelay())})},p.prototype._getNextUrl=function(e){if("string"==typeof e)return Promise.resolve(e);if("function"==typeof e){var t=e();if("string"==typeof t)return Promise.resolve(t);if(t.then)return t}throw Error("Invalid URL")},p.prototype._connect=function(){var t=this;if(!this._connectLock&&this._shouldReconnect){this._connectLock=!0;var e,n=this._options,r=n.maxRetries,i=void 0===r?d.maxRetries:r,o=n.connectionTimeout,a=void 0===o?d.connectionTimeout:o,s=n.WebSocket,c=void 0===s?function(){if("undefined"!=typeof WebSocket)return WebSocket}():s;if(this._retryCount>=i)this._debug("max retries reached",this._retryCount,">=",i);else{if(this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),void 0===(e=c)||!e||2!==e.CLOSING)throw Error("No valid WebSocket class provided");this._wait().then(function(){return t._getNextUrl(t._url)}).then(function(e){t._closeCalled||(t._debug("connect",{url:e,protocols:t._protocols}),t._ws=t._protocols?new c(e,t._protocols):new c(e),t._ws.binaryType=t._binaryType,t._connectLock=!1,t._addListeners(),t._connectTimeout=setTimeout(function(){return t._handleTimeout()},a))})}}},p.prototype._handleTimeout=function(){this._debug("timeout event"),this._handleError(new s(Error("TIMEOUT"),this))},p.prototype._disconnect=function(e,t){if(void 0===e&&(e=1e3),this._clearTimeouts(),this._ws){this._removeListeners();try{this._ws.close(e,t),this._handleClose(new l(e,t,this))}catch(e){}}},p.prototype._acceptOpen=function(){this._debug("accept open"),this._retryCount=0},p.prototype._callEventListener=function(e,t){"handleEvent"in t?t.handleEvent(e):t(e)},p.prototype._removeListeners=function(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))},p.prototype._addListeners=function(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))},p.prototype._clearTimeouts=function(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)},p);function p(e,t,n){var r=this;void 0===n&&(n={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(t){r._debug("open event");var e=r._options.minUptime,n=void 0===e?d.minUptime:e;clearTimeout(r._connectTimeout),r._uptimeTimeout=setTimeout(function(){return r._acceptOpen()},n),r._ws.binaryType=r._binaryType,r._messageQueue.forEach(function(e){return r._ws.send(e)}),r._messageQueue=[],r.onopen&&r.onopen(t),r._listeners.open.forEach(function(e){return r._callEventListener(t,e)})},this._handleMessage=function(t){r._debug("message event"),r.onmessage&&r.onmessage(t),r._listeners.message.forEach(function(e){return r._callEventListener(t,e)})},this._handleError=function(t){r._debug("error event",t.message),r._disconnect(void 0,"TIMEOUT"===t.message?"timeout":void 0),r.onerror&&r.onerror(t),r._debug("exec error listeners"),r._listeners.error.forEach(function(e){return r._callEventListener(t,e)}),r._connect()},this._handleClose=function(t){r._debug("close event"),r._clearTimeouts(),r._shouldReconnect&&r._connect(),r.onclose&&r.onclose(t),r._listeners.close.forEach(function(e){return r._callEventListener(t,e)})},this._url=e,this._protocols=t,this._options=n,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}t.Z=h},35666:function(e){var t=function(a){"use strict";var f,e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},i=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(e){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o,a,s,c,i=t&&t.prototype instanceof g?t:g,u=Object.create(i.prototype),l=new S(r||[]);return u._invoke=(o=e,a=n,s=l,c=h,function(e,t){if(c===v)throw new Error("Generator is already running");if(c===m){if("throw"===e)throw t;return T()}for(s.method=e,s.arg=t;;){var n=s.delegate;if(n){var r=function e(t,n){var r=t.iterator[n.method];if(r===f){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=f,e(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=f),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}(n,s);if(r){if(r===y)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(c===h)throw c=m,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);c=v;var i=d(o,a,s);if("normal"===i.type){if(c=s.done?m:p,i.arg===y)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(c=m,s.method="throw",s.arg=i.arg)}}),u}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var h="suspendedStart",p="suspendedYield",v="executing",m="completed",y={};function g(){}function c(){}function u(){}var b={};o(b,i,function(){return this});var _=Object.getPrototypeOf,w=_&&_(_(P([])));w&&w!==e&&l.call(w,i)&&(b=w);var A=u.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function x(c,u){var t;this._invoke=function(n,r){function e(){return new u(function(e,t){!function t(e,n,r,i){var o=d(c[e],c,n);if("throw"!==o.type){var a=o.arg,s=a.value;return s&&"object"==typeof s&&l.call(s,"__await")?u.resolve(s.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):u.resolve(s).then(function(e){a.value=e,r(a)},function(e){return t("throw",e,r,i)})}i(o.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=f,e.done=!0,e};return r.next=r}}return{next:T}}function T(){return{value:f,done:!0}}return o(A,"constructor",c.prototype=u),o(u,"constructor",c),c.displayName=o(u,r,"GeneratorFunction"),a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===c||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,o(e,r,"GeneratorFunction")),e.prototype=Object.create(A),e},a.awrap=function(e){return{__await:e}},k(x.prototype),o(x.prototype,n,function(){return this}),a.AsyncIterator=x,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new x(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},k(A),o(A,r,"Generator"),o(A,i,function(){return this}),o(A,"toString",function(){return"[object Generator]"}),a.keys=function(n){var r=[];for(var e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=P,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=f)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=f),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r,i=n.completion;return"throw"===i.type&&(r=i.arg,E(n)),r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=f),y}},a}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},56053:function(e,t,n){"use strict";var r=n(93379),i=n.n(r),o=n(36300),a=n.n(o),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};i()(a(),s);t.Z=a().locals||{}},93379:function(e,t,o){"use strict";var n,r,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},a=(r={},function(e){if(void 0===r[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}r[e]=t}return r[e]}),f=[];function d(e){for(var t=-1,n=0;n<f.length;n++)if(f[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s=n[a]||0,c="".concat(a," ").concat(s);n[a]=s+1;var u=d(c),l={css:o[1],media:o[2],sourceMap:o[3]};-1!==u?(f[u].references++,f[u].updater(l)):f.push({identifier:c,updater:function(t,e){var n,r,i;{var o;i=e.singleton?(o=m++,n=v=v||h(e),r=p.bind(null,n,o,!1),p.bind(null,n,o,!0)):(n=h(e),r=function(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;i?e.setAttribute("media",i):e.removeAttribute("media");o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */"));if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,n,e),function(){!function(e){if(null===e.parentNode)return;e.parentNode.removeChild(e)}(n)})}return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}(l,t),references:1}),r.push(c)}return r}function h(e){var t,n=document.createElement("style"),r=e.attributes||{};if(void 0!==r.nonce||(t=o.nc)&&(r.nonce=t),Object.keys(r).forEach(function(e){n.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(n);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}return n}var s,u=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function p(e,t,n,r){var i,o,a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;e.styleSheet?e.styleSheet.cssText=u(t,a):(i=document.createTextNode(a),(o=e.childNodes)[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i))}var v=null,m=0;e.exports=function(e,a){(a=a||{}).singleton||"boolean"==typeof a.singleton||(a.singleton=i());var s=c(e=e||[],a);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var t=0;t<s.length;t++){var n=d(s[t]);f[n].references--}for(var r=c(e,a),i=0;i<s.length;i++){var o=d(s[i]);0===f[o].references&&(f[o].updater(),f.splice(o,1))}s=r}}}},40372:function(e,t,n){"use strict";var r=n(36060);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}},13940:function(e,t,n){"use strict";var r=n(75618),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(i,typeof e)}},17205:function(e,t,n){"use strict";var r=n(40372),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!i.test(o.call(e))}},36060:function(e,t,n){"use strict";var r=n(13940);e.exports=function(e){if(!r(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch(e){return!1}}},75618:function(e){"use strict";e.exports=function(e){return null!=e}},38264:function(e,t,n){!function(t){function e(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e}function r(e){return encodeURIComponent(e).replace(/%20/g,"+")}function o(e){return decodeURIComponent(String(e).replace(/\+/g," "))}var a,n,i=function(){try{return!!Symbol.iterator}catch(e){return!1}}();!function(){try{var e=t.URLSearchParams;return"a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set&&"function"==typeof e.prototype.entries}catch(e){return!1}}()&&((n=(a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"!=t)if("string"==t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach(function(e,t){n.append(t,e)})}else{if(null===e||"object"!=t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var o in e)e.hasOwnProperty(o)&&this.append(o,e[o])}}).prototype).append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},n.delete=function(e){delete this._entries[e]},n.get=function(e){return e in this._entries?this._entries[e][0]:null},n.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},n.has=function(e){return e in this._entries},n.set=function(e,t){this._entries[e]=[String(t)]},n.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var i=0;i<n.length;i++)e.call(t,n[i],r,this)}},n.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),e(n)},n.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),e(t)},n.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),e(n)},i&&(n[Symbol.iterator]=n.entries),n.toString=function(){var n=[];return this.forEach(function(e,t){n.push(r(t)+"="+r(e))}),n.join("&")},t.URLSearchParams=a);var s=t.URLSearchParams.prototype;"function"!=typeof s.sort&&(s.sort=function(){var n=this,r=[];this.forEach(function(e,t){r.push([t,e]),n._entries||n.delete(t)}),r.sort(function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0}),n._entries&&(n._entries={});for(var e=0;e<r.length;e++)this.append(r[e][0],r[e][1])}),"function"!=typeof s._fromString&&Object.defineProperty(s,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var n=[];this.forEach(function(e,t){n.push(t)});for(var t=0;t<n.length;t++)this.delete(n[t])}for(var r,i=(e=e.replace(/^\?/,"")).split("&"),t=0;t<i.length;t++)r=i[t].split("="),this.append(o(r[0]),1<r.length?o(r[1]):"")}})}(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(f){var t,n;function e(e,t){"string"!=typeof e&&(e=String(e)),t&&"string"!=typeof t&&(t=String(t));var n,r=document;if(t&&(void 0===f.location||t!==f.location.href)){t=t.toLowerCase(),(n=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=t,r.head.appendChild(n);try{if(0!==n.href.indexOf(t))throw new Error(n.href)}catch(e){throw new Error("URL unable to set base "+t+" due to "+e)}}var i=r.createElement("a");i.href=e,n&&(r.body.appendChild(i),i.href);var o=r.createElement("input");if(o.type="url",o.value=e,":"===i.protocol||!/:/.test(i.href)||!o.checkValidity()&&!t)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var a=new f.URLSearchParams(this.search),s=!0,c=!0,u=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),s&&(c=!1,u.search=a.toString(),c=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,c&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})}if(!function(){try{var e=new f.URL("b","http://a");return e.pathname="c d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()&&(t=f.URL,n=e.prototype,["hash","host","hostname","port","protocol"].forEach(function(e){var t;t=e,Object.defineProperty(n,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}),Object.defineProperty(n,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(n,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),e.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},e.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},f.URL=e),void 0!==f.location&&!("origin"in f.location)){function r(){return f.location.protocol+"//"+f.location.hostname+(f.location.port?":"+f.location.port:"")}try{Object.defineProperty(f.location,"origin",{get:r,enumerable:!0})}catch(e){setInterval(function(){f.location.origin=r()},100)}}}(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},57147:function(e,t,n){"use strict";var r,i,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,o="URLSearchParams"in s,a="Symbol"in s&&"iterator"in Symbol,c="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),u="FormData"in s,l="ArrayBuffer"in s;function f(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return a&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function v(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function y(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:c&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:u&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&c&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},c&&(this.blob=function(){var e=v(this);if(e)return e;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(){if(this._bodyArrayBuffer){var e=v(this);return e?e:ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)}return this.blob().then(y)}),this.text=function(){var e,t,n,r=v(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=m(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},u&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}l&&(r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&-1<r.indexOf(Object.prototype.toString.call(e))}),p.prototype.append=function(e,t){e=f(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},p.prototype.delete=function(e){delete this.map[f(e)]},p.prototype.get=function(e){return e=f(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(f(e))},p.prototype.set=function(e,t){this.map[f(e)]=d(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),h(n)},p.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),h(t)},p.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),h(n)},a&&(p.prototype[Symbol.iterator]=p.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i,o=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),-1<_.indexOf(r)?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((i=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function A(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t,n,r;e&&(n=(t=e.split("=")).shift().replace(/\+/g," "),r=t.join("=").replace(/\+/g," "),i.append(decodeURIComponent(n),decodeURIComponent(r)))}),i}function k(e,t){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];k.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})};var O=s.DOMException;try{new O}catch(e){(O=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),O.prototype.constructor=O}function E(i,a){return new Promise(function(r,e){var t=new w(i,a);if(t.signal&&t.signal.aborted)return e(new O("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,i,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",i=new p,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t,n=e.split(":"),r=n.shift().trim();r&&(t=n.join(":").trim(),i.append(r,t))}),i)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;setTimeout(function(){r(new k(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new O("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(c?o.responseType="blob":l&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof p?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,d(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}E.polyfill=!0,s.fetch||(s.fetch=E,s.Headers=p,s.Request=w,s.Response=k)},69028:function(e,t,r){var i={"./theme-classic":[70467,723],"./theme-classic.jsx":[70467,723],"./theme-metro":[47768,459],"./theme-metro.jsx":[47768,459],"./theme-modern":[41967,801],"./theme-modern.jsx":[41967,801],"./theme-simple":[23872,392],"./theme-simple.jsx":[23872,392],"./theme-tuber":[69752,102],"./theme-tuber.jsx":[69752,102],"./theme-venom":[89382,67],"./theme-venom.jsx":[89382,67]};function n(t){if(!r.o(i,t))return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e});var e=i[t],n=e[0];return r.e(e[1]).then(function(){return r(n)})}n.keys=function(){return Object.keys(i)},n.id=69028,e.exports=n},16134:function(e){function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}var n,r;window,e.exports=(r={},i.m=n=[function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t,n){"use strict";var i=n(37),r=Object.prototype.toString;function o(e){return"[object Array]"===r.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===r.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){var t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer;return t},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function n(){var r={};function e(e,t){"object"==typeof r[t]&&"object"==typeof e?r[t]=n(r[t],e):r[t]=e}for(var t=0,i=arguments.length;t<i;t++)u(arguments[t],e);return r},deepMerge:function n(){var r={};function e(e,t){"object"==typeof r[t]&&"object"==typeof e?r[t]=n(r[t],e):r[t]="object"==typeof e?n({},e):e}for(var t=0,i=arguments.length;t<i;t++)u(arguments[t],e);return r},extend:function(n,e,r){return u(e,function(e,t){n[t]=r&&"function"==typeof e?i(e,r):e}),n},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){e.exports=n(51)},function(e,t){function c(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return n(e),0}s.done?t(c):Promise.resolve(c).then(r,i)}e.exports=function(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){c(r,t,n,i,o,"next",e)}function o(e){c(r,t,n,i,o,"throw",e)}i(void 0)})}}},function(e,t,n){var r=n(52);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(14),i=n(18);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}t.exports=n},function(e,t,n){"use strict";var r=["AdLoaded","AdStarted","AdStopped","AdSkipped","AdSkippableStateChange","AdSizeChange","AdLinearChange","AdDurationChange","AdExpandedChange","AdRemainingTimeChange","AdVolumeChange","AdImpression","AdVideoStart","AdVideoFirstQuartile","AdVideoMidpoint","AdVideoThirdQuartile","AdVideoComplete","AdClickThru","AdInteraction","AdUserAcceptInvitation","AdUserMinimize","AdUserClose","AdPaused","AdPlaying","AdLog","AdError","MRC_UNMEASUREABLE","MRC_VIEW"];r.forEach(function(e){return r[e]=e}),Object.freeze(r),e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"on",{enumerable:!0,get:function(){return r.on}}),Object.defineProperty(t,"off",{enumerable:!0,get:function(){return r.off}}),Object.defineProperty(t,"once",{enumerable:!0,get:function(){return r.once}}),Object.defineProperty(t,"isNative",{enumerable:!0,get:function(){return r.isNative}}),Object.defineProperty(t,"waitForReady",{enumerable:!0,get:function(){return r.waitForReady}}),Object.defineProperty(t,"createTag",{enumerable:!0,get:function(){return r.createTag}}),Object.defineProperty(t,"processURI",{enumerable:!0,get:function(){return r.processURI}}),t.processMacros=t.trim=void 0;var r=n(11),a=n(30);t.trim=function(e){return(e||"").trim()};var s=(0,r.ancestorCheck)();t.processMacros=function(e,t){var n=e.replace(/\[CACHEBUSTING]/g,(0,a.random)(1e7,99999999).toString()).replace(/\[RANDOM]/g,Math.random().toString().slice(2,10)+Date.now()).replace(/\[TIMESTAMP]/g,(new Date).toISOString()).replace(/\[PAGEURL]/g,encodeURIComponent(s.url)).replace(/\[PAGEHOST]/g,encodeURIComponent(s.host)).replace(/\[PAGEREFERER]/g,encodeURIComponent(s.referrer)).replace(/\[ANCESTOR]/g,encodeURIComponent(s.rr)).replace(/\[ANCESTOR_OR_PAGEHOST]/g,encodeURIComponent(s.rr||s.host));if(!t)return n;var r=t.container.getBoundingClientRect(),i=r.width,o=r.height;return n.replace(/\[WIDTH]/g,i.toString()).replace(/\[HEIGHT]/g,o.toString())}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.on=o,t.off=a,t.once=function(t,n,r){o(t,n,r),o(t,n,function e(){a(t,n,r),a(t,n,e)})},t.css=c,t.createTag=function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=2<arguments.length?arguments[2]:void 0,i=3<arguments.length?arguments[3]:void 0,o=4<arguments.length?arguments[4]:void 0,a=document.createElement(e);return(t=a.classList).add.apply(t,(0,s.default)(n)),r&&c(a,r),i&&Object.keys(i).forEach(function(e){return a.setAttribute(e,i[e])}),o&&Object.assign(a,o),a},t.ancestorCheck=d,t.iFrameContext=v,t.processURI=function(e){if(!e||"string"!=typeof e)return"";e=e.trim();var t=["https:","about:"].includes(location.protocol)?"https:":"http:";return"https:"==t&&e.startsWith("http:")?(e="https:"+e.substring(5),i("protocol force updated for: %s",e),e):e.startsWith("//")?t+e:e},t.getDetails=t.iFrameServingScenarios=t.isNative=t.waitForReady=void 0;var s=r(n(19)),i=(0,r(n(12)).default)("lib:env");function o(e,t,n){window.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function a(e,t,n){window.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function c(e,t){Object.assign(e.style,t)}function u(){return f()?Promise.resolve():document.addEventListener?new Promise(function(e){return document.addEventListener("DOMContentLoaded",e)}):new Promise(function(e){return document.attachEvent("onreadystatechange",function(){return f()&&e()})})}t.waitForReady=u;var l,f=function(){return["complete","interactive"].includes(document.readyState)};function d(){if(l)return l;var e=location.ancestorOrigins?Array.from(location.ancestorOrigins):null,t=e?e.length?e[e.length-1].split("//")[1]:location.host:null;return l={referrer:document.referrer,host:location.host,url:location.href,rr:t,chain:(e||[]).map(function(e){return e.replace(/https?:\/\//,"")})}}t.isNative=function(e){return"function"==typeof e&&/\[native code]/.test(e.toString())};var h,p={ON_PAGE:"on page",SAME_DOMAIN_IFRAME:"same domain iframe",CROSS_DOMAIN_IFRAME:"cross domain iframe"};function v(){if(h)return h;try{if(window.top===window)return h=p.ON_PAGE;for(var e=window,t=0;e.parent!==e&&t<1e3;){if(e.parent.document.domain!==e.document.domain)return h=p.CROSS_DOMAIN_IFRAME;e=e.parent,t++}return h=p.SAME_DOMAIN_IFRAME}catch(e){return h=p.CROSS_DOMAIN_IFRAME}}function m(){return!0!==document.hidden&&(v()===p.CROSS_DOMAIN_IFRAME||!document.hasFocus||top.document.hasFocus())}t.iFrameServingScenarios=p,i("iFrame context: %s",v()),i("In focus: %s",m()),i("ancestor: %o",d()),i("waitForReady: checking..."),u().then(function(){return i("waitForReady: document is ready for interaction")}),t.getDetails=function(e){return{viewportWidth:Math.max(document.body.clientWidth,window.innerWidth)||-1,viewportHeight:Math.max(document.body.clientHeight,window.innerHeight)||-1,elementWidth:(null==e?void 0:e.clientWidth)||-1,elementHeight:(null==e?void 0:e.clientHeight)||-1,iframeContext:v(),focus:m()}}},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r},r.extend=function(){return r}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,l=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}((e.exports=a).EventEmitter=a).prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,s,c;return u(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a?(a=o[t]=n,++e._eventsCount):("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),0<(i=f(e))&&a.length>i&&!a.warned&&(a.warned=!0,(s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,c=s,console&&console.warn&&console.warn(c))),e}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){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)}.bind(r);return i.listener=n,r.wrapFn=i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):v(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.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},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return f(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r,i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(0<t.length&&(r=t[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)l(s,this,t);else for(var c=s.length,u=v(s,c),n=0;n<c;++n)l(u[n],this,t);return!0},a.prototype.addListener=function(e,t){return c(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return c(this,e,t,!0)},a.prototype.once=function(e,t){return u(t),this.on(e,d(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,d(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,i,o,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;0<=o;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n=this._events;if(void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;0<=o;o--)this.removeListener(e,t[o]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return 0<this._eventsCount?r(this._events):[]}},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n},function(e,t,n){var r=n(48),i=n(49),o=n(26),a=n(50);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.toSeconds=function(e){var t=(e||"").match(/(\d\d):(\d\d):(\d\d)/);return t&&t.slice(1,4).map(parseFloat).reduce(function(e,t,n){return e+t*Math.pow(60,Math.abs(n-2))},0)},t.msToS=t.sleep=void 0;var i=r(n(4)),o=r(n(5)),a=function(){var t=(0,o.default)(i.default.mark(function e(t){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e){return setTimeout(e,t)}));case 1:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}();t.sleep=a,t.msToS=function(e){return e.replace(/000ms/,"s")}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EventProxy=t.withTimeout=t.onceAny=t.forOnce=void 0;var i=r(n(1)),o=r(n(2));t.forOnce=function(t,n){return new Promise(function(e){return t.once(n,e)})},t.onceAny=function(n,e){return new Promise(function(t){e.forEach(function(e){n.once(e,t)})})},t.withTimeout=function(n,r,i){return new Promise(function(e,t){n.then(e,t),setTimeout(function(){t(i)},r)})};var a=function(){function n(e,t){(0,i.default)(this,n),this._events=t?e.filter(function(e){return!t.includes(e)}):e}return(0,o.default)(n,[{key:"from",value:function(e){return this._source=e,this._target&&s(e,this._target,this._events),this}},{key:"to",value:function(e){return this._target=e,this._source&&s(this._source,e,this._events),this}}]),n}();function s(t,n,r){r.forEach(function(e){0<n.listeners(e).length&&t.on(e,n.emit.bind(n,e))}),n.on("newListener",function(e){-1<r.indexOf(e)&&n.listeners(e).length<1&&t.on(e,n.emit.bind(n,e))})}t.EventProxy=a},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(53),i=n(54),o=n(26),a=n(55);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isIphone=t.isMobile=t.isTV=t.default=void 0;var i=r(n(68)),o=(0,r(n(12)).default)("lib:agent"),a=(new i.default).getResult();-1!=a.ua.toLowerCase().indexOf("smarttv")&&(a.device.type="tv"),a.device.type||(a.device.type="desktop"),o("parsed: %o",a);var s="tv"==(t.default=a).device.type;t.isTV=s;var c="mobile"==a.device.type;t.isMobile=c;var u=/iphone/i.test(navigator.userAgent);t.isIphone=u},function(e,t,n){"use strict";var r=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","interruptbegin","interruptend","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"];r.forEach(function(e){return r[e]=e}),r.forEach(function(e){return r[e.toUpperCase()]=e}),Object.freeze(r),e.exports=r},function(e,t,n){"use strict";var r=n(34),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return b=b||function(){return k.apply(this,arguments)}().finally(function(){return b=null})},t.checkOnExisted=function(e){return E.apply(this,arguments)},t.makeVideo=S,t.makeBaitSources=t.VIDEO_BAIT_WEBM=t.VIDEO_BAIT_DATA=void 0;var o=i(n(4)),a=i(n(5)),s=i(n(12)),c=r(n(20)),u=n(17),l=n(11),f=(0,s.default)("lib:checker:autoplay"),d=c.default.browser.name,h=parseInt(c.default.browser.major),p=c.default.os.name,v=c.default.device.type,m="data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAAAyFtZGF03gIATGF2YzU4LjExLjEwMQBCQY2QGNkBjgAAAqAGBf//nNxF6b3m2Ui3lizYINkj7u94MjY0IC0gY29yZSAxNTUgLSBILjI2NC9NUEVHLTQgQVZDIGNvZGVjIC0gQ29weWxlZnQgMjAwMy0yMDE4IC0gaHR0cDovL3d3dy52aWRlb2xhbi5vcmcveDI2NC5odG1sIC0gb3B0aW9uczogY2FiYWM9MSByZWY9MyBkZWJsb2NrPTE6MDowIGFuYWx5c2U9MHgzOjB4MTEzIG1lPWhleCBzdWJtZT03IHBzeT0xIHBzeV9yZD0xLjAwOjAuMDAgbWl4ZWRfcmVmPTEgbWVfcmFuZ2U9MTYgY2hyb21hX21lPTEgdHJlbGxpcz0xIDh4OGRjdD0xIGNxbT0wIGRlYWR6b25lPTIxLDExIGZhc3RfcHNraXA9MSBjaHJvbWFfcXBfb2Zmc2V0PS0yIHRocmVhZHM9MSBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MiBrZXlpbnQ9MjUwIGtleWludF9taW49MjMgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD00MCByYz1jcmYgbWJ0cmVlPTEgY3JmPTIzLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAATZYiEAN/UwLmKbUOy/HPe7/dRHyFBbGyBAgQI2QIECBHAIUHabIECBGyBAgRwAAAAC0GaIWNg+FEV/7OAIUHYbIECBAjZAgQIEcAhQdo8iQIELEEJAgQscAAABW1tb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAAaAABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAACS3RyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAVAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAABMtEAAIAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAFQAAAAAAAEAAAAAAcNtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAF3AAAAH0lXEAAAAAAAtaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAFZpZGVvSGFuZGxlcgAAAAFubWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABLnN0YmwAAACqc3RzZAAAAAAAAAABAAAAmmF2YzEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABAACAEgAAABIAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY//8AAAA0YXZjQwFkAAr/4QAbZ2QACqzZX54j/wFAAQsQAAA+kAALuADxIllgAQAGaOvjyyLAAAAAEHBhc3AAAAFAAAABCwAAABhzdHRzAAAAAAAAAAEAAAACAAAD6QAAABRzdHNzAAAAAAAAAAEAAAABAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAABxzdHN6AAAAAAAAAAAAAAACAAACuwAAAA8AAAAYc3RjbwAAAAAAAAACAAAASQAAAx4AAAJNdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAABoAAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAAAUAAABAAAAQAAAAABxW1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAArEQAABHISrMAAAAAAC1oZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU291bmRIYW5kbGVyAAAAAXBtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAATRzdGJsAAAAanN0c2QAAAAAAAAAAQAAAFptcDRhAAAAAAAAAAEAAAAAAAAAAAACABAAAAAArEQAAAAAADZlc2RzAAAAAAOAgIAlAAIABICAgBdAFQAAAAAAF+oAABfqBYCAgAUSEFblAAaAgIABAgAAACBzdHRzAAAAAAAAAAIAAAAEAAAEAAAAAAEAAAHIAAAAKHN0c2MAAAAAAAAAAgAAAAEAAAABAAAAAQAAAAIAAAACAAAAAQAAAChzdHN6AAAAAAAAAAAAAAAFAAAAGQAAAA4AAAAMAAAADgAAAA4AAAAcc3RjbwAAAAAAAAADAAAAMAAAAwQAAAMtAAAAGnNncGQBAAAAcm9sbAAAAAIAAAAB//8AAAAcc2JncAAAAAByb2xsAAAAAQAAAAUAAAABAAAAYXVkdGEAAABZbWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAsaWxzdAAAACSpdG9vAAAAHGRhdGEAAAABAAAAAExhdmY1OC45LjEwMA==";t.VIDEO_BAIT_DATA=m;var y="data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=";function g(e,t){return Object.assign(document.createElement("source"),{type:e,src:t})}t.VIDEO_BAIT_WEBM=y;var b,_=function(){return[g("video/webm",y),g("video/mp4",m)]};t.makeBaitSources=_;var w="autoplayAllowed_"+window.location.host,A=!1;function k(){return(k=(0,a.default)(o.default.mark(function e(){var t,n;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(f("check..."),window[w])return e.abrupt("return",O());e.next=3;break;case 3:if(A)throw x();e.next=5;break;case 5:if(c.isTV)return e.abrupt("return",O());e.next=7;break;case 7:if("mobile"===v||"iOS"===p)throw x();e.next=9;break;case 9:if("Safari"===d&&11===h)throw x();e.next=11;break;case 11:if("Chrome"===d&&h<66)return e.abrupt("return",O());e.next=13;break;case 13:if("Opera"===d&&h<54)return e.abrupt("return",O());e.next=15;break;case 15:return f("wait for document ready"),e.next=18,(0,l.waitForReady)();case 18:if(f("document is ready for interaction"),f("creating video bait"),t=S({display:"none",opacity:"0",position:"absolute"}),_().forEach(function(e){return t.appendChild(e)}),document.body.appendChild(t),function(e){var t;(0,l.isNative)(HTMLVideoElement.prototype.play)||(f("Warning! HTMLVideoElement.prototype.play has been override"),(t=document.createElement("iframe")).style.display="none",document.body.appendChild(t),t.contentWindow.document.open(),t.contentWindow.document.close(),e.play=t.contentWindow.HTMLVideoElement.prototype.play,t.parentNode.removeChild(t),(0,l.isNative)(e.play)?f("restored"):f("restore was failed"))}(t),(n=t.play())instanceof Promise)return e.prev=26,e.next=29,n;e.next=38;break;case 29:e.next=35;break;case 31:throw e.prev=31,e.t0=e.catch(26),"Safari"===d&&12===h&&(A=!0),x();case 35:return e.prev=35,document.body.removeChild(t),e.finish(35);case 38:return e.abrupt("return",O());case 39:case"end":return e.stop()}},e,null,[[26,31,35,38]])}))).apply(this,arguments)}function x(){return f("is denied"),new Error("autoplay is not allowed now")}function O(){return window[w]=!0,f("is allowed"),Promise.resolve("autoplay is allowed")}function E(){return(E=(0,a.default)(o.default.mark(function e(t){var n,r;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!0,_().forEach(function(e){return t.appendChild(e)}),(r=t.play())&&r.then)return e.prev=4,e.next=7,(0,u.withTimeout)(r,1e3);e.next=13;break;case 7:e.next=13;break;case 9:e.prev=9,e.t0=e.catch(4),n=!1,t.muted=!0;case 13:for(;t.firstElementChild;)t.removeChild(t.firstElementChild);return t.src="",e.abrupt("return",n);case 16:case"end":return e.stop()}},e,null,[[4,9]])}))).apply(this,arguments)}function S(e){var t=document.createElement("video");return t.setAttribute("x-webkit-playsinline",""),t.setAttribute("webkit-playsinline",""),t.setAttribute("playsinline",""),(0,l.css)(t,e),t}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.defaults=function r(i,t){return[i,t].every(a)?(f.apply(t,i.filter(function(e){return t.indexOf(e)<0})),t):Object.keys(i).reduce(function(e,t){var n=[i[t],e[t]];return n.every(o)&&r(i[t],e[t]),t in e||(e[t]=i[t]),e},t||{})},t.copy=function n(e){var r,t,i,o,a,s,c="object"===(0,l.default)(arguments[1])?arguments[1]:null,u="boolean"==typeof arguments[1]?arguments[1]:arguments[2];return Object(e)!==e?e:e instanceof Array?(o=e,a=u,s=c||[],f.apply(s,a?o.map(function(e){return n(e,null,!0)}):o),s):(r=e,t=c,i=u,Object.keys(r).reduce(function(e,t){return e[t]=i?n(r[t],null,!0):r[t],e},t||{}))},t.trimObject=function n(r,i){return Object(r)!==r?r:Object.keys(r).reduce(function(e,t){return i&&r[t]instanceof Array?e[t]=r[t].filter(function(e){return void 0!==e}).map(function(e){return n(e,!0)}):i&&r[t]instanceof Object?e[t]=n(r[t],!0):void 0!==r[t]&&(e[t]=r[t]),e},{})};var l=r(n(14)),f=Array.prototype.push,o=function(e){return Object(e)===e},a=function(e){return e instanceof Array}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),a=r(n(2)),s=r(n(6)),c=r(n(7)),u=r(n(8)),i=r(n(13)),l=r(n(9));var f=function(e){(0,s.default)(i,e);var r=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,u.default)(r),n=i?(e=(0,u.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,c.default)(this,n)}}(i);function i(e,t){var n;return(0,o.default)(this,i),(n=r.call(this)).container=e,n.logger=t,n.__private__={ready:!1,stopped:!1},[l.default.AdLoaded,l.default.AdStarted,l.default.AdImpression,l.default.AdError,l.default.AdStopped].forEach(function(e){n.on(e,t.bind(null,e))}),t("new"),n}return(0,a.default)(i,[{key:"pauseAd",value:function(){return Promise.resolve()}},{key:"resumeAd",value:function(){return Promise.resolve()}},{key:"_createClickArea",value:function(){var e=this,t=document.createElement("div");t.style.cssText="width:100%;height:100%;opacity:0;z-index:1;position:absolute;top:0;left:0",t.onclick=function(){return e.emit(l.default.AdClickThru,null,null,!0)},this.container.appendChild(t)}},{key:"adRemainingTime",get:function(){return-1}},{key:"adDuration",get:function(){return-1}},{key:"adVolume",get:function(){return-1},set:function(){return-1}}]),i}(i.default);t.default=f},function(e,t,n){var r=n(27);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.bySizeOf=function(e){var r=e.getBoundingClientRect();return function(e){var t;return e.creatives=(e.creatives||[]).filter(function(e){return["nonLinear","linear"].includes(e.type)}).map(function(e){var t,n;return"linear"==e.type?(n=function(e,t){var n=t?t.width:640;e.forEach(function(e){return e[u]=d((0,a.trim)(e.type))});var r=e.filter(function(e){return e[u]&&(0,a.trim)(e.uri)}).sort(l("bitrate")).sort(l(u)),i=r.map(function(e){return Math.abs(n-(e.width||0))});return r[i.indexOf(Math.min.apply(Math,(0,o.default)(i)))]}(e.mediaFiles,r),e.mediaFiles=[n]):(t=h(e.ads,r),n=(0,i.default)(t,1)[0],e.ads=[n]),e[u]=(null==n?void 0:n[u])||0,e}).filter(function(e){return e[u]}).sort(l(u)),e[u]=(null===(t=e.creatives[0])||void 0===t?void 0:t[u])||0,e[u]}},t.skipButton=function(e,t,n,r,i){var o=document.createElement("button");o.classList.add(c.default.btn,c.default["btn-skip"],c.default.reset);var a=!1,s=setInterval(function(){a&&(t-=.5,o.innerText="Пропустить рекламу через: ".concat(Math.round(t))),t<=0&&(clearInterval(s),o.classList.add(c.default.active),o.innerText="Пропустить рекламу",n(),o.onclick=function(){o.parentNode.removeChild(o),r()})},500);i.once("AdStarted",function(){e.appendChild(o),a=!0}),i.on("AdPaused",function(){return a=!1}),i.on("AdPlaying",function(){return a=!0})},t.nonLinearCloseBtn=function(t){var n=document.createElement("button");return n.innerHTML="&#10005;",n.style.cssText="z-index:1;direction:ltr;display:inline-block;width:15px;height:15px;position:absolute;top:1px;right:1px;padding:0;margin:0;font-size:13px;line-height:1;text-align:center;border:0;vertical-align:middle;color:#000;background-color:#fff;cursor:pointer;box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.8);box-sizing:border-box",new Promise(function(e){n.onclick=e,t.appendChild(n)})};var i=r(n(15)),o=r(n(19)),a=n(10),s=n(31),c=r(n(56)),u="playability",l=function(n){return function(e,t){return t[n]-e[n]}},f=document.createElement("video"),d=function(e){return"video/mp4"==e||s.mimeJs.test(e)||f.canPlayType(e)?2:0},h=function(e,t){var n=1<arguments.length?t:void 0;return(0<arguments.length&&void 0!==e?e:[]).filter(function(e){return!(!e.scalable&&(n.width<e.width||n.height<e.height))&&(e.resources=(e.resources||[]).filter(function(e){return e[u]=function(e){var t=(0,a.trim)(e.type);if("iframe"==t||"html"==t)return 2;if("static"==t){!e.creativeType&&/\.jpe?g\s*$/.test(e.data||"")&&(e.creativeType="image/jpeg");var n=(0,a.trim)(e.creativeType);if(s.mimeImg.test(n)||"video/mp4"==n)return 3;if(s.mimeJs.test(n))return 1;console.warn('no "creativeType" attr on static resource')}return 0}(e),e.data=(0,a.trim)(e.data),e[u]&&e.data}).sort(l(u)),e.resources.length&&(e[u]=e.resources[0][u]),e.resources.length)}).sort(l(u))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.random=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;return Math.floor(Math.random()*(t-e))+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediaFileType=function(e){var t=(0,r.trim)(e.type);if("VPAID"===(0,r.trim)(e.apiFramework)){if(i.test(t))return"vpaid"}else if(t.startsWith("video/"))return"video"},t.nonLinearType=function(e){var t=(0,r.trim)(e.type);if("iframe"==t||"html"==t)return t;if("static"==t){var n=(0,r.trim)(e.creativeType);if(o.test(n))return"image";if(i.test(n))return"vpaid"}},t.mimeImg=t.mimeJs=void 0;var r=n(10),i=/application\/(x-)?javascript/;t.mimeJs=i;var o=/image\/(jpeg|gif|png)/;t.mimeImg=o},function(e,t,o){"use strict";var n,r,a=(r={},function(e){if(void 0===r[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}r[e]=t}return r[e]}),f=[];function d(e){for(var t=-1,n=0;n<f.length;n++)if(f[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s=n[a]||0,c="".concat(a," ").concat(s);n[a]=s+1;var u=d(c),l={css:o[1],media:o[2],sourceMap:o[3]};-1!==u?(f[u].references++,f[u].updater(l)):f.push({identifier:c,updater:function(t,e){var n,r,i,o;return i=e.singleton?(o=m++,n=v=v||h(e),r=p.bind(null,n,o,!1),p.bind(null,n,o,!0)):(n=h(e),r=function(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,n,e),function(){!function(e){null!==e.parentNode&&e.parentNode.removeChild(e)}(n)}),r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}(l,t),references:1}),r.push(c)}return r}function h(e){var t,n=document.createElement("style"),r=e.attributes||{};if(void 0!==r.nonce||(t=o.nc)&&(r.nonce=t),Object.keys(r).forEach(function(e){n.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(n);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}return n}var i,s=(i=[],function(e,t){return i[e]=t,i.filter(Boolean).join("\n")});function p(e,t,n,r){var i,o,a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;e.styleSheet?e.styleSheet.cssText=s(t,a):(i=document.createTextNode(a),(o=e.childNodes)[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i))}var v=null,m=0;e.exports=function(e,a){(a=a||{}).singleton||"boolean"==typeof a.singleton||(a.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var s=c(e=e||[],a);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var t=0;t<s.length;t++){var n=d(s[t]);f[n].references--}for(var r=c(e,a),i=0;i<s.length;i++){var o=d(s[i]);0===f[o].references&&(f[o].updater(),f.splice(o,1))}s=r}}}},function(e,t,n){"use strict";e.exports=function(n){var c=[];return c.toString=function(){return this.map(function(e){var t=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}(r),o=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")});return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(e,n);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t}).join("")},c.i=function(e,t,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(r[o]=!0)}for(var a=0;a<e.length;a++){var s=[].concat(e[a]);n&&r[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),c.push(s))}},c}},function(e,t,n){var a=n(14);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&((n=i?Object.getOwnPropertyDescriptor(e,o):null)&&(n.get||n.set)?Object.defineProperty(r,o,n):r[o]=e[o]);return r.default=e,t&&t.set(e,r),r}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_STRATEGY=void 0;var i=r(n(63)),o=n(66),a={autostart:!0,techniques:[i.default],criteria:o.MRC_VIDEO};t.DEFAULT_STRATEGY=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.makeScript=S,t.CDN=t.default=void 0;var u=r(n(4)),i=r(n(5)),a=r(n(1)),s=r(n(2)),c=r(n(18)),l=r(n(6)),f=r(n(7)),d=r(n(8)),h=r(n(13)),p=r(n(9)),v=r(n(21)),m=n(20),y=n(16),g=n(11),b=n(17),_=n(22);var w="Ad has not been loaded.",o=function(e){(0,l.default)(o,e);var t,n,r=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,d.default)(r),n=i?(e=(0,d.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,f.default)(this,n)}}(o);function o(e,t,n){var i;return(0,a.default)(this,o),(i=r.call(this)).setMaxListeners(1e3),i.container=e,i.logger=t,i._noFrame=n,i.api=null,i.iframe=null,i.slot_=null,i.videoSlot_=null,i.eventProxy=new h.default,i.isClean=!1,i.isStopped=!1,i.eventProxy.once(p.default.AdError,function(e){i.logger("received AdError from advertiser"),i.emit(p.default.AdError,e),i.stopAd(!1)}),i.eventProxy.once(p.default.AdStopped,function(){return i.stopAd(!1)}),new b.EventProxy(p.default,[p.default.AdLoaded,p.default.AdStarted,p.default.AdError,p.default.AdStopped,p.default.MRC_VIEW,p.default.MRC_UNMEASUREABLE]).from(i.eventProxy).to((0,c.default)(i)),p.default.forEach(function(r){return i.on(r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.logger.apply(i,["emit %s",r].concat(t))})}),i.logger("new"),i}return(0,s.default)(o,[{key:"load",value:(n=(0,i.default)(u.default.mark(function e(r,i){var o,a,s,c=this;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("string"==typeof i&&(i=i.trim()),this.logger(".load(%o, %o)",r,i),o=(0,_.makeVideo)({backgroundColor:"rgb(0, 0, 0)",position:"absolute",width:"100%",height:"100%",top:0,left:0}),(a=this.videoWrap=document.createElement("div")).style.display="none",a.appendChild(o),this.container.appendChild(a),this._noFrame&&r.uri.startsWith(E+"/npm/cdn4script")&&!window.getVPAIDAd||(this.iframe=((n=(n=void 0,g.createTag)("iframe",[],O,{allow:"autoplay",referrerpolicy:"unsafe-url"})).src="about:blank",n),this.container.appendChild(this.iframe)),!m.isIphone){e.next=12;break}e.t0=!1,e.next=15;break;case 12:return e.next=14,(0,_.checkOnExisted)(o);case 14:e.t0=e.sent;case 15:if(this._canAutoPlay=e.t0,this.logger("videoSlotCanAutoPlay = %s",this._canAutoPlay),!(s=this.iframe)){e.next=22;break}if(s.contentWindow){e.next=21;break}throw this._error("no iframe.contentWindow");case 21:(t=s.contentWindow.document).open(),t.close(),t.documentElement.style.cssText="height:100%",t.body.style.cssText="background:transparent;height:100%;margin:0;overflow:hidden";case 22:return this.videoSlot_=o,s?this.slot_=s.contentWindow.document.body:(this.slot_=(0,g.createTag)("div",[],O),this.container.appendChild(this.slot_)),this.logger("\nvideoSlot: %o\n slot: %o\n iframe: %o\n videoWrap:%o",this.videoSlot_,this.slot_,s,this.videoWrap),(0,g.once)(o,v.default.playing,function(){return a.style.cssText="display:block"}),e.abrupt("return",new Promise(function(e,t){return c._loadJs(r,i,e,t)}));case 27:case"end":return e.stop()}var t,n},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"_loadJs",value:function(e,t,n,r){var i=this,o=(0,g.processURI)(e.uri),a=Date.now(),s=S(o,function(){return i._jsLoaded(n,r,a,e.bitrate,t)},function(){return r(i._error("load fail MediaFile "+o))});this.logger("script: %o",s),this.emit("preload"),(this.iframe?this.iframe.contentWindow:window).document.head.appendChild(s)}},{key:"_jsLoaded",value:function(e,t,n,r,i){var o=this,a=Date.now()-n;this.logger("js loaded %sms",a),this.emit("JSLoaded",a);var s=this.iframe,c=(s?s.contentWindow:window).getVPAIDAd;if("function"!=typeof c)return t(this._error("getVPAIDAd() not found"));var u=c();s||delete window.getVPAIDAd;var l=u.handshakeVersion("2.0");if(!/^[12](\.\d+)*$/.test(l))return t(this._error("VPAID "+l+" is not supported."));this.vpaid=u;var f=this._listenSize(s||this.slot_);p.default.forEach(function(i){return u.subscribe(function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.eventProxy).emit.apply(e,[i].concat(n))},i)}),this.once(p.default.AdError,t),(0,b.onceAny)(this.eventProxy,["AdLoaded","AdImpression","AdStarted","AdVideoStart"]).then(function(){o.api=u,e(o),o.emit(p.default.AdLoaded)}),(0,b.onceAny)(this.eventProxy,["AdStarted","AdImpression","AdVideoStart","AdVideoFirstQuartile"]).then(function(){return o.emit(p.default.AdStarted)}),this.eventProxy.on(p.default.AdVideoComplete,function(){function e(){var e;(0,b.onceAny)(o.eventProxy,["AdImpression","AdVideoStart"]).then(function(){return e=!0}),(0,y.sleep)(1500).then(function(){return!e&&o.stopAd()})}o.eventProxy.once("AdPaused",e),(0,b.onceAny)(o.eventProxy,["AdImpression","AdVideoStart","AdError","AdStopped"]).then(function(){return o.eventProxy.removeListener("AdPaused",e)})}),this.emit("initAdCalled"),u.initAd(f.width,f.height,"normal",r,{AdParameters:i},{slot:this.slot_,videoSlot:this.videoSlot_,videoSlotCanAutoPlay:this._canAutoPlay})}},{key:"_listenSize",value:function(r){function t(){var e,t,n;i.api&&(t=(e=r.getBoundingClientRect()).width,n=e.height,a.width===t&&a.height===n||(a.width=t,a.height=n,i.resizeAd(t,n,"normal")))}var e,i=this,n=window,o=r.getBoundingClientRect(),a={width:o.width,height:o.height};null!==(e=r.contentWindow)&&void 0!==e&&e.addEventListener("resize",t,!1),n.addEventListener("scroll",t,!1),n.addEventListener("resize",t,!1);var s=setInterval(t,250);return this._removeSizeListeners=function(){var e;clearInterval(s),n.removeEventListener("scroll",t,!1),n.removeEventListener("resize",t,!1),null!==(e=r.contentWindow)&&void 0!==e&&e.removeEventListener("resize",t,!1)},a}},{key:"_error",value:function(e){var t=this;return this.emit(p.default.AdError,e),(0,y.sleep)(1).then(function(){return t.stopAd(!1)}),new Error(e)}},{key:"startAd",value:function(){for(var n=this,e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return new Promise(function(e,t){n.eventProxy.once(p.default.AdError,t),n._asyncApi.apply(n,["startAd",p.default.AdStarted].concat(r)).then(e)})}},{key:"stopAd",value:(t=(0,i.default)(u.default.mark(function e(){var t,n=this,r=arguments;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!(0<r.length&&void 0!==r[0])||r[0],this.isStopped)return e.abrupt("return");e.next=3;break;case 3:if(this.isStopped=!0,this.logger(".stopAd()"),this.vpaid&&t)return e.next=8,new Promise(function(e){n.eventProxy.once("AdStopped",e);try{n.vpaid.stopAd()}catch(e){}(0,y.sleep)(500).then(e)});e.next=8;break;case 8:this._cleanup(),this.emit(p.default.AdStopped);case 10:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"_cleanup",value:function(){var e,t,n,r;this.isClean||(this.isClean=!0,this.logger("._cleanup()"),null!==(e=this._removeSizeListeners)&&void 0!==e&&e.call(this),(this._removeSizeListeners=null)!==(t=this.iframe)&&void 0!==t&&t.remove(),this.iframe=null,(this.api=null)!==(n=this.videoWrap)&&void 0!==n&&n.remove(),null!==(r=this.slot_)&&void 0!==r&&r.remove(),this.slot_=null)}},{key:"_callApi",value:function(e){if(this.api){var t;this.logger(".".concat(e,"()"));for(var n=arguments.length,r=new Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=this.api)[e].apply(t,r)}throw this.logger(".".concat(e,"() failed. ").concat(w)),new Error(w)}},{key:"_asyncApi",value:function(n,r){for(var i=this,e=arguments.length,o=new Array(2<e?e-2:0),t=2;t<e;t++)o[t-2]=arguments[t];return this.api?(this.logger(".".concat(n,"()")),new Promise(function(e){var t;i.once(r,function(){return e(i)}),(t=i.api)[n].apply(t,o)})):(this.logger(".".concat(n,"() failed. ").concat(w)),Promise.reject(new Error(w)))}},{key:"adVolume",set:function(e){return this.logger("set adVolume to %s",e),this.videoSlot_&&(this.videoSlot_.volume=e),this._callApi("setAdVolume",e)}}]),o}(h.default);function A(e,t){x(e,{get:function(){return this._callApi(t)}})}function k(r,i){x(r,{value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._asyncApi.apply(this,[r,i].concat(t))}})}function x(e,t){t.enumerable=!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(o.prototype,e,t)}t.default=o,A("adLinear","getAdLinear"),A("adWidth","getAdWidth"),A("adHeight","getAdHeight"),A("adExpanded","getAdExpanded"),A("adSkippableState","getAdSkippableState"),A("adRemainingTime","getAdRemainingTime"),A("adDuration","getAdDuration"),A("adVolume","getAdVolume"),A("adCompanions","getAdCompanions"),A("adIcons","getAdIcons"),k("resizeAd",p.default.AdSizeChange),k("pauseAd",p.default.AdPaused),k("resumeAd",p.default.AdPlaying),k("expandAd",p.default.AdExpandedChange),k("collapseAd",p.default.AdExpandedChange),k("skipAd",p.default.AdSkipped);var O={opacity:1,position:"absolute",top:0,border:"0px",margin:"0px",padding:"0px",width:"100%",height:"100%",overflow:"hidden"},E="https://cdn.jsdelivr.net";function S(e,t,n){var r=document.createElement("script");return r.type="application/javascript",(r.src=e).startsWith(E)&&(r.crossOrigin="anonymous"),r.onload=t,r.onerror=n,r}t.CDN=E},function(e,t,n){"use strict";e.exports=function(n,r){return function(){for(var e=new Array(arguments.length),t=0;t<e.length;t++)e[t]=arguments[t];return n.apply(r,e)}}},function(e,t,n){"use strict";var a=n(3);function s(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r,i,o=n?n(t):a.isURLSearchParams(t)?t.toString():(r=[],a.forEach(t,function(e,t){null!=e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),r.push(s(t)+"="+s(e))}))}),r.join("&"));return o&&(-1!==(i=e.indexOf("#"))&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o),e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(s,e,c){"use strict";(function(e){var n=c(3),r=c(80),t={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o,a={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(o=c(41)),o),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(i(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(e){a.headers[e]={}}),n.forEach(["post","put","patch"],function(e){a.headers[e]=n.merge(t)}),s.exports=a}).call(this,c(24))},function(e,t,f){"use strict";var d=f(3),h=f(81),p=f(38),v=f(83),m=f(86),y=f(87),g=f(42);e.exports=function(l){return new Promise(function(n,r){var i=l.data,o=l.headers;d.isFormData(i)&&delete o["Content-Type"];var e,t,a=new XMLHttpRequest;l.auth&&(e=l.auth.username||"",t=l.auth.password||"",o.Authorization="Basic "+btoa(e+":"+t));var s,c,u=v(l.baseURL,l.url);if(a.open(l.method.toUpperCase(),p(u,l.params,l.paramsSerializer),!0),a.timeout=l.timeout,a.onreadystatechange=function(){var e,t;a&&4===a.readyState&&(0!==a.status||a.responseURL&&0===a.responseURL.indexOf("file:"))&&(e="getAllResponseHeaders"in a?m(a.getAllResponseHeaders()):null,t={data:l.responseType&&"text"!==l.responseType?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:e,config:l,request:a},h(n,r,t),a=null)},a.onabort=function(){a&&(r(g("Request aborted",l,"ECONNABORTED",a)),a=null)},a.onerror=function(){r(g("Network Error",l,null,a)),a=null},a.ontimeout=function(){var e="timeout of "+l.timeout+"ms exceeded";l.timeoutErrorMessage&&(e=l.timeoutErrorMessage),r(g(e,l,"ECONNABORTED",a)),a=null},d.isStandardBrowserEnv()&&(s=f(88),(c=(l.withCredentials||y(u))&&l.xsrfCookieName?s.read(l.xsrfCookieName):void 0)&&(o[l.xsrfHeaderName]=c)),"setRequestHeader"in a&&d.forEach(o,function(e,t){void 0===i&&"content-type"===t.toLowerCase()?delete o[t]:a.setRequestHeader(t,e)}),d.isUndefined(l.withCredentials)||(a.withCredentials=!!l.withCredentials),l.responseType)try{a.responseType=l.responseType}catch(e){if("json"!==l.responseType)throw e}"function"==typeof l.onDownloadProgress&&a.addEventListener("progress",l.onDownloadProgress),"function"==typeof l.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",l.onUploadProgress),l.cancelToken&&l.cancelToken.promise.then(function(e){a&&(a.abort(),r(e),a=null)}),void 0===i&&(i=null),a.send(i)})}},function(e,t,n){"use strict";var a=n(82);e.exports=function(e,t,n,r,i){var o=new Error(e);return a(o,t,n,r,i)}},function(e,t,n){"use strict";var c=n(3);e.exports=function(t,n){n=n||{};var r={},e=["url","method","params","data"],i=["headers","auth","proxy"],o=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];c.forEach(e,function(e){void 0!==n[e]&&(r[e]=n[e])}),c.forEach(i,function(e){c.isObject(n[e])?r[e]=c.deepMerge(t[e],n[e]):void 0!==n[e]?r[e]=n[e]:c.isObject(t[e])?r[e]=c.deepMerge(t[e]):void 0!==t[e]&&(r[e]=t[e])}),c.forEach(o,function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])});var a=e.concat(i).concat(o),s=Object.keys(n).filter(function(e){return-1===a.indexOf(e)});return c.forEach(s,function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),r}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"EVENTS",{enumerable:!0,get:function(){return o.default}});var i=r(n(47)),o=r(n(9))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(15)),f=r(n(4)),d=r(n(5)),i=r(n(28)),h=r(n(1)),p=r(n(2)),v=r(n(18)),m=r(n(6)),y=r(n(7)),g=r(n(8)),b=r(n(12)),o=r(n(13)),_=n(29),w=n(58),A=n(17),k=r(n(59)),x=n(11),O=n(16),E=n(67),S=n(69),P=n(10),T=r(n(22)),C=n(70),j=n(91),L=n(94),R=r(n(9)),I=n(95),M=n(31),z=r(n(36)),D=r(n(101)),B=r(n(104)),Z=r(n(105)),N=r(n(106)),F=r(n(107));function a(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function U(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach(function(e){(0,i.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var s=function(e){(0,m.default)(u,e);var t,n,r,i,o,a,s,c=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,g.default)(r),n=i?(e=(0,g.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,y.default)(this,n)}}(u);function u(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,h.default)(this,u),(t=c.call(this)).setMaxListeners(1e3),t._config=U(U({logger:(0,b.default)("lib:vast"),disableVolumeCheck:!1,skipHandler:null,sequential:!1,noFrame:!1,maxImp:0},n),{},{vast:U({maxRedirects:10,removeCredentials:!1},n.vast),timeouts:U({loading:8e3,starting:5e3,toNextImp:0,global:65e3},n.timeouts)}),t.__private__={container:(0,x.createTag)("div",[F.default.aspect]),mapperURL:function(e){return(0,P.processMacros)((0,P.processURI)(e),(0,v.default)(t))},vast:null,ready:!1,loaded:!1,stopped:!1,wasImpressions:0,player:null,linear:!0,pods:!1,adSkippableState:!1,settingVolume:[],currentVolume:1,volumeMutex:new j.Mutex},e.appendChild(t.__private__.container),t.on("AdImpression",function(){t.__private__.wasImpressions++,t._mrc(e),t._complete()}),t._bindGlobalTimeout();var r=t._config.logger;return R.default.forEach(function(e){t.on(e,r.bind(null,e))}),r("new"),t}return(0,p.default)(u,[{key:"_mrc",value:function(e){var t=this,n=new k.default(e);(0,A.onceAny)(this,["AdImpression","AdStopped","AdEnded"]).then(function(){return n.dispose()}),n.once("unmeasureable",function(){return t.emit(R.default.MRC_UNMEASUREABLE)}),n.once("complete",function(){return t.emit(R.default.MRC_VIEW)}),n.start()}},{key:"_emitError",value:function(e){var t=this;setTimeout(function(){return t.stopAd()},0);var n=(0,w.strErr)(e);return this.emit(R.default.AdError,n),Promise.reject(new Error(n))}},{key:"load",value:(s=(0,d.default)(f.default.mark(function e(t){var n,r,i,o;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.emit("AdRequest",t),e.next=4,C.VAST.fetch(this.__private__.mapperURL(t),this._config.vast);case 4:i=e.sent,e.next=10;break;case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",this._emitError((0,w.shortAxiosErr)(e.t0||"vast fetch err")));case 10:if(null!==(n=i)&&void 0!==n&&null!==(r=n.ads)&&void 0!==r&&r.length){e.next=12;break}return e.abrupt("return",this._emitError("fetched empty"));case 12:if(e.prev=12,i.ads=i.ads.filter((0,_.bySizeOf)(this.container)),i.ads.length){e.next=16;break}return e.abrupt("return",this._emitError("no playable"));case 16:if(this.__private__.vast=i,(o=i.ads.filter(function(e){return"linear"===e.creatives[0].type})).length||(this.__private__.linear=!1,o=i.ads.filter(function(e){return"nonLinear"===e.creatives[0].type})),o.length){e.next=21;break}return e.abrupt("return",this._emitError("ad list is empty"));case 21:return i.ads=o,this.emit("AdParsed"),e.next=25,(0,A.withTimeout)(this.loadNextAd(),this._config.timeouts.loading,"timeout");case 25:this.emit("ready"),this.emit(R.default.AdLoaded),e.next=32;break;case 29:return e.prev=29,e.t1=e.catch(12),e.abrupt("return",this._emitError("timeout"===e.t1?"load timeout":"load err: ".concat(e.t1)));case 32:case"end":return e.stop()}},e,this,[[0,7],[12,29]])})),function(e){return s.apply(this,arguments)})},{key:"loadNextAd",value:(a=(0,d.default)(f.default.mark(function e(){var t,n;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.__private__.vast.ads;case 1:if(!t.length||this.__private__.stopped){e.next=15;break}if(n=t.shift(),t.length){e.next=5;break}return e.abrupt("return",this._loadAd(n));case 5:return e.prev=5,e.next=8,this._loadAd(n);case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(5);case 13:e.next=1;break;case 15:if(t.length){e.next=17;break}throw"no next";case 17:case"end":return e.stop()}},e,this,[[5,11]])})),function(){return a.apply(this,arguments)})},{key:"_loadAd",value:(o=(0,d.default)(f.default.mark(function e(r){var t,n,i,o,a=this;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._cleanup(),this.__private__.adSkippableState&&(this.__private__.adSkippableState=!1,this.emit(R.default.AdSkippableStateChange)),t=this._makePlayer(r),n=(0,l.default)(t,2),i=n[0],o=n[1],i){e.next=5;break}throw"creative type is not supported";case 5:return this.__private__.player=i,["force-muted","JSLoaded","preload","initAdCalled","error.video.load","error.video.start"].forEach(function(e){i.on(e,a.emit.bind(a,e))}),e.next=9,o();case 9:if(this.__private__.stopped)return e.abrupt("return");e.next=11;break;case 11:return this.on(R.default.AdClickThru,function(e,t,n){return a._click(r.creatives[0],e,t,n)}),new A.EventProxy(R.default,["AdLoaded","AdStarted","AdError","AdStopped"]).from(i).to(this),(0,L.pixels)(r,this.adLinear,i,this.__private__.mapperURL),this._bindSkipBtn(r),this.__private__.ready=!0,this.adVolume=this.__private__.currentVolume,e.abrupt("return",i);case 18:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)})},{key:"_makePlayer",value:function(e){var t=this._config.logger;if(this.adLinear){var n=e.creatives[0].mediaFiles[0],r=(0,M.mediaFileType)(n);if("video"!=r&&"vpaid"!=r)return[];var i="vpaid"==(this[I.playerType]=r)?new z.default(this.container,t.extend(r),this._config.noFrame):new D.default(this.container,t.extend(r),this._config.skipHandler,e.creatives[0].skipOffset),o=function(e,t){var n=(0,P.trim)(e);if(!t||!n)return e;try{var r=JSON.parse(n);return r.seq=t,JSON.stringify(r)}catch(t){return e}}(e.creatives[0].parameters,this._config.sequential);return[i,function(){return i.load(n,o)}]}var a=e.creatives[0].ads[0],s=(0,P.trim)(a.parameters),c=(0,P.trim)(a.clickThrough),u=(0,P.trim)(a.resources[0].data),l=(0,M.nonLinearType)(a.resources[0]);if("vpaid"==l){this[I.playerType]=l;var f={uri:(0,P.processURI)(u),bitrate:null},d=new z.default(this.container,t.extend(l));return[d,function(){return d.load(f,s,c)}]}var h={html:B.default,iframe:Z.default,image:N.default}[l];if(!h)return[];this[I.playerType]=l,this._makeSandbox(a);var p=new h(this.sandbox.contentWindow.document.body,t.extend(l));return[p,function(){return p.load(u,s,c)}]}},{key:"_bindSkipBtn",value:function(e){var t,n=this,r=this.__private__.player;this.adLinear||r instanceof z.default||(t=e.creatives[0].ads[0].minSuggestedDuration)&&r.once("AdImpression",(0,d.default)(f.default.mark(function e(){return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.__private__.vast.ads=[],e.next=3,(0,O.sleep)(1e3*t);case 3:if(n.sandbox&&r===n.__private__.player){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,(0,_.nonLinearCloseBtn)(n.sandbox.contentWindow.document.body);case 7:n.emit(R.default.AdUserClose),n.stopAd();case 9:case"end":return e.stop()}},e)})))}},{key:"_detachAfterStart",value:(i=(0,d.default)(f.default.mark(function e(){var t;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=["AdUserClose","AdSkipped","AdStopped","AdError"],e.next=3,(0,A.onceAny)(this.__private__.player,t);case 3:if(this.__private__.vast.ads.length)return e.next=6,this.loadNextAd().catch(function(){return null});e.next=20;break;case 6:if(!e.sent||this.__private__.stopped)return e.abrupt("return");e.next=9;break;case 9:return e.prev=9,e.next=12,this._proxyMethod("startAd");case 12:return e.next=14,(0,A.onceAny)(this.__private__.player,t);case 14:e.next=18;break;case 16:e.prev=16,e.t0=e.catch(9);case 18:e.next=3;break;case 20:this.stopAd();case 21:case"end":return e.stop()}},e,this,[[9,16]])})),function(){return i.apply(this,arguments)})},{key:"startAd",value:(r=(0,d.default)(f.default.mark(function e(){var t;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.emit("startingAd"),t=(0,O.sleep)(this._config.timeouts.starting).then(function(){return Promise.reject("timeout")});case 2:if(this.__private__.stopped){e.next=25;break}return e.prev=3,e.next=6,Promise.race([this._proxyMethod("startAd"),t]);case 6:return this.emit(R.default.AdStarted),this._detachAfterStart().catch(console.warn),e.abrupt("return");case 11:if(e.prev=11,e.t0=e.catch(3),"timeout"===e.t0)return e.abrupt("return",this._emitError("start timeout"));e.next=15;break;case 15:return e.prev=15,e.next=18,Promise.race([this.loadNextAd(),t]);case 18:e.next=23;break;case 20:return e.prev=20,e.t1=e.catch(15),e.abrupt("return",this._emitError("timeout"===e.t1?"start timeout":"start err"));case 23:e.next=2;break;case 25:return e.abrupt("return",this._emitError("start after stop"));case 26:case"end":return e.stop()}},e,this,[[3,11],[15,20]])})),function(){return r.apply(this,arguments)})},{key:"stopAd",value:(n=(0,d.default)(f.default.mark(function e(){var t,n,r,i=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.__private__.stopped)return e.abrupt("return");e.next=2;break;case 2:for(this.__private__.stopped=!0,t=i.length,n=new Array(t),r=0;r<t;r++)n[r]=i[r];if(this.ready)return e.next=7,this._proxyMethod.apply(this,["stopAd"].concat(n));e.next=7;break;case 7:return this.emit(R.default.AdStopped),this.removeAllListeners(),this._cleanup(),this.__private__.container.remove(),e.abrupt("return",Promise.resolve());case 12:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"pauseAd",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._proxyMethod.apply(this,["pauseAd"].concat(t))}},{key:"resumeAd",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._proxyMethod.apply(this,["resumeAd"].concat(t))}},{key:"_cleanup",value:function(){this.__private__.ready=!1,this._sandboxRO&&(this._sandboxRO.unobserve(this.container),this._sandboxRO=null),this.sandbox&&this.sandbox.remove(),this.container.innerHTML=""}},{key:"_proxyMethod",value:(t=(0,d.default)(f.default.mark(function e(t){var n,r,i,o,a=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.ready){e.next=2;break}throw new Error("VASTPlayer not ready.");case 2:for(r=a.length,i=new Array(1<r?r-1:0),o=1;o<r;o++)i[o-1]=a[o];return e.next=5,(n=this.__private__.player)[t].apply(n,i);case 5:return e.abrupt("return",this);case 6:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"_click",value:function(e,t,n,r){var i,o,a,s;Array.isArray(t)&&3===t.length&&(t=(i=(0,l.default)(t,3))[0],i[1],r=i[2]),r&&((o="string"==typeof t||t instanceof String&&(0,P.trim)(t))||e&&(o=this.adLinear?null===(a=e.videoClicks)||void 0===a?void 0:a.clickThrough:null===(s=e.ads[0])||void 0===s?void 0:s.clickThrough),o&&window.open((0,P.processMacros)(o)))}},{key:"_makeSandbox",value:function(e){var t=this;this.sandbox=(0,x.createTag)("iframe",[F.default.overlay],{width:0,height:0,pointerEvents:"all",visibility:"visible",position:"absolute",left:"50%",bottom:0,webkitTransform:"translateX(-50%)",msTransform:"translateX(-50%)",transform:"translateX(-50%)",boxShadow:"0 -2px 7px 0 rgba(0,0,0,0.7)"},{frameborder:0,width:0,height:0,allow:"encrypted-media *;",referrerpolicy:"unsafe-url"},{src:"about:blank",border:"none"}),this.container.appendChild(this.sandbox),this.sandbox.contentWindow.document.open(),this.sandbox.contentWindow.document.close(),this.sandbox.contentWindow.document.body.style.margin="0",this._scaleSandbox(e);var n=window.ResizeObserver;n&&(this._sandboxRO=new n(function(){return t._scaleSandbox(e)}),this._sandboxRO.observe(this.container))}},{key:"_scaleSandbox",value:function(e){var t=this.container.getBoundingClientRect(),n=t.width,r=t.height,i=(0,E.toContain)(e.width,e.height,n,r);this.sandbox.style.width=i.width+"px",this.sandbox.style.height=i.height+"px"}},{key:"_complete",value:function(){var r=this;(0,A.onceAny)(this,["AdVideoComplete","AdSkipped"]).then(function(){var e=r._config,t=e.maxImp,n=e.timeouts.toNextImp;t&&t==r.__private__.wasImpressions?r.stopper(300,["AdError","AdStopped"]):n&&r.stopper(n,["AdImpression"])})}},{key:"stopper",value:function(e,t,n,r){var i=this,o=setTimeout(function(){n&&n(r),i.stopAd()},e);(0,A.onceAny)(this,t).then(function(){clearTimeout(o)})}},{key:"_bindGlobalTimeout",value:function(){var t=this,e=this._config.timeouts.global,n=0;this.once("AdLoaded",function(){var e=Date.now();t.once("startingAd",function(){return n=Date.now()-e})}),(0,O.sleep)(e).then(function(){return(0,O.sleep)(n)}).then(function(){t.__private__.stopped||(t.emit("AdError","global timeout "+(0,O.msToS)(e+"ms")),t.stopAd())})}},{key:"container",get:function(){return this.__private__.container}},{key:"vast",get:function(){return this.__private__.vast}},{key:"ready",get:function(){return this.__private__.ready}},{key:"adLinear",get:function(){return this.__private__.linear}},{key:"adSkippableState",get:function(){var e,t=this.__private__;return(null===(e=t.player)||void 0===e?void 0:e.adSkippableState)||t.adSkippableState||!1}},{key:"adExpanded",get:function(){var e;return(null===(e=this.__private__.player)||void 0===e?void 0:e.adExpanded)||!1}},{key:"adRemainingTime",get:function(){return this.ready?this.__private__.player.adRemainingTime:-2}},{key:"adDuration",get:function(){return this.ready?this.__private__.player.adDuration:-2}},{key:"adVolume",get:function(){return this.ready?this.__private__.player.adVolume:this.__private__.currentVolume},set:function(n){var r=this;n!==(0,S.last)(this.__private__.settingVolume)&&(this.__private__.settingVolume.push(n),this.__private__.volumeMutex.use((0,d.default)(f.default.mark(function e(){var t;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=r._config.logger.extend("volume"))("try set %s",n),r.__private__.currentVolume=n,r.ready){e.next=6;break}return t("ignore set before ready"),e.abrupt("return");case 6:if(r._config.disableVolumeCheck)return t("set w/o check",n),r.__private__.player.adVolume=n,e.abrupt("return");e.next=10;break;case 10:if(r.__private__.player instanceof z.default&&n)return e.prev=11,e.next=14,(0,T.default)();e.next=24;break;case 14:t("autoplay allowed, set %s",n),r.__private__.player.adVolume=n,e.next=22;break;case 18:e.prev=18,e.t0=e.catch(11),t("autoplay denied, mute"),r.__private__.player.adVolume=0;case 22:e.next=26;break;case 24:t("set %s",n),r.__private__.player.adVolume=n;case 26:case"end":return e.stop()}},e,null,[[11,18]])}))).finally(function(){return r.__private__.settingVolume.shift()}))}}]),u}(o.default);t.default=s},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t){e.exports=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(e,t,n){var r=function(a){"use strict";var f,e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},i=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function s(e,t,n,r){var o,a,s,c,i=t&&t.prototype instanceof g?t:g,u=Object.create(i.prototype),l=new E(r||[]);return u._invoke=(o=e,a=n,s=l,c=h,function(e,t){if(c===v)throw new Error("Generator is already running");if(c===m){if("throw"===e)throw t;return P()}for(s.method=e,s.arg=t;;){var n=s.delegate;if(n){var r=function e(t,n){var r=t.iterator[n.method];if(r===f){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=f,e(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=f),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}(n,s);if(r){if(r===y)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(c===h)throw c=m,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);c=v;var i=d(o,a,s);if("normal"===i.type){if(c=s.done?m:p,i.arg===y)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(c=m,s.method="throw",s.arg=i.arg)}}),u}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var h="suspendedStart",p="suspendedYield",v="executing",m="completed",y={};function g(){}function o(){}function c(){}var u={};u[i]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(S([])));_&&_!==e&&l.call(_,i)&&(u=_);var w=c.prototype=g.prototype=Object.create(u);function A(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(c,u){var t;this._invoke=function(n,r){function e(){return new u(function(e,t){!function t(e,n,r,i){var o=d(c[e],c,n);if("throw"!==o.type){var a=o.arg,s=a.value;return s&&"object"==typeof s&&l.call(s,"__await")?u.resolve(s.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):u.resolve(s).then(function(e){a.value=e,r(a)},function(e){return t("throw",e,r,i)})}i(o.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=f,e.done=!0,e};return r.next=r}}return{next:P}}function P(){return{value:f,done:!0}}return(o.prototype=w.constructor=c).constructor=o,c[r]=o.displayName="GeneratorFunction",a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,r in e||(e[r]="GeneratorFunction")),e.prototype=Object.create(w),e},a.awrap=function(e){return{__await:e}},A(k.prototype),k.prototype[n]=function(){return this},a.AsyncIterator=k,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new k(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},A(w),w[r]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},a.keys=function(n){var r=[];for(var e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=f)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=f),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r,i=n.completion;return"throw"===i.type&&(r=i.arg,O(n)),r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=f),y}},a}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(n,e){function r(e,t){return n.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.exports=r},function(e,t,n){var r=n(27);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=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(e,t,n){var r=n(32),i=n(57);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},function(e,t,n){(t=n(33)(!0)).push([e.i,".skipBtn__reset {\n    color: inherit;\n    background-color: transparent;\n    padding: 0;\n    margin: 0;\n    float: none;\n    font-family: Arial, Tahoma, sans-serif;\n    font-size: 1em;\n    line-height: 1em;\n    list-style: none;\n    text-align: left;\n    text-transform: none;\n    vertical-align: baseline;\n    border: 0;\n    direction: ltr;\n    font-variant: inherit;\n    font-stretch: inherit;\n    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n    -webkit-box-sizing: border-box;\n    box-sizing: border-box;\n}\n\n.skipBtn__btn {\n    display: inline-block;\n    padding: 10px;\n    font-size: 12px;\n    outline: none;\n}\n\n.skipBtn__btn-skip {\n    cursor: default;\n    background-color: rgba(33, 33, 33, 0.6);\n    color: #ffffff;\n    pointer-events: none;\n\n    position: absolute;\n    bottom: 18%;\n    float: left;\n}\n\n.skipBtn__btn-skip.skipBtn__active {\n    color: #000000;\n    background: #ffffff 0 !important;\n    -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.8);\n    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.8);\n    cursor: pointer;\n    pointer-events: all;\n}\n\n.skipBtn__btn-skip.skipBtn__active:hover {\n    -webkit-box-shadow: none;\n    box-shadow: none;\n}","",{version:3,sources:["skipBtn.css"],names:[],mappings:"AAAA;IACI,cAAc;IACd,6BAA6B;IAC7B,UAAU;IACV,SAAS;IACT,WAAW;IACX,sCAAsC;IACtC,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,oBAAoB;IACpB,wBAAwB;IACxB,SAAS;IACT,cAAc;IACd,qBAAqB;IACrB,qBAAqB;IACrB,mDAAmD;IACnD,8BAA8B;IAC9B,sBAAsB;AAC1B;;AAEA;IACI,qBAAqB;IACrB,aAAa;IACb,eAAe;IACf,aAAa;AACjB;;AAEA;IACI,eAAe;IACf,uCAAuC;IACvC,cAAc;IACd,oBAAoB;;IAEpB,kBAAkB;IAClB,WAAW;IACX,WAAW;AACf;;AAEA;IACI,cAAc;IACd,gCAAgC;IAChC,kDAAkD;IAClD,0CAA0C;IAC1C,eAAe;IACf,mBAAmB;AACvB;;AAEA;IACI,wBAAwB;IACxB,gBAAgB;AACpB",file:"skipBtn.css",sourcesContent:[".reset {\n    color: inherit;\n    background-color: transparent;\n    padding: 0;\n    margin: 0;\n    float: none;\n    font-family: Arial, Tahoma, sans-serif;\n    font-size: 1em;\n    line-height: 1em;\n    list-style: none;\n    text-align: left;\n    text-transform: none;\n    vertical-align: baseline;\n    border: 0;\n    direction: ltr;\n    font-variant: inherit;\n    font-stretch: inherit;\n    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n    -webkit-box-sizing: border-box;\n    box-sizing: border-box;\n}\n\n.btn {\n    display: inline-block;\n    padding: 10px;\n    font-size: 12px;\n    outline: none;\n}\n\n.btn-skip {\n    cursor: default;\n    background-color: rgba(33, 33, 33, 0.6);\n    color: #ffffff;\n    pointer-events: none;\n\n    position: absolute;\n    bottom: 18%;\n    float: left;\n}\n\n.btn-skip.active {\n    color: #000000;\n    background: #ffffff 0 !important;\n    -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.8);\n    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.8);\n    cursor: pointer;\n    pointer-events: all;\n}\n\n.btn-skip.active:hover {\n    -webkit-box-shadow: none;\n    box-shadow: none;\n}"]}]),t.locals={reset:"skipBtn__reset",btn:"skipBtn__btn","btn-skip":"skipBtn__btn-skip",active:"skipBtn__active"},e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorMessage=function(e){var t,n,r;if(!e)return"TODO";if("string"==typeof e)return e;var i=null===(t=e.response)||void 0===t?void 0:t.status;return 400<=i?i:e.message?e.message:a(e.code)||a(null===(n=e.request)||void 0===n?void 0:n.status)||a(null===(r=e.request)||void 0===r?void 0:r.status_code)||s(e)},t.strErr=function(e){return e?e instanceof Error?e.message:"string"==typeof e?e:s(e):"TODO"},t.shortAxiosErr=function(e){var t,n,r=null===(t=e.response)||void 0===t?void 0:t.status;if(r)return""+r;var i=null==e||null===(n=e.message)||void 0===n?void 0:n.match(/timeout of (\d+ms) exceeded/);return i?"axios timeout "+(0,o.msToS)(i[1]):e};var o=n(16);function a(e){return null==e?"":"number"==typeof e?""+e:"string"==typeof e&&e?e:""}function s(t){try{return JSON.stringify(t)}catch(e){return t}}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),a=r(n(5)),s=r(n(1)),c=r(n(2)),u=r(n(6)),l=r(n(7)),f=r(n(8)),i=r(n(13)),d=r(n(12)),h=r(n(60));var p=(0,d.default)("lib:observers:view"),v=function(e){(0,u.default)(i,e);var t,r=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,f.default)(r),n=i?(e=(0,f.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,l.default)(this,n)}}(i);function i(e,t){var n;return(0,s.default)(this,i),(n=r.call(this))._container=e,n._vars={unmeasurable:null,vblt:null,wasViewableCompleted:!1},n._vars.ready=new Promise(function(e){return n._vars.readyResolver=e}),n._measure(!!t),n._logger(),n}return(0,c.default)(i,[{key:"_logger",value:function(){var t=this;this.once("unmeasureable",function(){return p("unmeasureable %o",t._container)}),this.once("complete",function(){return p("complete %o",t._container)}),this.on("change",function(e){return p("change %o, metrics: %o",t._container,e)})}},{key:"_measure",value:function(e){var r=this,t={autostart:e};this.vv=new h.default(this._container,t).onViewableChange(function(e){var t=Math.min(Math.round(100*e.percentViewable),100),n=[Math.min(e.elementWidth,e.viewportWidth),Math.min(e.elementHeight,e.viewportHeight)];r._vars.vblt=t,r._vars.readyResolver(),r.emit("change",{viewability:t,viewport:n})}).onViewableComplete(function(){r._vars.wasViewableCompleted=!0,r._vars.readyResolver(),r.emit("complete")}).onUnmeasureable(function(){r._vars.unmeasurable=!0,r._vars.readyResolver(),r.emit("unmeasureable")}),p("measure %o",this._container,t)}},{key:"start",value:function(){if(!this._vars.unmeasurable)try{this.vv.start()}catch(e){}}},{key:"dispose",value:function(){this.removeAllListeners(),this.vv.dispose()}},{key:"awaitForVisibleIfPossible",value:(t=(0,a.default)(o.default.mark(function e(t){var r,i=this,n=arguments;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=1<n.length&&void 0!==n[1]?n[1]:1,e.next=3,this.ready;case 3:if(this.unmeasurable)return e.abrupt("return",!1);e.next=5;break;case 5:if(this.viewability>r)return e.abrupt("return",this.viewability);e.next=7;break;case 7:return e.abrupt("return",new Promise(function(n,e){t&&setTimeout(function(){return e("wait-visible-timeout")},t),i.on("change",function(e){var t=e.viewability;return r<t&&n(t)})}));case 8:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"unmeasurable",get:function(){return this._vars.unmeasurable}},{key:"viewability",get:function(){return this.unmeasurable?null:this._vars.vblt}},{key:"ready",get:function(){return this._vars.ready}}]),i}(i.default);t.default=v},function(e,t,n){"use strict";var r=n(34),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=i(n(2)),s=r(n(61)),c=i(n(62)),u=n(35),l=n(11),f=function(){function i(e,t){var n=this;(0,o.default)(this,i),this._listeners={start:[],stop:[],change:[],complete:[],unmeasureable:[]},this._element=e,this._strategy=Object.assign({},u.DEFAULT_STRATEGY,t),this._criteriaMet=!1;var r=this._technique=this._strategy.techniques.map(function(e){return new e(n._element,n._strategy.criteria)}).find(function(e){return!e.unmeasureable});r&&this._listenTo(r),this.unmeasureable?setTimeout(function(){return n._publish(s.UNMEASUREABLE,(0,l.getDetails)(n._element))},0):this._strategy.autostart&&this._technique.start()}return(0,a.default)(i,[{key:"start",value:function(){this._technique.start()}},{key:"dispose",value:function(){this._technique&&this._technique.dispose(),this.timer&&this.timer.dispose()}},{key:"onViewableChange",value:function(e){return this._on(s.CHANGE,e)}},{key:"onViewableComplete",value:function(e){return this._on(s.COMPLETE,e),this._criteriaMet&&this._handle(s.COMPLETE),this}},{key:"onUnmeasureable",value:function(e){return this._on(s.UNMEASUREABLE,e),this.unmeasureable&&this._handle(s.UNMEASUREABLE),this}},{key:"_listenTo",value:function(e){e.onInView(this._handle.bind(this,s.INVIEW)),e.onChangeView(this._handle.bind(this,s.CHANGE)),e.onOutView(this._handle.bind(this,s.OUTVIEW))}},{key:"_handle",value:function(e){var t,n,r,i,o,a;switch(e){case s.INVIEW:if(this._criteriaMet)break;this.timer=new c.default(this._strategy.criteria.timeInView),this.timer.elapsed(this._handle.bind(this,s.COMPLETE)),this.timer.start(),t=s.START;break;case s.CHANGE:t=e;break;case s.COMPLETE:this._criteriaMet||(this._criteriaMet=!0,t=e);break;case s.OUTVIEW:this._criteriaMet||(this.timer&&(this.timer.stop(),delete this.timer),t=s.STOP);break;case s.UNMEASUREABLE:t=s.UNMEASUREABLE}t&&(r=this._technique,i=this._element,o=(r=r||{}).percentViewable,a=r.viewable,n=Object.assign({percentViewable:null==o?-1:o,technique:r.techniqueName||-1,viewable:null==a?-1:a},(0,l.getDetails)(i)),this._publish(t,n))}},{key:"_publish",value:function(e,t){e in this._listeners&&this._listeners[e].forEach(function(e){return e(t)})}},{key:"_on",value:function(e,t){if("function"!=typeof t)throw"callback must be a function";return this._listeners[e].push(t),this}},{key:"unmeasureable",get:function(){return!this._technique||this._technique.unmeasureable}}]),i}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OUTVIEW=t.INVIEW=t.UNMEASUREABLE=t.COMPLETE=t.CHANGE=t.STOP=t.START=void 0,t.START="start",t.STOP="stop",t.CHANGE="change",t.COMPLETE="complete",t.UNMEASUREABLE="unmeasureable",t.INVIEW="inview",t.OUTVIEW="outview"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(2)),a=function(){function t(e){(0,i.default)(this,t),this.duration=e,this.listeners=[],this.completed=!1}return(0,o.default)(t,[{key:"timerComplete",value:function(){this.completed=!0,this.listeners.forEach(function(e){return e()})}},{key:"elapsed",value:function(e){"function"==typeof e&&this.listeners.push(e)}},{key:"start",value:function(){this.endTimer(),this.timer=setTimeout(this.timerComplete.bind(this),this.duration)}},{key:"stop",value:function(){this.endTimer()}},{key:"endTimer",value:function(){this.timer&&(clearTimeout(this.timer),this.listeners.length=0)}},{key:"dispose",value:function(){this.endTimer()}}]),t}();t.default=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),a=r(n(2)),s=r(n(6)),c=r(n(7)),u=r(n(8)),i=r(n(64)),l=n(65),f=n(35);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=function(e){(0,s.default)(i,e);var r=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,u.default)(r),n=i?(e=(0,u.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,c.default)(this,n)}}(i);function i(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:f.DEFAULT_STRATEGY.criteria;if((0,o.default)(this,i),t=r.call(this),!e)throw"element not provided";return t.element=e,t.criteria=n,t.inView=!1,t.started=!1,t.notificationLevels=Array.from({length:101},function(e,t){return t/100}),-1===t.notificationLevels.indexOf(t.criteria.inViewThreshold)&&t.notificationLevels.push(t.criteria.inViewThreshold),t}return(0,a.default)(i,[{key:"start",value:function(){this.observer=new window.IntersectionObserver(this.viewableChange.bind(this),{threshold:this.notificationLevels}),this.observer.observe(this.element)}},{key:"dispose",value:function(){this.observer&&(this.observer.unobserve(this.element),this.observer.disconnect())}},{key:"viewableChange",value:function(e){var t,n=function(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e){if(e){if("string"==typeof e)return d(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,void 0):void 0}}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},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 r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;void 0!==r.intersectionRatio&&(this.percentViewable=r.intersectionRatio,r.intersectionRatio<this.criteria.inViewThreshold&&this.started&&(this.inView=!1,this.listeners.outView.forEach(function(e){return e()})),r.intersectionRatio>=this.criteria.inViewThreshold&&!this.inView&&(this.started=!0,this.inView=!0,this.listeners.inView.forEach(function(e){return e()})),this.listeners.changeView.forEach(function(e){return e()}))}}catch(e){n.e(e)}finally{n.f()}}},{key:"unmeasureable",get:function(){return!window.IntersectionObserver||this.usesPolyfill||!(0,l.validElement)(this.element)}},{key:"viewable",get:function(){return this.inView}},{key:"techniqueName",get:function(){return"IntersectionObserver"}},{key:"usesPolyfill",get:function(){return"number"==typeof window.IntersectionObserver.prototype.THROTTLE_TIMEOUT}}]),i}(i.default);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(2)),a=function(){function e(){(0,i.default)(this,e),this.listeners={inView:[],outView:[],changeView:[]},this.percentViewable=0}return(0,o.default)(e,[{key:"onInView",value:function(e){return this.addCallback(e,"inView")}},{key:"onChangeView",value:function(e){return this.addCallback(e,"changeView")}},{key:"onOutView",value:function(e){return this.addCallback(e,"outView")}},{key:"addCallback",value:function(e,t){if("function"==typeof e&&this.listeners[t])this.listeners[t].push(e);else if("function"!=typeof e)throw"callback must be function";return this}},{key:"start",value:function(){}},{key:"dispose",value:function(){}},{key:"unmeasureable",get:function(){return!1}},{key:"viewable",get:function(){return!1}},{key:"techniqueName",get:function(){return"BaseTechnique"}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validElement=void 0,t.validElement=function(e){return e&&-1<e.toString().indexOf("Element")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customCriteria=t.MRC_DISPLAY=t.MRC_VIDEO=void 0,t.MRC_VIDEO={inViewThreshold:.5,timeInView:2e3},t.MRC_DISPLAY={inViewThreshold:.5,timeInView:1e3},t.customCriteria=function(e,t){return{inViewThreshold:0<arguments.length&&void 0!==e?e:.5,timeInView:1<arguments.length&&void 0!==t?t:2e3}}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.toContain=function(e,t,n,r){var i,o;return n<e&&(t/=i=e/n,e/=i),r<t&&(e/=o=t/r,t/=o),{width:e,height:t}},t.waitMinSize=function(e,t,n,r){return o.apply(this,arguments)};var a=r(n(4)),i=r(n(5)),s=r(n(20)),c=n(36);function o(){return(o=(0,i.default)(a.default.mark(function e(t,n,r,i){var o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("desktop"!==s.default.device.type||u(t,n,r))return e.abrupt("return");e.next=2;break;case 2:if(window.ResizeObserver){e.next=5;break}return e.next=5,new Promise(function(e,t){i.onabort=e,(0,c.makeScript)(c.CDN+"/npm/resize-observer-polyfill/dist/ResizeObserver.js",e,t)});case 5:if(i.aborted)return e.abrupt("return");e.next=7;break;case 7:return e.abrupt("return",new Promise(function(e){i.onabort=e,(o=new ResizeObserver(function(){u(t,n,r)&&e()})).observe(t)}).finally(function(){o.unobserve(t)}));case 8:case"end":return e.stop()}},e)}))).apply(this,arguments)}function u(e,t,n){var r=e.getBoundingClientRect(),i=r.width,o=r.height;return t<=i&&n<=o}},function(_,w,A){var k;!function(i,f){"use strict";var e="model",t="name",n="type",r="vendor",o="version",a="architecture",s="console",c="mobile",u="tablet",l="smarttv",d="wearable",h={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:f},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},p={rgx:function(e,t){for(var n,r,i,o,a,s=0;s<t.length&&!o;){for(var c=t[s],u=t[s+1],l=n=0;l<c.length&&!o;)if(o=c[l++].exec(e))for(r=0;r<u.length;r++)a=o[++n],"object"==typeof(i=u[r])&&0<i.length?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,a):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=a?a.replace(i[1],i[2]):f:this[i[0]]=a?i[1].call(this,a,i[2]):f:4==i.length&&(this[i[0]]=a?i[3].call(this,a.replace(i[1],i[2])):f):this[i]=a||f;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&0<t[n].length){for(var r=0;r<t[n].length;r++)if(h.has(t[n][r],e))return"?"===n?f:n}else if(h.has(t[n],e))return"?"===n?f:n;return e}},v={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},m={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[t,o],[/(opios)[\/\s]+([\w\.]+)/i],[[t,"Opera Mini"],o],[/\s(opr)\/([\w\.]+)/i],[[t,"Opera"],o],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[t,o],[/(konqueror)\/([\w\.]+)/i],[[t,"Konqueror"],o],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[t,"IE"],o],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[t,"Edge"],o],[/(yabrowser)\/([\w\.]+)/i],[[t,"Yandex"],o],[/(Avast)\/([\w\.]+)/i],[[t,"Avast Secure Browser"],o],[/(AVG)\/([\w\.]+)/i],[[t,"AVG Secure Browser"],o],[/(puffin)\/([\w\.]+)/i],[[t,"Puffin"],o],[/(focus)\/([\w\.]+)/i],[[t,"Firefox Focus"],o],[/(opt)\/([\w\.]+)/i],[[t,"Opera Touch"],o],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[t,"UCBrowser"],o],[/(comodo_dragon)\/([\w\.]+)/i],[[t,/_/g," "],o],[/(windowswechat qbcore)\/([\w\.]+)/i],[[t,"WeChat(Win) Desktop"],o],[/(micromessenger)\/([\w\.]+)/i],[[t,"WeChat"],o],[/(brave)\/([\w\.]+)/i],[[t,"Brave"],o],[/(qqbrowserlite)\/([\w\.]+)/i],[t,o],[/(QQ)\/([\d\.]+)/i],[t,o],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[t,o],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[t,o],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[t,o],[/(MetaSr)[\/\s]?([\w\.]+)/i],[t],[/(LBBROWSER)/i],[t],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[o,[t,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[o,[t,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[t,o],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[o,[t,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[t,/(.+)/,"$1 WebView"],o],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[t,/(.+(?:g|us))(.+)/,"$1 $2"],o],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[o,[t,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[t,"Sailfish Browser"],o],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[t,o],[/(dolfin)\/([\w\.]+)/i],[[t,"Dolphin"],o],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[t,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[t,"Chrome"],o],[/(coast)\/([\w\.]+)/i],[[t,"Opera Coast"],o],[/fxios\/([\w\.-]+)/i],[o,[t,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[o,[t,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[o,t],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[t,"GSA"],o],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[t,[o,p.str,v.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[t,o],[/(navigator|netscape)\/([\w\.-]+)/i],[[t,"Netscape"],o],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[t,o]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[a,"amd64"]],[/(ia32(?=;))/i],[[a,h.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[a,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[a,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[a,/ower/,"",h.lowerize]],[/(sun4\w)[;\)]/i],[[a,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[a,h.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[e,r,[n,u]],[/applecoremedia\/[\w\.]+ \((ipad)/],[e,[r,"Apple"],[n,u]],[/(apple\s{0,1}tv)/i],[[e,"Apple TV"],[r,"Apple"],[n,l]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[r,e,[n,u]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[e,[r,"Amazon"],[n,u]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[e,p.str,v.device.amazon.model],[r,"Amazon"],[n,c]],[/android.+aft([bms])\sbuild/i],[e,[r,"Amazon"],[n,l]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[e,r,[n,c]],[/\((ip[honed|\s\w*]+);/i],[e,[r,"Apple"],[n,c]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[r,e,[n,c]],[/\(bb10;\s(\w+)/i],[e,[r,"BlackBerry"],[n,c]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[e,[r,"Asus"],[n,u]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[r,"Sony"],[e,"Xperia Tablet"],[n,u]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[e,[r,"Sony"],[n,c]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[r,e,[n,s]],[/android.+;\s(shield)\sbuild/i],[e,[r,"Nvidia"],[n,s]],[/(playstation\s[34portablevi]+)/i],[e,[r,"Sony"],[n,s]],[/(sprint\s(\w+))/i],[[r,p.str,v.device.sprint.vendor],[e,p.str,v.device.sprint.model],[n,c]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[r,[e,/_/g," "],[n,c]],[/(nexus\s9)/i],[e,[r,"HTC"],[n,u]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],[e,[r,"Huawei"],[n,c]],[/android.+(bah2?-a?[lw]\d{2})/i],[e,[r,"Huawei"],[n,u]],[/(microsoft);\s(lumia[\s\w]+)/i],[r,e,[n,c]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[e,[r,"Microsoft"],[n,s]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[r,"Microsoft"],[n,c]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[e,[r,"Motorola"],[n,c]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[r,"Motorola"],[n,u]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[r,h.trim],[e,h.trim],[n,l]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[r,"Samsung"],[n,l]],[/\(dtv[\);].+(aquos)/i],[e,[r,"Sharp"],[n,l]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[r,"Samsung"],e,[n,u]],[/smart-tv.+(samsung)/i],[r,[n,l],e],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[r,"Samsung"],e,[n,c]],[/sie-(\w*)/i],[e,[r,"Siemens"],[n,c]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[r,"Nokia"],e,[n,c]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[e,[r,"Acer"],[n,u]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[r,"LG"],[n,u]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[r,"LG"],e,[n,u]],[/(lg) netcast\.tv/i],[r,e,[n,l]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[e,[r,"LG"],[n,c]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[r,e,[n,u]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[e,[r,"Lenovo"],[n,u]],[/(lenovo)[_\s-]?([\w-]+)/i],[r,e,[n,c]],[/linux;.+((jolla));/i],[r,e,[n,c]],[/((pebble))app\/[\d\.]+\s/i],[r,e,[n,d]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[r,e,[n,c]],[/crkey/i],[[e,"Chromecast"],[r,"Google"],[n,l]],[/android.+;\s(glass)\s\d/i],[e,[r,"Google"],[n,d]],[/android.+;\s(pixel c)[\s)]/i],[e,[r,"Google"],[n,u]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[e,[r,"Google"],[n,c]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[r,"Xiaomi"],[n,c]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[r,"Xiaomi"],[n,u]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[e,[r,"Meizu"],[n,c]],[/(mz)-([\w-]{2,})/i],[[r,"Meizu"],e,[n,c]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[e,[r,"OnePlus"],[n,c]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[e,[r,"RCA"],[n,u]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[e,[r,"Dell"],[n,u]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[e,[r,"Verizon"],[n,u]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[r,"Barnes & Noble"],e,[n,u]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[e,[r,"NuVision"],[n,u]],[/android.+;\s(k88)\sbuild/i],[e,[r,"ZTE"],[n,u]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[e,[r,"Swiss"],[n,c]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[e,[r,"Swiss"],[n,u]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[e,[r,"Zeki"],[n,u]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[r,"Dragon Touch"],e,[n,u]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[e,[r,"Insignia"],[n,u]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[e,[r,"NextBook"],[n,u]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[r,"Voice"],e,[n,c]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[r,"LvTel"],e,[n,c]],[/android.+;\s(PH-1)\s/i],[e,[r,"Essential"],[n,c]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[e,[r,"Envizen"],[n,u]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[r,e,[n,u]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[e,[r,"MachSpeed"],[n,u]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[r,e,[n,u]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[e,[r,"Rotor"],[n,u]],[/android.+(KS(.+))\s+build/i],[e,[r,"Amazon"],[n,u]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[r,e,[n,u]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[n,h.lowerize],r,e],[/[\s\/\(](smart-?tv)[;\)]/i],[[n,l]],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[r,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[o,[t,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[o,[t,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[t,o],[/rv\:([\w\.]{1,9}).+(gecko)/i],[o,t]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[t,o],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[t,[o,p.str,v.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[t,"Windows"],[o,p.str,v.os.windows.version]],[/\((bb)(10);/i],[[t,"BlackBerry"],o],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[t,o],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[t,"Symbian"],o],[/\((series40);/i],[t],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[t,"Firefox OS"],o],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[t,o],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[t,"Chromium OS"],o],[/(sunos)\s?([\w\.\d]*)/i],[[t,"Solaris"],o],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[t,o],[/(haiku)\s(\w+)/i],[t,o],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[o,/_/g,"."],[t,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[t,"Mac OS"],[o,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[t,o]]},y=function(e,t){if("object"==typeof e&&(t=e,e=f),!(this instanceof y))return new y(e,t).getResult();var n=e||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=t?h.extend(m,t):m;return this.getBrowser=function(){var e={name:f,version:f};return p.rgx.call(e,n,r.browser),e.major=h.major(e.version),e},this.getCPU=function(){var e={architecture:f};return p.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:f,model:f,type:f};return p.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:f,version:f};return p.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:f,version:f};return p.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};y.VERSION="0.7.21",y.BROWSER={NAME:t,MAJOR:"major",VERSION:o},y.CPU={ARCHITECTURE:a},y.DEVICE={MODEL:e,VENDOR:r,TYPE:n,CONSOLE:s,MOBILE:c,SMARTTV:l,TABLET:u,WEARABLE:d,EMBEDDED:"embedded"},y.ENGINE={NAME:t,VERSION:o},y.OS={NAME:t,VERSION:o},void 0!==w?(void 0!==_&&_.exports&&(w=_.exports=y),w.UAParser=y):(k=function(){return y}.call(w,A,w,_))===f||(_.exports=k);var g,b=i&&(i.jQuery||i.Zepto);b&&!b.ua&&(g=new y,b.ua=g.getResult(),b.ua.get=function(){return g.getUA()},b.ua.set=function(e){g.setUA(e);var t=g.getResult();for(var n in t)b.ua[n]=t[n]})}("object"==typeof window?window:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.byDesc=t.last=void 0,t.last=function(e){return e[e.length-1]},t.byDesc=function(n){return function(e,t){return t[n]-e[n]}}},function(e,t,n){"use strict";var r=n(0),f=r(n(4)),d=r(n(19)),i=r(n(5));function c(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e){if(e){if("string"==typeof e)return s(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,void 0):void 0}}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},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 r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=n(71),o=n(74).create({timeout:5e3}),a=n(23),u=a.copy,l=a.defaults,p=n(11).processURI,v=Array.prototype.push;function m(e){return!e.response&&Boolean(e.code)&&"ECONNABORTED"!==e.code}function y(e){return!m(e)&&"Network Error"===e.message}var g=function(t){return o.get(t,{withCredentials:!0}).catch(function(e){return m(e)?o.get(t,{withCredentials:!0}).catch(function(e){return y(e)?o.get(t,{withCredentials:!1}):Promise.reject(e)}):y(e)?o.get(t,{withCredentials:!1}):Promise.reject(e)})};function b(e){u(e,this,!0),this.ads.forEach(function(e){e.system=e.system||{},e.errors=e.errors||[],e.creatives.forEach(function(e){var t=e.type;"linear"==t?e.trackingEvents=e.trackingEvents||[]:"nonLinear"==t?(e.trackingEvents=e.trackingEvents||[],e.ads.forEach(function(e){e.clickTracking=e.clickTracking||[]})):"companions"==t&&e.companions.forEach(function(e){e.trackingEvents=e.trackingEvents||[]})})})}function _(){return w.apply(this,arguments)}function w(){return(w=(0,i.default)(f.default.mark(function e(){var t,n,r,i,o,a,s=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=1<s.length?s[1]:void 0,n=[],r=c(0<s.length&&void 0!==s[0]?s[0]:[]),e.prev=4,r.s();case 6:if((i=r.n()).done){e.next=19;break}if(o=i.value,P(o))return n.push(o),e.abrupt("continue",17);e.next=11;break;case 11:return e.next=13,x(o,t,!1);case 13:if(!(a=e.sent).length&&o.fallbackOnNoAd)return e.abrupt("return");e.next=16;break;case 16:n.push.apply(n,(0,d.default)(a));case 17:e.next=6;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(4),r.e(e.t0);case 24:return e.prev=24,r.f(),e.finish(24);case 27:return e.abrupt("return",n.length&&n);case 28:case"end":return e.stop()}},e,null,[[4,21,24,27]])}))).apply(this,arguments)}function A(){return k.apply(this,arguments)}function k(){return(k=(0,i.default)(f.default.mark(function e(){var t,n,r,i,o,a,s=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=1<s.length?s[1]:void 0,n=!(2<s.length&&void 0!==s[2])||s[2],r=c(0<s.length&&void 0!==s[0]?s[0]:[]),e.prev=4,r.s();case 6:if((i=r.n()).done){e.next=17;break}if(o=i.value,P(o))return e.abrupt("return",[o]);e.next=10;break;case 10:return e.next=12,x(o,t,n);case 12:if((a=e.sent).length)return e.abrupt("return",a);e.next=15;break;case 15:e.next=6;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(4),r.e(e.t0);case 22:return e.prev=22,r.f(),e.finish(22);case 25:return e.abrupt("return",null);case 26:case"end":return e.stop()}},e,null,[[4,19,22,25]])}))).apply(this,arguments)}function x(){return O.apply(this,arguments)}function O(){return(O=(0,i.default)(f.default.mark(function e(t){var n,r,i,o,a,s=arguments;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!(2<s.length&&void 0!==s[2])||s[2],n=1<s.length&&void 0!==s[1]?s[1]:15){e.next=4;break}return e.abrupt("return",[]);case 4:return e.next=6,g(t.vastAdTagURI).then(E).catch(function(){return[]});case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0=[];case 9:return(i=e.t0).forEach(function(e){return function(e,t){e.vastAdTagURI=p(e.vastAdTagURI),t._removeCredentials=!!e._removeCredentials,l(e.impressions,t.impressions),l(e.errors,t.errors),l(e.extensions,t.extensions);for(var n,r={},i=0,o=["linear","companions","nonLinear"];i<o.length;i++)r[n=o[i]]=e.creatives.filter(function(e){return e.type===n});if(t.creatives.forEach(function(e){return l(r[e.type].shift()||{},e)}),"wrapper"===t.type)for(var a=0,s=["linear","companions","nonLinear"];a<s.length;a++)n=s[a],v.apply(t.creatives,r[n]);return t}(t,e)}),o=C(i),a=T(i),1===o.length&&(a=[o.pop()].concat((0,d.default)(a))),t.followAdditonalWrappers||(a=a.filter(P),o=o.find(function(e){return!P(e)&&e.fallbackOnNoAd})?[]:o.filter(P)),r&&t.allowMultipleAds||(o=[]),e.next=18,_(o,n-1);case 18:if(e.t2=e.sent,e.t2){e.next=23;break}return e.next=22,A(a,n-1,r&&t.allowMultipleAds);case 22:e.t2=e.sent;case 23:if(e.t1=e.t2,e.t1){e.next=26;break}e.t1=[];case 26:return e.abrupt("return",e.t1);case 27:case"end":return e.stop()}},e)}))).apply(this,arguments)}function E(e){var t=e.data,n=e.status,r=h(t,n);return r.ads.map(function(e){return e._version=r.version,e})}function S(e){return!e.sequence||"0"===e.sequence}var P=function(e){return"inline"===e.type},T=function(e){return(e||[]).filter(S)},C=function(e){return(e||[]).filter(function(e){return!S(e)}).sort(function(e,t){return e.sequence<t.sequence?-1:e.sequence>t.sequence?1:0})};b.fetch=function(){var n=(0,i.default)(f.default.mark(function e(t,n){var r,i,o,a,s,c,u,l;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=null==n?void 0:n.maxRedirects,e.next=3,g(p(t));case 3:return i=e.sent,o=h(i.data,i.status),a=o.ads,s=o.version,c=C(a),u=1===c.length?[c.pop()].concat((0,d.default)(T(a))):T(a),e.next=9,_(c,r);case 9:if(e.t1=e.sent,e.t1){e.next=14;break}return e.next=13,A(u,r);case 13:e.t1=e.sent;case 14:if(e.t0=e.t1,e.t0){e.next=17;break}e.t0=[];case 17:if((l=e.t0).length){e.next=20;break}throw"no resolved ads";case 20:return e.abrupt("return",new b({version:s,ads:l}));case 21:case"end":return e.stop()}},e)}));return function(e,t){return n.apply(this,arguments)}}(),t.VAST=b},function(e,t,n){"use strict";var l=n(0)(n(15)),r=n(72),o=r.strToBool,f=r.toNum,d=n(73),a=n(16).toSeconds,h=n(23).trimObject,p=n(11).processURI;e.exports=function(e,t){if(204==t||!e)throw"no xml";var n=d(e),r=n("VAST"),i=(0,l.default)(r,1)[0];if(!i)throw new Error("VAST tag not found");var o=n("Ad").map(function(e){var t=e.single("Wrapper,InLine"),n="Wrapper"===t.tag,r=n?t.attributes:{},i=n?v:m;return Object.assign({id:e.attributes.id,sequence:f(e.attributes.sequence),system:e.single("AdSystem").map(function(e){return{name:e.value,version:e.attributes.version}}),errors:e.find("Error").map(function(e){return p(e.value)}),impressions:e.find("Impression").map(function(e){return{uri:p(e.value),id:e.attributes.id}}),extensions:e.find("Extension").map(y),creatives:e.find("Creative").map(b).filter(Boolean),fallbackOnNoAd:g(r.fallbackOnNoAd,!1),allowMultipleAds:g(r.allowMultipleAds,!0),followAdditonalWrappers:g(r.followAdditonalWrappers,!0)},i(e))});if(o.length)return h({ads:o,version:i.attributes.version},!0);var a=i.value;if(null!=a){var s=a.trim()||"empty";throw"VAST tag "+s}var c=i.children(),u=(0,l.default)(c,1)[0];if(u&&!u.children().length)throw"<"+u.tag+">";throw"no pojo ads"};var v=function(e){return{type:"wrapper",vastAdTagURI:e.single("VASTAdTagURI").value.trim()}},m=function(e){return{type:"inline",title:s(e.single("AdTitle").value),description:s(e.single("Description").value),survey:e.single("Survey").value}},s=function(e){return"string"!=typeof e?"":e.trim()};function y(e){return e.children=e.children().map(y),e}function g(e,t){var n=0<arguments.length&&void 0!==e?e:"",r=1<arguments.length?t:void 0;return(n=(n||"").trim()).length?o(n):r}function b(e){var t=e.single("Linear,CompanionAds,NonLinearAds"),n=i[t.tag];if(n)return Object.assign({id:e.attributes.id,sequence:f(e.attributes.sequence),adID:e.attributes.AdID},n(e))}var i={Linear:function(e){var t=e.find("VideoClicks")[0],n=a(e.single("Duration").value)||void 0,r=e.single("Linear").attributes.skipoffset;r=r?(r=r.trim()).endsWith("%")&&n?n*(parseFloat(r.split("%")[0])/100):a(r):void 0;var i=e.single("AdParameters").value;return"string"==typeof i&&(i=i.trim()),{type:"linear",duration:n,skipOffset:r,parameters:i,trackingEvents:e.find("Tracking").map(function(e){return{event:e.attributes.event,uri:e.value}}),videoClicks:t&&{clickThrough:s(t.single("ClickThrough").value),clickTrackings:t.find("ClickTracking").map(function(e){return p(e.value)}),customClicks:t.find("CustomClick").map(function(e){return{id:e.attributes.id,uri:p(e.value)}})},mediaFiles:e.find("MediaFile").map(function(e){var t=e.attributes,n=e.value;return{id:t.id,delivery:t.delivery,type:t.type,uri:p(n),bitrate:f(t.bitrate),width:f(t.width),height:f(t.height),scalable:o(t.scalable),maintainAspectRatio:o(t.maintainAspectRatio),apiFramework:t.apiFramework}})}},CompanionAds:function(e){return{type:"companions",companions:e.find("Companion").map(function(e){return{id:e.attributes.id,width:f(e.attributes.width),height:f(e.attributes.height),expandedWidth:f(e.attributes.expandedWidth),expandedHeight:f(e.attributes.expandedHeight),apiFramework:e.attributes.apiFramework,resources:c(e),trackingEvents:e.find("Tracking").map(function(e){return{event:e.attributes.event,uri:p(e.value)}}),clickThrough:s(s(e.single("CompanionClickThrough")).value),altText:e.single("AltText").value,parameters:e.single("AdParameters").value}})}},NonLinearAds:function(e){return{type:"nonLinear",ads:e.find("NonLinear").map(function(e){return{id:e.attributes.id,width:f(e.attributes.width),height:f(e.attributes.height),expandedWidth:f(e.attributes.expandedWidth),expandedHeight:f(e.attributes.expandedHeight),scalable:o(e.attributes.scalable),maintainAspectRatio:o(e.attributes.maintainAspectRatio),minSuggestedDuration:a(e.attributes.minSuggestedDuration)||void 0,apiFramework:e.attributes.apiFramework,resources:c(e),clickThrough:s(e.single("NonLinearClickThrough").value),clickTracking:e.find("NonLinearClickTracking").map(function(e){return p(e.value)}),parameters:e.single("AdParameters").value}}),trackingEvents:e.find("Tracking").map(function(e){return{event:e.attributes.event,uri:p(e.value)}})}}},c=function(e){return e.find("StaticResource,IFrameResource,HTMLResource").map(function(e){return{type:e.tag.replace(/Resource$/,"").toLowerCase(),creativeType:e.attributes.creativeType,data:s(e.value)}})}},function(e,t,n){"use strict";var r=n(0)(n(14));e.exports.strToBool=function(e){switch((e||"").toLowerCase()){case"true":case"1":return!0;case"false":case"0":return!1}},e.exports.toNum=function(e){if(/string|number|boolean/.test((0,r.default)(e)))return isNaN(e)?void 0:Number(e)}},function(e,t,n){"use strict";e.exports=function(e){var t=r.parseFromString(e,"application/xml");return function(e){return a(t.querySelectorAll(e))}};var r=new DOMParser,o=Array.prototype.reduce,a=function(e){return Array.prototype.map.call(e,i)},i=function r(i){return{tag:i.tagName,value:0<i.childElementCount?null:i.textContent,attributes:o.call(i.attributes,function(e,t){return e[t.name]=t.value,e},{}),single:function(e){var t=i.querySelector(e),n=t?r(t):{attributes:{}};return n.map=function(e){return e(n)},n},find:function(e){return a(i.querySelectorAll(e))},children:function(){return e=i.childNodes,Array.prototype.filter.call(e,function(e){return e instanceof Element}).map(r);var e}}}},function(e,t,n){e.exports=n(75)},function(e,t,n){"use strict";var r=n(3),i=n(37),o=n(76),a=n(43);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=s(n(40));c.Axios=o,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(44),c.CancelToken=n(89),c.isCancel=n(39),c.all=function(e){return Promise.all(e)},c.spread=n(90),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var i=n(3),r=n(38),o=n(77),a=n(78),s=n(43);function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e,t){"string"==typeof e?(e=t||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){n.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){n.push(e.fulfilled,e.rejected)});n.length;)r=r.then(n.shift(),n.shift());return r},c.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(n){c.prototype[n]=function(e,t){return this.request(i.merge(t||{},{method:n,url:e}))}}),i.forEach(["post","put","patch"],function(r){c.prototype[r]=function(e,t,n){return this.request(i.merge(n||{},{method:r,url:e,data:t}))}}),e.exports=c},function(e,t,n){"use strict";var r=n(3);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=i},function(e,t,n){"use strict";var r=n(3),i=n(79),o=n(39),a=n(40);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,n){"use strict";var r=n(3);e.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(e,t,n){"use strict";var i=n(3);e.exports=function(n,r){i.forEach(n,function(e,t){t!==r&&t.toUpperCase()===r.toUpperCase()&&(n[r]=e,delete n[t])})}},function(e,t,n){"use strict";var i=n(42);e.exports=function(e,t,n){var r=n.config.validateStatus;!r||r(n.status)?e(n):t(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(84),i=n(85);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var o=n(3),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,r,i={};return e&&o.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=o.trim(e.substr(0,r)).toLowerCase(),n=o.trim(e.substr(r+1)),t){if(i[t]&&0<=a.indexOf(t))return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}}),i}},function(e,t,n){"use strict";var r,i,o,a=n(3);function s(e){var t=e;return i&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}e.exports=a.isStandardBrowserEnv()?(i=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a"),r=s(window.location.href),function(e){var t=a.isString(e)?s(e):e;return t.protocol===r.protocol&&t.host===r.host}):function(){return!0}},function(e,t,n){"use strict";var s=n(3);e.exports=s.isStandardBrowserEnv()?{write:function(e,t,n,r,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),s.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),s.isString(r)&&a.push("path="+r),s.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(44);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i(function(e){t=e}),cancel:t}},e.exports=i},function(e,t,n){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}},function(e,l,f){"use strict";(function(e,r){var t=f(0);Object.defineProperty(l,"__esModule",{value:!0}),l.Mutex=l.Semaphore=void 0;var n=t(f(6)),o=t(f(7)),a=t(f(8)),i=t(f(1)),s=t(f(2));var c=function(){function t(e){(0,i.default)(this,t),this.tasks=[],this.count=e,this.initCount=e}return(0,s.default)(t,[{key:"updateCount",value:function(e){var t=e-this.initCount;this.count+=t,this.initCount=e,this.sched()}},{key:"sched",value:function(){for(;0<this.count&&0<this.tasks.length;){this.count--;var e=this.tasks.shift();if(void 0===e)throw"Unexpected undefined value in tasks list";e()}}},{key:"acquire",value:function(){var n=this;return new Promise(function(t){n.tasks.push(function(){var e=!1;t(function(){e||(e=!0,n.count++,n.sched())})}),e&&e.nextTick?e.nextTick(n.sched.bind(n)):r?r(n.sched.bind(n)):setTimeout(n.sched.bind(n),0)})}},{key:"use",value:function(e){return this.acquire().then(function(t){return e().then(function(e){return t(),e}).catch(function(e){throw t(),e})})}}]),t}();l.Semaphore=c;var u=function(){(0,n.default)(t,c);var e=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,a.default)(r),n=i?(e=(0,a.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,o.default)(this,n)}}(t);function t(){return(0,i.default)(this,t),e.call(this,1)}return t}();l.Mutex=u}).call(this,f(24),f(92).setImmediate)},function(e,i,o){(function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}i.setTimeout=function(){return new r(n.call(setTimeout,t,arguments),clearTimeout)},i.setInterval=function(){return new r(n.call(setInterval,t,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(t,this._id)},i.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},i.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},i._unrefActive=i.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},o(93),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,o(45))},function(e,t,n){(function(e,p){!function(n,r){"use strict";var i,o,a,s,c,u,t,l,e;function f(e){delete o[e]}function d(e){if(a)setTimeout(d,0,e);else{var t=o[e];if(t){a=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n)}}(t)}finally{f(e),a=!1}}}}function h(e){e.source===n&&"string"==typeof e.data&&0===e.data.indexOf(l)&&d(+e.data.slice(l.length))}n.setImmediate||(i=1,a=!(o={}),s=n.document,e=(e=Object.getPrototypeOf&&Object.getPrototypeOf(n))&&e.setTimeout?e:n,c="[object process]"==={}.toString.call(n.process)?function(e){p.nextTick(function(){d(e)})}:function(){if(n.postMessage&&!n.importScripts){var e=!0,t=n.onmessage;return n.onmessage=function(){e=!1},n.postMessage("","*"),n.onmessage=t,e}}()?(l="setImmediate$"+Math.random()+"$",n.addEventListener?n.addEventListener("message",h,!1):n.attachEvent("onmessage",h),function(e){n.postMessage(l+e,"*")}):n.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){d(e.data)},function(e){t.port2.postMessage(e)}):s&&"onreadystatechange"in s.createElement("script")?(u=s.documentElement,function(e){var t=s.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,u.removeChild(t),t=null},u.appendChild(t)}):function(e){setTimeout(d,0,e)},e.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return o[i]=r,c(i),i++},e.clearImmediate=f)}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(45),n(24))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.pixels=function(e,t,i,n){var o=function(e,t){var n,r,i={impression:e.impressions.map(function(e){return e.uri}),error:e.errors.slice()},o=e.creatives[0];if(!o||o.companions)return i;var a=t?null===(n=o.videoClicks)||void 0===n?void 0:n.clickTrackings:null===(r=o.ads[0])||void 0===r?void 0:r.clickTracking;return a&&(i.clickThrough=a.slice()),o.trackingEvents.forEach(function(e){var t=e.event,n=e.uri;i[t]?i[t].push(n):i[t]=[n]}),i}(e,t),r=i.adVolume;function a(e,t,n){var r=o[t];r&&r.length&&i.on(e,function(){r.forEach(n||s)})}function s(e){(new Image).src=(0,u.processURI)(n(e))}(o[f]||o[l])&&i.on(c.default.AdVolumeChange,function(){var e,t=i.adVolume;null!==(e=o[0===r&&0<t?l:0<r&&0===t?f:""])&&void 0!==e&&e.forEach(s),r=t}),a(c.default.AdError,"error",function(e){s(e.replace(/\[ERRORCODE]/g,901))}),a(c.default.AdSkipped,"skip"),a(c.default.AdStarted,"creativeView"),a(c.default.AdImpression,"impression"),a(c.default.AdVideoStart,"start"),a(c.default.AdVideoFirstQuartile,"firstQuartile"),a(c.default.AdVideoMidpoint,"midpoint"),a(c.default.AdVideoThirdQuartile,"thirdQuartile"),a(c.default.AdVideoComplete,"complete"),a(c.default.AdClickThru,"clickThrough"),a(c.default.AdUserAcceptInvitation,"acceptInvitationLinear"),a(c.default.AdUserMinimize,"collapse"),a(c.default.AdUserClose,"closeLinear"),a(c.default.AdPaused,"pause"),a(c.default.AdPlaying,"resume")};var c=r(n(9)),u=n(10),l="unmute",f="mute"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.vastStats=function(n,e,t,r,i,o,a,s,c){function u(e){n[E]&&(e.player=n[E]),(0,x.stats)(e)}function l(e,t){return u(O({category:e,action:t},d))}function f(e){l("vast",e)}var d={aid:e,hid:t,roll:i,ord:c,label:e,label2:t,label3:r,label5:o};function h(e,t){n.once(e,function(){v=t})}f("request");var p,v=".get";function m(e,t){var n=1<arguments.length&&void 0!==t?t:0;u(O(O({category:"time",action:e},d),{},{value:n}))}h("AdParsed",".load"),h("AdLoaded",".pre-start"),h("startingAd",".start"),h("AdImpression",""),n.once("AdError",function(e){p=!0,l("vast.err"+v,e)}).once("AdStopped",function(){p||f("stop"+v)}).once("error.video.load",function(e){return l("vast.err.video.load",e)}).once("error.video.start",function(e){return l("vast.err.video.start",e)}).on("force-muted",function(){return l("tech","force-muted")});var y=Date.now(),g=!1,b=0;n.once("AdLoaded",function(){f("loaded");var t=Date.now();m("loading",t-y),l("creativeType",n[E]),n.once("startingAd",function(){g=!0;var e=Date.now();b=e-t,n.once("AdImpression",function(){return m("starting",Date.now()-e)})})});var _,w=0;function A(e,t){n.once(e,function(){return f(t)})}function k(e,t){n.on(e,function(){return f(t)})}n.on("AdImpression",function(){w||(_=Date.now(),g||l("orderFail","impressionBeforeStartCalled")),w++,u(O(O({category:"vast",action:"impression"},d),{},{value:a,value2:s}))}).once("AdStopped",function(){var e=Date.now();w&&m("duration",Math.round((e-_)/w)),m(w?"ads":"fail",e-y-b)}),A("AdParsed","parsed"),A("preload","load"),A("JSLoaded","jsLoaded"),A("startingAd","start"),A("initAdCalled","initAdCalled"),k("AdVideoFirstQuartile","firstQuartile"),k("AdVideoMidpoint","midpoint"),k("AdVideoThirdQuartile","thirdQuartile"),k("AdVideoComplete","complete"),k("AdClickThru","click"),k("MRC_VIEW","viewable"),k("MRC_UNMEASUREABLE","unmeasurable")},t.playerType=void 0;var i=r(n(28)),x=n(96);function o(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){(0,i.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var E="playerType";t.playerType=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.stats=function(e){c("%o",e);var t=(0,s.trimObject)(e);t.rnd=(0,a.random)(),(new Image).src="https://stats.getaim.org/event/zetcat?"+(0,o.encode)(t)};var i=r(n(12)),o=n(97),a=n(30),s=n(23),c=(0,i.default)("lib:stats")},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.encode=function(e){for(var t=Object.create(null),n=0,r=Object.entries(e);n<r.length;n++){var i=(0,c.default)(r[n],2),o=i[0],a=i[1];"object"===(0,s.default)(a)?a instanceof Error?t[o]=a.message:t[o]=JSON.stringify(a):t[o]=a}return u.default.stringify(t)},t.decode=function(e){return u.default.parse(e)};var s=r(n(14)),c=r(n(15)),u=r(n(98))},function(e,t,n){"use strict";t.decode=t.parse=n(99),t.encode=t.stringify=n(100)},function(e,t,n){"use strict";e.exports=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var s=e.length;0<a&&a<s&&(s=a);for(var c,u,l=0;l<s;++l){var f,d=e[l].replace(o,"%20"),h=d.indexOf(n),p=0<=h?(f=d.substr(0,h),d.substr(h+1)):(f=d,""),v=decodeURIComponent(f),m=decodeURIComponent(p);c=i,u=v,Object.prototype.hasOwnProperty.call(c,u)?y(i[v])?i[v].push(m):i[v]=[i[v],m]:i[v]=m}return i};var y=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function o(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}e.exports=function(n,r,i,e){return r=r||"&",i=i||"=",null===n&&(n=void 0),"object"==typeof n?s(c(n),function(e){var t=encodeURIComponent(o(e))+i;return a(n[e])?s(n[e],function(e){return t+encodeURIComponent(o(e))}).join(r):t+encodeURIComponent(o(n[e]))}).join(r):e?encodeURIComponent(o(e))+i+encodeURIComponent(o(n)):""};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(4)),s=r(n(5)),c=r(n(1)),u=r(n(2)),l=r(n(6)),f=r(n(7)),d=r(n(8)),o=r(n(13)),h=n(29),p=r(n(102)),v=r(n(9)),m=r(n(21)),y=n(22),g=n(17),b=n(10),_=n(103);var a=function(e){(0,l.default)(a,e);var t,o=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,d.default)(r),n=i?(e=(0,d.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,f.default)(this,n)}}(a);function a(e,t,n,r){var i;return(0,c.default)(this,a),(i=o.call(this)).logger=t,i.container=e,i._makeSkip=n||h.skipButton,i._skipOffset=r,i.video=null,i.adSkippableState=!1,v.default.forEach(function(e){i.on(e,t.bind(null,e))}),t("new"),i}return(0,u.default)(a,[{key:"_notLoadedError",value:function(){var e="The <video> has not been loaded.";return this.logger(e),new Error(e)}},{key:"_forcePlaying",value:(t=(0,s.default)(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.video,(n=this.logger)("try to play"),e.prev=2,e.next=5,t.play();case 5:n("playing with volume"),e.next=24;break;case 8:return e.prev=8,e.t0=e.catch(2),t.volume=0,t.muted=!0,e.prev=12,e.next=15,t.play();case 15:return this.emit("force-muted"),n("playing, but muted"),e.abrupt("return",!0);case 20:throw e.prev=20,e.t1=e.catch(12),n(e.t1),e.t1;case 24:case"end":return e.stop()}},e,this,[[2,8],[12,20]])})),function(){return t.apply(this,arguments)})},{key:"load",value:function(e){var a=this;return this.logger(".load(%o)",e),e?new Promise(function(t,n){var r,i=(0,y.makeVideo)({display:"block",width:"100%",height:"100%",objectFit:"contain"});Object.assign(i,{src:e.uri,preload:"metadata",muted:!0,volume:0});var o=Date.now();(0,b.once)(i,m.default.loadedmetadata,function(){var e;r||(r=!0,a.logger("video loaded after %sms.",Date.now()-o),e=new p.default(i),new g.EventProxy(v.default).from(e).to(a),a.video=i,t(a),a.emit(v.default.AdLoaded))}),(0,b.once)(i,m.default.error,function(){var e;r||(r=!0,e=i.error,a.logger("video load error %o",e),a.emit(v.default.AdError,e.message),a.emit("error.video.load",e.message),n(e),a.stopAd())}),(0,b.on)(i,m.default.durationchange,function(){return a.emit(v.default.AdDurationChange)}),(0,b.once)(i,m.default.ended,function(){return a.stopAd()}),(0,b.on)(i,"click",function(){return a.emit(v.default.AdClickThru,null,null,!0)}),a.emit("preload"),a.container.appendChild(i)}):new Promise(function(e,t){var n="no playable <MediaFile>s.";a.emit(v.default.AdError,n),t(new Error(n)),a.stopAd()})}},{key:"startAd",value:function(){var n=this;return this.logger(".startAd()"),this._hasPlayed?Promise.reject(new Error("already started")):new Promise(function(e,t){(0,b.once)(n.video,m.default.playing,function(){n._hasPlayed=!0,e(n),setTimeout(function(){n.emit(v.default.AdStarted),n.emit(v.default.AdImpression)},0),n._skipButton()}),n._forcePlaying().then(function(e){e&&n.emit(v.default.AdVolumeChange)},function(e){n.emit(v.default.AdError,e.message),n.emit("error.video.start",e.message),t(e),n.stopAd()})})}},{key:"stopAd",value:function(){return this.logger(".stopAd()"),this._hasStopped||(this._hasStopped=!0,this.container.innerHTML="",this.emit(v.default.AdStopped)),Promise.resolve()}},{key:"pauseAd",value:function(){var t=this;return this.logger(".pauseAd()"),this.video.paused?Promise.resolve(this):new Promise(function(e){(0,b.once)(t.video,m.default.pause,function(){e(t),t.emit(v.default.AdPaused)}),t.video.pause()})}},{key:"resumeAd",value:function(){var t=this;return this.logger(".resumeAd()"),this._hasPlayed?this.video.paused?new Promise(function(e){(0,b.once)(t.video,m.default.play,function(){e(t),t.emit(v.default.AdPlaying)}),t._forcePlaying().then(function(e){return e&&t.emit(v.default.AdVolumeChange)}).catch(_.nope)}):Promise.resolve(this):Promise.reject(new Error("has not been started yet"))}},{key:"_skipButton",value:function(){var e=this;this._skipOffset&&this._makeSkip(this.container,this._skipOffset,function(){e.adSkippableState=!0,e.emit(v.default.AdSkippableStateChange)},function(){return e.emit(v.default.AdSkipped)},this)}},{key:"adRemainingTime",get:function(){if(!this.video)throw this._notLoadedError();return this.video.duration-this.video.currentTime}},{key:"adDuration",get:function(){if(!this.video)throw this._notLoadedError();return this.video.duration}},{key:"adVolume",get:function(){if(!this.video)throw this._notLoadedError();return this.video.volume},set:function(e){if(this.logger("set adVolume %s",e),!this.video)throw this._notLoadedError();if(this.video.volume===e)return e;var t=this.video.paused;return this.video.volume=e,this.video.muted=!e,!t&&this.video.paused&&(this.logger("rollback ad volume"),this.video.volume=0,this.video.muted=!0,this.video.play()),this.emit(v.default.AdVolumeChange),e}}]),a}(o.default);t.default=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),a=r(n(2)),s=r(n(6)),c=r(n(7)),u=r(n(8)),i=r(n(13)),l=r(n(9)),f=r(n(21));var d=function(e){(0,s.default)(i,e);var r=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,u.default)(r),n=i?(e=(0,u.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,c.default)(this,n)}}(i);function i(t){var n;return(0,o.default)(this,i),(n=r.call(this)).video=t,n.duration=Math.floor(t.duration||0),n.seconds=new Array(n.duration),n.fired={},[f.default.playing,f.default.pause,f.default.timeupdate].forEach(function(e){return t.addEventListener(e,function(){return n.tick()},!1)}),n}return(0,a.default)(i,[{key:"tick",value:function(){for(var e,t=this,n=0;this.seconds[n];)n++;this.video.paused||(setTimeout(function(){return t.fire(l.default.AdVideoStart)},5),-1<(e=Math.round(this.video.currentTime)-1)&&(this.seconds[e]=!0));var r=this.duration;n>Math.floor(r/4)&&this.fire(l.default.AdVideoFirstQuartile),n>Math.floor(r/2)&&this.fire(l.default.AdVideoMidpoint),n>Math.floor(3*r/4)&&this.fire(l.default.AdVideoThirdQuartile),n==r&&this.fire(l.default.AdVideoComplete)}},{key:"fire",value:function(e){this.fired[e]||(this.emit(e),this.fired[e]=!0)}}]),i}(i.default);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.nope=function(){},t.AbortCtrl=void 0;var i=r(n(1)),o=r(n(2)),a=function(){function e(){(0,i.default)(this,e),this.signal={}}return(0,o.default)(e,[{key:"abort",value:function(){var e,t;this.signal.aborted=!0,null!==(e=(t=this.signal).onabort)&&void 0!==e&&e.call(t)}}]),e}();t.AbortCtrl=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(4)),s=r(n(5)),c=r(n(1)),u=r(n(2)),l=r(n(6)),f=r(n(7)),d=r(n(8)),i=r(n(25)),h=n(10),p=r(n(9));var o=function(e){(0,l.default)(o,e);var t,n,r,i=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,d.default)(r),n=i?(e=(0,d.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,f.default)(this,n)}}(o);function o(){return(0,c.default)(this,o),i.apply(this,arguments)}return(0,u.default)(o,[{key:"load",value:(r=(0,s.default)(a.default.mark(function e(t,n,r){var i;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.logger(".load(%o, %o, %o)",t,n,r),(0,h.trim)(t)){e.next=5;break}throw i="invalid mediaFile link",this.logger(i),new Error(i);case 5:this.__private__.ready=!0,Object.assign(this.__private__,{mediaFile:t,parameters:n,forceClickable:r}),this.emit(p.default.AdLoaded);case 8:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"startAd",value:(n=(0,s.default)(a.default.mark(function e(){var t,n,r,i,o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.logger(".startAd()"),t=this.__private__,n=t.ready,r=t.mediaFile,i=t.forceClickable,n){e.next=6;break}throw o="Ad has not been loaded",this.logger(o),new Error(o);case 6:this.container.innerHTML=r,i&&(this.logger("creating click area"),this._createClickArea()),this.emit(p.default.AdStarted),this.emit(p.default.AdImpression);case 10:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"stopAd",value:(t=(0,s.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.__private__.stopped)return e.abrupt("return");e.next=2;break;case 2:this.__private__.stopped=!0,this.logger(".stopAd()"),this.container.innerHTML="",this.emit(p.default.AdStopped);case 6:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),o}(i.default);t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(n(4)),a=r(n(5)),s=r(n(1)),u=r(n(2)),l=r(n(6)),f=r(n(7)),d=r(n(8)),i=r(n(25)),h=n(10),p=r(n(9));var o=function(e){(0,l.default)(o,e);var t,n,r,i=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,d.default)(r),n=i?(e=(0,d.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,f.default)(this,n)}}(o);function o(){return(0,s.default)(this,o),i.apply(this,arguments)}return(0,u.default)(o,[{key:"load",value:(r=(0,a.default)(c.default.mark(function e(t,n,r){var i;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.logger(".load(%o, %o, %o)",t,n,r),(0,h.trim)(t)){e.next=5;break}throw i="invalid src",this.logger(i),new Error(i);case 5:Object.assign(this.__private__,{src:t,parameters:n,forceClickable:r,ready:!0,adElement:(0,h.createTag)("iframe",[],{width:"100%",height:"100%",border:"none"},{frameborder:0},{src:t})}),this.emit(p.default.AdLoaded);case 7:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"startAd",value:(n=(0,a.default)(c.default.mark(function e(){var t,n,r,i,o,a,s=this;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.logger(".startAd()"),t=this.__private__,n=t.ready,r=t.adElement,i=t.forceClickable,n){e.next=6;break}throw o="Ad has not been loaded",this.logger(o),new Error(o);case 6:return a=function(){return new Promise(function(e,t){r.onload=e,r.onerror=t,setTimeout(t,3e3),s.container.appendChild(r)})},e.abrupt("return",new Promise(function(e,t){a().then(function(){e(),s.emit(p.default.AdStarted),s.emit(p.default.AdImpression),i&&(s.logger("creating click area"),s._createClickArea())},function(){s.emit(p.default.AdError),t(),s.stopAd()})}));case 8:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"stopAd",value:(t=(0,a.default)(c.default.mark(function e(){var t;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.__private__.stopped)return e.abrupt("return");e.next=2;break;case 2:this.__private__.stopped=!0,this.logger(".stopAd()"),(t=this.__private__.adElement)&&t.parentNode&&t.parentNode.removeChild(t),this.emit(p.default.AdStopped);case 7:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),o}(i.default);t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(n(4)),a=r(n(5)),s=r(n(1)),u=r(n(2)),l=r(n(6)),f=r(n(7)),d=r(n(8)),i=r(n(25)),h=n(10),p=r(n(9));var o=function(e){(0,l.default)(o,e);var t,n,r,i=function(r){var i=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(e){return!1}}();return function(){var e,t=(0,d.default)(r),n=i?(e=(0,d.default)(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments);return(0,f.default)(this,n)}}(o);function o(){return(0,s.default)(this,o),i.apply(this,arguments)}return(0,u.default)(o,[{key:"load",value:(r=(0,a.default)(c.default.mark(function e(t,n,r){var i,o,a,s=this;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.logger(".load(%o, %o, %o)",t,n,r),(0,h.trim)(t)){e.next=5;break}throw i="invalid src",this.logger(i),new Error(i);case 5:return o=(0,h.createTag)("img",[],{width:"100%",height:"100%",display:"none"},{},{src:t}),Object.assign(this.__private__,{src:t,parameters:n,forceClickable:r,adElement:o}),a=function(){return new Promise(function(e,t){o.onload=e,o.onerror=t,setTimeout(e,1e3),s.container.appendChild(o)})},e.abrupt("return",new Promise(function(e,t){a().then(function(){s.__private__.ready=!0,s.emit(p.default.AdLoaded),e()},function(){s.emit(p.default.AdError),t(),s.stopAd()})}));case 9:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"startAd",value:(n=(0,a.default)(c.default.mark(function e(){var t,n,r,i,o,a=this;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.logger(".startAd()"),t=this.__private__,n=t.ready,r=t.adElement,i=t.forceClickable,n){e.next=6;break}throw o="Ad has not been loaded",this.logger(o),new Error(o);case 6:r.style.display="block",this.emit(p.default.AdStarted),this.emit(p.default.AdImpression),i&&(this.logger("bind click listener"),r.onclick=function(){return a.emit(p.default.AdClickThru,null,null,!0)});case 10:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"stopAd",value:(t=(0,a.default)(c.default.mark(function e(){var t;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.__private__.stopped)return e.abrupt("return");e.next=2;break;case 2:this.__private__.stopped=!0,this.logger(".stopAd()"),(t=this.__private__.adElement)&&t.parentNode&&t.parentNode.removeChild(t),this.emit(p.default.AdStopped);case 7:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),o}(i.default);t.default=o},function(e,t,n){var r=n(32),i=n(108);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},function(e,t,n){(t=n(33)(!0)).push([e.i,'.index__aspect {\n    position: relative;\n    width: 100%;\n    max-height: 100%;\n    overflow: hidden;\n}\n\n.index__aspect::before {\n    content: "";\n    display: block;\n    padding-bottom: 56.25%;\n}\n\n.index__aspect video,\n.index__aspect iframe:not(.index__overlay) {\n    /*pointer-events: all;*/\n    position: absolute !important;\n    top: 0 !important;\n    left: 0 !important;\n    width: 100% !important;\n    height: 100% !important;\n}\n\n.index__overlay{}\n',"",{version:3,sources:["index.css"],names:[],mappings:"AAAA;IACI,kBAAkB;IAClB,WAAW;IACX,gBAAgB;IAChB,gBAAgB;AACpB;;AAEA;IACI,WAAW;IACX,cAAc;IACd,sBAAsB;AAC1B;;AAEA;;IAEI,uBAAuB;IACvB,6BAA6B;IAC7B,iBAAiB;IACjB,kBAAkB;IAClB,sBAAsB;IACtB,uBAAuB;AAC3B;;AAEA,gBAAS",file:"index.css",sourcesContent:['.aspect {\n    position: relative;\n    width: 100%;\n    max-height: 100%;\n    overflow: hidden;\n}\n\n.aspect::before {\n    content: "";\n    display: block;\n    padding-bottom: 56.25%;\n}\n\n.aspect video,\n.aspect iframe:not(.overlay) {\n    /*pointer-events: all;*/\n    position: absolute !important;\n    top: 0 !important;\n    left: 0 !important;\n    width: 100% !important;\n    height: 100% !important;\n}\n\n.overlay{}\n']}]),t.locals={aspect:"index__aspect",overlay:"index__overlay"},e.exports=t}],i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__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 n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=46))},8409:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16.2 5.8c-5.1 0-9.3 4.3-9.3 9.6 0 1.4.3 2.7.8 3.9.2.4 0 .9-.4 1.1-.4.2-.9 0-1.1-.4-.6-1.4-.9-2.9-.9-4.6 0-6.2 4.9-11.3 11-11.3s11 5.1 11 11.3c0 1.6-.3 3.2-.9 4.6-.2.4-.7.6-1.1.4-.4-.2-.6-.7-.4-1.1.5-1.2.8-2.5.8-3.9-.2-5.3-4.4-9.6-9.5-9.6zM9.1 20.9c-.2-.1-.4-.1-.5-.1-.2 0-.4 0-.5.1-.2.1-.3.2-.5.3-.1.1-.2.3-.3.5-.1.2-.1.4-.1.5 0 .2 0 .4.1.5s.2.3.3.5c.1.1.3.2.5.3.2.1.4.1.5.1.2 0 .4 0 .5-.1.2-.1.3-.2.5-.3.1-.1.2-.3.3-.5.1-.2.1-.4.1-.5 0-.2 0-.4-.1-.5-.1-.2-.2-.3-.3-.5-.2-.1-.3-.2-.5-.3zm14.7-.1c.2 0 .4 0 .5.1.2.1.3.2.5.3.1.1.2.3.3.5.1.2.1.4.1.5 0 .2 0 .4-.1.5-.1.2-.2.3-.3.5-.1.1-.3.2-.5.3-.2.1-.4.1-.5.1-.2 0-.4 0-.5-.1-.2-.1-.3-.2-.5-.3-.1-.1-.2-.3-.3-.5-.1-.2-.1-.4-.1-.5 0-.2 0-.4.1-.5.1-.2.2-.3.3-.5.1-.1.3-.2.5-.3.1-.1.3-.1.5-.1zm-12.9 2.6c-.4-.2-.9-.1-1.1.3-.2.4-.1.9.3 1.1.9.5 1.9.9 3 1.2.5.1.9-.1 1-.6.1-.5-.1-.9-.6-1-.9-.2-1.8-.5-2.6-1zm11.6.4c.2.4.1.9-.3 1.1-.9.5-1.9.9-3 1.2-.5.1-.9-.1-1-.6-.1-.5.1-.9.6-1 .9-.3 1.8-.6 2.6-1.1.4-.2.9 0 1.1.4zm-6.3.4c.1 0 .3 0 .4.1.1.1.3.2.4.3s.2.3.2.5c.1.2.1.4.1.5 0 .2 0 .4-.1.5-.1.2-.1.3-.2.5-.1.1-.2.2-.4.3s-.3.1-.4.1c-.1 0-.3 0-.4-.1-.1-.1-.3-.2-.4-.3-.1-.1-.2-.3-.2-.5-.1-.1-.2-.3-.2-.5s0-.4.1-.5c.1-.2.1-.3.2-.5.1-.1.2-.2.4-.3.2-.1.3-.1.5-.1zm2.6-6.8c-.3-.3-.4-.7-.4-1.3 0-.5.1-.9.3-1.2.2-.3.5-.5 1-.5.2 0 .4 0 .6.1.2.1.3.1.4.2v3c-.1 0-.2 0-.3.1h-.5c-.5.1-.8-.1-1.1-.4zm2.2 1.5c.4-.1.7-.1.9-.2V11l-1.2.2v2.5c-.1-.1-.3-.1-.5-.2s-.4-.1-.7-.1c-.4 0-.7.1-1 .2-.3.1-.5.3-.7.6-.2.2-.4.5-.5.9-.1.3-.2.7-.2 1.1 0 .4.1.8.2 1.2.1.3.3.6.5.9.2.2.5.4.9.5.3.1.7.2 1.1.2.5-.1.9-.1 1.2-.1zm-5.9-.9c.1.3.2.5.3.8h1.4c-.3-.8-.5-1.4-.8-2.1-.2-.6-.5-1.2-.7-1.8-.2-.6-.4-1.1-.7-1.6-.2-.5-.5-1-.7-1.5h-1.2c-.2.5-.5 1-.7 1.5-.2.5-.4 1.1-.7 1.6-.2.6-.5 1.2-.7 1.8-.2.6-.5 1.3-.8 2.1h1.3l.3-.8c.1-.3.2-.6.3-.8h3c.2.2.3.5.4.8zm-2.3-3.6c.2-.5.4-.9.5-1.3.1.3.3.8.5 1.3s.4 1.1.6 1.7h-2.3c.3-.6.5-1.1.7-1.7z"/></svg>'},46884:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M8.5 10.5c1.7-2.4 4.4-3.9 7.5-3.9 5.1 0 9.3 4.3 9.3 9.7 0 .4.4.8.8.8s.8-.4.8-.8c-.1-6.2-5-11.3-11-11.3-3.6 0-6.8 1.8-8.7 4.6-.3.3-.2.8.2 1.1.3.2.8.2 1.1-.2zm-1.7 5.8c0-.4-.4-.8-.8-.8s-.8.4-.8.8c0 5.9 4.9 10.7 10.9 10.7 3.5 0 6.7-1.7 8.7-4.2.3-.3.2-.9-.1-1.1-.3-.3-.8-.2-1.1.1-1.7 2.2-4.4 3.6-7.5 3.6-5.2 0-9.3-4.1-9.3-9.1zm-2-3.9c-.4 0-.8.4-.8.8s.4.8.8.8h4.8c.4 0 .8-.4.8-.8s-.4-.8-.8-.8H4.8zM23 18.6c-.4 0-.8.4-.8.8s.4.8.8.8h4.2c.4 0 .8-.4.8-.8s-.4-.8-.8-.8H23zm-10.3-4.2c-.9 0-1.6-.8-1.6-1.7 0-.9.7-1.7 1.6-1.7.9 0 1.6.8 1.6 1.7 0 .9-.7 1.7-1.6 1.7zm3.7.9c-.2-.4-.7-.6-1.1-.4-.3.3-.5.8-.3 1.1l.6 1.2c.2.4.7.6 1.1.4.4-.2.5-.7.4-1.1l-.7-1.2zm3.3 2.7c.9.1 1.5 1 1.4 1.9-.1.9-1 1.5-1.9 1.4-.9-.1-1.5-1-1.4-1.9.2-.9 1-1.6 1.9-1.4z"/></svg>'},57520:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M4.7 7.6c-.1 0-.2 0-.3.1-.1 0-.1.1-.2.1-.1.1-.1.2-.1.2v12.2c0 .1.1.1.1.2.1.1.1.1.2.1s.2.1.3.1h22.7c.1 0 .2 0 .3-.1.1 0 .1-.1.2-.1.1-.1.1-.1.1-.2V8.1c0-.1-.1-.1-.1-.2-.1-.1-.1-.1-.2-.1s-.2-.1-.3-.1H4.7zm-.8-1.2c.2-.1.5-.1.8-.1h22.7c.3 0 .5 0 .8.1.3.1.5.3.7.4.1.2.2.4.3.7.1.2.2.5.2.8V20c0 .3-.1.5-.2.8-.1.3-.3.5-.4.6-.2.2-.4.3-.7.4-.2.2-.5.2-.8.2H4.7c-.3 0-.5 0-.8-.1-.3-.1-.5-.3-.7-.4-.2-.2-.3-.4-.4-.7-.1-.2-.2-.5-.2-.8V8.3c0-.3.1-.5.2-.8.1-.3.2-.5.4-.6.2-.2.4-.4.7-.5zM12 24.3c0-.1 0-.3.1-.4.1-.1.1-.2.2-.3.1-.1.2-.2.3-.2.1 0 .2-.1.4-.1h6c.1 0 .3 0 .4.1.1.1.2.1.3.2.1.1.2.2.2.3 0 .1.1.2.1.4 0 .1 0 .3-.1.4-.1.1-.1.2-.2.3-.1.1-.2.2-.3.2-.1 0-.2.1-.4.1h-6c-.1 0-.3 0-.4-.1-.1-.1-.2-.1-.3-.2-.1-.1-.2-.2-.2-.3-.1-.2-.1-.3-.1-.4zm8.8-8.7c-.1.2-.1.3-.1.5s0 .3.1.5.2.3.3.4c.1.1.3.2.4.3.2.1.3.1.5.1h1.3c.2 0 .3 0 .5-.1s.3-.2.4-.3c.1-.1.2-.3.3-.4.1-.2.1-.3.1-.5s0-.3-.1-.5-.2-.3-.3-.4c-.1-.1-.3-.2-.4-.3-.2-.1-.3-.1-.5-.1H22c-.2 0-.3 0-.5.1s-.3.2-.4.3c-.2.1-.3.2-.3.4zm-5.5.5c0-.2 0-.3.1-.5s.2-.3.3-.4c.1-.1.3-.2.4-.3.2-.1.3-.1.5-.1H18c.2 0 .3 0 .5.1s.3.2.4.3c.1.1.2.3.3.4.1.2.1.3.1.5s0 .3-.1.5-.2.3-.3.4c-.1.1-.3.2-.4.3-.2.1-.3.1-.5.1h-1.3c-.2 0-.3 0-.5-.1s-.3-.2-.4-.3c-.1-.1-.2-.3-.3-.4-.1-.1-.2-.3-.2-.5zm5.5-4.4c-.1.2-.1.3-.1.5s0 .3.1.5.2.3.3.4c.1.1.3.2.4.3.2.1.3.1.5.1h1.3c.2 0 .3 0 .5-.1s.3-.2.4-.3c.1-.1.2-.3.3-.4.1-.2.1-.3.1-.5s0-.3-.1-.5-.2-.3-.3-.4c0-.2-.2-.3-.3-.3-.2-.1-.3-.1-.5-.1H22c-.2 0-.3 0-.5.1s-.3.2-.4.3c-.2.1-.3.2-.3.4zm-5.5.5c0-.2 0-.3.1-.5s.2-.3.3-.4c.1-.1.3-.2.4-.3.2-.1.3-.1.5-.1H18c.2 0 .3 0 .5.1s.3.2.4.3c.1.1.2.3.3.4.1.2.1.3.1.5s0 .3-.1.5-.2.3-.3.4c-.1.1-.3.2-.4.3-.2.1-.3.1-.5.1h-1.3c-.2 0-.3 0-.5-.1s-.3-.2-.4-.3c-.1-.1-.2-.3-.3-.4-.1-.2-.2-.3-.2-.5zm-8 0v3.9c0 .2 0 .3.1.5s.2.3.3.4c.1.1.3.2.4.3.2.1.3.1.5.1h4c.2 0 .3 0 .5-.1s.3-.2.4-.3c.1-.1.2-.3.3-.4.1-.2.1-.3.1-.5v-3.9c0-.2 0-.3-.1-.5s-.2-.3-.3-.4c-.1-.1-.3-.2-.4-.3-.2-.1-.3-.1-.5-.1h-4c-.2 0-.3 0-.5.1-.1 0-.3.1-.4.3-.1.1-.2.3-.3.4 0 .1-.1.3-.1.5z"/></svg>'},28518:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 18"><path d="M51 18V4.9h-3.4v9.9L34.1 0v18h3.4V8.2l9 9.8H51zm1.1-6.8c0-4.3 2.5-6.7 8.3-6.7 5.8 0 8.3 2.4 8.3 6.7 0 4.3-2.5 6.8-8.3 6.8-5.8 0-8.3-2.4-8.3-6.8zm13.2 0c0-2.7-1.4-3.9-4.9-3.9-3.5 0-4.9 1.2-4.9 3.9s1.4 3.9 4.9 3.9c3.5.1 4.9-1.2 4.9-3.9zM11.4 18l6.8-13.1h-3.8L9.1 15.5 3.8 4.9H0L6.8 18h4.6zM22.3 7.6v2.7h10.5v2.4H22.3v2.7h10.5V18H18.9V4.9h13.9v2.7H22.3zM90 18h-3.4V9l-5.5 9h-2.4l-5.5-9v9h-3.4V4.9h4.6l5.5 9.3 5.5-9.3H90V18z"/></svg>'},67081:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M6.1 16c0-5.5 4.5-9.9 10-9.9 4.9 0 9 3.4 9.9 8.1.1.5.5.7.9.6.5-.1.7-.5.6-.9-1-5.3-5.8-9.3-11.4-9.3C9.7 4.5 4.5 9.7 4.5 16s5.2 11.5 11.6 11.5c5.6 0 10.4-4 11.4-9.3.1-.5-.2-.8-.6-.9-.5-.1-.8.2-.9.6-.9 4.6-4.9 8-9.9 8-5.5 0-10-4.4-10-9.9zm8.6-4.5l4.9 3.8c.5.3.5 1 0 1.4l-4.9 3.8c-.6.5-1.4 0-1.4-.7v-7.6c.1-.7.9-1.1 1.4-.7z"/></svg>'},10623:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 64 64"><circle class="venom-player-pie" r="27.2" cx="32" cy="32"/><circle class="venom-player-slice" r="27.2" cx="32" cy="32"/></svg>'},56657:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><path d="M13.4.2c-.5 0-1 .4-1 1v4.5L2.4.2C2-.1 1.6-.1 1.2.2.8.4.6.8.6 1.2v12.6c0 .4.2.8.6 1 .2.1.4.2.6.2.2 0 .4-.1.6-.2l10.1-5.6v4.6c0 .5.4 1 1 1 .5 0 1-.4 1-1V1.2c-.1-.5-.5-1-1.1-1zM2.5 12.5V2.4l9.1 5-9.1 5.1z"/></svg>'},50601:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="M13.7 3.3c.4.4.4 1 0 1.4l-6 6c-.4.4-1 .4-1.4 0l-6-6c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0L7 8.6l5.3-5.3c.4-.4 1-.4 1.4 0z"/></svg>'},35139:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="M3.8.3c.4-.4 1-.4 1.4 0l6 6c.4.4.4 1 0 1.4l-6 6c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4L9.1 7 3.8 1.7c-.4-.4-.4-1 0-1.4z"/></svg>'},55711:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="M10.2 13.7c-.4.4-1 .4-1.4 0l-6-6c-.4-.4-.4-1 0-1.4l6-6c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4L4.9 7l5.3 5.3c.4.4.4 1 0 1.4z"/></svg>'},83225:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" viewBox="0 0 80 40" style="position:absolute"><defs><filter id="goo"><feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="10"/><feColorMatrix in="blur" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7" result="goo"/><feBlend in2="goo" in="SourceGraphic" result="mix"/></filter></defs></svg>'},4353:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M10.1 22.6l6.5-10.8c.1-.2.3-.5.6-.6.2-.1.5-.2.8-.2.2 0 .6.1.8.2.2.1.5.3.6.6l6.5 10.8c.1.2.2.5.2.8 0 .2-.1.6-.2.8-.1.2-.3.5-.6.6-.2.1-.5.2-.8.2H11.4c-.2 0-.6-.1-.8-.2-.2-.1-.5-.3-.6-.6 0-.3-.1-.6-.1-.9 0-.2.1-.5.2-.7zm8.6-6.9c0-.5-.3-.8-.8-.8s-.8.3-.8.8v3.1c0 .5.3.8.8.8s.8-.3.8-.8v-3.1zm-.8 5.3c-.5 0-.8.3-.8.8s.3.8.8.8.8-.3.8-.8-.4-.8-.8-.8z"/></svg>'},60652:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15.8 2.2c-.3-.3-.8-.3-1.1 0L5 12 1.4 8.3C1.1 8 .6 8 .3 8.3c-.3.3-.3.8 0 1.2l4.2 4.3c.3.3.8.3 1.1 0L15.8 3.4c.3-.3.3-.8 0-1.2z"/></svg>'},13288:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path class="vp-path-default" d="M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"/><path class="vp-path-checked" d="M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zM8 15l-5-5 1.4-1.4L8 12.2l7.6-7.6L17 6l-9 9z"/></svg>'},37805:function(e){"use strict";e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M1 18v3h3c0-1.7-1.34-3-3-3zm0-4v2c2.76 0 5 2.2 5 5h2c0-3.87-3.13-7-7-7z"/><path d="M1 10v2c4.97 0 9 4 9 9h2c0-6.08-4.93-11-11-11z"/><path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/></svg>'},72574:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M23.7 13.5c.3-.3.3-.9 0-1.2-.3-.3-.9-.3-1.2 0L18 16.8l-4.5-4.5c-.3-.3-.9-.3-1.2 0-.3.3-.3.9 0 1.2l4.5 4.5-4.5 4.5c-.3.3-.3.9 0 1.2.3.3.9.3 1.2 0l4.5-4.5 4.5 4.5c.3.3.9.3 1.2 0s.3-.9 0-1.2L19.2 18l4.5-4.5z"/></svg>'},12128:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M18 18.7v-.2c-.1-.1-.2-.1-.2-.2-.8-.8-.8-2.1 0-3.1l3.5-3.5c.8-.8 2.1-.8 3.1 0 .8.8.8 2.1 0 3.1L22 17.1c0 .1 0 .1.1.3 0 .2.1.5.1.7.6 0 1 .1 1.5.3l2.1-2.1c1.7-1.7 1.7-4.3 0-6-1.7-1.7-4.3-1.7-6 0l-3.5 3.5c-1.7 1.7-1.6 4.4 0 6 .2.2.6.5.9.7l.7-.7c.2-.4.2-.8.1-1.1z"/><path d="M18.6 16c-.3.3-.3.8-.2 1v.2c.1.1.2.1.2.2.3.3.6.9.6 1.4.6-.5 1.2-.7 2-.8-.1-.8-.6-1.5-1.1-2-.2-.2-.6-.5-.9-.7l-.6.7zM17 22.1l-2.3 2.3c-.8.8-2.1.8-3.1 0-.8-.8-.8-2.1 0-3.1l2.6-2.6c0-.1 0-.1-.1-.3-.1-.5-.3-1.2-.2-2.5l-3.8 3.8c-1.7 1.7-1.7 4.3 0 6 1.7 1.7 4.3 1.7 6 0l1-1c-.2-.6-.3-1.1-.3-1.7.1-.3.1-.6.2-.9zm5-3c-2.1 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.9-4-4-4zm1.9 5c-.1.2-.3.2-.6.2l-1.6-.8c-.1-.1-.2-.2-.2-.3v-2.4c0-.2.2-.5.3-.5.1 0 .3.2.3.5V23l1.4.7c.4-.1.5.2.4.4z"/></svg>'},41709:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M19.8 10.2c1.6-1.6 4.3-1.6 6 0 1.6 1.6 1.6 4.3 0 6l-3.5 3.5c.2-1.2-.1-2-.2-2.4 0-.1-.1-.2-.1-.3l2.3-2.3c.8-.8.8-2.2 0-3-.8-.8-2.2-.8-3 0l-3.5 3.5c-.8.8-.8 2.2 0 3 .1.1.2.2.3.2v.2c0 .3.1.7-.3 1.1l-.6.6c-.3-.2-.6-.4-.8-.6-1.5-1.5-1.7-4.3 0-6l3.4-3.5zm-.6 5.2c.3.2.6.4.8.6 1.6 1.6 1.7 4.3 0 6l-3.8 3.8c-1.6 1.6-4.3 1.6-6 0-1.6-1.6-1.6-4.3 0-6L14 16c-.2 1.2.1 2 .2 2.4 0 .1.1.2.1.3l-2.6 2.6c-.8.8-.8 2.2 0 3 .8.8 2.2.8 3 0l3.8-3.8c.8-.8.8-2.2 0-3-.1-.1-.2-.2-.3-.2v-.2c0-.3-.1-.7.3-1.1l.7-.6z"/></svg>'},22390:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M24.1 16.1c-1 0-1.9.8-1.9 1.9 0 1 .8 1.9 1.9 1.9 1 0 1.9-.8 1.9-1.9 0-1-.8-1.9-1.9-1.9zm-6.1 0c-1 0-1.9.8-1.9 1.9 0 1 .8 1.9 1.9 1.9 1 0 1.9-.8 1.9-1.9 0-1-.9-1.9-1.9-1.9zm-6.1 0c-1 0-1.9.8-1.9 1.9 0 1 .8 1.9 1.9 1.9s1.9-.8 1.9-1.9c-.1-1-.9-1.9-1.9-1.9z"/><path class="venom-svg-shadow" d="M14.3 18c-.1-1.2-1.1-2.4-2.4-2.4-1.3 0-2.4 1-2.4 2.4 0 1.3 1 2.4 2.4 2.4s2.4-1 2.4-2.4zm9.8-2.4c-1.3 0-2.4 1-2.4 2.4 0 1.3 1 2.4 2.4 2.4 1.3 0 2.4-1 2.4-2.4 0-1.3-1-2.4-2.4-2.4zm-6.1 0c-1.3 0-2.4 1-2.4 2.4 0 1.3 1 2.4 2.4 2.4 1.3 0 2.4-1 2.4-2.4 0-1.3-1.1-2.4-2.4-2.4z"/></svg>'},50760:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 20"><path d="M71.1 20H3.9C1.7 20 0 18.1 0 15.8V4.2C0 1.9 1.8 0 3.9 0c.4 0 .7.3.7.7s-.3.7-.7.7c-1.4 0-2.6 1.2-2.6 2.8v11.7c0 1.5 1.2 2.8 2.6 2.8h67.2c1.4 0 2.6-1.2 2.6-2.8V4.2c0-1.5-1.2-2.8-2.6-2.8H7.9c-.4 0-.7-.3-.7-.7s.3-.7.7-.7h63.2C73.3 0 75 1.9 75 4.2v11.7c0 2.2-1.7 4.1-3.9 4.1z"/></svg>'},40252:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 50 50"><path d="M25.251 6.461c-10.318 0-18.683 8.365-18.683 18.683h4.068c0-8.071 6.543-14.615 14.615-14.615V6.461z"><animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="0.6s" repeatCount="indefinite"/></path></svg>'},28916:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="110" height="110" viewBox="0 0 110 110"><path fill="var(--vp-color-primary)" d="M0 0h110v110H0z"/><path fill="var(--vp-background-color-primary)" d="M65.1 49v-4.1c0-5.5-4.5-9.9-10.1-9.9-5.4 0-10 4.3-10.1 9.7V49c-2.8.4-4.9 2.7-4.9 5.5v14.8c0 3.1 2.6 5.6 5.7 5.6h18.6c3.1 0 5.7-2.5 5.7-5.6V54.6c0-2.9-2.1-5.2-4.9-5.6zm-17.8-4.3c.1-4.1 3.5-7.4 7.7-7.4s7.7 3.4 7.7 7.5V49H47.3v-4.3zm20.3 24.7c0 1.8-1.5 3.2-3.3 3.2H45.7c-1.8 0-3.3-1.5-3.3-3.2V54.6c0-1.8 1.5-3.2 3.3-3.2h18.6c1.8 0 3.3 1.5 3.3 3.2v14.8z"/><path fill="var(--vp-background-color-primary)" d="M55 57.3c-1.8 0-3.3 1.4-3.3 3.2 0 1.3.7 2.4 1.8 2.9v1.8c0 .8.7 1.4 1.5 1.4s1.5-.6 1.5-1.4v-1.8c1.1-.5 1.8-1.6 1.8-2.9 0-1.8-1.5-3.2-3.3-3.2z"/></svg>'},38976:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 9"><path fill="#fff" d="M6 2v2H4V2H3v3h3v2h1V2H6z"/><path d="M11 4h1v1h-1V4zm0 2h1v1h-1V6zm-1-1h1v1h-1V5zM9 7h1v1H9V7zM6 7h1v1H6V7zM3 5h3v1H3V5zm9 2h1v1h-1V7zm0-4h1v1h-1V3z" opacity=".6"/><path fill="#fff" d="M12 6h1v1h-1zm-1-1h1v1h-1zm0-2h1v1h-1zm-1 1V2H9v5h1V5h1V4zm2-2h1v1h-1z"/></svg>'},12129:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 9"><path fill="#fff" d="M6 6.9v-5h1v2h2v-2h1v5H9v-2H7v2H6zm-4 0v-5h3v1H3v1h2v1H3v2H2zm10-4h2v-1h-3v5h3v-1h-2zm2 0h1v3h-1z"/><path opacity=".6" d="M7 4.9h2v1H7zm-4-2h2v1H3zm0 2h2v1H3zm3 2h1v1H6zm3 0h1v1H9zm2 0h3v1h-3zm3-1h1v1h-1zm-2-3h2v1h-2zm-10 4h1v1H2z"/></svg>'},51280:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 9"><path fill="#fff" d="M4 7V2h1v2h2V2h1v5H7V5H5v2H4zm6-4h2V2H9v5h3V6h-2zm2 0h1v3h-1z"/><path opacity=".6" d="M5 5h2v1H5zM4 7h1v1H4zm3 0h1v1H7zm2 0h3v1H9zm3-1h1v1h-1zm-2-3h2v1h-2z"/></svg>'},91686:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 9" width="17" height="9"><path fill="#fff" d="M8.1 2h-3c-.5 0-1 .5-1 1v1.5h1V3h3V2zm-4 5h3c.5 0 1-.5 1-1V4.5h-1V6h-3v1z"/><path fill="#fff" d="M5.1 4h2v1h-2zm5-1h2V2h-3v5h3V6h-2zm2 0h1v3h-1z"/><path opacity=".6" d="M9.1 7h3v1h-3zm3-1h1v1h-1zm-2-3h2v1h-2zm-5 0h3v1h-3zm0 2h2v1h-2zm-1 2h4v1h-4z"/></svg>'},173:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 84 84"><path d="M66 41c0-13-10.6-23.5-23.5-23.5C29.5 17.5 19 28 19 41c0 4 1 7.9 2.9 11.3L16.2 62c-.3.5-.3 1.1 0 1.6s.8.8 1.4.8h24.8c3.5 0 7-.8 10.2-2.3.8-.4 1.2-1.4.8-2.2-.4-.8-1.4-1.2-2.2-.8-2.7 1.3-5.8 2-8.8 2H20.5l4.7-8.1c.3-.5.3-1.2 0-1.7-1.9-3.2-2.9-6.8-2.9-10.5 0-11.2 9.1-20.2 20.3-20.2 11.2 0 20.3 9.1 20.3 20.2v.1s.1 2.7-.9 5.9c-.3.9.2 1.8 1.1 2.1.9.3 1.8-.2 2.1-1.1.9-3.3.8-6.4.8-6.8z"/><path d="M61.8 51.3c-.8-.5-1.8-.3-2.3.5-.8 1.3-1.8 2.5-2.9 3.6-.6.6-.7 1.7 0 2.3.3.3.7.5 1.2.5.4 0 .8-.2 1.1-.5 1.3-1.3 2.4-2.7 3.4-4.2.5-.7.3-1.7-.5-2.2zm-17.2-8.1c3.6-1.9 3.6-5.7 3.6-7.2 0-1.4-.6-3-1.7-4.1-1.1-1.1-2.7-1.8-4.4-1.8-4.1 0-6.3 3.4-6.3 5.9v1.1c0 .9.7 1.6 1.6 1.6.9 0 1.6-.7 1.6-1.6V36c0-.7.8-2.6 3-2.6 1.1 0 1.7.4 2.1.8.5.5.8 1.2.8 1.7 0 2-.3 3.5-1.9 4.3-3.5 1.8-3.5 4.5-3.5 5.9v.1c0 .9.7 1.6 1.6 1.6.9 0 1.6-.7 1.6-1.6v-.1c.2-1 .2-2 1.9-2.9zm-2.9 7c-1-.3-2 .3-2.2 1.3-.3 1 .3 2 1.3 2.2 1 .3 2-.3 2.2-1.3.2-.9-.3-1.9-1.3-2.2z"/></svg>'},63599:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M22.5 15.3h-3v-1.8c0-.9.1-1.5 1.3-1.5h1.6V9.1c-.8-.1-1.5-.1-2.3-.1-2.3 0-4 1.5-4 4.2v2.1h-2.6v3.6h2.6V27h3.4v-8.1h2.6l.4-3.6z"/></svg>'},99607:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M13.4 13.5c0 2.5 2 4.6 4.5 4.6s4.6-2 4.6-4.5S20.5 9 18 9s-4.5 2-4.6 4.5zm4.6-2.2c1.2 0 2.2 1 2.2 2.2 0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2 0-1.2 1-2.2 2.2-2.2zm-4.6 9c1.1.8 2.3 1.2 3.7 1.3l-.1.1c0 .1-.1.1-.1.1l-.6.6c-.8.8-1.6 1.7-2.5 2.5-.2.2-.4.4-.4.8 0 .5.3.9.7 1.1.4.2.8.1 1.2-.2l2.4-2.4c.2-.2.3-.2.5 0 .5.5 1 1.1 1.6 1.6l.8.8c.2.2.4.4.7.4.5 0 .9-.3 1.2-.7.2-.4.1-.9-.2-1.2l-2-2-1.1-1.1-.2-.2s0-.1-.1-.1c.8-.1 1.5-.2 2.2-.5.7-.3 1.4-.7 2-1.3.4-.4.4-.8.1-1.3-.3-.4-.7-.6-1.2-.5-.2.1-.5.2-.7.3-2 1.4-4.8 1.3-6.8-.1-.1-.1-.2-.1-.3-.2-.6-.3-1.1-.1-1.4.3-.4.5-.3 1.1.1 1.5.2.2.3.3.5.4-.1 0 0 0 0 0z"/></svg>'},17955:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path d="M29.9 23.6c0-.1-.1-.1-.1-.2-.4-.8-1.2-1.7-2.4-2.8l-1-1c-.3-.3-.3-.7-.2-1 .1-.3.5-.8 1.1-1.7.3-.5.6-.8.8-1.1 1.4-2 2.1-3.2 1.9-3.8l-.1-.1c0-.1-.2-.1-.4-.2s-.5-.1-.8 0h-4.2l-.1.1c0 .1-.1.1-.1.2-.4 1-.8 2-1.3 2.9-.3.5-.6 1-.8 1.4-.3.4-.5.7-.6.9-.2.2-.3.3-.5.4-.1.1-.2.2-.3.1-.1 0-.1 0-.2-.1l-.3-.3c-.1-.1-.1-.3-.1-.5v-4.9c0-.1-.1-.3-.1-.4-.1-.1-.1-.2-.3-.3-.1-.1-.3-.1-.4-.2-.4-.1-1-.2-1.7-.2-1.5 0-2.5.1-3 .3-.2.1-.3.2-.5.4-.3.4-.3.5-.2.5.5.1.9.3 1.1.5l.1.2c.1.1.1.3.2.6s.1.6.1.9v1.6c0 .4-.1.8-.1 1 0 .2-.1.4-.2.6-.1.2-.1.2-.2.3 0 0 0 .1-.1.1s-.2.1-.3.1c-.1 0-.3-.1-.4-.2-.2-.1-.3-.3-.5-.5s-.4-.5-.6-.9c-.2-.4-.5-.8-.7-1.3l-.2-.4-.5-1c-.2-.5-.4-.9-.6-1.3-.1-.2-.2-.3-.3-.4h-.1s-.1-.1-.2-.1-.2-.1-.3-.1H6.8c-.3 0-.6.1-.7.2L6 12v.2c0 .1 0 .2.1.3.5 1.2 1 2.4 1.6 3.5.6 1.1 1.1 2 1.5 2.7.4.7.9 1.3 1.3 1.9.4.6.7 1 .9 1.2.1.2.3.3.3.4l.3.3c.2.2.5.4.9.7.4.3.8.6 1.3.8.5.3 1 .5 1.6.7.6.2 1.2.2 1.8.2H19c.3 0 .5-.1.7-.3v-.1c0-.1.1-.1.1-.2v-.4c0-.4 0-.7.1-1 .1-.3.1-.5.2-.7.1-.1.2-.3.3-.4l.2-.2h.1c.2-.1.4 0 .7.2.3.2.5.4.8.7.2.3.5.6.9 1 .3.4.6.6.9.8l.2.2c.2.1.4.2.7.3.3.1.5.1.7.1l3.2-.1c.3 0 .6-.1.7-.2.2-.1.3-.2.3-.4v-.4c.1 0 .1-.1.1-.2z"/></svg>'},26817:function(e){"use strict";e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M20 2C9.5 2 1 10.3 1 20.5v.9c0 .1 0 .1.1.2.2 2 .6 3.9 1.4 5.8.2.5.8.7 1.3.5.5-.2.8-.7.5-1.3-.6-1.4-1-2.9-1.1-4.4h1.5c.5 0 1-.4 1-1s-.5-1-1-1H3c0-2.4.5-4.7 1.5-6.8l1.7 1.1c.2.1.4.1.5.1.3 0 .6-.1.8-.4.3-.4.2-1-.2-1.3l-1.9-1.3c1.2-2 2.9-3.7 4.9-5.1l1 1.6c.2.3.5.4.8.4.2 0 .4-.1.5-.1.5-.3.6-.9.3-1.3l-1-1.6c2.1-1.1 4.6-1.9 7.1-2v1.6c0 .5.5 1 1 1s1-.4 1-1V3.6c2.6.1 5 .8 7.1 2l-1 1.6c-.3.4-.2 1 .3 1.3.2.1.3.1.5.1.3 0 .7-.1.8-.4l1-1.6c2 1.3 3.6 3.1 4.9 5.1L32.7 13c-.5.3-.5.9-.2 1.3.2.3.5.4.8.4.2 0 .4-.1.5-.1l1.7-1.1c1 2.1 1.5 4.3 1.5 6.8h-2c-.5 0-1 .4-1 1s.5 1 1 1h1.7c-.2 1.5-.5 3-1.1 4.4-.2.4 0 1 .5 1.3.2.1.2.1.4.1.4 0 .8-.2.9-.6.9-2.2 1.4-4.5 1.4-7C38.9 10.3 30.4 2 20 2z"/><text transform="translate(20 24)" text-anchor="middle" font-size="12">1x</text></svg>'},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},83878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return i}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},11752:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var o=n(61120);function r(){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,o.Z)(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}},61120:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},79340:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,{Z:function(){return i}})},59199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},44925:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};for(var n,r={},i=Object.keys(e),o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols)for(var i=Object.getOwnPropertySymbols(e),o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}n.d(t,{Z:function(){return r}})},82963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002),i=n(97326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},29439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878);var i=n(40181),o=n(25267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},93433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30907);var i=n(59199),o=n(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||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.")}()}},71002:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,{a:t}),t},a=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},f.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var n=Object.create(null);f.r(n);var r={};o=o||[null,a({}),a([]),a(a)];for(var i=2&e&&t;"object"==typeof i&&!~o.indexOf(i);i=a(i))Object.getOwnPropertyNames(i).forEach(function(e){r[e]=function(){return t[e]}});return r.default=function(){return t},f.d(n,r),n},f.d=function(e,t){for(var n in t)f.o(t,n)&&!f.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},f.f={},f.e=function(n){return Promise.all(Object.keys(f.f).reduce(function(e,t){return f.f[t](n,e),e},[]))},f.u=function(e){return({53:"dash",67:"theme-venom",102:"theme-tuber",392:"theme-simple",459:"theme-metro",723:"theme-classic",801:"theme-modern",817:"hls"}[e]||e)+".js"},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d={},h="VenomPlayer:",f.l=function(r,e,t,n){if(d[r])d[r].push(e);else{var i,o;if(void 0!==t)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var c=a[s];if(c.getAttribute("src")==r||c.getAttribute("data-webpack")==h+t){i=c;break}}function u(e,t){i.onerror=i.onload=null,clearTimeout(l);var n=d[r];if(delete d[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(t)}),e)return e(t)}i||(o=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,f.nc&&i.setAttribute("nonce",f.nc),i.setAttribute("data-webpack",h+t),i.src=r,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),d[r]=[e];var l=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),o&&document.head.appendChild(i)}},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;f.g.importScripts&&(e=f.g.location+"");var t,n=f.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),e||(t=n.getElementsByTagName("script")).length&&(e=t[t.length-1].src)),!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),f.p=e}(),function(){var c={179:0};function e(e,t){var n,r,i=t[0],o=t[1],a=t[2],s=0;if(i.some(function(e){return 0!==c[e]})){for(n in o)f.o(o,n)&&(f.m[n]=o[n]);a&&a(f)}for(e&&e(t);s<i.length;s++)r=i[s],f.o(c,r)&&c[r]&&c[r][0](),c[i[s]]=0}f.f.j=function(r,e){var t,n,i,o=f.o(c,r)?c[r]:void 0;0!==o&&(o?e.push(o[2]):(t=new Promise(function(e,t){o=c[r]=[e,t]}),e.push(o[2]=t),n=f.p+f.u(r),i=new Error,f.l(n,function(e){var t,n;f.o(c,r)&&(0!==(o=c[r])&&(c[r]=void 0),o&&(t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,i.message="Loading chunk "+r+" failed.\n("+t+": "+n+")",i.name="ChunkLoadError",i.type=t,i.request=n,o[1](i)))},"chunk-"+r,r)))};var t=self.webpackChunkVenomPlayer=self.webpackChunkVenomPlayer||[];t.forEach(e.bind(null,0)),t.push=e.bind(null,t.push.bind(t))}(),f(33241),f(89666),f(98249),f(38264),f(93412),f(57147),f(18493),f(89227),f(25588),f(41906),f(87154),f(20671),f(72742),f(92493),f(43941),f(42673),f(17442),f(47636),f(59464),f(33172),f(6623);function f(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,f),n.loaded=!0,n.exports}var o,a,d,h,r,i});